PowerPC LE memset
[glibc.git] / ChangeLog
blobcd54976bcfc0df79731cce77cc6453e6eba90888
1 2013-10-04  Alan Modra  <amodra@gmail.com>
3         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4         insrdi.  Formatting.
5         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12 2013-10-04  Alan Modra  <amodra@gmail.com>
14         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23         use of regs.  Use power7 mtocrf.  Tidy function tails.
25 2013-10-04  Alan Modra  <amodra@gmail.com>
27         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28         Formatting.  Consistently use rXXX register defines or rN defines.
29         Use early exit labels that avoid restoring unused non-volatile regs.
30         Make cr field use more consistent with rWORDn compares.  Rename
31         regs used as shift registers for unaligned loop, using rN defines
32         for short lifetime/multiple use regs.
33         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35         addi 1,1,64 to pop stack frame.  Simplify return value code.
36         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38 2013-10-04  Alan Modra  <amodra@gmail.com>
40         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42         rather than rlwimi.
43         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45         little-endian support.  Correct typos.
46         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47         rather than rlwimi.
48         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49         in loop and entry code to keep "and." results.
50         (strchr): Add little-endian support.  Comment.  Move cntlzd
51         earlier in tail.
52         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54 2013-10-04  Alan Modra  <amodra@gmail.com>
56         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61 2013-10-04  Alan Modra  <amodra@gmail.com>
63         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
64         (rTMP): Define as r11.
65         (strcmp): Add little-endian support.  Optimise tail.
66         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
67         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74 2013-10-04  Alan Modra  <amodra@gmail.com>
76         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
77         little-endian support.  Remove unnecessary "are we done" tests.
78         Handle "s" wrapping around zero and extremely large "size".
79         Correct main loop count.  Handle single left-over word from main
80         loop inline rather than by using small_loop.  Correct comments.
81         Delete "zero" tail, use "end_max" instead.
82         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
84 2013-10-04  Alan Modra  <amodra@gmail.com>
86         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
87         support.  Don't branch over align.
88         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
89         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
90         support.  Rearrange tmp reg use to suit.  Comment.
91         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
93 2013-10-04  Alan Modra  <amodra@gmail.com>
95         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
97 2013-10-04  Alan Modra  <amodra@gmail.com>
99         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
100         conditional form of branch and link when obtaining pc.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
103 2013-10-04  Alan Modra  <amodra@gmail.com>
105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
106         HIWORD/LOWORD.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
110 2013-10-04  Alan Modra  <amodra@gmail.com>
112         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
113         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
114         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
115         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
116         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
117         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
118         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
119         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
120         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
121         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
123 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
124             Alistair Popple <alistair@ozlabs.au.ibm.com>
125             Alan Modra <amodra@gmail.com>
127         [BZ #15723]
128         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
129         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
130         _dl_hwcap access for little-endian.
131         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
132         destroy vmx regs when saving unaligned.
133         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
134         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
135         destroy vmx regs when saving unaligned.
137 2013-10-04  Alan Modra  <amodra@gmail.com>
139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
140         Don't use a union to pack hi/low value.
142 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
144         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
145         for little-endian.
146         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
147         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
148         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
149         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
150         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
152 2013-10-04  Alan Modra  <amodra@gmail.com>
154         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
155         constants to usual value for .cst8 section, and remove redundant
156         high address load.
157         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
158         constant for 0x1p52.  Load little-endian words of double from
159         correct stack offsets.
161 2013-10-04  Alan Modra  <amodra@gmail.com>
163         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
164         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
165         words of double from correct stack offsets.
166         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
167         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
168         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
169         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
170         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
171         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
172         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
173         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
174         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
175         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
176         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
177         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
178         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
179         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
180         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
181         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
182         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
184 2013-10-04  Alan Modra  <amodra@gmail.com>
186         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
187         64-bit int/double union.
188         (_FPU_SETCW): Likewise.
189         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
190         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
192 2013-10-04  Alan Modra  <amodra@gmail.com>
194         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
195         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
197 2013-10-04  Alan Modra  <amodra@gmail.com>
199         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
200         use vector int constants.
201         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
203 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
205         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
206         array with long long.
207         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
208         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
209         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
210         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
211         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
212         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
213         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
214         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
215         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
216         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
217         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
218         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
219         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
221 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
223         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
224         (__signbit): Likewise.  Correct for little-endian.
225         (__signbitl): Call __signbit.
226         (lrint): Correct for little-endian.
227         (lrintf): Call lrint.
229 2013-10-04  Alan Modra  <amodra@gmail.com>
231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
232         union 32-bit int array member with 64-bit int array.
233         (t515, tm256): Double rather than long double.
234         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
236 2013-10-04  Alan Modra  <amodra@gmail.com>
238         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
239         Delete.
240         (IEEE854_LONG_DOUBLE_BIAS): Delete.
241         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
242         version of math_ldbl.h.
244 2013-10-04  Alan Modra  <amodra@gmail.com>
246         [BZ #15734], [BZ #15735]
247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
248         all uses of ieee875 long double macros and unions.  Simplify test
249         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
250         ldbl_extract_mantissa value for ix,iy exponents.  Properly
251         normalize after ldbl_extract_mantissa, and don't add hidden bit
252         already handled.  Don't treat low word of ieee854 mantissa like
253         low word of IBM long double and mask off bit when testing for
254         zero.
255         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
256         all uses of ieee875 long double macros and unions.  Simplify tests
257         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
258         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
259         two1022, instead use their values.  Recognise that tests for large
260         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
261         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
262         Rewrite all uses of ieee875 long double macros and unions.  Simplify
263         test for 0.0L and nan.  Correct negation.
264         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
265         ieee875 long double macros and unions.  Correct output for large
266         magnitude x.  Correct absolute value calculation.
267         (__erfcl): Likewise.
268         * math/libm-test.inc: Add tests for errors discovered in IBM long
269         double versions of fmodl, remainderl, erfl and erfcl.
271 2013-10-04  Alan Modra  <amodra@gmail.com>
273         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
274         all uses of ieee854 long double macros and unions.  Simplify tests
275         for long doubles that are fully specified by the high double.
276         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
277         Likewise.
278         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
279         Remove dead code too.
280         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
281         (__ieee754_ynl): Likewise.
282         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
284         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
285         Remove dead code too.
286         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
287         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
288         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
289         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
290         Simplify.
291         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
292         Simplify.
293         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
294         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
295         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
296         Comment on variable precision.
297         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
298         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
299         Likewise.
300         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
301         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
302         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
303         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
304         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
306 2013-10-04  Alan Modra  <amodra@gmail.com>
308         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
309         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
310         all uses of ieee854 long double macros and unions.
311         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
312         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
313         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
314         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
315         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
316         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
317         Likewise.
318         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
319         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
320         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
321         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
322         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
323         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
324         Simplify sign and nan test too.
325         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
326         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
327         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
328         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
329         Likewise.
330         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
331         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
332         Likewise.
333         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
334         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
335         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
336         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
337         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
340 2013-10-04  Alan Modra  <amodra@gmail.com>
342         * stdio-common/printf_size.c (__printf_size): Don't use
343         union ieee854_long_double in fpnum union.
344         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
345         signbit macro to retrieve sign from long double.
346         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
347         retrieve sign from long double.
348         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
349         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
350         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
351         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
352         * math/test-misc.c (main): Don't use union ieee854_long_double.
354 2013-10-04  Alan Modra  <amodra@gmail.com>
356         [BZ #15680]
357         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
358         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
359         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
360         calculation.  Remove unnecessary test for denormal exponent.
361         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
362         Correct handling of denormals.  Avoid undefined shift behaviour.
363         Correct normalisation of low mantissa when low double is denormal.
364         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
365         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
366         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
367         Correct normalisation of low mantissa.  Test for overflow of high
368         mantissa and normalise.
369         (ldbl_nearbyint): Use more readable constant for two52.
370         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
371         (__mpn_construct_long_double): Fix test for overflow of high
372         mantissa and correct normalisation.  Avoid undefined shift.
374 2013-10-04  Alan Modra  <amodra@gmail.com>
376         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
377         (union ibm_extended_long_double): Define as an array of ieee754_double.
378         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
379         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
380         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
381         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
383         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
385         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
386         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
387         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
388         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
390 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
392         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
393         page size instead of calling getpagesize.
395         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
396         (LOCFILE_ALIGN_MASK): Likewise.
397         (LOCFILE_ALIGN_UP): Likewise.
398         (LOCFILE_ALIGNED_P): Likewise.
399         * locale/programs/ld-collate.c (collate_output): Use the new
400         macros instead of __alignof__ (int32_t).
401         * locale/weight.h (findidx): Likewise.
403 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
405         [BZ #431]
406         * manual/string.texi: Fix strncat and wcsncat.
408 2013-10-03  Brooks Moses  <bmoses@google.com>
410         [BZ #15915]
411         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
412         * Makerules: ...here, and adjust associated comments.
414 2013-10-02  Will Newton  <will.newton@linaro.org>
416         * malloc/Makefile: Add tst-pvalloc.
417         * malloc/tst-pvalloc.c: New file.
419 2013-10-02  Will Newton  <will.newton@linaro.org>
421         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
422         improve test coverage.
424 2013-10-02  Will Newton  <will.newton@linaro.org>
426         * malloc/Makefile: Add tst-posix_memalign.
427         * malloc/tst-posix_memalign.c: New file.
429 2013-10-01  Eric Blake  <eblake@redhat.com>
431         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
432         Use __THROWNL rather than __THROW on static functions.
434 2013-09-30  Petr Machata  <pmachata@redhat.com>
436         * elf/elf.h (R_AARCH64_ABS16): New macro.
437         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
438         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
439         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
440         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
441         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
442         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
443         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
444         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
445         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
446         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
447         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
448         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
449         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
450         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
451         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
452         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
453         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
454         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
455         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
456         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
457         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
458         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
459         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
460         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
461         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
462         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
463         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
464         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
465         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
466         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
467         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
468         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
469         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
470         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
471         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
472         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
473         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
474         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
475         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
476         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
477         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
478         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
479         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
480         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
481         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
482         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
483         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
484         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
485         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
486         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
487         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
488         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
489         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
490         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
491         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
492         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
493         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
494         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
495         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
496         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
497         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
498         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
499         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
500         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
501         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
502         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
503         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
504         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
505         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
506         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
507         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
508         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
509         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
510         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
511         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
512         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
513         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
514         (R_AARCH64_TLSDESC_LDR): Likewise.
515         (R_AARCH64_TLSDESC_ADD): Likewise.
516         (R_AARCH64_TLSDESC_CALL): Likewise.
518 2013-09-30  Andreas Schwab  <schwab@suse.de>
520         [BZ #15048]
521         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
522         the nss database lookup.
523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
526 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
528         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
530 2013-09-28  P. J. McDermott  <pj@pehjota.net>
532         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
533         ${Bash-specific parameter/pattern/string} parameter expansion.
534         * sysdeps/unix/make-syscalls.sh: Likewise.
536 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
538         * sysdeps/sh/stackguard-macros.h: New file.
540 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
544         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
545         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
546         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
547         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
549 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
551         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
552         Fix thread ID register.
554 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
556         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
557         [POSIX || UNIX98]: Require rather than permitting all symbols from
558         <time.h>.
559         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
560         element of struct sched_param.
561         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
562         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
563         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
564         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
565         constant.
567 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
569         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
570         argument calculation.
572 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
574         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
575         Expect macro.
576         [POSIX] (pthread_attr_t): Do not require type.
577         [POSIX] (pthread_cond_t): Likewise.
578         [POSIX] (pthread_condattr_t): Likewise.
579         [POSIX] (pthread_key_t): Likewise.
580         [POSIX] (pthread_mutex_t): Likewise.
581         [POSIX] (pthread_mutexattr_t): Likewise.
582         [POSIX] (pthread_once_t): Likewise.
583         [POSIX] (pthread_t): Likewise.
584         [POSIX-based standards] (pthread_atfork): Expect function.
586 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
587             Richard Sandiford  <richard@codesourcery.com>
589         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
590         (swap_endianness_p): New extern variable.
591         (set_big_endian): New inline function.
592         (maybe_swap_uint32): Likewise.
593         (maybe_swap_uint32_array): Likewise.
594         (maybe_swap_uint32_obstack): Likewise.
595         * locale/programs/locfile.c: Include <stdbool.h>.
596         (swap_endianness_p): New variable.
597         (add_locale_uint32): Call maybe_swap_uint32.
598         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
599         (write_locale_data): Call maybe_swap_uint32_array.
600         * locale/programs/ld-collate.c (obstack_int32_grow): Call
601         maybe_swap_uint32.
602         (obstack_int32_grow_fast): Likewise.
603         (output_weightwc): Call maybe_swap_uint32_obstack.
604         (collate_output): Likewise.
605         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
606         (OPT_LITTLE_ENDIAN): Likewise.
607         (options): Add --little-endian and --big-endian options.
608         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
609         * locale/programs/locarchive.c: Include "locfile.h".
610         (GET): New macro.
611         (SET): Likewise.
612         (INC): Likewise.
613         (create_archive): Use the new macros to access fields of
614         structures directly mapped from or written to locale archives.
615         (oldlocrecentcmp): Likewise.
616         (enlarge_archive): Likewise.
617         (insert_name): Likewise.
618         (add_alias): Likewise.
619         (add_locale): Likewise.
620         (delete_locales_from_archive): Likewise.
621         (show_archive_content): Likewise.
622         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
623         locale data.
625 2013-09-24  Roland McGrath  <roland@hack.frob.com>
627         * manual/freemanuals.texi: Updated from (newly) canonical copy at
628         http://www.gnu.org/doc/freemanuals.texi.
629         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
631 2013-09-24  Will Newton  <will.newton@linaro.org>
633         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
634         macro.
636 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
638         * locale/hashval.h (compute_hashval): Interpret bytes of key as
639         unsigned char.
641 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
643         * manual/threads.texi (POSIX Threads): Fix a typo.
645 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
647         [BZ #14547]
648         * string/tst-strcoll-overflow.c: New test case.
649         * string/Makefile (xtests): Add tst-strcoll-overflow.
650         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
651         cache if string sizes may cause integer overflow.
653         [BZ #14547]
654         * string/strcoll_l.c (coll_seq): New members rule, idx,
655         save_idx and back_us.
656         (get_next_seq_nocache): New function.
657         (do_compare_nocache): New function.
658         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
659         when malloc fails.
661 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
663         [BZ #15754]
664         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
665         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
666         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
668         [BZ #15754]
669         * elf/Makefile (tests): Add tst-ptrguard1.
670         (tests-static): Add tst-ptrguard1-static.
671         (tst-ptrguard1-ARGS): Define.
672         (tst-ptrguard1-static-ARGS): Define.
673         * elf/tst-ptrguard1.c: New file.
674         * elf/tst-ptrguard1-static.c: New file.
675         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
676         * sysdeps/i386/stackguard-macros.h: Likewise.
677         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
678         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
679         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
680         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
681         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
682         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
684 2013-09-23  Hector Marco  <hecmargi@upv.es>
685             Ismael Ripoll  <iripoll@disca.upv.es>
686             Carlos O'Donell  <carlos@redhat.com>
688         [BZ #15754]
689         * sysdeps/generic/stackguard-macros.h: Define
690         __pointer_chk_guard_local and POINTER_CHK_GUARD.
691         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
692         Define __pointer_chk_guard_local.
693         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
694         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
696 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
698         [BZ #15859]
699         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
701 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
703         * include/string.h (__ffs): Declare as hidden.
704         * string/ffs.c (__ffs): Define as hidden.
705         * sysdeps/i386/ffs.c (__ffs): Likewise.
706         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
707         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
708         * sysdeps/s390/ffs.c (__ffs): Likewise.
709         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
711 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
713         * NEWS: Mention malloc probes.
715         * malloc/arena.c (new_heap): New memory_heap_new probe.
716         (grow_heap): New memory_heap_more probe.
717         (shrink_heap): New memory_heap_less probe.
718         (heap_trim): New memory_heap_free probe.
719         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
720         (systrim): New memory_sbrk_less probe.
721         * manual/probes.texi: Document them.
723         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
724         * manual/probes.texi: Document it.
726         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
727         (__libc_realloc): Add memory_realloc_retry probe.
728         (__libc_memalign): Add memory_memalign_retry probe.
729         (__libc_valloc): Add memory_valloc_retry probe.
730         (__libc_pvalloc): Add memory_pvalloc_retry probe.
731         (__libc_calloc): Add memory_calloc_retry probe.
732         * manual/probes.texi: Document them.
734         * malloc/arena.c (get_free_list): Add probe
735         memory_arena_reuse_free_list.
736         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
737         and memory_arena_reuse.
738         (arena_get2) [!PER_THREAD]: Likewise.
739         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
740         memory_arena_reuse_realloc.
741         * manual/probes.texi: Document them.
743         * malloc/malloc.c (__libc_free): Add
744         memory_mallopt_free_dyn_thresholds probe.
745         (__libc_mallopt): Add multiple memory_mallopt probes.
746         * manual/probes.texi: Document them.
748         * malloc/malloc.c: Include stap-probe.h.
749         (__libc_mallopt): Add memory_mallopt probe.
750         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
751         * manual/probes.texi: New.
752         * manual/Makefile (chapters): Add probes.
753         * manual/threads.texi: Set next node.
755 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
757         [BZ #15963, #13985]
758         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
759         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
760         Add `Chinese' to `nan' entry name.
762 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
764         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
765         (POLYNOMIAL): Likewise.
766         (TAYLOR_SINCOS): Likewise.
767         (TAYLOR_SLOW): Likewise.
768         (__sin): Use TAYLOR_SINCOS.
769         (__cos): Likewise.
770         (slow): Use TAYLOR_SLOW.
771         (sloww): Likewise.
772         (bsloww): Likewise.
773         (csloww): Likewise.
775 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
777         * stdlib/strtod_l.c: Fix buffer overrun.
779 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
781         * benchtests/Makefile (bench): Add sincos.
782         * benchtests/bench-sincos.c: New file.
784         * math/libm-test.inc (cos_test_data): New test inputs.
785         (sin_test_data): Likewise.
787         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
788         macro.
789         (__sin): Use it.
790         (__cos): Likewise.
791         (slow1): Likewise.
792         (slow2): Likewise.
793         (sloww1): Likewise.
794         (sloww2): Likewise.
795         (bsloww1): Likewise.
796         (bsloww2): Likewise.
797         (cslow2): Likewise.
798         (csloww1): Likewise.
799         (csloww2): Likewise.
801         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
802         function.
803         (__sin): Use it.
804         (__cos): Likewise.
806         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
807         gotos.
808         (__cos): Likewise.
810 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
812         * config.h.in (HAVE_MIPS_NAN2008): New macro.
813         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
814         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
815         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
816         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
817         * elf/cache.c (print_entry): Handle the new cache flags.
819 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
820             Aldy Hernandez  <aldyh@redhat.com>
822         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
823         Change condition to [_SOFT_FLOAT].
824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
836         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
839         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
840         declaration.
842 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
844         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
845         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
846         (__longjmp): Use LOAD_GP to load saved GPRs.
847         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
848         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
849         (__sigsetjmp): Use SAVE_GP to save GPRs.
851         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
852         Do not append -msoft-float.
853         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
855 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
857         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
859 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
861         [BZ #15966]
862         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
863         (_FPU_GETCW): Use initial "__" on variable and field names but not
864         on macro parameter name.
865         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
866         parentheses around reference to macro parameter.
868 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
870         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
871         prototype.
872         (ctype_startup): Use uint32_t in cast and sizeof for
873         ctype->charnames.
875 2013-09-11  Jia Liu  <proljc@gmail.com>
877         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
878         __daddr_t_defined.
879         [__FreeBSD__]: Likewise.
881 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
884         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
885         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
886         (strchr): Remove __strchr_sse42 ifunc selection.
887         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
888         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
890 2013-09-11  Will Newton  <will.newton@linaro.org>
892         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
893         parameter to RES. Remove hardcoded 1000 value.
894         * benchtests/bench-skeleton.c (main): Pass RES parameter
895         to TIMING_INIT and multiply result by 1000.
897 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
901 2013-09-11  Andreas Schwab  <schwab@suse.de>
903         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
904         if not defined.
905         (O_TMPFILE) [__USE_GNU]: Define.
906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
907         Define.
909 2013-09-11  Will Newton  <will.newton@linaro.org>
911         [BZ #15857]
912         * malloc/malloc.c (__libc_memalign): Check the value of bytes
913         does not overflow.
915 2013-09-11  Will Newton  <will.newton@linaro.org>
917         [BZ #15856]
918         * malloc/malloc.c (__libc_valloc): Check the value of bytes
919         does not overflow.
921 2013-09-11  Will Newton  <will.newton@linaro.org>
923         [BZ #15855]
924         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
925         does not overflow.
927 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
929         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
930         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
931         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
932         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
933         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
935 2013-09-10  Allan McRae  <allan@archlinux.org>
937         [BZ #15748]
938         * manual/arith.texi (Parsing of Floats): Clarify
939         cross-reference.
941         [BZ #15849]
942         * manual/install.texi (Running make install): Mention
943         --enable-pt-chown.
944         * INSTALL: Regenerated.
946 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
948         * csu/init-first.c (_init): Remove the !SHARED condition around
949         FPU control word initialization.
950         * elf/dl-support.c (_dl_fpu_control): New variable.
951         (_dl_aux_init) <AT_FPUCW>: Initialize it.
952         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
953         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
954         * math/test-fpucw-static.c: New file.
955         * math/test-fpucw-ieee.c: New file.
956         * math/test-fpucw-ieee-static.c: New file.
957         * math/Makefile (tests): Add `test-fpucw-ieee' and
958         `$(tests-static)'.
959         (tests-static): New variable.
960         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
961         dependency to...
962         [($(build-shared),yes)]
963         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
964         ... this.
965         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
966         New dependency.
968 2013-09-09  Allan McRae  <allan@archlinux.org>
970         [BZ #15939]
971         * manual/string.texi (Collation Functions): Fix typo in
972         strcoll example.
973         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
975         [BZ #15893]
976         * stdlib/isomac.c (get_null_defines): Fix memory leak.
978         [BZ #15892]
979         * libio/memstream.c (open_memstream): Fix memory leak.
980         * libio/wmemstream.c (open_wmemstream): Likewise.
982         [BZ #15895]
983         * nscd/netgroupcache.c: Fix nesting of ifdefs.
985 2013-09-09  Will Newton  <will.newton@linaro.org>
987         * malloc/Makefile: Add tst-realloc to tests.
988         * malloc/tst-realloc.c: New file.
990 2013-09-09  Allan McRae  <allan@archlinux.org>
992         [BZ #15844]
993         * COPYING: Update from GNU website to fix FSF address.
994         * COPYING.LIB: Likewise.
996 2013-09-06  David S. Miller  <davem@davemloft.net>
998         * po/zh_TW.po: Update Chinese (traditional) translation from
999         translation project.
1001 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1002             Joseph Myers  <joseph@codesourcery.com>
1004         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1005         "localeinfo.h".
1006         (obstack_chunk_alloc): New macro.
1007         (obstack_chunk_free): Likewise.
1008         (record_offset): New function.
1009         (init_locale_data): Likewise.
1010         (align_locale_data): Likewise.
1011         (add_locale_empty): Likewise.
1012         (add_locale_raw_data): Likewise.
1013         (add_locale_raw_obstack): Likewise.
1014         (add_locale_string): Likewise.
1015         (add_locale_wstring): Likewise.
1016         (add_locale_uint32): Likewise.
1017         (add_locale_uint32_array): Likewise.
1018         (add_locale_char): Likewise.
1019         (start_locale_structure): Likewise.
1020         (end_locale_structure): Likewise.
1021         (start_locale_prelude): Likewise.
1022         (end_locale_prelude): Likewise.
1023         (write_locale_data): Take locale_file structure rather than an
1024         iovec.
1025         * locale/programs/locfile.h: Include "obstack.h".
1026         (struct locale_file): Change to store locale file contents instead
1027         of header.
1028         (init_locale_data): New prototype.
1029         (align_locale_data): Likewise.
1030         (add_locale_empty): Likewise.
1031         (add_locale_raw_data): Likewise.
1032         (add_locale_raw_obstack): Likewise.
1033         (add_locale_string): Likewise.
1034         (add_locale_wstring): Likewise.
1035         (add_locale_uint32): Likewise.
1036         (add_locale_uint32_array): Likewise.
1037         (add_locale_char): Likewise.
1038         (start_locale_structure): Likewise.
1039         (end_locale_structure): Likewise.
1040         (start_locale_prelude): Likewise.
1041         (end_locale_prelude): Likewise.
1042         (write_locale_data): Update prototype.
1043         * locale/programs/3level.h (struct TABLE): Remove result field.
1044         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1045         Use new locale_file interface.
1046         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1047         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1048         * locale/programs/ld-address.c (address_output): Use new
1049         locale_file interface.
1050         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1051         NO_ADD_LOCALE.
1052         (collate_finish): Don't call collseq_table_finalize.
1053         (collate_output): Use new locale_file interface.
1054         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1055         in file.
1056         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1057         (TABLE): Move defines earlier in file.
1058         (ELEMENT): Likewise.
1059         (DEFAULT): Likewise.
1060         (wctrans_table_add): Move macro and inline function earlier in
1061         file.
1062         (struct wctype_table): Move type earlier in file.
1063         (add_locale_wctype_table): New static prototype.
1064         (struct locale_ctype_t): Use logical types instead of struct iovec
1065         pointers for members.
1066         (ctype_output): Use new locale_file interface.
1067         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1068         new locale_file interface.
1069         (allocate_arrays): Update for use of new locale_file interface.
1070         * locale/programs/ld-identification.c (identification_output): Use
1071         new locale_file interface.
1072         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1073         * locale/programs/ld-messages.c (messages_output): Likewise.
1074         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1075         * locale/programs/ld-name.c (name_output): Likewise.
1076         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1077         * locale/programs/ld-paper.c (paper_output): Likewise.
1078         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1079         * locale/programs/ld-time.c (time_output): Likewise.
1081 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1083         * benchtests/Makefile: Add memrchr benchmark.
1084         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1085         benchmark as memrchr.
1086         * benchtests/bench-memrchr-ifunc.c: New file.
1087         * benchtests/bench-memrchr.c: New file.
1089 2013-09-06   Will Newton  <will.newton@linaro.org>
1091         * benchtests/Makefile (string-bench): Add memcpy.
1093 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1094             Cong Wang  <amwang@redhat.com>
1096         * sysdeps/unix/sysv/linux/bits/in.h
1097         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1098         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1099         before __USE_KERNEL_IPV6_DEFS uses.
1100         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1101         IPPROTO_BEETPH.
1102         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1103         sockaddr_in6, or ipv6_mreq.
1105 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1107         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1108         memory access for final bytes in some large inputs.
1109         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1111 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1113         * string/test-memrchr.c: New file.
1114         * string/test-memrchr-ifunc.c: New file.
1115         * string/Makefile: Add new memrchr testcase.
1117 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1119         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1120         fanotify_init returns EPERM.
1122 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1124         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1125         errors.
1126         (top level): Treat second token from macro or constant entries for
1127         allowed headers as allowed.
1128         * include/complex.h: Condition internal declarations on
1129         [!_ISOMAC].
1130         * include/fenv.h: Condition include of <stdbool.h> and internal
1131         declarations on [!_ISOMAC].
1133 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1135         [BZ #15923]
1136         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1138 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1140         * configure.in (--enable-versioning): Remove configure option.
1141         (libc_cv_asm_symver_directive): Remove configure test.
1142         (libc_cv_ld_version_script_option): Likewise.
1143         (VERSIONING): Remove variable and AC_SUBST.
1144         (DO_VERSIONING): Remove AC_DEFINE.
1145         * configure: Regenerated.
1146         * config.h.in (DO_VERSIONING): Remove macro.
1147         * Makerules [$(versioning) = yes]: Change conditionals to
1148         [$(build-shared) = yes].
1149         * config.make.in (versioning): Remove variable.
1150         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1151         [$(build-shared) = yes].
1152         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1153         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1154         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1155         [$(build-shared) = yes].
1156         * extra-lib.mk [$(versioning) = yes]: Likewise.
1157         * hurd/Makefile [$(versioning) = yes]: Likewise.
1158         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1159         [SHARED].
1160         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1161         [SHARED].
1162         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1163         [SHARED && !NO_HIDDEN].
1164         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1165         [SHARED].
1166         [SHARED && DO_VERSIONING]: Likewise..
1167         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1168         [$(build-shared) = yes].
1169         * manual/install.texi (--disable-versioning): Remove
1170         documentation.
1171         * INSTALL: Regenerated.
1172         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1173         to [SHARED].
1174         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1175         [$(build-shared) = yes].
1176         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1177         * sysdeps/i386/i686/multiarch/strstr-c.c
1178         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1179         [SHARED && !NO_HIDDEN].
1180         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1181         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1182         * sysdeps/powerpc/powerpc32/dl-machine.c
1183         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1184         * sysdeps/powerpc/powerpc32/sysdep.h
1185         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1186         to [SHARED && PIC && !NO_HIDDEN].
1187         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1188         conditional to [SHARED].
1190 2013-09-04   Will Newton  <will.newton@linaro.org>
1192         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1193         * benchtests/bench-string.h: Include bench-timing.h instead
1194         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1195         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1196         call to HP_TIMING_DIFF_INIT.
1197         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1198         instead of hp-timing.h macros.
1199         * benchtests/bench-memchr.c: Likewise.
1200         * benchtests/bench-memcmp.c: Likewise.
1201         * benchtests/bench-memcpy.c: Likewise.
1202         * benchtests/bench-memmem.c: Likewise.
1203         * benchtests/bench-memmove.c: Likewise.
1204         * benchtests/bench-memset.c: Likewise.
1205         * benchtests/bench-rawmemchr.c: Likewise.
1206         * benchtests/bench-strcasecmp.c: Likewise.
1207         * benchtests/bench-strcasestr.c: Likewise.
1208         * benchtests/bench-strcat.c: Likewise.
1209         * benchtests/bench-strchr.c: Likewise.
1210         * benchtests/bench-strcmp.c: Likewise.
1211         * benchtests/bench-strcpy.c: Likewise.
1212         * benchtests/bench-strcpy_chk.c: Likewise.
1213         * benchtests/bench-strlen.c: Likewise.
1214         * benchtests/bench-strncasecmp.c: Likewise.
1215         * benchtests/bench-strncat.c: Likewise.
1216         * benchtests/bench-strncmp.c: Likewise.
1217         * benchtests/bench-strncpy.c: Likewise.
1218         * benchtests/bench-strnlen.c: Likewise.
1219         * benchtests/bench-strpbrk.c: Likewise.
1220         * benchtests/bench-strrchr.c: Likewise.
1221         * benchtests/bench-strspn.c: Likewise.
1222         * benchtests/bench-strstr.c: Likewise.
1224 2013-09-04  Will Newton  <will.newton@linaro.org>
1226         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1228 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1230         [BZ #15427]
1231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1232         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1233         * math/libm-test.inc (lgamma_test_data): Add more tests.
1234         * sysdeps/i386/fpu/libm-test-ulps: Update.
1235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1237 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1239         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1241         Add ifunc.
1242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1243         Add strcmp-sse2-unaligned
1244         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1246 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1248         * Versions.def (libc): Add GLIBC_2.19.
1250 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1252         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1253         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1255 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1257         [BZ #14155]
1258         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1259         intermediate calculations in recurrence.
1260         (__ieee754_ynf): Likewise.
1261         * math/libm-test.inc (jn_test_data): Do not allow spurious
1262         underflow exception.  Add more tests.
1263         (yn_test_data): Add more tests.
1264         * sysdeps/i386/fpu/libm-test-ulps: Update.
1265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1267 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1269         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1271 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1273         * csu/init-first.c: Fix then/than typos.
1274         * locale/programs/ld-collate.c: Likewise.
1275         * locale/programs/linereader.h: Likewise.
1276         * manual/charset.texi: Likewise.
1277         * manual/filesys.texi: Likewise.
1278         * manual/stdio.texi: Likewise.
1279         * manual/string.texi: Likewise.
1280         * stdlib/fmtmsg.c: Likewise.
1281         * sysdeps/i386/stpncpy.S: Likewise.
1282         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1283         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1284         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1285         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1287 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1289         * elf/dl-open.c: Fix typos.
1290         * iconvdata/gbbig5.c: Likewise.
1291         * iconvdata/iso-2022-jp.c: Likewise.
1292         * iconv/gconv_int.h: Likewise.
1293         * iconv/loop.c: Likewise.
1294         * nis/rpcsvc/nis.h: Likewise.
1295         * resolv/ns_name.c: Likewise.
1296         * stdio-common/vfscanf.c: Likewise.
1297         * streams/stropts.h: Likewise.
1298         * sunrpc/rpc_thread.c: Likewise.
1299         * sysdeps/i386/strpbrk.S: Likewise.
1300         * sysdeps/ieee754/k_standard.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1303         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1304         * sysdeps/mach/hurd/profil.c: Likewise.
1305         * sysdeps/s390/dl-procinfo.h: Likewise.
1306         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1307         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1309         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1310         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1312 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1314         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1317 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1319         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1320         aix specific files.
1321         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1322         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1323         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1324         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1325         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1326         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1327         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1328         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1330 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1331             Roland McGrath  <roland@hack.frob.com>
1333         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1334         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1336 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1338         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1339         __executable_start symbol instead of _start.
1341 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1343         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1344         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1345         Move macros to...
1346         * sysdeps/gnu/ldsodefs.h: ... this new file.
1348         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1349         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1350         instead of ELFOSABI_LINUX.
1352         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1353         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1354         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1355         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1356         Likewise.
1357         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1358         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1359         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1360         Likewise.
1361         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1362         (ibm_extended_long_double): Add ieee_nan member.
1363         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1364         (do_test): New function.
1366         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1367         TEST_TRUNC.
1368         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1369         functions, renamed from truncdfsf_test, trunctfsf_test,
1370         trunctfdf_test.
1371         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1372         functions.
1373         (do_test): Run all these.
1375 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1377         * argp/argp-help.c: Fix typos.
1378         * argp/argp-parse.c: Likewise.
1379         * debug/backtracesyms.c: Likewise.
1380         * elf/elf.h: Likewise.
1381         * malloc/malloc.c: Likewise.
1382         * nis/nis_print.c: Likewise.
1383         * resolv/res_comp.c: Likewise.
1384         * stdlib/stdlib.h: Likewise.
1385         * sunrpc/clnt_tcp.c: Likewise.
1386         * sunrpc/clnt_udp.c: Likewise.
1387         * sunrpc/clnt_unix.c: Likewise.
1388         * sysdeps/unix/bsd/ptsname.c: Likewise.
1389         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1390         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1392         Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1394         Likewise.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1396         Likewise.
1397         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1399 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1401         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1404 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1406         [BZ #15897]
1407         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1408         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1409         ($(objpfx)bug-dl-leaf): New rule.
1410         ($(objpfx)bug-dl-leaf.so): Likewise.
1411         ($(objpfx)bug-dl-leaf.out): Likewise.
1412         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1413         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1414         * dlfcn/bug-dl-leaf.c: New test.
1415         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1416         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1417         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1418         (dlclose): Likewise.
1419         (dlmopen): Likewise.
1421 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1423         * include/netdb.h [!_ISOMAC]:
1424         Don't include <tls.h>.
1425         (h_errno, __libc_h_errno): Move declaration and macros out of
1426         [_LIBC_REENTRANT].
1428         * include/resolv.h [_RESOLV_H_]:
1429         Don't include <tls.h>.
1430         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1431         * resolv/res_libc.c: Don't include <tls.h>.
1432         (_res): Use __attribute__ ((nocommon)) in place of
1433         __attribute__ ((section (".bss"))).
1435         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1436         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1438         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1440         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1441         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1443         * resolv/res_mkquery.c: Include <sys/time.h>.
1445         * inet/ifreq.c: Moved to ...
1446         * sysdeps/unix/ifreq.c: ... here.
1447         * inet/ifreq.c: New file, true stub version.
1449         * socket/sa_len.c: New file.
1450         * socket/Makefile (aux): Add it.
1451         * sysdeps/unix/sysv/linux/Makefile
1452         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1453         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1454         and #include <socket/sa_len.c>.
1455         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1456         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1458         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1459         * bits/socket.h: ... here.
1461         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1462         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1463         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1465 2013-08-27  Andreas Schwab  <schwab@suse.de>
1467         [BZ #15736]
1468         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1469         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1470         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1471         * string/test-strcasecmp.c (test_main): Run tests in several
1472         locales.
1473         * string/test-strncasecmp.c (test_main): Likewise.
1475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1476         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1477         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1478         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1479         (__strncasecmp_ssse3) [PIC]: Likewise.
1481 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1483         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1485         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1486         instead of explicitly declaring xdecrypt.
1487         * nis/nss_nis/nis-publickey.c: Likewise.
1489 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1491         [BZ #15890]
1492         * nscd/aicache.c: Include res_hconf.h.
1493         (addhstaiX): Initialize res_hconf.
1495 2013-08-26  Andreas Schwab  <schwab@suse.de>
1497         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1498         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1500 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1502         * nscd/aicache.c (addhstaiX): Fix indentation.
1504 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1506         * configure.ac: Quote $build_pt_chown test.
1507         * configure: Regenerated.
1509 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1511         [BZ #15532]
1512         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1513         * math/s_cexpf.c (__cexpf): Likewise.
1514         * math/s_cexpl.c (__cexpl): Likewise.
1515         * math/libm-test.inc (cexp_test_data): Correct expected return
1516         value for NaN + i0.  Add another test.
1518 2013-08-22  David S. Miller  <davem@davemloft.net>
1520         * po/ca.po: Update Catalan translation from translation project.
1521         * po/uk.po: Add Ukrainian translations from translation project.
1523 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1525         [BZ #15797]
1526         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1527         is infinite, not alongside NaN test.
1528         * math/s_fdimf.c (__fdimf): Likewise.
1529         * math/s_fdiml.c (__fdiml): Likewise.
1530         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1531         errno is unchanged.
1533 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1535         * argp/argp-help.c: Fix typos.
1536         * crypt/speeds.c: Likewise.
1537         * csu/check_fds.c: Likewise.
1538         * elf/dl-load.c: Likewise.
1539         * elf/dl-open.c: Likewise.
1540         * elf/reldep3.c: Likewise.
1541         * elf/reldep.c: Likewise.
1542         * elf/sprof.c: Likewise.
1543         * iconv/iconv_charmap.c: Likewise.
1544         * iconv/skeleton.c: Likewise.
1545         * iconv/strtab.c: Likewise.
1546         * io/lockf64.c: Likewise.
1547         * libio/libioP.h: Likewise.
1548         * resolv/gai_notify.c: Likewise.
1549         * resolv/ns_name.c: Likewise.
1550         * resolv/ns_samedomain.c: Likewise.
1551         * resolv/res_send.c: Likewise.
1552         * stdlib/random.c: Likewise.
1553         * sunrpc/rpc/xdr.h: Likewise.
1554         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1555         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1556         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1557         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1558         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1559         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1561         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1562         * sysdeps/mach/hurd/check_fds.c: Likewise.
1563         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1564         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1565         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1566         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1567         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1568         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1569         * sysdeps/pthread/aio_notify.c: Likewise.
1570         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1571         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1572         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1573         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1574         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1576 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1578         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1579         version if bit_Slow_SSE4_2 is set.
1580         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1581         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1583 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1585         [BZ #15867]
1586         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1587         trampoline stack frame information.
1588         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1590         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1591         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1592         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1593         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1594         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1595         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1596         sa_flags value.
1597         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1598         interrupting a syscall and set with option SA_SIGINFO.
1600 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1602         [BZ #15531]
1603         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1604         argument is infinite.
1605         * math/s_cprojf.c (__cprojf): Likewise.
1606         * math/s_cprojl.c (__cprojl): Likewise.
1607         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1608         * math/libm-test.inc (cproj_test_data): Add more tests.
1610         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1612         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1613         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1614         size.  Use __ffs to determine corresponding shift.
1616 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1617             Roland McGrath  <roland@hack.frob.com>
1619         * Makefile (INSTALL): Remove trailing blank lines from output of
1620         makeinfo.
1622 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1624         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1625         Align 32 bit compat elf_greg to 8 bytes.
1627 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1629         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1631 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1633         * string/strcoll_l.c (coll_seq): New structure.
1634         (get_next_seq_cached): New function.
1635         (get_next_seq): New function.
1636         (do_compare): New function.
1637         (STRCOLL): Use GNU style definition.  Simplify implementation
1638         by using get_next_seq, get_next_seq_cached and do_compare.
1640 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1642         [BZ #14699]
1643         CVE-2013-4237
1644         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1645         member.
1646         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1647         member.
1648         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1649         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1650         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1651         conditional.
1652         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1653         GETDENTS_64BIT_ALIGNED.
1654         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1655         * manual/filesys.texi (Reading/Closing Directory): Document
1656         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1657         strongly.
1658         * manual/conf.texi (Limits for Files): Add portability note to
1659         NAME_MAX, PATH_MAX.
1660         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1662 2013-08-13  Andreas Schwab  <schwab@suse.de>
1664         [BZ #15749]
1665         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1666         of fabs.
1667         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1668         LDBL_MAX_EXP >= 16384]: Add tests for it.
1670 2013-08-12  David S. Miller  <davem@davemloft.net>
1672         * version.h (RELEASE): Set to "development".
1673         (VERSION): Set to "2.18.90".
1674         * NEWS: Add 2.19 section.
1676 2013-08-03  David S. Miller  <davem@davemloft.net>
1678         * po/ko.po: Update Korean translation from translation project.
1680 2013-08-01  David S. Miller  <davem@davemloft.net>
1682         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1683         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1684         Bilka.
1686 2013-07-30  David S. Miller  <davem@davemloft.net>
1688         * po/fr.po: Update French translation from translation project.
1690 2013-07-28  David S. Miller  <davem@davemloft.net>
1692         * po/cs.po: Update Czech translation from translation project.
1694         * po/sv.po: Update Swedish translation from translation project.
1696 2013-07-27  David S. Miller  <davem@davemloft.net>
1698         * po/eo.po: Update Esperanto translation from translation project.
1700         * po/vi.po: Update Vietnamese translation from translation project.
1702         * po/de.po: Update German translation from translation project.
1704 2013-07-26  David S. Miller  <davem@davemloft.net>
1706         * po/bg.po: Update Bulgarian translation from translation project.
1708         * po/nl.po: Update Dutch translation from translation project.
1709         * po/pl.po: Update Polish translation from translation project.
1710         * po/ru.po: Update Russian translation from translation project.
1712 2013-07-24  David S. Miller  <davem@davemloft.net>
1714         * po/libc.pot: Update.
1716 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1718         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1719         variable page size.
1720         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1721         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1722         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1724 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1726         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1728 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1729             Andreas Schwab  <schwab@suse.de>
1730             Roland McGrath  <roland@hack.frob.com>
1731             Joseph Myers  <joseph@codesourcery.com>
1732             Carlos O'Donell  <carlos@redhat.com>
1734         [BZ #15755]
1735         * config.h.in: Define HAVE_PT_CHOWN.
1736         * config.make.in (build-pt-chown): New variable.
1737         * configure.in (--enable-pt_chown): New configure option.
1738         * configure: Regenerate.
1739         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1740         build-pt-chown is enabled.
1741         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1742         pt_chown to fix pty ownership.
1743         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1744         CLOSE_ALL_FDS.
1745         * manual/install.texi (Configuring and compiling): Mention
1746         --enable-pt_chown. Add @findex for grantpt.
1747         * INSTALL: Regenerate.
1749 2013-07-20  David S. Miller  <davem@davemloft.net>
1751         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1752         difference between 32-bit and 64-bit.
1754 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1756         [BZ #15711]
1757         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1758         Avoid system header dependency with -ffreestanding.
1759         ($(objpfx)bits/syscall%d): Likewise.
1761 2013-07-13  David S. Miller  <davem@davemloft.net>
1763         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1764         underflows from atanl/atan2l due to bug 15319.
1765         (casinh_test_data): Likewise.
1767 2013-07-07  David S. Miller  <davem@davemloft.net>
1769         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1771 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1773         * sysdeps/i386/fpu/libm-test-ulps: Update.
1774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1776 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1778         * configure.in (--enable-lock-elision): Fix message text.
1779         * INSTALL: Regenerate.
1780         * configure: Regenerate.
1782 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1786 2013-07-03  Andreas Jaeger  <aj@suse.de>
1788         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1789         define.
1790         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1791         (ptrace_peeksiginfo_args): Add.
1792         (__ptrace_peeksiginfo_flags): Add.
1793         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1794         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1795         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1797 2013-07-03  Allan McRae  <allan@archlinux.org>
1799         * sysdeps/i386/fpu/libm-test-ulps: Update.
1801 2013-07-02  David S. Miller  <davem@davemloft.net>
1803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1805 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1809 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1811         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1814 2013-07-02  Andi Kleen <ak@linux.intel.com>
1816         * config.h.in (ENABLE_LOCK_ELISION): Add.
1817         * configure.in (--enable-lock-elision): Add option.
1818         * manual/install.texi: Document --enable lock elision.
1819         * configure: Regenerate
1820         * INSTALL: Regenerate.
1822 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1824         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1825         SSE4.2 strcasecmp for libc.a.
1826         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1828 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1830         [BZ #13304]
1831         * soft-fp/op-common.h (_FP_FMA): New macro.
1832         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1833         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
1834         (_FP_MUL_MEAT_1_imm): ... here.
1835         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
1836         (_FP_MUL_MEAT_1_wide): ... here.
1837         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
1838         (_FP_MUL_MEAT_1_hard): ... here.
1839         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1840         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
1841         (_FP_MUL_MEAT_2_wide): ... here.
1842         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
1843         (_FP_MUL_MEAT_2_wide_3mul): ... here.
1844         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
1845         (_FP_MUL_MEAT_2_gmp): ... here.
1846         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1847         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
1848         (_FP_MUL_MEAT_4_wide): ... here.
1849         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
1850         (_FP_MUL_MEAT_4_gmp): ... here.
1851         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1852         (_FP_WFRACBITS_DW_S): Likewise.
1853         (_FP_WFRACXBITS_DW_S): Likewise.
1854         (_FP_HIGHBIT_DW_S): Likewise.
1855         (FP_FMA_S): Likewise.
1856         (_FP_FRAC_HIGH_DW_S): Likewise.
1857         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1858         (_FP_WFRACBITS_DW_D): Likewise.
1859         (_FP_WFRACXBITS_DW_D): Likewise.
1860         (_FP_HIGHBIT_DW_D): Likewise.
1861         (FP_FMA_D): Likewise.
1862         (_FP_FRAC_HIGH_DW_D): Likewise.
1863         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1864         (_FP_WFRACBITS_DW_E): Likewise.
1865         (_FP_WFRACXBITS_DW_E): Likewise.
1866         (_FP_HIGHBIT_DW_E): Likewise.
1867         (FP_FMA_E): Likewise.
1868         (_FP_FRAC_HIGH_DW_E): Likewise.
1869         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1870         (_FP_WFRACBITS_DW_Q): Likewise.
1871         (_FP_WFRACXBITS_DW_Q): Likewise.
1872         (_FP_HIGHBIT_DW_Q): Likewise.
1873         (FP_FMA_Q): Likewise.
1874         (_FP_FRAC_HIGH_DW_Q): Likewise.
1875         * soft-fp/fmasf4.c: New file.
1876         * soft-fp/fmadf4.c: Likewise.
1877         * soft-fp/fmatf4.c: Likewise.
1879 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1882         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1883         Silvermont.
1884         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1885         macro.
1886         (index_Slow_SSE4_2): Likewise.
1887         (index_Prefer_PMINUB_for_stringop): Likewise.
1888         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1889         bit_Slow_SSE4_2 is set.
1890         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1891         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1893 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1895         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1896         rtld_global._dl_hwcap2.
1897         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1898         POWER8.
1899         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1900         POWER8 feature descriptions defined in _dl_hwcap2.
1901         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1902         string handling for POWER8 feature bits.
1903         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1904         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1905         _dl_powerpc_cap_flags.
1906         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1907         * sysdeps/powerpc/rtld-global-offsets.sym
1908         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1909         _dl_hwcap2 in the rtld_global_ro structure.
1911 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1913         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1914         hardware capabilities in support of AT_HWCAP2.
1915         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1916         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1917         GLRO(dl_hwcap2).
1918         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1919         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1920         explicitly the unknown a_type display mechanism is used.
1921         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1922         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1923         struct member.
1924         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1925         to macro prototype for AT_HWCAP2 support.
1926         * sysdeps/i386/dl-procinfo.h: Likewise.
1927         * sysdeps/s390/dl-procinfo.h: Likewise.
1928         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1929         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1930         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1931         return -1 for unknown a_type display fallback.
1932         * sysdeps/sparc/dl-procinfo.h: Likewise.
1933         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1934         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1936 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1938         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1939         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1941 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1943         [BZ #12492]
1944         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1945         mprotect making __stack_prot writable.
1947 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1948             Joseph Myers  <joseph@codesourcery.com>
1950         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1951         as being properly aligned.
1953 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1955         * dlfcn/modstatic5.c: New file.
1956         * dlfcn/tststatic5.c: New file.
1957         * dlfcn/Makefile (tests): Add tststatic5.
1958         (tests-static): Likewise.
1959         (modules-names): Add modstatic5.
1960         (tststatic5-ENV): New variable.
1961         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1963         [BZ #15022]
1964         * elf/dl-support.c (_dl_main_map): New variable.
1965         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1966         (_dl_nns, _dl_load_adds): Set to 1.
1967         (_dl_initial_searchlist): Refer to _dl_main_map.
1968         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1969         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1970         call to _dl_get_origin.
1971         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1972         around call_map.
1973         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1974         * dlfcn/modstatic3.c: New file.
1975         * dlfcn/tststatic3.c: New file.
1976         * dlfcn/tststatic4.c: New file.
1977         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1978         (tests-static): Likewise.
1979         (modules-names): Add modstatic3.
1980         (tststatic3-ENV, tststatic4-ENV): New variables.
1981         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1982         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1984 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1986         * configure.in (CC): Require GCC version 4.4 or later.
1987         * configure: Regenerated.
1988         * manual/install.texi (Tools for Compilation): Update GCC version
1989         requirement.
1990         * INSTALL: Regenerated.
1992 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1994         [BZ #15674]
1995         * string/test-memcmp.c (check2): New.
1996         (main): Call check2.
1998         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2000 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2002         [BZ #15022]
2003         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2004         over to...
2005         (dl_open_worker) [!SHARED]: ... here.
2007 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2009         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2011 2013-06-25  Richard Henderson  <rth@redhat.com>
2013         * locale/programs/locarchive.c: Include <libc-internal.h>
2015 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2017         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2018         trailing whitespace removed.
2020 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2022         [BZ #10283]
2023         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2024         * locale/programs/locarchive.c: Include libc-mmap.h.
2025         (prepare_address_space): Take two new outputs (the mmap base and len).
2026         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2027         values.
2028         (create_archive): Declare new mmap base and len values for
2029         prepare_address_space, and store the result in ah.
2030         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2031         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2032         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2033         Declare new mmap base and len values for
2034         prepare_address_space, and store the result in new_ah.
2035         (open_archive): Declare new mmap base and len values for
2036         prepare_address_space, and store the result in ah.
2037         (close_archive): If ah->mmap_base is not NULL, use that and
2038         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2039         * sysdeps/generic/libc-mmap.h: New file.
2041 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2043         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2044         (ALIGN_UP): Likewise.
2045         (PTR_ALIGN_DOWN): Likewise.
2046         (PTR_ALIGN_UP): Likewise.
2048 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2050         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2051         entry mapped to PPC_PLATFORM_POWER8.
2052         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2053         POWER8.
2054         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2055         (_dl_string_platform): Add case for exporting platform position for
2056         POWER8.
2057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2058         search path to sysdeps/powerpc/powerpc32/power8 directory.
2059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2060         search path to sysdeps/powerpc/powerpc64/power8 directory.
2061         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2062         power7 directories.
2063         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2064         power7 directories.
2066 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2068         * INSTALL: Regenerate.
2070         * nscd/connections.c (nscd_init): Fix comment.
2072 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2074         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2076         [BZ #15667]
2077         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2078         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2080 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2082         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2083         DL_DST_REQ_STATIC.
2084         (DL_DST_REQ_STATIC): Remove macro.
2086 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2088         [BZ #7006]
2089         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2090         with a shift of 0 bits.
2092 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2094         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2095         $(tststatic-ENV).
2097 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2099         [BZ #15655]
2100         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2102 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2104         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2105         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2106         accepts -fno-tree-loop-distribute-patterns.
2107         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2108         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2109         recursive call.
2110         * string/memset.c (memset): Likewise.
2111         * string/test-memmove.c (simple_memmove): Disable loop transformation
2112         to library calls.
2113         * string/test-memset.c (simple_memset): Likewise.
2114         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2115         * benchtests/bench-memset.c (simple_memset): Likewise.
2116         * configure: Regenerated.
2118 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2120         * math/test-misc.c (main): Ignore fesetround failure when failures
2121         of subsequent rounding tests would be ignored.
2123         [BZ #15654]
2124         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2125         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2126         * math/fegetenv.c (__fegetenv): Return 0.
2127         * math/fegetexcept.c (fegetexcept): Return 0.
2128         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2129         FE_TONEAREST.
2130         * math/feholdexcpt.c (feholdexcept): Return 0.
2131         * math/fesetenv.c (__fesetenv): Return 0.
2132         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2133         argument FE_TONEAREST.
2134         * math/feupdateenv.c (__feupdateenv): Return 0.
2135         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2137 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2139         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2140         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2141         ($(objpfx)rtld-%.os rules): Use them.
2143 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2145         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2146         fields.
2148 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2150         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2151         length of target pattern, then descending length of dependency pattern.
2152         * configure.in (AWK): Require gawk 3.1.2 or newer.
2153         * manual/install.texi (Tools for Compilation): Say that we do.
2154         * configure: Regenerated.
2156         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2157         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2158         * scripts/sysd-rules.awk: ... this new script.
2159         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2160         than a glob-style pattern.
2162 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2164         * math/test-misc.c (main): Do not treat incorrectly rounded
2165         conversions as failure unless ROUNDING_TESTS passes.
2167 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2169         [BZ #15631]
2170         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2171         restore exception state around main square root computation, then
2172         check for inexactness explicitly.
2174         * math/libm-test.inc (fma_test_data): Add another test.
2176 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2178         * manual/threads.texi (Non-POSIX Extensions): New document
2179         node.  Document pthread_getattr_default_np and
2180         pthread_setattr_default_np.
2182         * Versions.def (libpthread): Add GLIBC_2.18.
2183         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2185         Likewise.
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2187         Likewise.
2188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2189         Likewise.
2190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2191         Likewise.
2192         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2193         Likewise.
2194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2195         Likewise.
2196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2197         Likewise.
2198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2199         Likewise.
2200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2201         Likewise.
2203 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2206         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2208 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2209             H.J. Lu  <hjl.tools@gmail.com>
2211         [BZ #15627]
2212         * sysdeps/x86_64/rtld-memset.c: Remove file.
2213         * sysdeps/x86_64/rtld-memset.S: New file.
2215 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
2217         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2218         (test_in_one_mode): Take arguments for whether the rounding mode
2219         is supported for each floating-point type.
2220         (do_test): Pass new arguments to test_in_one_mode using
2221         ROUNDING_TESTS.
2223 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2225         * posix/tst-waitid.c (do_test): Distinguish different instances of
2226         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
2227         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2228         before entering the kernel for waitpid.
2230 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2232         * NEWS: Fix note on clock function precision.  Text by Roland
2233         McGrath.
2235 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2237         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2238         it into place only when and if the sanity check passes.
2240 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
2242         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2243         output for whether conversion result is exact.  Take argument
2244         indicating whether type is IBM long double.
2245         (round_for_all): Change need_exact field to ibm_ld.
2246         * stdlib/tst-strtod-round.c (struct exactness): New type.
2247         (struct test): Change bool ld_ok field to struct exactness exact.
2248         (TEST): Update all definitions for change to field.
2249         (tests): Regenerate array contents.
2250         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2251         field value.  Check for IBM long double here.
2252         (do_test): Update calls to test_in_one_mode.
2254 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2256         [BZ #12515]
2257         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2258         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2260 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2262         [BZ #15605]
2263         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2264         generated by the compiler on loop optimizations.
2265         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2266         general definitions.
2268 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2270         * math/bug-nextafter.c: Include <math-tests.h>.
2271         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2272         the relevant type.
2273         * math/bug-nexttoward.c: Include <math-tests.h>.
2274         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2275         the relevant type.
2276         * math/test-misc.c: Include <math-tests.h>.
2277         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2278         the relevant type.
2280 2013-06-12  Andreas Jaeger  <aj@suse.de>
2282         * po/ia.po: Update Interlingua translation from translation
2283         project.
2285 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2287         * include/fenv.h: Include stdbool.h.
2288         (struct rm_ctx): New structure.
2289         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2290         Define macro.
2291         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2292         (SET_RESTORE_ROUNDF): Likewise.
2293         (SET_RESTORE_ROUNDL): Likewise.
2294         (SET_RESTORE_ROUND_NOEX): Likewise.
2295         (SET_RESTORE_ROUND_NOEXF): Likewise.
2296         (SET_RESTORE_ROUND_NOEXL): Likewise.
2297         (SET_RESTORE_ROUND_53BIT): Likewise.
2298         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2299         (libc_feresetround_noexf_ctx): Likewise.
2300         (libc_feresetround_noexl_ctx): Likewise.
2301         (libc_feholdsetround_53bit_ctx): Likewise.
2302         (libc_feresetround_53bit_ctx): Likewise.
2303         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2304         (libc_feholdexcept_setround_sse_ctx): New function.
2305         (libc_fesetenv_sse_ctx): Likewise.
2306         (libc_feupdateenv_sse_ctx): Likewise.
2307         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2308         (libc_feholdexcept_setround_387_ctx): Likewise.
2309         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2310         (libc_feholdsetround_387_prec_ctx): Likewise.
2311         (libc_feholdsetround_387_ctx): Likewise.
2312         (libc_feholdsetround_387_53bit_ctx): Likewise.
2313         (libc_feholdsetround_sse_ctx): Likewise.
2314         (libc_feresetround_sse_ctx): Likewise.
2315         (libc_feresetround_387_ctx): Likewise.
2316         (libc_feupdateenv_387_ctx): Likewise.
2317         (libc_feholdexcept_setroundf_ctx): Define macro.
2318         (libc_fesetenvf_ctx): Likewise.
2319         (libc_feupdateenvf_ctx): Likewise.
2320         (libc_feholdsetroundf_ctx): Likewise.
2321         (libc_feresetroundf_ctx): Likewise.
2322         (libc_feholdexcept_setround_ctx): Likewise.
2323         (libc_fesetenv_ctx): Likewise.
2324         (libc_feupdateenv_ctx): Likewise.
2325         (libc_feholdsetround_ctx): Likewise.
2326         (libc_feresetround_ctx): Likewise.
2327         (libc_feholdexcept_setroundl_ctx): Likewise.
2328         (libc_feupdateenvl_ctx): Likewise.
2329         (libc_feholdsetroundl_ctx): Likewise.
2330         (libc_feresetroundl_ctx): Likewise.
2331         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2332         (libc_feresetround_53bit_ctx): Likewise.
2334 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2336         * locale/iso-639.def: Convert to UTF-8.
2338 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2340         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2341         (EXCEPTION_TESTS_double): Likewise.
2342         (EXCEPTION_TESTS_long_double): Likewise.
2343         (EXCEPTION_TESTS): Likewise.
2344         * math/libm-test.inc (test_exceptions): Only test exceptions if
2345         EXCEPTION_TESTS (FLOAT).
2347 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2349         * benchtests/Makefile (string-bench): Add strcpy_chk and
2350         stpcpy_chk.
2351         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2352         * benchtests/bench-stpcpy_chk.c: New file.
2353         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2354         * benchtests/bench-strcpy_chk.c: New file.
2355         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2356         code.
2357         (do_test): Likewise.
2359 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2361         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2362         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2363         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2364         with tabs where appropriate.
2365         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2366         dl-procinfo.h.
2367         [PPC_PLATFORM_PPC440]: Likewise.
2368         [PPC_PLATFORM_PPC464]: Likewise.
2369         [PPC_PLATFORM_PPC476]: Likewise.
2370         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2371         ppc464, and ppc476 platform strings merging from ports/
2372         dl-procinfo.h.
2374 2013-06-11  Andreas Schwab  <schwab@suse.de>
2376         [BZ #14991]
2377         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2378         (from_ucs4_idx): Regenerate.
2379         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2380         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2381         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2382         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2383         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2384         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2385         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2386         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2387         from FROM_LOOP and TO_LOOP specific macros.
2388         (BODY): Handle combining characters.
2389         * iconvdata/BIG5HKSCS.irreversible: Update.
2390         * iconvdata/BIG5HKSCS.precomposed: New file.
2391         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2392         characters.
2393         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2395 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2397         * include/sys/time.h: Fix indentation and add copyright header.
2399         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2400         (do_test): Likewise.
2401         * string/test-memchr.c (do_one_test): Likewise.
2402         (do_test): Likewise.
2403         * string/test-memcmp.c (do_one_test): Likewise.
2404         (do_test): Likewise.
2405         * string/test-memcpy.c (do_one_test): Likewise.
2406         (do_test): Likewise.
2407         * string/test-memmem.c (do_one_test): Likewise.
2408         (do_test): Likewise.
2409         (do_random_tests): Likewise.
2410         * string/test-memmove.c (do_one_test): Likewise.
2411         (do_test): Likewise.
2412         * string/test-memset.c (do_one_test): Likewise.
2413         (do_test): Likewise.
2414         * string/test-rawmemchr.c (do_one_test): Likewise.
2415         (do_test): Likewise.
2416         * string/test-strcasecmp.c (do_one_test): Likewise.
2417         (do_test): Likewise.
2418         * string/test-strcasestr.c (do_one_test): Likewise.
2419         (do_test): Likewise.
2420         * string/test-strcat.c (do_one_test): Likewise.
2421         (do_test): Likewise.
2422         * string/test-strchr.c (do_one_test): Likewise.
2423         (do_test): Likewise.
2424         * string/test-strcmp.c (do_one_test): Likewise.
2425         (do_test): Likewise.
2426         * string/test-strcpy.c (do_one_test): Likewise.
2427         (do_test): Likewise.
2428         * string/test-string.h: Likewise.
2429         (test_init): Likewise.
2430         * string/test-strlen.c (do_one_test): Likewise.
2431         (do_test): Likewise.
2432         * string/test-strncasecmp.c (do_one_test): Likewise.
2433         (do_test): Likewise.
2434         * string/test-strncat.c (do_one_test): Likewise.
2435         (do_test): Likewise.
2436         * string/test-strncmp.c (do_one_test): Likewise.
2437         (do_test_limit): Likewise.
2438         (do_test): Likewise.
2439         * string/test-strncpy.c (do_one_test): Likewise.
2440         (do_test): Likewise.
2441         * string/test-strnlen.c (do_one_test): Likewise.
2442         (do_test): Likewise.
2443         * string/test-strpbrk.c (do_one_test): Likewise.
2444         (do_test): Likewise.
2445         * string/test-strrchr.c (do_one_test): Likewise.
2446         (do_test): Likewise.
2447         * string/test-strspn.c (do_one_test): Likewise.
2448         (do_test): Likewise.
2449         * string/test-strstr.c (do_one_test): Likewise.
2450         (do_test): Likewise.
2452         * benchtests/Makefile (string-bench): Add string benchmarks.
2453         * benchtests/bench-bcopy-ifunc.c: New file.
2454         * benchtests/bench-bcopy.c: New file.
2455         * benchtests/bench-bzero-ifunc.c: New file.
2456         * benchtests/bench-bzero.c: New file.
2457         * benchtests/bench-memccpy-ifunc.c: New file.
2458         * benchtests/bench-memccpy.c: New file.
2459         * benchtests/bench-memchr-ifunc.c: New file.
2460         * benchtests/bench-memchr.c: New file.
2461         * benchtests/bench-memcmp-ifunc.c: New file.
2462         * benchtests/bench-memcmp.c: New file.
2463         * benchtests/bench-memmem-ifunc.c: New file.
2464         * benchtests/bench-memmem.c: New file.
2465         * benchtests/bench-memmove-ifunc.c: New file.
2466         * benchtests/bench-memmove.c: New file.
2467         * benchtests/bench-mempcpy-ifunc.c: New file.
2468         * benchtests/bench-mempcpy.c: New file.
2469         * benchtests/bench-memset-ifunc.c: New file.
2470         * benchtests/bench-memset.c: New file.
2471         * benchtests/bench-rawmemchr-ifunc.c: New file.
2472         * benchtests/bench-rawmemchr.c: New file.
2473         * benchtests/bench-stpcpy-ifunc.c: New file.
2474         * benchtests/bench-stpcpy.c: New file.
2475         * benchtests/bench-stpncpy-ifunc.c: New file.
2476         * benchtests/bench-stpncpy.c: New file.
2477         * benchtests/bench-strcasecmp-ifunc.c: New file.
2478         * benchtests/bench-strcasecmp.c: New file.
2479         * benchtests/bench-strcasestr-ifunc.c: New file.
2480         * benchtests/bench-strcasestr.c: New file.
2481         * benchtests/bench-strcat-ifunc.c: New file.
2482         * benchtests/bench-strcat.c: New file.
2483         * benchtests/bench-strchr-ifunc.c: New file.
2484         * benchtests/bench-strchr.c: New file.
2485         * benchtests/bench-strchrnul-ifunc.c: New file.
2486         * benchtests/bench-strchrnul.c: New file.
2487         * benchtests/bench-strcmp-ifunc.c: New file.
2488         * benchtests/bench-strcmp.c: New file.
2489         * benchtests/bench-strcpy-ifunc.c: New file.
2490         * benchtests/bench-strcpy.c: New file.
2491         * benchtests/bench-strcspn-ifunc.c: New file.
2492         * benchtests/bench-strcspn.c: New file.
2493         * benchtests/bench-strlen-ifunc.c: New file.
2494         * benchtests/bench-strlen.c: New file.
2495         * benchtests/bench-strncasecmp-ifunc.c: New file.
2496         * benchtests/bench-strncasecmp.c: New file.
2497         * benchtests/bench-strncat-ifunc.c: New file.
2498         * benchtests/bench-strncat.c: New file.
2499         * benchtests/bench-strncmp-ifunc.c: New file.
2500         * benchtests/bench-strncmp.c: New file.
2501         * benchtests/bench-strncpy-ifunc.c: New file.
2502         * benchtests/bench-strncpy.c: New file.
2503         * benchtests/bench-strnlen-ifunc.c: New file.
2504         * benchtests/bench-strnlen.c: New file.
2505         * benchtests/bench-strpbrk-ifunc.c: New file.
2506         * benchtests/bench-strpbrk.c: New file.
2507         * benchtests/bench-strrchr-ifunc.c: New file.
2508         * benchtests/bench-strrchr.c: New file.
2509         * benchtests/bench-strspn-ifunc.c: New file.
2510         * benchtests/bench-strspn.c: New file.
2511         * benchtests/bench-strstr-ifunc.c: New file.
2512         * benchtests/bench-strstr.c: New file.
2514         * benchtests/Makefile: Disable parallel execution of targets.
2515         (string-bench): Add memcpy.
2516         (benchset): New variable to store a list of benchmark sets.
2517         (bench-func): Renamed from bench.
2518         (bench-set): New target.
2519         (bench): Depend on bench-func and bench-set.
2520         * benchtests/README: Add section on benchmark sets.
2521         * benchtests/bench-memcpy-ifunc.c: New file.
2522         * benchtests/bench-memcpy.c: New file.
2523         * benchtests/bench-string.h: New file.
2525 2013-06-11  Andreas Schwab  <schwab@suse.de>
2527         [BZ #15577]
2528         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2529         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2530         values in the triple.
2531         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2532         terminator in the group key.
2534 2013-06-11  Andreas Jaeger  <aj@suse.de>
2536         * po/zh_TW.po: Update Chinese (traditional) translation from
2537         translation project.
2539 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2541         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2542         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2543         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2544         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2545         (clock_getcpuclockid): Likewise.
2546         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2547         Add weak_alias and libc_hidden_def.
2548         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2549         * rt/clock_gettime.c (clock_gettime): Rename to
2550         __clock_gettime.  Add weak_alias and libc_hidden_def.
2551         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2552         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2553         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2554         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2555         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2556         Likewise.
2557         * rt/clock_settime.c (clock_settime): Rename to
2558         __clock_settime.  Add weak_alias and libc_hidden_def.
2559         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2561 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2563         * mach/err_boot.sub: Remove trailing whitespace.
2564         * mach/err_ipc.sub: Likewise.
2565         * mach/err_mach.sub: Likewise.
2567         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2568         (ROUNDING_TESTS_double): Likewise.
2569         (ROUNDING_TESTS_long_double): Likewise.
2570         (ROUNDING_TESTS): Likewise.
2571         * math/libm-test.inc: Include <math-tests.h>.
2572         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2573         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2574         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2575         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2577 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2579         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2580         of assigning.
2582 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2584         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2585         otherwise empty TRANS lines.
2586         * sysdeps/gnu/errlist.c: Regenerated.
2588         * catgets/gencat.c (error_print): Use (void) in function
2589         definition.
2590         * crypt/crypt_util.c (__init_des): Likewise.
2591         * crypt/speeds.c (Stop): Likewise.
2592         (main): Likewise.
2593         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2594         * inet/ruserpass.c (token): Likewise.
2595         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2596         * intl/localealias.c (extend_alias_table): Likewise.
2597         * intl/plural-exp.c (init_germanic_plural): Likewise.
2598         * libio/fcloseall.c (__fcloseall): Likewise.
2599         * libio/genops.c (_IO_flush_all): Likewise.
2600         (_IO_flush_all_linebuffered): Likewise.
2601         (_IO_cleanup): Likewise.
2602         (_IO_iter_begin): Likewise.
2603         (_IO_iter_end): Likewise.
2604         (_IO_list_lock): Likewise.
2605         (_IO_list_unlock): Likewise.
2606         (_IO_list_resetlock): Likewise.
2607         * libio/getchar.c (getchar): Likewise.
2608         * libio/getchar_u.c (getchar_unlocked): Likewise.
2609         * libio/getwchar.c (getwchar): Likewise.
2610         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2611         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2612         * login/getpt.c (__getpt): Likewise.
2613         * login/tst-utmp.c (main): Likewise.
2614         * malloc/hooks.c (__malloc_check_init): Likewise.
2615         * malloc/malloc.c (__malloc_stats): Likewise.
2616         * malloc/mtrace.c (tr_break): Likewise.
2617         (mtrace): Likewise.
2618         (muntrace): Likewise.
2619         * misc/fstab.c (endfsent): Likewise.
2620         * misc/getclktck.c (__getclktck): Likewise.
2621         * misc/getdtsz.c (__getdtablesize): Likewise.
2622         * misc/gethostid.c (gethostid): Likewise.
2623         * misc/getpagesize.c (__getpagesize): Likewise.
2624         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2625         (__get_nprocs): Likewise.
2626         (__get_phys_pages): Likewise.
2627         (__get_avphys_pages): Likewise.
2628         * misc/getttyent.c (getttyent): Likewise.
2629         (setttyent): Likewise.
2630         (endttyent): Likewise.
2631         * misc/getusershell.c (getusershell): Likewise.
2632         (endusershell): Likewise.
2633         (setusershell): Likewise.
2634         (initshells): Likewise.
2635         * misc/hsearch.c (__hdestroy): Likewise.
2636         * misc/sync.c (sync): Likewise.
2637         * misc/syslog.c (closelog_internal): Likewise.
2638         (closelog): Likewise.
2639         * misc/ttyslot.c (ttyslot): Likewise.
2640         * misc/vhangup.c (vhangup): Likewise.
2641         * posix/fork.c (__fork): Likewise.
2642         * posix/getegid.c (__getegid): Likewise.
2643         * posix/geteuid.c (__geteuid): Likewise.
2644         * posix/getgid.c (__getgid): Likewise.
2645         * posix/getpid.c (__getpid): Likewise.
2646         * posix/getppid.c (__getppid): Likewise.
2647         * posix/getuid.c (__getuid): Likewise.
2648         * posix/pause.c (pause): Likewise.
2649         * posix/setpgrp.c (setpgrp): Likewise.
2650         * posix/setsid.c (__setsid): Likewise.
2651         * posix/test-vfork.c (noop): Likewise.
2652         * resolv/gethnamaddr.c (_endhtent): Likewise.
2653         (_gethtent): Likewise.
2654         (ht_endhostent): Likewise.
2655         (gethostent): Likewise.
2656         (dns_service): Likewise.
2657         * stdlib/drand48.c (drand48): Likewise.
2658         * stdlib/lrand48.c (lrand48): Likewise.
2659         * stdlib/mrand48.c (mrand48): Likewise.
2660         * stdlib/rand.c (rand): Likewise.
2661         * stdlib/random.c (__random): Likewise.
2662         * stdlib/setenv.c (clearenv): Likewise.
2663         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2664         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2665         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2666         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2667         (__get_nprocs): Likewise.
2668         (__get_phys_pages): Likewise.
2669         (__get_avphys_pages): Likewise.
2670         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2671         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2672         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2673         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2674         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2675         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2676         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2677         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2678         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2679         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2680         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2681         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2682         * sysdeps/posix/clock.c (clock): Likewise.
2683         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2684         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2685         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2686         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2687         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2689         (__get_nprocs_conf): Likewise.
2690         (__get_phys_pages): Likewise.
2691         (__get_avphys_pages): Likewise.
2692         * time/clock.c (clock): Likewise.
2693         * time/tzset.c (__tzname_max): Likewise.
2695 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2697         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2698         (__bswap_32): Do not use "register".
2699         * crypt/crypt.c (_ufc_doit_r): Likewise.
2700         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2701         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2702         * gmon/gmon.c (__monstartup): Likewise.
2703         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2704         * hurd/hurdmalloc.c (more_memory): Likewise.
2705         (malloc): Likewise.
2706         (free): Likewise.
2707         (realloc): Likewise.
2708         (malloc_fork_prepare): Likewise.
2709         (malloc_fork_parent): Likewise.
2710         (malloc_fork_child): Likewise.
2711         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2712         (_svcauth_des): Likewise.
2713         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2714         * inet/inet_net.c (inet_network): Likewise.
2715         * inet/inet_netof.c (inet_netof): Likewise.
2716         * inet/rcmd.c (__validuser2_sa): Likewise.
2717         * io/fts.c (fts_open): Likewise.
2718         (fts_load): Likewise.
2719         (fts_close): Likewise.
2720         (fts_read): Likewise.
2721         (fts_children): Likewise.
2722         (fts_build): Likewise.
2723         (fts_stat): Likewise.
2724         (fts_sort): Likewise.
2725         (fts_alloc): Likewise.
2726         (fts_lfree): Likewise.
2727         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2728         (_IO_file_xsgetn): Likewise.
2729         (_IO_file_xsgetn_mmap): Likewise.
2730         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2731         (_IO_cookie_write): Likewise.
2732         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2733         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2734         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2735         * malloc/obstack.c (_obstack_begin): Likewise.
2736         (_obstack_begin_1): Likewise.
2737         (_obstack_newchunk): Likewise.
2738         (_obstack_allocated_p): Likewise.
2739         (obstack_free): Likewise.
2740         (_obstack_memory_used): Likewise.
2741         * misc/getttyent.c (getttynam): Likewise.
2742         (getttyent): Likewise.
2743         (skip): Likewise.
2744         (value): Likewise.
2745         * misc/getusershell.c (initshells): Likewise.
2746         * misc/syslog.c (__vsyslog_chk): Likewise.
2747         * misc/ttyslot.c (ttyslot): Likewise.
2748         * nis/nis_hash.c (__nis_hash): Likewise.
2749         * posix/fnmatch_loop.c (FCT): Likewise.
2750         * posix/getconf.c (print_all): Likewise.
2751         (main): Likewise.
2752         * posix/getopt.c (exchange): Likewise.
2753         * posix/glob.c (globfree): Likewise.
2754         (prefix_array): Likewise.
2755         (__glob_pattern_type): Likewise.
2756         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2757         (NS_GET32): Likewise.
2758         (NS_PUT16): Likewise.
2759         (NS_PUT32): Likewise.
2760         * resolv/gethnamaddr.c (getanswer): Likewise.
2761         (gethostbyname2): Likewise.
2762         (gethostbyaddr): Likewise.
2763         (_gethtent): Likewise.
2764         (_gethtbyname2): Likewise.
2765         (_gethtbyaddr): Likewise.
2766         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2767         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2768         * resolv/res_init.c (__res_vinit): Likewise.
2769         (net_mask): Likewise.
2770         * resolv/res_mkquery.c (outchar): Likewise.
2771         (PRINT): Likewise.
2772         * stdio-common/printf_fp.c (outchar): Likewise.
2773         (PRINT): Likewise.
2774         * stdio-common/printf_fphex.c (outchar): Likewise.
2775         (PRINT): Likewise.
2776         * stdio-common/printf_size.c (outchar): Likewise.
2777         (PRINT): Likewise.
2778         * stdio-common/test_rdwr.c (main): Likewise.
2779         * stdio-common/tfformat.c (matches): Likewise.
2780         * stdio-common/vfprintf.c (outchar): Likewise.
2781         (printf_unknown): Likewise.
2782         (buffered_vfprintf): Likewise.
2783         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2784         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2785         (ReadFile): Likewise.
2786         * stdlib/qsort.c (SWAP): Likewise.
2787         (_quicksort): Likewise.
2788         * stdlib/setenv.c (__add_to_environ): Likewise.
2789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2790         * stdlib/strtol_l.c (__strtol_l): Likewise.
2791         * stdlib/tst-strtod.c (main): Likewise.
2792         * stdlib/tst-strtol.c (main): Likewise.
2793         * stdlib/tst-strtoll.c (main): Likewise.
2794         * string/bits/string2.h (__strcmp_cc): Likewise.
2795         (__strcmp_cg): Likewise.
2796         (__strcspn_c1): Likewise.
2797         (__strcspn_c2): Likewise.
2798         (__strcspn_c3): Likewise.
2799         (__strspn_c1): Likewise.
2800         (__strspn_c2): Likewise.
2801         (__strspn_c3): Likewise.
2802         (__strsep_1c): Likewise.
2803         (__strsep_2c): Likewise.
2804         (__strsep_3c): Likewise.
2805         * string/memccpy.c (__memccpy): Likewise.
2806         * string/stpcpy.c (__stpcpy): Likewise.
2807         * string/strcmp.c (strcmp): Likewise.
2808         * string/strrchr.c (strrchr): Likewise.
2809         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2810         Likewise.
2811         * sysdeps/mach/hurd/getcwd.c
2812         (_hurd_canonicalize_directory_name_internal): Likewise.
2813         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2814         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2815         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2816         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2817         Likewise, in both definitions.
2818         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2819         definitions.
2820         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2821         64] (__bswap_64): Likewise.
2822         * time/test_time.c (main): Likewise.
2823         * time/tzfile.c (__tzfile_read): Likewise.
2824         (__tzfile_compute): Likewise.
2825         * time/tzset.c (__tzset_parse_tz): Likewise.
2826         (tzset_internal): Likewise.
2827         (compute_change): Likewise.
2828         * wcsmbs/wcscat.c (__wcscat): Likewise.
2829         * wcsmbs/wcschr.c (wcschr): Likewise.
2830         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2831         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2832         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2833         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2834         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2835         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2836         * wcsmbs/wmemchr.c (wmemchr): Likewise.
2837         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2838         * wcsmbs/wmemset.c (wmemset): Likewise.
2840 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
2842         * scripts/config.guess: Update to version 2013-05-16.
2843         * scripts/config.sub: Update to version 2013-04-24.
2844         * scripts/install-sh: Update to version 2011-11-20.07.
2845         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2846         * scripts/move-if-change: Update to version 2012-01-06 07:23.
2848 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
2850         * debug/fgetws_u_chk.c: Fix leading whitespaces.
2851         * elf/sln.c: Likewise.
2852         * hurd/hurd/ioctl.h: Likewise.
2853         * hurd/hurdmalloc.c: Likewise.
2854         * hurd/xattr.c: Likewise.
2855         * include/shlib-compat.h: Likewise.
2856         * inet/ruserpass.c: Likewise.
2857         * libio/iofgets_u.c: Likewise.
2858         * libio/iofgetws_u.c: Likewise.
2859         * locale/programs/ld-identification.c: Likewise.
2860         * locale/programs/ld-time.c: Likewise.
2861         * mach/msg-destroy.c: Likewise.
2862         * nss/nss_files/files-netgrp.c: Likewise.
2863         * resolv/res_data.c: Likewise.
2864         * soft-fp/op-1.h: Likewise.
2865         * soft-fp/op-2.h: Likewise.
2866         * soft-fp/op-4.h: Likewise.
2867         * soft-fp/op-common.h: Likewise.
2868         * stdio-common/printf_fphex.c: Likewise.
2869         * stdlib/strtod_l.c: Likewise.
2870         * sunrpc/rpc/clnt.h: Likewise.
2871         * sysdeps/generic/framestate.c: Likewise.
2872         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2873         * sysdeps/i386/bsd-setjmp.S: Likewise.
2874         * sysdeps/i386/__longjmp.S: Likewise.
2875         * sysdeps/i386/setjmp.S: Likewise.
2876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2877         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2878         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2894         * sysdeps/ieee754/support.c: Likewise.
2895         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2896         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2897         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2898         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2899         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2900         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2901         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2902         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2903         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2904         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2905         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2906         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2907         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2908         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2909         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2910         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2911         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2914 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2916         * posix/transbug.c: Remove executable mode.
2918 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2920         * crypt/speeds.c: Remove trailing whitespace.
2921         * dlfcn/default.c: Likewise.
2922         * elf/ifuncdep2.c: Likewise.
2923         * elf/ifuncmain1.c: Likewise.
2924         * elf/ifuncmain1vis.c: Likewise.
2925         * elf/testobj.h: Likewise.
2926         * elf/tst-stackguard1.c: Likewise.
2927         * gmon/sys/gmon.h: Likewise.
2928         * hurd/hurdmsg.c: Likewise.
2929         * hurd/new-fd.c: Likewise.
2930         * hurd/ports-get.c: Likewise.
2931         * iconvdata/ibm1008_420.c: Likewise.
2932         * inet/tst-getni1.c: Likewise.
2933         * inet/tst-getni2.c: Likewise.
2934         * libio/ioungetc.c: Likewise.
2935         * libio/wfiledoalloc.c: Likewise.
2936         * manual/libm-err-tab.pl: Likewise.
2937         * math/w_dremf.c: Likewise.
2938         * misc/ftruncate.c: Likewise.
2939         * posix/bug-glob2.c: Likewise.
2940         * posix/tst-pcre.c: Likewise.
2941         * posix/wait4.c: Likewise.
2942         * resolv/README: Likewise.
2943         * resolv/res_debug.h: Likewise.
2944         * resolv/tst-inet_ntop.c: Likewise.
2945         * setjmp/bug269-setjmp.c: Likewise.
2946         * soft-fp/extended.h: Likewise.
2947         * soft-fp/op-1.h: Likewise.
2948         * soft-fp/op-2.h: Likewise.
2949         * soft-fp/op-4.h: Likewise.
2950         * soft-fp/op-8.h: Likewise.
2951         * soft-fp/testit.c: Likewise.
2952         * stdio-common/bug16.c: Likewise.
2953         * stdlib/random.c: Likewise.
2954         * sunrpc/rpcsvc/rquota.x: Likewise.
2955         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2956         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2958         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2959         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2961         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2962         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2963         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2964         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2965         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2966         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2967         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2968         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2973         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2980         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2984         * sysdeps/ieee754/s_lib_version.c: Likewise.
2985         * sysdeps/mach/hurd/check_fds.c: Likewise.
2986         * sysdeps/mach/hurd/getsockname.c: Likewise.
2987         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2988         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2989         * sysdeps/powerpc/bits/link.h: Likewise.
2990         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2991         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2992         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2993         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2994         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2995         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2996         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2998         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2999         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3000         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3001         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3002         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3003         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3004         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3005         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3006         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3007         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3008         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3009         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3010         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3011         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3013         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3014         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3015         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3016         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3017         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3018         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3019         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3020         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3022         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3023         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3024         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3025         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3026         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3027         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3028         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3029         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3030         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3031         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3032         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3033         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3034         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3035         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3036         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3037         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3038         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3039         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3040         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3041         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3042         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3043         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3044         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3045         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3046         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3047         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3048         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3049         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3050         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3051         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3052         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3053         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3054         * sysdeps/powerpc/sysdep.h: Likewise.
3055         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3056         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3057         * sysdeps/sh/dl-trampoline.S: Likewise.
3058         * sysdeps/sh/memset.S: Likewise.
3059         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3060         * sysdeps/sh/strlen.S: Likewise.
3061         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3062         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3063         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3064         * sysdeps/sparc/sparc32/rem.S: Likewise.
3065         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3066         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3067         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3068         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3069         * sysdeps/sparc/sparc32/urem.S: Likewise.
3070         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3071         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3072         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3073         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3074         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3075         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3076         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3077         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3078         * sysdeps/unix/bsd/times.c: Likewise.
3079         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3080         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3084         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3085         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3086         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3087         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3088         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3089         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3090         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3091         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3092         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3093         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3094         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3095         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3096         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3097         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3098         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3099         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3100         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3101         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3102         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3103         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3104         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3106         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3107         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3108         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3109         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3110         * sysdeps/x86_64/strcspn.S: Likewise.
3112 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3114         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3115         generated file.  Regenerate properly from gen-translit.pl.
3116         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3117         locale/C-translit.h.
3119 2013-06-05  Andreas Schwab  <schwab@suse.de>
3121         [BZ #15100]
3122         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3123         week as 6 instead of -1.
3124         * time/tst-strptime.c (day_tests): Add test case.
3126 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3128         * sysdeps/generic/math_private.h
3129         (libc_feholdexcept_setround_53bit): Replace with
3130         libc_feholdsetround_53bit.
3131         (libc_feupdateenv_53bit): Replace with
3132         libc_feresetround_53bit.
3133         (SET_RESTORE_ROUND_53BIT): Adjust.
3135 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3137         * string/test-strchrnul.c: Add copyright header.
3139         * posix/tst-getaddrinfo4.c: Increase test timeout.
3141 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3143         [BZ #15536]
3144         * math/libm-test.inc (MAX_EXP): Remove
3145         (MIN_EXP): Define.
3146         (ulp): Use MIN_EXP - MANT_DIG.
3147         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3149 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3151         * po/be.po: Revert last change.
3152         * po/zh_CN.po: Likewise.
3153         * po/header.pot: Likewise.
3155 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3157         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3158         link-libc-deps to empty as target-specific variable.
3159         * Makerules (link-libc-args): New variable.
3160         (libc-for-link): Likewise.
3161         (link-libc-deps): Likewise.
3162         (lib%.so): Depend on $(link-libc-deps).  Link with
3163         $(link-libc-args).
3164         (build-module): Link with $(link-libc-args).
3165         (build-module-asneeded): Likewise.
3166         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3167         list of objects.
3168         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3169         target-specific variable.
3170         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3171         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3172         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3173         libc.
3174         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3175         libc and ld.so.
3176         ($(objpfx)libpcprofile.so): Likewise.
3177         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3178         libc_nonshared.a.
3179         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3180         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3181         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3182         $(link-libc-deps).
3183         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3184         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3185         * login/Makefile ($(objpfx)libutil.so): Likewise.
3186         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3187         * math/Makefile ($(objpfx)libm.so): Likewise.
3188         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3189         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3190         variable instead of depending directly on libc.
3191         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3192         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3193         $(link-libc-deps).
3194         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3195         libc.
3196         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3197         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3198         ($(objpfx)libanl.so): Likewise.
3199         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3200         ld.so.
3201         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3202         $(link-libc-deps).
3203         * sysdeps/i386/fpu/Makefile: Remove file.
3204         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3205         ($(objpfx)libm.so): Remove dependency on ld.so.
3207 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
3209         [BZ # 15553]
3210         * nis/yp_xdr.c (XDRMAXNAME): Define.
3211         (XDRMAXRECORD): Define.
3212         (xdr_domainname): Use XDRMAXNAME.
3213         (xdr_mapname): Likewise.
3214         (xdr_peername): Likewise.
3215         (xdr_keydat): Use XDRMAXRECORD.
3216         (xdr_valdat): Likewise.
3218 2013-05-30  Jeff Law  <law@redhat.com>
3220         [BZ #14256]
3221         * manual/errno.texi (ESTALE): Update to account for more than
3222         just NFS file systems.
3223         * sysdeps/gnu/errlist.c: Regenerated.
3225 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3227         [BZ #15465]
3228         * elf/Makefile (tests): Add tst-null-argv.
3229         (modules-names):  Add tst-null-argv-lib.
3230         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3231         (tst-null-argv-ENV): Set environment for tst-null-argv.
3232         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3233         (RTLD_PROGNAME): New macro.
3234         * elf/tst-null-argv.c: New test case.
3235         * elf/tst-null-argv-lib.c: Library for test case.
3236         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3237         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3238         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3239         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3240         * elf/dl-init.c (call_init): Likewise.
3241         (_dl_init): Likewise.
3242         * elf/dl-load.c (print_search_path): Likewise.
3243         (_dl_map_object): Likewise.
3244         * elf/dl-lookup.c (do_lookup_x): Likewise.
3245         (add_dependency): Likewise.
3246         (_dl_lookup_symbol_x): Likewise.
3247         (_dl_debug_bindings): Likewise.
3248         * elf/dl-open.c (_dl_show_scope): Likewise.
3249         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3250         * elf/dl-version.c (match_symbol): Likewise.
3251         (_dl_check_map_versions): Likewise.
3252         * elf/rtld.c (dl_main): Likewise.
3253         (print_unresolved): Use RTLD_PROGNAME.
3254         (print_missing_version): Likewise.
3255         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3256         (elf_machine_rela): Likewise.
3257         * sysdeps/powerpc/powerpc32/dl-machine.c
3258         (__process_machine_rela): Likewise.
3259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3260         Likewise.
3261         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3262         Likewise.
3263         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3264         Likewise.
3265         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3266         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3267         Likewise.
3268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3269         Likewise.
3270         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3272 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3274         * po/be.po: Add descriptive title.
3275         * po/zh_CN.po: Likewise.
3276         * po/header.pot: Likewise.
3278 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3280         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3281         error message.
3282         (enlarge_archive): Likewise.
3284 2013-05-28  Ben North  <ben@redfrontdoor.org>
3286         * manual/arith.texi (frexp): It is the magnitude of the return
3287         value which lies in [0.5, 1), not the return value itself.
3289 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3293 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3295         * stdio-common/bug26.c (main): Correct fscanf template.
3297         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3298         declare _dl_skip_args.
3300         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3301         Don't declare.
3303         * manual/platform.texi: Add missing @end deftypefun.
3305 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3307         [BZ #15529]
3308         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3309         bit of mantissa of 2^16382.
3310         * math/libm-test.inc (hypot_test_data): Add more tests.
3312         * math/libm-test.inc: Add drem and pow10 to list of tested
3313         functions.
3314         (pow10_test): New function.
3315         (drem_test): Likewise.
3316         (drem_test_tonearest): Likewise.
3317         (drem_test_towardzero): Likewise.
3318         (drem_test_downward): Likewise.
3319         (drem_test_upward): Likewise.
3320         (main): Call the new functions.
3322         * math/libm-test.inc (finite_test_data): Remove.
3323         (finite_test): Run tests from isfinite_test_data.
3324         (gamma_test_data): Remove.
3325         (gamma_test): Run tests from lgamma_test_data.
3326         * sysdeps/i386/fpu/libm-test-ulps: Update.
3327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3331         * manual/platform.texi: Add PowerPC PPR function set documentation.
3332         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3333         implementation.
3335 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3337         * math/libm-test.inc (MAX_EXP): Define.
3338         (ULPDIFF): Define.
3339         (ulp): New function.
3340         (check_float_internal): Use ULPDIFF.
3341         (cpow_test): Disable failing test.
3342         (check_ulp): Test ulp() implemetnation.
3343         (main): Call check_ulp before starting tests.
3345 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3347         * math/gen-libm-test.pl (generate_testfile): Do not handle
3348         START_DATA and END_DATA.
3349         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3350         END_DATA.
3351         (acos_tonearest_test_data): Likewise.
3352         (acos_towardzero_test_data): Likewise.
3353         (acos_downward_test_data): Likewise.
3354         (acos_upward_test_data): Likewise.
3355         (acosh_test_data): Likewise.
3356         (asin_test_data): Likewise.
3357         (asin_tonearest_test_data): Likewise.
3358         (asin_towardzero_test_data): Likewise.
3359         (asin_downward_test_data): Likewise.
3360         (asin_upward_test_data): Likewise.
3361         (asinh_test_data): Likewise.
3362         (atan_test_data): Likewise.
3363         (atanh_test_data): Likewise.
3364         (atan2_test_data): Likewise.
3365         (cabs_test_data): Likewise.
3366         (cacos_test_data): Likewise.
3367         (cacosh_test_data): Likewise.
3368         (carg_test_data): Likewise.
3369         (casin_test_data): Likewise.
3370         (casinh_test_data): Likewise.
3371         (catan_test_data): Likewise.
3372         (catanh_test_data): Likewise.
3373         (cbrt_test_data): Likewise.
3374         (ccos_test_data): Likewise.
3375         (ccosh_test_data): Likewise.
3376         (ceil_test_data): Likewise.
3377         (cexp_test_data): Likewise.
3378         (cimag_test_data): Likewise.
3379         (clog_test_data): Likewise.
3380         (clog10_test_data): Likewise.
3381         (conj_test_data): Likewise.
3382         (copysign_test_data): Likewise.
3383         (cos_test_data): Likewise.
3384         (cos_tonearest_test_data): Likewise.
3385         (cos_towardzero_test_data): Likewise.
3386         (cos_downward_test_data): Likewise.
3387         (cos_upward_test_data): Likewise.
3388         (cosh_test_data): Likewise.
3389         (cosh_tonearest_test_data): Likewise.
3390         (cosh_towardzero_test_data): Likewise.
3391         (cosh_downward_test_data): Likewise.
3392         (cosh_upward_test_data): Likewise.
3393         (cpow_test_data): Likewise.
3394         (cproj_test_data): Likewise.
3395         (creal_test_data): Likewise.
3396         (csin_test_data): Likewise.
3397         (csinh_test_data): Likewise.
3398         (csqrt_test_data): Likewise.
3399         (ctan_test_data): Likewise.
3400         (ctan_tonearest_test_data): Likewise.
3401         (ctan_towardzero_test_data): Likewise.
3402         (ctan_downward_test_data): Likewise.
3403         (ctan_upward_test_data): Likewise.
3404         (ctanh_test_data): Likewise.
3405         (ctanh_tonearest_test_data): Likewise.
3406         (ctanh_towardzero_test_data): Likewise.
3407         (ctanh_downward_test_data): Likewise.
3408         (ctanh_upward_test_data): Likewise.
3409         (erf_test_data): Likewise.
3410         (erfc_test_data): Likewise.
3411         (exp_test_data): Likewise.
3412         (exp_tonearest_test_data): Likewise.
3413         (exp_towardzero_test_data): Likewise.
3414         (exp_downward_test_data): Likewise.
3415         (exp_upward_test_data): Likewise.
3416         (exp10_test_data): Likewise.
3417         (exp2_test_data): Likewise.
3418         (expm1_test_data): Likewise.
3419         (fabs_test_data): Likewise.
3420         (fdim_test_data): Likewise.
3421         (finite_test_data): Likewise.
3422         (floor_test_data): Likewise.
3423         (fma_test_data): Likewise.
3424         (fma_towardzero_test_data): Likewise.
3425         (fma_downward_test_data): Likewise.
3426         (fma_upward_test_data): Likewise.
3427         (fmax_test_data): Likewise.
3428         (fmin_test_data): Likewise.
3429         (fmod_test_data): Likewise.
3430         (fpclassify_test_data): Likewise.
3431         (frexp_test_data): Likewise.
3432         (gamma_test_data): Likewise.
3433         (hypot_test_data): Likewise.
3434         (ilogb_test_data): Likewise.
3435         (isfinite_test_data): Likewise.
3436         (isgreater_test_data): Likewise.
3437         (isgreaterequal_test_data): Likewise.
3438         (isinf_test_data): Likewise.
3439         (isless_test_data): Likewise.
3440         (islessequal_test_data): Likewise.
3441         (islessgreater_test_data): Likewise.
3442         (isnan_test_data): Likewise.
3443         (isnormal_test_data): Likewise.
3444         (issignaling_test_data): Likewise.
3445         (isunordered_test_data): Likewise.
3446         (j0_test_data): Likewise.
3447         (j1_test_data): Likewise.
3448         (jn_test_data): Likewise.
3449         (ldexp_test_data): Likewise.
3450         (lgamma_test_data): Likewise.
3451         (lrint_test_data): Likewise.
3452         (lrint_tonearest_test_data): Likewise.
3453         (lrint_towardzero_test_data): Likewise.
3454         (lrint_downward_test_data): Likewise.
3455         (lrint_upward_test_data): Likewise.
3456         (llrint_test_data): Likewise.
3457         (llrint_tonearest_test_data): Likewise.
3458         (llrint_towardzero_test_data): Likewise.
3459         (llrint_downward_test_data): Likewise.
3460         (llrint_upward_test_data): Likewise.
3461         (log_test_data): Likewise.
3462         (log10_test_data): Likewise.
3463         (log1p_test_data): Likewise.
3464         (log2_test_data): Likewise.
3465         (logb_test_data): Likewise.
3466         (logb_downward_test_data): Likewise.
3467         (lround_test_data): Likewise.
3468         (llround_test_data): Likewise.
3469         (modf_test_data): Likewise.
3470         (nearbyint_test_data): Likewise.
3471         (nextafter_test_data): Likewise.
3472         (nexttoward_test_data): Likewise.
3473         (pow_test_data): Likewise.
3474         (pow_tonearest_test_data): Likewise.
3475         (pow_towardzero_test_data): Likewise.
3476         (pow_downward_test_data): Likewise.
3477         (pow_upward_test_data): Likewise.
3478         (remainder_test_data): Likewise.
3479         (remainder_tonearest_test_data): Likewise.
3480         (remainder_towardzero_test_data): Likewise.
3481         (remainder_downward_test_data): Likewise.
3482         (remainder_upward_test_data): Likewise.
3483         (remquo_test_data): Likewise.
3484         (rint_test_data): Likewise.
3485         (rint_tonearest_test_data): Likewise.
3486         (rint_towardzero_test_data): Likewise.
3487         (rint_downward_test_data): Likewise.
3488         (rint_upward_test_data): Likewise.
3489         (round_test_data): Likewise.
3490         (scalb_test_data): Likewise.
3491         (scalbn_test_data): Likewise.
3492         (scalbln_test_data): Likewise.
3493         (signbit_test_data): Likewise.
3494         (sin_test_data): Likewise.
3495         (sin_tonearest_test_data): Likewise.
3496         (sin_towardzero_test_data): Likewise.
3497         (sin_downward_test_data): Likewise.
3498         (sin_upward_test_data): Likewise.
3499         (sincos_test_data): Likewise.
3500         (sinh_test_data): Likewise.
3501         (sinh_tonearest_test_data): Likewise.
3502         (sinh_towardzero_test_data): Likewise.
3503         (sinh_downward_test_data): Likewise.
3504         (sinh_upward_test_data): Likewise.
3505         (sqrt_test_data): Likewise.
3506         (tan_test_data): Likewise.
3507         (tan_tonearest_test_data): Likewise.
3508         (tan_towardzero_test_data): Likewise.
3509         (tan_downward_test_data): Likewise.
3510         (tan_upward_test_data): Likewise.
3511         (tanh_test_data): Likewise.
3512         (tgamma_test_data): Likewise.
3513         (trunc_test_data): Likewise.
3514         (y0_test_data): Likewise.
3515         (y1_test_data): Likewise.
3516         (yn_test_data): Likewise.
3517         (significand_test_data): Likewise.
3519         * math/gen-libm-test.pl (@functions): Remove variable.
3520         (generate_testfile): Don't handle START and END lines.
3521         * math/libm-test.inc (START): New macro.
3522         (END): Likewise.
3523         (END_COMPLEX): Likewise.
3524         (acos_test): Use END macro without arguments.
3525         (acos_test_tonearest): Likewise.
3526         (acos_test_towardzero): Likewise.
3527         (acos_test_downward): Likewise.
3528         (acos_test_upward): Likewise.
3529         (acosh_test): Likewise.
3530         (asin_test): Likewise.
3531         (asin_test_tonearest): Likewise.
3532         (asin_test_towardzero): Likewise.
3533         (asin_test_downward): Likewise.
3534         (asin_test_upward): Likewise.
3535         (asinh_test): Likewise.
3536         (atan_test): Likewise.
3537         (atanh_test): Likewise.
3538         (atan2_test): Likewise.
3539         (cabs_test): Likewise.
3540         (cacos_test): Use END_COMPLEX macro without arguments.
3541         (cacosh_test): Likewise.
3542         (carg_test): Use END macro without arguments.
3543         (casin_test): Use END_COMPLEX macro without arguments.
3544         (casinh_test): Likewise.
3545         (catan_test): Likewise.
3546         (catanh_test): Likewise.
3547         (cbrt_test): Use END macro without arguments.
3548         (ccos_test): Use END_COMPLEX macro without arguments.
3549         (ccosh_test): Likewise.
3550         (ceil_test): Use END macro without arguments.
3551         (cexp_test): Use END_COMPLEX macro without arguments.
3552         (cimag_test): Use END macro without arguments.
3553         (clog_test): Use END_COMPLEX macro without arguments.
3554         (clog10_test): Likewise.
3555         (conj_test): Likewise.
3556         (copysign_test): Use END macro without arguments.
3557         (cos_test): Likewise.
3558         (cos_test_tonearest): Likewise.
3559         (cos_test_towardzero): Likewise.
3560         (cos_test_downward): Likewise.
3561         (cos_test_upward): Likewise.
3562         (cosh_test): Likewise.
3563         (cosh_test_tonearest): Likewise.
3564         (cosh_test_towardzero): Likewise.
3565         (cosh_test_downward): Likewise.
3566         (cosh_test_upward): Likewise.
3567         (cpow_test): Use END_COMPLEX macro without arguments.
3568         (cproj_test): Likewise.
3569         (creal_test): Use END macro without arguments.
3570         (csin_test): Use END_COMPLEX macro without arguments.
3571         (csinh_test): Likewise.
3572         (csqrt_test): Likewise.
3573         (ctan_test): Likewise.
3574         (ctan_test_tonearest): Likewise.
3575         (ctan_test_towardzero): Likewise.
3576         (ctan_test_downward): Likewise.
3577         (ctan_test_upward): Likewise.
3578         (ctanh_test): Likewise.
3579         (ctanh_test_tonearest): Likewise.
3580         (ctanh_test_towardzero): Likewise.
3581         (ctanh_test_downward): Likewise.
3582         (ctanh_test_upward): Likewise.
3583         (erf_test): Use END macro without arguments.
3584         (erfc_test): Likewise.
3585         (exp_test): Likewise.
3586         (exp_test_tonearest): Likewise.
3587         (exp_test_towardzero): Likewise.
3588         (exp_test_downward): Likewise.
3589         (exp_test_upward): Likewise.
3590         (exp10_test): Likewise.
3591         (exp2_test): Likewise.
3592         (expm1_test): Likewise.
3593         (fabs_test): Likewise.
3594         (fdim_test): Likewise.
3595         (finite_test): Likewise.
3596         (floor_test): Likewise.
3597         (fma_test): Likewise.
3598         (fma_test_towardzero): Likewise.
3599         (fma_test_downward): Likewise.
3600         (fma_test_upward): Likewise.
3601         (fmax_test): Likewise.
3602         (fmin_test): Likewise.
3603         (fmod_test): Likewise.
3604         (fpclassify_test): Likewise.
3605         (frexp_test): Likewise.
3606         (gamma_test): Likewise.
3607         (hypot_test): Likewise.
3608         (ilogb_test): Likewise.
3609         (isfinite_test): Likewise.
3610         (isgreater_test): Likewise.
3611         (isgreaterequal_test): Likewise.
3612         (isinf_test): Likewise.
3613         (isless_test): Likewise.
3614         (islessequal_test): Likewise.
3615         (islessgreater_test): Likewise.
3616         (isnan_test): Likewise.
3617         (isnormal_test): Likewise.
3618         (issignaling_test): Likewise.
3619         (isunordered_test): Likewise.
3620         (j0_test): Likewise.
3621         (j1_test): Likewise.
3622         (jn_test): Likewise.
3623         (ldexp_test): Likewise.
3624         (lgamma_test): Likewise.
3625         (lrint_test): Likewise.
3626         (lrint_test_tonearest): Likewise.
3627         (lrint_test_towardzero): Likewise.
3628         (lrint_test_downward): Likewise.
3629         (lrint_test_upward): Likewise.
3630         (llrint_test): Likewise.
3631         (llrint_test_tonearest): Likewise.
3632         (llrint_test_towardzero): Likewise.
3633         (llrint_test_downward): Likewise.
3634         (llrint_test_upward): Likewise.
3635         (log_test): Likewise.
3636         (log10_test): Likewise.
3637         (log1p_test): Likewise.
3638         (log2_test): Likewise.
3639         (logb_test): Likewise.
3640         (logb_test_downward): Likewise.
3641         (lround_test): Likewise.
3642         (llround_test): Likewise.
3643         (modf_test): Likewise.
3644         (nearbyint_test): Likewise.
3645         (nextafter_test): Likewise.
3646         (nexttoward_test): Likewise.
3647         (pow_test): Likewise.
3648         (pow_test_tonearest): Likewise.
3649         (pow_test_towardzero): Likewise.
3650         (pow_test_downward): Likewise.
3651         (pow_test_upward): Likewise.
3652         (remainder_test): Likewise.
3653         (remainder_test_tonearest): Likewise.
3654         (remainder_test_towardzero): Likewise.
3655         (remainder_test_downward): Likewise.
3656         (remainder_test_upward): Likewise.
3657         (remquo_test): Likewise.
3658         (rint_test): Likewise.
3659         (rint_test_tonearest): Likewise.
3660         (rint_test_towardzero): Likewise.
3661         (rint_test_downward): Likewise.
3662         (rint_test_upward): Likewise.
3663         (round_test): Likewise.
3664         (scalb_test): Likewise.
3665         (scalbn_test): Likewise.
3666         (scalbln_test): Likewise.
3667         (signbit_test): Likewise.
3668         (sin_test): Likewise.
3669         (sin_test_tonearest): Likewise.
3670         (sin_test_towardzero): Likewise.
3671         (sin_test_downward): Likewise.
3672         (sin_test_upward): Likewise.
3673         (sincos_test): Likewise.
3674         (sinh_test): Likewise.
3675         (sinh_test_tonearest): Likewise.
3676         (sinh_test_towardzero): Likewise.
3677         (sinh_test_downward): Likewise.
3678         (sinh_test_upward): Likewise.
3679         (sqrt_test): Likewise.
3680         (tan_test): Likewise.
3681         (tan_test_tonearest): Likewise.
3682         (tan_test_towardzero): Likewise.
3683         (tan_test_downward): Likewise.
3684         (tan_test_upward): Likewise.
3685         (tanh_test): Likewise.
3686         (tgamma_test): Likewise.
3687         (trunc_test): Likewise.
3688         (y0_test): Likewise.
3689         (y1_test): Likewise.
3690         (yn_test): Likewise.
3691         (significand_test): Likewise.
3693 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3695         [BZ #15381]
3696         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3698 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3700         [BZ #14894]
3701         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3702         __ppc_mdoio and __ppc_mdoom.
3703         * manual/platform.texi: Document new functions __ppc_yield,
3704         __ppc_mdoio and __ppc_mdoom.
3706 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3708         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3709         (main): Mention "tls" pseudo-hwcap is legacy.
3710         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3712 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3714         * math/gen-libm-test.pl (parse_args): Output only string of
3715         arguments as text for test name, not full call or descriptions of
3716         tests for extra outputs.
3717         (generate_testfile): Do not pass function name to parse_args.
3718         Generate this_func variable from START.
3719         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3720         field to arg_str.
3721         (struct test_ff_f_data): Likewise.
3722         (test_ff_f_data_nexttoward): Likewise.
3723         (struct test_fi_f_data): Likewise.
3724         (struct test_fl_f_data): Likewise.
3725         (struct test_if_f_data): Likewise.
3726         (struct test_fff_f_data): Likewise.
3727         (struct test_c_f_data): Likewise.
3728         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3729         (struct test_fF_f1_data): Likewise.
3730         (struct test_ffI_f1_data): Likewise.
3731         (struct test_c_c_data): Rename test_name field to arg_str.
3732         (struct test_cc_c_data): Likewise.
3733         (struct test_f_i_data): Likewise.
3734         (struct test_ff_i_data): Likewise.
3735         (struct test_f_l_data): Likewise.
3736         (struct test_f_L_data): Likewise.
3737         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3738         and extra2_name.
3739         (COMMON_TEST_SETUP): New macro.
3740         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3741         (COMMON_TEST_CLEANUP): Likewise.
3742         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3743         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3744         macros.
3745         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3746         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3747         macros.
3748         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3749         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3750         cleanup macros.
3751         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3752         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3753         macros.
3754         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3755         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3756         macros.
3757         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3758         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3759         cleanup macros.
3760         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3761         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3762         cleanup macros.
3763         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3764         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3765         cleanup macros.
3766         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3767         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3768         macros.
3769         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3770         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3771         macros.
3772         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3773         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3774         macros.
3775         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3776         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3777         cleanup macros.
3778         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3779         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3780         cleanup macros.
3781         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3782         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3783         macros.
3784         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3785         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3786         cleanup macros.
3787         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3788         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3789         macros.
3790         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3791         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3792         macros.
3793         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3794         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3795         cleanup macros.
3796         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3798 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3800         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3801         to _sifields.sigfault.
3802         (si_addr_lsb): Define new macro.
3803         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3805         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3807 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3809         [BZ #15441]
3810         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3811         returns -1.
3812         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3813         null return -1.
3814         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3815         loading the domain.
3817 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3819         * math/gen-libm-test.pl (parse_args): Do not include expected
3820         result in test name.
3821         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3822         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3823         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3824         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3825         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3830         * benchtests/Makefile: Sort function entries.
3832         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3833         tanh, asinh, acosh, atanh.
3834         * benchtests/acos-inputs: New file.
3835         * benchtests/acosh-inputs: New file.
3836         * benchtests/asin-inputs: New file.
3837         * benchtests/asinh-inputs: New file.
3838         * benchtests/atanh-inputs: New file.
3839         * benchtests/cosh-inputs: New file.
3840         * benchtests/log-inputs: New file.
3841         * benchtests/sinh-inputs: New file.
3842         * benchtests/tanh-inputs: New file.
3844 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
3846         [BZ #15339]
3847         * posix/tst-getaddrinfo4.c: New test.
3848         * posix/Makefile (tests): Add it.
3850 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3852         [BZ #15339]
3853         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3854         when no services were used.
3855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3856         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3858 2013-05-21  Andreas Schwab  <schwab@suse.de>
3860         [BZ #15014]
3861         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3862         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3863         successful.
3864         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3865         redundant variable declarations and reallocation of buffer when
3866         parsing as IPv6 address.  Always set NSS status when called from
3867         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
3868         buffer too small.  Correct computation of needed size.
3869         * nss/Makefile (tests): Add test-digits-dots.
3870         * nss/test-digits-dots.c: New test.
3872 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3874         * benchtests/Makefile: Remove instructions for adding
3875         benchmark tests.
3876         * benchtests/README: New file to explain how to execute and
3877         enhance the benchmark tests.
3879 2013-05-21  Andreas Schwab  <schwab@suse.de>
3881         [BZ #15493]
3882         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3883         * setjmp/tst-sigsetjmp.c: New test.
3885 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3887         * sysdeps/x86_64/memset.S (memset): New implementation.
3888         (__bzero): Likewise.
3889         (__memset_tail): New function.
3891 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3893         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3894         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3895         __memcpy_sse2_unaligned ifunc selection.
3896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3897         Add memcpy-sse2-unaligned.S.
3898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3899         Add: __memcpy_sse2_unaligned.
3901 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3903         [BZ #15490]
3904         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3905         math_force_eval before restoring floating-point envrionment.
3906         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3908         Likewise.
3909         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3910         <math_private.h>.
3911         (__nearbyintl): Use math_force_eval before restoring
3912         floating-point environment.
3913         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3915         * math/gen-libm-test.pl (special_functions): Remove.
3916         (parse_args): Don't handle TEST_extra.  Handle functions with no
3917         return value.
3918         * math/libm-test.inc (struct test_sincos_data): Replace with
3919         struct test_fFF_11_data.
3920         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3921         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3922         (sincos_test_data): Change element type to struct
3923         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3924         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3925         RUN_TEST_LOOP_sincos.
3926         * math/README.libm-test: Don't mention special handling of
3927         individual functions.
3928         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3929         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3930         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3931         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3932         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3935         * math/gen-libm-test.pl (get_variable): Remove function.
3936         (parse_args): Don't show pointer parameters to call in test
3937         names.  Use "extra output N" in test names for extra outputs
3938         rather than naming variables.
3940 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3942         [BZ #15488]
3943         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3944         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3945         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3946         double tests.
3947         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3948         disable.
3949         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3950         check_long_double.
3952         * math/gen-libm-test.pl (@tests): Remove variable.
3953         ($count): Likewise.
3954         (new_test): Remove function.
3955         (show_exceptions): New function.
3956         (special_functions): Use show_exceptions instead of new_test.
3957         (parse_args): Likewise.
3958         (generate_testfile): Pass only function name in generated call to
3959         print_max_error or print_complex_max_error.
3960         (get_ulps): Do not handle complex tests specially.
3961         (output_test): Rename to ...
3962         (get_all_ulps_for_test): ... this.  Return a string rather than
3963         printing to a file.  Require ulps to be present.
3964         (output_ulps): Generate arrays rather than #defines.
3965         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3966         (struct ulp_data): New type.
3967         (BUILD_COMPLEX_ULP): Remove macro.
3968         (compare_ulp_data): New function.
3969         (find_ulps): Likewise.
3970         (find_test_ulps): Likewise.
3971         (find_function_ulps): Likewise.
3972         (find_complex_function_ulps): Likewise.
3973         (print_max_error): Determine allowed ulps using
3974         find_function_ulps.
3975         (print_complex_max_error): Determine allowed ulps using
3976         find_complex_function_ulps.
3977         (check_float_internal): Determine max ulps using find_test_ulps.
3978         (check_float): Do not take max_ulp parameter.  Update call to
3979         check_float_internal.
3980         (check_complex): Likewise.
3981         (check_int): Do not take max_ulp parameter.
3982         (check_long): Likewise.
3983         (check_bool): Likewise.
3984         (check_longlong): Likewise.
3985         (struct test_f_f_data): Remove max_ulp field.
3986         (struct test_ff_f_data): Likewise.
3987         (struct test_ff_f_data_nexttoward): Likewise.
3988         (struct test_fi_f_data): Likewise.
3989         (struct test_fl_f_data): Likewise.
3990         (struct test_if_f_data): Likewise.
3991         (struct test_fff_f_data): Likewise.
3992         (struct test_c_f_data): Likewise.
3993         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3994         (struct test_fF_f1_data): Likewise.
3995         (struct test_ffI_f1_data): Likewise.
3996         (struct test_c_c_data): Remove max_ulp field.
3997         (struct test_cc_c_data): Likewise.
3998         (struct test_f_i_data): Likewise.
3999         (struct test_ff_i_data): Likewise.
4000         (struct test_f_l_data): Likewise.
4001         (struct test_f_L_data): Likewise.
4002         (struct test_sincos_data): Likewise.
4003         (RUN_TEST_f_f): Do not handle ulps.
4004         (RUN_TEST_LOOP_f_f): Likewise.
4005         (RUN_TEST_2_f): Likewise.
4006         (RUN_TEST_LOOP_2_f): Likewise.
4007         (RUN_TEST_fff_f): Likewise.
4008         (RUN_TEST_LOOP_fff_f): Likewise.
4009         (RUN_TEST_c_f): Likewise.
4010         (RUN_TEST_LOOP_c_f): Likewise.
4011         (RUN_TEST_f_f1): Likewise.
4012         (RUN_TEST_LOOP_f_f1): Likewise.
4013         (RUN_TEST_fF_f1): Likewise.
4014         (RUN_TEST_LOOP_fF_f1): Likewise.
4015         (RUN_TEST_fI_f1): Likewise.
4016         (RUN_TEST_LOOP_fI_f1): Likewise.
4017         (RUN_TEST_ffI_f1): Likewise.
4018         (RUN_TEST_LOOP_ffI_f1): Likewise.
4019         (RUN_TEST_c_c): Likewise.
4020         (RUN_TEST_LOOP_c_c): Likewise.
4021         (RUN_TEST_cc_c): Likewise.
4022         (RUN_TEST_LOOP_cc_c): Likewise.
4023         (RUN_TEST_f_i): Likewise.
4024         (RUN_TEST_LOOP_f_i): Likewise.
4025         (RUN_TEST_f_i_tg): Likewise.
4026         (RUN_TEST_LOOP_f_i_tg): Likewise.
4027         (RUN_TEST_ff_i_tg): Likewise.
4028         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4029         (RUN_TEST_f_b): Likewise.
4030         (RUN_TEST_LOOP_f_b): Likewise.
4031         (RUN_TEST_f_b_tg): Likewise.
4032         (RUN_TEST_LOOP_f_b_tg): Likewise.
4033         (RUN_TEST_f_l): Likewise.
4034         (RUN_TEST_LOOP_f_l): Likewise.
4035         (RUN_TEST_f_L): Likewise.
4036         (RUN_TEST_LOOP_f_L): Likewise.
4037         (RUN_TEST_sincos): Likewise.
4038         (RUN_TEST_LOOP_sincos): Likewise.
4040 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4042         [BZ #15480]
4043         [BZ #15485]
4044         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4045         main case of finite arguments, set rounding mode to FE_TONEAREST
4046         and discard exceptions.
4047         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4048         exceptions.
4049         (remainder_tonearest_test_data): New variable.
4050         (remainder_test_tonearest): New function.
4051         (remainder_towardzero_test_data): New variable.
4052         (remainder_test_towardzero): New function.
4053         (remainder_downward_test_data): New variable.
4054         (remainder_test_downward): New function.
4055         (remainder_upward_test_data): New variable.
4056         (remainder_test_upward): New function.
4057         (main): Call the new test functions.
4059         * math/libm-test.inc (struct test_f_f1_data): Remove field
4060         extra_init.
4061         (struct test_fF_f1_data): Likewise.
4062         (struct test_ffI_f1_data): Likewise.
4063         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4064         based on value of EXTRA_EXPECTED.
4065         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4066         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4067         EXTRA_VAR based on value of EXTRA_EXPECTED.
4068         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4069         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4070         EXTRA_VAR based on value of EXTRA_EXPECTED.
4071         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4072         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4073         EXTRA_VAR based on value of EXTRA_EXPECTED.
4074         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4075         * math/gen-libm-test.pl (parse_args): Don't output initializers
4076         for extra output values.
4078         * math/libm-test.inc (check_int): Expect result to be exactly
4079         equal to expected value and do not handle ulps.
4080         (check_long): Likewise.
4081         (check_longlong): Likewise.
4083         * math/libm-test.inc (ceil_test_data): Test for "inexact"
4084         exceptions.
4085         (cimag_test_data): Likewise.
4086         (conj_test_data): Likewise.
4087         (copysign_test_data): Likewise.
4088         (cproj_test_data): Likewise.
4089         (creal_test_data): Likewise.
4090         (fabs_test_data): Likewise.
4091         (fdim_test_data): Likewise.
4092         (finite_test_data): Likewise.
4093         (floor_test_data): Likewise.
4094         (fmax_test_data): Likewise.
4095         (fmin_test_data): Likewise.
4096         (fmod_test_data): Likewise.
4097         (fpclassify_test_data): Likewise.
4098         (frexp_test_data): Likewise.
4099         (ilogb_test_data): Likewise.
4100         (isfinite_test_data): Likewise.
4101         (isgreater_test_data): Likewise.
4102         (isgreaterequal_test_data): Likewise.
4103         (isinf_test_data): Likewise.
4104         (isless_test_data): Likewise.
4105         (islessequal_test_data): Likewise.
4106         (islessgreater_test_data): Likewise.
4107         (isnan_test_data): Likewise.
4108         (isnormal_test_data): Likewise.
4109         (issignaling_test_data): Likewise.
4110         (isunordered_test_data): Likewise.
4111         (ldexp_test_data): Likewise.
4112         (lrint_test_data): Likewise.
4113         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4114         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4115         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4116         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4117         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4118         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4119         test input.
4120         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4121         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4122         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4123         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4124         that test input.
4125         (lrint_downward_test_data): Test for "inexact" exceptions.
4126         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4127         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4128         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4129         test input.
4130         (lrint_upward_test_data): Test for "inexact" exceptions.
4131         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4132         test input.
4133         (llrint_test_data): Test for "inexact" exceptions.
4134         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4135         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4136         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4137         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4138         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4139         (llrint_downward_test_data): Test for "inexact" exceptions.
4140         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4141         (llrint_upward_test_data): Test for "inexact" exceptions.
4142         (logb_test_data): Likewise.
4143         (logb_downward_test_data): Likewise.
4144         (nextafter_test_data): Likewise.
4145         (nexttoward_test_data): Likewise.
4146         (remainder_test_data): Likewise.
4147         (remquo_test_data): Likewise.
4148         (scalbn_test_data): Likewise.
4149         (scalbln_test_data): Likewise.
4150         (signbit_test_data): Likewise.
4151         (sqrt_test_data): Likewise.
4152         (significand_test_data): Likewise.
4154 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4156         [BZ #15424]
4157         * benchtests/bench-modf.c (struct args): Mark arg0 as
4158         volatile.
4159         * scripts/bench.pl: Mark members of struct args as volatile.
4161 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4163         [BZ # 15497]
4164         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4165         negative infinity on POWER6 or lower.
4166         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4168 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4170         [BZ #15442]
4171         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4172         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4173         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4174         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4175         (_FP_SETQNAN): New macro.
4176         (_FP_SETQNAN_SEMIRAW): Likewise.
4177         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4178         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4179         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4180         (FP_EXTEND): Use _FP_FRAC_SNANP.
4181         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4182         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4183         into account.
4184         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4185         New macro.
4186         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4187         Likewise.
4189 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4191         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4192         with DIVIDE_BY_ZERO_EXCEPTION.
4193         (gamma_test_data): Likewise.
4194         (lgamma_test_data): Likewise.
4195         (log_test_data): Likewise.
4196         (log10_test_data): Likewise.
4197         (log2_test_data): Likewise.
4198         (tgamma_test_data): Likewise.
4200         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4201         (acos_test_tonearest): Likewise.
4202         (acos_test_towardzero): Likewise.
4203         (acos_test_downward): Likewise.
4204         (acos_test_upward): Likewise.
4205         (acosh_test): Likewise.
4206         (asin_test): Likewise.
4207         (asin_test_tonearest): Likewise.
4208         (asin_test_towardzero): Likewise.
4209         (asin_test_downward): Likewise.
4210         (asin_test_upward): Likewise.
4211         (asinh_test): Likewise.
4212         (atan_test): Likewise.
4213         (atanh_test): Likewise.
4214         (atan2_test): Likewise.
4215         (cabs_test): Likewise.
4216         (cacos_test): Likewise.
4217         (cacosh_test): Likewise.
4218         (casin_test): Likewise.
4219         (casinh_test): Likewise.
4220         (catan_test): Likewise.
4221         (catanh_test): Likewise.
4222         (cbrt_test): Likewise.
4223         (ccos_test): Likewise.
4224         (ccosh_test): Likewise.
4225         (cexp_test): Likewise.
4226         (clog_test): Likewise.
4227         (clog10_test): Likewise.
4228         (cos_test): Likewise.
4229         (cos_test_tonearest): Likewise.
4230         (cos_test_towardzero): Likewise.
4231         (cos_test_downward): Likewise.
4232         (cos_test_upward): Likewise.
4233         (cosh_test): Likewise.
4234         (cosh_test_tonearest): Likewise.
4235         (cosh_test_towardzero): Likewise.
4236         (cosh_test_downward): Likewise.
4237         (cosh_test_upward): Likewise.
4238         (cpow_test): Likewise.
4239         (csin_test): Likewise.
4240         (csinh_test): Likewise.
4241         (csqrt_test): Likewise.
4242         (ctan_test): Likewise.
4243         (ctan_test_tonearest): Likewise.
4244         (ctan_test_towardzero): Likewise.
4245         (ctan_test_downward): Likewise.
4246         (ctan_test_upward): Likewise.
4247         (ctanh_test): Likewise.
4248         (ctanh_test_tonearest): Likewise.
4249         (ctanh_test_towardzero): Likewise.
4250         (ctanh_test_downward): Likewise.
4251         (ctanh_test_upward): Likewise.
4252         (erf_test): Likewise.
4253         (erfc_test): Likewise.
4254         (exp_test): Likewise.
4255         (exp_test_tonearest): Likewise.
4256         (exp_test_towardzero): Likewise.
4257         (exp_test_downward): Likewise.
4258         (exp_test_upward): Likewise.
4259         (exp10_test): Likewise.
4260         (exp2_test): Likewise.
4261         (expm1_test): Likewise.
4262         (fmod_test): Likewise.
4263         (gamma_test): Likewise.
4264         (hypot_test): Likewise.
4265         (j0_test): Likewise.
4266         (j1_test): Likewise.
4267         (jn_test): Likewise.
4268         (lgamma_test): Likewise.
4269         (log_test): Likewise.
4270         (log10_test): Likewise.
4271         (log1p_test): Likewise.
4272         (log2_test): Likewise.
4273         (logb_test_downward): Likewise.
4274         (pow_test): Likewise.
4275         (pow_test_tonearest): Likewise.
4276         (pow_test_towardzero): Likewise.
4277         (pow_test_downward): Likewise.
4278         (pow_test_upward): Likewise.
4279         (remainder_test): Likewise.
4280         (remquo_test): Likewise.
4281         (sin_test): Likewise.
4282         (sin_test_tonearest): Likewise.
4283         (sin_test_towardzero): Likewise.
4284         (sin_test_downward): Likewise.
4285         (sin_test_upward): Likewise.
4286         (sincos_test): Likewise.
4287         (sinh_test): Likewise.
4288         (sinh_test_tonearest): Likewise.
4289         (sinh_test_towardzero): Likewise.
4290         (sinh_test_downward): Likewise.
4291         (sinh_test_upward): Likewise.
4292         (sqrt_test): Likewise.
4293         (tan_test): Likewise.
4294         (tan_test_tonearest): Likewise.
4295         (tan_test_towardzero): Likewise.
4296         (tan_test_downward): Likewise.
4297         (tan_test_upward): Likewise.
4298         (tanh_test): Likewise.
4299         (tgamma_test): Likewise.
4300         (y0_test): Likewise.
4301         (y1_test): Likewise.
4302         (yn_test): Likewise.
4304         * math/gen-libm-test.pl (adjust_arg): Remove function.
4305         (special_function): Remove argument $in_func.  Only handle
4306         generating output for tables of tests, not inside functions.
4307         (parse_args): Likewise.
4308         (generate_testfile): Remove variable $in_func.  Update call to
4309         parse_args.
4310         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4311         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4312         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4313         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4314         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4315         (MAX_VALUE_INIT): Rename macro to max_value.
4316         (MIN_VALUE_INIT): Rename macro to min_value.
4317         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4318         (plus_zero): Remove variable.
4319         (minus_zero): Likewise.
4320         (plus_infty): Likewise.
4321         (minus_infty): Likewise.
4322         (qnan_value): Likewise.
4323         (max_value): Likewise.
4324         (min_value): Likewise.
4325         (min_subnorm_value): Likewise.
4327 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4329         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4330         uint64_t or uint32_t usage.
4331         * crypt/sha256-block.c: Likewise.
4332         * crypt/sha256-crypt.c: Likewise.
4333         * crypt/sha256.c: Likewise.
4334         * crypt/sha512-block.c: Likewise.
4335         * crypt/sha512-crypt.c: Likewise.
4336         * crypt/sha512.c: Likewise.
4337         * debug/backtrace-tst.c: Likewise.
4338         * debug/pcprofiledump.c: Likewise.
4339         * elf/cache.c: Likewise.
4340         * elf/dl-cache.c: Likewise.
4341         * elf/dl-misc.c: Likewise.
4342         * elf/dl-profile.c: Likewise.
4343         * elf/dl-support.c: Likewise.
4344         * elf/ldconfig.c: Likewise.
4345         * elf/sprof.c: Likewise.
4346         * iconv/dummy-repertoire.c: Likewise.
4347         * iconv/iconv_charmap.c: Likewise.
4348         * iconv/skeleton.c: Likewise.
4349         * iconvdata/8bit-generic.c: Likewise.
4350         * iconvdata/cp737.h: Likewise.
4351         * iconvdata/cp775.h: Likewise.
4352         * iconvdata/ibm1008.h: Likewise.
4353         * iconvdata/ibm1025.h: Likewise.
4354         * iconvdata/ibm1046.h: Likewise.
4355         * iconvdata/ibm1097.h: Likewise.
4356         * iconvdata/ibm1112.h: Likewise.
4357         * iconvdata/ibm1122.h: Likewise.
4358         * iconvdata/ibm1123.h: Likewise.
4359         * iconvdata/ibm1124.h: Likewise.
4360         * iconvdata/ibm1129.h: Likewise.
4361         * iconvdata/ibm1130.h: Likewise.
4362         * iconvdata/ibm1132.h: Likewise.
4363         * iconvdata/ibm1133.h: Likewise.
4364         * iconvdata/ibm1137.h: Likewise.
4365         * iconvdata/ibm1140.h: Likewise.
4366         * iconvdata/ibm1141.h: Likewise.
4367         * iconvdata/ibm1142.h: Likewise.
4368         * iconvdata/ibm1143.h: Likewise.
4369         * iconvdata/ibm1144.h: Likewise.
4370         * iconvdata/ibm1145.h: Likewise.
4371         * iconvdata/ibm1146.h: Likewise.
4372         * iconvdata/ibm1147.h: Likewise.
4373         * iconvdata/ibm1148.h: Likewise.
4374         * iconvdata/ibm1149.h: Likewise.
4375         * iconvdata/ibm1153.h: Likewise.
4376         * iconvdata/ibm1154.h: Likewise.
4377         * iconvdata/ibm1155.h: Likewise.
4378         * iconvdata/ibm1156.h: Likewise.
4379         * iconvdata/ibm1157.h: Likewise.
4380         * iconvdata/ibm1158.h: Likewise.
4381         * iconvdata/ibm1160.h: Likewise.
4382         * iconvdata/ibm1161.h: Likewise.
4383         * iconvdata/ibm1162.h: Likewise.
4384         * iconvdata/ibm1163.h: Likewise.
4385         * iconvdata/ibm1164.h: Likewise.
4386         * iconvdata/ibm1166.h: Likewise.
4387         * iconvdata/ibm1167.h: Likewise.
4388         * iconvdata/ibm12712.h: Likewise.
4389         * iconvdata/ibm1390.h: Likewise.
4390         * iconvdata/ibm1399.h: Likewise.
4391         * iconvdata/ibm16804.h: Likewise.
4392         * iconvdata/ibm4517.h: Likewise.
4393         * iconvdata/ibm4899.h: Likewise.
4394         * iconvdata/ibm4909.h: Likewise.
4395         * iconvdata/ibm4971.h: Likewise.
4396         * iconvdata/ibm5347.h: Likewise.
4397         * iconvdata/ibm803.h: Likewise.
4398         * iconvdata/ibm856.h: Likewise.
4399         * iconvdata/ibm901.h: Likewise.
4400         * iconvdata/ibm902.h: Likewise.
4401         * iconvdata/ibm9030.h: Likewise.
4402         * iconvdata/ibm9066.h: Likewise.
4403         * iconvdata/ibm921.h: Likewise.
4404         * iconvdata/ibm922.h: Likewise.
4405         * iconvdata/ibm9448.h: Likewise.
4406         * iconvdata/isiri-3342.h: Likewise.
4407         * iconvdata/jis0201.h: Likewise.
4408         * include/link.h: Likewise.
4409         * include/netdb.h: Likewise.
4410         * inet/check_native.c: Likewise.
4411         * inet/check_pf.c: Likewise.
4412         * inet/getipv4sourcefilter.c: Likewise.
4413         * inet/getnameinfo.c: Likewise.
4414         * inet/getsourcefilter.c: Likewise.
4415         * inet/htonl.c: Likewise.
4416         * inet/setipv4sourcefilter.c: Likewise.
4417         * inet/setsourcefilter.c: Likewise.
4418         * inet/test-inet6_opt.c: Likewise.
4419         * inet/tst-network.c: Likewise.
4420         * locale/C-collate.c: Likewise.
4421         * locale/C-ctype.c: Likewise.
4422         * locale/C-time.c: Likewise.
4423         * locale/C-translit.h: Likewise.
4424         * locale/loadarchive.c: Likewise.
4425         * locale/programs/3level.h: Likewise.
4426         * locale/programs/charmap.c: Likewise.
4427         * locale/programs/charmap.h: Likewise.
4428         * locale/programs/ld-address.c: Likewise.
4429         * locale/programs/ld-collate.c: Likewise.
4430         * locale/programs/ld-ctype.c: Likewise.
4431         * locale/programs/ld-identification.c: Likewise.
4432         * locale/programs/ld-measurement.c: Likewise.
4433         * locale/programs/ld-messages.c: Likewise.
4434         * locale/programs/ld-monetary.c: Likewise.
4435         * locale/programs/ld-name.c: Likewise.
4436         * locale/programs/ld-numeric.c: Likewise.
4437         * locale/programs/ld-paper.c: Likewise.
4438         * locale/programs/ld-telephone.c: Likewise.
4439         * locale/programs/ld-time.c: Likewise.
4440         * locale/programs/linereader.c: Likewise.
4441         * locale/programs/locale.c: Likewise.
4442         * locale/programs/locarchive.c: Likewise.
4443         * locale/programs/locfile.h: Likewise.
4444         * locale/programs/repertoire.c: Likewise.
4445         * locale/programs/simple-hash.c: Likewise.
4446         * locale/programs/simple-hash.h: Likewise.
4447         * malloc/memusage.c: Likewise.
4448         * malloc/memusagestat.c: Likewise.
4449         * nis/nis_defaults.c: Likewise.
4450         * nis/nis_hash.c: Likewise.
4451         * nis/nis_print.c: Likewise.
4452         * nis/nis_xdr.c: Likewise.
4453         * nscd/connections.c: Likewise.
4454         * nscd/hstcache.c: Likewise.
4455         * nscd/nscd_gethst_r.c: Likewise.
4456         * nscd/nscd_getserv_r.c: Likewise.
4457         * nscd/nscd_helper.c: Likewise.
4458         * nscd/servicescache.c: Likewise.
4459         * nss/makedb.c: Likewise.
4460         * nss/nss_db/db-XXX.c: Likewise.
4461         * nss/nss_db/db-initgroups.c: Likewise.
4462         * nss/nss_db/db-netgrp.c: Likewise.
4463         * nss/nss_files/files-network.c: Likewise.
4464         * nss/nss_files/files-parse.c: Likewise.
4465         * posix/bug-regex5.c: Likewise.
4466         * posix/fnmatch_loop.c: Likewise.
4467         * posix/regcomp.c: Likewise.
4468         * posix/regexec.c: Likewise.
4469         * posix/tst-rfc3484-2.c: Likewise.
4470         * posix/tst-rfc3484-3.c: Likewise.
4471         * posix/tst-rfc3484.c: Likewise.
4472         * resolv/nss_dns/dns-canon.c: Likewise.
4473         * resolv/nss_dns/dns-network.c: Likewise.
4474         * resolv/res_init.c: Likewise.
4475         * resolv/res_mkquery.c: Likewise.
4476         * resolv/tst-aton.c: Likewise.
4477         * stdlib/cxa_atexit.c: Likewise.
4478         * stdlib/cxa_finalize.c: Likewise.
4479         * stdlib/gen-fpioconst.c: Likewise.
4480         * stdlib/strtol_l.c: Likewise.
4481         * string/tst-endian.c: Likewise.
4482         * sunrpc/auth_des.c: Likewise.
4483         * sunrpc/clnt_udp.c: Likewise.
4484         * sunrpc/rtime.c: Likewise.
4485         * sunrpc/svcauth_des.c: Likewise.
4486         * sunrpc/xdr.c: Likewise.
4487         * sunrpc/xdr_intXX_t.c: Likewise.
4488         * sunrpc/xdr_rec.c: Likewise.
4489         * sysdeps/generic/ldconfig.h: Likewise.
4490         * sysdeps/generic/ldsodefs.h: Likewise.
4491         * sysdeps/generic/memusage.h: Likewise.
4492         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4493         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4494         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4495         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4496         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4497         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4498         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4500         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4501         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4502         * sysdeps/posix/getaddrinfo.c: Likewise.
4503         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4504         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4505         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4506         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4507         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4508         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4509         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4510         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4511         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4512         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4513         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4514         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4515         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4516         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4517         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4518         * sysdeps/x86_64/dl-tls.h: Likewise.
4519         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4520         * time/alt_digit.c: Likewise.
4521         * time/era.c: Likewise.
4522         * wcsmbs/tst-c16c32-1.c: Likewise.
4524 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4526         * math/libm-test.inc (struct test_sincos_data): New type.
4527         (RUN_TEST_LOOP_sincos): New macro.
4528         (sincos_test_data): New variable.
4529         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4531 2013-05-16  Richard Henderson  <rth@redhat.com>
4533         * math/atest-exp2.c (LIMB64): New macro.
4534         (CONSTSZ): New macro.
4535         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4536         (hexdig): Move ...
4537         (print_mpn_fp): ... to function scope.
4538         (read_mpn_hex): Remove.
4539         (get_log2): Remove.
4540         (exp2_mpn): Use mp_log2.
4541         (main): Use mp_exp1.
4543 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4545         * math/libm-test.inc: Remove comment about not testing "inexact"
4546         exceptions.
4547         (INEXACT_EXCEPTION): New macro.
4548         (NO_INEXACT_EXCEPTION): Likewise.
4549         (INVALID_EXCEPTION_OK): Update value.
4550         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4551         (OVERFLOW_EXCEPTION_OK): Likewise.
4552         (UNDERFLOW_EXCEPTION_OK): Likewise.
4553         (IGNORE_ZERO_INF_SIGN): Likewise.
4554         (ERRNO_UNCHANGED): Likewise.
4555         (ERRNO_EDOM): Likewise.
4556         (ERRNO_ERANGE): Likewise.
4557         (test_exceptions): Handle testing "inexact" exceptions.
4558         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4559         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4560         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4561         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4562         INEXACT_EXCEPTION.
4563         (rint_towardzero_test_data): Likewise.
4564         (rint_downward_test_data): Likewise.
4565         (rint_upward_test_data): Likewise.
4567         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4568         with OVERFLOW_EXCEPTION.
4569         (exp10_test_data): Likewise.
4570         (exp2_test_data): Likewise.
4571         (expm1_test_data): Likewise.
4572         (lgamma_test_data): Likewise.
4573         (pow_test_data): Likewise.
4574         (tgamma_test_data): Likewise.
4575         (yn_test_data): Remove duplicate test of overflow.
4577         * math/libm-test.inc (struct test_cc_c_data): New type.
4578         (RUN_TEST_LOOP_cc_c): New macro.
4579         (cpow_test_data): New variable.
4580         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4582         * math/libm-test.inc (struct test_f_L_data): New type.
4583         (RUN_TEST_LOOP_f_L): New macro.
4584         (llrint_test_data): New variable.
4585         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4586         (llrint_tonearest_test_data): New variable.
4587         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4588         (llrint_towardzero_test_data): New variable.
4589         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4590         (llrint_downward_test_data): New variable.
4591         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4592         (llrint_upward_test_data): New variable.
4593         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4594         (llround_test_data): New variable.
4595         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4597 2013-05-13  Peter Collingbourne  <pcc@google.com>
4599         * math/atest-exp2.c (get_log2): Remove const attribute.
4601 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4603         * math/libm-test.inc (struct test_f_l_data): New type.
4604         (RUN_TEST_LOOP_f_l): New macro.
4605         (lrint_test_data): New variable.
4606         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4607         (lrint_tonearest_test_data): New variable.
4608         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4609         (lrint_towardzero_test_data): New variable.
4610         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4611         (lrint_downward_test_data): New variable.
4612         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4613         (lrint_upward_test_data): New variable.
4614         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4615         (lround_test_data): New variable.
4616         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4618 2013-05-15  Peter Collingbourne  <pcc@google.com>
4620         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4621         (EXTRACT_WORDS64) Use where appropriate.
4622         (INSERT_WORDS64) Likewise.
4624         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4625         constraints with x constraints.
4626         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4628         * malloc/obstack.c (_obstack_compat): Add initializer.
4630 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4632         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4633         si_trapno and add si_addr_lsb to _sifields.sigfault.
4634         (si_trapno): Remove macro.
4635         (si_addr_lsb): Define new macro.
4636         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4638 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4640         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4641         instead of TEST_f_l.
4642         (llrint_test_tonearest): Likewise.
4643         (llrint_test_towardzero): Likewise.
4644         (llrint_test_downward): Likewise.
4645         (llrint_test_upward): Likewise.
4646         (llround_test): Likewise.
4648         * math/libm-test.inc (struct test_f_i_data): Add comment.
4649         (RUN_TEST_LOOP_f_b): New macro.
4650         (RUN_TEST_LOOP_f_b_tg): Likewise.
4651         (finite_test_data): New variable.
4652         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4653         (isfinite_test_data): New variable.
4654         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4655         (isinf_test_data): New variable.
4656         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4657         (isnan_test_data): New variable.
4658         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4659         (isnormal_test_data): New variable.
4660         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4661         (issignaling_test_data): New variable.
4662         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4663         (signbit_test_data): New variable.
4664         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4666         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4667         with INVALID_EXCEPTION.
4668         (acosh_test_data): Likewise.
4669         (asin_test_data): Likewise.
4670         (atanh_test_data): Likewise.
4671         (fmod_test_data): Likewise.
4672         (log_test_data): Likewise.
4673         (log10_test_data): Likewise.
4674         (log2_test_data): Likewise.
4675         (pow_test_data): Likewise.
4676         (sqrt_test_data): Likewise.
4677         (y0_test_data): Likewise.
4678         (y1_test_data): Likewise.
4679         (yn_test_data): Likewise.
4681         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4682         function contents.
4684         * math/libm-test.inc (struct test_ff_i_data): New type.
4685         (RUN_TEST_LOOP_ff_i_tg): New macro.
4686         (isgreater_test_data): New variable.
4687         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4688         (isgreaterequal_test_data): New variable.
4689         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4690         (isless_test_data): New variable.
4691         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4692         (islessequal_test_data): New variable.
4693         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4694         (islessgreater_test_data): New variable.
4695         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4696         (isunordered_test_data): New variable.
4697         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4699 2013-05-14  David S. Miller  <davem@davemloft.net>
4701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4703 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4705         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4707         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4708         extra_test to int.
4709         (struct test_f_i_data): Change type of max_ulp to int.
4711         * math/libm-test.inc (test_ffI_f1_data): New type.
4712         (RUN_TEST_LOOP_ffI_f1): New macro.
4713         (remquo_test_data): New variable.
4714         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4716         * setjmp/tst-setjmp-fp.c: New file.
4717         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4718         (link-libm): New variable.
4719         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4721         * math/libm-test.inc (struct test_f_i_data): New type.
4722         (RUN_TEST_LOOP_f_i): New macro.
4723         (RUN_TEST_LOOP_f_i_tg): Likewise.
4724         (fpclassify_test_data): New variable.
4725         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4726         (ilogb_test_data): New variable.
4727         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4729         * math/libm-test.inc (scalbln_test): Correct function name in END
4730         call.
4732         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4733         (RUN_TEST_LOOP_fI_f1): New macro.
4734         (frexp_test_data): New variable.
4735         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4737         * math/libm-test.inc (struct test_fF_f1_data): New type.
4738         (RUN_TEST_LOOP_fF_f1): New macro.
4739         (modf_test_data): New variable.
4740         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4742         * math/libm-test.inc (struct test_f_f1_data): New type.
4743         (RUN_TEST_LOOP_f_f1): New macro.
4744         (gamma_test_data): New variable.
4745         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4746         (lgamma_test_data): New variable.
4747         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4749 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4751         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4752         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4753         (main): Comment "tls" pseudo-hwcap.
4755 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4757         * math/libm-test.inc (struct test_fl_f_data): New type.
4758         (RUN_TEST_LOOP_fl_f): New variable.
4759         (scalbln_test_data): New variable.
4760         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4762         * math/libm-test.inc (struct test_fi_f_data): New type.
4763         (RUN_TEST_LOOP_fi_f): New macro.
4764         (ldexp_test_data): New variable.
4765         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4766         (scalbn_test_data): New variable.
4767         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4769         * math/libm-test.inc (struct test_c_f_data): New type.
4770         (RUN_TEST_LOOP_c_f): New macro.
4771         (cabs_test_data): New variable.
4772         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4773         (carg_test_data): New variable.
4774         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4775         (cimag_test_data): New variable.
4776         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4777         (creal_test_data): New variable.
4778         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4780         * math/libm-test.inc (struct test_if_f_data): New type.
4781         (RUN_TEST_LOOP_if_f): New macro.
4782         (jn_test_data): New variable.
4783         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4784         (yn_test_data): New variable.
4785         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4787         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4789 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4791         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4792         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4794 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4796         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4797         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4798         (bench-deps): Add bench-timing.h.
4799         * benchtests-bench-skeleton.c: Include bench-timing.h.
4800         (main): Use TIMING_* macros instead of clock_gettime.
4801         * benchtests/bench-timing.h: New file.
4803         [BZ #14582]
4804         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4805         Renamed from _LIB_VERSION.
4806         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4808 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4810         * math/libm-test.inc (struct test_fff_f_data): New type.
4811         (RUN_TEST_LOOP_fff_f): New macro.
4812         (fma_test_data): New variable.
4813         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4814         (fma_towardzero_test_data): New variable.
4815         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4816         (fma_downward_test_data): New variable.
4817         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4818         (fma_upward_test_data): New variable.
4819         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4821         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4822         (struct test_c_c_data): New type.
4823         (RUN_TEST_LOOP_c_c): New macro.
4824         (cacos_test_data): New variable.
4825         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4826         (cacosh_test_data): New variable.
4827         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4828         (casin_test_data): New variable.
4829         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4830         (casinh_test_data): New variable.
4831         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4832         (catan_test_data): New variable.
4833         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4834         (catanh_test_data): New variable.
4835         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4836         (ccos_test_data): New variable.
4837         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4838         (ccosh_test_data): New variable.
4839         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4840         (cexp_test_data): New variable.
4841         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4842         (clog_test_data): New variable.
4843         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4844         (clog10_test_data): New variable.
4845         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4846         (conj_test_data): New variable.
4847         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4848         (cproj_test_data): New variable.
4849         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4850         (csin_test_data): New variable.
4851         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4852         (csinh_test_data): New variable.
4853         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4854         (csqrt_test_data): New variable.
4855         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4856         (ctan_test_data): New variable.
4857         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4858         (ctan_tonearest_test_data): New variable.
4859         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4860         (ctan_towardzero_test_data): New variable.
4861         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4862         (ctan_downward_test_data): New variable.
4863         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4864         (ctan_upward_test_data): New variable.
4865         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4866         (ctanh_test_data): New variable.
4867         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4868         (ctanh_tonearest_test_data): New variable.
4869         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4870         (ctanh_towardzero_test_data): New variable.
4871         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4872         (ctanh_downward_test_data): New variable.
4873         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4874         (ctanh_upward_test_data): New variable.
4875         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4876         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4877         of BUILD_COMPLEX.
4879         * math/libm-test.inc (struct test_ff_f_data): New type.
4880         (struct test_ff_f_data_nexttoward): Likewise.
4881         (RUN_TEST_LOOP_2_f): New macro.
4882         (RUN_TEST_LOOP_ff_f): Likewise.
4883         (atan2_test_data): New variable.
4884         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4885         (copysign_test_data): New variable.
4886         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4887         (fdim_test_data): New variable.
4888         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4889         (fmax_test_data): New variable.
4890         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4891         (fmin_test_data): New variable.
4892         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4893         (fmod_test_data): New variable.
4894         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4895         (hypot_test_data): New variable.
4896         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4897         (nextafter_test_data): New variable.
4898         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4899         (nexttoward_test_data): New variable.
4900         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4901         (pow_test_data): New variable.
4902         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4903         (pow_tonearest_test_data): New variable.
4904         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4905         (pow_towardzero_test_data): New variable.
4906         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4907         (pow_downward_test_data): New variable.
4908         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4909         (pow_upward_test_data): New variable.
4910         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4911         (remainder_test_data): New variable.
4912         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4913         (scalb_test_data): New variable.
4914         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4915         * sysdeps/i386/fpu/libm-test-ulps: Update.
4917 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4919         * math/libm-test.inc (fma_test): Use max_value instead of local
4920         variable fltmax.
4921         (nextafter_test): Likewise.
4923         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4924         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4925         (acos_downward_test_data): New variable.
4926         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4927         (acos_upward_test_data): New variable.
4928         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4929         (acosh_test_data): New variable.
4930         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4931         (asin_test_data): New variable.
4932         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4933         (asin_tonearest_test_data): New variable.
4934         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4935         (asin_towardzero_test_data): New variable.
4936         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4937         (asin_downward_test_data): New variable.
4938         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4939         (asin_upward_test_data): New variable.
4940         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4941         (asinh_test_data): New variable.
4942         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4943         (atan_test_data): New variable.
4944         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4945         (atanh_test_data): New variable.
4946         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4947         (cbrt_test_data): New variable.
4948         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4949         (ceil_test_data): New variable.
4950         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4951         (cos_test_data): New variable.
4952         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4953         (cos_tonearest_test_data): New variable.
4954         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4955         (cos_towardzero_test_data): New variable.
4956         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4957         (cos_downward_test_data): New variable.
4958         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4959         (cos_upward_test_data): New variable.
4960         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4961         (cosh_test_data): New variable.
4962         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4963         (cosh_tonearest_test_data): New variable.
4964         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4965         (cosh_towardzero_test_data): New variable.
4966         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4967         (cosh_downward_test_data): New variable.
4968         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4969         (cosh_upward_test_data): New variable.
4970         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4971         (erf_test_data): New variable.
4972         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4973         (erfc_test_data): New variable.
4974         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4975         (exp_test_data): New variable.
4976         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4977         (exp_tonearest_test_data): New variable.
4978         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4979         (exp_towardzero_test_data): New variable.
4980         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4981         (exp_downward_test_data): New variable.
4982         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4983         (exp_upward_test_data): New variable.
4984         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4985         (exp10_test_data): New variable.
4986         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4987         (exp2_test_data): New variable.
4988         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4989         (expm1_test_data): New variable.
4990         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4991         (fabs_test_data): New variable.
4992         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4993         (floor_test_data): New variable.
4994         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4995         (j0_test_data): New variable.
4996         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4997         (j1_test_data): New variable.
4998         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4999         (log_test_data): New variable.
5000         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5001         (log10_test_data): New variable.
5002         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5003         (log1p_test_data): New variable.
5004         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5005         (log2_test_data): New variable.
5006         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5007         (logb_test_data): New variable.
5008         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5009         (logb_downward_test_data): New variable.
5010         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5011         (nearbyint_test_data): New variable.
5012         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5013         (rint_test_data): New variable.
5014         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5015         (rint_tonearest_test_data): New variable.
5016         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5017         (rint_towardzero_test_data): New variable.
5018         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5019         (rint_downward_test_data): New variable.
5020         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5021         (rint_upward_test_data): New variable.
5022         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5023         (round_test_data): New variable.
5024         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5025         (sin_test_data): New variable.
5026         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5027         (sin_tonearest_test_data): New variable.
5028         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5029         (sin_towardzero_test_data): New variable.
5030         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5031         (sin_downward_test_data): New variable.
5032         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5033         (sin_upward_test_data): New variable.
5034         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5035         (sinh_test_data): New variable.
5036         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5037         (sinh_tonearest_test_data): New variable.
5038         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5039         (sinh_towardzero_test_data): New variable.
5040         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5041         (sinh_downward_test_data): New variable.
5042         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5043         (sinh_upward_test_data): New variable.
5044         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5045         (sqrt_test_data): New variable.
5046         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5047         (tan_test_data): New variable.
5048         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5049         (tan_tonearest_test_data): New variable.
5050         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5051         (tan_towardzero_test_data): New variable.
5052         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5053         (tan_downward_test_data): New variable.
5054         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5055         (tan_upward_test_data): New variable.
5056         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5057         (tanh_test_data): New variable.
5058         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5059         (tgamma_test_data): New variable.
5060         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5061         (trunc_test_data): New variable.
5062         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5063         (y0_test_data): New variable.
5064         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5065         (y1_test_data): New variable.
5066         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5067         (significand_test_data): New variable.
5068         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5070 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5072         [BZ #12387]
5073         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5075 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5077         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5079 2013-05-10  Andreas Jaeger  <aj@suse.de>
5081         [BZ #15448]
5082         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5083         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5085 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5087         * math/gen-libm-test.pl (adjust_arg): New function.
5088         (special_functions): Handle generating output in both functions
5089         and arrays.
5090         (parse_args): Likewise.
5091         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
5092         $in_func argument to parse_args.
5093         * math/libm-test.inc (struct test_f_f_data): New type.
5094         (IF_ROUND_INIT_): New macro.
5095         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5096         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5097         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5098         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5099         (ROUND_RESTORE_): Likewise.
5100         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5101         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5102         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5103         (ROUND_RESTORE_FE_UPWARD): Likewise.
5104         (RUN_TEST_LOOP_f_f): New macro.
5105         (acos_test_data): New variable.
5106         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5107         (acos_tonearest_test_data): New variable.
5108         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5110 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5112         * benchtests/bench-skeleton.c (startup): Fix coding style.
5114 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5116         [BZ #6809]
5117         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5118         negative infinity argument.
5119         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5120         negative infinity argument.
5121         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5122         negative infinity argument.
5123         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5124         domain errors.
5126 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5128         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5129         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5130         * iconv/iconv_prog.c (main): Likewise.
5131         * locale/programs/charmap-dir.c (charmap_readdir)
5132         (fopen_uncompressed): Likewise.
5133         * locale/programs/locfile.c (siblings_uncached)
5134         (write_locale_data): Use lstat64 instead of lstat.
5135         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5136         stat.
5138 2013-05-10  Andreas Jaeger  <aj@suse.de>
5140         [BZ #15395]
5141         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5142         localization.
5143         Include <locale.h>.
5145 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5147         * elf/dl-close.c (_dl_close_worker): Add comments.
5149 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5151         [BZ #15359]
5152         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5153         high part of pi/2.
5154         (__ieee754_rem_pio2l): Update comments.
5156         [BZ #15429]
5157         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5158         high part of pi/2.
5159         (__ieee754_rem_pio2l): Update comments.
5161         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5162         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5164         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5165         M_PI_4l.
5167         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5168         (M_PI_34_LOG10El): Likewise.
5169         (M_PI2_LOG10El): Likewise.
5170         (M_PI4_LOG10El): Likewise.
5171         (M_PI_LOG10El): Likewise.
5173 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5177 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5179         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5180         (MINUS_ZERO_INIT): Likewise.
5181         (PLUS_INFTY_INIT): Likewise.
5182         (MINUS_INFTY_INIT): Likewise.
5183         (QNAN_VALUE_INIT): Likewise.
5184         (MAX_VALUE_INIT): Likewise.
5185         (MIN_VALUE_INIT): Likewise.
5186         (MIN_SUBNORM_VALUE_INIT): Likewise.
5187         (plus_zero): Initialize with PLUS_ZERO_INIT.
5188         (minus_zero): Initialize with MINUS_ZERO_INIT.
5189         (plus_infty): Initialize with PLUS_INFTY_INIT.
5190         (minus_infty): Initialize with MINUS_INFTY_INIT.
5191         (qnan_value): Initialize with QNAN_VALUE_INIT.
5192         (max_value): Initialize with MAX_VALUE_INIT.
5193         (min_value): Initialize with MIN_VALUE_INIT.
5194         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5196         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5197         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5198         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5199         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5201         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5202         (RUN_TEST_2_f): Likewise.
5203         (RUN_TEST_ff_f): Likewise.
5204         (RUN_TEST_fi_f): Likewise.
5205         (RUN_TEST_fl_f): Likewise.
5206         (RUN_TEST_fff_f): Likewise.
5207         (RUN_TEST_c_f): Likewise.
5208         (RUN_TEST_f_f1): Likewise.
5209         (RUN_TEST_fF_f1): Likewise.
5210         (RUN_TEST_fI_f1): Likewise.
5211         (RUN_TEST_ffI_f1): Likewise.
5212         (RUN_TEST_c_c): Likewise.
5213         (RUN_TEST_cc_c): Likewise.
5214         (RUN_TEST_f_i): Likewise.
5215         (RUN_TEST_f_i_tg): Likewise.
5216         (RUN_TEST_ff_i_tg): Likewise.
5217         (RUN_TEST_f_b): Likewise.
5218         (RUN_TEST_f_b_tg): Likewise.
5219         (RUN_TEST_f_l): Likewise.
5220         (RUN_TEST_f_L): Likewise.
5221         (RUN_TEST_sincos): Likewise.
5222         * math/gen-libm-test.pl (new_test): Take new argument to indicate
5223         whether to show exceptions.  Do not include ");\n" in return
5224         value.
5225         (special_functions): Output call to RUN_TEST_sincos instead of
5226         check_float calls.  Update calls to new_test.
5227         (parse_args): Output call to single RUN_TEST_* macro instead of
5228         check_* calls and other assignments.  Update calls to new_test.
5230         [BZ #2546]
5231         [BZ #2560]
5232         [BZ #5159]
5233         [BZ #15426]
5234         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5235         input to result for tgamma overflow.
5236         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5237         (gamma_coeff): New variable.
5238         (NCOEFF): New macro.
5239         (gamma_positive): New function.
5240         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5241         underflow here.  Use gamma_positive instead of exp (lgamma) for
5242         other arguments.
5243         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5244         (gamma_coeff): New variable.
5245         (NCOEFF): New macro.
5246         (gammaf_positive): New function.
5247         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5248         underflow here.  Use gamma_positive instead of exp (lgamma) for
5249         other arguments.
5250         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5251         (gamma_coeff): New variable.
5252         (NCOEFF): New macro.
5253         (gammal_positive): New function.
5254         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5255         underflow here.  Use gamma_positive instead of exp (lgamma) for
5256         other arguments.
5257         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5258         (gamma_coeff): New variable.
5259         (NCOEFF): New macro.
5260         (gammal_positive): New function.
5261         (__ieee754_gammal_r): Handle positive infinity, overflow and
5262         underflow here.  Handle NaN the same as positive infinity.  Remove
5263         check x < 0xffffffff for negative integers.  Use gamma_positive
5264         instead of exp (lgamma) for other arguments.
5265         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5266         (gamma_coeff): New variable.
5267         (NCOEFF): New macro.
5268         (gammal_positive): New function.
5269         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5270         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5271         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5272         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5273         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5274         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5275         * sysdeps/generic/math_private.h (__gamma_productf): New
5276         prototype.
5277         (__gamma_product): Likewise.
5278         (__gamma_productl): Likewise.
5279         * math/Makefile (libm-calls): Add gamma_product.
5280         * math/libm-test.inc (tgamma_test): Add more tests.
5281         * sysdeps/i386/fpu/libm-test-ulps: Update.
5282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5284 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5286         * benchtests/bench-skeleton.c (main): Preheat CPU.
5288 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5290         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5292 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5294         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5295         and _dl_skip_args_internal.
5297 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5299         * manual/message.texi (Message Translation): Talk about users.
5300         Message to key mapping impacts design.
5302 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5304         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5306         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5308         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5309         * sysdeps/wordsize-64/glob64.c: ... here.
5311         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5312         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5313         New macros.
5315         * debug/getlogin_r_chk.c: Moved to ...
5316         * login/getlogin_r_chk.c: ... here.
5317         * debug/Makefile (routines): Move getlogin_r_chk to ...
5318         * login/Makefile (routines): ... here.
5319         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5320         * login/Versions (libc: GLIBC_2.4): ... here.
5322         * io/poll.c (__poll): Renamed from poll.
5323         Add libc_hidden_def.
5324         (poll): Define as weak alias.
5326         * debug/ptsname_r_chk.c: Moved to ...
5327         * login/ptsname_r_chk.c: ... here.
5328         * debug/Makefile (routines): Move ptsname_r_chk to ...
5329         * login/Makefile (routines): ... here.
5330         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5331         * login/Versions (libc: GLIBC_2.4): ... here.
5333         * posix/getlogin.c: Moved to ...
5334         * login/getlogin.c: ... here.
5335         * posix/getlogin_r.c: Moved to ...
5336         * login/getlogin_r.c: ... here.
5337         * posix/getlogin_r.c: Moved to ...
5338         * login/getlogin_r.c: ... here.
5339         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5340         * login/Makefile (routines): ... here.
5341         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5342         * login/Versions (libc: GLIBC_2.0): ... here.
5344         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5345         (setrlimit): Define as weak alias.
5347         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5348         Call __ names for open, ftruncate, and close.
5349         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5350         (truncate): Define as weak alias.
5352 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5354         * math/gen-libm-test.pl (parse_args): Initialize x before each
5355         test of frexp, modf and remquo.
5357         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5358         test signgam value.
5360 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5362         [BZ #15418]
5363         [BZ #15419]
5364         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5365         internal tests.
5366         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5368 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5370         * elf/dl-writev.h: New file.
5371         * elf/dl-misc.c: Include it.
5372         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5373         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5375 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5377         * math/libm-test.inc (noXFails): Remove variable.
5378         (noXPasses): Likewise.
5379         (BUILD_COMPLEX_INT): Remove macro.
5380         (print_screen): Remove xfail argument.
5381         (print_screen_max_error): Likewise.
5382         (update_stats): Likewise.
5383         (print_max_error): Likewise.  Update calls to other affected
5384         functions.
5385         (print_complex_max_error): Likewise.
5386         (test_single_exception): Update calls to print_screen.
5387         (test_single_errno): Likewise.
5388         (check_float_internal): Remove xfail argument.  Update calls to
5389         other affected functions.
5390         (check_float): Likewise.
5391         (check_complex): Likewise.
5392         (check_int): Likewise.
5393         (check_long): Likewise.
5394         (check_bool): Likewise.
5395         (check_longlong): Likewise.
5396         (main): Don't print noXFails and noXPasses.
5397         * math/gen-libm-test.pl (top level): Don't mention expected
5398         failure handling in comment.
5399         (new_test): Don't handle expected failures.
5400         (parse_args): Don't mention expected failure handling in comment.
5401         (generate_testfile): Don't handle expected failures.
5402         (parse_ulps): Likewise.
5403         (print_ulps_file): Likewise.
5404         (get_failure): Remove function.
5405         (output_test): Don't handle expected failures.
5406         * make/README.libm-test: Don't mention expected failure handling.
5408         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5409         (minus_zero): Likewise.
5410         (plus_infty): Likewise.
5411         (minus_infty): Likewise.
5412         (qnan_value): Likewise.
5413         (max_value): Likewise.
5414         (min_value): Likewise.
5415         (min_subnorm_value): Likewise.
5416         (initialize): Do not initialize those variables dynamically.
5418 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5420         * io/open.c (__open_2): Moved to ...
5421         * io/open_2.c: ... this new file.
5422         * io/open64.c (__open64_2): Moved to ...
5423         * io/open64_2.c: ... this new file.
5424         * io/openat.c (__openat_2): Moved to ...
5425         * io/openat_2.c: ... this new file.
5426         * io/openat64.c (__openat64_2): Moved to ...
5427         * io/openat64_2.c: ... this new file.
5428         * io/Makefile (routines): Add them.
5429         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5430         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5431         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5432         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5433         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5434         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5435         (__openat64): Add hidden_ver.
5436         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5437         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5439         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5440         Separately conditionalize setting of GLRO(dl_sysinfo) so
5441         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5442         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5444 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5446         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5447         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5448         definition.
5449         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5450         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5451         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5452         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5453         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5455 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5457         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5458         test signgam value.
5460         * math/libm-test.inc (hypot_test): Do not use
5461         IGNORE_ZERO_INF_SIGN.
5463 2013-05-03  Andreas Jaeger  <aj@suse.de>
5465         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5466         Linux 3.9.
5467         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5468         (PF_MAX): Adjust for VSOCK change.
5470 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5474 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5476         [BZ #15264]
5477         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5478         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5479         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5481 2013-05-02  David S. Miller  <davem@davemloft.net>
5483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5485 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5487         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5489 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5491         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5493 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5495         [BZ #14952]
5496         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5497         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5498         Use __attribute__ ((__gnu_inline__)).
5499         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5500         Don't use __attribute__ ((__gnu_inline__)).
5502 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5504         [BZ #15423]
5505         * math/s_catan.c (__catan): Handle small real or imaginary part of
5506         input specially to avoid spurious underflow.
5507         * math/s_catanf.c (__catanf): Likewise.
5508         * math/s_catanh.c (__catanh): Likewise.
5509         * math/s_catanhf.c (__catanhf): Likewise.
5510         * math/s_catanhl.c (__catanhl): Likewise.
5511         * math/s_catanl.c (__catanl): Likewise.
5512         * math/libm-test.inc (catan_test): Add more tests.
5513         (catanh_test): Likewise.
5514         * sysdeps/i386/fpu/libm-test-ulps: Update.
5515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5517 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5521 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5523         [BZ #15416]
5524         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5525         accurately for denominator in atan2.
5526         * math/s_catanf.c (__catanf): Likewise.
5527         * math/s_catanh.c (__catanh): Likewise.
5528         * math/s_catanhf.c (__catanhf): Likewise.
5529         * math/s_catanhl.c (__catanhl): Likewise.
5530         * math/s_catanl.c (__catanl): Likewise.
5531         * math/libm-test.inc (catan_test): Add more tests.
5532         (catanh_test): Likewise.
5533         * sysdeps/i386/fpu/libm-test-ulps: Update.
5534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5536 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5538         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5540         * benchtests/Makefile (bench): Remove slow benchmarks.
5541         * benchtests/atan-inputs: Add slow benchmark inputs.
5542         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5543         (BENCH_FUNC): Accept variant offset.
5544         (VARIANT): Define.
5545         * benchtests/bench-skeleton.c (main): Run benchmark for each
5546         variant.
5547         * benchtests/cos-inputs: Add slow benchmark inputs.
5548         * benchtests/exp-inputs: Likewise.
5549         * benchtests/pow-inputs: Likewise.
5550         * benchtests/sin-inputs: Likewise.
5551         * benchtests/slowatan-inputs: Remove.
5552         * benchtests/slowatan.c: Remove.
5553         * benchtests/slowcos-inputs: Remove.
5554         * benchtests/slowcos.c: Remove.
5555         * benchtests/slowexp-inputs: Remove.
5556         * benchtests/slowexp.c: Remove.
5557         * benchtests/slowpow-inputs: Remove.
5558         * benchtests/slowpow.c: Remove.
5559         * benchtests/slowsin-inputs: Remove.
5560         * benchtests/slowsin.c: Remove.
5561         * benchtests/slowtan-inputs: Remove.
5562         * benchtests/slowtan.c: Remove.
5563         * benchtests/tan-inputs: Add slow benchmark inputs.
5564         * scripts/bench.pl: Parse comments and directives.
5566         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5567         in CPPFLAGS.
5568         ($(objpfx)bench-%.c): Remove *-ITER.
5569         * benchtests/bench-modf.c: Remove definition of ITER.
5570         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5571         (main): Loop for DURATION seconds instead of fixed number of
5572         iterations.
5573         * scripts/bench.pl: Don't expect iterations in parameters.
5575 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5577         * io/fchdir.c (__fchdir): Renamed from fchdir.
5578         (fchdir): Define as weak alias.
5580 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5582         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5583         (ERRNO_EDOM): Likewise.
5584         (ERRNO_ERANGE): Likewise.
5585         (noErrnoTests): New variable.
5586         (init_max_error): Set errno to 0.
5587         (test_single_errno): New function.
5588         (test_errno): Likewise.
5589         (check_float_internal): Call test_errno.  Set errno to 0.
5590         (check_complex): Refer to errno tests in comment.
5591         (check_int): Call test_errno.  Set errno to 0.
5592         (check_long): Likewise.
5593         (check_bool): Likewise.
5594         (check_longlong): Likewise.
5595         (cos_test): Use ERRNO_* flags for errno tests instead of
5596         check_int.
5597         (expm1_test): Likewise.
5598         (fmod_test): Likewise.
5599         (ilogb_test): Likewise.
5600         (lgamma_test): Likewise.
5601         (pow_test): Likewise.
5602         (remainder_test): Likewise.
5603         (sin_test): Likewise.
5604         (tan_test): Likewise.
5605         (yn_test): Likewise.
5606         (initialize): Set errno to 0.
5607         (main): Print number of errno tests.
5608         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5610 2013-04-29  Andreas Jaeger  <aj@suse.de>
5612         [BZ #15084]
5613         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5614         and RES_USEVC.
5616         [BZ #15085]
5617         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5618         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5619         unimplemented.
5621         [BZ #15380]
5622         * stdlib/random.c (__initstate): Return NULL if
5623         __initstate fails.
5625         [BZ #15086]
5626         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5627         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5628         RES_SNGLKUPREOP.
5630 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5634 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5636         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5637         of individual tests.
5638         (casin_test): Likewise.
5639         (casinh_test): Likewise.
5641 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5643         [BZ #15409]
5644         * math/s_catan.c (__catan): Handle arguments with large real or
5645         imaginary part separately without squaring.
5646         * math/s_catanf.c (__catanf): Likewise.
5647         * math/s_catanh.c (__catanh): Likewise.
5648         * math/s_catanhf.c (__catanhf): Likewise.
5649         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5650         and redefine.
5651         (__catanhl): Handle arguments with large real or imaginary part
5652         separately without squaring.
5653         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5654         and redefine.
5655         (__catanl): Handle arguments with large real or imaginary part
5656         separately without squaring.
5657         * math/libm-test.inc (catan_test): Add more tests.
5658         (catanh_test): Likewise.
5659         * sysdeps/i386/fpu/libm-test-ulps: Update.
5660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5662 2013-04-27  Andreas Jaeger  <aj@suse.de>
5664         [BZ #15007]
5665         * stdlib/stdlib.h: Update guards for qecvt.
5666         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5667         <stdlib.h>.
5669 2013-04-27  Allan McRae  <allan@archlinux.org>
5671         * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5675         [BZ #15406]
5676         * math/s_catan.c: Include <float.h>.
5677         (__catan): Ensure underflow exception occurs for underflowed
5678         result.
5679         * math/s_catanf.c: Include <float.h>.
5680         (__catanf): Ensure underflow exception occurs for underflowed
5681         result.
5682         * math/s_catanh.c: Include <float.h>.
5683         (__catanh): Ensure underflow exception occurs for underflowed
5684         result.
5685         * math/s_catanhf.c: Include <float.h>.
5686         (__catanhf): Ensure underflow exception occurs for underflowed
5687         result.
5688         * math/s_catanhl.c: Include <float.h>.
5689         (__catanhl): Ensure underflow exception occurs for underflowed
5690         result.
5691         * math/s_catanl.c: Include <float.h>.
5692         (__catanl): Ensure underflow exception occurs for underflowed
5693         result.
5694         * math/libm-test.inc (catan_test): Add more tests.
5695         (catanh_test): Likewise.
5697         [BZ #15405]
5698         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5699         underflowed result.
5700         * math/s_ccoshf.c (__ccoshf): Likewise.
5701         * math/s_ccoshl.c (__ccoshl): Likewise.
5702         * math/s_csin.c (__csin): Likewise.
5703         * math/s_csinf.c (__csinf): Likewise.
5704         * math/s_csinh.c (__csinh): Likewise.
5705         * math/s_csinhf.c (__csinhf): Likewise.
5706         * math/s_csinhl.c (__csinhl): Likewise.
5707         * math/s_csinl.c (__csinl): Likewise.
5708         * math/libm-test.inc (ccos_test): Add more tests.
5709         (ccosh_test): Likewise.
5710         (csin_test): Likewise.
5711         (csinh_test): Likewise.
5713 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5715         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5716         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5717         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5718         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5719         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5720         powerpc/power5+/fpu folders.
5721         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5724 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5728 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5730         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5731         additions to variable.
5732         [$(config-machine) = x86_64] (modules-names): Likewise.
5733         ($(objpfx)tst-audit3): Remove dependency.
5734         ($(objpfx)tst-audit3.out): Likewise.
5735         ($(objpfx)tst-audit4): Likewise.
5736         ($(objpfx)tst-audit4.out): Likewise.
5737         ($(objpfx)tst-audit5): Likewise.
5738         ($(objpfx)tst-audit5.out): Likewise.
5739         ($(objpfx)tst-audit6): Likewise.
5740         ($(objpfx)tst-audit6.out): Likewise.
5741         ($(objpfx)tst-audit7): Likewise.
5742         ($(objpfx)tst-audit7.out): Likewise.
5743         (tst-audit3-ENV): Remove variable.
5744         (tst-audit4-ENV): Likewise.
5745         (tst-audit5-ENV): Likewise.
5746         (tst-audit6-ENV): Likewise.
5747         (tst-audit7-ENV): Likewise.
5748         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5749         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5750         addition to variable.
5751         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5752         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5753         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5754         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5755         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5756         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5757         tst-audit3, tst-audit4 and tst-audit5.
5758         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5759         tst-audit6 and tst-audit7.
5760         [$(subdir) = elf] (modules-names): Add audit modules for those
5761         tests.
5762         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5763         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5764         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5765         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5766         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5767         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5768         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5769         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5770         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5771         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5772         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5773         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5774         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5775         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5776         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5777         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5778         Likewise.
5779         [$(subdir) = elf && $(config-cflags-avx) = yes]
5780         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5781         [$(subdir) = elf && $(config-cflags-avx) = yes]
5782         (CFLAGS-tst-auditmod4a.c): Likewise.
5783         [$(subdir) = elf && $(config-cflags-avx) = yes]
5784         (CFLAGS-tst-auditmod4b.c): Likewise.
5785         [$(subdir) = elf && $(config-cflags-avx) = yes]
5786         (CFLAGS-tst-auditmod6b.c): Likewise.
5787         [$(subdir) = elf && $(config-cflags-avx) = yes]
5788         (CFLAGS-tst-auditmod6c.c): Likewise.
5789         [$(subdir) = elf && $(config-cflags-avx) = yes]
5790         (CFLAGS-tst-auditmod7b.c): Likewise.
5791         * elf/tst-audit3.c: Move to ...
5792         * sysdeps/x86_64/tst-audit3.c: ... here.
5793         * elf/tst-audit4.c: Move to ...
5794         * sysdeps/x86_64/tst-audit4.c: ... here.
5795         * elf/tst-audit5.c: Move to ...
5796         * sysdeps/x86_64/tst-audit5.c: ... here.
5797         * elf/tst-audit6.c: Move to ...
5798         * sysdeps/x86_64/tst-audit6.c: ... here.
5799         * elf/tst-audit7.c: Move to ...
5800         * sysdeps/x86_64/tst-audit7.c: ... here.
5801         * elf/tst-auditmod3a.c: Move to ...
5802         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5803         * elf/tst-auditmod3b.c: Move to ...
5804         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5805         * elf/tst-auditmod4a.c: Move to ...
5806         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5807         * elf/tst-auditmod4b.c: Move to ...
5808         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5809         * elf/tst-auditmod5a.c: Move to ...
5810         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5811         * elf/tst-auditmod5b.c: Move to ...
5812         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5813         * elf/tst-auditmod6a.c: Move to ...
5814         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5815         * elf/tst-auditmod6b.c: Move to ...
5816         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5817         * elf/tst-auditmod6c.c: Move to ...
5818         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5819         * elf/tst-auditmod7a.c: Move to ...
5820         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5821         * elf/tst-auditmod7b.c: Move to ...
5822         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5824 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
5826         [BZ #15366]
5827         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5828         define unconditionally.
5829         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5830         define unconditionally.
5831         (INT8_C, INT16_C, etc.): Likewise.
5833 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
5835         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5836         __ehdr_start with hidden visibility.
5838         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5840 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
5842         * math/libm-test.inc (cos_test): Use accurate hex constants.
5843         (sincost_test): Likewise.
5845 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
5847         * math/libm-test.inc (catan_test): Add more tests.
5848         (catanh_test): Likewise.
5850         * math/s_catanf.c (__catanf): Use suffixed floating-point
5851         constants.
5852         * math/s_catanhf.c (__catanhf): Likewise.
5853         * math/s_catanhl.c (__catanhl): Likewise.
5854         * math/s_catanl.c (__catanl): Likewise.
5856         [BZ #15394]
5857         * math/s_catan.c (__catan): Calculate imaginary part of result
5858         with log1p not log unless computing log of number close to 0.
5859         * math/s_catanf.c (__catanf): Likewise.
5860         * math/s_catanl.c (__catanl): Likewise.
5861         * math/s_catanh.c (__catanh): Calculate real part of result with
5862         log1p not log unless computing log of number close to 0.
5863         * math/s_catanhf.c (__catanhf): Likewise.
5864         * math/s_catanhl.c (__catanhl): Likewise.
5865         * math/libm-test.inc (catan_test): Add more tests.
5866         (catanh_test): Likewise.
5867         * sysdeps/i386/fpu/libm-test-ulps: Update.
5868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5870 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5872         * benchtests/Makefile: Mention files in which fast and slow
5873         paths of math functions are implemented.
5875 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5877         * sysdeps/posix/timespec_get.c: New file.
5879 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5881         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5882         POWER.
5883         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5884         for POWER.
5885         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5886         powerpc/power5/fpu folders.
5887         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5888         * benchtests/Makefile: Add modf testcase.
5889         * benchtests/bench-modf.c: New file: Benchmark test for mo
5891 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5893         [BZ #14888]
5894         * time/Makefile (tests): Add tst-strptime-whitespace.
5895         * time/strptime_l.c (get_number): Use ISSPACE.
5896         (__strptime_internal): Likewise.
5897         * time/tst-strptime-whitespace.c: New test case.
5899 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5901         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5902         member.
5903         (_nss_files_init): Set it here.
5905 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5907         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5908         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5909         unsigned.
5911 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5913         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5915 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5917         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5918         size just once.
5920 2013-04-21  David S. Miller  <davem@davemloft.net>
5922         * po/ru.po: Update Russion translation from translation project.
5924 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5926         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5927         and setfsgid.
5929 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5931         * configure.in: Remove i386 configure warning. Remove i386 case.
5932         * configure: Regenerate.
5933         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5934         Add example to error message.
5935         * sysdeps/i386/configure: Regenerate.
5937 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5939         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5940         slowtan.
5941         * benchtests/cos-inputs: New file.
5942         * benchtests/slowcos-inputs: New file.
5943         * benchtests/slowcos.c: New file.
5944         * benchtests/slowtan-inputs: New file.
5945         * benchtests/slowtan.c: New file.
5946         * benchtests/tan-inputs: New file.
5948 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5950         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5951         considered kosher.
5953 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5955         * benchtests/Makefile: Include cppflags-iterator.mk to add
5956         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5958         * Makefile.in (bench-clean): New target.
5959         * benchtests/Makefile (bench-clean): Likewise.
5961 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5963         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5965 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5967         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5969 2013-04-15  Andreas Schwab  <schwab@suse.de>
5971         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5973         * nscd/pwdcache.c (cache_addpw): Likewise.
5974         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5975         more than recsize.
5977 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5979         * benchtests/Makefile (bench): Write all output to
5980         bench-out.tmp together.
5982 2013-04-15  Andreas Schwab  <schwab@suse.de>
5984         * nscd/nscd.c (main): Don't fork again after closing files.
5986 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5988         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5990         * benchtests/Rules (bench-deps): Collect dependencies into a
5991         single variable.  Add Makefile to dependencies.
5992         ($(objpfx)bench-%.c): Depend on bench-deps.
5994 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5995             Xavier Roche  <roche+kml2@exalead.com>
5997         [BZ #15361]
5998         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5999         just that it's a file descriptor.
6000         * manual/llio.texi (Synchronizing AIO Operations): Update description
6001         for EBADF error from aio_fsync.
6003 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6005         * Rules (bench): Move target definition...
6006         * benchtests/Makefile: ... here.
6008 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6010         * math/libm-test.inc (cos_test): Fix PI/2 test.
6011         (sincos_test): Likewise.
6012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6013         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6015 2013-04-11  Andreas Schwab  <schwab@suse.de>
6017         [BZ #13988]
6018         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6019         accept exponent character only when digits were seen.
6020         * stdio-common/Makefile (tests): Add bug26.
6021         * stdio-common/bug26.c: New file.
6023         [BZ #14293]
6024         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6025         non-freeable.
6027 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6029         * Makeconfig (rtld-prefix): Define built linker prefix.
6030         * Rules (run-bench): Use it.
6031         * math/Makefile (run-regen-ulps): Likewise.
6033         * Rules (bench): Remove eval.
6035 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6036             Roland McGrath  <roland@hack.frob.com>
6037             Ondrej Bilka  <neleai@seznam.cz>
6039         [BZ #15346]
6040         * time/getdate.c: Include ctype.h and alloca.h.
6041         (__getdate_r): Trim leading and trailing spaces of input.
6042         * time/tst-getdate.c (tests): Add tests with leading and
6043         trailing spaces.
6045 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6047         [BZ #14280]
6048         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6049         when computing value.
6051 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6053         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6054         Use testrun.sh to run libm tests.
6056         [BZ #15309]
6057         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6059 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6061         [BZ #15264]
6062         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6064 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6066         * Makefile.in (regen-ulps): New target.
6067         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6068         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6069         [ifneq (no,$(PERL)] (regen-ulps): New target.
6070         [ifeq (no,$(PERL)] (regen-ulps): New target.
6071         * math/libm-test.inc (ulps_file_name): Define.
6072         (output_dir): New variable.
6073         (options): Add "output-dir" option.
6074         (parse_opt): Handle 'o' case.
6075         (main): If output_dir is non-NULL use it as a prefix
6076         otherwise use "".
6077         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6079 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6081         [BZ #10060, #10062]
6082         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6083         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6084         fail configure if __sync_val_compare_and_swap is not inlined.
6085         * sysdeps/i386/configure: Regenerate.
6086         * configure.in: Build for i686 when configured for i386.
6087         * configure: Regenerate.
6088         * README: Remove i386 reference.
6090 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6092         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6093         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6095 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6097         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6098         (lmsnanval): New variables.
6099         (F): Add conversion tests.
6100         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6101         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6103         * stdio-common/tstdiomisc.c (F): Properly collect individual
6104         tests' results.
6106         [BZ #14686, #15336]
6107         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6108         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6109         Instead, use input NaN values or generate a qNaN by arithmetic
6110         operation.  Also fix bugs to comply with the standard.
6111         * math/libm-test.inc (remainder_test): Add more tests.
6113         [BZ #15335, #15342]
6114         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6116         input NaN values or generate a qNaN by arithmetic operation.
6118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6119         unreachable code.
6121         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6122         definitions.
6124 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6126         [BZ #14478]
6127         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6128         underflowed result.
6129         * math/s_cexpf.c (__cexpf): Likewise.
6130         * math/s_cexpl.c (__cexpl): Likewise.
6131         * math/libm-test.inc (cexp_test): Add more tests.
6133 2013-04-03  Andreas Schwab  <schwab@suse.de>
6135         [BZ #15330]
6136         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6137         order arrays from heap if bigger than alloca cutoff.
6139 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6141         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6142         (SNAN_TESTS_double): Refer to GCC PR56831.
6143         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6144         GCC PR56828.
6146 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6148         * Rules (bench): Move bench.out after the run is complete.
6150         * Rules (bench): Echo currently running benchmark.
6152         * benchtests/Makefile (bench): Add atan and slowatan.
6153         * benchtests/atan-inputs: New file.
6154         * benchtests/slowatan-inputs: New file.
6155         * benchtests/slowatan.c: New file.
6157         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6158         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6159         its value.
6161         [BZ #15305]
6162         * sysdeps/unix/sysv/linux/kernel-features.h
6163         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6164         __ASSUME_XFS_RESTRICTED_CHOWN.
6165         * sysdeps/unix/sysv/linux/pathconf.c
6166         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6167         Save and restore errno.
6169 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6171         [BZ #15327]
6172         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6173         arguments using __kernel_casinh.
6174         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6175         arguments using __kernel_casinhf.
6176         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6177         arguments using __kernel_casinhl.
6178         * math/libm-test.inc (cacosh_test): Add more tests.
6179         * sysdeps/i386/fpu/libm-test-ulps: Update.
6180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6182 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6184         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6187         * bench/Makefile (bench): Add sin and slowsin.
6188         * benchtests/sin-inputs: New file.
6189         * benchtests/slowsin-inputs: New file.
6190         * benchtests/slowsin.c: New file.
6192         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6193         (bench): Add slowexp and slowpow.
6194         (exp-ITER): Increase iterations.
6195         (pow-ITER): Likewise.
6196         * benchtests/exp-inputs: Change input.
6197         * benchtests/pow-inputs: Likewise.
6198         * benchtests/slowexp-inputs: New file.
6199         * benchtests/slowexp.c: New file.
6200         * benchtests/slowpow-inputs: New file.
6201         * benchtests/slowpow.c: New file.
6203 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6205         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6206         instructions.
6207         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6208         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6209         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6210         * benchtests/Makefile: Add rint benchtest.
6211         * benchtests/rint-inputs: Input for rint benchtest.
6213 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6215         * Versions.def (libm): Add GLIBC_2.18.
6216         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6217         hidden libm prototypes.
6218         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6219         * math/Makefile (libm-calls): Add s_issignaling.
6220         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6221         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
6222         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6223         declaration.
6224         * math/math.h [__USE_GNU] (issignaling): New macro.
6225         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6226         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6227         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6228         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6229         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6230         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6231         * manual/arith.texi (issignaling): New section.
6232         * manual/libm-err-tab.pl (@all_functions): Update comment.
6233         * math/gen-libm-test.pl (parse_args): Apply special handling for
6234         issignaling.
6235         * math/libm-test.inc (print_float, issignaling_test): New
6236         functions.
6237         (check_float_internal): Add issignaling checks.
6238         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6239         default definition.
6240         * sysdeps/powerpc/math-tests.h: New file.
6241         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6242         tests.
6243         * math/test-snan.c (TEST_FUNC): Likewise.
6245 2013-03-30  David S. Miller  <davem@davemloft.net>
6247         * po/de.po: Update from translation team.
6249 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6251         [BZ #10357]
6252         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6253         imaginary part less than 1.0 and real part less than 0.5
6254         specially.
6255         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6256         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6257         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6258         (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-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6267         ONE with its value.
6269         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6270         (__pow_mp): Replace ONE and MONE with their values.
6271         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6273         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6274         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6275         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6276         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6278         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6280         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6281         (__pow_mp): Replace ZERO and MZERO with their values.
6282         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6283         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6284         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6286         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6287         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6288         (__sqr): Likewise.
6290         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6292         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6294 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6296         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6297         Declare with __attribute__ ((weak)).
6298         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6299         Call __call_tls_dtors only if it's not NULL.
6301 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6303         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6304         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6305         magic __ehdr_start linker symbol if it's defined.
6306         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6307         them up here if it was already done.
6309         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6310         (_dl_aux_init): Use const in cast when setting it.
6311         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6312         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6313         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6315         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6316         Declare them here.
6317         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6318         * csu/libc-tls.c: Nor here.
6319         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6321         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6322         (__libc_message): Never call vsyslog.
6324 2013-03-28  Alan Modra  <amodra@gmail.com>
6326         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6327         Define as empty.
6328         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6329         Likewise.
6331 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6333         [BZ #15214]
6334         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6335         underflow.
6336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6338 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6340         [BZ #15304]
6341         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6342         Don't add gid passed as argument.
6344         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6346 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6348         [BZ #15307]
6349         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6350         imaginary part between 1.0 and 1.5 and real part less than 0.5
6351         specially.
6352         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6353         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6354         * math/libm-test.inc (cacos_test): Add more tests.
6355         (casin_test): Likewise.
6356         (casinh_test): Likewise.
6357         * sysdeps/i386/fpu/libm-test-ulps: Update.
6358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6360 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6362         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6363         constants.
6364         (norm): Likewise.
6365         (denorm): Likewise.
6366         (__dbl_mp): Likewise.
6367         (add_magnitudes): Likewise.
6368         (sub_magnitudes): Likewise.
6369         (__add): Likewise.
6370         (__sub): Likewise.
6371         (__mul): Likewise.
6372         (__sqr): Likewise.
6373         (__inv): Likewise.
6374         (__dvd): Likewise.
6376         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6377         commented code.
6378         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6379         (__dubcos): Likewise.
6380         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6381         (__ieee754_acos): Likewise.
6382         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6383         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6384         (__exp1): Likewise.
6385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6387         (log1): Likewise.
6388         (my_log2): Likewise.
6389         (checkint): Likewise.
6390         * sysdeps/ieee754/dbl-64/e_remainder.c
6391         (__ieee754_remainder): Likewise.
6392         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6394         (bsloww): Likewise.
6395         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6397         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6398         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6399         MANTISSA_STORE_T to store computations on mantissa.  Use
6400         macros for rounding and division.
6401         (denorm): Likewise.
6402         (__dbl_mp): Likewise.
6403         (add_magnitudes): Likewise.
6404         (sub_magnitudes): Likewise.
6405         (__mul): Likewise.
6406         (__sqr): Likewise.
6407         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6408         powers of two in terms of TWOPOW macro.
6409         (mp_no): Make type of mantissa as MANTISSA_T.
6410         [!RADIXI]: Define RADIXI.
6411         [!TWO52]: Define TWO52.
6412         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6414 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6416         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6417         llroundl symbol when building for PPC32.
6419 2013-03-24  Mark H Weaver  <mhw@netris.org>
6421         * manual/arith.texi (Normalization Functions): Fix prototypes for
6422         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6424 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6426         [BZ #13889]
6427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6428         high value to check if expl overflow.
6429         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6430         to check for underflow and overflow.
6431         * math/libm-test.inc: Add exp test.
6433 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6435         [BZ #11120]
6436         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6437         with NOT_IN_libc.
6439 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6441         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6442         symbol.
6444 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6446         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6447         wrap blocks consisting of several statements.
6449         * sysdeps/generic/math-tests.h: New file.
6450         * sysdeps/i386/fpu/math-tests.h: Likewise.
6451         * math/test-snan.c: Include it.
6452         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6454 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #15285]
6457         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6458         (__ieee754_j0l): Do not improve calculations using cos of twice
6459         input for inputs above LDBL_MAX / 2.0L.
6460         (__ieee754_y0l): Likewise.
6461         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6462         (__ieee754_j1l): Do not improve calculations using cos of twice
6463         input for inputs above LDBL_MAX / 2.0L.
6464         (__ieee754_y1l): Likewise.
6465         * math/libm-test.inc (j0_test): Add another test.
6466         (j1_test): Likewise.
6467         (y0_test): Likewise.
6468         (y1_test): Likewise.
6469         * sysdeps/i386/fpu/libm-test-ulps: Update.
6471 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6473         * Rules ($(objpfx)bench-%.c): Include code from a C source
6474         file.
6476 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6478         [BZ #15287]
6479         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6480         imaginary part 1.0 and real part less than 0.5 specially.
6481         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6482         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6483         * math/libm-test.inc (cacos_test): Add more tests.
6484         (casin_test): Likewise.
6485         (casinh_test): Likewise.
6486         * sysdeps/i386/fpu/libm-test-ulps: Update.
6487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6489 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6491         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6492         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6494 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6496         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6497         * config.make.in (config-cflags-sse4): Remove variable.
6498         (config-cflags-avx): Likewise.
6499         (config-cflags-sse2avx): Likewise.
6500         (config-cflags-novzeroupper): Likewise.
6501         (config-asflags-i686): Likewise.
6502         (have-mfma4): Likewise.
6503         (have-as-vis3): Likewise.
6504         (MIG): Likewise.
6505         * configure.in (MIG): Do not AC_SUBST.
6506         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6507         (libc_cv_cc_sse4): Do not AC_SUBST.
6508         (libc_cv_cc_avx): Likewise.
6509         (libc_cv_cc_sse2avx): Likewise.
6510         (libc_cv_cc_novzeroupper): Likewise.
6511         (libc_cv_cc_fma4): Likewise.
6512         (libc_cv_as_i686): Likewise.
6513         (libc_cv_sparc_as_vis3): Likewise.
6514         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6515         LIBC_CONFIG_VAR.
6516         (config-asflags-i686): Likewise.
6517         (config-cflags-avx): Likewise.
6518         (config-cflags-sse2avx): Likewise.
6519         (have-mfma4): Likewise.
6520         (config-cflags-novzeroupper): Likewise.
6521         * sysdeps/mach/configure.in (MIG): Likewise.
6522         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6523         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6524         LIBC_CONFIG_VAR.
6525         (config-cflags-avx): Likewise.
6526         (config-cflags-sse2avx): Likewise.
6527         (have-mfma4): Likewise.
6528         (config-cflags-novzeroupper): Likewise.
6529         * configure: Regenerated.
6530         * sysdeps/i386/configure: Likewise.
6531         * sysdeps/mach/configure: Likewise.
6532         * sysdeps/sparc/configure: Likewise.
6533         * sysdeps/x86_64/configure: Likewise.
6535 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6537         [BZ #14812]
6538         * locale/programs/localedef.c (options): Put N_ translation marker
6539         on argument names, not just descriptions.
6541 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6543         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6545 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6547         [BZ #14176]
6548         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6550 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6552         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6553         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6554         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6555         [!BEFORE_ABORT] (before_abort): New function.
6556         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6557         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6558         (writev_for_fatal): New function.
6559         (WRITEV_FOR_FATAL): New macro; call that.
6560         (backtrace_and_maps): New function.
6561         (BEFORE_ABORT): New macro; call that.
6562         (struct str_list): Type removed.
6563         (__libc_message, __libc_fatal): Functions removed.
6564         Include <sysdeps/posix/libc_fatal.c> instead.
6566 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6568         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6569         constants.
6570         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6571         double constants.
6573 2013-03-19  Andreas Schwab  <schwab@suse.de>
6575         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6576         * sysdeps/gnu/configure: Regenerate.
6578         * configure.in: Substitute libc_cv_rtlddir.
6579         * configure: Regenerate.
6580         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6581         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6582         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6583         * elf/Makefile (install-others, CFLAGS-interp.c)
6584         (ldso_install, common-ldd-rewrite): Likewise.
6585         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6586         $(inst_slibdir)/$(rtld-installed-name).
6587         * scripts/rellns-sh: Add -p option.
6588         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6589         for source.
6591 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6593         * manual/nptl.texi: Renamed to ...
6594         * manual/threads.texi: ... this.
6595         * manual/Makefile (chapters): Update.
6597 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6599         [BZ #14812]
6600         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6601         on argument names, not just descriptions.
6602         * malloc/memusagestat.c (options): Likewise.
6603         * nss/getent.c (options): Likewise.
6605 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6607         [BZ #14812]
6608         * iconv/iconv_prog.c (options): Put N_ translation marker
6609         on argument names, not just descriptions.
6610         * iconv/iconvconfig.c (options): Likewise.
6612 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6614         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6615         implementation which is faster on all x86_64 architectures.
6616         Tested on AMD, Intel Nehalem, SNB, IVB.
6617         * sysdeps/x86_64/strnlen.S: Likewise.
6619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6620         Remove all multiarch strlen and strnlen versions.
6621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6622         Remove strlen and strnlen related parts.
6624         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6625         Inline strlen part.
6626         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6628         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6629         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6630         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6631         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6632         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6633         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6635 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6637         * manual/memory.texi (Malloc Tunable Parameters):
6638         Sort parameters alphabetically. Add comments for missing entries.
6640 2013-03-17  David S. Miller  <davem@davemloft.net>
6642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6644 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6646         [BZ #15283]
6647         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6648         for arguments at most half maximum finite value.
6649         * math/libm-test.inc (j0_test): Add more tests.
6650         (j1_test): Likewise.
6651         (y0_test): Likewise.
6652         (y1_test): Likewise.
6653         * sysdeps/i386/fpu/libm-test-ulps: Update.
6654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6656         [BZ #14155]
6657         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6658         1 / x and functions P and Q for arguments above 0x1p256L.
6659         (__ieee754_y0l): Likewise.
6660         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6661         (__ieee754_y1l): Likewise.
6662         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6663         (j1_test): Likewise.
6664         (y0_test): Likewise.
6665         (y1_test): Likewise.
6667 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6669         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6670         variable.
6672 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6674         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6675         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6676         zero since it's initialized to EXEC_PAGESIZE.
6678         * sysdeps/unix/sysv/linux/ldsodefs.h
6679         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6680         * sysdeps/generic/ldsodefs.h: ... here.
6682 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6684         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6686         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6687         math/test-snan.c.
6688         * math/test-snan.c: Renamed from
6689         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6690         * math/Makefile (tests): Add test-snan.
6691         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6692         test-powerpc-snan.
6694         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6695         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6696         functions.
6697         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6698         __builtin_nan family of functions.
6699         * math/libm-test.inc (initialize): Initialize qnan_value with
6700         __builtin_nan family of functions.
6701         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6702         Remove variables.
6703         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6704         Remove functions.
6705         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6706         storage class.  Initialize qNaN_var and sNaN_var with
6707         __builtin_nan and __builtin_nans families of functions,
6708         respectively.
6710         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6711         (sqrt_test): Remove duplicate test with qNaN input.
6712         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6713         (round_test, signbit_test, significand_test): Note missing +/-Inf
6714         as well as qNaN tests.
6716         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6717         qNaN_var.  Fix a few strings, too.
6718         * math/libm-test.inc (nan_value): Rename to qnan_value.
6719         * math/gen-libm-test.pl (%beautify): Adjust to that.
6720         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6721         * math/test-misc.c (main): Likewise.
6722         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6723         to __qnan_bytes, and __qnan_union, respectively.
6724         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6725         Likewise.
6726         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6727         and lqnanval, respectively.
6728         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6729         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6730         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6731         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6733         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6734         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6735         doubles.
6737         * math/test-misc.c (main): Fix copy'n'pastos.
6738         * misc/tst-efgcvt.c (special): Likewise.
6740         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6741         Remove declarations.
6743 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6745         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6746         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6747         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6748         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6750 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6752         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6753         macro to return vdso values correctly in IFUNC implementations.
6754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6755         Optimization by using IFUNC.
6757 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6758             Richard Henderson  <rth@redhat.com>
6759             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6761         * Makefile.in (bench): New target.
6762         * NEWS: Mention the benchmark framework.
6763         * Rules (bench): Likewise.
6764         (binaries-bench): Generate binaries for functions to
6765         benchmark.
6766         * benchtests/Makefile: New makefile for benchmark tests.
6767         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6768         programs.
6769         * benchtests/exp-inputs: New input file for EXP function.
6770         * benchtests/pow-inputs: New input file for POW function.
6771         * scripts/bench.pl: New script to generate source files for
6772         benchmark programs.
6774 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6776         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6778         computations on mantissa.  Use macros for rounding and
6779         division.
6780         (denorm): Likewise.
6781         (__dbl_mp): Likewise.
6782         (add_magnitudes): Likewise.
6783         (sub_magnitudes): Likewise.
6784         (__mul): Likewise.
6785         (__sqr): Likewise.
6786         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6787         powers of two in terms of TWOPOW macro.
6788         (mp_no): Make type of mantissa as MANTISSA_T.
6789         [!RADIXI]: Define RADIXI.
6790         [!TWO52]: Define TWO52.
6791         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6793         * manual/nptl.texi (cindex): Modify threads to pthreads.
6795 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6797         * sysdeps/x86_64/preconfigure: Regenerated.
6799 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6801         [BZ #14155]
6802         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6803         0x1p28 and above.
6804         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6805         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6806         0x1p28 and above.
6807         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6808         * math/libm-test.inc (j0_test): Do not allow one spurious
6809         underflow exception.
6810         (y1_test): Likewise.
6812 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6814         * manual/Makefile (chapters): Add nptl.
6815         * manual/debug.texi (Debugging Support): Add link to Threads
6816         chapter.
6817         * manual/nptl.texi: New file.
6819         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6821 2013-03-14  Petr Baudis  <pasky@ucw.cz>
6823         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6824         for non-NULL pointer before the memory validity test. Pointed
6825         out by Holger Brunck <holger.brunck@keymile.com>.
6827 2013-03-13  Andreas Schwab  <schwab@suse.de>
6829         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6830         instead of .os.
6832 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
6834         * timezone/zic.c: Update from tzcode 2013b.
6836 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
6838         * manual/install.texi (Configuring and compiling):
6839         Mention i686 and i586.
6840         * INSTALL: Regenerate.
6842 2013-03-12  Roland McGrath  <roland@hack.frob.com>
6844         * sysdeps/init_array/elf-init.c: New file.
6845         * csu/elf-init.c
6846         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6847         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6849         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6850         __gmon_start__ as global, but as static with a .preinit_array pointer.
6851         * sysdeps/init_array/gmon-start.c: New file.  Use that.
6852         * sysdeps/init_array/crti.S: New file, empty except for comments.
6853         * sysdeps/init_array/crtn.S: Likewise.
6855 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
6857         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6858         definining bcopy.
6859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6860         Remove Prefer_SSE_for_memop.
6861         * sysdeps/x86_64/multiarch/init-arch.h: Remove
6862         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6863         HAS_PREFER_SSE_FOR_MEMOP.
6864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6865         memset-x86-64.
6866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6867         Remove bzero, memset ifunc support.
6868         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6869         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6870         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6871         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6873 2013-03-11  Andreas Schwab  <schwab@suse.de>
6875         [BZ #15234]
6876         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6877         by SHLIB_COMPAT.
6878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6879         (GLIBC_2.16): Remove pthread_atfork.
6881 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6883         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6884         (ptestcases.h): Likewise.
6886 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6888         * Makeconfig ($(common-objpfx)config.status): Depend on
6889         sysdeps/*/preconfigure{,.in} too.
6891 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6893         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6894         (__free_hook): Use void * instead of __malloc_ptr_t.
6895         (__malloc_hook): Likewise.
6896         (__realloc_hook): Likewise.
6897         (__memalign_hook): Likewise.
6898         (__after_morecore_hook): Likewise.
6899         * malloc/arena.c (save_malloc_hook): Likewise.
6900         (save_free_hook): Likewise.
6901         * malloc/hooks.c (malloc_hook_ini): Likewise.
6902         (realloc_hook_ini): Likewise.
6903         (memalign_hook_ini): Likewise.
6904         * malloc/malloc.c (malloc_hook_ini): Likewise.
6905         (realloc_hook_ini): Likewise.
6906         (memalign_hook_ini): Likewise.
6907         (__free_hook): Likewise.
6908         (__malloc_hook): Likewise.
6909         (__realloc_hook): Likewise.
6910         (__memalign_hook): Likewise.
6911         (__libc_malloc): Likewise.
6912         (__libc_free): Likewise.
6913         (__libc_realloc): Likewise.
6914         (__libc_memalign): Likewise.
6915         (__libc_valloc): Likewise.
6916         (__libc_pvalloc): Likewise.
6917         (__libc_calloc): Likewise.
6918         (__posix_memalign): Likewise.
6919         * malloc/morecore.c (__sbrk): Likewise.
6920         (__default_morecore): Likewise.
6922         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6924         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6925         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6926         __malloc_ptrdiff_t.
6928         * malloc/malloc.h (__malloc_size_t): Remove macro.
6929         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6930         __malloc_size_t.
6931         (old_memalign_hook): Likewise.
6932         (old_realloc_hook): Likewise.
6933         (struct hdr): Likewise.
6934         (flood): Likewise.
6935         (mallochook): Likewise.
6936         (memalignhook): Likewise.
6937         (reallochook): Likewise.
6938         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6939         (tr_old_realloc_hook): Likewise.
6940         (tr_old_memalign_hook): Likewise.
6941         (tr_mallochook): Likewise.
6942         (tr_reallochook): Likewise.
6943         (tr_memalignhook): Likewise.
6945 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6948         default_ldbl_pack and using as default implementation.
6949         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6950         implementation.
6951         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6952         redundant definition.
6953         (ldbl_insert_mantissa): Likewise.
6954         (ldbl_canonicalize): Likewise.
6955         (ldbl_nearbyint): Likewise.
6956         (ldbl_pack): Rename to ldbl_pack_ppc.
6957         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6958         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6959         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6961 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6964         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6965         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6966         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6968         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6969         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6970         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6972 2013-03-07  Andreas Jaeger  <aj@suse.de>
6974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6975         bits/mman-linux.h.
6977 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6979         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6980         Include mpa.h and declare __MPEXP.
6981         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6982         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6983         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6984         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6985         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6986         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6989         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6990         (__slowpow): Use long double EXPL and LOGL functions to
6991         compute POW.
6992         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6993         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6994         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6995         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6996         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6997         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7000         intermediate variable to calculate exponent.
7001         (__sqr): Likewise.
7002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7003         Likewise.
7004         (__sqr): Likewise.
7006         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7007         [!NO__SQR]: Define __sqr.
7008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7009         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7010         sysdeps/ieee754/dbl-64/mpa.c.
7011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7013         [BZ #12723]
7014         * posix/Makefile (tests): Add tst-pathconf.
7015         * posix/tst-pathconf.c: New test case.
7016         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7017         _PC_PIPE_BUF.
7018         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7020 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7022         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7024 2013-03-06  Andreas Jaeger  <aj@suse.de>
7026         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7027         definition via __MAP_ANONYMOUS.
7029         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7030         it's not part of Linux headers.
7032         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7033         (MAP_HUGE_MASK): Define.
7035         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7036         Define.
7037         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7038         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7039         Define.
7040         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7041         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7042         Define.
7043         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7044         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7045         Define.
7046         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7048         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7049         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7050         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7051         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7052         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7053         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7055         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7056         Handle f2fs.
7058         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7059         Handle f2fs and efivarfs.
7061         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7062         f2fs.
7064         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7065         (EFIVARFS_MAGIC): Add.
7066         (F2FS_LINK_MAX): Add.
7068 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7070         * stdio-common/vfprintf.c: Replace __builtin_expect with
7071         __glibc_unlikely.
7073 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7075         [BZ #13550]
7076         * sysdeps/generic/bp-sym.h: Remove file.
7077         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7078         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7079         <bp-sym.h> and <bp-asm.h>.
7080         (__longjmp): Don't use BP_SYM.
7081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7082         and <bp-asm.h>.
7083         (memcpy): Don't use BP_SYM.
7084         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7085         <bp-sym.h> and <bp-asm.h>.
7086         (memcpy): Don't use BP_SYM.
7087         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7088         <bp-asm.h>.
7089         (memcpy): Don't use BP_SYM.
7090         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7091         <bp-asm.h>.
7092         (memset): Don't use BP_SYM.
7093         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7094         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7095         (__bzero): Don't use BP_SYM.
7096         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7097         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7098         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7099         <bp-sym.h> and <bp-asm.h>.
7100         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7101         pointers.
7102         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7103         <bp-sym.h> and <bp-asm.h>.
7104         (memcpy): Don't use BP_SYM.
7105         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7106         <bp-sym.h> and <bp-asm.h>.
7107         (memset): Don't use BP_SYM.
7108         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7109         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7110         (__bzero): Don't use BP_SYM.
7111         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7112         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7113         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7114         <bp-sym.h> and <bp-asm.h>.
7115         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7116         pointers.
7117         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7118         <bp-sym.h> and <bp-asm.h>.
7119         (memcpy): Don't use BP_SYM.
7120         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7121         <bp-sym.h> and <bp-asm.h>.
7122         (memset): Don't use BP_SYM.
7123         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7124         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7125         (__bzero): Don't use BP_SYM.
7126         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7127         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7128         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7129         <bp-sym.h> and <bp-asm.h>.
7130         (__memchr): Don't use BP_SYM.
7131         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7132         <bp-sym.h> and <bp-asm.h>.
7133         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7134         pointers.
7135         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7136         <bp-sym.h> and <bp-asm.h>.
7137         (memcpy): Don't use BP_SYM.
7138         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7139         <bp-sym.h> and <bp-asm.h>.
7140         (__mempcpy): Don't use BP_SYM.
7141         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7142         <bp-sym.h> and <bp-asm.h>.
7143         (__memrchr): Don't use BP_SYM.
7144         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7145         <bp-sym.h> and <bp-asm.h>.
7146         (memset): Don't use BP_SYM.
7147         (__bzero): Likewise.
7148         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7149         <bp-sym.h> and <bp-asm.h>.
7150         (__rawmemchr): Don't use BP_SYM.
7151         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7152         <bp-sym.h> and <bp-asm.h>.
7153         (__STRCMP): Don't use BP_SYM.
7154         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7155         <bp-sym.h> and <bp-asm.h>.
7156         (strchr): Don't use BP_SYM.
7157         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7158         <bp-sym.h> and <bp-asm.h>.
7159         (__strchrnul): Don't use BP_SYM.
7160         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7161         <bp-sym.h> and <bp-asm.h>.
7162         (strlen): Don't use BP_SYM.
7163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7164         <bp-sym.h> and <bp-asm.h>.
7165         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7166         pointers.
7167         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7168         <bp-sym.h> and <bp-asm.h>.
7169         (__strnlen): Don't use BP_SYM.
7170         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7171         <bp-sym.h> and <bp-asm.h>.
7172         (__GI__setjmp): Don't use BP_SYM.
7173         (_setjmp): Likewise.
7174         (__sigsetjmp): Likewise.
7175         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7176         (L(start_addresses)): Don't use BP_SYM.
7177         (_start): Likewise.
7178         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7179         <bp-asm.h>.
7180         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7181         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7182         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7183         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7184         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7185         <bp-asm.h>.
7186         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7187         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7188         about bounded pointers.
7189         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7190         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7191         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7192         <bp-asm.h>.
7193         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7194         about bounded pointers.  Remove GKM FIXME comments.
7195         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7196         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7197         <bp-asm.h>.
7198         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7199         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7200         Remove GKM FIXME comments.
7201         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7202         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7203         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7204         <bp-asm.h>.
7205         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7206         about bounded pointers.  Remove GKM FIXME comment.
7207         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7208         and <bp-asm.h>.
7209         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7210         pointers.
7211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7212         <bp-sym.h> and <bp-asm.h>.
7213         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7215         <bp-sym.h> and <bp-asm.h>.
7216         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7217         comment.
7219 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7221         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7222         call free(NULL).
7224 2013-03-05  David S. Miller  <davem@davemloft.net>
7226         * po/es.po: Update from translation team.
7228 2013-03-05  Andreas Jaeger  <aj@suse.de>
7230         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7231         <bits/mman-linux.h>.
7232         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7233         is fine.
7234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7235         <bits/mman-linux.h> to end of file.
7236         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7237         is fine.
7238         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7239         <bits/mman-linux.h> to end of file.
7240         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7241         is fine.
7242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7243         <bits/mman-linux.h> to end of file.
7245         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7246         (MCL_CURRENT, MCL_FUTURE): Define here.
7248 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7250         [BZ #15232]
7251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7252         attribute_hidden.
7253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7255 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7257         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7258         fourth parameter needed for rt_sigprocmask syscall.
7259         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7260         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7261         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7262         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7263         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7264         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7266 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7268         [BZ #13550]
7269         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7270         comment about bounded pointers.
7271         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7272         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7274 2013-03-04  Andreas Jaeger  <aj@suse.de>
7276         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7277         common definitions.
7279         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7280         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7281         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7282         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7283         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7284         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7286 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7288         [BZ #15055]
7289         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7290         __ieee754_sqrl instead of __sqrl.
7292 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7294         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7295         * sysdeps/powerpc/fpu_control.h: ... here.
7296         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7297         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7298         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7299         * sysdeps/powerpc/bits/mathinline.h: ... here.
7301 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7303         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7304         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7305         to just [NEED_DL_SYSINFO_DSO].
7306         * elf/dl-support.c: Likewise.
7307         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7308         * elf/rtld.c (dl_main): Likewise.
7309         * elf/setup-vdso.h (setup_vdso): Likewise.
7310         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7311         * sysdeps/unix/sysv/linux/dl-sysdep.c
7312         (_dl_discover_osversion): Likewise.
7314 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7316         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7317         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7319 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7321         * NEWS: Mention libm performance improvements and non-x86 PI
7322         futex support.
7324         * csu/libc-start.c (__pthread_initialize_minimal): Change
7325         function arguments.
7326         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7328 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7330         [BZ #13550]
7331         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7332         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7333         <bp-sym.h> and <bp-asm.h>.
7334         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7335         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7336         and <bp-asm.h>.
7337         (memcpy): Don't use BP_SYM.
7338         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7339         <bp-asm.h>.
7340         (__mpn_add_n): Don't use BP_SYM.
7341         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7342         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7343         and <bp-asm.h>.
7344         (__mpn_addmul_1): Don't use BP_SYM.
7345         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7346         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7347         <bp-sym.h>.
7348         (_setjmp): Don't use BP_SYM.
7349         (__novmx_setjmp): Likewise.
7350         (__GI__setjmp): Likewise.
7351         (__vmx_setjmp): Likewise.
7352         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7353         <bp-sym.h>.
7354         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7355         (__bzero): Don't use BP_SYM.
7356         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7357         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7358         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7359         <bp-sym.h> and <bp-asm.h>.
7360         (memcpy): Don't use BP_SYM.
7361         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7362         <bp-sym.h> and <bp-asm.h>.
7363         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7365         <bp-sym.h> and <bp-asm.h>.
7366         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7367         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7368         <bp-asm.h>.
7369         (__mpn_lshift): Don't use BP_SYM.
7370         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7371         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7372         <bp-asm.h>.
7373         (memset): Don't use BP_SYM.
7374         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7375         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7376         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7377         <bp-asm.h>.
7378         (__mpn_mul_1): Don't use BP_SYM.
7379         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7380         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7381         <bp-sym.h> and <bp-asm.h>.
7382         (memcmp): Don't use BP_SYM.
7383         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7384         <bp-sym.h> and <bp-asm.h>.
7385         (memcpy): Don't use BP_SYM.
7386         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7387         <bp-sym.h> and <bp-asm.h>.
7388         (memset): Don't use BP_SYM.
7389         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7390         <bp-sym.h> and <bp-asm.h>.
7391         (strncmp): Don't use BP_SYM.
7392         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7393         <bp-sym.h> and <bp-asm.h>.
7394         (memcpy): Don't use BP_SYM.
7395         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7396         <bp-sym.h> and <bp-asm.h>.
7397         (memset): Don't use BP_SYM.
7398         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7399         <bp-sym.h> and <bp-asm.h>.
7400         (__memchr): Don't use BP_SYM.
7401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7402         <bp-sym.h> and <bp-asm.h>.
7403         (memcmp): Don't use BP_SYM.
7404         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7405         <bp-sym.h> and <bp-asm.h>.
7406         (memcpy): Don't use BP_SYM.
7407         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7408         <bp-sym.h> and <bp-asm.h>.
7409         (__mempcpy): Don't use BP_SYM.
7410         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7411         <bp-sym.h> and <bp-asm.h>.
7412         (__memrchr): Don't use BP_SYM.
7413         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7414         <bp-sym.h> and <bp-asm.h>.
7415         (memset): Don't use BP_SYM.
7416         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7417         <bp-sym.h> and <bp-asm.h>.
7418         (__rawmemchr): Don't use BP_SYM.
7419         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7420         <bp-sym.h> and <bp-asm.h>.
7421         (__STRCMP): Don't use BP_SYM.
7422         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7423         <bp-sym.h> and <bp-asm.h>.
7424         (strchr): Don't use BP_SYM.
7425         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7426         <bp-sym.h> and <bp-asm.h>.
7427         (__strchrnul): Don't use BP_SYM.
7428         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7429         <bp-sym.h> and <bp-asm.h>.
7430         (strlen): Don't use BP_SYM.
7431         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7432         <bp-sym.h> and <bp-asm.h>.
7433         (strncmp): Don't use BP_SYM.
7434         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7435         <bp-sym.h> and <bp-asm.h>.
7436         (__strnlen): Don't use BP_SYM.
7437         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7438         <bp-asm.h>.
7439         (__mpn_rshift): Don't use BP_SYM.
7440         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7441         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7442         <bp-sym.h> and <bp-asm.h>.
7443         (__sigsetjmp): Don't use BP_SYM.
7444         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7445         (L(start_addresses)): Don't use BP_SYM.
7446         (_start): Likewise.
7447         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7448         <bp-asm.h>.
7449         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7450         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7451         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7452         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7453         <bp-asm.h>.
7454         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7455         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7456         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7457         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7458         <bp-asm.h>.
7459         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7460         comments.
7461         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7462         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7463         <bp-asm.h>.
7464         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7465         FIXME comments.
7466         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7467         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7468         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7469         <bp-asm.h>.
7470         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7471         comment.
7472         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7473         and <bp-asm.h>.
7474         (strncmp): Don't use BP_SYM,
7475         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7476         <bp-asm.h>.
7477         (__mpn_sub_n): Don't use BP_SYM.
7478         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7479         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7480         and <bp-asm.h>.
7481         (__mpn_submul_1): Don't use BP_SYM.
7482         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7484         <bp-sym.h> and <bp-asm.h>.
7485         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7487         <bp-sym.h> and <bp-asm.h>.
7488         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7489         comment.
7491 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7494         Use ZK to minimize writes to Z.
7495         (sub_magnitudes): Simplify code a bit.
7496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7497         Use ZK to minimize writes to Z.
7498         (sub_magnitudes): Simplify code a bit.
7500 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7502         * csu/gmon-start.c: Add special exception to license text.
7504 2013-02-27  Richard Henderson  <rth@redhat.com>
7506         * scripts/config.guess: Update from config.git.
7507         * scripts/config.sub: Likewise.
7509 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7511         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7513         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7515         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7517         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7519         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7521 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7523         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7524         [$(build-shared = yes].
7526 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7528         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7529         (__mul): Reduce iterations for calculating mantissa.
7531         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7532         MPTWO.
7533         (__mpranred): Likewise.
7535         [BZ #15160]
7536         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7537         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7539 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7541         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7542         Define __attribute__.
7544 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7546         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7547         unused.
7548         * posix/regex_internal.h (__attribute): Remove.
7549         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7550         (re_string_context_at): Likewise.
7551         (bitset_not): Use __attribute__ and mark function as possibly
7552         unused.
7553         (bitset_merge): Likewise.
7554         (bitset_mask): Likewise.
7555         (re_string_char_size_at): Likewise.
7556         (re_string_wchar_at): Likewise.
7557         (re_string_elem_size_at): Likewise.
7559 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7561         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7562         code.
7563         (cc32): Likewise.
7565         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7566         (__acr): Likewise.
7567         (__cpy): Likewise.
7568         (norm): Likewise.
7569         (denorm): Likewise.
7570         (__dbl_mp): Likewise.
7571         (add_magnitudes): Likewise.
7572         (sub_magnitudes): Likewise.
7573         (__mul): Likewise.
7574         (__inv): Likewise.
7576         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7577         style.
7579         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7580         style.
7582         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7583         code.
7585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7586         up changes with default code.
7587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7588         Likewise.
7590 2013-02-24  Allan McRae  <allan@archlinux.org>
7592         * manual/socket.texi (The Internet Namespace): Order menu items
7593         to match that in the file.
7595         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7596         node listing of the info page menu.
7598 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7600         [BZ #13550]
7601         * sysdeps/i386/bp-asm.h: Remove file.
7602         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7603         (PARMS): Do not use macros from bp-asm.h.
7604         (S1): Likewise.
7605         (S2): Likewise.
7606         (SIZE): Likewise.
7607         (__mpn_add_n): Do not use BP_SYM
7608         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7609         "bp-asm.h".
7610         (PARMS): Do not use macros from bp-asm.h.
7611         (S1): Likewise.
7612         (SIZE): Likewise.
7613         (__mpn_addmul_1): Do not use BP_SYM
7614         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7615         "bp-asm.h".
7616         (PARMS): Do not use macros from bp-asm.h.
7617         (SIGMSK): Likewise.
7618         (_setjmp): Likewise.  Do not use BP_SYM.
7619         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7620         "bp-asm.h".
7621         (PARMS): Do not use macros from bp-asm.h.
7622         (SIGMSK): Likewise.
7623         (setjmp): Likewise.  Do not use BP_SYM.
7624         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7625         "bp-asm.h".
7626         (PARMS): Do not use macros from bp-asm.h.
7627         (__frexp): Do not use BP_SYM.
7628         (frexp): Likewise.
7629         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7630         "bp-asm.h".
7631         (PARMS): Do not use macros from bp-asm.h.
7632         (__frexpf): Do not use BP_SYM.
7633         (frexpf): Likewise.
7634         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7635         "bp-asm.h".
7636         (PARMS): Do not use macros from bp-asm.h.
7637         (__frexpl): Do not use BP_SYM.
7638         (frexpl): Likewise.
7639         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7640         "bp-asm.h".
7641         (PARMS): Do not use macros from bp-asm.h.
7642         (__remquo): Do not use BP_SYM.
7643         (remquo): Likewise.
7644         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7645         "bp-asm.h".
7646         (PARMS): Do not use macros from bp-asm.h.
7647         (__remquof): Do not use BP_SYM.
7648         (remquof): Likewise.
7649         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7650         "bp-asm.h".
7651         (PARMS): Do not use macros from bp-asm.h.
7652         (__remquol): Do not use BP_SYM.
7653         (remquol): Likewise.
7654         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7655         "bp-asm.h".
7656         (PARMS): Do not use macros from bp-asm.h.
7657         (DEST): Likewise.
7658         (SRC): Likewise.
7659         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7660         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7661         "bp-asm.h".
7662         (PARMS): Do not use macros from bp-asm.h.
7663         (strlen): Do not use BP_SYM.
7664         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7665         "bp-asm.h".
7666         (PARMS): Do not use macros from bp-asm.h.
7667         (S1): Likewise.
7668         (S2): Likewise.
7669         (SIZE): Likewise.
7670         (__mpn_add_n): Do not use BP_SYM.
7671         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7672         "bp-asm.h".
7673         (PARMS): Do not use macros from bp-asm.h.
7674         (S1): Likewise.
7675         (SIZE): Likewise.
7676         (__mpn_addmul_1): Do not use BP_SYM.
7677         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7678         weak_alias.
7679         (bzero): Likewise.
7680         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7681         "bp-asm.h".
7682         (PARMS): Do not use macros from bp-asm.h.
7683         (S): Likewise.
7684         (SIZE): Likewise.
7685         (__mpn_lshift): Do not use BP_SYM.
7686         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7687         "bp-asm.h".
7688         (PARMS): Do not use macros from bp-asm.h.
7689         (DEST): Likewise.
7690         (SRC): Likewise.
7691         (LEN): Likewise.
7692         (memcpy): Likewise.  Do not use BP_SYM.
7693         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7694         libc_hidden_def and weak_alias.
7695         (mempcpy): Do not use BP_SYM in weak_alias.
7696         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7697         "bp-asm.h".
7698         (PARMS): Do not use macros from bp-asm.h.
7699         (DEST): Likewise.
7700         (LEN): Likewise.
7701         [!BZERO_P] (CHR): Likewise.
7702         (memset): Likewise.  Do not use BP_SYM.
7703         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7704         "bp-asm.h".
7705         (PARMS): Do not use macros from bp-asm.h.
7706         (S1): Likewise.
7707         (SIZE): Likewise.
7708         (__mpn_mul_1): Do not use BP_SYM.
7709         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7710         "bp-asm.h".
7711         (PARMS): Do not use macros from bp-asm.h.
7712         (S): Likewise.
7713         (SIZE): Likewise.
7714         (__mpn_rshift): Do not use BP_SYM.
7715         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7716         "bp-asm.h".
7717         (PARMS): Do not use macros from bp-asm.h.
7718         (STR): Likewise.
7719         (CHR): Likewise.
7720         (strchr): Likewise.  Do not use BP_SYM.
7721         (index): Do not use BP_SYM in weak_alias.
7722         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7723         "bp-asm.h".
7724         (PARMS): Do not use macros from bp-asm.h.
7725         (DEST): Likewise.
7726         (SRC): Likewise.
7727         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7728         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7729         "bp-asm.h".
7730         (PARMS): Do not use macros from bp-asm.h.
7731         (strlen): Do not use BP_SYM.
7732         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7733         "bp-asm.h".
7734         (PARMS): Do not use macros from bp-asm.h.
7735         (S1): Likewise.
7736         (S2): Likewise.
7737         (SIZE): Likewise.
7738         (__mpn_sub_n): Do not use BP_SYM.
7739         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7740         "bp-asm.h".
7741         (PARMS): Do not use macros from bp-asm.h.
7742         (S1): Likewise.
7743         (SIZE): Likewise.
7744         (__mpn_submul_1): Do not use BP_SYM.
7745         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7746         "bp-asm.h".
7747         (PARMS): Do not use macros from bp-asm.h.
7748         (S1): Likewise.
7749         (S2): Likewise.
7750         (SIZE): Likewise.
7751         (__mpn_add_n): Do not use BP_SYM.
7752         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7753         weak_alias.
7754         (bzero): Likewise.
7755         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7756         "bp-asm.h".
7757         (PARMS): Do not use macros from bp-asm.h.
7758         (BLK2): Likewise.
7759         (LEN): Likewise.
7760         (memcmp): Do not use BP_SYM.
7761         (bcmp): Do not use BP_SYM in weak_alias.
7762         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7763         "bp-asm.h".
7764         (PARMS): Do not use macros from bp-asm.h.
7765         (DEST): Likewise.
7766         (SRC): Likewise.
7767         (LEN): Likewise.
7768         (memcpy): Likewise.  Do not use BP_SYM.
7769         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7770         "bp-asm.h".
7771         (PARMS): Do not use macros from bp-asm.h.
7772         (DEST): Likewise.
7773         (SRC): Likewise.
7774         (LEN): Likewise.
7775         (memmove): Likewise.  Do not use BP_SYM.
7776         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7777         "bp-asm.h".
7778         (PARMS): Do not use macros from bp-asm.h.
7779         (DEST): Likewise.
7780         (SRC): Likewise.
7781         (LEN): Likewise.
7782         (__mempcpy): Likewise.  Do not use BP_SYM.
7783         (mempcpy): Do not use BP_SYM in weak_alias.
7784         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7785         "bp-asm.h".
7786         (PARMS): Do not use macros from bp-asm.h.
7787         (DEST): Likewise.
7788         (LEN): Likewise.
7789         [!BZERO_P] (CHR): Likewise.
7790         (memset): Likewise.  Do not use BP_SYM.
7791         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7792         "bp-asm.h".
7793         (PARMS): Do not use macros from bp-asm.h.
7794         (STR2): Likewise.
7795         (strcmp): Do not use BP_SYM.
7796         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7797         "bp-asm.h".
7798         (PARMS): Do not use macros from bp-asm.h.
7799         (STR): Likewise.
7800         (DELIM): Likewise.
7801         [USE_AS_STRTOK_R] (SAVE): Likewise.
7802         (FUNCTION): Likewise.  Do not use BP_SYM.
7803         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7804         aliases.
7805         (strtok_r): Likewise.
7806         (__GI___strtok_r): Likewise.
7807         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7808         (PARMS): Do not use macros from bp-asm.h.
7809         (S): Likewise.
7810         (SIZE): Likewise.
7811         (__mpn_lshift): Do not use BP_SYM.
7812         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7813         (PARMS): Do not use macros from bp-asm.h.
7814         (STR): Likewise.
7815         (CHR): Likewise.
7816         (__memchr): Do not use BP_SYM.
7817         (memchr): Do not use BP_SYM in weak_alias.
7818         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7819         (PARMS): Do not use macros from bp-asm.h.
7820         (BLK2): Likewise.
7821         (LEN): Likewise.
7822         (memcmp): Do not use BP_SYM.
7823         (bcmp): Do not use BP_SYM in weak_alias.
7824         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7825         (PARMS): Do not use macros from bp-asm.h.
7826         (S1): Likewise.
7827         (SIZE): Likewise.
7828         (__mpn_mul_1): Do not use BP_SYM.
7829         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7830         "bp-asm.h".
7831         (PARMS): Do not use macros from bp-asm.h.
7832         (STR): Likewise.
7833         (CHR): Likewise.
7834         (__rawmemchr): Do not use BP_SYM.
7835         (rawmemchr): Do not use BP_SYM in weak_alias.
7836         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7837         (PARMS): Do not use macros from bp-asm.h.
7838         (S): Likewise.
7839         (SIZE): Likewise.
7840         (__mpn_rshift): Do not use BP_SYM.
7841         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7842         (PARMS): Do not use macros from bp-asm.h.
7843         (SIGMSK): Likewise.
7844         (__sigsetjmp): Likewise.  Do not use BP_SYM.
7845         * sysdeps/i386/start.S: Do not include "bp-sym.h".
7846         (_start): Do not use BP_SYM.
7847         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7848         (PARMS): Do not use macros from bp-asm.h.
7849         (DEST): Likewise.
7850         (SRC): Likewise.
7851         (__stpcpy): Likewise.  Do not use BP_SYM.
7852         (stpcpy): Do not use BP_SYM in weak_alias.
7853         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7854         "bp-asm.h".
7855         (PARMS): Do not use macros from bp-asm.h.
7856         (DEST): Likewise.
7857         (SRC): Likewise.
7858         (LEN): Likewise.
7859         (__stpncpy): Likewise.  Do not use BP_SYM.
7860         (stpncpy): Do not use BP_SYM in weak_alias.
7861         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7862         (PARMS): Do not use macros from bp-asm.h.
7863         (STR): Likewise.
7864         (CHR): Likewise.
7865         (strchr): Likewise.  Do not use BP_SYM.
7866         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7867         "bp-asm.h".
7868         (PARMS): Do not use macros from bp-asm.h.
7869         (STR): Likewise.
7870         (CHR): Likewise.
7871         (__strchrnul): Likewise.  Do not use BP_SYM.
7872         (strchrnul): Do not use BP_SYM in weak_alias.
7873         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7874         "bp-asm.h".
7875         (PARMS): Do not use macros from bp-asm.h.
7876         (STOP): Likewise.
7877         (strcspn): Do not use BP_SYM.
7878         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7879         "bp-asm.h".
7880         (PARMS): Do not use macros from bp-asm.h.
7881         (STR): Likewise.
7882         (STOP): Likewise.
7883         (strpbrk): Likewise.  Do not use BP_SYM.
7884         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7885         "bp-asm.h".
7886         (PARMS): Do not use macros from bp-asm.h.
7887         (STR): Likewise.
7888         (CHR): Likewise.
7889         (strrchr): Likewise.  Do not use BP_SYM.
7890         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7891         (PARMS): Do not use macros from bp-asm.h.
7892         (SKIP): Likewise.
7893         (strspn): Do not use BP_SYM.
7894         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7895         (PARMS): Do not use macros from bp-asm.h.
7896         (STR): Likewise.
7897         (DELIM): Likewise.
7898         (SAVE): Likewise.
7899         (FUNCTION): Likewise.  Do not use BP_SYM.
7900         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7901         aliases.
7902         (strtok_r): Likewise.
7903         (__GI___strtok_r): Likewise.
7904         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7905         (PARMS): Do not use macros from bp-asm.h.
7906         (S1): Likewise.
7907         (S2): Likewise.
7908         (SIZE): Likewise.
7909         (__mpn_sub_n): Do not use BP_SYM.
7910         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7911         "bp-asm.h".
7912         (PARMS): Do not use macros from bp-asm.h.
7913         (S1): Likewise.
7914         (SIZE): Likewise.
7915         (__mpn_submul_1): Do not use BP_SYM.
7916         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7917         <bp-sym.h>.
7918         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7919         and <bp-asm.h>.
7920         (PARMS): Do not use macros from bp-asm.h.
7921         (FLAGS): Likewise.
7922         (PTID): Likewise.
7923         (TLS): Likewise.
7924         (CTID): Likewise.
7925         (__clone): Do not use BP_SYM.
7926         (clone): Do not use BP_SYM in weak_alias.
7927         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7928         and <bp-asm.h>.
7929         (PARMS): Do not use macros from bp-asm.h.
7930         (LEN): Likewise.
7931         (__mmap64): Do not use BP_SYM.
7932         (mmap64): Do not use BP_SYM in weak_alias.
7933         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7934         <bp-sym.h> and <bp-asm.h>.
7935         (PARMS): Do not use macros from bp-asm.h.
7936         (__posix_fadvise64_l64): Do not use BP_SYM.
7937         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7938         (PARMS): Do not use macros from bp-asm.h.
7939         (NSOPS): Likewise.
7940         (semtimedop): Do not use BP_SYM.
7941         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7942         and <bp-asm.h>.
7944 2013-02-21  Allan McRae  <allan@archlinux.org>
7946         * manual/message.texi (Charset conversion in gettext):
7947         Move @end statement to beginning of line.
7949 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7952         static.
7953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7954         Likewise.
7956         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7957         (denorm): Likewise.
7958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7961 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7963         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7964         tail-call to the resolved function if pltexit isn't needed.
7966 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7969         or Y being zero as being unlikely.
7970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7971         Likewise.
7973 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7975         * manual/nss.texi (System Databases and Name Service Switch):
7976         Remove frobnicate @pxref.
7978 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7980         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7981         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7983 2013-02-20  Petr Machata  <pmachata@redhat.com>
7985         * elf/elf.h (R_ARM_TARGET1): New macro.
7986         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7987         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7988         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7989         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7990         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7991         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7992         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7993         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7994         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7995         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7996         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7997         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7998         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7999         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8000         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8001         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8002         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8003         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8004         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8005         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8006         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8007         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8008         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8009         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8010         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8011         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8012         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8013         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8014         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8015         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8016         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8017         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8018         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8019         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8020         (R_ARM_THM_GOT_BREL12): Likewise.
8021         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8022         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8023         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8024         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8025         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8026         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8027         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8028         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8029         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8031 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8033         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8034         __attribute_used__ to __attribute__ ((unused)).
8036 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8038         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8039         powerpc mpa.c.
8040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8041         comment formatting.
8042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8044 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8046         [BZ #13550]
8047         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8048         Remove macro.
8049         (ENTER): Remove both macro definitions.
8050         (LEAVE): Likewise.
8051         (CHECK_BOUNDS_LOW): Likewise.
8052         (CHECK_BOUNDS_HIGH): Likewise.
8053         (CHECK_BOUNDS_BOTH): Likewise.
8054         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8055         (RETURN_BOUNDED_POINTER): Likewise.
8056         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8057         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8058         (POP_ERRNO_LOCATION_RETURN): Likewise.
8059         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8060         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8061         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8062         macros.
8063         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8064         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8065         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8066         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8067         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8068         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8069         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8070         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8071         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8072         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8073         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8074         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8075         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8076         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8077         removed macros.
8078         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8079         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8080         macros.
8081         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8082         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8083         * sysdeps/i386/i586/memset.S (memset): Likewise.
8084         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8085         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8086         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8087         macros.
8088         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8089         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8090         Change uses of L(2) to L(out).
8091         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8092         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8093         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8094         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8095         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8096         removed macros.
8097         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8098         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8099         macros.
8100         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8101         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8102         (RETURN): Do not use macro LEAVE.
8103         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8104         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8105         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8106         * sysdeps/i386/i686/memset.S (memset): Likewise.
8107         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8108         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8109         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8110         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8111         Likewise.
8112         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8113         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8114         L(1_2) and L(1_3) into L(1).
8115         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8116         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8117         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8118         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8119         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8120         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8121         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8122         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8123         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8124         macros.
8125         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8126         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8127         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8128         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8129         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8130         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8131         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8132         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8133         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8134         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8135         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8136         * sysdeps/i386/strspn.S (strspn): Likewise.
8137         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8138         conditional code.
8139         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8140         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8141         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8142         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8143         L(1_3) into L(1_1).
8144         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8145         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8146         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8147         macros.
8148         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8150 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8152         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8153         macro.
8155 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8157         * math/atest-exp.c (exp_mpn): Remove ROUND.
8158         * math/atest-exp2.c (exp_mpn): Likewise.
8159         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8161         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8162         * stdlib/tst-tls-atexit-lib.c: Likewise.
8163         * stdlib/tst-tls-atexit.c: Likewise.
8165 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8167         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8168         and __attribute_alloc_size__.
8170 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8172         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8173         __attribute_alloc_size__.
8174         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8175         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8177 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8179         * include/programs/xmalloc.h: New file.
8180         * catgets/gencat.c: Include it.
8181         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8182         * elf/pldd.c: Likewise.
8183         * iconv/iconv_charmap.c: Likewise.
8184         * iconv/iconvconfig.c: Likewise.
8185         * iconv/strtab.c: Likewise.
8186         * locale/programs/locale.c: Likewise.
8187         * locale/programs/localedef.h: Likewise.
8188         * locale/programs/simple-hash.c: Likewise.
8189         * nscd/nscd.h: Likewise.
8190         * nss/makedb.c: Likewise.
8191         * sysdeps/generic/ldconfig.h: Likewise.
8193 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8195         * Versions.def: Add GLIBC_2.18.
8196         * include/link.h (struct link_map): New member l_tls_dtor_count.
8197         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8198         (__call_tls_dtors): Likewise.
8199         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8200         __cxa_thread_atexit_impl.
8201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8202         Likewise.
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8204         Likewise.
8205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8208         Likewise.
8209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8211         Likewise.
8212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8213         Likewise.
8214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8216         Likewise.
8217         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8218         (tests): Add test case tst-tls-atexit.
8219         (modules-names): Add shared library for tst-tls-atexit.
8220         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8221         (GLIBC_PRIVATE): Add __call_tls_dtors.
8222         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8223         for libstdc++.
8224         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8225         * stdlib/tst-tls-atexit.c: New test case.
8226         * stdlib/tst-tls-atexit-lib.c: New test case.
8228         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8230         * elf/Versions (ld): Add _dl_find_dso_for_object.
8231         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8232         * elf/dl-open.c (_dl_find_dso_for_object): New function.
8233         (dl_open_worker): Use _dl_find_dso_for_object.
8234         * elf/dl-sym.c (do_sym): Likewise.
8235         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8237 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8239         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8240         Syntactic changes only.
8241         (_dl_runtime_profile): Do a tail-call to the resolved function.
8243 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8245         [BZ #13550]
8246         * sysdeps/x86_64/bp-asm.h: Remove file.
8247         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8248         <bp-sym.h> and <bp-asm.h>.
8249         (__clone): Do not use BP_SYM.
8250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8251         <bp-sym.h> and <bp-asm.h>.
8252         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8253         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8254         "bp-asm.h".
8255         (_setjmp): Do not use BP_SYM.
8256         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8257         "bp-asm.h".
8258         (setjmp): Do not use BP_SYM.
8259         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8260         libc_hidden_def.
8261         (mempcpy): Do not use BP_SYM in weak_alias.
8262         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8263         "bp-asm.h".
8264         (strchr): Do not use BP_SYM.
8265         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8266         "bp-asm.h".
8267         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8268         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8269         (_start): Do not use BP_SYM.
8270         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8271         "bp-asm.h".
8272         (strcat): Do not use BP_SYM.
8273         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8274         "bp-asm.h".
8275         (STRCMP): Do not use BP_SYM.
8276         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8277         "bp-asm.h".
8278         (STRCPY): Do not use BP_SYM.
8279         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8280         "bp-asm.h".
8281         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8282         "bp-asm.h".
8283         (FUNCTION): Do not use BP_SYM.
8284         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8285         weak_alias.
8286         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8288 2013-02-17  Andreas Jaeger  <aj@suse.de>
8290         * time/Versions: Sort entries.
8291         * string/Versions: Likewise.
8292         * resolv/Versions: Likewise.
8293         * posix/Versions: Likewise.
8294         * iconv/Versions: Likewise.
8295         * elf/Versions: Likewise.
8296         * wcsmbs/Versions: Likewise.
8298 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8300         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8301         loop termination condition.
8303         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8304         variable to calculate EZ.
8305         (__sqr): Likewise.
8307         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8308         the lower precision input.
8310 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8312         [BZ #13550]
8313         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8314         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8315         (run-via-rtld-prefix): Do not handle %-bp tests.
8316         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8317         (all-object-suffixes): Remove .ob.
8318         (bppfx): Remove variable.
8319         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8320         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8321         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8322         [$(build-bounded) = yes] (libtype.ob): Likewise.
8323         * Makerules (elide-routines.ob): Remove variable.
8324         (do-tests-clean): Do not handle *-bp.out.
8325         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8326         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8327         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8328         (tests): Do not include $(tests-bp.out).
8329         (xtests): Do not include $(xtests-bp.out).
8330         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8331         [$(build-bounded) = yes] ($(addprefix
8332         $(objpfx),$(binaries-bounded))): Remove rule.
8333         ($(objpfx)%-bp.out): Remove rule.
8334         * config.make.in (build-bounded): Remove variable.
8335         * crypt/Makefile [$(build-bounded) = yes]
8336         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8337         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8338         append to variable.
8339         [$(build-bounded) = yes] (install-lib): Likewise.
8340         [$(build-bounded) = yes] (generated): Likewise.
8341         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8342         Remove rule.
8343         * intl/Makefile [$(build-bounded) = yes]
8344         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8345         * math/Makefile [$(build-bounded) = yes]
8346         ($(tests:%=$(objpfx)%-bp): Likewise.
8347         * misc/Makefile [$(build-bounded) = yes]
8348         ($(objpfx)tst-tsearch-bp): Likewise.
8349         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8350         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8351         Remove dependency.
8352         * string/Makefile (o-objects.ob): Remove variable.
8353         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8354         (CFLAGS-.ob): Remove variable.
8355         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8356         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8357         both definitions of variable.
8358         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8359         (ASFLAGS-.ob): Remove variable.
8361 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8363         [BZ #13550]
8364         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8365         Remove __BOUNDED_POINTERS__ from condition.
8366         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8367         * string/bits/string2.h [!__NO_STRING_INLINES &&
8368         !__BOUNDED_POINTERS__]: Likewise.
8369         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8370         Likewise.
8371         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8372         Remove conditional code.
8373         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8374         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8375         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8376         condition.
8378         [BZ #13550]
8379         * csu/libc-start.c: Do not include <bp-sym.h>.
8380         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8381         * elf/dl-open.c: Do not include <bp-sym.h>.
8382         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8383         * math/fegetenv.c: Do not include <bp-sym.h>.
8384         (fegetenv): Do not use BP_SYM in versioned symbols.
8385         * nptl/sysdeps/pthread/bits/libc-lockP.h
8386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8387         <bp-sym.h>.
8388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8389         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8391         (__pthread_mutex_destroy): Likewise.
8392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8393         (__pthread_mutex_lock): Likewise.
8394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8395         (__pthread_mutex_trylock): Likewise.
8396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8397         (__pthread_mutex_unlock): Likewise.
8398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8399         (__pthread_mutexattr_init): Likewise.
8400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8401         (__pthread_mutexattr_destroy): Likewise.
8402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8403         (__pthread_mutexattr_settype): Likewise.
8404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8405         (__pthread_rwlock_init): Likewise.
8406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8407         (__pthread_rwlock_destroy): Likewise.
8408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8409         (__pthread_rwlock_rdlock): Likewise.
8410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8411         (__pthread_rwlock_tryrdlock): Likewise.
8412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8413         (__pthread_rwlock_wrlock): Likewise.
8414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8415         (__pthread_rwlock_trywrlock): Likewise.
8416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8417         (__pthread_rwlock_unlock): Likewise.
8418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8419         (__pthread_key_create): Likewise.
8420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8421         (__pthread_setspecific): Likewise.
8422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8423         (__pthread_getspecific): Likewise.
8424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8425         Likewise.
8426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8427         (_pthread_cleanup_push_defer): Likewise.
8428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8429         (_pthread_cleanup_pop_restore): Likewise.
8430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8431         (pthread_setcancelstate): Likewise.
8432         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8433         <bp-sym.h>.
8434         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8435         (memchr): Do not use BP_SYM in weak_alias.
8436         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8437         (fegetenv): Do not use BP_SYM in versioned symbols.
8438         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8439         (fesetenv): Do not use BP_SYM in versioned symbols.
8440         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8441         (feupdateenv): Do not use BP_SYM in versioned symbols.
8442         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8443         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8444         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8445         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8446         (open64): Do not use BP_SYM in weak_alias.
8447         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8448         (fegetenv): Do not use BP_SYM in versioned symbols.
8449         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8450         (fesetenv): Do not use BP_SYM in versioned symbols.
8451         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8452         (feupdateenv): Do not use BP_SYM in versioned symbols.
8453         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8454         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8455         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8456         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8457         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8458         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8460         <bp-sym.h>.
8461         (__libc_start_main): Do not use BP_SYM.
8463 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8466         redundant return line.
8467         (norm): Likewise.
8468         (denorm): Likewise.
8469         (dbl_mp): Likewise.
8470         (sub_magnitudes): Likewise.
8471         (__add): Likewise.
8472         (__sub): Likewise.
8473         (__mul): Likewise.
8474         (__inv): Likewise.
8475         (__dvd): Likewise.
8476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8477         (norm): Likewise.
8478         (denorm): Likewise.
8479         (dbl_mp): Likewise.
8480         (sub_magnitudes): Likewise.
8481         (__add): Likewise.
8482         (__sub): Likewise.
8483         (__mul): Likewise.
8484         (__inv): Likewise.
8485         (__dvd): Likewise.
8487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8488         instead of __mul.
8489         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8490         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8491         (cc32): Likewise.
8493         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8494         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8496         of __mul for squares.
8497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8498         function
8499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8500         Likewise.
8501         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8502         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8504 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8506         [BZ #13550]
8507         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8508         code.
8509         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8510         prototype or function definition.  Rename ubp_* variables and
8511         parameters.  Remove argv definitions conditional on
8512         [__BOUNDED_POINTERS__].
8513         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8514         * elf/dl-runtime.c (_dl_fixup): Likewise.
8515         * include/set-hooks.h (RUN_HOOK): Likewise.
8516         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8517         definition.
8518         * string/strcpy.c (strcpy): Do not use __unbounded.
8519         * sysdeps/generic/frame.h (struct layout): Likewise.
8520         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8521         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8522         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8523         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8524         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8525         (__backtrace): Likewise.
8526         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8527         use __ptrvalue.
8528         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8529         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8530         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8533         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8534         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8535         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8536         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8537         Do not use __unbounded.
8538         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8539         Rename __unboundedrlimits parameter to rlimits in prototype.
8540         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8541         Do not use __unbounded.
8542         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8543         not use __ptrvalue.
8544         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8545         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8546         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8547         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8548         __ptrvalue or __unbounded.
8549         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8550         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8551         use __unbounded.
8552         (__new_msgctl): Do not use __ptrvalue.
8553         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8554         __unbounded.
8555         (__libc_msgrcv): Do not use __ptrvalue.
8556         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8557         startup_info): Do not use __unbounded.
8558         (__libc_start_main): Likewise.  Rename ubp_* variables and
8559         parameters.  Remove argv definitions conditional on
8560         [__BOUNDED_POINTERS__].
8561         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8562         __ptrvalue.
8563         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8564         use __unbounded.
8565         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8566         or __ptrvalue.
8567         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8568         use __unbounded.
8569         (__new_shmctl): Do not use __ptrvalue.
8570         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8571         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8572         Likewise.
8573         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8574         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8575         (__libc_sigaction): Likewise.
8576         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8577         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8581 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8583         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8585         * string/mempcpy.c: Implement by calling memcpy.
8587 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8592         evaluation.
8594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8595         values in the mantissa.
8597         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8598         minimize writes to Z.
8599         (sub_magnitudes): Simplify code a bit.
8601 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8603         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8604         from the message.  The linker prefixes all warnings with that already.
8606 2013-02-12  Andreas Schwab  <schwab@suse.de>
8608         [BZ #15078]
8609         * posix/regexec.c (extend_buffers): Add parameter min_len.
8610         (check_matching): Pass minimum needed length.
8611         (clean_state_log_if_needed): Likewise.
8612         (get_subexp): Likewise.
8613         * posix/Makefile (tests): Add bug-regex34.
8614         (bug-regex34-ENV): Define.
8615         * posix/bug-regex34.c: New file.
8617         [BZ #11561]
8618         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8619         elements compare against the byte sequence of it, not its name.
8620         * posix/Makefile (tests): Add bug-regex35.
8621         (bug-regex35-ENV): Define.
8622         * posix/bug-regex35.c: New file.
8624 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8626         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8627         comment.
8628         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8629         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8630         (CHECK_EOL): Add undef.
8632 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8634         * bits/stdlib-bsearch.h: New file.
8635         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8636         * stdlib/stdlib.h: Likewise.
8638 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8640         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8641         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8642         declaration.
8643         * manual/search.texi (Array Search Function): Add missing const in
8644         lfind prototype.
8645         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8646         declaration to use rlim_t.
8647         (Basic Scheduling Functions): Remove erroneous const from
8648         sched_getparam prototype.  Remove erroneous * from
8649         sched_get_priority_max and sched_get_priority_min prototypes.
8650         (Resource Usage): Fix summary @comment on vtimes to refer to
8651         sys/vtimes.h rather than vtimes.h.
8652         Add missing *s in vtimes prototype.
8653         (Limits on Resources): Fix ulimit prototype to return long int.
8654         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8655         prototypes to use long int rather than double.
8656         (BSD Random): Fix initstate and setstate to use char *, not void *.
8657         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8658         prototype to make second argument 'struct aiocb64 *const[]'.
8659         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8660         (Status of AIO Operations): Remove erroneous const in aio_return and
8661         aio_return64 prototypes.
8662         (Synchronizing I/O): Fix sync prototype to return void.
8663         * manual/startup.texi (Suboptions): Remove an erroneous const in
8664         getsubopt prototype.
8665         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8666         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8667         use size_t rather than int.
8668         (Scanning All Users): Likewise for getpwent_r.
8669         (Setting Groups): Add missing const to setgroups prototype.
8670         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8671         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8672         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8673         'const void *' rather than 'const char *'.
8674         (Host Address Functions): Likewise for inet_ntop.
8675         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8676         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8677         ssize_t for return value.
8678         (Sending Data): Likewise for send, sendto, sendmsg.
8679         (Socket Option Functions): Add a missing const in setsockopt prototype.
8680         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8681         use wchar_t for the argument.
8682         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8683         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8684         take no arguments.
8685         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8686         double/float/long double for second argument.
8687         Fix return types of significand, significandf, significandl.
8688         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8689         argument in fchmod prototype.
8690         (File Owner): Use uid_t and gid_t in fchown prototype.
8691         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8692         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8693         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8694         use 'const struct dirent **' as argument types to CMP function pointer
8695         argument.
8696         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8697         (File Times): Fix summary magic @comment for struct utimbuf and utime
8698         to refer to utime.h, not time.h.
8699         * manual/string.texi (Argz Functions): Add missing const in
8700         argz_extract and argz_next prototypes.
8701         (Finding Tokens in a String): Likewise for basename.
8702         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8703         (Copying and Concatenation): Fix typo in wmemmove prototype.
8704         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8705         (Signal Stack): Remove erroneous const in sigstack prototype.
8706         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8707         prototype.
8708         (Simple Calendar Time): Likewise for stime.
8709         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8710         prototype.
8711         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8712         say sys/sysctl.h instead.
8713         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8714         and vsyslog prototypes.
8716 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8718         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8719         Remove.
8721 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8723         * misc/sys/mman.h: Fix typo in mremap comment.
8725 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8727         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8728         the '\0' terminator.
8730 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8732         [BZ #13550]
8733         * debug/segfault.c: Don't include <bp-checks.h>.
8734         * sysdeps/generic/bp-checks.h: Remove file.
8735         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8736         (__GETDENTS): Don't use CHECK_N.
8737         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8738         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8739         (__getgroups): Don't use CHECK_N.
8740         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8741         (setgroups): Don't use CHECK_N.
8742         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8743         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8744         (__libc_msgrcv): Don't use CHECK_N.
8745         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8746         (__libc_msgsnd): Don't use CHECK_N.
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8748         <bp-checks.h>.
8749         (__libc_pread): Don't use CHECK_N.
8750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8751         include <bp-checks.h>.
8752         (__libc_pread64): Don't use CHECK_N.
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8754         include <bp-checks.h>.
8755         (__libc_pwrite): Don't use CHECK_N.
8756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8757         include <bp-checks.h>.
8758         (__libc_pwrite64): Don't use CHECK_N.
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8760         <bp-checks.h>.
8761         (__libc_pread): Don't use CHECK_N.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8763         include <bp-checks.h>.
8764         (__libc_pread64): Don't use CHECK_N.
8765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8766         include <bp-checks.h>.
8767         (__libc_pwrite): Don't use CHECK_N.
8768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8769         include <bp-checks.h>.
8770         (__libc_pwrite64): Don't use CHECK_N.
8771         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8772         (do_pread): Don't use CHECK_N.
8773         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8774         (do_pread64): Don't use CHECK_N.
8775         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8776         (do_pwrite): Don't use CHECK_N.
8777         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8778         (do_pwrite64): Don't use CHECK_N.
8779         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8780         (__libc_readv): Don't use CHECK_N.
8781         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8782         (semop): Don't use CHECK_N.
8783         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8784         <bp-checks.h>.
8785         (semtimedop): Don't use CHECK_N.
8786         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8787         (__libc_pread): Don't use CHECK_N.
8788         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8789         <bp-checks.h>.
8790         (__libc_pread64): Don't use CHECK_N.
8791         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8792         <bp-checks.h>.
8793         (__libc_pwrite): Don't use CHECK_N.
8794         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8795         <bp-checks.h>.
8796         (__libc_pwrite64): Don't use CHECK_N.
8797         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8798         <bp-checks.h>.
8799         (__libc_msgrcv): Don't use CHECK_N.
8800         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8801         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8802         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8803         (__libc_writev): Don't use CHECK_N.
8805 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8807         * string/strcpy.c: Removed unused variable.
8809         * Makeconfig (+sysdep-includes): Define with := rather than =.
8810         Use an existing include/ subdir of each sysdeps dir before it.
8812 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8814         * nscd/connection.c (register_traced_file): Comment function.
8815         [HAVE_INOTIFY] (union __inev): Define.
8816         [HAVE_INOTIFY] (inotify_check_files): New function.
8817         [HAVE_INOTIFY] (clear_db_cache): Likewise.
8818         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8819         clear_db_cache.
8820         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8822 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8824         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8825         loaded if not already and that a failure is permanent.
8827 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8829         [BZ #15006]
8830         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8831         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8833 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8835         [BZ #13550]
8836         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8837         (CHECK_1_NULL_OK): Likewise.
8838         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8839         (__fxstat): Do not use CHECK_1.
8840         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8841         <bp-checks.h>.
8842         (___fxstat64): Do not use CHECK_1.
8843         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8844         <bp-checks.h>.
8845         (__fxstatat): Do not use CHECK_1.
8846         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8847         <bp-checks.h>.
8848         (__fxstatat64): Do not use CHECK_1.
8849         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8850         <bp-checks.h>.
8851         (__fxstat): Do not use CHECK_1.
8852         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8853         <bp-checks.h>.
8854         (__fxstatat): Do not use CHECK_1.
8855         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8856         <bp-checks.h>.
8857         (__getresgid): Do not use CHECK_1.
8858         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8859         <bp-checks.h>.
8860         (__getresuid): Do not use CHECK_1.
8861         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8862         <bp-checks.h>.
8863         (__lxstat): Do not use CHECK_1.
8864         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8865         <bp-checks.h>.
8866         (__old_msgctl): Do not use CHECK_1.
8867         (__new_msgctl): Likewise.
8868         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8869         <bp-checks.h>.
8870         (__new_setrlimit): Do not use CHECK_1.
8871         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8872         <bp-checks.h>.
8873         (__old_shmctl): Do not use CHECK_1.
8874         (__new_shmctl): Likewise.
8875         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8876         <bp-checks.h>.
8877         (__xstat): Do not use CHECK_1.
8878         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8879         (__lxstat): Do not use CHECK_1.
8880         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8881         <bp-checks.h>.
8882         (___lxstat64): Do not use CHECK_1.
8883         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8884         (__old_msgctl): Do not use CHECK_1.
8885         (__new_msgctl): Likewise.
8886         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8887         <bp-checks.h>.
8888         (__gettimeofday): Do not use CHECK_1.
8889         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8890         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8891         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8892         <bp-checks.h>.
8893         (__gettimeofday): Do not use CHECK_1.
8894         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8895         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8896         (__new_shmctl): Do not use CHECK_1.
8897         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8898         <bp-checks.h>.
8899         (do_sigtimedwait): Do not use CHECK_1.
8900         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8901         <bp-checks.h>.
8902         (do_sigwaitinfo): Do not use CHECK_1.
8903         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8904         <bp-checks.h>.
8905         (msgctl): Do not use CHECK_1.
8906         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8907         <bp-checks.h>.
8908         (shmctl): Do not use CHECK_1.
8909         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8910         (ustat): Do not use CHECK_1.
8911         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8912         <bp-checks.h>.
8913         (__fxstat): Do not use CHECK_1.
8914         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8915         <bp-checks.h>.
8916         (__fxstatat): Do not use CHECK_1.
8917         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8918         <bp-checks.h>.
8919         (__lxstat): Do not use CHECK_1.
8920         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8921         <bp-checks.h>.
8922         (__xstat): Do not use CHECK_1.
8923         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8924         (__xstat): Do not use CHECK_1.
8925         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8926         (___xstat64): Do not use CHECK_1.
8928         [BZ #13550]
8929         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8930         definitions.
8931         (CHECK_BOUNDS_HIGH): Likewise.
8932         * string/strcpy.c: Do not include <bp-checks.h>.
8933         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8935 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8937         * nscd/nscd-client.h (__nscd_drop_map_ref):
8938         Add __attribute__ ((unused)).
8939         * nis/nss-nisplus.h (niserr2nss): Likewise.
8941         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8942         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8944         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8945         Remove inline keyword.
8946         * include/rounding-mode.h (round_away): Likewise.
8947         * libio/wfileops.c (adjust_wide_data): Likewise.
8948         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8949         (__m128i_strloadu_tolower): Likewise.
8950         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8951         (__m128i_strloadu_tolower): Likewise.
8952         * time/mktime.c (ydhms_diff): Likewise.
8953         * locale/elem-hash.h (elem_hash): Likewise.
8954         * locale/setlocale.c (setdata): Likewise.
8955         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8956         (re_string_wchar_at): Likewise.
8957         (bitset_not, bitset_merge, bitset_mask): Likewise.
8958         [!(__GNUC__ > 3)] (inline): Remove macro.
8959         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8960         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8961         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8962         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8963         * string/memcmp.c (memcmp_bytes): Likewise.
8964         * locale/programs/locarchive.c (compute_hashval): Likewise.
8965         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8966         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8967         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8968         * nss/getent.c (print_rpc, print_protocols): Likewise.
8969         (print_passwd, print_group, print_aliases): Likewise.
8970         * nis/nss-nisplus.h (niserr2nss): Likewise.
8971         * nscd/connections.c (restart_p): Likewise.
8972         Change return type to bool.
8974 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8976         * Makeconfig (all-Depend-files): Add existing
8977         $(sorted-subdirs:=/Depend) files.
8978         (all-subdirs): Remove nss.
8979         * sysdeps/unix/inet/Subdirs: Add it here instead.
8980         * hesiod/Depend: New file.
8982         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8983         instead of calling alloca.
8985         * io/lseek.c (__lseek): Rename to __libc_lseek.
8986         Define __lseek as an alias.
8988         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8990 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8992         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8993         else clause and remove check for non-standard endianness.
8995 2013-02-04  David S. Miller  <davem@davemloft.net>
8997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8999 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9001         [BZ #13550]
9002         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9003         (__ubp_memchr): Remove prototype.
9004         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9005         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9006         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9007         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9008         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9009         Remove alias.
9010         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9011         (__ubp_memchr): Likewise.
9012         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9013         (__ubp_memchr): Likewise.
9014         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9015         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9016         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9017         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9018         CHECK_STRING.
9019         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9020         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9021         (__getcwd): Do not use CHECK_STRING.
9022         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9023         <bp-checks.h>.
9024         (__real_chown): Do not use CHECK_STRING.
9025         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9026         <bp-checks.h>.
9027         (fchownat): Do not use CHECK_STRING.
9028         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9029         CHECK_STRING.
9030         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9031         <bp-checks.h>.
9032         (__lchown): Do not use CHECK_STRING.
9033         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9034         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9035         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9036         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9038         include <bp-checks.h>.
9039         (truncate64): Do not use CHECK_STRING.
9040         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9041         <bp-checks.h>.
9042         (__real_chown): Do not use CHECK_STRING.
9043         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9044         <bp-checks.h>.
9045         (__lchown): Do not use CHECK_STRING.
9046         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9047         <bp-checks.h>.
9048         (__chown): Do not use CHECK_STRING.
9049         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9050         <bp-checks.h>.
9051         (truncate64): Do not use CHECK_STRING.
9052         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9053         Likewise.
9054         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9055         (__xmknod): Do not use CHECK_STRING.
9056         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9057         <bp-checks.h>.
9058         (__xmknodat): Do not use CHECK_STRING.
9059         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9060         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9062 2013-02-04  Andreas Schwab  <schwab@suse.de>
9064         [BZ #14142]
9065         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9066         * include/netdb.h: Likewise for h_errno.
9067         * elf/tst-stackguard1.c: Include <tls.h>.
9069 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9071         * elf/link.h (struct link_map): Extend the l_addr comment.
9072         * include/link.h (struct link_map): Likewise.
9074 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9076         [BZ #13550]
9077         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9078         (BOUNDED_1): Remove macro.
9079         * debug/backtrace.c: Don't include <bp-checks.h>.
9080         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9081         (__backtrace): Likewise.
9082         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9083         <bp-checks.h>.
9084         (__backtrace): Don't use BOUNDED_1.
9085         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9086         <bp-checks.h>.
9087         (__backtrace): Don't use BOUNDED_1.
9088         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9089         (__backtrace): Don't use BOUNDED_1.
9090         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9091         (shmat): Don't use BOUNDED_N.
9093 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
9095         [BZ #13550]
9096         * sysdeps/generic/bp-start.h: Remove file.
9097         * csu/libc-start.c: Don't include <bp-start.h>.
9098         (LIBC_START_MAIN): Set up __environ directly instead of using
9099         INIT_ARGV_and_ENVIRON.
9100         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9101         <bp-start.h>.
9103         [BZ #13550]
9104         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9105         definitions.
9106         (CHECK_FCNTL): Likewise.
9107         (CHECK_N_PAGES): Likewise.
9109         [BZ #13550]
9110         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9111         definitions.
9112         (CHECK_SIGSET_NULL_OK): Likewise.
9113         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9114         <bp-checks.h>.
9115         (sigpending): Don't use CHECK_SIGSET.
9116         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9117         <bp-checks.h>.
9118         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9119         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9120         <bp-checks.h>.
9121         (do_sigsuspend): Don't use CHECK_SIGSET.
9122         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9123         use CHECK_SIGSET.
9124         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9125         (do_sigwait): Don't use CHECK_SIGSET.
9126         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9127         use CHECK_SIGSET.
9128         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9129         include <bp-checks.h>.
9130         (sigpending): Don't use CHECK_SIGSET.
9131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9132         include <bp-checks.h>.
9133         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9134         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9135         <bp-checks.h>.
9136         (sigpending): Don't use CHECK_SIGSET.
9137         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9138         <bp-checks.h>.
9139         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9141         [BZ #13550]
9142         * sysdeps/generic/bp-semctl.h: Remove file.
9143         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9144         <bp-checks.h> and <bp-semctl.h>.
9145         (__old_semctl): Don't use CHECK_SEMCTL.
9146         (__new_semctl): Likewise.
9147         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9148         and <bp-semctl.h>.
9149         (__old_semctl): Don't use CHECK_SEMCTL.
9150         (__new_semctl): Likewise.
9151         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9152         <bp-checks.h> and <bp-semctl.h>.
9153         (__old_semctl): Don't use CHECK_SEMCTL.
9154         (__new_semctl): Likewise.
9155         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9156         <bp-checks.h> and <bp-semctl.h>.
9157         (semctl): Don't use CHECK_SEMCTL.
9159         [BZ #13550]
9160         * Makerules (elide-bp-thunks): Remove variable.
9161         (elide-routines.oS): Don't use $(elide-bp-thunks).
9162         (elide-routines.os): Likewise.
9163         (elide-routines.o): Likewise.
9164         (elide-routines.op): Likewise.
9165         (elide-routines.og): Likewise.
9166         (objects): Don't use $(bp-thunks).
9167         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9168         include.
9169         (common-generated): Do not add s-proto-bp.d.
9170         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9171         (int): Likewise.
9172         (typ): Likewise.
9173         Do not generate makefile rules for bounded-pointer thunks.
9174         * sysdeps/generic/bp-thunks.h: Remove file.
9175         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9176         * sysdeps/unix/s-proto-bp.S: Likewise.
9178         [BZ #15062]
9179         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9180         parts of result separately when argument is not close to line from
9181         -i to i and one part of argument is small.
9182         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9183         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9184         * math/libm-test.inc (cacos_test): Add more tests.
9185         (casin_test): Likewise.
9186         (casinh_test): Likewise.
9187         * sysdeps/i386/fpu/libm-test-ulps: Update.
9188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9190 2013-01-31  David S. Miller  <davem@davemloft.net>
9192         * po/de.po: Update from translation team.
9194 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9196         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9198 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9200         * configure.in (_AC_PROG_CC_C89): New definition.
9201         * configure: Regenerate.
9203         * configure.in (AC_PROG_CPP): New definition.
9204         * configure: Regenerate.
9206 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9208         * debug/tst-backtrace.h: New file.
9209         * debug/tst-backtrace2.c: Include tst-backtrace.h.
9210         (ret): Remove variable.
9211         (x): Likewise.
9212         (FAIL): Remove macro.
9213         (NO_INLINE): Likewise.
9214         (fn1): Use match function instead of strstr.
9215         * debug/tst-backtrace3.c: Include tst-backtrace.h.
9216         (ret): Remove variable.
9217         (x): Likewise.
9218         (FAIL): Remove macro.
9219         (NO_INLINE): Likewise.
9220         (fn): Use match function instead of strstr.
9221         * debug/tst-backtrace4.c: Include tst-backtrace.h.
9222         (ret): Remove variable.
9223         (x): Likewise.
9224         (FAIL): Remove macro.
9225         (NO_INLINE): Likewise.
9226         (handle_signal): Use match function instead of strstr.
9227         * debug/tst-backtrace5.c: Include tst-backtrace.h.
9228         (ret): Remove variable.
9229         (x): Likewise.
9230         (FAIL): Remove macro.
9231         (NO_INLINE): Likewise.
9232         (handle_signal): Use match function instead of strstr.
9234 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9236         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9238 2013-01-23  David S. Miller  <davem@davemloft.net>
9240         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9241         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9242         argument of CAS if possible.
9243         * sysdeps/sparc/sparc64/bits/atomic.h
9244         (__arch_compare_and_exchange_val_32_acq): Likewise.
9245         (__arch_compare_and_exchange_val_64_acq): Likewise.
9247 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9249         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9250         * sysdeps/posix/ulimit.c: ... this.
9251         Include <limits.h>.
9252         * sysdeps/unix/bsd/ulimit.c: Remove file.
9254 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9256         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9257         (LDFLAGS-tst-array5): Likewise.
9259 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9261         [BZ #15036]
9262         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9263         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9264         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9265         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9267 2013-01-21  David S. Miller  <davem@davemloft.net>
9269         * sysdeps/sparc/backtrace.c: New file.
9270         * sysdeps/sparc/sparc32/backtrace.h: New file.
9271         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9272         * sysdeps/sparc/sparc64/backtrace.h: New file.
9273         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9274         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9275         -funwind-tables.
9277 2013-01-21  Andreas Schwab  <schwab@suse.de>
9279         [BZ #15020]
9280         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9281         closed its stdout.
9283 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9286         "mpa2.h".
9287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9289 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9290             Mark Mitchell  <mark@codesourcery.com>
9291             Tom de Vries  <tom@codesourcery.com>
9292             Paul Pluzhnikov  <ppluzhnikov@google.com>
9294         * debug/tst-backtrace2.c: New file.
9295         * debug/tst-backtrace3.c: Likewise.
9296         * debug/tst-backtrace4.c: Likewise.
9297         * debug/tst-backtrace5.c: Likewise.
9298         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9299         (CFLAGS-tst-backtrace3.c): Likewise.
9300         (CFLAGS-tst-backtrace4.c): Likewise.
9301         (CFLAGS-tst-backtrace5.c): Likewise.
9302         (LDFLAGS-tst-backtrace2): Likewise.
9303         (LDFLAGS-tst-backtrace3): Likewise.
9304         (LDFLAGS-tst-backtrace4): Likewise.
9305         (LDFLAGS-tst-backtrace5): Likewise.
9306         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9307         tst-backtrace4 and tst-backtrace5.
9309 2013-01-18  Anton Blanchard  <anton@samba.org>
9310             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9312         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9313         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9314         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9315         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9317         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9318         "+r" and remove output regs list as redundant.  Add explicit inline
9319         asm to specify register of return val to work around compiler codegen
9320         bug.  Remove (int) cast on return value.  Add return type parameter to
9321         use in macro so that this macro does not truncate return value for
9322         64-bit values.
9323         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9324         pass to INTERNAL_VSYSCALL_NCS.
9325         (INLINE_VSYSCALL): Add 'long int' as return type to
9326         INTERNAL_VSYSCALL_NCS macro invocation.
9327         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9328         INTERNAL_VSYSCALL_NCS macro invocation.
9329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9331 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9333         [BZ #14496]
9334         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9335         Fix application of SIMD FP exception mask.
9337         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9338         mp_no from a power of two.
9339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9340         __mpexp_twomm1.  Use __pow_mp.
9342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9343         multiplication.
9345 2013-01-17  David S. Miller  <davem@davemloft.net>
9347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9349 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9351         [BZ #15023]
9352         * include/complex.h: Condition contents on [!_COMPLEX_H].
9353         (__kernel_casinhf): New prototype.
9354         (__kernel_casinh): Likewise.
9355         (__kernel_casinhl): Likewise.
9356         * math/Makefile (libm_calls): Add k_casinh.
9357         * math/k_casinh.c: New file.
9358         * math/k_casinhf.c: Likewise.
9359         * math/k_casinhl.c: Likewise.
9360         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9361         finite nonzero arguments.
9362         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9363         finite nonzero arguments.
9364         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9365         finite nonzero arguments.
9366         * math/s_casinh.c: Do not include <float.h>.
9367         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9368         * math/s_casinhf.c: Do not include <float.h>.
9369         (__casinhf): Move code for finite nonzero arguments to
9370         k_casinhf.c.
9371         * math/s_casinhl.c: Do not include <float.h>.
9372         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9373         redefine.
9374         (__casinhl): Move code for finite nonzero arguments to
9375         k_casinhl.c.
9376         * math/libm-test.inc (cacos_test): Add more tests.
9377         * sysdeps/i386/fpu/libm-test-ulps: Update.
9378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9380 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9382         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9383         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9384         [!HAVE_MREMAP]: Remove [defined linux] case.
9385         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9387 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9389         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9391 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9393         * elf/elf.h (R_386_SIZE32): New relocation.
9394         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9395         R_386_SIZE32.
9396         (elf_machine_rela): Likewise.
9397         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9398         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9400 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9402         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9403         (FP_FAST_FMA): Do not define.
9404         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9405         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9406         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9407         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9408         !_SOFT_FLOAT]: Likewise.
9409         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9410         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9411         value.
9412         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9413         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9414         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9415         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9416         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9417         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9418         file.
9420 2013-01-16  Andreas Schwab  <schwab@suse.de>
9422         [BZ #14327]
9423         * include/stdlib.h (__mktemp): Add declaration.
9424         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9425         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9427 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9429         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9430         definitions.
9431         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9432         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9433         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9434         definitions here.
9435         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9436         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9437         definitions.
9438         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9439         and ONE.
9440         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9441         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9442         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9443         definitions.
9444         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9445         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9446         definitions.
9447         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9449         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9451 2013-01-15  David S. Miller  <davem@davemloft.net>
9453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9454         trunc{,f} to libm-sysdep_routes.
9455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9457         file.
9458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9460         file.
9461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9462         file.
9463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9465         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9466         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9467         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9468         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9469         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9470         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9473         nearbyint{,f} to libm-sysdep_routes.
9474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9476         New file.
9477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9478         file.
9479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9480         New file.
9481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9482         file.
9483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9485         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9486         file.
9487         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9488         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9489         file.
9490         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9491         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9492         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9494         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9495         libc_feholdexcept and libc_fesetenv.
9497 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9499         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9501 2013-01-14  David S. Miller  <davem@davemloft.net>
9503         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9504         (SPARC_ASM_VIS2_IFUNC): Likewise.
9505         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9507         use of 'siam' instruction.
9508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9509         Likewise.
9510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9511         Likewise.
9512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9513         Likewise.
9514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9519         file.
9520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9521         file.
9522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9523         file.
9524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9525         file.
9526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9531         new VIS2 routines.
9532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9535         Likewise.
9536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9541         routines to libm-sysdep_routines.
9542         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9545         fdim/fdimf to libm-sysdep_routines.
9546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9547         file.
9548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9550         file.
9551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9554         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9555         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9556         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9557         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9559 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9562         to optimize copies.
9564         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9569         local variable MPTWO.
9570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9571         Likewise.
9573 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9575         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9576         GLOB_NOESCAPE.
9578 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9580         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9582 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9584         * manual/pattern.texi (glob_t): Document gl_flags.
9585         (glob64_t): Likewise.
9587 2013-01-11  David S. Miller  <davem@davemloft.net>
9589         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9590         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9591         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9592         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9593         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9594         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9595         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9596         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9597         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9598         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9599         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9600         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9601         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9603         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9604         sparc V9 rather than using V8 code.
9605         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9606         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9608         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9609         Move to...
9610         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9611         Here.
9613 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9615         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9616         not in the main loop.
9617         * configure: Regenerated.
9619 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9621         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9622         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9623         to just #else.
9624         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9625         [!__GLIBC_HAVE_LONG_LONG] case.
9626         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9627         condition to just #else.
9628         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9629         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9630         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9631         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9632         unconditional.
9633         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9634         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9635         #elif condition to just #else.
9636         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9637         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9638         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9639         #elif condition to just #else.
9641 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9643         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9644         (EF_MIPS_ARCH_64): Fix value.
9645         (EF_MIPS_ARCH_32R2): New.
9646         (EF_MIPS_ARCH_64R2): New.
9648 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9650         * Makeconfig (+link-pie-before-libc): New.
9651         (+link-pie-after-libc): Likewise.
9652         (+link-pie-tests): Likewise.
9653         (+link-pie): Rewritten.
9654         (link-before-libc): Remove $(config-LDFLAGS).
9655         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9656         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9657         (config-LDFLAGS): Renamed to ...
9658         (rtld-LDFLAGS): This.
9659         (rtld-tests-LDFLAGS): New macro.
9660         (link-libc-rpath-link): Likewise.
9661         (link-libc-tests-rpath-link): Likewise.
9662         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9663         (link-libc): Prepand $(link-libc-rpath-link).
9664         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9665         (test-program-prefix): New macro.
9666         (test-via-rtld-prefix): Likewise.
9667         (test-program-cmd): Likewise.
9668         (host-test-program-cmd): Likewise.
9669         * Makefile ($(common-objpfx)testrun.sh): Replace
9670         $(run-program-prefix) with $(test-program-prefix).
9671         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9672         $(rtld-LDFLAGS).
9673         ($(common-objpfx)shlib.lds): Likewise.
9674         (build-module-helper): Likewise.
9675         ($(common-objpfx)format.lds): Likewise.
9676         * Rules (binaries-pie-tests): New.
9677         (binaries-pie-notests): Likewise.
9678         (binaries-pie): Rewritten.
9679         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9680         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9681         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9682         (make-test-out): Replace $(host-built-program-cmd) with
9683         $(host-test-program-cmd).
9684         * config.make.in (build-hardcoded-path-in-tests): New variable.
9685         * configure.in (--enable-hardcoded-path-in-tests): New configure
9686         option.
9687         (hardcoded_path_in_tests): New AC_SUBST.
9688         * configure: Regenerated.
9689         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9690         $(built-program-cmd) with $(test-program-cmd).
9691         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9692         (test_program_cmd): This.
9693         * elf/Makefile ($(objpfx)order.out): Run test with
9694         $(test-program-prefix).
9695         ($(objpfx)order2.out): Likewise.
9696         ($(objpfx)tst-initorder.out): Likewise.
9697         ($(objpfx)tst-initorder2.out): Likewise.
9698         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9699         $(test-program-cmd).
9700         ($(objpfx)tst-array1-static.out): Likewise.
9701         ($(objpfx)tst-array2.out): Likewise.
9702         ($(objpfx)tst-array3.out): Likewise.
9703         ($(objpfx)tst-array4.out): Likewise.
9704         ($(objpfx)tst-array5.out): Likewise.
9705         ($(objpfx)tst-array5-static.out): Likewise.
9706         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9707         $(test-program-cmd).
9708         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9709         $(run-program-prefix) with $(test-program-prefix).
9710         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9711         (test_program_prefix): This.
9712         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9713         $(run-program-prefix) with $(test-program-prefix).
9714         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9715         (test_program_prefix): This.
9716         * iconvdata/tst-tables.sh: Likewise.
9717         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9718         $(run-program-prefix) with $(test-program-prefix).
9719         ($(objpfx)tst-translit.out): Likewise.
9720         ($(objpfx)tst-gettext2.out): Likewise.
9721         ($(objpfx)tst-gettext4.out): Likewise.
9722         ($(objpfx)tst-gettext6.out): Likewise.
9723         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9724         (test_program_prefix): This.
9725         * intl/tst-gettext2.sh: Likewise.
9726         * intl/tst-gettext4.sh  Likewise.
9727         * intl/tst-gettext6.sh: Likewise.
9728         * intl/tst-translit.sh: Likewise.
9729         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9730         with $(test-program-cmd).
9731         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9732         $(run-program-prefix) with $(test-program-prefix).
9733         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9734         (test_program_prefix): This.
9735         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9736         $(run-program-prefix) with $(test-program-prefix).
9737         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9738         (test_program_prefix): This.
9739         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9740         * posix/Makefile ($(objpfx)globtest.out): Replace
9741         $(run-via-rtld-prefix) and $(test-wrapper) with
9742         $(test-program-prefix) and $(test-via-rtld-prefix).
9743         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9744         $(test-program-prefix).
9745         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9746         $(host-test-program-cmd).
9747         (tst-spawn-ARGS): Likewise.
9748         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9749         $(test-program-prefix).
9750         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9751         (test_via_rtld_prefix): This.
9752         (test_wrapper): Renamed to ...
9753         (test_program_prefix): This.
9754         (run_program_prefix): Replaced by test_program_prefix.
9755         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9756         (test_program_prefix): This.
9757         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9758         with $(host-test-program-cmd).
9759         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9760         $(run-program-prefix) with $(test-program-prefix).
9761         ($(objpfx)tst-printf.out): Likewise.
9762         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9763         $(test-program-cmd).
9764         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9765         (test_program_prefix): This.
9766         * stdio-common/tst-unbputc.sh: Likewise.
9767         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9768         $(run-program-prefix) with $(test-program-prefix).
9769         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9770         (test_program_prefix): This.
9771         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9772         $(built-program-cmd) with $(test-program-cmd).
9774 2013-01-11  Andreas Jaeger  <aj@suse.de>
9776         [BZ #15003]
9777         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9778         value. Sync with Linux 3.7.
9780 2013-01-10  David S. Miller  <davem@davemloft.net>
9782         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9783         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9784         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9786 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9788         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9789         never set.
9790         * configure: Regenerated.
9792 2013-01-10  David S. Miller  <davem@davemloft.net>
9794         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9795         sparc V9 rather than using V8 code.
9796         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9797         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9799 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9801         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9802         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9803         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9804         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9805         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9806         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9807         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9808         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9809         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9810         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9811         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9812         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9813         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9814         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9815         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9816         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9817         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9818         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9819         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9820         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9821         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9822         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9823         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9824         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9825         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9826         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9827         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9829 2013-01-10  David S. Miller  <davem@davemloft.net>
9831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9833 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9835         * posix/Makefile (tests-static): New variable.
9836         (tests): Add $(tests-static).
9837         (tst-exec-static-ARGS): New variable.
9838         (tst-spawn-static-ARGS): Likewise.
9839         * posix/tst-exec-static.c: New file.
9840         * posix/tst-spawn-static.c: Likewise.
9841         * posix/tst-exec.c: Support run directly.
9842         * posix/tst-spawn.c: Likewise.
9844 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
9846         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9847         long.
9848         * math/bits/mathcalls.h (llrint): Likewise.
9849         (llround): Likewise.
9850         * stdlib/stdlib.h (struct drand48_data): Likewise.
9851         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9852         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9853         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9854         Likewise.
9855         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9856         Likewise.
9857         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9858         (elf_greg_t): Likewise.
9859         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9860         (__jmp_buf): Likewise.
9861         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9862         definitions.
9863         (llrint): Likewise, for all definitions.
9864         (llrintl): Likewise.
9866         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9867         Remove [__GNUC__] condition.
9868         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9869         condition to just [__USE_ISOC99].
9870         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9872 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9874         [BZ #14200]
9875         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9876         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9877         defined.
9878         (_POSIX_V6_ILP32_OFF32): Likewise.
9879         (_XBS5_ILP32_OFF32): Likewise.
9880         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9881         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9883 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9885         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9888         doubles __mpexp_twomm1.  Adjust usage.
9889         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9890         Remove.
9892 2013-01-10  Andreas Schwab  <schwab@suse.de>
9894         [BZ #14964]
9895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9896         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9898 2013-01-09  David S. Miller  <davem@davemloft.net>
9900         [BZ #15003]
9901         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9902         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9903         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9904         TCP_FASTOPEN): Define.
9905         (tcp_repair_opt): New structure.
9906         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9907         enum values.
9908         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9909         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9910         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9911         (tcp_cookie_transactions): New structure.
9913 2013-01-09  Anton Blanchard  <anton@samba.org>
9915         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9916         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9918         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9920 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9922         * include/features.h (__USE_ANSI): Remove.
9924 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9926         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9928         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9930 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9932         * sysdeps/s390/fpu/libm-test-ulps: Update.
9934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9936         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9937         (__acr): Likewise.
9938         (__cpy): Likewise.
9939         (norm): Likewise.
9940         (denorm): Likewise.
9941         (__mp_dbl): Likewise.
9942         (__dbl_mp): Likewise.
9943         (add_magnitudes): Likewise.
9944         (sub_magnitudes): Likewise.
9945         (__add): Likewise.
9946         (__sub): Likewise.
9947         (__mul): Likewise.
9948         (__inv): Likewise.
9949         (__dvd): Likewise.
9950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9951         (__acr): Likewise.
9952         (__cpy): Likewise.
9953         (norm): Likewise.
9954         (denorm): Likewise.
9955         (__mp_dbl): Likewise.
9956         (__dbl_mp): Likewise.
9957         (add_magnitudes): Likewise.
9958         (sub_magnitudes): Likewise.
9959         (__add): Likewise.
9960         (__sub): Likewise.
9961         (__mul): Likewise.
9962         (__inv): Likewise.
9963         (__dvd): Likewise.
9964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9965         (__acr): Likewise.
9966         (__cpy): Likewise.
9967         (norm): Likewise.
9968         (denorm): Likewise.
9969         (__mp_dbl): Likewise.
9970         (__dbl_mp): Likewise.
9971         (add_magnitudes): Likewise.
9972         (sub_magnitudes): Likewise.
9973         (__add): Likewise.
9974         (__sub): Likewise.
9975         (__mul): Likewise.
9976         (__inv): Likewise.
9977         (__dvd): Likewise.
9979 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9981         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9982         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9983         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9984         2 && __USE_EXTERN_INLINES]: Likewise.
9986 2013-01-08  Andreas Jaeger  <aj@suse.de>
9988         [BZ# 14985]
9989         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9990         Remove.
9991         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9992         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9994 2013-01-07  Anton Blanchard  <anton@samba.org>
9996         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9997         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9998         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9999         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10000         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10001         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10002         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10003         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10005         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10006         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10007         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10008         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10009         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10010         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10011         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10012         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10013         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10014         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10015         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10016         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10017         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10018         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10019         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10020         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10021         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10022         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10023         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10024         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10025         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10026         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10028         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10029         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10030         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10031         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10034         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10035         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10036         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10038         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10040 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10042         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10043         (__MALLOC_PMT): Likewise.
10044         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10045         [__GNUC__], only on [_LIBC].
10046         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10047         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10048         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10049         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10050         forward declaration.
10051         (realloc_hook_ini): Likewise.
10052         (memalign_hook_ini): Likewise.
10053         (__libc_memalign): Do not use __MALLOC_PMT in variable
10054         declaration.
10055         (__libc_valloc): Likewise.
10056         (__libc_pvalloc): Likewise.
10057         (__libc_calloc): Likewise.
10058         (__posix_memalign): Likewise.
10060         [BZ #14996]
10061         * math/s_casinh.c: Include <float.h>.
10062         (__casinh): Do not do computation with squaring and square root
10063         for large arguments.
10064         * math/s_casinhf.c: Include <float.h>.
10065         (__casinhf): Do not do computation with squaring and square root
10066         for large arguments.
10067         * math/s_casinhl.c: Include <float.h>.
10068         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10069         (__casinhl): Do not do computation with squaring and square root
10070         for large arguments.
10071         * math/libm-test.inc (casin_test): Add more tests.
10072         (casinh_test): Likewise.
10073         * sysdeps/i386/fpu/libm-test-ulps: Update.
10074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10076 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10078         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10079         (__x86_64_raw_data_cache_size): Likewise.
10080         (__x86_64_data_cache_size_half): Likewise.
10081         (__x86_64_raw_data_cache_size_half): Likewise.
10082         (__x86_64_shared_cache_size): Likewise.
10083         (__x86_64_raw_shared_cache_size): Likewise.
10084         (__x86_64_shared_cache_size_half): Likewise.
10085         (__x86_64_raw_shared_cache_size_half): Likewise.
10086         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10087         to ...
10088         (__x86_data_cache_size): This.
10089         (__x86_64_raw_data_cache_size): Renamed to ...
10090         (__x86_raw_data_cache_size): This.
10091         (__x86_64_data_cache_size_half): Renamed to ...
10092         (__x86_data_cache_size_half): This.
10093         (__x86_64_raw_data_cache_size_half): Renamed to ...
10094         (__x86_raw_data_cache_size_half): This.
10095         (__x86_64_shared_cache_size): Renamed to ...
10096         (__x86_shared_cache_size): This.
10097         (__x86_64_raw_shared_cache_size): Renamed to ...
10098         (__x86_raw_shared_cache_size): This.
10099         (__x86_64_shared_cache_size_half): Renamed to ...
10100         (__x86_shared_cache_size_half): This.
10101         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10102         (__x86_raw_shared_cache_size_half): This.
10103         * sysdeps/x86_64/memcpy.S: Updated.
10104         * sysdeps/x86_64/memset.S: Likewise.
10105         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10109 2013-01-04  David S. Miller  <davem@davemloft.net>
10111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10113 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10115         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10116         1 to avoid redefinition warning.
10117         (__USE_GNU): Don't define.
10118         (init_signaling_nan): Protoize.
10120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10122 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10124         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10126         (__cpymn): Likewise.
10127         (norm): Remove commented code.
10128         (denorm): Likewise.
10129         (__mp_dbl): Likewise.
10130         (__inv): Likewise.
10131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10132         (__cpymn): Likewise.
10133         (norm): Remove commented code.
10134         (denorm): Likewise.
10135         (__mp_dbl): Likewise.
10136         (__inv): Likewise.
10138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10139         mp_no value for 1.0 and 2.0.
10140         (norm): Use RADIXI instead of radixi.d.
10141         (denorm): Likewise.
10142         (__mul): Use 0.0 instead of zero.d.
10143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10144         mp_no value for 1.0 and 2.0.
10145         (norm): Use RADIXI instead of radixi.d.
10146         (denorm): Likewise.
10147         (__mul): Use 0.0 instead of zero.d.
10149 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10151         [BZ #14994]
10152         * math/s_casinh.c (__casinh): Reduce finite argument to first
10153         quadrant then set signs of results at the end.
10154         * math/s_casinhf.c (__casinhf): Likewise.
10155         * math/s_casinhl.c (__casinhl): Likewise.
10156         * math/libm-test.inc (casin_test): Add more tests.
10157         (casinh_test): Likewise.
10158         * sysdeps/i386/fpu/libm-test-ulps: Update.
10159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10161 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10163         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10165         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10167         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10168         declarations.
10169         (denorm): Likewise.
10170         (__mp_dbl): Likewise.
10171         (__inv): Likewise.
10173         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10174         and adjust the header comment.
10176         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10177         variable name from declaration.
10179 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10182         Initialize COMMON_CPUID_INDEX_7 element.
10183         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10184         (CPUID_RTM): Likewise.
10185         (HAS_RTM): Likewise.
10186         (COMMON_CPUID_INDEX_7): New enum.
10188 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10190         [BZ #14981]
10191         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10192         size is zero, record memory as freed.
10194 2013-01-03  Andreas Jaeger  <aj@suse.de>
10196         * po/ia.po: Add new Interlingua translation.
10198 2012-01-03  Allan McRae  <allan@archlinux.org>
10200         * locale/programs/localedef.c: Fix description of '--posix' flag.
10202 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10204         * NEWS: Update dates in second copyright notice.
10205         * README: Update copyright dates in example.
10206         * manual/libc.texinfo: Update copyright dates.
10207         * scripts/test-installation.pl: Update copyright date in --version
10208         output.
10210         * hurd/ctty-input.c: Fix copyright notice formatting.
10211         * hurd/ctty-output.c: Likewise.
10212         * hurd/dtable.c: Likewise.
10213         * hurd/hurd-raise.c: Likewise.
10214         * hurd/hurdprio.c: Likewise.
10215         * hurd/msgportdemux.c: Likewise.
10216         * misc/sys/file.h: Likewise.
10217         * misc/sys/ioctl.h: Likewise.
10218         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10219         * sysdeps/mach/hurd/chdir.c: Likewise.
10220         * sysdeps/mach/hurd/fchdir.c: Likewise.
10221         * sysdeps/mach/hurd/rename.c: Likewise.
10222         * sysdeps/mach/hurd/rmdir.c: Likewise.
10223         * sysdeps/mach/hurd/seekdir.c: Likewise.
10224         * sysdeps/mach/hurd/setsid.c: Likewise.
10225         * sysdeps/posix/wait3.c: Likewise.
10227         * All files with FSF copyright notices: Update copyright dates
10228         using scripts/update-copyrights.
10229         * intl/plural.c: Regenerated.
10230         * locale/programs/charmap-kw.h: Likewise.
10231         * locale/programs/locfile-kw.h: Likewise.
10233 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10235         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10236         four values.
10238         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10239         calculation loop and add branch prediction.
10241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10242         check access beyond bounds of m1np.
10244         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10245         MPTWO.
10246         (__inv): Remove local variable MPTWO to use the global
10247         constant.
10248         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10249         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10250         variable MPTWO.
10251         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10252         MP3HALFS static const.
10254 2013-01-01  David S. Miller  <davem@davemloft.net>
10256         * po/ca.po: Update from translation team.
10258 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10260         * scripts/update-copyrights: New file.
10261         * Makeconfig: Reformat copyright notice.
10262         * ctype/ctype.h: Likewise.
10263         * debug/swprintf_chk.c: Likewise.
10264         * elf/dl-cache.c: Likewise.
10265         * elf/dl-debug.c: Likewise.
10266         * elf/dl-object.c: Likewise.
10267         * grp/initgroups.c: Likewise.
10268         * hurd/Makefile: Likewise.
10269         * hurd/hurd/signal.h: Likewise.
10270         * hurd/hurdfault.c: Likewise.
10271         * hurd/hurdioctl.c: Likewise.
10272         * hurd/hurdlookup.c: Likewise.
10273         * hurd/intr-msg.c: Likewise.
10274         * iconv/gconv_open.c: Likewise.
10275         * libio/swprintf.c: Likewise.
10276         * locale/lc-ctype.c: Likewise.
10277         * locale/nl_langinfo.c: Likewise.
10278         * mach/Machrules: Likewise.
10279         * mach/Makefile: Likewise.
10280         * malloc/obstack.h: Likewise.
10281         * manual/Makefile: Likewise.
10282         * manual/tsort.awk: Likewise.
10283         * misc/bits/stab.def: Likewise.
10284         * nis/nis_print_group_entry.c: Likewise.
10285         * nis/nis_table.c: Likewise.
10286         * nis/nss_compat/compat-pwd.c: Likewise.
10287         * nis/nss_compat/compat-spwd.c: Likewise.
10288         * po/Makefile: Likewise.
10289         * posix/fnmatch.c: Likewise.
10290         * posix/regex.h: Likewise.
10291         * resolv/Makefile: Likewise.
10292         * resolv/nss_dns/dns-network.c: Likewise.
10293         * resolv/res_hconf.c: Likewise.
10294         * scripts/gen-sorted.awk: Likewise.
10295         * soft-fp/soft-fp.h: Likewise.
10296         * stdio-common/printf.h: Likewise.
10297         * stdlib/monetary.h: Likewise.
10298         * stdlib/random.c: Likewise.
10299         * stdlib/random_r.c: Likewise.
10300         * sysdeps/generic/Makefile: Likewise.
10301         * sysdeps/gnu/Makefile: Likewise.
10302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10304         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10306         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10308         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10309         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10312         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10313         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10314         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10315         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10316         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10317         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10318         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10319         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10320         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10321         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10322         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10323         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10324         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10325         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10326         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10327         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10328         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10329         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10330         * sysdeps/mach/hurd/errnos.awk: Likewise.
10331         * sysdeps/mach/hurd/fork.c: Likewise.
10332         * sysdeps/mach/hurd/getcwd.c: Likewise.
10333         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10334         * sysdeps/mach/hurd/mmap.c: Likewise.
10335         * sysdeps/mach/hurd/utimes.c: Likewise.
10336         * sysdeps/mach/hurd/xmknod.c: Likewise.
10337         * sysdeps/posix/profil.c: Likewise.
10338         * sysdeps/posix/readdir_r.c: Likewise.
10339         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10340         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10341         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10342         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10344         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10345         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10346         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10348         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10349         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10350         * sysdeps/pthread/lio_listio.c: Likewise.
10351         * sysdeps/sparc/dl-procinfo.h: Likewise.
10352         * sysdeps/unix/i386/sysdep.S: Likewise.
10353         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10354         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10355         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10356         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10358         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10359         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10360         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10361         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10362         * sysdeps/wordsize-32/divdi3.c: Likewise.
10363         * time/sys/time.h: Likewise.
10364         * wcsmbs/Makefile: Likewise.
10366 2013-01-01  David S. Miller  <davem@davemloft.net>
10368         * po/fr.po: Update from translation team.
10370         * catgets/gencat.c: Update copyright year.
10371         * csu/version.c: Likewise.
10372         * debug/catchsegv.sh: Likewise.
10373         * debug/pcprofiledump.c: Likewise.
10374         * debug/xtrace.sh: Likewise.
10375         * elf/ldconfig.c: Likewise.
10376         * elf/ldd.bash.in: Likewise.
10377         * elf/pldd.c: Likewise.
10378         * elf/sotruss.ksh: Likewise.
10379         * elf/sprof.c: Likewise.
10380         * iconv/iconv_prog.c: Likewise.
10381         * iconv/iconvconfig.c: Likewise.
10382         * locale/programs/locale.c: Likewise.
10383         * locale/programs/localedef.c: Likewise.
10384         * login/programs/pt_chown.c: Likewise.
10385         * malloc/memusage.sh: Likewise.
10386         * malloc/memusagestat.c: Likewise.
10387         * malloc/mtrace.pl: Likewise.
10388         * nscd/nscd.c: Likewise.
10389         * nss/getent.c: Likewise.
10390         * nss/makedb.c: Likewise.
10391         * posix/getconf.c: Likewise.
10393 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10395         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10396         numbers.
10398 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10400         * math/bits/mathcalls.h (modf): Use __nonnull.
10402 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10404         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10405         (split): Use macro CN instead of the bare value.
10406         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10407         could be used.
10408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10409         instead of the bare value.
10410         (power1): Likewise.
10412 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10415         __ATAN_TWOM.
10416         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10418         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10419         their values.
10420         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10421         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10422         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10423         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10425 2012-12-28  Andreas Jaeger  <aj@suse.de>
10427         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10428         values are from Linux 3.7.
10430         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10431         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10433 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10435         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10436         TRUE case.
10438         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10439         (norm): Likewise.
10440         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10441         variables with preprocessor constants.
10442         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10443         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10444         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10446 2012-12-27  Bruno Haible  <bruno@clisp.org>
10448         [BZ #14317]
10449         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10450         only if needed.
10452 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10455         and use variable directly.
10456         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10458         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10459         MPONE.
10460         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10461         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10462         variable MPONE.
10463         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10465         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10466         include directive.  Remove local variable MPONE.
10467         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10468         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10469         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10471 2012-12-25  David S. Miller  <davem@davemloft.net>
10473         * version.h (RELEASE): Set to "development".
10474         (VERSION): Set to "2.17.90".
10475         * NEWS: Add 2.18 section.
10477 2012-12-21  David S. Miller  <davem@davemloft.net>
10479         * po/hr.po: Update from translation team.
10481 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10483         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10485 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10487         * NEWS:  Mention new memcpy for MIPS.
10489 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10491         * manual/contrib.texi (Contributors): Spelling correction.
10493 2012-12-15  David S. Miller  <davem@davemloft.net>
10495         * po/ru.po: Update from translation team.
10497 2012-12-13  David S. Miller  <davem@davemloft.net>
10499         * NEWS: Mention IFUNC testsuite enhancements.
10501         * po/pl.po: Update from translation team.
10502         * po/bg.po: Likewise.
10504         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10505         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10507 2012-12-11  David S. Miller  <davem@davemloft.net>
10509         * po/sv.po: Update from translation team.
10511         * po/vi.po: Update from translation team.
10513         * po/cs.po: Update from translation team.
10515         * po/de.po: Update from translation team.
10516         * po/eo.po: Likewise.
10517         * po/nl.po: Likewise.
10519 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10521         [BZ #14246]
10522         * manual/argp.texi (Argp Helper Functions): Move node to follow
10523         Argp Parsing State.
10525         [BZ #14872]
10526         * manual/conf.texi (Limits on File System Capacity): Mention if
10527         terminating null is included in the max size.
10529 2012-12-10  Andreas Jaeger  <aj@suse.de>
10531         * po/cs.po: Update from translation team.
10533 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10535         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10536         void pointer and cast to uintptr_t.
10537         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10538         path.
10539         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10540         * sysdeps/s390/s390-64/memset.S: Likewise.
10542 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10544         [BZ #14833]
10545         * menual/message.texi (Message Translation): Fix typos.
10546         (Helper programs for gettext): Likewise.
10548 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10550         [BZ #14898]
10551         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10552         Change to -1.
10554 2012-12-07  David S. Miller  <davem@davemloft.net>
10556         * po/libc.pot: Update.
10558 2012-12-07  Richard Henderson  <rth@redhat.com>
10560         [BZ #10114]
10561         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10562         normal/normal case to before the switch.
10563         (_FP_DIV): Likewise.
10565 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10566             Mike Frysinger  <vapier@gentoo.org>
10568         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10569         check for __NR_fadvise64_64.
10571 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10573         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10574         0, not just to plain "0" as a statement.
10575         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10576         with cw.
10578 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10580         * NEWS: Use sourceware.org in Bugzilla URL.
10582 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10585         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10587         * stdio-common/tst-put-error.c (do_test): Add newline to the
10588         padded test to ensure flush.
10590 2012-12-05  Jeff Law  <law@redhat.com>
10592         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10594 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10596         * README: Don't refer to ports add-on as distributed separately.
10597         Mention AArch64 in list of systems supported in the ports add-on.
10599         * LICENSES: Add more non-FSF copyright and license notices.
10601         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10602         ((unused)).
10604         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10606         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10607         10000 as width of padded output.
10609 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10611         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10613         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10614         variable LX with __attribute__ ((unused)).
10615         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10616         Likewise.
10617         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10618         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10620         with __attribute__ ((unused)).
10622 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10624         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10626 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10628         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10629         (CFLAGS-nldbl-acos.c): New variable.
10630         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10631         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10632         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10633         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10634         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10635         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10636         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10637         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10638         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10639         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10640         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10641         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10642         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10643         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10644         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10645         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10646         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10647         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10648         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10649         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10650         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10651         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10652         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10653         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10654         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10655         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10656         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10657         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10658         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10659         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10660         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10661         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10662         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10663         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10664         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10665         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10666         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10667         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10668         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10669         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10670         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10671         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10672         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10673         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10674         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10675         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10676         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10677         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10678         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10679         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10680         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10681         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10682         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10683         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10684         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10685         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10686         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10687         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10688         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10689         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10690         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10691         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10692         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10693         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10694         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10695         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10696         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10697         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10698         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10699         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10700         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10701         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10702         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10703         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10704         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10705         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10706         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10707         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10708         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10709         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10710         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10711         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10712         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10713         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10714         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10715         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10716         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10717         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10718         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10719         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10720         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10721         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10722         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10723         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10724         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10725         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10726         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10729         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10731         [BZ #14914]
10732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10733         whole low double instead of just low 47 bits when splitting values
10734         into two parts.
10736 2012-12-03  Allan McRae  <allan@archlinux.org>
10738         * manual/stdio.texi (Predefined Printf Handlers): Remove
10739         @hsep and @vsep usage.
10741 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10743         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10744         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10746 2012-12-03  Jeff Law  <law@redhat.com>
10748         * time/sys/time.h (settimeofday): Do not mark TV argument
10749         as __nonnull.
10751 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10753         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10754         when currently writing and seek to current position when not.
10755         * libio/Makefile (tests): Remove bug-fclose1.
10756         * libio/bug-fclose1.c: Delete.
10758 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10760         * manual/arith.texi (feenableexcept): Fix typo.
10761         (fedisableexcept): Likewise.
10763 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10765         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10766         second, differently-typed declaration, rather than a cast.
10768 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10770         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10771         * include/rpc/svc.h: ... here.
10773 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10775         [BZ #13013]
10776         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10777         depending n and resplen2 to catch cases where answer
10778         equals answerp2.
10780 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10782         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10783         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10785 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10787         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10789 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10791         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10793 2012-11-28  Jeff Law  <law@redhat.com>
10795         [BZ #13761]
10796         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10797         dataset_temporary.  Track alloca usage into alloca_used.
10798         If dataset is large allocate and release it via malloc/free.
10800 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10802         [BZ #14197]
10803         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10805 2012-11-28  David S. Miller  <davem@davemloft.net>
10807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10809 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10811         [BZ #14803]
10812         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10813         of pi/2 rounded to nearest to 64 bits.
10814         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10815         nearest to 64 bits.
10816         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10817         bits.
10819 2012-11-28  Jeff Law <law@redhat.com>
10820             Martin Osvald <mosvald@redhat.com>
10822         [BZ #14889]
10823         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10824         * sunrpc/svc.c: Include time.h.
10825         (__svc_accept_failed): New function.
10826         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10827         any reason other than EINTR, call __svc_accept_failed.
10828         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10829         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10831 2012-11-28  Andreas Schwab  <schwab@suse.de>
10833         * scripts/abilist.awk: Also handle indirect functions in .opd
10834         section.
10836 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #13881]
10839         * sysdeps/x86/fpu/powl_helper.c: New file.
10840         * sysdeps/x86/fpu/Makefile: Likewise.
10841         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10842         (p3): New object.
10843         (__ieee754_powl): Use __powl_helper for finite arguments except
10844         integer exponents below 8.
10845         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10846         (p3): New object.
10847         (__ieee754_powl): Use __powl_helper for finite arguments except
10848         integer exponents below 8.
10849         * math/libm-test.inc (pow_test): Add more tests and enable some
10850         previously disabled tests.
10851         * sysdeps/i386/fpu/libm-test-ulps: Update.
10852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10855             Carlos O'Donell  <carlos_odonell@mentor.com>
10857         * nss/makedb.c (is_prime): Assert that input is odd and greater
10858         than 4.  Note that fact in a comment too.
10859         (next_prime): Add 4 to input.
10861 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10863         [BZ #11741]
10864         * libio/Makefile (tests): Add test case tst-fwrite-error.
10865         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10866         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10867         * libio/tst-fwrite-error.c: New test case.
10869 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
10871         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10872         before casting to void *.
10873         * include/libc-internal.h (__pointer_type): New macro.
10874         (__integer_if_pointer_type_sub): Likewise.
10875         (__integer_if_pointer_type): Likewise.
10876         (cast_to_integer): Likewise.
10877         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10878         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10879         before casting to atomic64_t.
10880         (atomic_exchange_acq): Likewise.
10881         (__arch_exchange_and_add_body): Likewise.
10882         (__arch_add_body): Likewise.
10883         (atomic_add_negative): Likewise.
10884         (atomic_add_zero): Likewise.
10886 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10888         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10889         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10890         (add_fdes): Likewise.
10891         (linear_search_fdes): Likewise.
10892         (binary_search_unencoded_fdes): Likewise.
10894 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10896         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10898 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10900         * configure.in: Autodetect C++ header directories.
10901         * configure: Regenerated.
10903 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10905         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10907 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10911 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10913         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10914         LDBL_MANT_DIG == 106]: Disable some tests.
10915         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10916         Likewise.
10917         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10918         Likewise.
10920         [BZ #14871]
10921         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10922         input for small inputs.  Return +/- pi/2 for large inputs.
10923         * math/libm-test.inc (atan_test): Add more tests.
10925         * sysdeps/generic/unwind-dw2-fde-glibc.c
10926         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10927         __attribute__ ((unused)).
10929         [BZ #14645]
10930         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10931         x * y if x and y are nonzero and z is zero.
10933         [BZ #14811]
10934         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10935         nonzero exponents with absolute value below 0x1p-117 to +/-
10936         0x1p-117.
10938         [BZ #14869]
10939         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10940         up arguments below 2**-450, not just those below 2**-500.
10941         * math/libm-test.inc (hypot_test): Add another test.
10943         [BZ #14868]
10944         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10945         Return a+b for ratio over 2**120, not 2**60.
10946         * math/libm-test.inc (hypot_test): Add another test.
10948         * math/libm-test.inc (clog_test): Use
10949         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10950         (clog10_test): Likewise.
10952         [BZ #6778]
10953         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10955 2012-11-22  Andreas Schwab  <schwab@suse.de>
10957         * sysdeps/i386/fpu/libm-test-ulps: Update.
10959 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10961         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10962         printf output with newline.
10964 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10966         [BZ #14865]
10967         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10968         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10969         -z nodlopen, -z initfirst and -z execstack support.
10970         * configure: Regenerated.
10972         * elf/elf.h (DF_1_NODIRECT): New macro.
10973         (DF_1_IGNMULDEF): Likewise.
10974         (DF_1_NOKSYMS): Likewise.
10975         (DF_1_NOHDR): Likewise.
10976         (DF_1_EDITED): Likewise.
10977         (DF_1_NORELOC): Likewise.
10978         (DF_1_SYMINTPOSE): Likewise.
10979         (DF_1_GLOBAUDIT): Likewise.
10980         (DF_1_SINGLETON): Likewise.
10981         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10982         DT_1_SUPPORTED_MASK bits.
10983         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10985 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10987         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10989 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10991         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10992         macro.
10994         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10995         (sendmmsg): Move declarations...
10996         * socket/sys/socket.h: ... here.
10997         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10998         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10999         include it from...
11000         * socket/recvmmsg.c: ... this new file.
11001         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11002         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11003         definition of __sendmmsg hidden.
11004         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11005         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11006         Move ENOSYS stub into and include it from...
11007         * socket/sendmmsg.c: ... this new file.
11008         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11009         (sysdep_routines): Move recvmmsg and sendmmsg...
11010         * socket/Makefile (routines): ... here.
11011         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11012         (GLIBC_PRIVATE): Add __sendmmsg.
11013         * include/sys/socket.h (__sendmmsg): Add declarations.
11014         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11015         sendmmsg.
11017 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11019         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11020         variable I1 with __attribute__ ((unused)).
11021         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11023 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11025         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11026         DUMMY variables with __attribute__ ((unused)).
11028         * bits/byteswap.h: Include <bits/types.h>.
11029         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11031 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11033         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11034         string_t.  Do not manually set errno.
11035         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11036         length with __strnlen.  Make sure to both set errno and return it on
11037         failure.
11039 2012-11-19  David S. Miller  <davem@davemloft.net>
11041         With help from Joseph Myers.
11042         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11043         very large arguments properly.
11044         * math/libm-test.inc (atan_test): New tests.
11045         (atan2_test): New tests.
11046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11049 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11051         [BZ #14856]
11052         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11053         Define to 3.
11055         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11056         [POSIX] (EADDRNOTAVAIL): Likewise.
11057         [POSIX] (EAFNOSUPPORT): Likewise.
11058         [POSIX] (EALREADY): Likewise.
11059         [POSIX] (ECONNABORTED): Likewise.
11060         [POSIX] (ECONNREFUSED): Likewise.
11061         [POSIX] (ECONNRESET): Likewise.
11062         [POSIX] (EDESTADDRREQ): Likewise.
11063         [POSIX] (EDQUOT): Likewise.
11064         [POSIX] (EHOSTUNREACH): Likewise.
11065         [POSIX] (EIDRM): Likewise.
11066         [POSIX] (EISCONN): Likewise.
11067         [POSIX] (ELOOP): Likewise.
11068         [POSIX] (EMULTIHOP): Likewise.
11069         [POSIX] (ENETDOWN): Likewise.
11070         [POSIX] (ENETUNREACH): Likewise.
11071         [POSIX] (ENOBUFS): Likewise.
11072         [POSIX] (ENODATA): Likewise.
11073         [POSIX] (ENOLINK): Likewise.
11074         [POSIX] (ENOMSG): Likewise.
11075         [POSIX] (ENOPROTOOPT): Likewise.
11076         [POSIX] (ENOSR): Likewise.
11077         [POSIX] (ENOSTR): Likewise.
11078         [POSIX] (ENOTCONN): Likewise.
11079         [POSIX] (ENOTSOCK): Likewise.
11080         [POSIX] (EOPNOTSUPP): Likewise.
11081         [POSIX] (EOVERFLOW): Likewise.
11082         [POSIX] (EPROTO): Likewise.
11083         [POSIX] (EPROTONOSUPPORT): Likewise.
11084         [POSIX] (EPROTOTYPE): Likewise.
11085         [POSIX] (ESTALE): Likewise.
11086         [POSIX] (ETIME): Likewise.
11087         [POSIX] (ETXTBSY): Likewise.
11088         [POSIX] (EWOULDBLOCK): Likewise.
11089         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11090         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11091         [POSIX] (SEEK_CUR): Likewise.
11092         [POSIX] (SEEK_END): Likewise.
11093         [POSIX || UNIX98] (mode_t): Do not require.
11094         [POSIX] (off_t): Likewise.
11095         [POSIX] (pid_t): Likewise.
11096         [POSIX] (sys/stat.h): Do not allow header.
11097         [POSIX] (unistd.h): Likewise.
11098         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11099         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11100         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11101         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11102         require.
11103         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11104         sigevent): Specify elements.
11105         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11106         entry.
11107         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11108         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11110         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11111         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11112         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11113         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11114         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11115         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11116         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11117         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11118         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11119         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11120         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11121         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11122         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11123         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11124         Likewise.
11125         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11126         Likewise.
11127         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11128         Likewise.
11129         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11130         Likewise.
11131         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11132         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11133         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11134         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11135         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11136         Specify lower bound on value.
11137         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11138         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11139         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11140         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11141         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11142         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11143         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11144         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11145         value.
11146         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11147         as optional.
11148         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11149         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11150         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11151         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11152         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11153         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11154         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11155         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11156         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11157         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11158         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11159         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11160         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11161         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11162         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11163         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11164         entry.
11165         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11166         optional.
11167         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11168         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11169         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11170         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11171         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11172         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11173         Likewise.
11174         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11175         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11176         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11177         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11178         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11179         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11180         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11181         as optional.
11182         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11183         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11184         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11185         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11186         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11187         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11188         specify as optional.
11189         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11190         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11191         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11192         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11193         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11194         [XPG3] (NL_LANGMAX): Likewise.
11195         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11196         [POSIX || XPG3] (NL_NMAX): Likewise.
11197         [POSIX || XPG3] (NL_SETMAX): Likewise.
11198         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11199         [XPG3] (NZERO): Likewise.
11200         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11201         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11202         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11203         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11204         (REG_ERANGE): Expect.
11205         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11206         optional-constant.
11207         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11208         Use (void) in prototype.
11209         [POSIX] (*_t): Allow.
11210         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11211         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11212         (WRDE_BADVAL): Expect.
11214         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11215         expect.
11216         [XPG3 || XPG4] (O_RSYNC): Likewise.
11217         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11218         Likewise.
11219         [XPG3 || XPG4] (pthread_sigmask): Likewise.
11220         [XPG3 || XPG4] (sigqueue): Likewise.
11221         [XPG3 || XPG4] (sigtimedwait): Likewise.
11222         [XPG3 || XPG4] (sigwaitinfo): Likewise.
11223         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11224         [XPG3 || XPG4] (vsnprintf): Likewise.
11225         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11226         Likewise.
11227         [XPG3 || XPG4] (blksize_t): Likewise.
11228         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11229         Likewise.
11230         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11231         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11232         [XPG3 || XPG4] (struct itimerspec): Likewise.
11233         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11234         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11235         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11236         [XPG3 || XPG4] (clockid_t): Likewise.
11237         [XPG3 || XPG4] (timer_t): Likewise.
11238         [XPG3 || XPG4] (clock_getres): Likewise.
11239         [XPG3 || XPG4] (clock_gettime): Likewise.
11240         [XPG3 || XPG4] (clock_settime): Likewise.
11241         [XPG3 || XPG4] (nanosleep): Likewise.
11242         [XPG3 || XPG4] (timer_create): Likewise.
11243         [XPG3 || XPG4] (timer_delete): Likewise.
11244         [XPG3 || XPG4] (timer_gettime): Likewise.
11245         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11246         [XPG3 || XPG4] (timer_settime): Likewise.
11247         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11248         [XPG3 || XPG4] (getlogin_r): Likewise.
11249         [XPG3 || XPG4] (pread): Likewise.
11250         [XPG3 || XPG4] (pthread_atfork): Likewise.
11251         [XPG3 || XPG4] (pwrite): Likewise.
11253         [BZ #14835]
11254         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11255         <bits/siginfo.h>.
11257 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11259         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11260         finalizing MALLSTREAM.
11262         * sysdeps/mach/hurd/syncfs.c: New file.
11264 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11266         [BZ #14719]
11267         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11268         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11269         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11270         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11271         (_nss_dns_gethostbyname4_r): Likewise.
11272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11273         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11275 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11277         [BZ #13763]
11278         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11280 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11282         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11283         * elf/cache.c (print_entry): Print ",AArch64" for
11284         FLAG_AARCH64_LIB64
11286         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11287         * elf/cache.c (print_entry): Print ",hard-float" for
11288         FLAG_ARM_LIBHF.
11290 2012-11-18  David S. Miller  <davem@davemloft.net>
11292         With help from Joseph Myers.
11293         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11294         cutoff to 2**-13.
11295         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11296         cutoff to 2**-25.
11297         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11298         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11299         small.
11300         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11301         * math/libm-test.inc (y0_test): New tests.
11302         (y1_test): New tests.
11303         * sysdeps/i386/fpu/libm-test-ulps: Update.
11304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11307 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11309         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11310         64-bit targets.
11311         * configure: Regenerated.
11313 2012-11-17  David S. Miller  <davem@davemloft.net>
11315         [BZ #14811]
11316         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11317         nonzero exponents with absolute value below 0x1p-128 to +/-
11318         0x1p-128.
11320 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11322         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11324         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11326         * posix/getconf-speclist.c: New file.
11327         * posix/posix-envs.def: Likewise.
11328         * posix/confstr.c (START_ENV_GROUP): New macro.
11329         (END_ENV_GROUP): Likewise.
11330         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11331         (KNOWN_PRESENT_ENV_STRING): Likewise.
11332         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11333         (UNKNOWN_ENVIRONMENT): Likewise.
11334         (confstr): Include posix-envs.def instead of handling
11335         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11336         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11337         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11338         (END_ENV_GROUP): Likewise.
11339         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11340         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11341         (UNKNOWN_ENVIRONMENT): Likewise.
11342         (__sysconf): Include posix-envs.def instead of handling associated
11343         cases directly here.
11344         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11345         preprocessing getconf-speclist.c rather than running getconf or
11346         generating empty file.
11348 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11350         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11352 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11354         [BZ #14672]
11355         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11357 2012-11-16  David S. Miller  <davem@davemloft.net>
11359         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11360         smaller than LDBL_EPSILON/2.0L, just return xm1.
11362 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11364         * elf/tst-array1.c (init): Set constructor priority to 1000.
11365         (fini): Set destructor priority to 1000.
11366         * elf/tst-array2dep.c: Likewise.
11368 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11370         [BZ #11741]
11371         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11372         (_IO_new_file_xsputn): Also return EOF if none of the input
11373         data was written when overflow failed.
11374         * libio/iopadn.c (_IO_padn): Likewise.
11375         * libio/iowpadn.c (_IO_wpadn): Likewise.
11376         * stdio-common/tst-put-error.c: Add copyright notice.
11377         (do_test): Add case for printing padded string.
11378         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11379         _IO_padn returned error.
11380         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11381         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11382         return EOF.
11384 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11386         * libio/libioP.h: Add comment note that the references to C++
11387         bits are now obsolete.
11389 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11391         * math/libm-test.inc (check_complex): Use asprintf.
11393 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11395         * debug/pcprofiledump.c (print_version): Update copyright year.
11396         * malloc/memusagestat.c (print_version): Likewise.
11398 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11400         [BZ #14831]
11401         * elf/Makefile (tests): Add tst-audit8.
11402         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11403         ($(objpfx)tst-audit8.out): New target.
11404         (tst-audit8-ENV): New variable.
11405         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11406         audit if l_reloc_result is NULL.
11407         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11408         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11409         * elf/tst-audit8.c: New file.
11411 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11413         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11414         * misc/Makefile (CFLAGS-select.c): Define.
11415         * posix/Makefile (CFLAGS-pause.c): Define.
11417 2012-11-13  David S. Miller  <davem@davemloft.net>
11419         * crypt/Makefile: Move test targets after toplevel Rules
11420         inclusion.  Grab any necessary sysdep routines when linking.
11421         * crypt/md5.c (md5_process_block): Remove define, we will always
11422         name it __md5_process_block.
11423         (md5_finish_ctx): Update md5_process_block call.
11424         (md5_stream): Likewise.
11425         (md5_process_bytes): Likewise.
11426         (md5_process_block): Rename to __md5_process_block and move to ...
11427         * crypt/md5-block.c: ... here.
11428         * crypt/sha256.c (sha256_process_block): Move to ...
11429         * crypt/sha256-block.c: ... here.
11430         * crypt/sha512.c (sha512_process_block): Move to ...
11431         * crypt/sha512-block.c: ... here.
11432         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11433         path.
11434         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11435         * sysdeps/sparc/sparc64/multiarch/Makefile
11436         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11437         crypt subdir.
11438         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11439         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11440         multiarch changes.
11441         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11442         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11443         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11444         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11445         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11446         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11447         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11448         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11449         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11450         file.
11451         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11452         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11453         file.
11454         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11456 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11458         * timezone/tzselect.ksh: Update from tzcode git revision
11459         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11460         * timezone/zdump.c: Likewise.
11461         * timezone/zic.c: Likewise.
11462         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11463         in TZVERSION setting, not $(PKGVERSION).
11464         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11465         REPORT_BUGS_TO settings.
11467         [BZ #14838]
11468         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11469         macro.
11471 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11473         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11474         detection to immediately after _FP_ROUND().
11475         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11476         bits are 0.
11478 2012-11-11  David S. Miller  <davem@davemloft.net>
11480         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11481         inttypes.h
11482         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11483         __close rather than their public counterparts.
11485 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11487         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11488         file.
11489         [UNIX98] (sem_timedwait): Do not expect.
11490         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11491         [XPG4 || UNIX98] (sockatmark): Do not expect.
11492         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11493         (clock_getcpuclockid): Do not expect.
11494         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11495         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11496         Do not expect.
11497         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11498         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11499         [UNIX98] (vwscanf): Likewise.
11500         [UNIX98] (vswscanf): Likewise.
11502 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11504         * timezone/version.h: Remove file.
11505         * timezone/README: Do not refer to version.h.
11506         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11507         $(objpfx)version.h.
11508         ($(objpfx)zdump.o): Likewise.
11509         ($(objpfx)version.h): New target.
11511         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11512         2012i.
11513         * timezone/README: Don't mention modification to tzselect.ksh.
11514         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11515         work on unmodified tzselect.ksh.  Substitute version numbers in
11516         tzselect.ksh.
11518         * Makefile (format-me): Remove.
11519         (INSTALL): Adjust indentation.  Use commands directly instead of
11520         using $(format-me).
11522         * aclocal.m4 (ACX_PKGVERSION): New macro.
11523         (ACX_BUGURL): Likewise.
11524         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11525         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11526         (REPORT_BUGS_TO): Likewise.
11527         * configure: Regenerated.
11528         * config.h.in (PKGVERSION): New macro.
11529         (REPORT_BUGS_TO): Likewise.
11530         * config.make.in (PKGVERSION): New variable.
11531         (PKGVERSION_TEXI): Likewise.
11532         (REPORT_BUGS_TO): Likewise.
11533         (REPORT_BUGS_TEXI): Likewise.
11534         * Makefile (format-me): Use -I$(common-objpfx)manual.
11535         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11536         ($(common-objpfx)manual/%): New target.
11537         (manual/%): Remove target.
11538         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11539         (print_version): Use PKGVERSION.
11540         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11541         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11542         and REPORT_BUGS_TO.
11543         ($(objpfx)xtrace): Likewise.
11544         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11545         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11546         (print_version): Use PKGVERSION.
11547         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11548         (do_version): Use PKGVERSION.
11549         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11550         REPORT_BUGS_TO.
11551         (common-ldd-rewrite): Likewise.
11552         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11553         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11554         (print_version): Use PKGVERSION.
11555         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11556         * elf/pldd.c (argp_program_bug_address): Remove variable.
11557         (more_help): New function.
11558         (argp): Use more_help.
11559         (print_version): Use PKGVERSION.
11560         * elf/sln.c (main): Use PKGVERSION.
11561         (usage): Use REPORT_BUGS_TO.
11562         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11563         (top level): Use PKGVERSION.
11564         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11565         (print_version): Use PKGVERSION.
11566         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11567         (print_version): Use PKGVERSION.
11568         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11569         (print_version): Use PKGVERSION.
11570         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11571         (print_version): Use PKGVERSION.
11572         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11573         (print_version): Use PKGVERSION.
11574         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11575         (print_version): Use PKGVERSION.
11576         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11577         and BUGURL.
11578         ($(objpfx)memusage): Likewise.
11579         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11580         (do_version): Use PKGVERSION.
11581         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11582         (print_version): Use PKGVERSION.
11583         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11584         ($PKGVERSION): New variable.
11585         ($REPORT_BUGS_TO): Likewise.
11586         (usage): Use $REPORT_BUGS_TO.
11587         (top level): Use $PKGVERSION.
11588         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11589         ($(objpfx)pkgvers.texi): New rule.
11590         ($(objpfx)stamp-pkgvers): Likewise.
11591         * manual/install.texi: Include pkgvers.texi.
11592         (--with-pkgversion): Document new configure option.
11593         (--with-bugurl): Likewise.
11594         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11595         than necessarily for this particular distribution.  Use
11596         REPORT_BUGS_TO for where to report bugs.
11597         * INSTALL: Regenerated.
11598         * manual/libc.texinfo: Include pkgvers.texi.
11599         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11600         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11601         (print_version): Use PKGVERSION.
11602         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11603         (print_version): Use PKGVERSION.
11604         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11605         (print_version): Use PKGVERSION.
11606         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11607         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11608         macro.
11609         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11610         (print_version): Use PKGVERSION.
11611         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11612         (print_version): Use PKGVERSION.
11613         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11614         and PKGVERSION.
11616         * timezone/checktab.awk: Update from tzcode 2012i.
11617         * timezone/ialloc.c: Likewise.
11618         * timezone/private.h: Likewise.
11619         * timezone/scheck.c: Likewise.
11620         * timezone/tzfile.h: Likewise.
11621         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11622         (TZVERSION): Hardcode tzcode version number.
11623         * timezone/zdump.c: Update from tzcode 2012i.
11624         * timezone/zic.c: Likewise.
11625         * timezone/version.h: New file.
11626         * timezone/README: Describe version.h.  Update upstream location.
11628         [BZ #14824]
11629         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11630         (mktemp): Enable declaration.
11631         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11632         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11633         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11635         Likewise.
11636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11637         Likewise.
11638         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11639         Likewise.
11640         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11641         Likewise.
11642         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11643         Likewise.
11644         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11645         Likewise.
11647         [BZ #14821]
11648         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11649         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11650         for copies of such integer values.
11651         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11652         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11654 2012-11-09  Andreas Jaeger  <aj@suse.de>
11656         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11657         definitions and declarations that are provided by
11658         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11660 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11662         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11663         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11664         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11665         definition.
11667 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11669         * elf/elf.h: Update comment before AArch64 relocations.
11671 2012-11-07  David S. Miller  <davem@davemloft.net>
11673         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11674         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11675         (__start_context): Declare.
11676         (__makecontext_ret): Delete.
11677         (__makecontext): Hook up __start_context instead of
11678         __makecontext_ret.
11679         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11680         (sysdep_routines): Add __start_context when in stdlib.
11682 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11684         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11685         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11686         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11687         hardcoded "nm".
11688         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11689         (READELF): New variable.  Use it instead of hardcoded "readelf".
11691 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11693         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11694         * sysdeps/x86/Makefile: Here.
11695         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11696         * sysdeps/x86/tst-xmmymm.sh: This.
11698 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11700         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11701         expectations.
11702         [UNIX98] (pthread_barrier_t): Do not expect.
11703         [UNIX98] (pthread_barrierattr_t): Likewise.
11704         [UNIX98] (pthread_spinlock_t): Likewise.
11705         [UNIX98] (pthread_barrier_destroy): Likewise.
11706         [UNIX98] (pthread_barrier_init): Likewise.
11707         [UNIX98] (pthread_barrier_wait): Likewise.
11708         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11709         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11710         [UNIX98] (pthread_barrierattr_init): Likewise.
11711         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11712         [UNIX98] (pthread_getcpuclockid): Likewise.
11713         [UNIX98] (pthread_mutex_timedlock): Likewise.
11714         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11715         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11716         [UNIX98] (pthread_sigmask): Likewise.
11717         [UNIX98] (pthread_spin_destroy): Likewise.
11718         [UNIX98] (pthread_spin_init): Likewise.
11719         [UNIX98] (pthread_spin_lock): Likewise.
11720         [UNIX98] (pthread_spin_trylock): Likewise.
11721         [UNIX98] (pthread_spin_unlock): Likewise.
11722         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11723         Do not expect.
11724         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11725         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11726         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11727         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11728         [XPG3 || XPG4] (pthread_key_t): Likewise.
11729         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11730         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11731         [XPG3 || XPG4] (pthread_once_t): Likewise.
11732         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11733         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11734         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11735         [XPG3 || XPG4] (pthread_t): Likewise.
11737         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11738         not expect.
11739         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11741         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11742         Change function return type to int.
11744         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11745         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11746         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11747         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11748         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11749         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11750         [!POSIX] (posix_madvise): Likewise.
11751         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11752         && !UNIX98].
11753         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11754         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11755         (mode_t): Likewise.
11756         (posix_mem_offset): Likewise.
11757         (posix_typed_mem_get_info): Likewise.
11758         (posix_typed_mem_open): Likewise.
11760         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11761         Change condition to [XOPEN2K8].
11763         * conform/conformtest.pl: Preprocess allow-header data with -x c
11764         instead of from stdin.
11765         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11766         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11767         [C99-based standards] (cerfc): Likewise.
11768         [C99-based standards] (cexp2): Likewise.
11769         [C99-based standards] (cexpm1): Likewise.
11770         [C99-based standards] (clog10): Likewise.
11771         [C99-based standards] (clog1p): Likewise.
11772         [C99-based standards] (clog2): Likewise.
11773         [C99-based standards] (clgamma): Likewise.
11774         [C99-based standards] (ctgamma): Likewise.
11775         [C99-based standards] (cerff): Likewise.
11776         [C99-based standards] (cerfcf): Likewise.
11777         [C99-based standards] (cexp2f): Likewise.
11778         [C99-based standards] (cexpm1f): Likewise.
11779         [C99-based standards] (clog10f): Likewise.
11780         [C99-based standards] (clog1pf): Likewise.
11781         [C99-based standards] (clog2f): Likewise.
11782         [C99-based standards] (clgammaf): Likewise.
11783         [C99-based standards] (ctgammaf): Likewise.
11784         [C99-based standards] (cerfl): Likewise.
11785         [C99-based standards] (cerfcl): Likewise.
11786         [C99-based standards] (cexp2l): Likewise.
11787         [C99-based standards] (cexpm1l): Likewise.
11788         [C99-based standards] (clog10l): Likewise.
11789         [C99-based standards] (clog1pl): Likewise.
11790         [C99-based standards] (clog2l): Likewise.
11791         [C99-based standards] (clgammal): Likewise.
11792         [C99-based standards] (ctgammal): Likewise.
11793         * conform/data/inttypes.h-data [C99-based standards]: Include
11794         stdint.h-data.  Remove all expectations for stdint.h contents.
11795         [C99-based standards] (PRI*): Do not allow.
11796         [C99-based standards] (SCN*): Likewise.
11797         [C99-based standards] (*_t): Likewise.
11798         [C99-based-standards] (PRId8): Expect macro.
11799         [C99-based-standards] (PRIi8): Likewise.
11800         [C99-based-standards] (PRIo8): Likewise.
11801         [C99-based-standards] (PRIu8): Likewise.
11802         [C99-based-standards] (PRIx8): Likewise.
11803         [C99-based-standards] (PRIX8): Likewise.
11804         [C99-based-standards] (SCNd8): Likewise.
11805         [C99-based-standards] (SCNi8): Likewise.
11806         [C99-based-standards] (SCNo8): Likewise.
11807         [C99-based-standards] (SCNu8): Likewise.
11808         [C99-based-standards] (SCNx8): Likewise.
11809         [C99-based-standards] (PRIdLEAST8): Likewise.
11810         [C99-based-standards] (PRIiLEAST8): Likewise.
11811         [C99-based-standards] (PRIoLEAST8): Likewise.
11812         [C99-based-standards] (PRIuLEAST8): Likewise.
11813         [C99-based-standards] (PRIxLEAST8): Likewise.
11814         [C99-based-standards] (PRIXLEAST8): Likewise.
11815         [C99-based-standards] (SCNdLEAST8): Likewise.
11816         [C99-based-standards] (SCNiLEAST8): Likewise.
11817         [C99-based-standards] (SCNoLEAST8): Likewise.
11818         [C99-based-standards] (SCNuLEAST8): Likewise.
11819         [C99-based-standards] (SCNxLEAST8): Likewise.
11820         [C99-based-standards] (PRIdFAST8): Likewise.
11821         [C99-based-standards] (PRIiFAST8): Likewise.
11822         [C99-based-standards] (PRIoFAST8): Likewise.
11823         [C99-based-standards] (PRIuFAST8): Likewise.
11824         [C99-based-standards] (PRIxFAST8): Likewise.
11825         [C99-based-standards] (PRIXFAST8): Likewise.
11826         [C99-based-standards] (SCNdFAST8): Likewise.
11827         [C99-based-standards] (SCNiFAST8): Likewise.
11828         [C99-based-standards] (SCNoFAST8): Likewise.
11829         [C99-based-standards] (SCNuFAST8): Likewise.
11830         [C99-based-standards] (SCNxFAST8): Likewise.
11831         [C99-based-standards] (PRId16): Likewise.
11832         [C99-based-standards] (PRIi16): Likewise.
11833         [C99-based-standards] (PRIo16): Likewise.
11834         [C99-based-standards] (PRIu16): Likewise.
11835         [C99-based-standards] (PRIx16): Likewise.
11836         [C99-based-standards] (PRIX16): Likewise.
11837         [C99-based-standards] (SCNd16): Likewise.
11838         [C99-based-standards] (SCNi16): Likewise.
11839         [C99-based-standards] (SCNo16): Likewise.
11840         [C99-based-standards] (SCNu16): Likewise.
11841         [C99-based-standards] (SCNx16): Likewise.
11842         [C99-based-standards] (PRIdLEAST16): Likewise.
11843         [C99-based-standards] (PRIiLEAST16): Likewise.
11844         [C99-based-standards] (PRIoLEAST16): Likewise.
11845         [C99-based-standards] (PRIuLEAST16): Likewise.
11846         [C99-based-standards] (PRIxLEAST16): Likewise.
11847         [C99-based-standards] (PRIXLEAST16): Likewise.
11848         [C99-based-standards] (SCNdLEAST16): Likewise.
11849         [C99-based-standards] (SCNiLEAST16): Likewise.
11850         [C99-based-standards] (SCNoLEAST16): Likewise.
11851         [C99-based-standards] (SCNuLEAST16): Likewise.
11852         [C99-based-standards] (SCNxLEAST16): Likewise.
11853         [C99-based-standards] (PRIdFAST16): Likewise.
11854         [C99-based-standards] (PRIiFAST16): Likewise.
11855         [C99-based-standards] (PRIoFAST16): Likewise.
11856         [C99-based-standards] (PRIuFAST16): Likewise.
11857         [C99-based-standards] (PRIxFAST16): Likewise.
11858         [C99-based-standards] (PRIXFAST16): Likewise.
11859         [C99-based-standards] (SCNdFAST16): Likewise.
11860         [C99-based-standards] (SCNiFAST16): Likewise.
11861         [C99-based-standards] (SCNoFAST16): Likewise.
11862         [C99-based-standards] (SCNuFAST16): Likewise.
11863         [C99-based-standards] (SCNxFAST16): Likewise.
11864         [C99-based-standards] (PRId32): Likewise.
11865         [C99-based-standards] (PRIi32): Likewise.
11866         [C99-based-standards] (PRIo32): Likewise.
11867         [C99-based-standards] (PRIu32): Likewise.
11868         [C99-based-standards] (PRIx32): Likewise.
11869         [C99-based-standards] (PRIX32): Likewise.
11870         [C99-based-standards] (SCNd32): Likewise.
11871         [C99-based-standards] (SCNi32): Likewise.
11872         [C99-based-standards] (SCNo32): Likewise.
11873         [C99-based-standards] (SCNu32): Likewise.
11874         [C99-based-standards] (SCNx32): Likewise.
11875         [C99-based-standards] (PRIdLEAST32): Likewise.
11876         [C99-based-standards] (PRIiLEAST32): Likewise.
11877         [C99-based-standards] (PRIoLEAST32): Likewise.
11878         [C99-based-standards] (PRIuLEAST32): Likewise.
11879         [C99-based-standards] (PRIxLEAST32): Likewise.
11880         [C99-based-standards] (PRIXLEAST32): Likewise.
11881         [C99-based-standards] (SCNdLEAST32): Likewise.
11882         [C99-based-standards] (SCNiLEAST32): Likewise.
11883         [C99-based-standards] (SCNoLEAST32): Likewise.
11884         [C99-based-standards] (SCNuLEAST32): Likewise.
11885         [C99-based-standards] (SCNxLEAST32): Likewise.
11886         [C99-based-standards] (PRIdFAST32): Likewise.
11887         [C99-based-standards] (PRIiFAST32): Likewise.
11888         [C99-based-standards] (PRIoFAST32): Likewise.
11889         [C99-based-standards] (PRIuFAST32): Likewise.
11890         [C99-based-standards] (PRIxFAST32): Likewise.
11891         [C99-based-standards] (PRIXFAST32): Likewise.
11892         [C99-based-standards] (SCNdFAST32): Likewise.
11893         [C99-based-standards] (SCNiFAST32): Likewise.
11894         [C99-based-standards] (SCNoFAST32): Likewise.
11895         [C99-based-standards] (SCNuFAST32): Likewise.
11896         [C99-based-standards] (SCNxFAST32): Likewise.
11897         [C99-based-standards] (PRId64): Likewise.
11898         [C99-based-standards] (PRIi64): Likewise.
11899         [C99-based-standards] (PRIo64): Likewise.
11900         [C99-based-standards] (PRIu64): Likewise.
11901         [C99-based-standards] (PRIx64): Likewise.
11902         [C99-based-standards] (PRIX64): Likewise.
11903         [C99-based-standards] (SCNd64): Likewise.
11904         [C99-based-standards] (SCNi64): Likewise.
11905         [C99-based-standards] (SCNo64): Likewise.
11906         [C99-based-standards] (SCNu64): Likewise.
11907         [C99-based-standards] (SCNx64): Likewise.
11908         [C99-based-standards] (PRIdLEAST64): Likewise.
11909         [C99-based-standards] (PRIiLEAST64): Likewise.
11910         [C99-based-standards] (PRIoLEAST64): Likewise.
11911         [C99-based-standards] (PRIuLEAST64): Likewise.
11912         [C99-based-standards] (PRIxLEAST64): Likewise.
11913         [C99-based-standards] (PRIXLEAST64): Likewise.
11914         [C99-based-standards] (SCNdLEAST64): Likewise.
11915         [C99-based-standards] (SCNiLEAST64): Likewise.
11916         [C99-based-standards] (SCNoLEAST64): Likewise.
11917         [C99-based-standards] (SCNuLEAST64): Likewise.
11918         [C99-based-standards] (SCNxLEAST64): Likewise.
11919         [C99-based-standards] (PRIdFAST64): Likewise.
11920         [C99-based-standards] (PRIiFAST64): Likewise.
11921         [C99-based-standards] (PRIoFAST64): Likewise.
11922         [C99-based-standards] (PRIuFAST64): Likewise.
11923         [C99-based-standards] (PRIxFAST64): Likewise.
11924         [C99-based-standards] (PRIXFAST64): Likewise.
11925         [C99-based-standards] (SCNdFAST64): Likewise.
11926         [C99-based-standards] (SCNiFAST64): Likewise.
11927         [C99-based-standards] (SCNoFAST64): Likewise.
11928         [C99-based-standards] (SCNuFAST64): Likewise.
11929         [C99-based-standards] (SCNxFAST64): Likewise.
11930         [C99-based-standards] (PRIdMAX): Likewise.
11931         [C99-based-standards] (PRIiMAX): Likewise.
11932         [C99-based-standards] (PRIoMAX): Likewise.
11933         [C99-based-standards] (PRIuMAX): Likewise.
11934         [C99-based-standards] (PRIxMAX): Likewise.
11935         [C99-based-standards] (PRIXMAX): Likewise.
11936         [C99-based-standards] (SCNdMAX): Likewise.
11937         [C99-based-standards] (SCNiMAX): Likewise.
11938         [C99-based-standards] (SCNoMAX): Likewise.
11939         [C99-based-standards] (SCNuMAX): Likewise.
11940         [C99-based-standards] (SCNxMAX): Likewise.
11941         [C99-based-standards] (PRIdPTR): Likewise.
11942         [C99-based-standards] (PRIiPTR): Likewise.
11943         [C99-based-standards] (PRIoPTR): Likewise.
11944         [C99-based-standards] (PRIuPTR): Likewise.
11945         [C99-based-standards] (PRIxPTR): Likewise.
11946         [C99-based-standards] (PRIXPTR): Likewise.
11947         [C99-based-standards] (SCNdPTR): Likewise.
11948         [C99-based-standards] (SCNiPTR): Likewise.
11949         [C99-based-standards] (SCNoPTR): Likewise.
11950         [C99-based-standards] (SCNuPTR): Likewise.
11951         [C99-based-standards] (SCNxPTR): Likewise.
11952         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11953         allow.
11954         * conform/data/stdint.h-data: Update comments to clarify
11955         requirements.
11956         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11957         type.
11958         [C99-based standards] (INT8_MAX): Likewise.
11959         [C99-based standards] (INT16_MIN): Likewise.
11960         [C99-based standards] (INT16_MAX): Likewise.
11961         [C99-based standards] (INT32_MIN): Likewise.
11962         [C99-based standards] (INT32_MAX): Likewise.
11963         [C99-based standards] (INT64_MIN): Likewise.
11964         [C99-based standards] (INT64_MAX): Likewise.
11965         [C99-based standards] (UINT8_MAX): Likewise.
11966         [C99-based standards] (UINT16_MAX): Likewise.
11967         [C99-based standards] (UINT32_MAX): Likewise.
11968         [C99-based standards] (UINT64_MAX): Likewise.
11969         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11970         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11971         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11972         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11973         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11974         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11975         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11976         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11977         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11978         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11979         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11980         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11981         [C99-based standards] (INT_FAST8_MIN): Likewise.
11982         [C99-based standards] (INT_FAST8_MAX): Likewise.
11983         [C99-based standards] (INT_FAST16_MIN): Likewise.
11984         [C99-based standards] (INT_FAST16_MAX): Likewise.
11985         [C99-based standards] (INT_FAST32_MIN): Likewise.
11986         [C99-based standards] (INT_FAST32_MAX): Likewise.
11987         [C99-based standards] (INT_FAST64_MIN): Likewise.
11988         [C99-based standards] (INT_FAST64_MAX): Likewise.
11989         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11990         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11991         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11992         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11993         [C99-based standards] (INTPTR_MIN): Likewise.
11994         [C99-based standards] (INTPTR_MAX): Likewise.
11995         [C99-based standards] (UINTPTR_MAX): Likewise.
11996         [C99-based standards] (INTMAX_MIN): Likewise.
11997         [C99-based standards] (INTMAX_MAX): Likewise.
11998         [C99-based standards] (UINTMAX_MAX): Likewise.
11999         [C99-based standards] (PTRDIFF_MIN): Likewise.
12000         [C99-based standards] (PTRDIFF_MAX): Likewise.
12001         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12002         [C99-based standards] (SIZE_MAX): Likewise.
12003         [C99-based standards] (WCHAR_MAX): Likewise.
12004         [C99-based standards] (WINT_MAX): Likewise.
12005         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12006         constraint on value.
12007         [C99-based standards] (WCHAR_MIN): Likewise.
12008         [C99-based standards] (WINT_MIN): Likewise.
12009         [C99-based standards] (*_t): Allow.
12010         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12011         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12012         Include math.h-data and complex.h-data.  Remove all expectations
12013         of math.h and complex.h contents.
12014         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12015         at end of line.
12016         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12017         (struct tm): Expect tag.
12018         [C99-based-standards] (wcstof): Expect function.
12019         [C99-based-standards] (wcstold): Likewise.
12020         [C99-based-standards] (wcstoll): Likewise.
12021         [C99-based-standards] (wcstoull): Likewise.
12022         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12023         macro-int-constant.  Specify type.
12024         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12025         constraint on value.
12026         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12027         Specify type.
12028         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12029         Specify value.
12030         [ISO C standards]: Do not allow headers.
12031         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12032         wcs[abcdefghijklmnopqrstuvwxyz]*.
12033         [ISO C standards] (*_t): Do not allow.
12034         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12035         Expect function.
12036         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12037         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12038         Specify type.
12039         [ISO C standards]: Do not allow headers.
12040         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12041         is[abcdefghijklmnopqrstuvwxyz]*.
12042         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12043         to[abcdefghijklmnopqrstuvwxyz]*.
12044         [ISO C standards] (*_t): Do not allow.
12045         * conform/data/stdalign.h-data: New file.
12046         * conform/data/stdbool.h-data: Likewise.
12047         * conform/data/stdnoreturn.h-data: Likewise.
12049 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12051         [BZ #14815]
12052         * manual/filesys.texi (Directory Entries): Typo fix.
12053         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12055 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12057         * elf/elf.h (EM_AARCH64): New macro.
12058         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12059         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12060         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12061         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12062         (R_AARCH64_TLSDESC): Likewise.
12063         (NT_ARM_TLS): Likewise.
12064         (NT_ARM_HW_BREAK): Likewise.
12065         (NT_ARM_HW_WATCH): Likewise.
12067 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12069         [BZ #14811]
12070         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12071         (__ieee754_powl): Saturate nonzero exponents with absolute value
12072         below 0x1p-79 to +/- 0x1p-79.
12073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12074         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12075         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12076         nonzero exponents with absolute value below 0x1p-32 to +/-
12077         0x1p-32.
12078         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12079         (__ieee754_powl): Saturate nonzero exponents with absolute value
12080         below 0x1p-79 to +/- 0x1p-79.
12081         * math/libm-test.inc (pow_test): Add more tests.
12083 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12085         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12086         _dl_s390_cap_flags with kernel. Increase string length.
12087         (_dl_s390_platforms): Add z196 and zEC12.
12089 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12091         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12092         Change XOPEN21K to XOPEN2K.
12094 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12096         * string/memmove.c: Use memcpy when possible.
12098 2012-11-06  Andreas Jaeger  <aj@suse.de>
12100         * po/eo.po: Update from translation team.
12102 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12104         [BZ #14793]
12105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12106         exponent and small x and y exponents, scale x or y up.  Increase
12107         by 2 the exponent used in scaling up.
12108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12109         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12110         * math/libm-test.inc (fma_test): Add more tests.
12111         (fma_test_towardzero): Likewise.
12112         (fma_test_downward): Likewise.
12113         (fma_test_upward): Likewise.
12115 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12117         [BZ #14805]
12118         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12119         fenv_t *.
12121         [BZ #14801]
12122         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12123         namespace for names of struct fields.
12124         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12125         fenv_t fields.
12126         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12127         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12129 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12131         [BZ #3665]
12132         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12134 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12136         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12137         PTR_DEMANGLE.
12139         [BZ #5246]
12140         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12141         PTR_DEMANGLE.
12143 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12145         [BZ #14797]
12146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12147         definitely overflow as x * y not x * y + z.
12148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12150         * math/libm-test.inc (fma_test): Add more tests.
12151         (fma_test_towardzero): Likewise.
12152         (fma_test_downward): Likewise.
12153         (fma_test_upward): Likewise.
12155 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12157         [BZ #157]
12159         * include/stub-tag.h: Remove file.
12160         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12161         '#include' of it.
12162         * manual/maint.texi (Porting): Don't reference it.
12163         * Makerules ($(objpfx)stubs): Likewise.
12164         * dirent/closedir.c: Don't include <stub-tag.h>.
12165         * dirent/dirfd.c: Likewise.
12166         * dirent/fdopendir.c: Likewise.
12167         * dirent/getdents.c: Likewise.
12168         * dirent/getdents64.c: Likewise.
12169         * dirent/opendir.c: Likewise.
12170         * dirent/readdir.c: Likewise.
12171         * dirent/readdir64.c: Likewise.
12172         * dirent/readdir64_r.c: Likewise.
12173         * dirent/readdir_r.c: Likewise.
12174         * dirent/rewinddir.c: Likewise.
12175         * dirent/seekdir.c: Likewise.
12176         * dirent/telldir.c: Likewise.
12177         * gmon/profil.c: Likewise.
12178         * grp/setgroups.c: Likewise.
12179         * inet/if_index.c: Likewise.
12180         * io/access.c: Likewise.
12181         * io/chdir.c: Likewise.
12182         * io/chmod.c: Likewise.
12183         * io/chown.c: Likewise.
12184         * io/close.c: Likewise.
12185         * io/dup.c: Likewise.
12186         * io/dup2.c: Likewise.
12187         * io/dup3.c: Likewise.
12188         * io/euidaccess.c: Likewise.
12189         * io/faccessat.c: Likewise.
12190         * io/fchdir.c: Likewise.
12191         * io/fchmod.c: Likewise.
12192         * io/fchmodat.c: Likewise.
12193         * io/fchown.c: Likewise.
12194         * io/fchownat.c: Likewise.
12195         * io/fcntl.c: Likewise.
12196         * io/flock.c: Likewise.
12197         * io/fstatfs.c: Likewise.
12198         * io/fstatfs64.c: Likewise.
12199         * io/fstatvfs.c: Likewise.
12200         * io/fstatvfs64.c: Likewise.
12201         * io/futimens.c: Likewise.
12202         * io/fxstat.c: Likewise.
12203         * io/fxstat64.c: Likewise.
12204         * io/fxstatat.c: Likewise.
12205         * io/fxstatat64.c: Likewise.
12206         * io/getcwd.c: Likewise.
12207         * io/isatty.c: Likewise.
12208         * io/lchmod.c: Likewise.
12209         * io/lchown.c: Likewise.
12210         * io/link.c: Likewise.
12211         * io/linkat.c: Likewise.
12212         * io/lseek.c: Likewise.
12213         * io/lseek64.c: Likewise.
12214         * io/lxstat64.c: Likewise.
12215         * io/mkdir.c: Likewise.
12216         * io/mkdirat.c: Likewise.
12217         * io/mkfifo.c: Likewise.
12218         * io/mkfifoat.c: Likewise.
12219         * io/open.c: Likewise.
12220         * io/open64.c: Likewise.
12221         * io/openat.c: Likewise.
12222         * io/openat64.c: Likewise.
12223         * io/pipe.c: Likewise.
12224         * io/pipe2.c: Likewise.
12225         * io/poll.c: Likewise.
12226         * io/posix_fadvise.c: Likewise.
12227         * io/posix_fadvise64.c: Likewise.
12228         * io/posix_fallocate.c: Likewise.
12229         * io/posix_fallocate64.c: Likewise.
12230         * io/read.c: Likewise.
12231         * io/readlink.c: Likewise.
12232         * io/readlinkat.c: Likewise.
12233         * io/rmdir.c: Likewise.
12234         * io/sendfile.c: Likewise.
12235         * io/sendfile64.c: Likewise.
12236         * io/statfs.c: Likewise.
12237         * io/statfs64.c: Likewise.
12238         * io/statvfs.c: Likewise.
12239         * io/statvfs64.c: Likewise.
12240         * io/symlink.c: Likewise.
12241         * io/symlinkat.c: Likewise.
12242         * io/ttyname.c: Likewise.
12243         * io/ttyname_r.c: Likewise.
12244         * io/umask.c: Likewise.
12245         * io/unlink.c: Likewise.
12246         * io/unlinkat.c: Likewise.
12247         * io/utime.c: Likewise.
12248         * io/utimensat.c: Likewise.
12249         * io/write.c: Likewise.
12250         * io/xmknod.c: Likewise.
12251         * io/xmknodat.c: Likewise.
12252         * io/xstat.c: Likewise.
12253         * io/xstat64.c: Likewise.
12254         * login/getpt.c: Likewise.
12255         * login/grantpt.c: Likewise.
12256         * login/unlockpt.c: Likewise.
12257         * math/e_acoshl.c: Likewise.
12258         * math/e_acosl.c: Likewise.
12259         * math/e_asinl.c: Likewise.
12260         * math/e_atan2l.c: Likewise.
12261         * math/e_atanhl.c: Likewise.
12262         * math/e_coshl.c: Likewise.
12263         * math/e_expl.c: Likewise.
12264         * math/e_fmodl.c: Likewise.
12265         * math/e_gammal_r.c: Likewise.
12266         * math/e_hypotl.c: Likewise.
12267         * math/e_j0l.c: Likewise.
12268         * math/e_j1l.c: Likewise.
12269         * math/e_jnl.c: Likewise.
12270         * math/e_lgammal_r.c: Likewise.
12271         * math/e_log10l.c: Likewise.
12272         * math/e_log2l.c: Likewise.
12273         * math/e_logl.c: Likewise.
12274         * math/e_powl.c: Likewise.
12275         * math/e_rem_pio2l.c: Likewise.
12276         * math/e_sinhl.c: Likewise.
12277         * math/e_sqrtl.c: Likewise.
12278         * math/fclrexcpt.c: Likewise.
12279         * math/fedisblxcpt.c: Likewise.
12280         * math/feenablxcpt.c: Likewise.
12281         * math/fegetenv.c: Likewise.
12282         * math/fegetexcept.c: Likewise.
12283         * math/fegetround.c: Likewise.
12284         * math/feholdexcpt.c: Likewise.
12285         * math/fesetenv.c: Likewise.
12286         * math/fesetround.c: Likewise.
12287         * math/feupdateenv.c: Likewise.
12288         * math/fgetexcptflg.c: Likewise.
12289         * math/fraiseexcpt.c: Likewise.
12290         * math/fsetexcptflg.c: Likewise.
12291         * math/ftestexcept.c: Likewise.
12292         * math/k_cosl.c: Likewise.
12293         * math/k_rem_pio2l.c: Likewise.
12294         * math/k_sinl.c: Likewise.
12295         * math/k_tanl.c: Likewise.
12296         * math/s_asinhl.c: Likewise.
12297         * math/s_atanl.c: Likewise.
12298         * math/s_cbrtl.c: Likewise.
12299         * math/s_erfl.c: Likewise.
12300         * math/s_expm1l.c: Likewise.
12301         * math/s_log1pl.c: Likewise.
12302         * math/s_tanhl.c: Likewise.
12303         * misc/acct.c: Likewise.
12304         * misc/brk.c: Likewise.
12305         * misc/chflags.c: Likewise.
12306         * misc/chroot.c: Likewise.
12307         * misc/fchflags.c: Likewise.
12308         * misc/fgetxattr.c: Likewise.
12309         * misc/flistxattr.c: Likewise.
12310         * misc/fremovexattr.c: Likewise.
12311         * misc/fsetxattr.c: Likewise.
12312         * misc/fsync.c: Likewise.
12313         * misc/ftruncate.c: Likewise.
12314         * misc/futimes.c: Likewise.
12315         * misc/futimesat.c: Likewise.
12316         * misc/getdomain.c: Likewise.
12317         * misc/getdtsz.c: Likewise.
12318         * misc/gethostid.c: Likewise.
12319         * misc/gethostname.c: Likewise.
12320         * misc/getloadavg.c: Likewise.
12321         * misc/getpagesize.c: Likewise.
12322         * misc/getsysstats.c: Likewise.
12323         * misc/getxattr.c: Likewise.
12324         * misc/gtty.c: Likewise.
12325         * misc/ioctl.c: Likewise.
12326         * misc/lgetxattr.c: Likewise.
12327         * misc/listxattr.c: Likewise.
12328         * misc/llistxattr.c: Likewise.
12329         * misc/lremovexattr.c: Likewise.
12330         * misc/lsetxattr.c: Likewise.
12331         * misc/lutimes.c: Likewise.
12332         * misc/madvise.c: Likewise.
12333         * misc/mincore.c: Likewise.
12334         * misc/mlock.c: Likewise.
12335         * misc/mlockall.c: Likewise.
12336         * misc/mmap.c: Likewise.
12337         * misc/mprotect.c: Likewise.
12338         * misc/msync.c: Likewise.
12339         * misc/munlock.c: Likewise.
12340         * misc/munlockall.c: Likewise.
12341         * misc/munmap.c: Likewise.
12342         * misc/preadv.c: Likewise.
12343         * misc/preadv64.c: Likewise.
12344         * misc/ptrace.c: Likewise.
12345         * misc/pwritev.c: Likewise.
12346         * misc/pwritev64.c: Likewise.
12347         * misc/readv.c: Likewise.
12348         * misc/reboot.c: Likewise.
12349         * misc/remap_file_pages.c: Likewise.
12350         * misc/removexattr.c: Likewise.
12351         * misc/revoke.c: Likewise.
12352         * misc/select.c: Likewise.
12353         * misc/setdomain.c: Likewise.
12354         * misc/setegid.c: Likewise.
12355         * misc/seteuid.c: Likewise.
12356         * misc/sethostid.c: Likewise.
12357         * misc/sethostname.c: Likewise.
12358         * misc/setregid.c: Likewise.
12359         * misc/setreuid.c: Likewise.
12360         * misc/setxattr.c: Likewise.
12361         * misc/sstk.c: Likewise.
12362         * misc/stty.c: Likewise.
12363         * misc/swapoff.c: Likewise.
12364         * misc/swapon.c: Likewise.
12365         * misc/sync.c: Likewise.
12366         * misc/syncfs.c: Likewise.
12367         * misc/syscall.c: Likewise.
12368         * misc/truncate.c: Likewise.
12369         * misc/ualarm.c: Likewise.
12370         * misc/usleep.c: Likewise.
12371         * misc/ustat.c: Likewise.
12372         * misc/utimes.c: Likewise.
12373         * misc/vhangup.c: Likewise.
12374         * misc/writev.c: Likewise.
12375         * posix/_exit.c: Likewise.
12376         * posix/alarm.c: Likewise.
12377         * posix/execve.c: Likewise.
12378         * posix/fexecve.c: Likewise.
12379         * posix/fork.c: Likewise.
12380         * posix/fpathconf.c: Likewise.
12381         * posix/getaddrinfo.c: Likewise.
12382         * posix/getegid.c: Likewise.
12383         * posix/geteuid.c: Likewise.
12384         * posix/getgid.c: Likewise.
12385         * posix/getgroups.c: Likewise.
12386         * posix/getlogin.c: Likewise.
12387         * posix/getlogin_r.c: Likewise.
12388         * posix/getpgid.c: Likewise.
12389         * posix/getpid.c: Likewise.
12390         * posix/getppid.c: Likewise.
12391         * posix/getresgid.c: Likewise.
12392         * posix/getresuid.c: Likewise.
12393         * posix/getsid.c: Likewise.
12394         * posix/getuid.c: Likewise.
12395         * posix/glob64.c: Likewise.
12396         * posix/nanosleep.c: Likewise.
12397         * posix/pathconf.c: Likewise.
12398         * posix/pause.c: Likewise.
12399         * posix/posix_madvise.c: Likewise.
12400         * posix/pread.c: Likewise.
12401         * posix/pread64.c: Likewise.
12402         * posix/pwrite.c: Likewise.
12403         * posix/pwrite64.c: Likewise.
12404         * posix/sched_getaffinity.c: Likewise.
12405         * posix/sched_getp.c: Likewise.
12406         * posix/sched_gets.c: Likewise.
12407         * posix/sched_primax.c: Likewise.
12408         * posix/sched_primin.c: Likewise.
12409         * posix/sched_rr_gi.c: Likewise.
12410         * posix/sched_setaffinity.c: Likewise.
12411         * posix/sched_setp.c: Likewise.
12412         * posix/sched_sets.c: Likewise.
12413         * posix/sched_yield.c: Likewise.
12414         * posix/setgid.c: Likewise.
12415         * posix/setlogin.c: Likewise.
12416         * posix/setpgid.c: Likewise.
12417         * posix/setresgid.c: Likewise.
12418         * posix/setresuid.c: Likewise.
12419         * posix/setsid.c: Likewise.
12420         * posix/setuid.c: Likewise.
12421         * posix/sleep.c: Likewise.
12422         * posix/spawni.c: Likewise.
12423         * posix/sysconf.c: Likewise.
12424         * posix/times.c: Likewise.
12425         * posix/wait.c: Likewise.
12426         * posix/wait3.c: Likewise.
12427         * posix/wait4.c: Likewise.
12428         * posix/waitpid.c: Likewise.
12429         * resolv/gai_sigqueue.c: Likewise.
12430         * resource/getpriority.c: Likewise.
12431         * resource/getrlimit.c: Likewise.
12432         * resource/getrusage.c: Likewise.
12433         * resource/nice.c: Likewise.
12434         * resource/setpriority.c: Likewise.
12435         * resource/setrlimit.c: Likewise.
12436         * resource/ulimit.c: Likewise.
12437         * rt/aio_cancel.c: Likewise.
12438         * rt/aio_fsync.c: Likewise.
12439         * rt/aio_read.c: Likewise.
12440         * rt/aio_sigqueue.c: Likewise.
12441         * rt/aio_suspend.c: Likewise.
12442         * rt/aio_write.c: Likewise.
12443         * rt/clock_getres.c: Likewise.
12444         * rt/clock_gettime.c: Likewise.
12445         * rt/clock_nanosleep.c: Likewise.
12446         * rt/clock_settime.c: Likewise.
12447         * rt/lio_listio.c: Likewise.
12448         * rt/mq_close.c: Likewise.
12449         * rt/mq_getattr.c: Likewise.
12450         * rt/mq_notify.c: Likewise.
12451         * rt/mq_open.c: Likewise.
12452         * rt/mq_receive.c: Likewise.
12453         * rt/mq_send.c: Likewise.
12454         * rt/mq_setattr.c: Likewise.
12455         * rt/mq_timedreceive.c: Likewise.
12456         * rt/mq_timedsend.c: Likewise.
12457         * rt/mq_unlink.c: Likewise.
12458         * rt/shm_open.c: Likewise.
12459         * rt/shm_unlink.c: Likewise.
12460         * rt/timer_create.c: Likewise.
12461         * rt/timer_delete.c: Likewise.
12462         * rt/timer_getoverr.c: Likewise.
12463         * rt/timer_gettime.c: Likewise.
12464         * rt/timer_settime.c: Likewise.
12465         * setjmp/__longjmp.c: Likewise.
12466         * setjmp/setjmp.c: Likewise.
12467         * signal/kill.c: Likewise.
12468         * signal/killpg.c: Likewise.
12469         * signal/raise.c: Likewise.
12470         * signal/sigaction.c: Likewise.
12471         * signal/sigaltstack.c: Likewise.
12472         * signal/sigblock.c: Likewise.
12473         * signal/sigignore.c: Likewise.
12474         * signal/sigintr.c: Likewise.
12475         * signal/signal.c: Likewise.
12476         * signal/sigpause.c: Likewise.
12477         * signal/sigpending.c: Likewise.
12478         * signal/sigqueue.c: Likewise.
12479         * signal/sigreturn.c: Likewise.
12480         * signal/sigset.c: Likewise.
12481         * signal/sigsetmask.c: Likewise.
12482         * signal/sigstack.c: Likewise.
12483         * signal/sigsuspend.c: Likewise.
12484         * signal/sigtimedwait.c: Likewise.
12485         * signal/sigvec.c: Likewise.
12486         * signal/sigwait.c: Likewise.
12487         * signal/sigwaitinfo.c: Likewise.
12488         * signal/sysv_signal.c: Likewise.
12489         * socket/accept.c: Likewise.
12490         * socket/accept4.c: Likewise.
12491         * socket/bind.c: Likewise.
12492         * socket/connect.c: Likewise.
12493         * socket/getpeername.c: Likewise.
12494         * socket/getsockname.c: Likewise.
12495         * socket/getsockopt.c: Likewise.
12496         * socket/isfdtype.c: Likewise.
12497         * socket/listen.c: Likewise.
12498         * socket/recv.c: Likewise.
12499         * socket/recvfrom.c: Likewise.
12500         * socket/recvmsg.c: Likewise.
12501         * socket/send.c: Likewise.
12502         * socket/sendmsg.c: Likewise.
12503         * socket/sendto.c: Likewise.
12504         * socket/setsockopt.c: Likewise.
12505         * socket/shutdown.c: Likewise.
12506         * socket/sockatmark.c: Likewise.
12507         * socket/socket.c: Likewise.
12508         * socket/socketpair.c: Likewise.
12509         * stdio-common/ctermid.c: Likewise.
12510         * stdio-common/cuserid.c: Likewise.
12511         * stdio-common/remove.c: Likewise.
12512         * stdio-common/rename.c: Likewise.
12513         * stdio-common/renameat.c: Likewise.
12514         * stdio-common/tempname.c: Likewise.
12515         * stdlib/getcontext.c: Likewise.
12516         * stdlib/makecontext.c: Likewise.
12517         * stdlib/setcontext.c: Likewise.
12518         * stdlib/swapcontext.c: Likewise.
12519         * stdlib/system.c: Likewise.
12520         * streams/fattach.c: Likewise.
12521         * streams/fdetach.c: Likewise.
12522         * streams/getmsg.c: Likewise.
12523         * streams/getpmsg.c: Likewise.
12524         * streams/putmsg.c: Likewise.
12525         * streams/putpmsg.c: Likewise.
12526         * sysdeps/unix/bsd/getpt.c: Likewise.
12527         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12528         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12529         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12531         Likewise.
12532         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12533         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12534         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12535         * sysvipc/msgctl.c: Likewise.
12536         * sysvipc/msgget.c: Likewise.
12537         * sysvipc/msgrcv.c: Likewise.
12538         * sysvipc/msgsnd.c: Likewise.
12539         * sysvipc/semctl.c: Likewise.
12540         * sysvipc/semget.c: Likewise.
12541         * sysvipc/semop.c: Likewise.
12542         * sysvipc/semtimedop.c: Likewise.
12543         * sysvipc/shmat.c: Likewise.
12544         * sysvipc/shmctl.c: Likewise.
12545         * sysvipc/shmdt.c: Likewise.
12546         * sysvipc/shmget.c: Likewise.
12547         * termios/tcdrain.c: Likewise.
12548         * termios/tcflow.c: Likewise.
12549         * termios/tcflush.c: Likewise.
12550         * termios/tcgetattr.c: Likewise.
12551         * termios/tcgetpgrp.c: Likewise.
12552         * termios/tcsendbrk.c: Likewise.
12553         * termios/tcsetattr.c: Likewise.
12554         * termios/tcsetpgrp.c: Likewise.
12555         * time/adjtime.c: Likewise.
12556         * time/clock.c: Likewise.
12557         * time/getitimer.c: Likewise.
12558         * time/gettimeofday.c: Likewise.
12559         * time/setitimer.c: Likewise.
12560         * time/settimeofday.c: Likewise.
12561         * time/stime.c: Likewise.
12562         * time/time.c: Likewise.
12564 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12566         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12567         /usr/old/bin.
12569         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12570         instead of spaces.
12571         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12573 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12575         [BZ #14796]
12576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12577         FE_TONEAREST before applying Dekker multiplication and Knuth
12578         addition.  Clear inexact exceptions and check for exact zero
12579         results afterwards.
12580         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12581         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12583         * math/libm-test.inc (fma_test): Add more tests.
12584         (fma_test_towardzero): Likewise.
12585         (fma_test_downward): Likewise.
12586         (fma_test_upward): Likewise.
12587         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12588         function.
12589         (libc_fesetround): New macro.
12590         (libc_fesetroundf): Likewise.
12591         (libc_fesetroundl): Likewise.
12592         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12593         function.
12594         (libc_fesetround_387): Likewise.
12595         (libc_fesetroundf): New macro.
12596         (libc_fesetround): Likewise.
12597         (libc_fesetroundl): Likewise.
12598         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12599         function.
12600         (libc_fesetroundf): New macro.
12601         (libc_fesetround): Likewise.
12602         (libc_fesetroundl): Likewise.
12603         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12604         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12605         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12606         libm_hidden_ver.
12607         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12608         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12609         libm_hidden_def.
12610         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12611         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12612         libm_hidden_ver.
12613         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12614         libm_hidden_def.
12616         [BZ #3439]
12617         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12618         integer constant usable in #if and use that to give value to enum
12619         constant.
12620         (FE_DIVBYZERO): Likewise.
12621         (FE_UNDERFLOW): Likewise.
12622         (FE_OVERFLOW): Likewise.
12623         (FE_INVALID): Likewise.
12624         (FE_INVALID_SNAN): Likewise.
12625         (FE_INVALID_ISI): Likewise.
12626         (FE_INVALID_IDI): Likewise.
12627         (FE_INVALID_ZDZ): Likewise.
12628         (FE_INVALID_IMZ): Likewise.
12629         (FE_INVALID_COMPARE): Likewise.
12630         (FE_INVALID_SOFTWARE): Likewise.
12631         (FE_INVALID_SQRT): Likewise.
12632         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12633         (FE_TONEAREST): Likewise.
12634         (FE_TOWARDZERO): Likewise.
12635         (FE_UPWARD): Likewise.
12636         (FE_DOWNWARD): Likewise.
12637         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12638         (FE_DIVBYZERO): Likewise.
12639         (FE_OVERFLOW): Likewise.
12640         (FE_UNDERFLOW): Likewise.
12641         (FE_INEXACT): Likewise.
12642         (FE_TONEAREST): Likewise.
12643         (FE_DOWNWARD): Likewise.
12644         (FE_UPWARD): Likewise.
12645         (FE_TOWARDZERO): Likewise.
12646         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12647         (FE_UNDERFLOW): Likewise.
12648         (FE_OVERFLOW): Likewise.
12649         (FE_DIVBYZERO): Likewise.
12650         (FE_INVALID): Likewise.
12651         (FE_TONEAREST): Likewise.
12652         (FE_TOWARDZERO): Likewise.
12653         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12654         (FE_OVERFLOW): Likewise.
12655         (FE_UNDERFLOW): Likewise.
12656         (FE_DIVBYZERO): Likewise.
12657         (FE_INEXACT): Likewise.
12658         (FE_TONEAREST): Likewise.
12659         (FE_TOWARDZERO): Likewise.
12660         (FE_UPWARD): Likewise.
12661         (FE_DOWNWARD): Likewise.
12662         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12663         (FE_DIVBYZERO): Likewise.
12664         (FE_OVERFLOW): Likewise.
12665         (FE_UNDERFLOW): Likewise.
12666         (FE_INEXACT): Likewise.
12667         (FE_TONEAREST): Likewise.
12668         (FE_DOWNWARD): Likewise.
12669         (FE_UPWARD): Likewise.
12670         (FE_TOWARDZERO): Likewise.
12672 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12674         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12676 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12678         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12679         commands.  Quote $PWD.
12680         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12681         -x" by "export".
12682         (remove_newlines): Remove.
12684 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12686         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12687         * stdlib/stdlib.h (atof): Moved to ...
12688         * include/bits/stdlib-float.h: Here.  New file.
12689         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12690         * stdlib/bits/stdlib-float.h: New file.
12691         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12692         -mno-sse -mno-mmx.
12693         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12694         <xmmintrin.h>.
12696 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12698         * conform/conformtest.pl (@headers): Add fenv.h.
12699         * conform/data/fenv.h-data: New file.
12700         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12701         include of <math/fenv.h>.
12703         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12704         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12705         && !UNIX98].  Enables tests for XOPEN2K8.
12706         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12707         POSIX2008]: Likewise.
12709         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12710         (struct rusage): Do not expect type or its members.
12712         [BZ #3439]
12713         * math/math.h (FP_NAN): Define macro to integer constant usable in
12714         #if and use that to give value to enum constant.
12715         (FP_INFINITE): Likewise.
12716         (FP_ZERO): Likewise.
12717         (FP_SUBNORMAL): Likewise.
12718         (FP_NORMAL): Likewise.
12720 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12722         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12723         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12724         arguments.
12726 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12728         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12729         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12730         autoconf-time if not.
12731         * configure.in: Remove AC_PREREQ.
12733 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12735         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12736         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12737         of the internal implementation.
12739 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12741         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12742         except include of <misc/sys/syslog.h>.
12744 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12747         function returns with a NULL context exit with zero.
12749 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12751         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12753 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12755         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12756         (run_program_cmd): This.
12757         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12758         (tst_langinfo): New variable.  Use it.
12760 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12762         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12763         floating point opcodes.
12765 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12767         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12768         variable.
12770         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12772         * sysdeps/mach/hurd/powerpc: Remove directory.
12773         * sysdeps/mach/powerpc: Likewise.
12775 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12777         * scripts/check-local-headers.sh: Ignore c++ headers.
12779 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12781         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12782         __libc_cleanup_region_start argument.
12784 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #14784]
12787         [BZ #14785]
12788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12789         x * y using scaling, not as x * y + z.
12790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12792         * math/libm-test.inc (fma_test): Add more tests.
12793         (fma_test_towardzero): Likewise.
12794         (fma_test_downward): Likewise.
12795         (fma_test_upward): Likewise.
12797 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12799         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12801 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12803         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12804         New variable.
12806 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12808         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12810 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12813         Fix sort order.
12814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12815         Likewise.
12817 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12820         Fix the order of the list for glibc 2.17.
12821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12822         Likewise.
12824 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12828 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12830         [BZ #14610]
12831         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12832         for low part of x being zero before using __atanl (y).
12833         * math/libm-test.inc (atan2_test): Add another test.
12835         * manual/install.texi (Configuring and compiling): Document
12836         general use of test-wrapper and test-wrapper-env.
12837         * INSTALL: Regenerated.
12839         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12840         (__fma): Do not extract and scale down low bits on after-rounding
12841         systems when result rounded to normal precision would have normal
12842         exponent.
12843         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12844         (__fmal): Do not extract and scale down low bits on after-rounding
12845         systems when result rounded to normal precision would have normal
12846         exponent.
12847         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12848         (__fmal): Do not extract and scale down low bits on after-rounding
12849         systems when result rounded to normal precision would have normal
12850         exponent.
12851         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12852         macro.
12853         (fma_test): Add more tests.
12854         (fma_test_towardzero): Likewise.
12855         (fma_test_downward): Likewise.
12856         (fma_test_upward): Likewise.
12858 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
12860         * sysdeps/i386/tininess.h: Renamed to ...
12861         * sysdeps/x86/tininess.h: This.
12862         * sysdeps/x86_64/tininess.h: Removed.
12864 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12866         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12867         input.  Use $(build-program-cmd).
12868         ($(objpfx)tst-array1-static.out): Likewise.
12869         ($(objpfx)tst-array2.out): Likewise.
12870         ($(objpfx)tst-array3.out): Likewise.
12871         ($(objpfx)tst-array4.out): Likewise.
12872         ($(objpfx)tst-array5.out): Likewise.
12873         ($(objpfx)tst-array5-static.out): Likewise.
12875 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12877         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12878         if defined.
12880         * nss/nsswitch.h (nss_interface_function): Provide new
12881         macro for use with NSS functions.
12882         * grp/initgroups.c: Use new macro.
12883         * nss/getXXbyYY.c: Likewise.
12884         * nss/getXXbyYY_r.c: Likewise.
12885         * nss/getXXent.c: Likewise.
12886         * nss/getXXent_r.c: Likewise.
12887         * sysdeps/posix/getaddrinfo.c: Likewise.
12889 2012-10-30  Andreas Jaeger  <aj@suse.de>
12891         * po/ru.po: Update Russion translation from translation project.
12893 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12895         [BZ #14152]
12896         [BZ #14783]
12897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12898         result and shift together with sticky bit instead of replicating
12899         round-to-nearest rounding.
12900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12902         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12903         missing underflow exceptions.
12904         (fma_test_towardzero): Add more tests.
12905         (fma_test_downward): Likewise.
12906         (fma_test_upward): Likewise.
12908         [BZ #14047]
12909         * sysdeps/generic/tininess.h: New file.
12910         * sysdeps/i386/tininess.h: Likewise.
12911         * sysdeps/sh/tininess.h: Likewise.
12912         * sysdeps/x86_64/tininess.h: Likewise.
12913         * stdlib/tst-strtod-underflow.c: Likewise.
12914         * stdlib/tst-tininess.c: Likewise.
12915         * stdlib/strtod_l.c: Include <tininess.h>.
12916         (round_and_return): Do not set errno for exact underflow cases.
12917         Force an underflow exception when setting errno for underflow.
12918         Determine underflow based on rounding to normal precision if
12919         TININESS_AFTER_ROUNDING.
12920         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12921         ERANGE for exact underflow cases.
12922         * stdlib/Makefile (tests): Add tst-tininess and
12923         tst-strtod-underflow.
12924         ($(objpfx)tst-tininess): Use $(link-libm).
12925         ($(objpfx)tst-strtod-underflow): Likewise.
12927 2012-10-30  Andreas Jaeger  <aj@suse.de>
12929         [BZ#14767]
12930         * elf/Makefile (tests): Remove conditional for have-initfini-array
12931         since this is now always required and the variable does not exist
12932         anymore.
12933         (tests-static): Likewise.
12934         (modules-names): Likewise.
12936         * po/eo.po: Add Esperanto translation from translation project.
12938         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12939         merged with constructor/destructor.
12940         (init_array): Likewise.
12941         * elf/tst-array2dep.c (fini_array): Likewise.
12942         (init_array): Likewise.
12944 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12946         * manual/message.texi: Delete @cartouche tags.
12948 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12950         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12951         EOPNOTSUPP.
12952         * sysdeps/mach/hurd/fsync.c: Likewise.
12954         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12955         [_POSIX_REALTIME_SIGNALS]: Change condition to
12956         [_POSIX_REALTIME_SIGNALS > 0].
12958 2012-10-27  Andreas Jaeger  <aj@suse.de>
12960         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12961         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12962         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12963         [__WORDSIZE != 64]: Likewise.
12965 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12967         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12968         *  iconvdata/tst-tables.sh: Likewise.
12970 2012-10-25  David S. Miller  <davem@davemloft.net>
12972         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12973         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12974         of strtoull.
12976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12977         ifunc-impl-list.c
12978         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12979         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12980         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12981         file.
12983 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12985         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12986         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12987         __getdirentries.
12989 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12990             Jim Blandy  <jimb@codesourcery.com>
12992         * scripts/cross-test-ssh.sh: New file.
12993         * manual/install.texi (Configuring and compiling): Document use of
12994         cross-test-ssh.sh.
12995         * INSTALL: Regenerated.
12997 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12999         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13000         EOPNOTSUPP.
13002 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13004         * Makeconfig (run-program-prefix): Fix comment.
13006 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13007             Jim Blandy  <jimb@codesourcery.com>
13009         * Makeconfig (test-wrapper): New variable,
13010         (test-wrapper-env): Likewise.
13011         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13012         (run-built-tests): Define to yes.
13013         (run-program-prefix): Use $(test-wrapper).
13014         (built-program-cmd): Likewise.
13015         * Rules (make-test-out): Use $(test-wrapper-env) and
13016         $(host-built-program-cmd).
13017         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13018         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13019         tst-pathopt.sh.
13020         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13021         $(test-wrapper-env) to tst-rtld-load-self.sh.
13022         ($(objpfx)order2.out): Use $(test-wrapper).
13023         ($(objpfx)tst-initorder.out): Likewise.
13024         ($(objpfx)tst-initorder2.out): Likewise.
13025         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13026         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13027         (test_wrapper_env): New variable.  Use it to run ld.so.
13028         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13029         Use it to run ld.so.
13030         (test_wrapper_env): Likewise.
13031         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13032         $(test-wrapper) to run-iconv-test.sh.
13033         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13034         (ICONV): Use $test_wrapper.
13035         * posix/Makefile ($(objpfx)globtest.out): Pass
13036         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13037         globtest.sh, not $(run-program-prefix).
13038         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13039         (test_wrapper): Likewise.
13040         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13041         set together with run_via_rtld_prefix.
13042         (run_program_prefix): Define in terms of test_wrapper and
13043         run_via_rtld_prefix.
13045 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13047         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13048         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13049         Targets removed.
13051         [BZ #14743]
13052         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13053         Declare __clock_getres, __clock_gettime, __clock_settime,
13054         __clock_nanosleep, and __clock_getcpuclockid.
13055         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13056         Remove librt_hidden_def (clock_gettime).
13057         * sysdeps/unix/clock_gettime.c: Likewise.
13058         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13059         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13060         * rt/clock_getres.c: Define __clock_getres as an alias.
13061         * sysdeps/posix/clock_getres.c: Likewise.
13062         * rt/clock_settime.c: Define __clock_settime as an alias.
13063         * sysdeps/unix/clock_settime.c: Likewise.
13064         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13065         * sysdeps/unix/clock_nanosleep.c: Likewise.
13066         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13067         * rt/clock-compat.c: New file.
13068         * rt/Makefile (librt-routines): Add clock-compat and move
13069         $(clock-routines) to ...
13070         (routines): ... here, new variable.
13071         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13072         Don't add get_clockfreq here.
13073         * rt/Versions (libc: GLIBC_2.17): New version set.
13074         Add clock_* symbols here.
13075         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13076         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13077         (GLIBC_2.17): Add clock_* symbols.
13078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13082         Likewise.
13083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13084         Likewise.
13085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13089         * NEWS: Mention the move.
13091         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13092         Use __open, __read, __close rather than their public counterparts.
13093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13094         (__get_clockfreq_via_cpuinfo): Likewise.
13095         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13096         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13098         * config.h.in (HAVE_IFUNC): New #undef.
13099         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13100         was successful.
13101         * configure: Regenerated.
13103 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13105         * configure.in: Move READELF check to start of file.
13106         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13107         libc_cv_asm_gnu_indirect_function in the process.
13108         * configure: Regenerated.
13110 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13112         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13113         send the output to /dev/null.
13114         (libc_cv_cc_with_libunwind): Likewise.
13115         (libc_cv_as_noexecstack): Likewise.
13116         * configure: Regenerate.
13118 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13120         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13122         * posix/globtest.sh (TMPDIR): Do not set.
13123         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13124         (testout): Likewise.
13126 2012-10-24  Andreas Jaeger  <aj@suse.de>
13128         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13129         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13130         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13131         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13132         posix_fadvise64, posix_fallocate64.
13134         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13135         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13136         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13137         Likewise.
13138         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13139         Likewise.
13140         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13143         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13144         <bits/fcntl-linux.h>.
13145         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13148         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13149         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13150         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13151         [__WORDSIZE != 64]: Likewise.
13153 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13155         * Makeconfig (run-built-tests): New variable.
13156         * Rules [$(cross-compiling) = yes]: Change condition to
13157         [$(run-built-tests) = no].
13158         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13159         to [$(run-built-tests) = yes].
13160         * elf/Makefile [$(cross-compiling) = no]: Likewise
13161         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13162         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13163         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13164         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13165         * io/Makefile [$(cross-compiling) = no]: Likewise.
13166         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13167         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13168         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13169         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13170         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13171         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13172         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13173         * string/Makefile [$(cross-compiling) = no]: Likewise.
13175         * posix/Makefile ($(objpfx)globtest.out): Pass
13176         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13177         $(rtld-installed-name).
13178         * posix/globtest.sh (elf_objpfx): Remove variable.
13179         (rtld_installed_name): Likewise.
13180         (library_path): Likewise.
13181         (run_program_prefix): New variable.  Use for running globtest
13182         binary.
13184 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13185             Joseph Myers  <joseph@codesourcery.com>
13187         * Makeconfig (host-built-program-cmd): New variable.
13188         * elf/Makefile (tst-stackguard1-ARGS): Use
13189         $(host-built-program-cmd).
13190         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13191         (tst-spawn-ARGS): Likewise.
13192         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13194 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13195             Jim Blandy  <jimb@codesourcery.com>
13197         * Makeconfig (run-via-rtld-prefix): New variable.
13198         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13199         (built-program-cmd): Likewise.
13201 2012-10-22  Andreas Jaeger  <aj@suse.de>
13203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13204         __O_RSYNC if it exists, otherwise to O_SYNC.
13206 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13207             Joseph Myers  <joseph@codesourcery.com>
13209         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13210         /dev/null.
13211         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13212         from /dev/null
13213         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13214         /dev/null.
13216 2012-10-22  Andreas Jaeger  <aj@suse.de>
13218         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13219         Define always.
13220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13223         bits/fcntl-linux.h.
13225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13226         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13228         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13229         to __O_LARGEFILE.
13230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13231         to __O_LARGEFILE.
13233 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13234             Joseph Myers  <joseph@codesourcery.com>
13236         * config.make.in (NM): New variable.
13238 2012-10-21  Andreas Jaeger  <aj@suse.de>
13240         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13241         definitions and declarations that are provided by
13242         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13244 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13246         [BZ #14683]
13247         * elf/Makefile (tests-static): Add tst-leaks1-static.
13248         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13249         ($(objpfx)tst-leaks1-static): New rule.
13250         ($(objpfx)tst-leaks1-static-mem): Likewise.
13251         (tst-leaks1-static-ENV): New macro.
13252         * elf/dl-open.c (dl_open_worker): Check the main application
13253         only if SHARED is defined.
13254         * elf/tst-leaks1-static.c: New file.
13256 2012-10-20  Andreas Jaeger  <aj@suse.de>
13258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13259         generic values for Linux.
13260         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13261         and declarations that are provided by <bits/fcntl-linux.h> and
13262         include <bits/fcntl-linux.h>.
13263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13266 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13268         * io/fcntl.h: Move include of <bits/types.h> to the top and
13269         include it unconditionally.
13271 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13273         * wcsmbs/Makefile (tests-ifunc): New variable.
13274         (tests): Add $(tests-ifunc).
13275         * wcsmbs/test-wcschr-ifunc.c: New file.
13276         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13277         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13278         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13279         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13280         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13282         * string/Makefile (tests-ifunc): New variable.
13283         (tests): Add $(tests-ifunc).
13284         * string/test-memccpy.c (TEST_NAME): New macro.
13285         * string/test-memchr.c (TEST_NAME): Likewise.
13286         * string/test-memcmp.c (TEST_NAME): Likewise.
13287         * string/test-memcpy.c (TEST_NAME): Likewise.
13288         * string/test-memmem.c (TEST_NAME): Likewise.
13289         * string/test-memmove.c (TEST_NAME): Likewise.
13290         * string/test-memset.c (TEST_NAME): Likewise.
13291         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13292         * string/test-stpcpy.c (TEST_NAME): Likewise.
13293         * string/test-stpncpy.c (TEST_NAME): Likewise.
13294         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13295         * string/test-strcasestr.c (TEST_NAME): Likewise.
13296         * string/test-strcat.c (TEST_NAME): Likewise.
13297         * string/test-strchr.c (TEST_NAME): Likewise.
13298         * string/test-strcmp.c(TEST_NAME): Likewise.
13299         * string/test-strcpy.c (TEST_NAME): Likewise.
13300         * string/test-strcspn.c (TEST_NAME): Likewise.
13301         * string/test-strlen.c (TEST_NAME): Likewise.
13302         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13303         * string/test-strncmp.c (TEST_NAME): Likewise.
13304         * string/test-strncpy.c (TEST_NAME): Likewise.
13305         * string/test-strnlen.c (TEST_NAME): Likewise.
13306         * string/test-strpbrk.c (TEST_NAME): Likewise.
13307         * string/test-strrchr.c (TEST_NAME): Likewise.
13308         * string/test-strspn.c (TEST_NAME): Likewise.
13309         * string/test-strstr.c (TEST_NAME): Likewise.
13310         * string/test-bcopy-ifunc.c: New file.
13311         * string/test-bzero-ifunc.c: Likewise.
13312         * string/test-memccpy-ifunc.c: Likewise.
13313         * string/test-memchr-ifunc.c: Likewise.
13314         * string/test-memcmp-ifunc.c: Likewise.
13315         * string/test-memcpy-ifunc.c: Likewise.
13316         * string/test-memmem-ifunc.c: Likewise.
13317         * string/test-memmove-ifunc.c: Likewise.
13318         * string/test-mempcpy-ifunc.c: Likewise.
13319         * string/test-memset-ifunc.c: Likewise.
13320         * string/test-rawmemchr-ifunc.c: Likewise.
13321         * string/test-stpcpy-ifunc.c: Likewise.
13322         * string/test-stpncpy-ifunc.c: Likewise.
13323         * string/test-strcasecmp-ifunc.c: Likewise.
13324         * string/test-strcasestr-ifunc.c: Likewise.
13325         * string/test-strcat-ifunc.c: Likewise.
13326         * string/test-strchr-ifunc.c: Likewise.
13327         * string/test-strchrnul-ifunc.c: Likewise.
13328         * string/test-strcmp-ifunc.c: Likewise.
13329         * string/test-strcpy-ifunc.c: Likewise.
13330         * string/test-strcspn-ifunc.c: Likewise.
13331         * string/test-strlen-ifunc.c: Likewise.
13332         * string/test-strncasecmp-ifunc.c: Likewise.
13333         * string/test-strncat-ifunc.c: Likewise.
13334         * string/test-strncmp-ifunc.c: Likewise.
13335         * string/test-strncpy-ifunc.c: Likewise.
13336         * string/test-strnlen-ifunc.c: Likewise.
13337         * string/test-strpbrk-ifunc.c: Likewise.
13338         * string/test-strrchr-ifunc.c: Likewise.
13339         * string/test-strspn-ifunc.c: Likewise.
13340         * string/test-strstr-ifunc.c: Likewise.
13342         * debug/Makefile (tests-ifunc): New variable.
13343         (tests): Add $(tests-ifunc).
13344         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13345         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13346         * debug/test-stpcpy_chk-ifunc.c: New file.
13347         * debug/test-strcpy_chk-ifunc.c: Likewise.
13349 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13351         [BZ #13601]
13352         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13353         header is not read in.
13355 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13357         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13358         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13359         directly.  Pass built executable to script as
13360         $(built-program-cmd).
13361         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13362         $testprogram without using LD_LIBRARY_PATH and $ldso.
13364         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13365         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13366         $(rtld-installed-name).
13367         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13368         (rtld_installed_name): Likewise.
13369         (library_path): Likewise.
13370         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13371         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13372         $(run-program-prefix) to tst-tables.sh.
13373         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13374         it to run tst-table-from and tst-table-to.
13375         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13376         Pass it to tst-table.sh.
13377         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13378         $(run-program-prefix) to tst-gettext.sh.
13379         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13380         tst-translit.sh.
13381         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13382         tst-gettext2.sh.
13383         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13384         to run tst-gettext.
13385         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13386         to run tst-gettext2.
13387         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13388         to run tst-translit.
13389         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13390         $(run-program-prefix) to tst-mtrace.sh.
13391         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13392         to run tst-mtrace.
13393         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13394         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13395         $(rtld-installed-name).
13396         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13397         (rtld_installed_name): Likewise.
13398         (run_program_prefix): New variable.  Use it to run wordexp-test.
13400         * Makeconfig (ARCH): Remove all definitions.
13401         (machine): Likewise.
13402         [ARCH]: Remove conditional code.
13403         [!objdir]: Give error.
13404         [!objdir] (objpfx): Remove.
13405         [!objdir] (common-objpfx): Likewise.
13406         [!objdir] (common-objdir): Likewise.
13407         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13408         AC_CONFIG_FILES call.
13409         * configure: Regenerated.
13411         [BZ #13888]
13412         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13413         or TMPDIR.
13414         (testout): Likewise.
13416         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13417         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13418         $(rtld-installed-name).
13419         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13420         (rtld_installed_name): Likwise.
13421         (runit): Remove function.
13422         (run_getconf): New variable,  Use it for running getconf binary.
13424 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13426         [BZ #14716]
13427         * string/test-memmem.c (check_result): New function.
13428         (do_one_test): Use it.
13429         (check1): New function.
13430         (test_main): Use it.
13432 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13434         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13436 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13438         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13439         (_G_LSEEK64): Likewise.
13440         (_G_MMAP64): Likewise.
13441         (_G_FSTAT64): Likewise.
13442         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13443         (_G_LSEEK64): Likewise.
13444         (_G_MMAP64): Likewise.
13445         (_G_FSTAT64): Likewise.
13446         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13447         unconditional.  Call __mmap64 directly.
13448         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13449         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13450         __lseek64 directly.
13451         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13452         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13453         __mmap64 directly.
13454         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13455         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13456         __lseek64 directly.
13457         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13458         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13459         __lseek64 directly.
13460         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13461         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13462         __lseek64 directly.
13463         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13464         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13465         __fxstat64 directly.
13466         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13467         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13468         unconditional.
13469         (freopen64) [!_G_OPEN64]: Remove conditional code.
13470         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13471         unconditional.
13472         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13473         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13474         unconditional.
13475         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13476         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13477         unconditional.
13478         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13479         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13480         unconditional.
13481         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13482         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13483         unconditional.
13484         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13485         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13486         unconditional.
13487         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13488         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13489         unconditional.
13490         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13492 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13494         [BZ #12140]
13495         * manual/memory.texi (Malloc Tunable Parameters): Add note
13496         about free list pointers overwriting some perturb bytes.
13497         Wording suggested by Roland McGrath.
13499 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13501         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13502         (lgamma_test): Likewise.
13503         (tgamma_test): Likewise.
13505 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13507         [BZ #14700]
13508         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13509         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13511 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13513         * NEWS: Mention BZ #14716.
13514         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13515         when removing AVAILABLE1_USES_J macro.
13517 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13519         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13520         (__bswap_64): __uint64_t for unsigned 64-bit int.
13522 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13524         * include/string.h (memmem): Declare libc hidden alias.
13525         * string/memmem.c (memmem): Define libc hidden alias.
13526         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13527         __read, __close instead of open, read, close.
13529 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13532         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13533         global and hidden.
13534         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13535         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13536         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13537         Likewise.
13538         (__rawmemchr_sse2): Likewise.
13539         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13540         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13541         (__strchr_sse2): Likewise.
13542         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13543         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13544         (__strcasecmp_sse2): Likewise.
13545         (__strncasecmp_sse2): Likewise.
13546         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13547         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13548         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13549         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13550         (__strrchr_sse2): Likewise.
13551         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13552         ifunc-impl-list.c.
13553         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13554         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13555         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13556         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13557         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13559         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13560         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13561         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13562         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13563         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13564         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13565         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13566         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13567         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13568         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13569         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13570         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13571         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13572         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13573         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13574         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13575         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13576         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13577         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13578         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13579         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13580         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13581         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13582         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13584         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13585         global and hidden.
13586         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13587         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13588         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13589         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13590         Likewise.
13591         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13592         Likewise.
13593         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13594         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13595         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13596         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13597         ifunc-impl-list.c.
13598         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13599         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13600         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13601         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13602         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13603         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13604         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13605         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13606         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13607         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13608         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13609         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13610         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13611         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13612         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13613         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13614         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13615         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13616         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13617         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13618         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13619         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13620         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13621         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13622         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13623         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13624         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13625         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13626         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13627         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13628         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13629         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13630         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13631         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13632         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13633         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13634         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13635         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13636         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13637         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13638         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13640         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13641         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13642         * include/ifunc-impl-list.h: New file.
13643         * misc/ifunc-impl-list.c: Likewise.
13644         * misc/Makefile (routines): Add ifunc-impl-list.
13645         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13646         * string/test-string.h: Include <ifunc-impl-list.h>.
13647         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13648         impl_array): New variables.
13649         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13650         are defined.
13651         (test_init): Call __libc_ifunc_impl_list to initialize
13652         func_list if TEST_IFUNC and TEST_NAME are defined.
13654         * string/Makefile (strop-tests): Add bcopy and bzero.
13655         * string/test-bcopy.c: New file.
13656         * string/test-bzero.c: Likewise.
13657         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13658         defined.
13659         * string/test-memset.c: Support bzero test if TEST_BZERO is
13660         defined.
13661         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13662         __libc_memmove.
13663         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13664         __libc_memset.
13665         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13666         of memset.
13668 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13670         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13671         * configure: Regenerated.
13673         * Makeconfig (+link-static-before-libc): Don't include
13674         $(link-static-libc).
13676         * libio/libio.h (_IO_pos_t): Remove.
13678 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13680         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13681         McGrath.
13683 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13685         * crypt/crypt-entry.c: Include fips-private.h.
13686         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13687         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13688         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13689         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13691 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13693         * crypt/crypt-private.h: Include stdbool.h.
13694         (_ufc_setup_salt_r): Return bool.
13695         * crypt/crypt-entry.c: Include errno.h.
13696         (__crypt_r): Return NULL with EINVAL for bad salt.
13697         * crypt/crypt_util.c (bad_for_salt): New.
13698         (_ufc_setup_salt_r): Check that salt is long enough and within
13699         the specified alphabet.
13700         * crypt/badsalttest.c: New file.
13701         * crypt/Makefile (tests): Add it.
13702         ($(objpfx)badsalttest): New.
13704 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13706         * NEWS: Add entry for BZ #14602.
13708 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13710         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13711         type-generic.
13712         * math/libm-test.inc: Update comment listing what functions and
13713         macros are tested.
13714         (isgreater_test): New function.
13715         (isgreaterequal_test): Likewise.
13716         (isless_test): Likewise.
13717         (islessequal_test): Likewise.
13718         (islessgreater_test): Likewise.
13719         (isunordered_test): Likewise.
13720         (main): Call the new functions.
13722 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13724         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13725         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13726         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13727         * sysdeps/i386/configure: Regenerated.
13728         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13729         * sysdeps/mach/configure: Regenerated.
13730         * sysdeps/mach/hurd/configure: Regenerated.
13731         * sysdeps/powerpc/configure: Regenerated.
13732         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13733         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13734         * sysdeps/s390/s390-32/configure: Regenerated.
13735         * sysdeps/s390/s390-64/configure: Regenerated.
13736         * sysdeps/sh/configure: Regenerated.
13737         * sysdeps/sparc/configure: Regenerated.
13738         * sysdeps/unix/sysv/linux/configure: Regenerated.
13739         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13740         * sysdeps/x86_64/configure: Regenerated.
13742         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13743         defined.  Don't check if MAP is NULL.
13745 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13747         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13748         (_G_stat64): Likewise.
13749         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13750         (_G_stat64): Likewise.
13751         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13752         instead of struct _G_stat64.
13753         * libio/fileops.c (mmap_remap_check): Likewise.
13754         (decide_maybe_mmap): Likewise.
13755         (_IO_new_file_seekoff): Likewise.
13756         (_IO_file_stat): Likewise.
13757         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13758         _G_off64_t.
13759         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13760         instead of struct _G_stat64.
13761         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13763 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13765         [BZ #14602]
13766         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13767         Replace with ...
13768         (CHECK_EOL): New macro.
13769         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13770         CHECK_EOL.
13771         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13772         Replace with CHECK_EOL.
13773         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13774         Replace with CHECK_EOL.
13776 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13778         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13779         type-generic.
13780         * math/libm-test.inc: Update comment listing what functions and
13781         macros are tested.
13782         (finite_test): New function.
13783         (isinf_test): Likewise.
13784         (isnan_test): Likewise.
13785         (fpclassify_test): Test subnormal input.
13786         (isfinite_test): Likewise.
13787         (isnormal_test): Likewise.
13788         (main): Call the new functions.
13790 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13792         [BZ #14660]
13793         * Makerules (%.dynsym): Force C locale when running
13794         $(OBJDUMP) --dynamic-syms.
13796 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13798         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13799         <stdint.h>.
13801 2012-10-06  David S. Miller  <davem@davemloft.net>
13803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13804         upper 32-bits of the length value in %o2 since we use branch-on-register
13805         tests which consider the entire 64-bit register.
13807 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13809         * string/test-strstr.c (check2): Add a test for page boundary.
13811 2012-10-05  David S. Miller  <davem@davemloft.net>
13813         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13814         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13815         file.
13816         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13817         sysdep_routines.
13818         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13819         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13820         and bzero when HWCAP_SPARC_CRYPTO is present.
13822 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
13824         [BZ #14602]
13825         * string/test-strstr.c (check2): New function.
13826         (test_main): Call check2.
13828         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13829         and bug-strchr1.
13830         * string/bug-strcasestr1.c (do_test): Moved to ...
13831         * string/test-strcasestr.c (check1): Here.  New function.
13832         (do_one_test): Break out result checking code into ...
13833         (check_result): This.  New function.
13834         (do_one_test): Call check_result.
13835         (test_main): Call check1.
13836         * string/bug-strchr1.c (do_test): Moved to ...
13837         * string/test-strchr.c (check1): Here.  New function.
13838         (do_one_test): Break out result checking code into ...
13839         (check_result): This.  New function.
13840         (do_one_test): Call check_result.
13841         (test_main): Call check1.
13842         * string/bug-strstr1.c (main): Moved to ...
13843         * string/test-strstr.c (check1): Here.  New function.
13844         (do_one_test): Break out result checking code into ...
13845         (check_result): This.  New function.
13846         (do_one_test): Call check_result.
13847         (test_main): Call check1.
13848         * string/bug-strcasestr1.c: Removed.
13849         * string/bug-strchr1.c: Likewise.
13850         * string/bug-strstr1.c: Likewise.
13852         * elf/Makefile (dl-routines): Add hwcaps.
13853         * elf/dl-support.c (_dl_important_hwcaps): Removed.
13854         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13855         (_dl_important_hwcaps): Moved to ...
13856         * elf/dl-hwcaps.c: Here.  New file.
13857         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13859         [BZ #14557]
13860         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13861         if IS_IN_rtld isn't defined.
13863         * elf/dl-support.c (_dl_sysinfo_map): New.
13864         Include "get-dynamic-info.h" and "setup-vdso.h".
13865         (_dl_non_dynamic_init): Call setup_vdso.
13866         * elf/dynamic-link.h: Don't include <assert.h>.
13867         (elf_get_dynamic_info): Moved to ...
13868         * elf/get-dynamic-info.h: Here.  New file.
13869         * elf/dynamic-link.h: Include "get-dynamic-info.h".
13870         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13871         * elf/setup-vdso.h: Here.  New file.
13872         * elf/rtld.c: Include "setup-vdso.h".
13873         (dl_main): Call setup_vdso.
13875 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13877         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13878         creal in comment listing functions tested.  List finite, isinf,
13879         isnan, isless, islessequal, isgreater, isgreaterequal,
13880         islessgreater, isunordered, lgamma_r and pow10 as functions and
13881         macros not tested.  Mention which functions not tested are aliases
13882         for other functions.  Fix typo.  Note that signs of NaNs are not
13883         tested.
13885         * scripts/config.guess: Update from config.git.
13886         * scripts/config.sub: Likewise.
13888 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13890         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13891         * misc/madvise.c (madvise): Renamed to __madvise.
13892         Make madvise a weak alias.
13893         * include/sys/mman.h: Declare __madvise.
13894         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13895         * sysdeps/unix/syscalls.list
13896         (madvise): Make __madvise the strong name, and madvise a weak alias.
13897         * sysdeps/unix/sysv/linux/syscalls.list
13898         (madvise, mmap): Remove redundant entries.
13899         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13900         * malloc/malloc.c (mtrim): Likewise.
13901         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13903 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13905         * sysdeps/mach/hurd/dl-cache.c: File removed.
13906         * config.h.in (USE_LDCONFIG): New #undef.
13907         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13908         * configure: Regenerated.
13909         * elf/Makefile (dl-routines): Add dl-cache only under
13910         [$(use-ldconfig) = yes].
13911         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13912         cache on [USE_LDCONFIG].
13913         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13914         [USE_LDCONFIG].
13915         * elf/rtld.c (dl_main): Likewise.
13917 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13919         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13920         _SC_LEVEL4_CACHE_LINESIZE.
13922 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13924         * sysdeps/unix/bsd/confstr.h: File removed.
13926 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13928         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13929         sys/sdt-config.h.
13931 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13933         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13934         Make 'mapoff' field ElfW(Off) rather than off_t.
13936 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13938         * nscd/Makefile: Remove nscd-cflags and all its users.
13939         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13940         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13942         [BZ #10631]
13943         * malloc.c (malloc_printerr): Clarify error message.
13945 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13947         [BZ #14648]
13948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13949         Set bit_FMA_Usable if FMA is supported.
13950         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13951         macro.
13952         (bit_FMA4_Usable): Updated.
13953         (index_FMA_Usable): New macro.
13954         (CPUID_FMA): Likewise
13955         (HAS_FMA): Defined with bit_FMA_Usable.
13957 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13959         * bits/types.h (__swblk_t): Type removed.
13960         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13961         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13963         (__SWBLK_T_TYPE): Likewise.
13964         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13965         (__SWBLK_T_TYPE): Likewise.
13966         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13967         (__SWBLK_T_TYPE): Likewise.
13968         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13969         (__SWBLK_T_TYPE): Likewise.
13971 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13972             Honza Horak <hhorak@redhat.com>
13974         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13975         (xdr_mapname): Use YPMAXMAP as maxsize.
13976         (xdr_peername): Use YPMAXPEER as maxsize.
13977         (xdr_keydat): Use YPAXRECORD as maxsize.
13978         (xdr_valdat): Use YPMAXRECORD as maxsize.
13980 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13982         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13984         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13985         * csu/init-first.c: ... here.
13986         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13987         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13988         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13989         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13990         * sysdeps/i386/init-first.c: File removed.
13991         * sysdeps/sh/init-first.c: File removed.
13993 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13995         [BZ #14645]
13996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13997         if x * y might underflow to zero and z is zero.
13998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14000         * math/libm-test.inc (min_subnorm_value): New variable.
14001         (fma_test): Add more tests.
14002         (fma_test_towardzero): Likewise.
14003         (fma_test_downward): Likewise
14004         (fma_test_upward): Likewise.
14005         (initialize): Set min_subnorm_value.
14007 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14009         [BZ #14638]
14010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14011         0 + 0.
14012         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14013         mode for addition resulting in exact zero.
14014         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14016         exact 0 + 0.
14017         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14019         * math/libm-test.inc (fma_test): Add more tests.
14020         (fma_test_towardzero): New function.
14021         (fma_test_downward): Likewise.
14022         (fma_test_upward): Likewise.
14023         (main): Call the new functions.
14025 2012-09-28  David S. Miller  <davem@davemloft.net>
14027         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14029 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14031         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14032         instead of SIGALRM.
14034         * sysdeps/gnu/_G_config.h: Moved to ...
14035         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14036         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14037         * sysdeps/generic/_G_config.h: ... here.
14039         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14041         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14043         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14044         Conditionalize target on [libnss_test1.so-version].
14046         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14048         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14049         (elfobjdir): Move out of conditionals.
14051         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14052         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14053         (__nss_lookup_function): Conditionalize label remove_from_tree on
14054         [!DO_STATIC_NSS || SHARED], matching its only use.
14056 2012-09-28  David S. Miller  <davem@davemloft.net>
14058         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14059         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14060         file.
14061         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14062         sysdep_routines.
14063         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14065         when HWCAP_SPARC_CRYPTO is present.
14067 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14069         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14071 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14073         [BZ #6530]
14074         * stdio-common/vfprintf.c (process_string_arg): Revert
14075         2000-07-22 change.
14077 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14079         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14080         for testcase.
14081         * stdio-common/tst-sprintf.c: Include <locale.h>
14082         (main): Test sprintf's handling of incomplete multibyte
14083         characters.
14085 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
14087         * elf/dl-runtime.c (VERSYMIDX): Removed.
14088         * elf/dl-version.c (VERSYMIDX): Likewise.
14089         * elf/do-rel.h (VERSYMIDX): Likewise.
14090         (VALIDX): Likewise.
14091         * elf/dynamic-link.h (VERSYMIDX): Likewise.
14092         * elf/rtld.c (VALIDX): Likewise.
14093         (ADDRIDX): Likewise.
14094         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14095         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14096         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14097         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14098         (VALIDX): Likewise.
14099         (ADDRIDX): Likewise.
14101 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14103         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14105 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14107         [BZ #11438]
14108         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14109         to global scope.
14110         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14111         addresses are in the same scope as 192.0.2/24.
14112         * posix/gai.conf: Document new scope table defaults.
14114 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14116         [BZ #5298]
14117         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14118         for ftell.  Compute offsets from write pointers instead.
14119         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14121 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14123         [BZ #14543]
14124         * libio/Makefile (tests): New test case tst-fseek.
14125         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14126         combination works in wide mode.
14127         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14128         state when the external buffer state changes.
14130 2012-09-27  David S. Miller  <davem@davemloft.net>
14132         [BZ #14376]
14133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14134         pass reloc->r_addend in as the 'high' argument to
14135         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14139 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14141         * rt/tst-aio2.c: Include <pthread.h>.
14142         * rt/tst-aio3.c: Likewise.
14144 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14146         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14148 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14150         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14151         contents on [SHARED].
14153 2012-09-26  Marek Polacek  <polacek@redhat.com>
14155         [BZ #14530]
14156         [BZ #13741]
14157         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14158         for C++ and GCC <4.3 as well as for non GCC compilers.
14160 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14164 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14166         * Makefile.in (all, install): Declare with .PHONY.
14167         Reported by Michael Hope <michael.hope@linaro.org>.
14169 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14171         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14172         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14173         system header.
14174         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14175         Likewise.
14176         (sydep_routines): Add the new and the internal functions.
14177         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14178         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14180         (GLIBC_2.17): Add the new function.
14181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14182         (GLIBC_2.17): Likewise.
14183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14184         (GLIBC_2.17): Likewise.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14186         (GLIBC_2.17): Likewise.
14187         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14189 2012-09-25  Alan Modra  <amodra@gmail.com>
14191         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14192         Add release barrier before setting once_control to say
14193         initialisation is done.  Add hints on lwarx.  Use macro in
14194         place of isync.
14195         (clear_once_control): Add release barrier.
14197 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14199         [BZ #13629]
14200         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14201         specially.
14202         * math/s_clog10.c (__clog10): Likewise.
14203         * math/s_clog10f.c (__clog10f): Likewise.
14204         * math/s_clog10l.c (__clog10l): Likewise.
14205         * math/s_clogf.c (__clogf): Likewise.
14206         * math/s_clogl.c (__clogl): Likewise.
14207         * math/Makefile (libm-calls): Add x2y2m1.
14208         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14209         (__x2y2m1): Likewise.
14210         (__x2y2m1l): Likewise.
14211         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14212         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14213         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14214         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14215         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14216         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14217         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14218         * sysdeps/i386/fpu/libm-test-ulps: Update.
14219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14221         [BZ #14621]
14222         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14223         int as type of variable DEPTH.
14224         (glob): Use size_t instead of int as type of variables NEWCOUNT
14225         and OLD_PATHC.
14227 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14229         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14230         Add s_sincosf-sse2.
14231         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14232         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14233         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14234         macros for using routine as __sincosf_ia32.
14235         Use macro for function declaration and weak_alias.
14236         * sysdeps/i386/fpu/libm-test-ulps: Update.
14238         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14241         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14242         subnormal argument.
14243         * math/s_cexpf.c (__cexpf): Likewise.
14244         * math/s_csinf.c (__csinf): Likewise.
14245         * math/s_csinhf.c (__csinhf): Likewise.
14246         * math/s_ctanf.c (__ctanf): Likewise.
14247         * math/s_ctanhf.c (__ctanhf): Likewise.
14248         * math/s_ccosh.c (__ccoshf): Likewise.
14249         * math/s_cexp.c (__cexpl): Likewise.
14250         * math/s_csin.c (__csin): Likewise.
14251         * math/s_csinh.c (__csinh): Likewise.
14252         * math/s_ctan.c (__ctan): Likewise.
14253         * math/s_ctanh.c (ctanh): Likewise.
14254         * math/s_ccoshl.c (__ccoshl): Likewise.
14255         * math/s_cexpl.c (__cexpl): Likewise.
14256         * math/s_csinl.c (__csinl): Likewise.
14257         * math/s_csinhl.c (__csinhl): Likewise.
14258         * math/s_ctanl.c (__ctanl): Likewise.
14259         * math/s_ctanhl.c (__ctanhl): Likewise.
14261 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14263         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14264         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14265         (_IO_off_t): Define to __off_t, not _G_off_t.
14266         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14267         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14268         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14269         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14270         type of __dummy and __dummy2 fields.
14271         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14272         (_G_ssize_t): Likewise.
14273         (_G_off_t): Likewise.
14274         (_G_pid_t): Likewise.
14275         (_G_uid_t): Likewise.
14276         (_G_wchar_t): Likewise.
14277         (_G_wint_t): Likewise.
14278         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14279         (_G_ssize_t): Likewise.
14280         (_G_off_t): Likewise.
14281         (_G_pid_t): Likewise.
14282         (_G_uid_t): Likewise.
14283         (_G_wchar_t): Likewise.
14284         (_G_wint_t): Likewise.
14285         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14286         (_G_ssize_t): Likewise.
14287         (_G_off_t): Likewise.
14288         (_G_pid_t): Likewise.
14289         (_G_uid_t): Likewise.
14290         (_G_wchar_t): Likewise.
14291         (_G_wint_t): Likewise.
14293 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14295         * malloc/arena.c: Include malloc-sysdep.h.
14296         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14297         is sufficient to shrink the heap or an unmap is needed.
14298         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14299         new function check_may_shrink_heap.
14300         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14301         new function check_may_shrink_heap.
14303 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14305         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14306         comments.
14308 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14310         * catgets/test-gencat.sh: Add "set -e".
14311         * elf/tst-pathopt.sh: Likewise.
14312         * grp/tst_fgetgrent.sh: Likewise.
14313         * iconvdata/run-iconv-test.sh: Likewise.
14314         * intl/tst-gettext.sh: Likewise.
14315         * intl/tst-gettext2.sh: Likewise.
14316         * intl/tst-gettext4.sh: Likewise.
14317         * intl/tst-gettext6.sh: Likewise.
14318         * intl/tst-translit.sh: Likewise.
14319         * io/ftwtest-sh: Likewise.
14320         * libio/test-freopen.sh: Likewise.
14321         * malloc/tst-mtrace.sh: Likewise.
14322         * posix/globtest.sh: Likewise.
14323         * posix/tst-getconf.sh: Likewise.
14324         * posix/wordexp-tst.sh: Likewise.
14325         * stdio-common/tst-printf.sh: Likewise.
14326         * stdio-common/tst-unbputc.sh: Likewise.
14327         * stdlib/tst-fmtmsg.sh: Likewise.
14328         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14329         * catgets/Makefile: Do not specify -e option when running
14330         testsuite shell scripts.
14331         * elf/Makefile: Likewise.
14332         * grp/Makefile: Likewise.
14333         * iconvdata/Makefile: Likewise.
14334         * intl/Makefile: Likewise.
14335         * io/Makefile: Likewise.
14336         * libio/Makefile: Likewise.
14337         * malloc/Makefile: Likewise.
14338         * posix/Makefile: Likewise.
14339         * stdio-common/Makefile: Likewise.
14340         * stdlib/Makefile: Likewise.
14341         * sysdeps/x86_64/Makefile: Likewise.
14343         * io/ftwtest-sh: Add copyright header.
14344         * posix/globtest.sh: Likewise.
14345         * posix/tst-getconf.sh: Likewise.
14346         * posix/wordexp-tst.sh: Likewise.
14347         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14349 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14351         [BZ #13679]
14352         * Makeconfig (+link): Defined as $(+link-static) if
14353         $(build-shared) isn't yes.
14354         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14355         isn't yes.
14356         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14358         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14360         [BZ #14562]
14361         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14362         new chunk size with MALLOC_ALIGN_MASK.
14364 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14366         [BZ #5044]
14367         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14368         <rounding-mode.h>.
14369         (__printf_fphex): Determine rounding using get_rounding_mode and
14370         round_away.
14371         * stdio-common/tst-printf-round.c (struct hex_test): New
14372         structure.
14373         (hex_tests): New variable.
14374         (test_hex_in_one_mode): New function.
14375         (do_test): Also run tests for hex float output.
14377 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14379         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14380         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14381         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14382         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14383         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14384         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14385         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14386         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14388 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14390         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14391         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14392         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14393         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14395 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14397         [BZ #14579]
14398         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14399         mode only.
14400         * elf/tst-rtld-load-self.sh: New test.
14401         * elf/Makefile: Run it.
14403 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14405         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14406         (tst-writev-ENV): Remove.
14407         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14409 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14411         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14413 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14415         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14416         unconditional.
14417         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14418         Likewise.
14419         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14420         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14421         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14422         Likewise.
14424 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14426         [BZ #14587]
14427         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14428         * config.make.in (have-cpp-asm-debuginfo): Removed.
14429         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14430         * configure: Regenerated.
14432 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14434         [BZ #5044]
14435         * stdio-common/printf_fp.c: Include <stdbool.h> and
14436         <rounding-mode.h>.
14437         (___printf_fp): Determine rounding using get_rounding_mode and
14438         round_away.
14439         * stdio-common/tst-printf-round.c: New file.
14440         * stdio-common/Makefile (tests): Add tst-printf-round.
14441         (link-libm): New variable.
14442         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14444 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14446         [BZ #14576]
14447         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14448         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14449         Likewise.
14450         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14451         Likewise.
14453 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14455         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14456         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14457         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14458         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14460 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #14518]
14463         * include/rounding-mode.h: New file.
14464         * sysdeps/generic/get-rounding-mode.h: Likewise.
14465         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14466         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14467         (MAX_VALUE): New macro.
14468         (MIN_VALUE): Likewise.
14469         (overflow_value): New function.
14470         (underflow_value): Likewise.
14471         (round_and_return): Use overflow_value and underflow_value to
14472         determine return values in overflow and underflow cases.  Use
14473         round_away to determine rounding depending on rounding mode.
14474         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14475         determine return values in overflow and underflow cases.
14476         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14477         (struct test_results): New structure.
14478         (struct test): Use struct test_results to store expected results
14479         for all rounding modes.
14480         (TEST): Include expected results for all rounding modes.
14481         (test_in_one_mode): New function.
14482         (do_test): Use test_in_one_mode to compute and check results.
14483         Check results for all rounding modes.
14484         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14485         $(link-libm).
14487 2012-12-09  Allan McRae  <allan@archlinux.org>
14489         * sysdeps/i386/fpu/libm-test-ulps: Update
14491 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14493         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14494         (_G_int32_t): Likewise.
14495         (_G_uint16_t): Likewise.
14496         (_G_uint32_t): Likewise.
14497         (_G_HAVE_BOOL): Likewise.
14498         (_G_HAVE_ATEXIT): Likewise.
14499         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14500         (_G_HAVE_IO_FILE_OPEN): Likewise.
14501         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14502         (_G_int32_t): Likewise.
14503         (_G_uint16_t): Likewise.
14504         (_G_uint32_t): Likewise.
14505         (_G_HAVE_BOOL): Likewise.
14506         (_G_HAVE_ATEXIT): Likewise.
14507         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14508         (_G_HAVE_IO_FILE_OPEN): Likewise.
14509         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14510         (_G_int32_t): Likewise.
14511         (_G_uint16_t): Likewise.
14512         (_G_uint32_t): Likewise.
14513         (_G_HAVE_BOOL): Likewise.
14514         (_G_HAVE_ATEXIT): Likewise.
14515         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14516         (_G_HAVE_IO_FILE_OPEN): Likewise.
14518 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14520         * csu/libc-tls.c: Update copyright years.
14522 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14524         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14525         [!_G_USING_THUNKS]: Remove conditional code.
14526         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14527         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14529         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14530         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14531         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14532         (_G_VTABLE_LABEL_PREFIX): Likewise.
14533         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14534         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14535         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14536         (_G_VTABLE_LABEL_PREFIX): Likewise.
14537         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14538         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14539         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14540         (_G_VTABLE_LABEL_PREFIX): Likewise.
14541         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14543 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14545         * libio/Makefile: Include ../Makeconfig before tests.
14546         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14547         only if $(build-shared) is yes.
14549         * iconv/gconv_db.c: Update copyright years.
14551 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14553         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14554         unwind info if defined PIC. Fix special cases description.
14555         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14557         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14558         DP_HI_MASK entry.
14559         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14561 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14563         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14565         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14566         is NULL.
14568         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14569         (LDLIBS-tst-chk4): This.
14570         (LDFLAGS-tst-chk5): Renamed to ...
14571         (LDLIBS-tst-chk5): This.
14572         (LDFLAGS-tst-chk6): Renamed to ...
14573         (LDLIBS-tst-chk6): This.
14574         (LDFLAGS-tst-lfschk4): Renamed to ...
14575         (LDLIBS-tst-lfschk4): This.
14576         (LDFLAGS-tst-lfschk5): Renamed to ...
14577         (LDLIBS-tst-lfschk5): This.
14578         (LDFLAGS-tst-lfschk6): Renamed to ...
14579         (LDLIBS-tst-lfschk6): This.
14581         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14582         on $(common-objpfx)soversions.mk.
14584 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14586         [BZ #10014]
14587         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14588         example host name.
14590 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14592         * malloc/arena.c (arena_get_retry): New function that gets
14593         another arena for the caller to try its request on.
14594         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14595         current arena cannot fulfill the request.
14596         (__libc_memalign): Likewise.
14597         (__libc_memalign): Likewise.
14598         (__libc_pvalloc): Likewise.
14599         (__libc_calloc): Likewise.
14601 2012-09-05  John Tobey  <john.tobey@gmail.com>
14603         [BZ #13542]
14604         * manual/arith.texi (Operations on Complex): Fix description
14605         of carg branch cut.
14607 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14609         [BZ #10014]
14610         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14611         host name.
14613         [BZ #10038]
14614         * manual/memory.texi (Memory): Make order of menu items match
14615         order of sections.
14617 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14619         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14620         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14621         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14623 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14625         * csu/libc-tls.c (static_dtv): Renamed to ...
14626         (_dl_static_dtv): This.  Make it global.
14627         (_dl_initial_dtv): Removed.
14628         (__libc_setup_tls): Updated.
14629         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14630         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14631         DL_INITIAL_DTV.
14633 2012-09-06  Petr Machata  <pmachata@redhat.com>
14635         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14636         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14637         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14638         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14640 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14642         [BZ #14545]
14643         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14644         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14645         freeing dtv[-1].
14647 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14649         [BZ #14544]
14650         * Makeconfig (link-static-before-libc): Replace $(+prector)
14651         with $(+prectorT).
14652         (link-static-after-libc): Replace $(+postctor) with
14653         $(+postctorT).
14654         (link-bounded): Replace $(+prector)/$(+postctor) with
14655         $(+prectorT)/$(+postctorT).
14656         (+prectorT): New macro.
14657         (+postctorT): Likewise.
14659 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14661         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14662         (round_str): Handle values above the maximum for IBM long double
14663         as inexact.
14664         * stdlib/tst-strtod-round.c (tests): Regenerated.
14666 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14668         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14669         assembler flag.
14670         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14671         zarch_nohighgprs around the zarch optimized routines.
14672         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14673         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14674         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14675         for zarch.
14677 2012-09-05  David S. Miller  <davem@davemloft.net>
14679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14681         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14682         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14683         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14684         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14685         entries.
14687 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14689         * malloc/arena.c: Fold copyright years.
14690         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14692 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14694         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14696 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14698         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14700 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14702         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14703         change internal state upon failure.
14705 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14707         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14708         * malloc/memusage.c (mmap): Likewise.
14709         (mmap64, mremap): Likewise.  Adjust name in comment.
14711 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14713         * libio/fileops.c: Fix typos in comments.
14714         * libio/oldfileops.c: Likewise.
14715         * libio/wfileops.c: Likewise.
14717 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14719         [BZ #1349]
14720         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14721         (tst-malloc-usable-ENV): Set environment for test case.
14722         * malloc/hooks.c (malloc_check_get_size): New function to get
14723         requested size.
14724         * malloc/malloc.c (musable): Use malloc_check_get_size.
14725         * malloc/tst-malloc-usable.c: New test case.
14727 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14729         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14731 2012-09-05  Allan McRae  <allan@archlinux.org>
14733         [BZ #13966]
14734         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14735         determine header location.
14736         * configure: Regenerated.
14738 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14740         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14741         float format.
14742         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14743         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14744         format.
14745         (test): Regenerate.
14747 2012-09-04  David S. Miller  <davem@davemloft.net>
14749         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14750         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14751         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14753 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14755         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14756         failures.
14758         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14760 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14762         [BZ #9914]
14763         * libio/iogetdelim.c: Include <limits.h>.
14764         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14765         + len + 1 would overflow.
14767 2012-09-03  Andreas Jaeger  <aj@suse.de>
14769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14770         * sysdeps/i386/fpu/libm-test-ulps: Update.
14772 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14774         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14775         Add s_sinf-sse2, s_conf-sse2.
14777         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14778         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14779         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14780         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14782         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14783         for using routine as __sinf_ia32.
14784         Use macro for function declaration and weak_alias.
14785         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14786         for using routine as __cosf_ia32.
14787         Use macro for function declaration and weak_alias.
14789         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14790         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14792         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14793         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14796         * math/libm-test.inc (cos_test): Add more test cases.
14797         (sin_test): Likewise.
14798         (sincos_test): Likewise.
14800 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14802         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14803         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14804         hidden.
14805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14807 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14809         [BZ #14538]
14810         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14811         first element of the GOT.
14812         (elf_machine_load_address): Return the difference between
14813         the runtime address of _DYNAMIC and elf_machine_dynamic ().
14815 2012-09-01  Allan McRae  <allan@archlinux.org>
14817         [BZ #13412]
14818         * configure.in (AWK): Require gawk version 3.0 or later.
14819         * configure: Regenerated.
14821 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
14823         * sysdeps/unix/sysv/linux/kernel-features.h
14824         (__ASSUME_POSIX_CPU_TIMERS): Remove.
14825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14826         [__NR_clock_getres]: Make code unconditional.
14827         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14828         (clock_getcpuclockid): Remove code left unreachable by removal of
14829         conditionals.
14830         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14831         code unconditional.
14832         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14833         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14834         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14835         Make code unconditional.
14836         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14837         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14838         * sysdeps/unix/sysv/linux/clock_settime.c
14839         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14840         conditional code.
14841         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14842         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14844 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
14846         [BZ #14476]
14847         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14848         scripts/test-installation.pl.
14850         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14851         and $ld_so_version if it is set.
14853 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14855         [BZ #14516]
14856         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14857         failure if reading from procfs failed.
14858         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14860 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14862         * sysdeps/unix/sysv/linux/kernel-features.h
14863         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14864         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14865         Remove conditional code.
14866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14867         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14868         Remove conditional code.
14869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14870         * sysdeps/unix/sysv/linux/i386/fxstat.c
14871         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14872         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14873         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14874         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14875         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14876         * sysdeps/unix/sysv/linux/i386/lxstat.c
14877         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14878         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14879         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14880         Remove conditional code.
14881         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14882         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14883         Remove conditional code.
14884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14885         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14886         <kernel-features.h>.
14887         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14888         Remove.
14889         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14890         Remove conditional code.
14891         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14892         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14893         Remove conditional.
14895 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14897         [BZ #5400]
14898         * NEWS: Add fixed bug number.
14900 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14902         [BZ #14519]
14903         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14904         underflowing exponent in case of negative sign.
14905         * stdlib/tst-strtod-round-data: Add more tests.
14906         * stdlib/tst-strtod-round.c (tests): Regenerated.
14908         [BZ #3479]
14909         * stdlib/strtod_l.c (NDIG): Remove.
14910         (HEXNDIG): Likewise.
14911         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14912         smallest representable value.
14913         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14914         lie within an exact representation of 1/2 ulp of the result.
14915         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14916         unconditionally.
14917         (TENS_P9_IDX): Define unconditionally.
14918         (TENS_P9_SIZE): Likewise.
14919         (TENS_P10_IDX): Likewise.
14920         (TENS_P10_SIZE): Likewise.
14921         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14922         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14923         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14924         entries for 10^2^13 and 10^2^14.
14925         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14926         (TENS_P13_IDX): Define.
14927         (TENS_P13_SIZE): Likewise.
14928         (TENS_P14_IDX): Likewise.
14929         (TENS_P14_SIZE): Likewise.
14930         (_fpioconst_pow10): Change array size to
14931         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14932         unconditional.
14933         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14934         1024]: Add entries for 10^2^13 and 10^2^14.
14935         [LAST_POW10 > _LAST_POW10]: Remove #error.
14936         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14937         (_fpioconst_pow10): Change array size to
14938         FPIOCONST_POW10_ARRAY_SIZE.
14939         * stdlib/gen-fpioconst.c: New file.
14940         * stdlib/gen-tst-strtod-round.c: Likewise.
14941         * stdlib/tst-strtod-round-data: Likewise.
14942         * stdlib/tst-strtod-round.c: Likewise.
14943         * stdlib/Makefile (tests): Add tst-strtod-round.
14945         [BZ #14459]
14946         * stdlib/strtod_l.c: Include <stdint.h>.
14947         (NDEBUG): Do not define.
14948         (round_and_return): Change EXPONENT parameter to type intmax_t.
14949         Rearrange calculations to avoid internal overflow possibilities.
14950         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14951         Rearrange calculations to avoid internal overflow possibilities.
14952         Assert that number fits inside MPNSIZE limbs.
14953         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14954         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14955         calculations and add assertions to avoid internal overflow
14956         possibilities.  Add casts to avoid signed/unsigned operations.
14957         * stdlib/tst-strtod-overflow.c: New file.
14958         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14960 2012-08-25  Marek Polacek  <polacek@redhat.com>
14962         * time/time.h: Fix some typos in comments.
14964 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14966         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14967         * posix/tst-rfc3484-2.c: Likewise.
14968         * posix/tst-rfc3484-3.c: Likewise.
14970 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14972         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14973         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14975 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14977         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14978         #include of fxstatat64.c.
14980 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14982         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14983         * shadow/getspent_r.c: Likewise.
14984         * shadow/getspnam.c: Likewise.
14985         * shadow/getspnam_r.c: Likewise.
14986         * gshadow/getsgent.c: Likewise.
14987         * gshadow/getsgent_r.c: Likewise.
14988         * gshadow/getsgnam.c: Likewise.
14989         * gshadow/getsgnam_r.c: Likewise.
14990         * inet/getnetbyad.c: Likewise.
14991         * inet/getnetbyad_r.c: Likewise.
14992         * inet/getnetbynm.c: Likewise.
14993         * inet/getnetbynm_r.c: Likewise.
14994         * inet/getnetent.c: Likewise.
14995         * inet/getnetent_r.c: Likewise.
14996         * inet/getproto.c: Likewise.
14997         * inet/getproto_r.c: Likewise.
14998         * inet/getprtent.c: Likewise.
14999         * inet/getprtent_r.c: Likewise.
15000         * inet/getprtname.c: Likewise.
15001         * inet/getprtname_r.c: Likewise.
15002         * inet/getrpcbyname.c: Likewise.
15003         * inet/getrpcbyname_r.c: Likewise.
15004         * inet/getrpcbynumber.c: Likewise.
15005         * inet/getrpcbynumber_r.c: Likewise.
15006         * inet/getrpcent.c: Likewise.
15007         * inet/getrpcent_r.c: Likewise.
15008         * inet/getaliasent.c: Likewise.
15009         * inet/getaliasent_r.c: Likewise.
15010         * inet/getaliasname.c: Likewise.
15011         * inet/getaliasname_r.c: Likewise.
15012         * nscd/getgrgid_r.c: Likewise.
15013         * nscd/getgrnam_r.c: Likewise.
15014         * nscd/gethstbyad_r.c: Likewise.
15015         * nscd/gethstbynm3_r.c: Likewise.
15016         * nscd/getpwnam_r.c: Likewise.
15017         * nscd/getpwuid_r.c: Likewise.
15018         * nscd/getsrvbynm_r.c: Likewise.
15019         * nscd/getsrvbypt_r.c: Likewise.
15020         * nscd/gai.c: Likewise.
15022         * configure.in (build_nscd): New substituted variable, set
15023         by --disable-build-nscd and defaults to $use_nscd.
15024         * configure: Regenerated.
15025         * config.make.in (build-nscd): New substituted variable.
15026         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15027         Change conditional to require [$(build-nscd) = yes] as well.
15028         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15030         [BZ# 13696]
15031         * configure.in (use_nscd): New substituted variable, set by
15032         --disable-nscd.  If enabled, define USE_NSCD.
15033         * configure: Regenerated.
15034         * config.h.in: Add USE_NSCD.
15035         * config.make.in (use-nscd): New substituted variable.
15036         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15037         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15038         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15039         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15040         (CFLAGS-getgrnam_r.c): Likewise.
15041         (CFLAGS-initgroups.c): Likewise.
15042         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15043         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15044         Variables removed.
15045         * inet/getnetgrent_r.c
15046         (nscd_setnetgrent): New function, broken out of ...
15047         (setnetgrent): ... here.  Call it.
15048         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15049         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15050         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15051         * nscd/Makefile (routines, aux): Move definitions after include of
15052         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15053         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15054         Conditionalize on [USE_NSCD].
15055         (is_nscd, nscd_init_cb): Likewise.
15056         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15057         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15058         * nss/nss_db/db-init.c: Likewise.
15059         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15060         [USE_NSCD].
15061         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15062         (make_request): Use it.
15063         (cache_valid_p): New function.
15064         (__check_pf): Use it.
15065         * NEWS: Add item for --disable-nscd.
15067 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15069         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15070         to support sed >= 4.2.1-20-ga9bf076.
15071         * configure: Regenerated.
15073 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15075         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15076         Conditionalize whole body on [IREL].
15078 2012-08-22  Jeff Law <law@redhat.com>
15080         [BZ #14505]
15081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15082         if the family is PF_UNSPEC.
15084 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15086         * Makerules (lib-version): Rename from V.
15087         (install-lib-nosubdir): Change V to lib-version.
15089 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
15091         [BZ #14252]
15092         * powerpc32/power6/wcschr.c: New file.
15093         * powerpc32/power6/wcscpy.c: New file.
15094         * powerpc32/power6/wcsrchr.c: New file.
15095         * powerpc64/power6/wcschr.c: New file.
15096         * powerpc64/power6/wcscpy.c: New file.
15097         * powerpc64/power6/wcsrchr.c: New file.
15099 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15101         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15102         (two_way_short_needle): Use it.
15103         * string/strstr.c (AVAILABLE1_USES_J): Define.
15104         * string/strcasestr.c: Likewise.
15106         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15107         array references.
15108         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15110         [BZ #11607]
15111         * NEWS: Add an entry.
15112         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15113         define their defaults.
15114         (two_way_short_needle): Detect end-of-string on-the-fly.
15115         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15116         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15117         * string/bug-strcasestr1.c: New test.
15118         * string/Makefile: Run it.
15120 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15122         [BZ #11607]
15123         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15124         the first character.
15126 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15128         * csu/elf-init.c (__libc_csu_irel): Function removed.
15129         * csu/libc-start.c (apply_irel): New function.
15130         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15132 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15134         * sysdeps/unix/sysv/linux/kernel-features.h
15135         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15136         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15137         <kernel-features.h>.
15138         [__NR_fadvise64_64]: Make code unconditional.
15139         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15140         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15141         !__NR_fadvise64_64)]: Likewise.
15142         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15143         !__NR_fadvise64_64))]: Likewise.
15144         [__NR_fadvise64]: Make code unconditional.
15145         [!__NR_fadvise64]: Remove conditional code.
15146         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15147         <kernel-features.h>.
15148         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15149         unconditional.
15150         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15151         conditional code.
15152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15153         not include <kernel-features.h>.
15154         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15155         unconditional.
15156         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15157         conditional code.
15158         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15159         include <kernel-features.h>.
15160         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15161         unconditional.
15162         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15163         conditional code.
15165 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15167         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15168         slight instruction rearrangements per scrollpipe analysis.
15169         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15171 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15173         * manual/syslog.texi (syslog; vsyslog, closelog):
15174         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15175         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15177         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15178         DSOCAPS to match condition on defining it.
15180 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15182         * sysdeps/unix/sysv/linux/kernel-features.h
15183         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15185         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15186         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15188         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15189         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15191         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15192         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15194         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15195         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15197         * sysdeps/unix/sysv/linux/kernel-features.h
15198         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15199         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15200         unconditional.
15201         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15202         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15203         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15204         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15205         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15206         Make code unconditional.
15207         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15208         (__mmap64) [!__NR_mmap2]: Likewise.
15209         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15210         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15211         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15212         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15213         [__NR_mmap2]: Make code unconditional.
15214         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15215         (__mmap64) [!__NR_mmap2]: Likewise.
15217 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15219         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15221 2012-08-18  Andreas Jaeger  <aj@suse.de>
15223         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15225 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15227         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15228         * include/unistd.h (__have_sock_cloexec): Likewise.
15229         (__have_pipe2): Likewise.
15230         (__have_dup3): Likewise.
15232 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15234         [BZ #9685]
15235         * include/unistd.h (__have_pipe2): Change define into an extern int.
15236         (__have_dup3): Likewise.
15237         * socket/have_sock_cloexec.c: Include fcntl.h.
15238         (__have_pipe2): New variable.
15239         (__have_dup3): Likewise.
15241 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15243         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15245 2012-08-17  Marek Polacek  <polacek@redhat.com>
15247         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15248         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15250 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15252         * configure.in: Add AC_SUBST for sysheaders.
15253         * configure: Regenerated.
15254         * config.make.in (sysheaders): New substituted variable.
15256         * sysdeps/unix/mkfifo.c: Moved ...
15257         * sysdeps/posix/mkfifo.c: ... here.
15258         * sysdeps/unix/mkfifoat.c: Moved ...
15259         * sysdeps/posix/mkfifoat.c: ... here.
15261         * sysdeps/unix/utime.c: Moved ...
15262         * sysdeps/posix/utime.c: ... here.
15264         * sysdeps/unix/time.c: Moved ...
15265         * sysdeps/posix/time.c: ... here.
15266         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15267         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15269         * sysdeps/unix/nice.c: Moved ...
15270         * sysdeps/posix/nice.c: ... here.
15272         * sysdeps/unix/alarm.c: Moved ...
15273         * sysdeps/posix/alarm.c: ... here.
15275         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15277 2012-08-17  Jeff Law <law@redhat.com>
15279         * intl/Makefile (codeset_mo): New variable.
15280         ($(codeset_mo)): New target.
15281         (tst-codeset.out): Depend on that.  Remove explicit rule.
15282         (tst-gettext3.out, tst-gettext5.out): Likewise.
15283         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15284         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15285         * intl/tst-codeset.sh: Remove.
15286         * intl/tst-gettext3.sh: Likewise.
15287         * intl/tst-gettext5.sh: Likewise.
15289 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15291         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15292         * sysdeps/unix/syscalls.list: ... here.
15294         * sysdeps/posix/getaddrinfo.c
15295         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15296         (gaiconf_init, gaiconf_reload): Use them.
15297         [!_STATBUF_ST_NSEC]
15298         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15299         Define using time_t rather than struct timespec.
15301         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15302         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15303         Macros removed.
15304         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15305         [!NO_THREADS].
15306         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15307         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15308         Likewise.
15310         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15311         __libc_cleanup_push argument.
15313         * bits/param.h: New file.
15314         * misc/sys/param.h: New file.
15315         * include/sys/param.h: New file.
15316         * misc/Makefile (headers): Add bits/param.h.
15317         * sysdeps/generic/sys/param.h: File removed.
15318         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15319         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15320         * sysdeps/mach/hurd/bits/param.h: New file.
15321         * sysdeps/mach/hurd/sys/param.h: File removed.
15323         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15324         last change.
15326         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15327         [_IO_MTSAFE_IO].
15328         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15329         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15330         New macros.
15332         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15333         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15334         rather than -D_IO_MTSAFE_IO conditionally.
15335         * stdio-common/Makefile (CPPFLAGS): Likewise.
15336         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15337         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15338         Use $(libio-mtsafe).
15339         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15340         of -D_IO_MTSAFE_IO.
15341         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15342         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15343         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15344         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15345         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15346         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15347         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15348         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15349         (CFLAGS-fread_u_chk.c): Likewise.
15350         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15351         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15352         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15353         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15354         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15355         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15356         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15357         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15358         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15360         * libio/Makefile: Test [$(libc-reentrant) = yes]
15361         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15363         * Makeconfig
15364         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15365         * sysdeps/pthread/configure: File removed.
15366         * sysdeps/pthread/Makeconfig: New file.
15367         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15368         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15370 2012-08-16  Gary Benson  <gbenson@redhat.com>
15372         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15373         unmapping the first object in a namespace.
15375 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15377         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15378         (__internal_setnetgrent): ... this.  Add internal_function to
15379         definition.  Add libc_hidden_def.
15380         (setnetgrent): Update caller.
15381         (internal_endnetgrent): Renamed to ...
15382         (__internal_endnetgrent): ... this.  Add internal_function to
15383         definition.  Add libc_hidden_def.
15384         (endnetgrent): Update caller.
15385         (internal_getnetgrent_r): Renamed to ...
15386         (__internal_getnetgrent_r): ... this.  Add internal_function to
15387         definition.  Add libc_hidden_def.
15388         (__getnetgrent_r): Update caller.
15389         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15391 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15393         * stdlib/longlong.h: Update from GCC.
15395 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15397         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15398         on _QL, which is set by umul_ppmm but never used.
15399         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15400         variables, which are set by GMP macros but never used.
15401         * stdio-common/_itowa.c (_itowa): Likewise.
15402         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15403         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15405 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15407         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15408         struct La_sh_regs is not constant.
15409         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15410         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15411         and struct La_sparc64_regs are not constant.
15413 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15415         * sysdeps/unix/sysv/linux/kernel-features.h
15416         (__ASSUME_POSIX_TIMERS): Remove.
15417         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15418         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15419         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15420         Make code unconditional.
15421         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15422         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15423         Make code unconditional.
15424         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15425         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15426         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15427         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15428         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15429         Make code unconditional.
15430         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15431         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15432         (__libc_missing_posix_timers): Remove.
15434 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15436         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15437         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15439         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15441         * elf/dl-sym.c: Include <stdlib.h>.
15443         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15444         constants, which avoids warnings in 32-bit builds.
15446         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15447         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15449         * misc/lseek.c: File moved to ...
15450         * io/lseek.c: ... here.
15452         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15454         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15455         shifting LEN more than 31 bits at once.
15457 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15459         [BZ #14195]
15460         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15461         segmentation fault for a case of two empty input strings.
15462         * string/test-strncasecmp.c (check1): Renamed to...
15463         (bz12205): ...this.
15464         (bz14195): Add new testcase for two empty input strings and N > 0.
15465         (test_main): Call new testcase, adapt for renamed function.
15467 2012-08-15  Andreas Jaeger  <aj@suse.de>
15469         [BZ #14090]
15470         * crypt/md5test2.c: New test, based on test supplied by Serge
15471         Belyshev <belyshev@depni.sinp.msu.ru>.
15472         * crypt/Makefile (xtests): Add md5test-giant..
15473         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15475 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15477         [BZ #14090]
15478         * crypt/md5.c (md5_process_block): Don't assume the buffer
15479         length is less than 2**32.
15480         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15481         length is less than 2**64.
15483 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15485         * string/str-two-way.h: Include <sys/param.h>.
15486         (MAX): Macro removed.
15488         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15489         Move #define and #undef of memmove to just before and after
15490         including <string.h>.
15492         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15493         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15494         and after including <string.h>.  Move declarations of
15495         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15496         to before #include "string/memmove.c".
15498         * include/dirent.h: Declare __getdirentries.
15500         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15501         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15503 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15505         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15506         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15507         * sysdeps/i386/configure: Regenerated.
15508         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15509         STABS_CURRENT_FILE, and STABS_FUN.
15510         (END): Remove call to STABS_FUN_END.
15511         (STABS_CURRENT_FILE1): Delete.
15512         (STABS_CURRENT_FILE): Likewise.
15513         (STABS_FUN): Likewise.
15514         (STABS_FUN_END): Likewise.
15515         (STABS_FUN2): Likewise.
15516         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15517         * sysdeps/x86_64/configure: Regenerated.
15519 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15521         * elf/dl-open.c: Include <atomic.h>.
15522         * elf/dl-lookup.c: Likewise.
15524 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15526         * sysdeps/unix/sysv/linux/kernel-features.h
15527         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15528         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15529         unconditionally.
15530         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15531         unconditionally.
15532         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15533         condition on __ASSUME_CLONE_THREAD_FLAGS.
15535 2012-08-14  Andreas Jaeger  <aj@suse.de>
15537         * sysdeps/i386/fpu/libm-test-ulps: Update.
15539 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15541         * include/atomic.h (atomic_exchange_and_add): Split into ...
15542         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15543         New atomic macros.
15545 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15549 2012-08-13  Jeff Law <law@redhat.com>
15551         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15552         null byte in the output string.
15554 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15556         * sysdeps/unix/sysv/linux/kernel-features.h
15557         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15558         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15559         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15560         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15561         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15562         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15563         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15565 2012-08-09  Jeff Law <law@redhat.com>
15567         [BZ #13939]
15568         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15569         When avoid_arena is set, don't retry in the that arena.  Pick the
15570         next one, whatever it might be.
15571         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15572         (arena_lock): Pass in new parameter to arena_get2.
15573         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15574         arena_get2.
15575         (__libc_malloc): Unify retrying after main arena failure with
15576         __libc_memalign version.
15577         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15579 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15581         [BZ #14166]
15582         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15583         to __redirect_strstr.
15584         (__strstr_sse42): Use typeof __redirect_strstr.
15585         (__strstr_ia32): Likewise.
15586         (__libc_strstr): New prototype.
15587         (strstr): Renamed to ...
15588         (__libc_strstr): This.
15589         (strstr): New strong alias of __libc_strstr.
15590         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15591         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15592         __redirect_time.
15593         Include <time.h>.
15594         (__libc_time): New prototype.
15595         (time_ifunc): Replace time with __libc_time.
15596         (time): New strong alias and hidden definition of __libc_time.
15597         (__GI_time): Remove strong alias.
15598         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15599         Include <stddef.h>.
15600         (memmove): Redefined to __redirect_memmove.
15601         (__memmove_sse2): Use typeof __redirect_memmove.
15602         (__memmove_ssse3): Likewise.
15603         (__memmove_ssse3_back): Likewise.
15604         (__libc_memmove): New prototype.
15605         (memmove): Renamed to ...
15606         (__libc_memmove): This.
15607         (memmove): New strong alias of __libc_memmove.
15609 2012-08-08  Mark Salter  <msalter@redhat.com>
15611         * elf/elf.h
15612         (R_MN10300_TLS_GD): Define.
15613         (R_MN10300_TLS_LD): Likewise.
15614         (R_MN10300_TLS_LDO): Likewise.
15615         (R_MN10300_TLS_GOTIE): Likewise.
15616         (R_MN10300_TLS_IE): Likewise.
15617         (R_MN10300_TLS_LE): Likewise.
15618         (R_MN10300_TLS_DTPMOD): Likewise.
15619         (R_MN10300_TLS_DTPOFF): Likewise.
15620         (R_MN10300_TLS_TPOFF): Likewise.
15621         (R_MN10300_SYM_DIFF): Likewise.
15622         (R_MN10300_ALIGN): Likewise.
15623         (R_MN10300_NUM): Update.
15625 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15628         Remove.
15630 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15632         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15634         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15635         sysdeps/unix -> sysdeps/posix move.
15636         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15638 2012-08-07      Allan McRae     <allan@archlinux.org>
15640         [BZ #14303]
15641         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15642         (SUNOS_CPP): Likewise.
15643         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15644         not found.
15645         (open_input): Call CPP using execvp.
15647 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15649         * sysdeps/unix/sysv/linux/kernel-features.h
15650         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15651         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15652         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15653         (__ASSUME_WAITID_SYSCALL): Likewise.
15654         * sysdeps/unix/sysv/linux/dl-execstack.c
15655         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15656         code unconditional.
15657         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15658         conditional code.
15659         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15660         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15661         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15662         code.
15663         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15664         unconditional.
15665         [__ASSUME_WAITID_SYSCALL]: Likewise.
15666         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15668 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15670         * sysdeps/unix/closedir.c: Renamed to ...
15671         * sysdeps/posix/closedir.c: ... here.
15672         * sysdeps/unix/dirfd.c: Renamed to ...
15673         * sysdeps/posix/dirfd.c: ... here.
15674         * sysdeps/unix/dirstream.h: Renamed to ...
15675         * sysdeps/posix/dirstream.h: ... here.
15676         * sysdeps/unix/fdopendir.c: Renamed to ...
15677         * sysdeps/posix/fdopendir.c: ... here.
15678         * sysdeps/unix/opendir.c: Renamed to ...
15679         * sysdeps/posix/opendir.c: ... here.
15680         * sysdeps/unix/readdir.c: Renamed to ...
15681         * sysdeps/posix/readdir.c: ... here.
15682         * sysdeps/unix/readdir_r.c: Renamed to ...
15683         * sysdeps/posix/readdir_r.c: ... here.
15684         * sysdeps/unix/rewinddir.c: Renamed to ...
15685         * sysdeps/posix/rewinddir.c: ... here.
15686         * sysdeps/unix/seekdir.c: Renamed to ...
15687         * sysdeps/posix/seekdir.c: ... here.
15688         * sysdeps/unix/telldir.c: Renamed to ...
15689         * sysdeps/posix/telldir.c: ... here.
15690         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15691         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15692         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15693         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15695         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15696         * bits/fcntl.h: ... here.
15698         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15699         not 0.
15700         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15701         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15702         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15703         (struct flock): Move l_start, l_len to the beginning.
15704         Use __pid_t for l_pid.
15705         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15706         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15707         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15708         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15709         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15710         [__USE_LARGEFILE64] (struct flock64): New type.
15711         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15713         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15714         * bits/dirent.h: ... here.
15716         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15717         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15719 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15721         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15722         Change from 2.6.0 to 2.6.16.
15723         * sysdeps/unix/sysv/linux/configure: Regenerated.
15724         * sysdeps/unix/sysv/linux/kernel-features.h
15725         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15726         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15727         version.
15728         (__ASSUME_UTIMES): Likewise.
15729         (__ASSUME_CLONE_STOPPED): Remove.
15730         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15731         architectures, not kernel version.
15732         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15733         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15734         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15735         (__ASSUME_WAITID_SYSCALL): Likewise.
15736         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15737         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15738         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15739         refer to older versions.
15741 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15743         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15744         Define alphasort64 as an alias.
15745         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15746         Define versionsort64 as an alias.
15747         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15748         Define scandir64 as an alias.
15749         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15750         Define scandirat64 as an alias.
15751         * dirent/alphasort64.c (alphasort64):
15752         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15753         * dirent/versionsort64.c: Likewise.
15754         * dirent/scandir64.c: Likewise.
15755         * dirent/scandirat64.c: Likewise.
15756         * sysdeps/wordsize-64/alphasort.c: File removed.
15757         * sysdeps/wordsize-64/alphasort64.c: File removed.
15758         * sysdeps/wordsize-64/scandir.c: File removed.
15759         * sysdeps/wordsize-64/scandir64.c: File removed.
15760         * sysdeps/wordsize-64/scandirat.c: File removed.
15761         * sysdeps/wordsize-64/scandirat64.c: File removed.
15762         * sysdeps/wordsize-64/versionsort.c: File removed.
15763         * sysdeps/wordsize-64/versionsort64.c: File removed.
15764         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15765         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15766         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15767         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15768         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15769         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15770         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15771         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15773         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15775         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15777         [defined __arch64__ || defined __sparcv9]
15778         (__INO_T_MATCHES_INO64_T): New macro.
15779         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15780         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15781         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15782         * sysdeps/unix/sysv/linux/bits/dirent.h
15783         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15784         (_DIRENT_MATCHES_DIRENT64): New macro.
15786         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15787         Define lockf64 as an alias.
15788         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15789         Define fseeko64 as an alias.
15790         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15791         Define ftello64 as an alias.
15792         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15793         Define _IO_fgetpos64 and fgetpos64 as aliases.
15794         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15795         Define _IO_fsetpos64 and fsetpos64 as aliases.
15796         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15797         Conditionalize body on this.
15798         * libio/fseeko64.c: Likewise.
15799         * libio/ftello64.c: Likewise.
15800         * libio/iofgetpos64.c: Likewise.
15801         * libio/iofsetpos64.c: Likewise.
15802         * sysdeps/wordsize-64/lockf.c: File removed.
15803         * sysdeps/wordsize-64/lockf64.c: File removed.
15804         * sysdeps/wordsize-64/fseeko.c: File removed.
15805         * sysdeps/wordsize-64/fseeko64.c: File removed.
15806         * sysdeps/wordsize-64/ftello.c: File removed.
15807         * sysdeps/wordsize-64/ftello64.c: File removed.
15808         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15809         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15810         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15811         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15812         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15813         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15814         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15815         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15816         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15817         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15818         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15819         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15820         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15821         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15823         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15825         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15827         [defined __arch64__ || defined __sparcv9]
15828         (__OFF_T_MATCHES_OFF64_T): New macro.
15829         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15830         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15832         (__OFF_T_MATCHES_OFF64_T): New macro.
15834 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15836         * stdlib/secure-getenv.c (__secure_getenv): Replace
15837         GLIBC_2_16 with GLIBC_2_17.
15839 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15841         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15842         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15844 2012-08-03  David S. Miller  <davem@davemloft.net>
15846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15848 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15850         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15851         Remove.
15852         (__ASSUME_CORRECT_SI_PID): Likewise.
15853         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15854         (__ASSUME_TMPFS_NAME): Likewise.
15855         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15856         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15857         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15858         (HAVE_AUX_SECURE): Make definition unconditional.
15859         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15860         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15862 2012-08-03  Roland McGrath  <roland@hack.frob.com>
15864         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15865         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15866         * sysdeps/mach/hurd/eloop-threshold.h: New file.
15867         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15868         __eloop_threshold instead of SYMLOOP_MAX.
15870         * sysdeps/generic/eloop-threshold.h: New file.
15871         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15872         of MAXSYMLINKS.
15873         * elf/chroot_canon.c (chroot_canon): Likewise.
15875 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15877         [BZ #13717]
15878         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15879         Change to 2.6.0 everywhere.
15880         * sysdeps/unix/sysv/linux/configure: Regenerated.
15881         * sysdeps/unix/sysv/linux/kernel-features.h
15882         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15883         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15884         kernel versions.
15885         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15886         (__ASSUME_FUTEX_REQUEUE): Remove.
15887         (__ASSUME_STATFS64): Define unconditionally.
15888         (__ASSUME_AT_SECURE): Likewise.
15889         (__ASSUME_CORRECT_SI_PID): Likewise.
15890         (__ASSUME_TGKILL): Define without depending on kernel version for
15891         i386.
15892         (__ASSUME_UTIMES): Likewise.
15893         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15894         kernel version.
15895         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15896         (__ASSUME_TMPFS_NAME): Likewise.
15897         * README: Update reference to Linux kernel versions.
15899 2012-08-02  Marek Polacek  <polacek@redhat.com>
15901         [BZ# 14150]
15902         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15903         libc_cv_asm_type_prefix with %.
15904         * configure: Regenerated.
15905         * include/libc-symbols.h: Remove comment about
15906         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15907         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15908         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15909         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15910         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15911         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15912         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15913         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15914         * elf/tst-unique2mod1.c: Likewise.
15915         * elf/tst-unique1mod2.c: Likewise.
15916         * elf/tst-unique1mod1.c: Likewise.
15917         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15918         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15919         Replace ASM_TYPE_DIRECTIVE with .type.
15920         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15921         * sysdeps/i386/sysdep.h: Likewise.
15922         * sysdeps/x86_64/sysdep.h: Likewise.
15923         * sysdeps/sh/sysdep.h: Likewise.
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15925         Do not define ASM_TYPE_DIRECTIVE.
15926         * sysdeps/powerpc/sysdep.h: Likewise.
15927         * sysdeps/powerpc/powerpc32/sysdep.h:
15928         Replace ASM_TYPE_DIRECTIVE with .type.
15929         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15930         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15931         * sysdeps/i386/fpu/e_powf.S: Likewise.
15932         * sysdeps/i386/fpu/e_expl.S: Likewise.
15933         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15934         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15935         * sysdeps/i386/fpu/e_pow.S: Likewise.
15936         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15937         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15938         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15939         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15940         * sysdeps/i386/fpu/e_log2.S: Likewise.
15941         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15942         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15943         * sysdeps/i386/fpu/e_powl.S: Likewise.
15944         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15945         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15946         * sysdeps/i386/fpu/e_logl.S: Likewise.
15947         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15948         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15949         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15950         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15951         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15952         * sysdeps/i386/fpu/e_log.S: Likewise.
15953         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15954         * sysdeps/i386/fpu/e_logf.S: Likewise.
15955         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15956         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15957         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15958         * sysdeps/i386/fpu/e_log10.S: Likewise.
15959         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15960         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15961         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15962         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15963         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15964         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15965         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15966         * sysdeps/i386/i686/strtok.S: Likewise.
15967         * sysdeps/i386/i386-mcount.S: Likewise.
15968         * sysdeps/i386/strtok.S: Likewise.
15969         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15970         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15971         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15972         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15973         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15974         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15975         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15976         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15977         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15978         * sysdeps/x86_64/_mcount.S: Likewise.
15979         * sysdeps/x86_64/strtok.S: Likewise.
15980         * sysdeps/sh/_mcount.S: Likewise.
15982 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15984         * libio/iofopen.c: Include <fcntl.h>.
15985         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15986         (_IO_fopen64, fopen64): Define as aliases.
15987         * libio/iofopen64.c: Include <fcntl.h>.
15988         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15989         Conditionalize body on this.
15990         * sysdeps/wordsize-64/iofopen.c: File removed.
15991         * sysdeps/wordsize-64/iofopen64.c: File removed.
15993 2012-08-01  Marek Polacek  <polacek@redhat.com>
15995         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15996         Use dlfcn directly instead of a variable.
15997         (binfmt-subdir): Do not define.
15998         (dlfcn): Likewise.
16000 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16003         Remove all definitions.
16004         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16005         <kernel-features.h>.
16006         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16007         (miss_F_GETOWN_EX): Remove all definitions.
16008         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16009         macro definition.
16010         [!__ASSUME_FCNTL64]: Remove conditional code.
16011         [__ASSUME_FCNTL64]: Make code unconditional.
16012         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16013         <kernel-features.h>.
16014         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16015         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16016         (lockf64) [__NR_fcntl64]: Make code unconditional.
16017         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16019         * sysdeps/unix/sysv/linux/kernel-features.h
16020         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16021         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16022         Make code unconditional.
16023         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16024         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16026         [__NR_vfork]: Make code unconditional.
16027         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16028         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16030         [__NR_vfork]: Make code unconditional.
16031         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16032         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16034 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16036         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16037         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16039         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16040         Define mkstemp64 as an alias.
16041         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16042         Define mkstemps64 as an alias.
16043         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16044         Define mkostemp64 as an alias.
16045         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16046         Define mkostemps64 as an alias.
16047         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16048         Conditionalize body on this.
16049         * misc/mkostemp64.c: Likewise.
16050         * misc/mkostemps64.c: Likewise.
16051         * misc/mkstemps64.c: Likewise.
16052         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16053         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16054         * sysdeps/wordsize-64/mkostemp.c: File removed.
16055         * sysdeps/wordsize-64/mkstemp.c: File removed.
16056         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16057         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16058         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16059         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16061         [BZ #14138]
16062         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16063         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16064         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16065         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16067         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16068         compat_symbol macros from <shlib-compat.h> rather than the underlying
16069         default_symbol_version and symbol_version macros, so that DEFAULT
16070         lines in shlib-versions are respected.
16071         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16073 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16075         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16076         Declare with warn_unused_result.
16077         (setgid, setregid, setegid, setresgid): Likewise.
16078         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16079         Likewise.
16080         * WUR-REPORT: Remove set*id functions.
16082 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16084         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16086 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16088         [BZ #10191]
16089         * include/sys/socket.h (__libc_accept, __libc_accept4):
16090         Add attribute_hidden.
16091         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16093         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16094         use of PTR_MANGLE.
16095         * inet/getnetgrent_r.c (setup): Likewise.
16097         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16099 2012-07-31  David S. Miller  <davem@davemloft.net>
16101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16103 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16105         [BZ #13629]
16106         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16107         value between 1.0 and 2.0 and smaller part has absolute value less
16108         than 1.0.
16109         * math/s_clog10.c (__clog10): Likewise.
16110         * math/s_clog10f.c (__clog10f): Likewise.
16111         * math/s_clog10l.c (__clog10l): Likewise.
16112         * math/s_clogf.c (__clogf): Likewise.
16113         * math/s_clogl.c (__clogl): Likewise.
16114         * math/libm-test.inc (clog_test): Add more tests.
16115         (clog10_test): Likewise.
16116         * sysdeps/i386/fpu/libm-test-ulps: Update.
16117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16119 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16121         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16122         Exit with zero in case no suitable GID is found, and write a
16123         message to standard error.
16125 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16127         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16128         rather than to 1.
16129         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16130         (MAXPATHLEN): Removed.
16131         (NOGROUP, NODEV): New macros.
16132         (setbit, clrbit, isset, isclr): New macros.
16133         (howmany, roundup, powerof2): New macros.
16134         (DEV_BSIZE): New macro.
16136         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16137         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16139         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16140         definition on [!__NO_LONG_DOUBLE_MATH].
16142         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16143         PTR_MANGLE and PTR_DEMANGLE.
16145         * socket/accept4.c (accept4): Rename to __libc_accept4.
16146         Define accept4 as a weak alias.
16148         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16149         on [_DIRENT_HAVE_D_TYPE].
16150         * io/ftw.c (ftw_dir): Likewise.
16152         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16154         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16156         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16157         Use the BSD numbers rather than the arbitrary ones we had.
16158         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16159         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16160         (SIGXCPU, SIGXFSZ): New macros.
16161         (_NSIG): Now 32.
16163         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16164         initializer on [_LIBC_REENTRANT].
16166         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16167         definitions inside [_POSIX_MAPPED_FILES].
16169         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16171         * dirent/opendir.c: Include <fcntl.h>.
16173         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16174         (__libc_getspecific): Likewise.
16175         (__libc_key_create): Likewise.
16177         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16178         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16179         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16180         (tmpfile64): Define as alias.
16181         * sysdeps/wordsize-64/tmpfile.c: File removed.
16182         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16183         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16184         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16186         * stdio-common/vfscanf.c: Include <stdbool.h>.
16187         * nss/makedb.c: Likewise.
16188         * stdio-common/_i18n_number.h: Likewise.
16189         * argp/argp-help.c: Likewise.
16190         * posix/wordexp.c: Likewise.
16191         * sysdeps/posix/spawni.c: Likewise.
16192         * nss/nss_files/files-initgroups.c: Likewise.
16193         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16194         * nss/nss_files/files-initgroups.c: Likewise.
16195         * nss/nss_db/db-netgrp.c: Likewise.
16196         * nss/nss_db/db-initgroups.c: Likewise.
16197         * io/fchmodat.c: Include <sys/stat.h>.
16199         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16200         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16202         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16203         [HAVE_MMAP].
16205         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16206         Add multiple inclusion protection.
16208 2012-07-27  David S. Miller  <davem@davemloft.net>
16210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16212 2012-07-27  Gary Benson  <gbenson@redhat.com>
16214         [BZ #14298]
16215         * elf/rtld.c: Include <stap-probe.h>.
16216         (dl_main): Added static probes "init_start" and "init_complete".
16217         * elf/dl-load.c: Include <stap-probe.h>.
16218         (lose): Take new parameter "nsid".
16219         Added static probe "map_failed".
16220         (_dl_map_object_from_fd): Pass namespace id to lose.
16221         Added static probe "map_start".
16222         (open_verify): Pass namespace id to lose.
16223         * elf/dl-open.c: Include <stap-probe.h>.
16224         (dl_open_worker) Added static probes "map_complete", "reloc_start"
16225         and "reloc_complete".
16226         * elf/dl-close.c: Include <stap-probe.h>.
16227         (_dl_close_worker): Added static probes "unmap_start" and
16228         "unmap_complete".
16229         * elf/rtld-debugger-interface.txt: New file documenting the above.
16231 2012-07-26  Roland McGrath  <roland@hack.frob.com>
16233         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16234         rather than a string variable.
16235         * sunrpc/rpc_main.c (h_output): Likewise.
16236         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16238 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16240         * inet/check_native.c: New file.
16242 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16244         [BZ #13629]
16245         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16246         if larger part has absolute value 1.0.
16247         * math/s_clog10.c (__clog10): Likewise.
16248         * math/s_clog10f.c (__clog10f): Likewise.
16249         * math/s_clog10l.c (__clog10l): Likewise.
16250         * math/s_clogf.c (__clogf): Likewise.
16251         * math/s_clogl.c (__clogl): Likewise.
16252         * math/libm-test.inc (clog_test): Add more tests.
16253         (clog10_test): Likewise.
16254         * sysdeps/i386/fpu/libm-test-ulps: Update.
16255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16257         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16258         (pltexit): Likewise.
16259         (La_regs): Likewise.
16260         (La_retval): Likewise.
16261         (int_retval): Likewise.
16262         Update #error for removed macros to refer only to definitions in
16263         tst-audit.h.
16264         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16265         macro.
16266         (pltexit): Likewise.
16267         (La_regs): Likewise.
16268         (La_retval): Likewise.
16269         (int_retval): Likewise.
16270         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16271         macro.
16272         (pltexit): Likewise.
16273         (La_regs): Likewise.
16274         (La_retval): Likewise.
16275         (int_retval): Likewise.
16276         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16277         macro.
16278         (pltexit): Likewise.
16279         (La_regs): Likewise.
16280         (La_retval): Likewise.
16281         (int_retval): Likewise.
16282         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16283         macro.
16284         (pltexit): Likewise.
16285         (La_regs): Likewise.
16286         (La_retval): Likewise.
16287         (int_retval): Likewise.
16288         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16289         macro.
16290         (pltexit): Likewise.
16291         (La_regs): Likewise.
16292         (La_retval): Likewise.
16293         (int_retval): Likewise.
16294         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16295         macro.
16296         (pltexit): Likewise.
16297         (La_regs): Likewise.
16298         (La_retval): Likewise.
16299         (int_retval): Likewise.
16300         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16301         macro definitions in tst-audit.h.
16302         * sysdeps/i386/tst-audit.h: New file.
16303         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16304         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16305         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16306         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16307         * sysdeps/sh/tst-audit.h: Likewise.
16308         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16309         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16310         * sysdeps/x86_64/tst-audit.h: Likewise.
16312 2012-07-26  Andreas Jaeger  <aj@suse.de>
16314         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16315         ptrace.
16317         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16318         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16319         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16320         PTRACE_O_MASK.
16321         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16322         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16323         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16325         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16326         value.
16328         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16329         _sigsys.
16330         (si_call_addr, si_syscall, si_arch): Define new macro.
16331         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16332         _sigsys.
16333         (si_call_addr, si_syscall, si_arch): Define new marcro.
16334         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16335         _sigsys.
16336         (si_call_addr, si_syscall, si_arch): Define new macro.
16337         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16338         _sigsys.
16339         (si_call_addr, si_syscall, si_arch): Define new macro.
16341 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16343         [BZ #13717]
16344         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16345         Change to 2.4.21 where previously 2.4.1.
16346         * sysdeps/unix/sysv/linux/configure: Regenerated.
16347         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16348         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16349         Linux kernel version.
16350         (__ASSUME_STD_AUXV): Remove.
16351         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16352         kernel version.
16353         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16354         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16355         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16356         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16357         (__ASSUME_NETLINK_SUPPORT): Likewise.
16358         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16359         (__no_netlink_support): Remove conditional definition.
16360         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16361         Remove.
16362         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16363         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16364         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16365         (if_nameindex_ioctl): Remove.
16366         (if_nameindex_netlink): Do not handle __no_netlink_support.
16367         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16368         code.
16369         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16370         Remove conditional code.
16371         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16372         code.
16373         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16374         unconditional.
16375         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16376         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16377         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16378         Remove.
16379         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16380         [!__ASSUME_STD_AUXV]: Remove conditional code.
16381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16382         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16383         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16385         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16386         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16387         code.
16388         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16390         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16391         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16392         conditional code.
16393         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16395         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16396         code.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16398         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16399         conditional code.
16400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16401         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16402         code unconditional.
16403         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16404         conditional code.
16405         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16406         unconditional.
16407         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16408         conditional code.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16410         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16411         unconditional.
16412         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16413         conditional code.
16414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16415         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16416         code unconditional.
16417         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16418         conditional code.
16419         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16420         unconditional.
16421         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16422         conditional code.
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16424         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16425         code unconditional.
16426         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16427         conditional code.
16428         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16429         unconditional.
16430         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16431         conditional code.
16433 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16435         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16436         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16437         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16438         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16439         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16440         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16441         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16442         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16443         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16444         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16445         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16446         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16447         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16448         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16449         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16450         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16451         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16452         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16453         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16455         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16456         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16457         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16459 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16461         * Versions.def: Add GLIBC_2.17.
16462         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16463         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16464         Introduce __libc_secure_getenv.
16465         * stdlib/Versions (2.17): Add secure_getenv
16466         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16467         * stdlib/secure-getenv.c: Rename __secure_getenv to
16468         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16469         symbol __secure_getenv for GLIBC_2.0.
16470         * stdlib/tst-secure-getenv.c: New.
16471         * stdlib/Makefile (tests): Add testcase.
16472         * manual/startup.texi (Environment Access): Document
16473         secure_getenv.
16474         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16475         __libc_secure_getenv.
16476         * inet/ruserpass.c (ruserpass): Likewise.
16477         * malloc/mtrace.c (mtrace): Likewise.
16478         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16479         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16480         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16481         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16482         HAVE_SECURE_GETENV.
16483         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16484         __secure_getenv to __libc_secure_getenv.
16485         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16487         Likewise.
16488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16489         Likewise.
16490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16492         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16498 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16500         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16501         (struct La_i86_retval): Likewise.
16502         (struct La_x86_64_regs): Likewise.
16503         (struct La_x86_64_retval): Likewise.
16504         (struct La_x32_regs): Likewise.
16505         (struct La_x32_retval): Likewise.
16506         (struct La_ppc32_regs): Likewise.
16507         (struct La_ppc32_retval): Likewise.
16508         (struct La_ppc64_regs): Likewise.
16509         (struct La_ppc64_retval): Likewise.
16510         (struct La_sh_regs): Likewise.
16511         (struct La_sh_retval): Likewise.
16512         (struct La_s390_32_regs): Likewise.
16513         (struct La_s390_32_retval): Likewise.
16514         (struct La_s390_64_regs): Likewise.
16515         (struct La_s390_64_retval): Likewise.
16516         (struct La_sparc32_regs): Likewise.
16517         (struct La_sparc32_retval): Likewise.
16518         (struct La_sparc64_regs): Likewise.
16519         (struct La_sparc64_retval): Likewise.
16520         (struct audit_ifaces): Remove architecture-specific pltenter and
16521         pltexit members.
16522         * sysdeps/i386/ldsodefs.h: New file.
16523         * sysdeps/powerpc/ldsodefs.h: Likewise.
16524         * sysdeps/s390/ldsodefs.h: Likewise.
16525         * sysdeps/sh/ldsodefs.h: Likewise.
16526         * sysdeps/sparc/ldsodefs.h: Likewise.
16527         * sysdeps/x86_64/ldsodefs.h: Likewise.
16529 2012-07-25  Marek Polacek  <polacek@redhat.com>
16531         [BZ #6808]
16532         * math/libm-test.inc (yn_test): Add another test.
16533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16534         to ERANGE when the result is +-Inf.
16535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16536         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16537         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16538         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16540 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16542         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16543         equal to 0.
16544         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16545         clock_t.
16546         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16548 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16550         * configure.in <sysdeps resolving>: Correct printing
16551         Implies_before.
16552         * configure: Regenerate.
16554 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16556         * math/w_ilogb.c: Include <limits.h>.
16557         * math/w_ilogbl.c: Likewise.
16559 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16561         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16562         va_copy.  Document allowing for unavailable va_copy only as
16563         pre-C99 compatibility.
16564         * manual/string.texi (Copying and Concatenation): Use va_copy
16565         instead of __va_copy in concat example.
16567 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16569         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16570         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16571         it if not null.
16573         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16574         with O_NOLINK passed to __file_name_lookup.
16576         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16577         with O_NOLINK passed to __file_name_lookup.
16579         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16580         negative N or less than NGIDS.
16582         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16583         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16584         enough.  Use memcpy instead of strncpy.
16586 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16588         * elf/Makefile (check-data): Remove.
16589         (localplt.data): New vpath directive.
16590         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16591         instead of $(check-data).
16592         * scripts/data/localplt-generic.data: Move to ...
16593         * sysdeps/generic/localplt.data: ... here.
16594         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16595         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16596         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16598         ... here.
16599         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16601         ... here.
16602         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16604         ... here.
16605         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16607         ... here.
16608         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16610         ... here.
16611         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16613         ... here.
16615 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16617         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16618         PPC32 and PPC64 files.
16619         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16620         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16622 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16624         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16625         __makecontext_ret to ...
16626         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16627         ... here and call exit if uc_link is NULL.  New file.
16628         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16629         __makecontext_ret.S.
16630         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16631         __makecontext_ret to ...
16632         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16633         ... here and call exit if uc_link is NULL.  New file.
16634         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16635         __makecontext_ret.S.
16637 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16639         * elf/elf.h (R_390_IRELATIVE): New definition.
16640         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16641         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16642         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16644         (elf_machine_lazy_rel): Likewise.
16645         * sysdeps/s390/dl-irel.h: New file.
16646         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16647         * sysdeps/s390/s390-64/memset.S: New asm code.
16648         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16649         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16650         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16651         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16652         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16653         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16654         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16655         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16656         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16657         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16658         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16659         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16660         * sysdeps/s390/s390-32/memset.S: New asm code.
16661         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16663 2012-07-17  Marek Polacek  <polacek@redhat.com>
16665         [BZ #14349]
16666         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16667         * sysdeps/s390/s390-64/configure.in: Likewise.
16668         * sysdeps/sparc/configure.in: Likewise.
16669         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16670         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16671         * sysdeps/i386/configure.in: Likewise.
16672         * sysdeps/x86_64/configure.in: Likewise.
16673         * sysdeps/sh/configure.in: Likewise.
16674         * sysdeps/s390/s390-32/configure: Regenerated.
16675         * sysdeps/s390/s390-64/configure: Likewise.
16676         * sysdeps/x86_64/configure: Likewise.
16677         * sysdeps/sh/configure: Likewise.
16678         * sysdeps/powerpc/powerpc64/configure: Likewise.
16679         * sysdeps/powerpc/powerpc32/configure: Likewise.
16680         * sysdeps/sparc/configure: Likwise.
16681         * sysdeps/i386/configure: Likewise.
16683         * elf/dl-open.c: Comment fixes.
16685 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16687         * Makefile [CXX] (check-data): Remove.
16688         [CXX] (c++-types.data): New vpath directive.
16689         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16690         vpath.  Do not allow for C++ type data being missing.
16691         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16692         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16693         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16694         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16695         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16696         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16697         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16699         ... here.
16700         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16702         ... here.
16703         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16705         ... here.
16706         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16708         ... here.
16709         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16711         ... here.
16712         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16714         ... here.
16715         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16717         ... here.
16718         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16721         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16722         definitions to architecture-specific files.
16723         (TLS_IE): Likewise.
16724         (TLS_LD): Likewise.
16725         (TLS_GD): Likewise.
16726         * sysdeps/i386/tls-macros.h: New file.
16727         * sysdeps/powerpc/tls-macros.h: Likewise.
16728         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16729         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16730         * sysdeps/sh/tls-macros.h: Likewise.
16731         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16732         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16733         * sysdeps/x86_64/tls-macros.h: Likewise.
16735 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16738         zero value for regular exit case.
16740         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16741         (__start_context): Preserve zero value for regular exit case.
16743 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16744             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16746         * manual/setjmp.texi (setcontext): Clarify normal process
16747         termination when uc_link is the null pointer.
16748         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16749         exit call.
16751 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16753         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16754         preprocessor.  Test for each exception mask separately.
16756 2012-07-16  Andreas Jaeger  <aj@suse.de>
16758         * po/ru.po: Update from translation team.
16760 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16762         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16763         equal to 0.
16764         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16765         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16766         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16767         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16770 2012-07-13  Andreas Jaeger  <aj@suse.de>
16772         * po/fr.po: Update from translation team.
16774 2012-07-12  Marek Polacek  <polacek@redhat.com>
16776         [BZ #14173]
16777         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16778         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16779         loop condition.
16781 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #13717]
16784         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16785         Change to 2.4.1 where previously 2.4.0.
16786         * sysdeps/unix/sysv/linux/configure: Regenerated.
16787         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16788         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16789         version.
16790         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16791         (__ASSUME_AT_CLKTCK): Remove.
16792         (__ASSUME_AT_PAGESIZE): Likewise.
16793         (__ASSUME_AT_XID): Likewise.
16794         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16795         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16796         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16797         unconditionally.
16798         (HAVE_AUX_PAGESIZE): Likewise.
16799         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16800         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16801         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16803 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16805         [BZ #14307]
16806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16807         the temporary buffer used to invoke __gethostbyname2_r,
16808         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16809         host_data / struct gaih_addrtuple.
16810         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16811         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16812         header file nss/nsswitch.h.
16813         * nss/nsswitch.h (global scope): Add definition of implementation
16814         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16815         resolv/nss_dns/dns-host.c).
16817 2012-07-11  Andreas Jaeger  <aj@suse.de>
16819         * po/fr.po: Update from translation team.
16821         * po/sv.po: Update from translation team
16822         * po/fr.po: Another update from translation team.
16824 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16826         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16827         for subnormals or multiply small sinh result by itself.
16828         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16831 2012-07-11  David S. Miller  <davem@davemloft.net>
16833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16835 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
16837         [BZ #14347]
16838         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16839         (INTERNAL_MARK): Shift it here.
16841 2012-07-10  Marek Polacek  <polacek@redhat.com>
16843         [BZ #14151]
16844         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
16845         libc_cv_asm_global_directive with .globl.
16846         * configure: Regenerated.
16847         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16848         with .globl.
16849         * sysdeps/i386/configure: Regenerated.
16850         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16851         with .globl.
16852         * sysdeps/x86_64/configure: Regenerated.
16853         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16854         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16855         * elf/tst-unique2mod2.c: Likewise.
16856         * elf/tst-unique2mod1.c: Likewise.
16857         * elf/tst-unique1mod2.c: Likewise.
16858         * elf/tst-unique1mod1.c: Likewise.
16859         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16860         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16861         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16862         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16863         * sysdeps/mach/sysdep.h: Likewise.
16864         * sysdeps/i386/sysdep.h: Likewise.
16865         * sysdeps/i386/i386-mcount.S: Likewise.
16866         * sysdeps/x86_64/_mcount.S: Likewise.
16867         * sysdeps/x86_64/sysdep.h: Likewise.
16868         * sysdeps/sh/_mcount.S: Likewise.
16869         * sysdeps/sh/sysdep.h: Likewise.
16870         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16871         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16872         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16873         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16874         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16875         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16876         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16877         * locale/localeinfo.h: Likewise.
16878         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16879         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16881 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16883         [BZ #14336]
16884         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16885         system".
16886         * manual/message.texi (The Uniforum approach): Likewise.
16887         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16888         (glibc iconv Implementation): Likewise.
16890 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16892         [BZ #14337]
16893         * math/s_clog.c (__clog): Avoid scaling a value down where that
16894         could result in underflow.
16895         * math/s_clog10.c (__clog10): Likewise.
16896         * math/s_clog10f.c (__clog10f): Likewise.
16897         * math/s_clog10l.c (__clog10l): Likewise.
16898         * math/s_clogf.c (__clogf): Likewise.
16899         * math/s_clogl.c (__clogl): Likewise.
16900         * math/libm-test.inc (clog_test): Add more tests.
16901         (clog10_test): Likewise.
16902         * sysdeps/i386/fpu/libm-test-ulps: Update.
16903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16905 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16907         [BZ #14283]
16908         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16909         by 7 not 8 to examine high bit of fractional part.
16911         [BZ #14042]
16912         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16913         for call to __mcount_internal.
16914         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16915         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16916         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16918 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16920         [BZ #14154]
16921         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16922         approximation for values within 0x1p-13f of an odd multiple of
16923         pi/4.
16924         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16925         exception.  Add more tests.
16926         * sysdeps/i386/fpu/libm-test-ulps: Update.
16928         [BZ #6778]
16929         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16930         inputs and return -1 for them.  Do not check for +Inf in case not
16931         reachable for +Inf.
16932         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16933         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16934         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16935         and return -1 for them.  Do not check for +Inf in case not
16936         reachable for +Inf.
16937         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16938         define.
16939         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16940         and return -1 for them.  Do not check for +Inf in case not
16941         reachable for +Inf.
16942         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16943         spurious underflow.
16944         * sysdeps/i386/fpu/libm-test-ulps: Update.
16945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16947 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16949         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16951 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16953         [BZ #14157]
16954         [BZ #14331]
16955         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16956         could result in spurious underflow.  Scale down values above
16957         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16958         * math/s_csqrtf.c (__csqrtf): Likewise.
16959         * math/s_csqrtl.c (__csqrtl): Likewise.
16960         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16961         spurious underflow.
16962         * sysdeps/i386/fpu/libm-test-ulps: Update.
16963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16965 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16967         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16968         xopen-msg.sed.
16969         * catgets/xopen-msg.awk: New file.
16970         * catgets/xopen-msg.sed: Removed.
16972         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16973         po2text.sed.
16974         * intl/po2test.awk: New file.
16975         * intl/po2test.sed: Removed.
16977 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16979         [BZ #14328]
16980         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16981         or multiply small sinh result by itself.
16982         * math/s_ctanf.c (__ctanf): Likewise.
16983         * math/s_ctanh.c (__ctanh): Likewise.
16984         * math/s_ctanhf.c (__ctanhf): Likewise.
16985         * math/s_ctanhl.c (__ctanhl): Likewise.
16986         * math/s_ctanl.c (__ctanl): Likewise.
16987         * math/libm-test.inc (ctan_test_tonearest): New function.
16988         (ctan_test_towardzero): Likewise.
16989         (ctan_test_downward): Likewise.
16990         (ctan_test_upward): Likewise.
16991         (ctanh_test_tonearest): Likewise.
16992         (ctanh_test_towardzero): Likewise.
16993         (ctanh_test_downward): Likewise.
16994         (ctanh_test_upward): Likewise.
16995         (main): Call these new functions.
16996         * sysdeps/i386/fpu/libm-test-ulps: Update.
16997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16999 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17001         * .gitignore: Delete /ports entry.
17003 2012-07-03  Andreas Jaeger  <aj@suse.de>
17005         * po/bg.po: Update from translation team.
17006         * po/cs.po: Likewise.
17007         * po/de.po: Likewise.
17008         * po/hr.po: Likewise.
17009         * po/nl.pl: Likewise.
17010         * po/pl.po: Likewise.
17011         * po/vi.po: Likewise.
17013 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17015         * Makeconfig [!+link] (+link-before-libc): New variable.
17016         [!+link] (+link-after-libc): Likewise.
17017         [!+link] (+link-tests): Likewise.
17018         [!+link] (+link): Define in terms of $(+link-before-libc) and
17019         $(+link-after-libc).
17020         [!+link-static] (+link-static-before-libc): New variable.
17021         [!+link-static] (+link-static-after-libc): Likewise.
17022         [!+link-static] (+link-static-tests): Likewise.
17023         [!+link-static] (+link-static): Define in terms of
17024         $(+link-static-before-libc) and $(+link-static-after-libc).
17025         [build-shared] (link-libc-before-gnulib): New variable.
17026         [build-shared] (link-libc-tests): Likewise.
17027         [build-shared] (link-libc): Define in terms of
17028         $(link-libc-before-gnulib).
17029         [!build-shared] (link-libc-tests): New variable.
17030         (link-libc-static-tests): New variable.
17031         [!gnulib] (gnulib-arch): New variable.
17032         [!gnulib] (gnulib-tests): Likewise.
17033         [!gnulib] (static-gnulib-arch): Likewise.
17034         [!gnulib] (static-gnulib-tests): Likewise.
17035         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17036         Define with "=" instead of ":=".
17037         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17038         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17039         * Rules (binaries-all-notests): New variable.
17040         (binaries-all-tests): Likewise.
17041         (binaries-static-notests): Likewise.
17042         (binaries-static-tests): Likewise.
17043         (binaries-all): Define using $(binaries-all-notests) and
17044         $(binaries-all-tests).
17045         (binaries-static): Define using $(binaries-static-notests) and
17046         $(binaries-static-tests).
17047         (binaries-shared-tests): New variable.
17048         (binaries-shared-notests): Likewise.
17049         (binaries-shared): Remove variable.
17050         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17051         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17052         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17053         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17054         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17055         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17056         * elf/Makefile (sln-modules): New variable.
17057         (extra-objs): Add $(sln-modules:=.o).
17058         (ldconfig-modules): Add static-stubs.
17059         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17060         * elf/static-stubs.c: New file.
17062         [BZ #14283]
17063         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17064         by 7 not 8 to examine high bit of fractional part.  Use volatile
17065         variables when splitting into final array of floats if
17066         __FLT_EVAL_METHOD__ != 0.
17067         * math/libm-test.inc (cos_test): Add another test.
17068         (sin_test): Likewise.
17069         * sysdeps/i386/fpu/libm-test-ulps: Update.
17071         [BZ #14273]
17072         * math/libm-test.inc (cosh_test): Add more tests.
17074         * version.h (RELEASE): Set to "development".
17075         (VERSION): Set to "2.16.90".
17077 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17079         * NEWS: Update copyright. Remove last-updated date.
17080         Mention math library bug fixes and timezone data changes.
17081         * README: Mention GNU/Hurd, x32, and HPPA support status.
17083 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17085         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17087 2012-06-27  Andreas Jaeger  <aj@suse.de>
17089         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17091 2012-06-25  Andreas Jaeger  <aj@suse.de>
17093         * sysdeps/s390/fpu/libm-test-ulps: Update.
17095 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17096             Thomas Schwinge  <thomas@codesourcery.com>
17098         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17099         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17100         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17101         fanotify_mark.
17103 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17105         * sysdeps/mach/start.c: Remove file.
17106         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17107         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17108         * sysdeps/sh/init-first.c: Likewise.
17110         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17111         registers for frame unwinding purposes, add CFI directives.
17112         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17113         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17114         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17115         Likewise.
17117         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17118         __fortify_fail returning.
17119         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17121         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17122         sysdeps/sh/____longjmp_chk.S.
17123         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17124         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17125         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17126         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17128         * sysdeps/sh/abort-instr.h: New file.
17129         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17130         process in case exit returns.
17132         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17133         initialize the GOT register before use.
17135         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17136         calculation of ARGC > 4.
17138         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17139         meaningful names to some local labels.
17141 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17142             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17144         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17145         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17146         (__arch_compare_and_exchange_val_16_acq): Likewise.
17147         (__arch_compare_and_exchange_val_32_acq): Likewise.
17148         (atomic_exchange_and_add): Fix gUSA sequence.
17149         (atomic_add): Likewise.
17150         (atomic_add_negative): Likewise.
17151         (atomic_add_zero): Likewise.
17152         (atomic_bit_test_set): Likewise.
17154 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17156         [BZ #13579]
17157         * include/link.h (struct link_map): Add l_free_initfini.
17158         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17159         l_initfini.
17160         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17161         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17162         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17163         set.
17165 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17167         * configure.in: Use AC_LANG_SOURCE.
17168         * configure: Regenerate.
17170 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17172         * configure.in (libc_cv_localstatedir): New substituted variable.
17173         * configure: Regenerated.
17174         * config.make.in (localstatedir): New variable, substituted from
17175         libc_cv_localstatedir.
17176         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17177         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17178         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17179         * sysdeps/gnu/configure: Regenerated.
17181 2012-06-21  Jeff Law  <law@redhat.com>
17183         [BZ #14277]
17184         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17185         free.  Simplify list management for _LIBC case.
17187 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17189         [BZ #14273]
17190         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17191         Clear sign bit of 64-bit integer value before comparing against
17192         overflow value.
17194         * sysdeps/mach/configure: Regenerated.
17196 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17198         [BZ #14278]
17199         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17201 2012-06-21  Jeff Law  <law@redhat.com>
17203         [BZ #13882]
17204         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17205         uint16_t for elements in the "seen" array to avoid char overflows.
17206         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17207         * elf/dl-open.c (dl_open_worker): Likewise.
17209 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17211         * scripts/list-sources.sh: Scan PORTS for translations.
17212         * po/libc.pot: Regenerated.
17214 2012-06-21  Andreas Jaeger  <aj@suse.de>
17216         [BZ #12194]
17217         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17218         warning.
17219         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17220         * bits/byteswap-16.h (__bswap_16): Likewise.
17221         * bits/byteswap.h (__bswap_constant_16): Likewise.
17223 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17225         [BZ #14117]
17226         * sysdeps/i386/fpu_control.h: Removed.
17227         * sysdeps/x86_64/fpu_control.h: Moved to ...
17228         * sysdeps/x86/fpu_control.h: Here.
17230         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17231         (_FPU_SETCW): Likewise.
17233 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
17235         [BZ #14117]
17236         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17237         * sysdeps/x86/fpu/bits/mathinline.h: This.
17238         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17240         [BZ #14050]
17241         [BZ #14117]
17242         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17243         functions if __x86_64__ is defined.
17245 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17247         * string/endian.h: Add !__ASSEMBLER__ condition for including
17248         conversion interfaces.
17250 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17252         [BZ #14241]
17253         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17254         of ABS(x) in calculating zero to negative powers other than odd
17255         integers.
17256         * math/libm-test.inc (pow_test): Add more tests.
17258 2012-06-15  Andreas Jaeger  <aj@suse.de>
17260         * manual/contrib.texi (Contributors): Update entry of Liubov
17261         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17262         Machado Filho.
17264 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17266         * string/string.h: Add __wur to GNU version of strerror_r.
17268 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17270         [BZ #14229]
17271         * string/Makefile (tests): Add tst-strtok_r.
17272         * string/tst-strtok_r.c: New file.
17273         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17274         RAX_LP/RDX_LP on SAVE_PTR.
17276 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17278         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17280 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17282         * libm_test.inc (csqrt_test): Allow more spurious underflow
17283         exceptions.
17284         (j0_test): Likewise.
17285         (j1_test): Likewise.
17286         (y0_test): Likewise.
17287         (y1_test): Likewise.
17289 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17291         * po/Makefile (libc.pot): Use UTF-8 charset.
17293 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17295         [BZ #14210]
17296         Suppress sign-conversion warning from FD_SET.
17297         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17298         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17299         not unsigned long int.
17300         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17302 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17304         [BZ #14050]
17305         [BZ #14117]
17306         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17307         __extern_always_inline instead of __extern_inline.
17308         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17309         (__signbit): Likewise.
17310         (__signbitl): Support C++ namespace.
17311         (lrintf): New inline function.
17312         (lrint): Likewise.
17313         (llrintf): Likewise.
17314         (llrint): Likewise.
17315         (fmaxf): Likewise.
17316         (fmax): Likewise.
17317         (fminf): Likewise.
17318         (fmin): Likewise.
17319         (rint): Likewise.
17320         (rintf): Likewise.
17321         (ceil): Likewise.
17322         (ceilf): Likewise.
17323         (floor): Likewise.
17324         (floorf): Likewise.
17325         (nearbyint): Likewise.
17326         (nearbyintf): Likewise.
17328 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17330         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17331         non-default versions.
17333 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17335         [BZ #14218]
17336         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17338 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17340         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17341         (FE_UPWARD, FE_DOWNWARD): Don't define.
17342         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17343         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17345         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17346         reading it.
17347         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17348         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17350 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17352         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17353         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17354         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17355         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17357 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17359         [BZ #14117]
17360         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17361         * sysdeps/i386/fpu/Implies: New file.
17362         * sysdeps/x86_64/fpu/Implies: Likewise.
17363         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17364         * sysdeps/x86/fpu/bits/fenv.h: This.
17366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17367         __SSE_MATH__.
17369 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17371         [BZ #14134]
17372         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17373         character 0xffff that matches the last element of the
17374         conversion table.
17376 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17378         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17379         fmodl commit.
17381 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17384         values higher than 25.6283.
17386 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17389         subnormal exponent extraction and add some __builtin_expect.
17390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17391         Fix for subnormal mantissa calculation.
17393 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17395         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17396         cpu2 is -1 and errno is not ENOSYS.
17398 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17400         [BZ #14117]
17401         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17402         * sysdeps/x86/bits/string.h: This.
17403         * sysdeps/x86_64/bits/string.h: Removed.
17405         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17406         if not compiling for x86-64, but compiling for >= i486.
17408         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17409         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17411         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17412         New macro from Linux kernel 3.4.0.
17413         (FP_XSTATE_MAGIC2): Likewise.
17414         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17415         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17416         (struct _fpx_sw_bytes): New struct.
17417         (struct _xsave_hdr): Likewise.
17418         (struct _ymmh_state): Likewise.
17419         (struct _xstate): Likewise.
17421         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17422         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17423         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17424         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17425         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17426         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17428         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17429         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17430         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17431         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17432         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17433         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17435 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17437         [BZ #13743]
17438         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17439         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17440         (sysdep_headers): Include sys/platform/ppc.h.
17441         * sysdeps/powerpc/test-gettimebase.c: Test for
17442         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17443         * manual/Makefile (appendices): Include platform.texi.
17444         * manual/contrib.texi (Contributors): Update @node pointers.
17445         * manual/maint.texi (Maintenance): Likewise.
17446         (Platform): New node.
17447         * manual/platform.texi: New file.  Document the new features.
17449 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17450             Jakub Jelinek  <jakub@redhat.com>
17452         [BZ #14188]
17453         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17454         where __builtin_expect is unavailable.
17456 2012-06-03  David S. Miller  <davem@davemloft.net>
17458         * stdlib/longlong.h: Updated from GCC.
17460 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17462         [BZ #14042]
17463         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17464         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17465         __mcount_internal.
17466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17467         (GLIBC_2.16): Likewise.
17469 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17471         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17473 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17476         (default-abi): New variable.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17478         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17479         variable.
17480         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17481         Likewise.
17482         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17483         Likewise.
17484         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17485         Likewise.
17487         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17488         definition.  Document in comment.
17490 2012-06-01  David S. Miller  <davem@davemloft.net>
17492         * stdlib/longlong.h: Updated from GCC.
17494 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17496         [BZ #14117]
17497         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17498         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17499         sys/debugreg.h sys/io.h here.
17500         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17501         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17502         sys/io.h.
17503         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17504         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17505         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17506         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17507         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17508         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17510         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17511         Define only if __x86_64__ is defined.
17513 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17515         [BZ #14048]
17516         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17517         Use int64_t for variable i.
17518         * math/libm-test.inc (fmod_test): Add more tests.
17520         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17521         z computation is not scheduled after fetestexcept.
17522         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17523         Use math_force_eval instead of asm to ensure calculation scheduled
17524         before exception test.
17525         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17526         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17528 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17531         computation is not scheduled after fetestexcept.
17533 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17535         [BZ #14117]
17536         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17537         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17539 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17541         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17542         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17544 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17546         [BZ #14117]
17547         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17548         <bits/wordsize.h>.
17549         (__WCHAR_MIN): Support __WORDSIZE == 64.
17550         (__WCHAR_MAX): Likewise.
17552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17553         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17555         [BZ #14183]
17556         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17557         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17559         [BZ #14117]
17560         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17561         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17563         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17564         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17566         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17567         Defined to 1 if __x86_64__ isn't defined.
17568         (_STAT_VER_LINUX_OLD): New.
17569         (st_atime): Remove duplicate.
17570         (st_mtime): Likewise.
17571         (st_ctime): Likewise.
17573 2012-05-31  David S. Miller  <davem@davemloft.net>
17575         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17576         entries.
17578 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17580         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17581         gen-libm-test.pl.
17583         [BZ #14132]
17584         * elf/dl-reloc.c: Include <_itoa.h>.
17585         (_dl_reloc_bad_type): Remove use of INTUSE.
17586         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17587         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17588         * stdio-common/psiginfo.c (psiginfo): Likewise.
17589         * stdio-common/psignal.c (psignal): Likewise.
17590         * string/strsignal.c (strsignal): Likewise.
17591         * include/signal.h (_sys_siglist): Declare hidden proto.
17592         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17593         INTVARDEF with libc_hidden_data_def.
17594         * stdio-common/itoa-udigits.c: Likewise.
17595         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17596         (_itoa_lower_digits_internal): Remove declaration.
17597         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17598         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17599         (_sys_sigabbrev_internal): Remove aliases.
17600         (_sys_siglist): Define hidden alias.
17602 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17605         bits/sysctl.h.
17607 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17609         [BZ #14117]
17610         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17611         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17613         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17614         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17615         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17616         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17618         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17620         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17621         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17622         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17624         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17625         with __addr.
17626         (insw): Likewise.
17627         (insl): Likewise.
17628         (outsb): Likewise.
17629         (outsw): Likewise.
17630         (outsl): Likewise.
17632         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17633         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17634         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17636         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17637         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17638         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17639         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17640         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17641         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17643         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17644         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17646         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17647         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17650         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17651         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17653         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17654         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17655         to ...
17656         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17658         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17659         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17660         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17662         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17663         for x86-64.
17664         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17666 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17668         * math/math.h (M_El): Use two more decimal places.
17669         (M_LOG2El): Likewise.
17670         (M_LOG10El): Likewise.
17671         (M_LN2l): Likewise.
17672         (M_LN10l): Likewise.
17673         (M_PIl): Likewise.
17674         (M_PI_2l): Likewise.
17675         (M_PI_4l): Likewise.
17676         (M_1_PIl): Likewise.
17677         (M_2_PIl): Likewise.
17678         (M_2_SQRTPIl): Likewise.
17679         (M_SQRT2l): Likewise.
17680         (M_SQRT1_2l): Likewise.
17682 2012-05-31  David S. Miller  <davem@davemloft.net>
17684         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17685         values between float registers.
17686         * sysdeps/sparc/sparc64/memset.S: Likewise.
17687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17689 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17691         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17692         -D_FORTIFY_SOURCE=1.
17693         (CPPFLAGS-tst-longjmp_chk.c): Define.
17694         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17695         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17696         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17697         CFLAGS-tst-wchar-h.c.
17699 2012-05-31  Marek Polacek  <polacek@redhat.com>
17701         [BZ #14132]
17702         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17703         __endmntent_internal): Remove declaration.
17704         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17705         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17706         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17708 2012-05-30  David S. Miller  <davem@davemloft.net>
17710         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17711         (___Q_simulate_exceptions): Use real FP ops rather than writing
17712         into the %fsr.
17713         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17714         Likewise.
17716 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17718         [BZ #14117]
17719         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17720         * sysdeps/x86/bits/xtitypes.h: This.
17722         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17723         * sysdeps/x86/bits/wordsize.h: This.
17725         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17726         * sysdeps/x86/bits/huge_vall.h: This.
17728         * sysdeps/i386/bits/select.h: Removed.
17729         * sysdeps/x86_64/bits/select.h: Renamed to ...
17730         * sysdeps/x86/bits/select.h: This.
17732         * sysdeps/i386/bits/setjmp.h: Removed.
17733         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17734         * sysdeps/x86/bits/setjmp.h: This.
17736         * sysdeps/i386/bits/mathdef.h: Removed.
17737         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17738         * sysdeps/x86/bits/mathdef.h: This.
17740 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17742         [BZ #14132]
17743         * include/sys/socket.h (__connect_internal)
17744         (__libc_sa_len_internal): Remove declaration.
17745         (__connect, __libc_sa_len): Declare hidden_proto.
17746         (SA_LEN): Remove use of INTUSE.
17747         * socket/connect.c: Add libc_hidden_def.
17748         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17749         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17750         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17751         alias.
17752         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17753         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17754         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17755         of adding _internal alias.
17757 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17759         [BZ #14117]
17760         * sysdeps/i386/bits/link.h: Removed.
17761         * sysdeps/i386/bits/linkmap.h: Likewise.
17762         * sysdeps/x86_64/bits/link.h: Renamed to ...
17763         * sysdeps/x86/bits/link.h: This.
17764         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17765         * sysdeps/x86/bits/linkmap.h: This.
17767         * sysdeps/i386/bits/endian.h: Removed.
17768         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17769         * sysdeps/x86/bits/endian.h: This.
17771         * sysdeps/i386/bits/byteswap.h: Removed.
17772         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17773         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17774         * sysdeps/x86/bits/byteswap.h: This.
17775         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17776         * sysdeps/x86/bits/byteswap-16.h: This.
17777         * sysdeps/i386/Implies: Add x86.
17778         * sysdeps/x86_64/Implies: Likewise.
17780 2012-05-30  David S. Miller  <davem@davemloft.net>
17782         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17783         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17784         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17785         (FP_TRAPPING_EXCEPTIONS): Define.
17786         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17787         (FP_TRAPPING_EXCEPTIONS): Define.
17788         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17789         subnormals only when inexact has been signalled or underflow
17790         exceptions are enabled.
17791         (_FP_PACK_CANONICAL): Likewise.
17793 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17795         [BZ #14183]
17796         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17797         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17799 2012-05-30  Richard Henderson  <rth@twiddle.net>
17801         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17802         with #ifndef NOT_IN_libc.
17804         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17805         marked to avoid plt entry.
17807 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17809         [BZ #14112]
17810         * Makeconfig (default-abi): New macro.
17811         (abi-includes): Likewise.
17812         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17813         $(abi-$(default-abi)-lib-soname) for soname if defined.
17814         ($(common-objpfx)gnu/lib-names.stmp): Generate from
17815         abi-variants.
17816         * Makefile (installed-stubs): Likewise.
17817         * include/stubs-biarch.h: Removed.
17818         * scripts/lib-names.awk: Only handle one library at a time.
17819         * scripts/soversions.awk: Remove WORDSIZE support.
17820         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17821         entries.
17822         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17823         Removed.
17824         (syscall-list-default-condition): Likewise.
17825         (syscall-list-default-condition): Likewise.
17826         (syscall-list-includes): Likewise.
17827         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17828         syscall-list-* with abi-*.  Handle undefined abi-variants.
17829         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17830         * sysdeps/unix/sysv/linux/i386/Implies: New file.
17831         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17832         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17833         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17834         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17835         Removed.
17836         (syscall-list-32-options): Likewise.
17837         (syscall-list-32-condition): Likewise.
17838         (syscall-list-64-options): Likewise.
17839         (syscall-list-64-condition): Likewise.
17840         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17841         macro.
17842         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17843         Renamed to ...
17844         (abi-*): This.
17845         (abi-64-ld-soname): New macro.
17846         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17847         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17848         Renamed to ...
17849         (abi-*): This.
17850         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17851         * sysdeps/x86_64/x32/shlib-versions: Likewise.
17853 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
17855         * sysdeps/unix/sysv/linux/kernel-features.h
17856         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17857         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17858         include <kernel-features.h>.
17859         [!__NR_ftruncate64]: Remove conditional code.
17860         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17861         [__NR_ftruncate64]: Make code unconditional.
17862         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17863         * sysdeps/unix/sysv/linux/truncate64.c: Do not
17864         include <kernel-features.h>.
17865         [!__NR_ftruncate64]: Remove conditional code.
17866         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17867         [__NR_ftruncate64]: Make code unconditional.
17868         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17870         include <kernel-features.h>.
17871         [!__NR_ftruncate64]: Remove conditional code.
17872         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17873         [__NR_ftruncate64]: Make code unconditional.
17874         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17876         include <kernel-features.h>.
17877         [!__NR_ftruncate64]: Remove conditional code.
17878         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17879         [__NR_ftruncate64]: Make code unconditional.
17880         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17882         * configure.in (libc_cv_fpie): Weaken to a compile test using
17883         LIBC_TRY_CC_OPTION.
17884         * configure: Regenerated.
17886 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17892         Refreshed.
17893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17899         Refreshed.
17901 2012-05-27  David S. Miller  <davem@davemloft.net>
17903         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17904         (___Q_zero): New.
17905         (__Q_simulate_exceptions): Return void.  Change to simulate
17906         exceptions by writing into the %fsr.
17907         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17908         (__Qp_handle_exceptions): Likewise.
17909         (numbers): Delete.
17910         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17911         __Qp_handle_exceptions.
17912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17913         __Qp_handle_exceptions.
17914         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17915         as unused and give dummy FP_RND_NEAREST initializer.
17916         (FP_INHIBIT_RESULTS): Define.
17917         (___Q_simulate_exceptions): Update declaration.
17918         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17919         formatting.
17920         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17921         as unused and give dummy FP_RND_NEAREST initializer.
17922         (__Qp_handle_exceptions): Update declaration.
17923         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17924         formatting.
17926 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17928         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17929         the temporary FPU control word.
17930         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17931         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17932         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17933         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17934         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17935         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17936         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17937         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17938         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17939         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17940         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17942 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17944         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17945         fields.
17947 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17949         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17950         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17951         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17952         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17953         Likewise.
17954         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17955         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17956         Likewise.
17958 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17960         * po/h.po: Update from translation team.
17962 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17964         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17966         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17967         handling of denormals.
17968         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17969         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17970         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17971         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17974         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17975         Likewise.
17977 2012-05-26  Marek Polacek  <polacek@redhat.com>
17979         [BZ #14152]
17980         * math/libm-test.inc (fma_test): Don't always expect underflow
17981         exception.
17983 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17985         [BZ #12416]
17986         * elf/tst-execstack.c: Include stackinfo.h.
17987         (do_test): Adjust test case to ensure that pthread_getattr_np
17988         behaviour remains the same after marking stack executable.
17990 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17992         * sysdeps/unix/sysv/linux/kernel-features.h
17993         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17994         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17995         kernel-features.h.
17996         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17997         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17998         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17999         kernel-features.h.
18000         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18001         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18003 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18005         * configure.in: Define the default includes to being none.
18006         * configure: Regenerated.
18008 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18010         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18011         * sysdeps/x86_64/setjmp.S: Likewise.
18012         * sysdeps/i386/bsd-setjmp.S: Likewise.
18013         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18014         * sysdeps/i386/setjmp.S: Likewise.
18015         * sysdeps/i386/__longjmp.S: Likewise.
18016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18017         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18019         * include/stap-probe.h: New file.
18020         * configure.in: Handle --enable-systemtap.
18021         * configure: Regenerated.
18022         * config.h.in (USE_STAP_PROBE): New #undef.
18023         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18024         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18025         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18027 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18029         [BZ #13717]
18030         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18031         to 2.4.0 where earlier.
18032         * sysdeps/unix/sysv/linux/configure: Regenerated.
18033         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18034         <kernel-features.h>.
18035         [__ASSUME_32BITUIDS]: Make code unconditional.
18036         [!__ASSUME_32BITUIDS]: Remove conditional code.
18037         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18038         <kernel-features.h>.
18039         [__ASSUME_32BITUIDS]: Make code unconditional.
18040         [!__ASSUME_32BITUIDS]: Remove conditional code.
18041         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18042         [__ASSUME_32BITUIDS]: Make code unconditional.
18043         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18044         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18045         <kernel-features.h>.
18046         [__ASSUME_32BITUIDS]: Make code unconditional.
18047         [!__ASSUME_32BITUIDS]: Remove conditional code.
18048         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18049         <kernel-features.h>.
18050         [__ASSUME_32BITUIDS]: Make code unconditional.
18051         [!__ASSUME_32BITUIDS]: Remove conditional code.
18052         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18053         <kernel-features.h>.
18054         [__ASSUME_32BITUIDS]: Make code unconditional.
18055         [!__ASSUME_32BITUIDS]: Remove conditional code.
18056         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18057         <kernel-features.h>.
18058         [__ASSUME_32BITUIDS]: Make code unconditional.
18059         [!__ASSUME_32BITUIDS]: Remove conditional code.
18060         * sysdeps/unix/sysv/linux/i386/getresgid.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/i386/getresuid.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/i386/getuid.c: Do not include
18069         <kernel-features.h>.
18070         [__ASSUME_32BITUIDS]: Make code unconditional.
18071         [!__ASSUME_32BITUIDS]: Remove conditional code.
18072         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18073         <kernel-features.h>.
18074         [__ASSUME_32BITUIDS]: Make code unconditional.
18075         [!__ASSUME_32BITUIDS]: Remove conditional code.
18076         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18077         <kernel-features.h>.
18078         [__ASSUME_32BITUIDS]: Make code unconditional.
18079         [!__ASSUME_32BITUIDS]: Remove conditional code.
18080         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18081         <kernel-features.h>.
18082         [__ASSUME_32BITUIDS]: Make code unconditional.
18083         [!__ASSUME_32BITUIDS]: Remove conditional code.
18084         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18085         <kernel-features.h>.
18086         [__NR_setresgid] (__setresgid): Do not declare.
18087         [__ASSUME_32BITUIDS]: Make code unconditional.
18088         [!__ASSUME_32BITUIDS]: Remove conditional code.
18089         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18090         <kernel-features.h>.
18091         [__NR_setresuid] (__setresuid): Do not declare.
18092         [__ASSUME_32BITUIDS]: Make code unconditional.
18093         [!__ASSUME_32BITUIDS]: Remove conditional code.
18094         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18095         <kernel-features.h>.
18096         [__ASSUME_32BITUIDS]: Make code unconditional.
18097         [!__ASSUME_32BITUIDS]: Remove conditional code.
18098         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18099         <kernel-features.h>.
18100         [__ASSUME_32BITUIDS]: Make code unconditional.
18101         [!__ASSUME_32BITUIDS]: Remove conditional code.
18102         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18103         <kernel-features.h>.
18104         [__ASSUME_32BITUIDS]: Make code unconditional.
18105         [!__ASSUME_32BITUIDS]: Remove conditional code.
18106         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18107         <kernel-features.h>.
18108         [__ASSUME_32BITUIDS]: Make code unconditional.
18109         [!__ASSUME_32BITUIDS]: Remove conditional code.
18110         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18111         <kernel-features.h>.
18112         [__ASSUME_32BITUIDS]: Make code unconditional.
18113         [!__ASSUME_32BITUIDS]: Remove conditional code.
18114         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18115         <kernel-features.h>.
18116         [__ASSUME_32BITUIDS]: Make code unconditional.
18117         [!__ASSUME_32BITUIDS]: Remove conditional code.
18118         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18119         <kernel-features.h>.
18120         [__ASSUME_32BITUIDS]: Make code unconditional.
18121         [!__ASSUME_32BITUIDS]: Remove conditional code.
18122         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18123         <kernel-features.h>.
18124         [__ASSUME_32BITUIDS]: Make code unconditional.
18125         [!__ASSUME_32BITUIDS]: Remove conditional code.
18126         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18127         <kernel-features.h>.
18128         [__ASSUME_32BITUIDS]: Make code unconditional.
18129         [!__ASSUME_32BITUIDS]: Remove conditional code.
18130         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18131         <kernel-features.h>.
18132         [__ASSUME_32BITUIDS]: Make code unconditional.
18133         [!__ASSUME_32BITUIDS]: Remove conditional code.
18134         * sysdeps/unix/sysv/linux/kernel-features.h
18135         (__ASSUME_SETRESUID_SYSCALL): Remove.
18136         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18137         (__ASSUME_32BITUIDS): Likewise.
18138         (__ASSUME_LDT_WORKS): Likewise.
18139         (__ASSUME_O_DIRECTORY): Likewise.
18140         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18141         architecture but not kernel version.
18142         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18143         (__ASSUME_MMAP2_SYSCALL): Likewise.
18144         (__ASSUME_STAT64_SYSCALL): Likewise.
18145         (__ASSUME_IPC64): Likewise.
18146         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18147         <kernel-features.h>.
18148         [__ASSUME_32BITUIDS]: Make code unconditional.
18149         [!__ASSUME_32BITUIDS]: Remove conditional code.
18150         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18151         <kernel-features.h>.
18152         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18153         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18154         132096]: Remove conditional code.
18155         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18156         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18157         <kernel-features.h>.
18158         [__ASSUME_32BITUIDS]: Make code unconditional.
18159         [!__ASSUME_32BITUIDS]: Remove conditional code.
18160         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18161         <kernel-features.h>.
18162         [__ASSUME_32BITUIDS]: Make code unconditional.
18163         [!__ASSUME_32BITUIDS]: Remove conditional code.
18164         * sysdeps/unix/sysv/linux/setegid.c: Do not include
18165         <kernel-features.h>.
18166         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18167         unconditional.
18168         (__setresgid): Do not declare.
18169         [__ASSUME_32BITUIDS]: Make code unconditional.
18170         [!__ASSUME_32BITUIDS]: Remove conditional code.
18171         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18172         <kernel-features.h>.
18173         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18174         unconditional.
18175         (__setresuid): Do not declare.
18176         [__ASSUME_32BITUIDS]: Make code unconditional.
18177         [!__ASSUME_32BITUIDS]: Remove conditional code.
18178         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18179         <kernel-features.h>.
18180         [__ASSUME_32BITUIDS]: Make code unconditional.
18181         [!__ASSUME_32BITUIDS]: Remove conditional code.
18182         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18183         <kernel-features.h>.
18184         [__ASSUME_32BITUIDS]: Make code unconditional.
18185         [!__ASSUME_32BITUIDS]: Remove conditional code.
18187 2012-05-25  Richard Henderson  <rth@twiddle.net>
18189         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18190         dl_hwcap to ifunc resolver.
18191         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18192         elf_ifunc_invoke.
18193         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18194         dl_hwcap to ifunc resolver.
18195         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18197 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18199         [BZ #14153]
18200         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18201         for |x| <= 2**-26, not 2**-57.
18202         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18203         exception.
18205 2012-05-24  Jeff Law  <law@redhat.com>
18207         * stdio-common/Makefile (tests): Add bug25.
18208         * stdio-common/bug25.c: New test.
18210 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18212         [BZ #13576]
18213         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18214         multiple of MALLOC_ALIGNMENT in size.
18215         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18217 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18219         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18220         Require >= 256.
18221         (FILENAME_MAX): Use macro-int-constant.
18222         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
18223         (_IOFBF): Use macro-int-constant.
18224         (_IOLBF): Likewise.
18225         (_IONBF): Likewise.
18226         (SEEK_CUR): Likewise.
18227         (SEEK_END): Likewise.
18228         (SEEK_SET): Likewise.
18229         (TMP_MAX): Likewise.
18230         (EOF): Use macro-int-constant.  Require < 0.
18231         (NULL): Use macro-constant.  Require == 0.
18232         (stdin): Require type to be FILE *.
18233         (stdout): Likewise.
18234         (stderr): Likewise.
18235         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18236         macro-int-constant.
18237         (EXIT_SUCCESS): Likewise.
18238         (NULL): Use macro-constant.  Require == 0.
18239         (RAND_MAX): Use macro-int-constant.
18240         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18241         [C99-based standards] (strtof): Require function.
18242         [C99-based standards] (strtold): Likewise.
18243         [C99-based standards] (strtoll): Likewise.
18244         [C99-based standards] (strtoull): Likewise.
18245         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18246         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18247         [ISO || ISO99 || ISO11] (math.h): Likewise.
18248         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18249         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18252 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18254         [BZ #14132]
18255         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18256         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18257         * intl/dgettext.c (DCGETTEXT): Likewise.
18258         * intl/gettext.c (DCGETTEXT): Likewise.
18259         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18260         * posix/regex_internal.h (gettext): Likewise.
18261         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18262         Remove declaration.
18263         * include/argz.h (__argz_count_internal)
18264         (__argz_stringify_internal): Remove declaration.
18265         (__argz_count, __argz_stringify): Declare hidden proto.
18266         * intl/dcgettext.c: Remove use of INTDEF.
18267         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18268         * string/argz-stringify.c: Likewise.
18269         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18270         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18271         Declare hidden proto.
18272         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18273         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18274         Declare hidden proto.
18275         * include/stdio.h (__asprintf_internal): Don't declare.
18276         (__asprintf): Don't define as macro.  Declare hidden proto.
18277         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18278         (__fsetlocking): Declare hidden proto.
18279         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18280         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18281         hidden proto.
18282         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18283         (_IO_setlinebuf): Remove use of INTUSE.
18284         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18285         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18286         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18287         Remove declaration.
18288         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18289         (_IO_do_flush): Remove use of INTUSE.
18290         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18291         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18292         (_IO_adjust_column, _IO_least_wmarker)
18293         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18294         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18295         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18296         (_IO_default_doallocate, _IO_wdefault_doallocate)
18297         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18298         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18299         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18300         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18301         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18302         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18303         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18304         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18305         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18306         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18307         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18308         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18309         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18310         proto.
18311         (_IO_flush_all_internal, _IO_adjust_column_internal)
18312         (_IO_default_uflow_internal, _IO_default_finish_internal)
18313         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18314         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18315         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18316         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18317         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18318         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18319         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18320         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18321         (_IO_file_close_internal, _IO_file_close_it_internal)
18322         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18323         (_IO_file_init_internal, _IO_file_attach_internal)
18324         (_IO_file_fopen_internal, _IO_file_read_internal)
18325         (_IO_file_sync_internal, _IO_file_seek_internal)
18326         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18327         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18328         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18329         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18330         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18331         (_IO_list_all_internal, _IO_link_in_internal)
18332         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18333         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18334         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18335         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18336         (_IO_do_write_internal, _IO_padn_internal)
18337         (_IO_getline_info_internal, _IO_getline_internal)
18338         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18339         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18340         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18341         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18342         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18343         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18344         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18345         with libc_hidden_ver, remove use of INTUSE.
18346         * libio/genops.c: Likewise.
18347         * libio/freopen.c: Likewise.
18348         * libio/freopen64.c: Likewise.
18349         * libio/iofclose.c: Likewise.
18350         * libio/iofdopen.c: Likewise.
18351         * libio/iofflush.c: Likewise.
18352         * libio/iofflush_u.c: Likewise.
18353         * libio/iofgets.c: Likewise.
18354         * libio/iofgets_u.c: Likewise.
18355         * libio/iofopen.c: Likewise.
18356         * libio/iofopncook.c: Likewise.
18357         * libio/iofread.c: Likewise.
18358         * libio/iofread_u.c: Likewise.
18359         * libio/ioftell.c: Likewise.
18360         * libio/iofwrite.c: Likewise.
18361         * libio/iogetline.c: Likewise.
18362         * libio/iogets.c: Likewise.
18363         * libio/iogetwline.c: Likewise.
18364         * libio/iopadn.c: Likewise.
18365         * libio/iopopen.c: Likewise.
18366         * libio/ioseekoff.c: Likewise.
18367         * libio/ioseekpos.c: Likewise.
18368         * libio/iosetbuffer.c: Likewise.
18369         * libio/iosetvbuf.c: Likewise.
18370         * libio/ioungetc.c: Likewise.
18371         * libio/ioungetwc.c: Likewise.
18372         * libio/iovdprintf.c: Likewise.
18373         * libio/iovsprintf.c: Likewise.
18374         * libio/iovsscanf.c: Likewise.
18375         * libio/memstream.c: Likewise.
18376         * libio/obprintf.c: Likewise.
18377         * libio/oldfileops.c: Likewise.
18378         * libio/oldiofclose.c: Likewise.
18379         * libio/oldiofdopen.c: Likewise.
18380         * libio/oldiofopen.c: Likewise.
18381         * libio/oldiopopen.c: Likewise.
18382         * libio/oldstdfiles.c: Likewise.
18383         * libio/putc.c: Likewise.
18384         * libio/setbuf.c: Likewise.
18385         * libio/setlinebuf.c: Likewise.
18386         * libio/stdfiles.c: Likewise.
18387         * libio/strops.c: Likewise.
18388         * libio/vasprintf.c: Likewise.
18389         * libio/vscanf.c: Likewise.
18390         * libio/vsnprintf.c: Likewise.
18391         * libio/vswprintf.c: Likewise.
18392         * libio/wfiledoalloc.c: Likewise.
18393         * libio/wfileops.c: Likewise.
18394         * libio/wgenops.c: Likewise.
18395         * libio/wmemstream.c: Likewise.
18396         * libio/wstrops.c: Likewise.
18397         * libio/__fpurge.c: Likewise.
18398         * libio/__fsetlocking.c: Likewise.
18399         * assert/assert.c: Likewise.
18400         * debug/fgets_chk.c: Likewise.
18401         * debug/fgets_u_chk.c: Likewise.
18402         * debug/fread_chk.c: Likewise.
18403         * debug/fread_u_chk.c: Likewise.
18404         * debug/gets_chk.c: Likewise.
18405         * debug/obprintf_chk.c: Likewise.
18406         * debug/vasprintf_chk.c: Likewise.
18407         * debug/vdprintf_chk.c: Likewise.
18408         * debug/vsnprintf_chk.c: Likewise.
18409         * debug/vsprintf_chk.c: Likewise.
18410         * malloc/mtrace.c: Likewise.
18411         * misc/error.c: Likewise.
18412         * misc/syslog.c: Likewise.
18413         * stdio-common/asprintf.c: Likewise.
18414         * stdio-common/fxprintf.c: Likewise.
18415         * stdio-common/getw.c: Likewise.
18416         * stdio-common/isoc99_fscanf.c: Likewise.
18417         * stdio-common/isoc99_scanf.c: Likewise.
18418         * stdio-common/isoc99_vfscanf.c: Likewise.
18419         * stdio-common/isoc99_vscanf.c: Likewise.
18420         * stdio-common/isoc99_vsscanf.c: Likewise.
18421         * stdio-common/printf-prs.c: Likewise.
18422         * stdio-common/printf_fp.c: Likewise.
18423         * stdio-common/printf_fphex.c: Likewise.
18424         * stdio-common/printf_size.c: Likewise.
18425         * stdio-common/putw.c: Likewise.
18426         * stdio-common/scanf.c: Likewise.
18427         * stdio-common/sprintf.c: Likewise.
18428         * stdio-common/tmpfile.c: Likewise.
18429         * stdio-common/vfprintf.c: Likewise.
18430         * stdio-common/vfscanf.c: Likewise.
18431         * stdlib/strfmon_l.c: Likewise.
18432         * sunrpc/openchild.c: Likewise.
18433         * sunrpc/xdr_stdio.c: Likewise.
18434         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18435         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18437 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18439         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18441         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18442         in the third column, to generate for the shared library an IFUNC
18443         that uses _dl_vdso_vsym.
18444         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18445         * Makeconfig (object-suffixes-noshared): New variable.
18447         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18448         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18449         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18450         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18452         [BZ #14132]
18453         * include/sys/time.h (__gettimeofday): Remove macro.
18454         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18455         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18456         Remove INTDEF.
18457         (__gettimeofday): Add libc_hidden_def.
18458         (gettimeofday): Add libc_hidden_weak.
18459         * sysdeps/mach/gettimeofday.c: Likewise.
18460         * sysdeps/posix/gettimeofday.c: Likewise.
18461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18462         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18464         (__gettimeofday_internal): Remove strong_alias.
18465         (__gettimeofday): Add libc_hidden_def.
18466         (gettimeofday): Add libc_hidden_weak.
18467         * sysdeps/unix/syscalls.list (gettimeofday):
18468         Remove __gettimeofday_internal alias.
18470 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18471             H.J. Lu  <hongjiu.lu@intel.com>
18473         [BZ #12495]
18474         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18475         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18476         (largebin_index_32_big): New.
18477         (largebin_index): Use it for 16-byte alignment.
18478         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18479         correction with front_misalign.
18481 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18485         Likewise.
18486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18487         Likewise.
18488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18489         Likewise.
18490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18491         Likewise.
18492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18493         Likewise.
18494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18495         Likewise.
18496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18497         Likewise.
18498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18501         Likewise.
18502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18503         Likewise.
18504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18505         Likewise.
18506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18507         Likewise.
18509         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18510         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18512 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18514         [BZ #10846]
18515         [BZ #14036]
18516         * math/libm-test.inc (exp_test): Add test from bug 14036.
18517         (pow_test): Add test from bug 10846.
18519         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18520         and other flags.
18521         (special_function): Do not include flags in test name.
18522         (parse_args): Likewise.
18523         * sysdeps/i386/fpu/libm-test-ulps: Update.
18524         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18525         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18526         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18529         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18530         exceptions.
18531         * math/libm-test.inc ("Philosophy"): Update comment about
18532         exception testing.
18533         (UNDERFLOW_EXCEPTION): New macro.
18534         (UNDERFLOW_EXCEPTION_OK): Likewise.
18535         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18536         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18537         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18538         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18539         (INVALID_EXCEPTION_OK): Update value.
18540         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18541         (OVERFLOW_EXCEPTION_OK): Likewise.
18542         (IGNORE_ZERO_INF_SIGN): Likewise.
18543         (test_exceptions): Handle underflow exceptions.
18544         (acos_test): Update for underflow exception expectations.
18545         (cexp_test): Likewise.
18546         (clog_test): Likewise.
18547         (clog10_test): Likewise.
18548         (csqrt_test): Likewise.
18549         (ctan_test): Likewise.
18550         (ctanh_test): Likewise.
18551         (exp_test): Likewise.
18552         (exp10_test): Likewise.
18553         (exp2_test): Likewise.
18554         (expm1_test): Likewise.
18555         (fma_test): Likewise.
18556         (j0_test): Likewise.
18557         (jn_test): Likewise.
18558         (nexttoward_test): Likewise.
18559         (pow_test): Likewise.
18560         (scalbn_test): Likewise.
18561         (scalbln_test): Likewise.
18562         (tan_test): Likewise.
18563         (y1_test): Likewise.
18564         * sysdeps/i386/fpu/libm-test-ulps: Update.
18565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18567 2012-05-23  David S. Miller  <davem@davemloft.net>
18569         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18570         (__libc_sigaction): Remove unused local variables.
18572 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18574         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18576 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18578         mktime: avoid signed integer overflow
18579         * time/mktime.c (__mktime_internal): Do not mishandle the case
18580         where diff == INT_MIN.
18582         mktime: simplify computation of average
18583         * time/mktime.c (ranged_convert): Use new time_t_avg function
18584         instead of rolling our own (probably-slower) code.
18586         mktime: do not assume signed right shift propagates sign bit
18587         * time/mktime.c (isdst_differ): New static function.
18588         (__mktime_internal): No need to normalize tm_isdst now.
18589         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18590         tm_isdst values.
18592         mktime: merge another wrapv change from gnulib
18593         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18594         from some compilers.
18596         mktime: remove incorrect attempt at unusual arithmetics
18597         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18598         The code didn't really work on such machines anyway.
18599         (TYPE_MINIMUM): Assume two's complement.
18600         (twos_complement_arithmetic): Verify that long_int and time_t
18601         are two's complement (or unsigned, in the latter case).
18603         mktime: check signed shifts on long_int and time_t, too
18604         * time/mktime.c (SHR): Check that shifts work as desired
18605         on the types long_int and time_t too, as SHR is used on
18606         such types.
18608         mktime: do not assume 'long' is wide enough
18609         * time/mktime.c (verify): Move decl up.
18610         (long_int): New type.
18611         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18612         to remove assumption in the code that 'long' is wide enough to
18613         store year values.  This assumption is not true on x32 and on
18614         some non-glibc platforms.
18616         mktime: merge wrapv change from gnulib
18617         * time/mktime.c (WRAPV): New macro.
18618         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18619         (guess_time_tm, __mktime_internal): Do not assume that signed
18620         integer overflow wraps around; modern compilers generate code
18621         where this assumption is no longer valid.
18623 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18625         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18626         Replace "jmp L(pseudo_end)" with "ret".
18627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18628         Likewise.
18630 2012-05-23  Andreas Jaeger  <aj@suse.de>
18632         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18633         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18635 2012-05-23  Andreas Jaeger  <aj@suse.de>
18636             Maximilian Attems  <max@stro.at>
18638         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18639         New macros.
18641 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18643         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18644         code so that pseudo_end is just ret and the stack pointer is
18645         correct also for static library in error case.
18647 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18649         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18650         move to syscalls.list.
18651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18656         * manual/install.texi (Running make install): Do not mention Linux
18657         kernel version for which pt_chown is not needed.
18658         (Linux): Do not mention problems with nscd with 2.0 kernels.
18659         * INSTALL: Regenerated.
18661 2012-05-23  Andreas Jaeger  <aj@suse.de>
18663         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18664         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18665         macro.
18666         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18667         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18668         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18669         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18670         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18671         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18672         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18673         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18674         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18675         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18676         * sysdeps/unix/sysv/linux/bits/in.h
18677         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18679 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18681         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18682         (PREPARE_VERSION): Just use assert instead, it will be elided
18683         under [NDEBUG] anyway.
18685 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18687         * sysdeps/unix/sysv/linux/Makefile: Include
18688         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18689         (sysdep_routines): Remove sysctl.
18690         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18691         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18692         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18693         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18694         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18696 2012-05-22  Andreas Jaeger  <aj@suse.de>
18698         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18699         that pseudo_end is just ret and the stack pointer is correct also
18700         for static library in error case.
18702 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18704         [BZ #14122]
18705         * nss/nsswitch.c (defconfig_entries): New variable.
18706         (__nss_database_lookup): Don't leak defconfig entries.
18707         (nss_parse_service_list): Don't leak on error paths.
18708         (free_database_entries): New function.
18709         (free_defconfig): New function.
18710         (free_mem): Move common code to free_database_entries.
18712 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18714         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18715         Add arch_prctl.
18716         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18718         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18719         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18721         New macro.
18722         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18723         (INTERNAL_SYSCALL_TYPES): Likewise.
18724         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18725         (LOAD_REGS_TYPES_[1-6]): Likewise.
18726         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18727         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18729 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18731         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18732         copysignl for GLIBC_2_0.
18733         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18734         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18736         logbl for GLIBC_2_0.
18737         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18738         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18740 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18743         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18745         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18746         Use "neg %eax".
18748         * time/mktime.c: Update copyright years.
18750 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18752         mktime: merge comment-quoting-style change from gnulib
18753         * time/mktime.c: Quote 'like this' in comments.
18754         The GNU coding standards suggest that we no longer quote `like this',
18755         as "`" and "'" are typically rendered asymmetrically nowadays.
18756         The typical gnulib style is to quote 'like this' when quoting
18757         code, and "like this" when quoting English.
18759         * time/mktime.c (compile-command): Add "-I.".
18761         mktime: merge mktime-internal.h change from gnulib
18762         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18764         mktime: merge time_r change from gnulib
18765         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18767         mktime: merge DEBUG change from gnulib
18768         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18769         case system <time.h> has a #define.
18771         mktime: merge <sys/types.h> change from gnulib
18772         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18773         since <time.t> is now guaranteed to define time_t.
18775         mktime: merge HAVE_CONFIG_H change from gnulib
18776         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18778 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18780         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18781         Use "neg %eax".
18783         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18784         __rlim_t cast.
18785         (struct rusage): Use anonymous union to pad each field to
18786         __syscall_slong_t.
18788 2012-05-21  David S. Miller  <davem@davemloft.net>
18790         * Makefules (o-iterator): Remove .s cases.
18791         (compile-command.s): Delete.
18792         (COMPILE.s): Delete.
18793         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18795 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18797         * configure.in (libc_cv_predef_stack_protector): Only consider
18798         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18799         * configure: Regenerated.
18801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18804         New macro.  Use R*LP on int and pointer.
18805         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18806         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18807         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18808         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18810         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18811         [__WORDSIZE_TIME64_COMPAT32] instead of
18812         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18813         (struct utmp): Likewise.
18814         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18815         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18816         Renamed to ...
18817         (__WORDSIZE_TIME64_COMPAT32): This.
18818         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18819         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18820         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18821         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18822         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18823         (__WORDSIZE_TIME64_COMPAT32): New macro.
18825 2012-05-21  Andreas Jaeger  <aj@suse.de>
18827         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18828         only if [SHARED]. Add prototype for __wcschr_ia32.
18830 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18832         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18833         of %rbp unmolested in the jmp_buf while mangling the low bits.
18834         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18835         unmolested high bits of %rbp while demangling the low bits.
18836         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18838 2012-05-21  Andreas Jaeger  <aj@suse.de>
18840         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18841         * sunrpc/svc_simple.c: Use it for registerrpc.
18842         * sunrpc/xcrypt.c: Use it for passwd2des.
18844         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18846 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18848         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18849         Don't define if [__SYSCALL_WORDSIZE != 32].
18850         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18851         New macro.
18853 2012-05-21  Bruno Haible  <bruno@clisp.org>
18854             Andreas Jaeger  <aj@suse.de>
18856         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18857         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18858         inptr and inend for must_buffer_ch.
18859         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18860         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18861         * stdio-common/Makefile (tests): Remove bug15.
18862         (bug15-ENV): Remove macro.
18863         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18864         anymore.
18866 2012-05-19  Andreas Jaeger  <aj@suse.de>
18867             Roland McGrath  <roland@hack.frob.com>
18869         * manual/contrib.texi: Completely rewritten. It contains now an
18870         alphabetical list of contributors and their contributions.
18872 2012-05-21  Richard Henderson  <rth@twiddle.net>
18874         * misc/getauxval.c (__getauxval): Use unsigned long int.
18875         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18876         (getauxval): Use unsigned long int.
18878 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18880         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18882 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18884         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18885         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18886         __alignof__ (long double).
18888 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18892 2012-05-20  Richard Henderson  <rth@twiddle.net>
18894         * misc/getauxval.c: New file.
18895         * misc/sys/auxv.h: New file.
18896         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18897         (routines): Add getauxval.
18898         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18899         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18900         * elf/dl-sysdep.c (_dl_auxv): Remove.
18901         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18902         * elf/dl-support.c (_dl_auxv): New variable.
18903         (_dl_aux_init): Initialize it.
18904         * manual/startup.texi (Auxiliary Vector): New node.
18905         * sysdeps/generic/bits/hwcap.h: New file.
18906         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18907         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18908         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18909         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18910         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18911         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18913         Update.
18914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18923 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18927 2012-05-19  David S. Miller  <davem@davemloft.net>
18929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18931 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18933         [BZ #14123]
18934         * math/s_ccosh.c: Include <float.h>
18935         (__ccosh): Avoid internal overflow calculating sinh and cosh
18936         values before multiplying by sin and cos values.
18937         * math/s_ccoshf.c: Likewise.
18938         * math/s_ccoshl.c: Likewise.
18939         * math/s_csin.c: Likewise.
18940         * math/s_csinf.c: Likewise.
18941         * math/s_csinl.c: Likewise.
18942         * math/s_csinh.c: Likewise.
18943         * math/s_csinhf.c: Likewise.
18944         * math/s_csinhl.c: Likewise.
18945         * math/libm-test.inc (ccos_test): Add more tests.
18946         (ccosh_test): Likewise.
18947         (csin_test): Likewise.
18948         (csinh_test): Likewise.
18949         * sysdeps/i386/fpu/libm-test-ulps: Update.
18950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18952 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18954         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18955         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18957         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18959 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18961         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18962         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18963         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18964         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18965         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18966         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18967         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18968         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18969         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18970         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18971         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18972         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18973         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18974         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18975         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18976         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18977         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18978         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18979         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18980         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18981         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18982         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18983         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18984         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18985         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18986         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18987         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18988         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18989         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18990         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18991         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18993 2012-05-18  Andreas Jaeger  <aj@suse.de>
18995         * csu/.gitignore: Delete.
18997 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18999         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19000         (timex): Use __syscall_slong_t.
19002 2012-05-18  Andreas Jaeger  <aj@suse.de>
19003             Carlos O'Donell  <carlos_odonell@mentor.com>
19005         * manual/install.texi (Configuring and compiling): Update
19006         description about files modified in the source directory.
19007         * INSTALL: Regenerated.
19009 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19011         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19012         value.  Use "or" to set return value to -1.
19013         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19014         negate return value.
19016 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19018         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19019         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19020         failure if the compiler has Graphite support disabled.
19021         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19022         Likewise.
19023         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19024         CFLAGS-memmove.c): Likewise.
19025         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19026         Likewise.
19028 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19030         * sysdeps/x86_64/x32/_itoa.h: New file.
19032         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19033         getdents system call only if kernel and user dirents have the
19034         same d_ino and d_off.
19036         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19037         LLONG_MAX != LONG_MAX.
19038         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19039         (_fitoa_word): Likewise.
19041         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19042         years.
19043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19044         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19045         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19047         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19048         include <bits/wordsize.h>.  Check __x86_64__ instead of
19049         __WORDSIZE.
19050         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19051         if __x86_64__ is defined.  Use anonymous union on fpstate.
19053         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19054         anonymous union.
19056 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19058         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19059         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19060         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19061         Refer to _rtld_local_ro instead of _rtld_global_ro.
19062         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19063         Likewise.
19064         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19065         Likewise.
19066         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19067         Likewise.
19068         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19069         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19070         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19072         * sysdeps/powerpc/powerpc32/dl-machine.c
19073         (__elf_machine_runtime_setup) [PROF]: Don't reference
19074         _dl_prof_resolve.
19076 2012-05-18  Andreas Jaeger  <aj@suse.de>
19078         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19079         function only available for GCCs before 3.4 since GCC 3.4
19080         introduced a builtin.
19081         (lrint): Likewise.
19082         (llrintf): Likewise.
19083         (llrint): Likewise.
19084         (fmaxf): Likewise.
19085         (fmax): Likewise.
19086         (fminf): Likewise.
19087         (fmin): Likewise.
19088         (rint): Likewise.
19089         (rintf): Likewise.
19090         (nearbyint): Likewise.
19091         (nearbyintf): Likewise.
19092         (ceil): Likewise.
19093         (ceilf): Likewise.
19094         (floor): Likewise.
19095         (floorf): Likewise.
19097 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19099         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19100         on both fields and cast pointer to __syscall_ulong_t.
19102         * bits/types.h (__fsword_t): New type.
19103         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19104         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19106         (__FSWORD_T_TYPE): Likewise.
19107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19108         (__FSWORD_T_TYPE): Likewise.
19109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19110         (__FSWORD_T_TYPE): Likewise.
19111         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19112         (__FSWORD_T_TYPE): Likewise.
19113         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19114         __SWORD_TYPE with __fsword_t.
19115         (statfs64): Likewise.
19117 2012-05-17  David S. Miller  <davem@davemloft.net>
19119         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19121 2012-05-17  Andreas Jaeger  <aj@suse.de>
19123         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19124         warning.
19126 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19128         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19130 2012-05-17  Andreas Jaeger  <aj@suse.de>
19132         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19133         when it is used.
19135 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19137         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19139 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19141         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19142         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19144 2012-05-17  Andreas Jaeger  <aj@suse.de>
19145             Carlos O'Donell  <carlos_odonell@mentor.com>
19147         [BZ #14059]
19148         * sysdeps/x86_64/multiarch/init-arch.h
19149         (bit_YMM_Usable): Rename to...
19150         (bit_AVX_Usable): ... this.
19151         (bit_FMA4_Usable): New macro.
19152         (bit_XMM_state): New macro.
19153         (bit_YMM_state): New macro.
19154         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19155         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19156         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19157         (CPUID_OSXSAVE): New macro.
19158         (CPUID_AVX): New macro.
19159         (CPUID_FMA4): New macro.
19160         (index_YMM_Usable): Rename to...
19161         (index_AVX_Usable): ... this.
19162         (HAS_AVX): Use HAS_ARCH_FEATURE.
19163         (HAS_FMA4): Likewise.
19164         (HAS_YMM_USABLE): Remove.
19165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19166         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19167         are present.
19168         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19169         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19170         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19171         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19172         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19174 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19176         * math/libm-test.c: Support platforms without multiple rounding modes.
19177         * math/bug-nextafter.c: Support platforms without FP exceptions.
19178         * math/bug-nexttoward.c: Likewise.
19179         * math/test-fenv.c: Likewise.
19180         * math/test-misc.c: Likewise.
19181         * stdlib/bug-getcontext.c: Likewise.
19183 2012-05-17  Andreas Jaeger  <aj@suse.de>
19185         * manual/examples/search.c (critter_cmp): Change signature to
19186         avoid warnings.
19187         * manual/string.texi (Collation Functions): Likewise.
19189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19191         * bits/types.h: Fold copyright years.
19192         * bits/typesizes.h: Likewise.
19193         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19197         * time/time.h: Likewise.
19199 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19201         [BZ #208]
19202         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19203         in instead of returning them.  Return void.
19204         (__libc_mallinfo): Accumulate over all arenas.
19205         (__malloc_stats): Adjust for change in int_mallinfo interface.
19207 2012-05-16  Roland McGrath  <roland@hack.frob.com>
19209         [BZ #10375]
19210         * configure.in (NM): Add AC_CHECK_TOOL for it.
19211         (libc_extra_cflags): New substituted variable.
19212         Check for -fstack-protector being used implicitly.
19213         * configure: Regenerated.
19214         * config.make.in (config-extra-cflags): New variable,
19215         gets @libc_extra_cflags@.
19216         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19218         [BZ #10375]
19219         * configure.in: Check for _FORTIFY_SOURCE being predefined.
19220         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19221         * configure: Regenerated.
19222         * config.make.in (CPPUNDEFS): New substituted variable.
19223         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19224         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19225         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19227 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19229         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19230         (mq_attr): Use __syscall_slong_t.
19232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19234         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19235         Check __x86_64__ instead of __WORDSIZE.
19236         (_STAT_VER_LINUX): Likewise.
19237         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
19238         __syscall_ulong_t and __syscall_slong_t.
19239         (stat64): Likewise.
19241 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19243         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19245 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19247         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19249 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19251         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19252         __syscall_ulong_t.
19254         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19255         include <bits/wordsize.h>.  Check __x86_64__ instead of
19256         __WORDSIZE.
19257         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19258         defined.
19259         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19261         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19262         include <bits/wordsize.h>.  Check __x86_64__ instead of
19263         __WORDSIZE.
19264         (user_regs_struct): Use "__extension__ unsigned long long"
19265         instead of "unsigned long" if __x86_64__ is defined.
19266         (user): Likewise.  Pad after pointer field if __ILP32__ is
19267         defined.
19269 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19271         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19272         versions 5 to 9.
19273         * configure: Regenerated.
19274         * manual/install.texi (texinfo): Increase version requirement to
19275         4.5 or later.
19276         * INSTALL: Regenerated.
19278         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19282         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19284         * sysdeps/x86_64/x32/ffs.c: New file.
19286         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19287         __syscall_ulong_t.
19288         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19289         defined.  Use __syscall_ulong_t.
19290         (shminfo): Use __syscall_ulong_t.
19291         (shm_info): Likewise.
19293         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19294         __syscall_ulong_t.
19296         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19297         <bits/wordsize.h>.
19298         (msgqnum_t): Use __syscall_ulong_t.
19299         (msglen_t): Likewise.
19300         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19301         __syscall_ulong_t.
19303         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19304         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19306         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19308         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19309         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19311         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19312         __syscall_slong_t.
19314         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19315         include <bits/wordsize.h>.  Check __x86_64__ instead of
19316         __WORDSIZE.
19318         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19319         "unsigned long long int" if __x86_64__ is defined.
19320         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19322         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19323         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19324         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19326         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19327         <stdint.h>.
19328         (GET_PC): Cast to uintptr_t first.
19329         (GET_FRAME): Likewise.
19330         (GET_STACK): Likewise.
19332         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19333         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19334         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19335         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19336         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19337         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19338         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19339         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19340         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19341         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19342         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19343         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19344         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19345         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19346         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19347         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19348         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19349         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19350         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19351         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19352         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19353         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19354         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19355         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19356         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19357         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19358         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19359         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19360         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19362 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19364         * Makerules (+depfiles): Also collect depfiles from .oS in
19365         $(extra-objs).
19366         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19367         .oS, $(libnldbl-routines)).
19369         * Makerules (native-compile-mkdep-flags): Define.
19370         * sunrpc/Makefile (extra-objs): Add $(addprefix
19371         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19372         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19373         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19374         calling $(make-target-directory).
19376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19378         * bits/types.h (__snseconds_t): Removed.
19379         * time/time.h (struct timespec): Replace __snseconds_t with
19380         __syscall_slong_t.
19381         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19382         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19383         Likewise.
19384         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19385         (__SNSECONDS_T_TYPE): Likewise.
19386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19387         (__SNSECONDS_T_TYPE): Likewise.
19388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19389         (__SNSECONDS_T_TYPE): Likewise.
19391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19393         * sysdeps/mach/hurd/bits/typesizes.h
19394         (__SYSCALL_SLONG_TYPE): New macro.
19395         (__SYSCALL_ULONG_TYPE): Likewise.
19397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19399         * bits/types.h (__syscall_slong_t): New type.
19400         (__syscall_ulong_t): Likewise.
19402         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19403         (__SYSCALL_ULONG_TYPE): Likewise.
19404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19405         (__SYSCALL_SLONG_TYPE): Likewise.
19406         (__SYSCALL_ULONG_TYPE): Likewise.
19407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19408         (__SYSCALL_SLONG_TYPE): Likewise.
19409         (__SYSCALL_ULONG_TYPE): Likewise.
19410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19411         (__SYSCALL_SLONG_TYPE): Likewise.
19412         (__SYSCALL_ULONG_TYPE): Likewise.
19414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19416         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19417         Add sigaltstack-offsets.sym.
19418         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19419         <sigaltstack-offsets.h>.
19420         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19421         longjmp_msg pointer.
19422         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19423         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19424         signal stack.
19425         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19427 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19429         * elf/stackguard-macros.h: Remove file.
19430         * sysdeps/generic/stackguard-macros.h: New file.
19431         * sysdeps/i386/stackguard-macros.h: Likewise.
19432         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19433         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19434         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19435         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19436         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19437         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19438         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19439         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19440         <elf/stackguard-macros.h>.
19442         [BZ #14109]
19443         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19444         __aligned__ in attribute.
19445         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19446         (gregset_t): Likewise.
19448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19450         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19451         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19452         * sysdeps/x86_64/x32/Implies-after: New file.
19454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19456         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19457         and access return value for _dl_profile_fixup.  Use R10_LP to
19458         load frame size.
19460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19462         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19466         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19467         * sysdeps/x86_64/x32/sysdep.h: New file.
19469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19471         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19472         * sysdeps/x86_64/setjmp.S: Likewise.
19474 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19478         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19479         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19480         remove unused global constant.
19482 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19484         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19485         include of <not-cancel.h>.
19487 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19489         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19491 2012-05-15  Jeff Law  <law@redhat.com>
19492             Andreas Jaeger  <aj@suse.de>
19494         [BZ #13594]
19495         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19496         out from...
19497         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19498         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19499         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19500         code changing __hst_map_handle.map.
19502 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19504         * configure.in (sysnames): Look for Implies-before and Implies-after
19505         files.
19506         * configure: Regenerated.
19508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19510         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19511         8-byte data alignment with LP_SIZE alignment.
19513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19515         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19516         into R10_LP.
19518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19520         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19524         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19525         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19526         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19527         Likewise.
19528         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19532         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19533         (stackinfo_sub_sp): Likewise.
19535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19537         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19538         RAX_LP.
19540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19542         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19543         into R*_LP.
19545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19548         sizes into R*_LP.
19550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19552         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19556         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19557         into R11_LP and load __x86_64_shared_cache_size_half into
19558         R8_LP.
19560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19563         R8_LP.
19565 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19568         logb for POWER7.
19569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19570         logbf for POWER7.
19571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19572         logbl for POWER7.
19573         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19574         powerpc32/power7/fpu/s_logb.c via #include.
19575         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19576         powerpc32/power7/fpu/s_logbf.c via #include.
19577         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19578         powerpc32/power7/fpu/s_logbl.c via #include.
19580 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19582         * README.libm: Remove file.
19584 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19586         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19587         count for x32.  Use R*_LP and omit operand-size suffix.
19589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19591         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19592         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19593         * sysdeps/x86_64/x32/shlib-versions: New file.
19595 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19597         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19598         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19599         Use _dl_fatal_printf instead.
19601 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19603         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19604         set if not set by the user.  Do not allow for being unset.
19605         * sysdeps/unix/sysv/linux/configure: Regenerated.
19607 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19609         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19610         the `q' suffix from lea and replace .quad with ASM_ADDR.
19612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19615         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19616         instead of $17.
19617         (PTR_DEMANGLE): Likewise.
19619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19621         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19622         (LP_OP): Likewise.
19623         (ASM_ADDR): Likewise.
19624         (RAX_LP): Likewise.
19625         (RBP_LP): Likewise.
19626         (RBX_LP): Likewise.
19627         (RCX_LP): Likewise.
19628         (RDI_LP): Likewise.
19629         (RSI_LP): Likewise.
19630         (RSP_LP): Likewise.
19631         (R8_LP): Likewise.
19632         (R9_LP): Likewise.
19633         (R10_LP): Likewise.
19634         (R10_LP): Likewise.
19635         (R11_LP): Likewise.
19636         (R12_LP): Likewise.
19637         (R13_LP): Likewise.
19638         (R14_LP): Likewise.
19639         (R15_LP): Likewise.
19641 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19643         * sysdeps/x86_64/x32/dl-machine.h: New file.
19645 2012-05-14  Andreas Jaeger  <aj@suse.de>
19647         * manual/Makefile (subdir): Remove export of subdir.
19648         (all): Remove target.
19649         (.PHONY): Remove all from list.
19650         (mkinstalldirs): Remove.
19651         (.PHONY): Remove installdirs from list.
19652         ($(inst_infodir)/libc.info): Use make-target-directory.
19653         (installdirs): Remove.
19654         (subdir_%): Remove.
19655         (glibc-targets): Remove.
19656         (lib): Remove.
19657         (stubs): Remove.
19658         ($(objpfx)stubs ../po/manual.pot): Remove.
19659         ($(objpfx)stamp%): Remove.
19660         (make-target-directory): Remove.
19661         (subdir_install): Remove.
19662         (routines): Remove.
19663         (aux): Remove.
19664         (sources): Remove.
19665         (objects): Remove.
19666         (headers): Remove.
19668         [BZ #13750]
19669         * manual/.gitignore: Remove, it's not needed anymore.
19670         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19671         all files in it.
19672         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19673         directory.
19674         (texis): Renamed to $(objpfx)texis.
19675         (texis-path): New, contains path to generated files.
19676         (chapters.%): Use texis-path for complete path, add extra argument
19677         libc-texinfo.sh.
19678         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19679         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19680         (summary,texi, stamp-summary): Use complete path of
19681         files. Generate files in build dir.
19682         (dir-add.texi): Build in build dir.
19683         (libm-err.texi,stamp-libm-err): Likewise.
19684         (version.texi, stamp-version): Likewise.
19685         (.%c.texi): Likewise.
19686         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19687         (mostlyclean): Remove target.
19688         (realclean): Remove target.
19689         (generated): Add new variable with contents from mostlyclean and
19690         realclean, remove entries duplicated in common-mostlyclean, add
19691         stamp-libm-err and stamp-version.
19692         (generated-dirs): Add libc directory.
19693         ($(inst_infodir)/libc.info): Install files from build dir.
19695         * manual/install.texi (Configuring and compiling): Adjust since
19696         the info files are not part of the tar ball anymore.
19698 2012-05-14  Andreas Jaeger  <aj@suse.de>
19700         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19701         variable.
19703 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19705         [BZ #13717]
19706         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19707         to 2.2.0 where earlier.
19708         * sysdeps/unix/sysv/linux/configure: Regenerated.
19709         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19710         Remove conditional code.
19711         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19712         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19713         Remove conditional code.
19714         [!__NR_lchown]: Likewise.
19715         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19716         [__NR_lchown]: Likewise.
19717         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19718         comment referencing __ASSUME_LCHOWN_SYSCALL.
19719         * sysdeps/unix/sysv/linux/i386/sigaction.c
19720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19722         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19723         Remove conditional code.
19724         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19725         (__protocol_available): Remove #if 0 code.
19726         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19727         conditional code.
19728         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19729         * sysdeps/unix/sysv/linux/kernel-features.h
19730         (__ASSUME_GETCWD_SYSCALL): Don't define.
19731         (__ASSUME_REALTIME_SIGNALS): Likewise.
19732         (__ASSUME_PREAD_SYSCALL): Likewise.
19733         (__ASSUME_PWRITE_SYSCALL): Likewise.
19734         (__ASSUME_POLL_SYSCALL): Likewise.
19735         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19736         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19737         non-SPARC.
19738         (__ASSUME_SIOCGIFNAME): Don't define.
19739         (__ASSUME_MSG_NOSIGNAL): Likewise.
19740         (__ASSUME_SENDFILE): Define unconditionally.
19741         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19742         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19743         conditional code.
19744         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19745         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19746         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19747         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19748         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19749         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19750         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19752         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19753         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19755         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19756         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19758         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19759         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19761         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19762         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19764         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19765         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19767         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19770         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19775         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19776         Remove conditional code.
19777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19778         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19779         Remove conditional code.
19780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19781         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19782         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19783         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19784         Remove conditional code.
19785         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19786         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19787         Remove conditional code.
19788         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19789         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19790         Remove conditional code.
19791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19792         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19793         Remove conditional code.
19794         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19795         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19796         Remove conditional code.
19797         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19798         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19799         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19800         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19801         * sysdeps/unix/sysv/linux/sigaction.c
19802         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19803         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19804         * sysdeps/unix/sysv/linux/sigpending.c
19805         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19806         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19807         * sysdeps/unix/sysv/linux/sigprocmask.c
19808         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19809         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19810         * sysdeps/unix/sysv/linux/sigsuspend.c
19811         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19812         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19813         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19814         (__libc_missing_rt_sigs): Remove.
19815         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19816         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19817         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19818         Remove conditional code.
19819         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19820         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19821         return 1.
19822         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19823         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19824         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19825         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19827 2012-05-14  Andreas Jaeger  <aj@suse.de>
19829         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19830         it's not used in glibc.
19831         (__coshm1): Likewise.
19832         (__acosh1p): Likewise.
19833         (__sgn): Likewise.
19835         * manual/string.texi (Copying and Concatenation): Add missing
19836         variable in concat example.
19837         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19841         [BZ #14103]
19842         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19843         __builtin_clzl with __builtin_clzll.
19845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19847         [BZ #14104]
19848         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19849         libc_freeres_ptr.
19851 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19853         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19854         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19855         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19856         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19858 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
19860         * NEWS: Update ia64 info.
19862 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19864         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19865         used as bcopy.
19867 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
19869         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19870         * sysdeps/unix/syscalls.list (dup3): Likewise.
19871         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19872         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19874 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19876         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19877         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19879 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19881         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19882         thread pointer.
19883         (TLS_IE): Use mov/add instead of movq/addq to load thread
19884         pointer.
19885         (TLS_GD_PREFIX): New.
19886         (TLS_GD): Use it.
19888 2012-05-11  David S. Miller  <davem@davemloft.net>
19890         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19891         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19892         (_FPU_SETCW): Likewise.
19894 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19896         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19897         is 32-byte aligned.
19899 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19901         [BZ #11837]
19902         * iconvdata/gb18030.c: Update tables.
19903         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19904         characters specially.
19905         (BODY for TO_LOOP): Add encoding of missing ranges.
19907 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19909         [BZ #13673]
19910         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19911         * sysdeps/mach/hurd/dup3.c: Likewise.
19912         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19913         * sysdeps/powerpc/memmove.c:: Likewise.
19915 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19918         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19920 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19922         * elf/elf.h (R_X86_64_RELATIVE64): New.
19923         (R_X86_64_NUM): Updated.
19924         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19925         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19926         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19927         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19928         tst-quad1pie tst-quad2pie
19929         (modules-names): Add tst-quadmod1 tst-quadmod2.
19930         ($(objpfx)tst-quad1): New dependency.
19931         ($(objpfx)tst-quad2): Likewise.
19932         ($(objpfx)tst-quad1pie): Likewise.
19933         ($(objpfx)tst-quad2pie): Likewise.
19934         * sysdeps/x86_64/tst-quad1.c: New file.
19935         * sysdeps/x86_64/tst-quad1pie.c: New file.
19936         * sysdeps/x86_64/tst-quad2.c: Likewise.
19937         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19938         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19939         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19940         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19941         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19943 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19945         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19946         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19947         * streams/stropts.h (t_scalar_t): Define type.
19949         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19950         (_PATH_PRESERVE): Set to "/var/lib".
19951         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19953         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19954         instead of int.
19956         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19957         if __dir_mkfile succeeded.
19959         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19960         checking for _hurd_dtablesize.  Unlock it right after having
19961         finished _hurd_dtable allocation.
19963 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19965         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19966         * sysdeps/mach/hurd/configure: Regenerated.
19967         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19968         special-casing to...
19969         * sysdeps/gnu/configure.in: ... this new file.
19970         * sysdeps/unix/sysv/linux/configure: Regenerated.
19971         * sysdeps/gnu/configure: New generated file.
19973         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19974         for Linux: use nsec instead of usec, as well as:
19975         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19976         members of type struct timespec.
19977         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19978         New macros.
19979         (struct stat64): Likewise.
19980         (_STATBUF_ST_NSEC): New macro.
19981         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19983         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19984         __strtoul_internal rather than strtoul.
19986 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19988         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19989         and reject them.
19991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19993         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19994         which preserves existing values.
19995         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19997 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19999         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20000         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20001         greater than FD_SETSIZE.
20003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20005         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20006         allocated, call __vm_protect to finish enabling the existing space, and
20007         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20008         allocate the remainder.
20010 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20012         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20013         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20017         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20018         sysdeps/mach/hurd/readlink.c.
20020         * posix/tst-sysconf.c (posix_options): Only use
20021         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20022         _POSIX_SYNCHRONIZED_IO when they are defined
20023         * sysdeps/mach/hurd/bits/posix_opt.h:
20024         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20025         (_XOPEN_REALTIME): Undefine macro.
20026         (_XOPEN_REALTIME_THREADS): Undefine macro.
20027         (_XOPEN_SHM): Undefine macro.
20028         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20029         macro to -1.
20030         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20031         macro to -1.
20032         (_POSIX_ASYNC_IO): Undefine macro.
20033         (_POSIX_PRIORITIZED_IO): Undefine macro.
20034         (_POSIX_SPIN_LOCKS): Define macro to -1.
20036         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20037         SA_NODEFER, SA_RESETHAND.
20038         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20039         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20040         F_DUPFD_CLOEXEC.
20042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20044         * elf/Makefile (pldd-modules): Define unconditionally.
20046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20048         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20052         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20053         Return ENOENT when name is empty.
20054         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20056 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20058         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20060         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20064         Fix mlock in all cases except non-readable pages.
20065         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20066         instead of VM_PROT_ALL as parameter to __vm_wire function.
20068         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20069         (__mkdir): When path is `/', just fail with EEXIST.
20070         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20072 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20074         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20075         <sys/uio.h> (for writev).
20076         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20077         and <sys/param.h> (for MIN).
20079 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20081         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20082         REQUESTED_TIME.  Properly set the remaining time and return EINTR
20083         if interrupted.
20085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20087         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20088         Depend on against $(link-rpcuserlibs).
20090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20092         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20093         (__libc_stack_end): Do not use attribute_relro.
20094         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20095         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20096         to libthread-provided value.
20097         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20098         attribute_relro.
20100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20102         [BZ #3748]
20103         * bits/libc-lock.h (__libc_once_get): New macro.
20104         * sysdeps/mach/bits/libc-lock.h: Likewise.
20105         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20106         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20107         instead of using implementation details.
20109         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20110         * libio/freopen.c: Likewise.
20111         * libio/freopen64.c: Likewise.
20112         * misc/syslog.c: Likewise.
20113         * nscd/connections.c: Likewise.
20114         * nscd/netgroupcache.c: Likewise.
20115         * sysdeps/posix/getcwd.c: Likewise.
20117 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20119         * math/w_ilogbf.c: Add #include <limits.h>.
20121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20123         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20124         path instead of returning without unlocking.
20126         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20127         immediate-write ioctls.
20128         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20132         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20133         __builtin_frame_address instead of making assumptions about the
20134         location of the return address relative to DATA.  Force early load of
20135         the return address.
20136         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20137         __builtin_frame_address.
20139         dup3 for GNU Hurd.
20140         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20141         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20142         implement dup3 and do some further code clean-ups.
20143         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20144         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20148         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20150         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20151         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20152         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20153         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20154         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20155         d->port.lock.
20157         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20158         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20159         when handler == SIG_ERR, not when handler != SIG_ERR.
20161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20163         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20164         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20165         definitions.
20167         accept4 for GNU Hurd.
20168         * include/sys/socket.h (__libc_accept4): New prototype.
20169         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20170         to implement __libc_accept4.
20171         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20172         __libc_accept4.
20173         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20175         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20176         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20177         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20178         signal-defines.sym.
20180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20182         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20186         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20187         assertion on O_CLOEXEC flag.
20188         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20189         * hurd/intern-fd.c: Likewise.
20190         * hurd/port2fd.c: Likewise.
20192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20194         [BZ #3906]
20195         * bits/in.h (IPV6_PKTINFO): Define new macro.
20196         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20198 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20200         [BZ #13954]
20201         [BZ #13955]
20202         [BZ #13956]
20203         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20205         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20206         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20208         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20209         * math/libm-test.inc (logb_test) : Additional logb tests.
20211 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20212             Andreas Jaeger  <aj@suse.de>
20214         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20215         * configure: Regenerated.
20216         * config.h.in (LINK_OBSOLETE_RPC): New macro.
20217         * config.make.in (link-obsolete-rpc): New substituted variable.
20218         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20219         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20220         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20221         (shared-only-routines): Don't set it under [link-obsolete-rpc],
20222         so that libc.a contains the symbols.
20223         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20224         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20225         * sunrpc/auth_none.c: Likewise.
20226         * sunrpc/auth_unix.c: Likewise.
20227         * sunrpc/authdes_prot.c: Likewise.
20228         * sunrpc/authuxprot.c: Likewise.
20229         * sunrpc/clnt_gen.c: Likewise.
20230         * sunrpc/clnt_perr.c: Likewise.
20231         * sunrpc/clnt_raw.c: Likewise.
20232         * sunrpc/clnt_simp.c: Likewise.
20233         * sunrpc/clnt_tcp.c: Likewise.
20234         * sunrpc/clnt_udp.c: Likewise.
20235         * sunrpc/clnt_unix.c: Likewise.
20236         * sunrpc/des_crypt.c: Likewise.
20237         * sunrpc/des_soft.c: Likewise.
20238         * sunrpc/get_myaddr.c: Likewise.
20239         * sunrpc/key_call.c: Likewise.
20240         * sunrpc/key_prot.c: Likewise.
20241         * sunrpc/netname.c: Likewise.
20242         * sunrpc/pm_getmaps.c: Likewise.
20243         * sunrpc/pm_getport.c: Likewise.
20244         * sunrpc/pmap_clnt.c: Likewise.
20245         * sunrpc/pmap_prot.c: Likewise.
20246         * sunrpc/pmap_prot2.c: Likewise.
20247         * sunrpc/pmap_rmt.c: Likewise.
20248         * sunrpc/publickey.c: Likewise.
20249         * sunrpc/rpc_cmsg.c: Likewise.
20250         * sunrpc/rpc_common.c: Likewise.
20251         * sunrpc/rpc_dtable.c: Likewise.
20252         * sunrpc/rpc_prot.c: Likewise.
20253         * sunrpc/rpc_thread.c: Likewise.
20254         * sunrpc/rtime.c: Likewise.
20255         * sunrpc/svc.c: Likewise.
20256         * sunrpc/svc_auth.c: Likewise.
20257         * sunrpc/svc_raw.c: Likewise.
20258         * sunrpc/svc_run.c: Likewise.
20259         * sunrpc/svc_tcp.c: Likewise.
20260         * sunrpc/svc_udp.c: Likewise.
20261         * sunrpc/svc_unix.c: Likewise.
20262         * sunrpc/svcauth_des.c: Likewise.
20263         * sunrpc/xcrypt.c: Likewise.
20264         * sunrpc/xdr.c: Likewise.
20265         * sunrpc/xdr_array.c: Likewise.
20266         * sunrpc/xdr_float.c: Likewise.
20267         * sunrpc/xdr_intXX_t.c: Likewise.
20268         * sunrpc/xdr_mem.c: Likewise.
20269         * sunrpc/xdr_rec.c: Likewise.
20270         * sunrpc/xdr_ref.c: Likewise.
20271         * sunrpc/xdr_sizeof.c: Likewise.
20272         * sunrpc/xdr_stdio.c: Likewise.
20274 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20276         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20277         change.  Update copyright years.
20279 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20281         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20283 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20284             Joseph Myers  <joseph@codesourcery.com>
20285             Paul Pluzhnikov  <ppluzhnikov@google.com>
20287         [BZ #14012]
20288         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20289         requiring rpcgen.
20290         [cross-compiling] (extra-libs): Likewise.
20291         [cross-compiling] (extra-libs-others): Likewise.
20292         [cross-compiling] (librpcsvc-routines): Likewise.
20293         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20294         [cross-compiling] (omit-deps): Likewise.
20295         (sunrpc-CPPFLAGS): New variable.
20296         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20297         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20298         (cross-rpcgen-objs): New variable.
20299         (extra-objs): Append $(cross-rpcgen-objs).
20300         ($(cross-rpcgen-objs)): New rule.
20301         ($(objpfx)cross-rpcgen): Likewise.
20302         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20303         comment.
20304         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20305         ($(objpfx)x%.stmp): Likewise.
20306         * sunrpc/proto.h [IS_IN_build] (_): Define.
20307         [IS_IN_build] (_libc_intl_domainname): Likewise.
20309 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20312         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20313         and R_X86_64_TPOFF64.
20315 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20317         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20318         sysdeps/unix/sysv/syscalls.list.
20319         (stime): Likewise.
20320         (utime): Likewise.
20321         * sysdeps/unix/sysv/syscalls.list: Remove file.
20323 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20325         [BZ #3440]
20326         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20327         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20328         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20329         (__LC_IDENTIFICATION): Make these macros useful in #if
20330         expressions, as required by C99.
20332 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20334         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20335         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20336         after this.
20338 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20340         * stdlib/longlong.h: Updated from GCC.
20342 2012-05-09  Andreas Jaeger  <aj@suse.de>
20344         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20345         default is first entry.
20346         (run_mode): Set type.
20347         (main): Remove informal message about syslog.
20348         (options): Fix typo.
20350         [BZ #14053]
20351         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20352         to asm.
20353         (lrint): Likewise.
20354         (llrintf): Likewise.
20355         (llrint): Likewise.
20356         (rint): Likewise.
20357         (rintf): Likewise.
20358         (nearbyint): Likewise.
20359         (nearbyintf): Likewise.
20361 2012-05-09  Andreas Jaeger  <aj@suse.de>
20362             Pedro Alves  <palves@redhat.com>
20364         * nscd/nscd.c (run_mode): Use enum.
20365         (main): Cleanup coding style issue.
20367 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20368             Andreas Jaeger  <aj@suse.de>
20370         * nscd/nscd.c (go_background): Replaced with...
20371         (run_mode): ... this.
20372         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20373         (options): Add -F --foreground.
20374         (main): Implement it.
20375         (parse_opt): Parse it.
20377 2012-05-09  Andreas Jaeger  <aj@suse.de>
20379         [BZ #14083]
20380         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20381         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20382         -Wconversion warning.
20383         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20384         Likewise.
20386 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20388         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20389         == 0.
20390         (LC_ALL): Use macro-int-constant.
20391         (LC_COLLATE): Likewise.
20392         (LC_CTYPE): Likewise.
20393         (LC_MESSAGES): Likewise.
20394         (LC_MONETARY): Likewise.
20395         (LC_NUMERIC): Likewise.
20396         (LC_TIME): Likewise.
20397         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20398         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20399         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20400         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20401         Specify type.
20402         [C99-based standards] (float_t): Expect type.
20403         [C99-based standards] (double_t): Expect type.
20404         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20405         type.
20406         [C99-based standards] (HUGE_VALL): Likewise.
20407         [C99-based standards] (INFINITY): Likewise.
20408         [C99-based standards] (NAN): Likewise.
20409         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20410         [C99-based standards] (FP_NAN): Likewise.
20411         [C99-based standards] (FP_NORMAL): Likewise.
20412         [C99-based standards] (FP_SUBNORMAL): Likewise.
20413         [C99-based standards] (FP_ZERO): Likewise.
20414         [C99-based standards] (FP_FAST_FMA): Use
20415         optional-macro-int-constant.  Specify type.  Require == 1.
20416         [C99-based standards] (FP_FAST_FMAF): Likewise.
20417         [C99-based standards] (FP_FAST_FMAL): Likewise.
20418         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20419         [C99-based standards] (FP_ILOGBNAN): Likewise.
20420         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20421         Specify type.
20422         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20423         [C99-based standards] (math_errhandling): Specify type.
20424         [ISO99 || ISO11] (signgam): Do not allow.
20425         [non-C99-based standards] (copysignf): Do not allow.
20426         [non-C99-based standards] (exp2f): Likewise.
20427         [non-C99-based standards] (log2f): Likewise.
20428         [non-C99-based standards] (modff): Allow.
20429         [non-C99-based standards] (erff): Do not allow.
20430         [non-C99-based standards] (erfcf): Likewise.
20431         [non-C99-based standards] (gammaf): Likewise.
20432         [non-C99-based standards] (hypotf): Likewise.
20433         [non-C99-based standards] (j0f): Likewise.
20434         [non-C99-based standards] (j1f): Likewise.
20435         [non-C99-based standards] (jnf): Likewise.
20436         [non-C99-based standards] (lgammaf): Likewise.
20437         [non-C99-based standards] (tgammaf): Likewise.
20438         [non-C99-based standards] (y0f): Likewise.
20439         [non-C99-based standards] (y1f): Likewise.
20440         [non-C99-based standards] (ynf): Likewise.
20441         [non-C99-based standards] (isnanf): Likewise.
20442         [non-C99-based standards] (acoshf): Likewise.
20443         [non-C99-based standards] (asinhf): Likewise.
20444         [non-C99-based standards] (atanhf): Likewise.
20445         [non-C99-based standards] (cbrtf): Likewise.
20446         [non-C99-based standards] (expm1f): Likewise.
20447         [non-C99-based standards] (ilogbf): Likewise.
20448         [non-C99-based standards] (log1pf): Likewise.
20449         [non-C99-based standards] (logbf): Likewise.
20450         [non-C99-based standards] (nextafterf): Likewise.
20451         [non-C99-based standards] (remainderf): Likewise.
20452         [non-C99-based standards] (rintf): Likewise.
20453         [non-C99-based standards] (scalbf): Likewise.
20454         [non-C99-based standards] (copysignl): Likewise.
20455         [non-C99-based standards] (exp2l): Likewise.
20456         [non-C99-based standards] (log2l): Likewise.
20457         [non-C99-based standards] (modfl): Allow.
20458         [non-C99-based standards] (erfl): Do not allow.
20459         [non-C99-based standards] (erfcl): Likewise.
20460         [non-C99-based standards] (gammal): Likewise.
20461         [non-C99-based standards] (hypotl): Likewise.
20462         [non-C99-based standards] (j0l): Likewise.
20463         [non-C99-based standards] (j1l): Likewise.
20464         [non-C99-based standards] (jnl): Likewise.
20465         [non-C99-based standards] (lgammal): Likewise.
20466         [non-C99-based standards] (tgammal): Likewise.
20467         [non-C99-based standards] (y0l): Likewise.
20468         [non-C99-based standards] (y1l): Likewise.
20469         [non-C99-based standards] (ynl): Likewise.
20470         [non-C99-based standards] (isnanl): Likewise.
20471         [non-C99-based standards] (acoshl): Likewise.
20472         [non-C99-based standards] (asinhl): Likewise.
20473         [non-C99-based standards] (atanhl): Likewise.
20474         [non-C99-based standards] (cbrtl): Likewise.
20475         [non-C99-based standards] (expm1l): Likewise.
20476         [non-C99-based standards] (ilogbl): Likewise.
20477         [non-C99-based standards] (log1pl): Likewise.
20478         [non-C99-based standards] (logbl): Likewise.
20479         [non-C99-based standards] (nextafterl): Likewise.
20480         [non-C99-based standards] (remainderl): Likewise.
20481         [non-C99-based standards] (rintl): Likewise.
20482         [non-C99-based standards] (scalbl): Likewise.
20483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20484         [non-C99-based standards] (FP_*): Do not allow.
20485         [C99-based standards] (FP_*): Change to
20486         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20487         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20488         allow.
20489         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20490         (SIG_ERR): Likewise.
20491         [X/Open-based standards] (SIG_HOLD): Likewise.
20492         (SIG_IGN): Likewise.
20493         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20494         positive value.
20495         (SIGFPE): Likewise.
20496         (SIGILL): Likewise.
20497         (SIGINT): Likewise.
20498         (SIGSEGV): Likewise.
20499         (SIGTER): Likewise.
20500         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20501         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20502         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20503         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20504         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20505         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20506         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20507         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20508         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20509         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20510         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20511         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20512         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20513         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20514         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20515         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20516         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20517         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20518         [X/Open-based standards] (SIGTRAP): Likewise.
20519         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20520         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20521         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20522         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20523         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20524         allow.
20526 2012-05-08  Ian Wienand  <ianw@vmware.com>
20528         [BZ #14080]
20529         * time/tzset.c (__tzset_parse_tz): Update default rules for
20530         daylight time changes in the Energy Policy Act of 2005.
20532 2012-05-09  Andreas Jaeger  <aj@suse.de>
20534         [BZ #13983]
20535         * elf/ldconfig.c (parse_conf): Change string to make clear that
20536         ldconfig only issued a warning if ld.so.conf does not exist.
20538 2012-05-08  David S. Miller  <davem@davemloft.net>
20540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20541         movxtod instead of popping the value on the stack.
20543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20545 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20547         * config.h.in: Add HAVE_ARM_PCS_VFP.
20549 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20551         [BZ #13979]
20552         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20553         checking but the checks are disabled for any reason.
20555 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20557         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20558         and ELF64_R_TYPE with ELFW(R_TYPE).
20560 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20562         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20563         (ulimit): Likewise.
20565         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20566         (settimeofday): Likewise.
20568 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20570         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20571         a struct th_u2 inside the union, and move tu_block/tu_code into
20572         a new th_u3 union of tu_block/tu_code inside of that.  Move
20573         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20574         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20575         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20576         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20577         (th_stuff): Change to th_u1.tu_stuff.
20578         (th_data): Define.
20579         (th_msg): Change to th_u1.th_u2.tu_data.
20581 2012-05-07  David S. Miller  <davem@davemloft.net>
20583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20585         [BZ #14074]
20586         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20587         (SETUP_PIC_REG): Use it.
20588         (SETUP_PIC_REG_LEAF): Use it.
20590 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20592         [BZ #13885]
20593         [BZ #13923]
20594         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20595         USE_AS_EXPM1L.
20596         (EXPL_FINITE): Likewise.
20597         (FLDLOG): Likewise.
20598         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20599         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20600         e_expl.S.
20601         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20602         USE_AS_EXPM1L.
20603         (EXPL_FINITE): Likewise.
20604         (FLDLOG): Likewise.
20605         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20606         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20607         e_expl.S.
20608         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20609         test of -max_value argument for long double.
20610         * sysdeps/i386/fpu/libm-test-ulps: Update.
20611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613 2012-05-06  David S. Miller  <davem@davemloft.net>
20615         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20616         quad soft-float symbols whose references which are compiler
20617         generated.
20618         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20620 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20622         [BZ #13884]
20623         [BZ #13914]
20624         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20625         USE_AS_EXP10L.
20626         (EXPL_FINITE): Likewise.
20627         (FLDLOG): Likewise.
20628         (c0): Likewise.
20629         (c1): Likewise.
20630         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20631         Adjust comments for base varying.
20632         (__expl_finite): Change alias to EXPL_FINITE.
20633         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20634         e_expl.S.
20635         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20636         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20638         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20639         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20640         USE_AS_EXP10L.
20641         (EXPL_FINITE): Likewise.
20642         (FLDLOG): Likewise.
20643         (c0): Likewise.
20644         (c1): Likewise.
20645         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20646         Adjust comments for base varying.
20647         (__expl_finite): Change alias to EXPL_FINITE.
20648         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20649         tests for bugs.
20650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20652         [BZ #14064]
20653         * math/libm-test.inc (check_float_internal): Correct ulp
20654         calculation for subnormal expected results.
20656 2012-05-06  Andreas Jaeger  <aj@suse.de>
20658         * Makeconfig (+math-flags): New, set to -frounding-math.
20659         (+cflags): Add +math-flags so that all of glibc gets compiled with
20660         it.
20662         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20664 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20666         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20667         Disable one test.
20669         [BZ #13787]
20670         [BZ #13922]
20671         [BZ #14036]
20672         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20673         (__ieee754_expl): Allow for and saturate large arguments.
20674         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20675         (u_threshold): Likewise.
20676         (__exp): Call __ieee754_exp before checking for overflow and
20677         underflow.
20678         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20679         (u_threshold): Likewise.
20680         (__expf): Call __ieee754_expf before checking for overflow and
20681         underflow.
20682         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20683         (u_threshold): Likewise.
20684         (__expl): Call __ieee754_expl before checking for overflow and
20685         underflow.
20686         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20687         (__ieee754_expl): Allow for and saturate large arguments.
20688         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20689         missing overflow exception on overflow.
20690         (expm1_test): Do not allow missing overflow exception on overflow.
20692         * sysdeps/i386/fpu/e_expl.c: Move to ...
20693         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20694         rather than using inline asm.
20695         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20696         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20697         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20699         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20700         (nice): Likewise.
20701         (poll): Likewise.
20702         (signal): Likewise.
20703         (time): Likewise.
20704         (times): Likewise.
20706 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20708         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20709         sysdeps/unix/common/syscalls.list.
20710         (fchmod): Likewise.
20711         (fchown): Likewise.
20712         (ftruncate): Likewise.
20713         (getrusage): Likewise.
20714         (gettimeofday): Likewise.
20715         (setpgid): Likewise.
20716         (setregid): Likewise.
20717         (setreuid): Likewise.
20718         (sigaction): Likewise.
20719         (truncate): Likewise.
20720         (vhangup): Likewise.
20721         * sysdeps/unix/common/syscalls.list: Remove file.
20722         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20723         * sysdeps/unix/sysv/linux/Implies: Likewise.
20725 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20727         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20729         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20730         Moved to ...
20731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20732         Here.
20733         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20734         to ...
20735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20736         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20737         to ...
20738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20739         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20740         to ...
20741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20742         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20743         to ...
20744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20745         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20746         to ...
20747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20748         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20749         to ...
20750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20751         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20752         to ...
20753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20754         Here.
20755         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20756         to ...
20757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20758         Here.
20759         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20760         to ...
20761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20762         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20763         Moved to ...
20764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20765         Here.
20766         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20767         to ...
20768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20770 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20772         * sysdeps/unix/common/bits/dirent.h: Remove file.
20773         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20775         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20776         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20777         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20778         * sysdeps/unix/bsd/isatty.c: Likewise.
20779         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20780         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20781         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20783 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20785         [BZ #13563]
20786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20787         long double comparison inaccuracies.
20788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20791 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20793         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20796 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20798         [BZ #14049]
20799         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20800         nonzero digits before rounding a hex value.
20801         * stdlib/tst-strtod.c (tests): Add another test.
20803 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20805         * sysdeps/s390/fpu/libm-test-ulps: Update.
20807 2012-05-03  Andreas Jaeger  <aj@suse.de>
20809         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20810         does not get optimized out.
20811         (malloc_opt_barrier): New.
20813 2012-05-03  Andreas Jaeger  <aj@suse.de>
20814             Roland McGrath  <roland@hack.frob.com>
20816         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20817         intermediate file deletion.
20818         (generated): Add .symlist files.
20820 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
20822         [BZ #13775]
20823         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20824         Redirect under this condition.
20825         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20826         [__USE_GNU] (__dprintf_chk): Not under this condition.
20827         [__USE_GNU] (__vdprintf_chk): Likewise.
20828         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20829         under this condition.
20830         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20831         [__USE_XOPEN2K8] (dprintf): Define under this condition.
20832         [__USE_XOPEN2K8] (vdprintf): Likewise.
20833         [__USE_GNU] (__dprintf_chk): Not under this condition.
20834         [__USE_GNU] (__vdprintf_chk): Likewise.
20835         [__USE_GNU] (dprintf): Likewise.
20836         [__USE_GNU] (vdprintf): Likewise.
20838 2012-05-03  Roland McGrath  <roland@hack.frob.com>
20840         * elf/Makefile (common-generated): Set this instead of generated for
20841         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
20842         $(all-built-dso)-derived lists.
20844 2012-05-03  Andreas Jaeger  <aj@suse.de>
20846         * sysdeps/i386/fpu/libm-test-ulps: Update.
20848         * FAQ: Removed.
20849         * FAQ.in: Likewise.
20850         * scripts/gen-FAQ.pl: Likewise.
20851         * manual/install.texi (Installation): Point to online location of
20852         FAQ.
20853         * Makefile (files-for-dist): Remove FAQ.
20854         (FAQ): Remove.
20856 2012-05-02  Allan McRae  <allan@archlinux.org>
20858         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20859         (LDFLAGS-reldepmod5.so): Likewise.
20860         (LDFLAGS-reldep6mod1.so): Likewise.
20861         (LDFLAGS-reldep6mod4.so): Likewise.
20862         (LDFLAGS-reldep8mod3.so): Likewise.
20863         (LDFLAGS-unload4mod1.so): Likewise.
20864         (LDFLAGS-unload4mod2.so): Likewise.
20865         (LDFLAGS-tst-initorder): Likewise.
20866         (LDFLAGS-tst-initordera2.so): Likewise.
20867         (LDFLAGS-tst-initordera3.so): Likewise.
20868         (LDFLAGS-tst-initordera4.so): Likewise.
20869         (LDFLAGS-tst-initorderb2.so): Likewise.
20870         (LDFLAGS-noload): Likewise.
20871         (LDFLAGS-next): Likewise.
20872         (LDFLAGS-order2mod1.so): Likewise.
20873         (LDFLAGS-order2mod2.so): Likewise.
20874         (LDFLAGS-tst-initorder2): Likewise.
20875         (LDFLAGS-tst-initorder2a.so): Likewise.
20876         (LDFLAGS-tst-initorder2b.so): Likewise.
20877         (LDFLAGS-tst-initorder2c.so): Likewise.
20878         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20880 2012-05-02  David S. Miller  <davem@davemloft.net>
20882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20884 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20886         [BZ #14055]
20887         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20889 2012-05-02  Andreas Jaeger  <aj@suse.de>
20891         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20892         since we manipulate rounding mode.
20893         (CPPFLAGS-test-idouble.c): Likewise.
20894         (CPPFLAGS-test-ifloat.c): Likewise.
20895         (CFLAGS-test-ldouble.c): Likewise.
20896         (CFLAGS-test-double.c): Likewise.
20897         (CFLAGS-test-float.c): Likewise.
20898         (CFLAGS-test-misc.c): Likewise.
20899         (CFLAGS-test-test-fenv.c): Likewise.
20901 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20903         [BZ #2550]
20904         [BZ #2570]
20905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20906         comparisons to determine direction to adjust input.
20908 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20910         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20911         output to the target.
20913         * scripts/localplt.awk: New file.
20914         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20915         (check-localplt-CFLAGS): Variable removed.
20916         ($(all-built-dso:=.jmprel)): New static pattern rule.
20917         (generated): Add those targets.
20918         (localplt-built-dso): New variable.
20919         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20921         * elf/check-localplt.c: File removed.
20923         * scripts/check-execstack.awk: New file.
20924         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20925         (check-execstack-CFLAGS): Variable removed.
20926         ($(objpfx)check-execstack.h): Target removed.
20927         ($(objpfx)execstack-default): New target.
20928         (generated): Add that instead of check-execstack.h.
20929         ($(all-built-dso:=.phdr)): New static pattern rule.
20930         (generated): Add those targets.
20931         * elf/check-execstack.c: File removed.
20933         * scripts/check-textrel.awk: New file.
20934         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20935         (check-textrel-CFLAGS): Variable removed.
20936         (all-built-dso): Use := to define.o
20937         ($(all-built-dso:=.dyn)): New static pattern rule.
20938         (generated): Add those targets.
20939         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20940         * config.make.in (READELF): New substituted variable.
20941         * elf/check-textrel.c: File removed.
20943 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20945         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20946         allow.
20947         * conform/data/ctype.h-data [C99-based standards] (isblank):
20948         Expect function.
20949         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20950         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20951         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20952         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20953         Specify type.  Require positive value.
20954         (EILSEQ): Likewise.
20955         (ERANGE): Likewise.
20956         [ISO || POSIX] (EILSEQ): Do not expect.
20957         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20958         Specify type.  Require positive value.
20959         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20960         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20961         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20962         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20963         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20964         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20965         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20966         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20967         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20968         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20969         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20970         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20971         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20972         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20973         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20974         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20975         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20976         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20977         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20978         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20979         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20980         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20981         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20982         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20983         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20984         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20985         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20986         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20987         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20988         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20989         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20990         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20991         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20992         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20993         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20994         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20995         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20996         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20997         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20998         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20999         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21000         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21001         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21002         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21003         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21004         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21005         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21006         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21007         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21008         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21009         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21010         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21011         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21012         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21013         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21014         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21015         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21016         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21017         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21018         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21019         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21020         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21021         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21022         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21023         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21024         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21025         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21026         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21027         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21028         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21029         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21030         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21031         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21032         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21033         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21034         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21035         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21036         Require >= 2.
21037         (FLT_ROUNDS): Expect as macro, not constant.
21038         (FLT_MANT_DIG): Use macro-int-constant.
21039         (DBL_MANT_DIG): Likewise.
21040         (LDBL_MANT_DIG): Likewise.
21041         (FLT_DIG): Likewise.
21042         (DBL_DIG): Likewise.
21043         (LDBL_DIG): Likewise.
21044         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21045         (DBL_MIN_EXP): Likewise.
21046         (LDBL_MIN_EXP): Likewise.
21047         (FLT_MAX_EXP): Use macro-int-constant.
21048         (DBL_MAX_EXP): Likewise.
21049         (LDBL_MAX_EXP): Likewise.
21050         (FLT_MAX_10_EXP): Likewise.
21051         (DBL_MAX_10_EXP): Likewise.
21052         (LDBL_MAX_10_EXP): Likewise.
21053         (FLT_MAX): Use macro-constant.
21054         (DBL_MAX): Likewise.
21055         (LDBL_MAX): Likewise.
21056         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21057         (DBL_EPSILON): Likewise.
21058         (LDBL_EPSILON): Likewise.
21059         (FLT_MIN): Likewise.
21060         (DBL_MIN): Likewise.
21061         (LDBL_MIN): Likewise.
21062         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21063         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21064         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21065         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21066         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21067         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21068         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21069         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21070         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21071         [ISO11] (FLT_TRUE_MIN): Likewise.
21072         [ISO11] (LDBL_TRUE_MIN): Likewise.
21073         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21074         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21075         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21076         (SCHAR_MAX): Likewise.
21077         (UCHAR_MAX): Likewise.
21078         (CHAR_MIN): Likewise.
21079         (CHAR_MAX): Likewise.
21080         (MB_LEN_MAX): Use macro-int-constant.
21081         (SHRT_MIN): Use macro-int-constant.  Specify type.
21082         (SHRT_MAX): Likewise.
21083         (USHRT_MAX): Likewise.
21084         (INT_MAX): Likewise.
21085         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
21086         bound negative.
21087         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21088         bound with "U".
21089         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21090         bound with "L".
21091         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
21092         bound negative.  Suffix upper bound with "L".
21093         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21094         bound with "UL".
21095         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21096         Specify type.
21097         [C99-based standards] (LLONG_MAX): Likewise.
21098         [C99-based standards] (ULLONG_MAX): Likewise.
21099         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21100         == 0.
21101         [ISO11] (max_align_t): Require type.
21102         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21104         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21105         from $CFLAGS, without defining away __attribute__ calls.
21106         (checknamespace): Use $CFLAGS_namespace.
21108         * conform/conformtest.pl (@keywords): Only include C99 keywords
21109         for standards based on C99 or C11.
21111         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21112         Disable tests.
21113         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21114         UNIX98]: Likewise.
21116         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21117         usability of symbols in #if.
21119         * conform/conformtest.pl: If macro or constant types start
21120         "promoted:", expect the symbol to be of the following type
21121         promoted by the integer promotions.
21123         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21124         in one place.  Also handle "macro-constant".
21126         * conform/conformtest.pl: Only accept expected macro values with
21127         "==".  Parse all "macro" lines in one place.
21128         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21130         * conform/conformtest.pl: Handle braced types on "constant" lines
21131         instead of handling "typed-constant".
21132         * conform/data/signal.h-data: Use "constant" instead of
21133         "typed-constant".
21135         * conform/conformtest.pl: Handle "optional-" at start of lines in
21136         one place rather than duplicating several cases.  Handle each
21137         format of "macro" line with initial "optional-".
21139         * conform/conformtest.pl: Only accept expected constant or
21140         optional-constant values with "==".  Parse all "constant" lines in
21141         one place.  Parse all "optional-constant" lines in one place.
21142         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21143         * conform/data/fmtmsg.h-data: Likewise.
21144         * conform/data/netinet/in.h-data: Likewise.
21145         * conform/data/tar.h-data: Likewise.
21146         * conform/data/limits.h-data: Use "==" form on "constant" and
21147         "optional-constant" lines.
21149         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21150         Use -std=c99 for XOPEN2K.
21151         (@knownproblems): Remove.
21152         (newtoken): Don't check %isknown.
21154         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21155         Do not expect macro.
21156         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21157         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21158         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21159         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21160         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21161         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21162         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21163         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21164         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21165         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21166         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21167         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21168         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21169         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21170         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21171         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21172         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21173         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21174         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21175         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21176         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21177         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21178         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21179         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21180         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21181         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21182         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21183         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21184         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21185         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21186         [XPG3] (acosh): Likewise.
21187         [XPG3] (asinh): Likewise.
21188         [XPG3] (atanh): Likewise.
21189         [XPG3] (cbrt): Likewise.
21190         [XPG3] (expm1): Likewise.
21191         [XPG3] (ilogb): Likewise.
21192         [XPG3] (log1p): Likewise.
21193         [XPG3] (logb): Likewise.
21194         [XPG3] (nextafter): Likewise.
21195         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21196         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21197         [XPG3] (remainder): Likewise.
21198         [XPG3] (rint): Likewise.
21199         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21200         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21201         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21202         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21203         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21204         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21205         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21206         [UNIX98 || XOPEN2K] (scalb): Expect.
21207         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21208         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21209         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21210         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21211         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21212         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21213         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21214         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21215         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21216         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21217         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21218         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21219         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21220         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21221         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21222         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21223         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21224         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21225         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21226         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21227         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21228         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21229         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21230         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21231         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21232         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21233         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21234         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21235         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21236         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21237         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21238         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21239         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21240         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21241         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21242         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21243         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21244         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21245         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21246         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21247         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21248         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21249         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21250         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21251         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21252         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21253         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21254         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21255         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21256         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21257         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21258         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21259         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21260         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21261         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21262         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21263         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21264         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21265         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21266         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21267         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21268         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21269         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21270         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21271         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21272         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21273         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21274         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21275         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21276         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21277         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21278         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21279         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21280         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21281         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21282         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21283         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21284         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21285         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21286         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21287         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21288         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21289         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21290         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21291         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21292         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21293         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21294         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21295         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21296         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21297         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21298         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21299         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21300         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21301         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21302         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21303         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21304         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21305         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21306         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21307         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21308         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21309         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21310         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21311         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21312         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21313         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21314         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21315         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21316         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21317         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21318         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21319         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21320         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21321         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21322         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21323         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21324         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21325         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21326         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21327         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21328         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21329         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21330         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21331         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21332         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21333         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21334         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21335         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21336         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21337         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21338         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21339         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21340         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21341         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21342         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21343         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21345         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21346         _XOPEN_SOURCE_EXTENDED for XPG4.
21348         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21350         * Makeconfig (localtime): Remove variable.
21351         (inst_localtime-file): Likewise.
21353 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21356         Update.
21357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21358         Update.
21359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21360         Update.
21361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21362         Update.
21363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21364         Update.
21365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21366         Update.
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21368         Update.
21369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21370         Update.
21371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21372         Update.
21374 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21376         [BZ #2550]
21377         [BZ #2570]
21378         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21379         comparisons to determine direction to adjust input.
21380         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21381         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21383         Likewise.
21384         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21385         Likewise.
21386         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21387         Likewise.
21388         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21389         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21390         Likewise.
21391         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21392         Likewise.
21393         * math/libm-test.inc (nexttoward_test): Add more tests.
21395 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21397         [BZ #14040]
21398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21399         in version GLIBC_2.1, not GLIBC_2.0.
21400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21401         Likewise.
21403 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21405         [BZ #13942]
21406         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21407         (1 - x) * (1 + x).
21408         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21409         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21410         * math/libm-test.inc (acos_test): Add more tests.
21411         (asin_test): Likewise.
21412         * sysdeps/i386/fpu/libm-test-ulps: Update.
21413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21415         [BZ #14034]
21416         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21417         of square root.
21418         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21419         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21420         * math/libm-test.inc (acos_test_tonearest): New function.
21421         (acos_test_towardzero): Likewise.
21422         (acos_test_downward): Likewise.
21423         (acos_test_upward): Likewise.
21424         (asin_test_tonearest): Likewise.
21425         (asin_test_towardzero): Likewise.
21426         (asin_test_downward): Likewise.
21427         (asin_test_upward): Likewise.
21428         (main): Call the new functions.
21429         * sysdeps/i386/fpu/libm-test-ulps: Update.
21430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21432         [BZ #13884]
21433         [BZ #13924]
21434         * math/e_exp10.c: Include <float.h>.
21435         (__ieee754_exp10): Handle underflow here rather than multiplying
21436         large negative argument by M_LN10.
21437         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21438         of __ieee754_expf.
21439         * math/e_exp10l.c: Include <float.h>.
21440         (__ieee754_exp10l): Handle underflow here rather than multiplying
21441         large negative argument by M_LN10l.
21442         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21443         spurious overflow exception on underflow.
21445 2012-04-29  Marek Polacek  <polacek@redhat.com>
21447         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21448         (__fortify_function): New macro.
21449         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21450         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21451         __extern_always_inline.
21452         * libio/bits/stdio2.h: Likewise.
21453         * libio/bits/stdio.h: Likewise.
21454         * string/string.h: Likewise.
21455         * string/bits/string3.h: Likewise.
21456         * include/stdio.h: Likewise.
21457         * stdlib/bits/stdlib.h: Likewise.
21458         * stdlib/stdlib.h: Likewise.
21459         * rt/bits/mqueue2.h: Likewise.
21460         * rt/mqueue.h: Likewise.
21461         * posix/bits/unistd.h: Likewise.
21462         * posix/unistd.h: Likewise.
21463         * io/bits/poll2.h: Likewise.
21464         * io/bits/fcntl2.h: Likewise.
21465         * io/fcntl.h: Likewise.
21466         * io/sys/poll.h: Likewise.
21467         * misc/bits/syslog.h: Likewise.
21468         * misc/bits/syslog-ldbl.h: Likewise.
21469         * misc/sys/syslog.h: Likewise.
21470         * socket/bits/socket2.h: Likewise.
21471         * socket/sys/socket.h: Likewise.
21472         * debug/tst-chk1.c: Likewise.
21473         * wcsmbs/bits/wchar2.h: Likewise.
21474         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21475         * wcsmbs/wchar.h: Likewise.
21477 2012-04-29  Andreas Jaeger  <aj@suse.de>
21479         * Makerules (tests): Remove enable-check-abi protection.
21480         (check-abi-warn): Remove.
21481         (check-abi-%): Remove check-abi-warn usage.
21483         * configure.in: Remove check-abi configure option.
21484         * configure: Regenerated.
21485         * config.make.in (enable-check-abi): Remove.
21487 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21489         [BZ #14033]
21490         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21491         double functions to double *_finite functions.
21493         [BZ #13941]
21494         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21495         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21496         LDBL_MIN_EXP.
21497         * stdio-common/Makefile (tests): Add tst-sprintf3.
21498         * stdio-common/tst-sprintf3.c: New file.
21500         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21501         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21503 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21505         * conform/conformtest.pl: Remove duplicate typed-constant
21506         handling.
21508 2012-04-28  David S. Miller  <davem@davemloft.net>
21510         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21511         (check-abi-%): Remove AWK script prerequisite and explicit
21512         abilist directory.
21513         (check-abi): Rewrite to just diff the symlist with the abilist.
21514         (config-tls, config-abi-config): Delete, no longer used.
21515         (update-abi-%): Remove AWK script and explicit abilist directory.
21516         (update-abi): Rewrite to simply compare and conditionally copy the
21517         symlist and the sysdep abilist file.  Remove update-abi-config
21518         checks.
21519         * abilist/ld.abilist: Remove.
21520         * abilist/libBrokenLocale.abilist: Remove.
21521         * abilist/libanl.abilist: Remove.
21522         * abilist/libcrypt.abilist: Remove.
21523         * abilist/libdl.abilist: Remove.
21524         * abilist/librt.abilist: Remove.
21525         * abilist/libthread_db.abilist: Remove.
21526         * abilist/libutil.abilist: Remove.
21527         * scripts/extract-abilist.awk: Remove.
21528         * scripts/merge-abilist.awk: Remove.
21529         * sysdeps/generic/libcidn.abilist: New file.
21530         * sysdeps/generic/libnss_compat.abilist: New file.
21531         * sysdeps/generic/libnss_db.abilist: New file.
21532         * sysdeps/generic/libnss_dns.abilist: New file.
21533         * sysdeps/generic/libnss_files.abilist: New file.
21534         * sysdeps/generic/libnss_hesiod.abilist: New file.
21535         * sysdeps/generic/libnss_nis.abilist: New file.
21536         * sysdeps/generic/libnss_nisplus.abilist: New file.
21537         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21538         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21539         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21540         file.
21541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21542         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21543         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21544         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21545         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21546         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21547         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21548         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21549         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21550         file.
21551         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21552         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21553         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21554         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21555         file.
21556         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21557         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21558         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21559         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21560         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21561         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21562         file.
21563         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21564         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21565         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21566         file.
21567         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21569         New file.
21570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21571         New file.
21572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21573         New file.
21574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21575         New file.
21576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21577         New file.
21578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21579         New file.
21580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21581         New file.
21582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21583         New file.
21584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21585         New file.
21586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21587         New file.
21588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21589         New file.
21590         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21591         New file.
21592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21593         New file.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21595         file.
21596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21597         New file.
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21599         New file.
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21601         file.
21602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21603         New file.
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21605         New file.
21606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21607         file.
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21609         New file.
21610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21611         New file.
21612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21613         New file.
21614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21615         New file.
21616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21617         New file.
21618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21619         New file.
21620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21622         file.
21623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21624         New file.
21625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21626         file.
21627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21628         file.
21629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21630         file.
21631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21632         file.
21633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21634         file.
21635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21636         New file.
21637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21638         file.
21639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21640         file.
21641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21642         New file.
21643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21644         file.
21645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21647         file.
21648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21649         New file.
21650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21651         file.
21652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21653         file.
21654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21655         file.
21656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21657         file.
21658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21659         file.
21660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21661         New file.
21662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21663         file.
21664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21665         file.
21666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21667         New file.
21668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21669         file.
21670         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21671         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21672         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21673         file.
21674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21675         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21676         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21678         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21679         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21680         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21681         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21682         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21683         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21686         file.
21687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21688         New file.
21689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21690         file.
21691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21692         file.
21693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21694         file.
21695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21696         file.
21697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21698         file.
21699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21700         New file.
21701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21702         New file.
21703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21704         file.
21705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21706         New file.
21707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21708         file.
21709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21711         file.
21712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21713         New file.
21714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21715         file.
21716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21717         file.
21718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21719         file.
21720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21721         file.
21722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21723         file.
21724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21725         New file.
21726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21727         New file.
21728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21729         file.
21730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21731         New file.
21732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21733         file.
21735 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21737         * conform/conformtest.pl: Fix typo in handling typed-constant from
21738         allow-header.
21740 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21742         * README: Cut down references to pre-2.6 Linux kernels and
21743         Linuxthreads.  Update lists of configurations in libc and ports
21744         and sort alphabetically.  Say "or newer" with Linux kernel version
21745         requirements.
21747         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21749 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21751         [BZ #887]
21752         * math/libm-test.inc (logb_test_downward): New test to expose
21753         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21754         rounding mode.
21756 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21758         [BZ #14027]
21759         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21760         to be done.
21761         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21762         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21764 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21766         * sysdeps/unix/i386/brk.S: Remove file.
21767         * sysdeps/unix/i386/dl-brk.S: Likewise.
21768         * sysdeps/unix/i386/pipe.S: Likewise.
21769         * sysdeps/unix/i386/sigreturn.S: Likewise.
21770         * sysdeps/unix/i386/syscall.S: Likewise.
21771         * sysdeps/unix/i386/vfork.S: Likewise.
21772         * sysdeps/unix/i386/wait.S: Likewise.
21774         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21775         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21777         * configure.in (arm*-none*): Do not allow without
21778         --enable-hacker-mode.
21779         (netbsd*): Remove case setting base_os.
21780         (386bsd*): Likewise.
21781         (freebsd*): Likewise.
21782         (bsdi*): Likewise.
21783         (osf*): Likewise.
21784         (sunos*): Likewise.
21785         (ultrix*): Likewise.
21786         (newsos*): Likewise.
21787         (dynix*): Likewise.
21788         (*bsd*): Likewise.
21789         (sysv*): Likewise.
21790         (isc*): Likewise.
21791         (esix*): Likewise.
21792         (sco*): Likewise.
21793         (minix*): Likewise.
21794         (irix4*): Likewise.
21795         (irix6*): Likewise.
21796         (solaris[2-9]*): Likewise.
21797         (none): Likewise.
21798         * configure: Regenerated.
21800 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21802         [BZ #11521]
21803         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21804         overflow or cancellation in calculating denominator.
21805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21806         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21807         down expression to avoid unexpected rounding in newer GCCs.
21808         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21810 2012-04-26  David S. Miller  <davem@davemloft.net>
21812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21813         long-double compat symbols.
21814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21828 2012-04-25  David S. Miller  <davem@davemloft.net>
21830         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21831         HWCAP_* values only after the memory barriers have been defined.
21832         (atomic_full_barrier): Define.
21833         (atomic_read_barrier): Define.
21834         (atomic_write_barrier): Define.
21836 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21838         * shlib-versions: Add libgcc_s version information.
21839         * sysdeps/generic/libgcc_s.h: Remove.
21840         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21841         libgcc_s.h.
21842         * sysdeps/gnu/unwind-resume.c: Likewise.
21843         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21845 2012-04-25  David S. Miller  <davem@davemloft.net>
21847         * sysdeps/unix/sparc/brk.S: Delete.
21848         * sysdeps/unix/sparc/dl-brk.S: Delete.
21849         * sysdeps/unix/sparc/pipe.S: Delete.
21850         * sysdeps/unix/sparc/sysdep.S: Delete.
21851         * sysdeps/unix/sparc/sysdep.h: Delete.
21852         * sysdeps/unix/sparc/vfork.S: Delete.
21853         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21854         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21856         ret_ERRVAL, r0, r1, MOVE): Define.
21857         (JUMPTARGET): Remove.
21858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21859         sysdeps/unix/sparc/sysdep.h
21860         (ENTRY, END): Remove.
21861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21863 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
21865         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21866         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21867         -DIS_IN_build.
21869         * timezone/README: Update upstream location and email address for
21870         tzcode and tzdata.
21871         * timezone/zdump.c: Update from tzcode 2012b.
21872         * timezone/zic.c: Likewise.
21874         * configure.in (libc_cv_as_needed): Remove test.
21875         * configure: Regenerated.
21876         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21877         conditional definition.
21878         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21879         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21880         * config.make.in (have-as-needed): Remove variable.
21882 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21883             Paul Pluzhnikov  <ppluzhnikov@google.com>
21885         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21886         strings correctly.
21888 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21890         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21891         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21892         * sysdeps/sh/strlen.S: Likewise.
21894 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21896         * sysdeps/unix/fork.S: Remove file.
21897         * sysdeps/unix/i386/fork.S: Likewise.
21898         * sysdeps/unix/sparc/fork.S: Likewise.
21900         * sysdeps/unix/system.c: Remove file.
21901         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21903         * sysdeps/unix/getegid.S: Remove file.
21904         * sysdeps/unix/geteuid.S: Likewise.
21906 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21908         * scripts/check-localplt.awk: New file.
21909         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21910         of diff.
21911         * scripts/data/localplt-generic.data: Add a comment.
21913         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21914         NODE when __dir_mkfile failed.
21915         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21916         Reported by Ludovic Courtès <ludo@gnu.org>.
21918 2012-04-24  Andreas Jaeger  <aj@suse.de>
21920         * Makerules (common-clean): Also remove gen-as-const-headers
21921         files.
21923 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21925         * Makerules (native-compile): Do not change working directory for
21926         build.  Use $(OUTPUT_OPTION) in command.
21927         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21929 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21931         [BZ #13886]
21932         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21933         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21934         * math/libm-test.inc (floor_test): Add more tests.
21935         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21937 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21939         * sysdeps/unix/getdents.c: Remove file.
21940         * sysdeps/unix/sysv/getdents.c: Likewise.
21941         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21943         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21944         sysdeps/unix/mman/syscalls.list.
21945         (mmap): Likewise.
21946         (mprotect): Likewise.
21947         (msync): Likewise.
21948         (munmap): Likewise.
21949         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21950         * sysdeps/unix/mman/syscalls.list: Remove.
21951         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21953         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21954         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21955         * configure: Regenerated.
21956         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21957         $(libgcc_s_suffix).
21958         * config.make.in (libgcc_s_suffix): Remove variable.
21960 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21962         * sysdeps/unix/sysv/gethostname.c: Move to ...
21963         * sysdeps/posix/gethostname.c: ... here.
21965         * sysdeps/unix/execve.S: Remove file.
21967         * sysdeps/unix/_exit.S: Remove file.
21969 2012-04-23  Andreas Jaeger  <aj@suse.de>
21971         [BZ #13739]
21972         * manual/Makefile: Remove make dist support, there's no
21973         need for a stand-alone documentation tar ball.
21974         (TEXI2DVI): Define always, it's not in Makeconfig.
21975         (dist): Removed.
21976         (tar-it): Removed.
21977         (edition): Removed.
21978         (glibc-doc-$(edition).tar): Removed
21979         (%.Z): Removed.
21980         (%.gz): Removed.
21981         (%.uu): Removed.
21982         (ETAGS): Remove, it's in Makeconfig.
21983         (move-if-change): Remove, it's in Makeconfig.
21985 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21987         [BZ #13970]
21988         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21989         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21990         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21991         (strtod_l, strtof_l, strtold_l): Remove __wur.
21992         It is not necessarily an error to ignore strtol's return value.
21993         One can reliably look at the stored endptr to decide whether
21994         the number had valid syntax.
21996 2012-04-21  Andreas Jaeger  <aj@suse.de>
21998         [BZ #13739]
21999         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22001 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22003         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22004         * sysdeps/unix/sysv/Versions: Remove file.
22006 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22008         [BZ #13927]
22009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22011 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22013         [BZ #7064]
22014         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22015         version from __vm86.
22017 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22019         * sysdeps/unix/common/lxstat.c: Remove file.
22020         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22022         * sysdeps/unix/sysv/Makefile: Remove file.
22024         * sysdeps/unix/sysv/direct.h: Remove file.
22026         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22027         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22028         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22029         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22030         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22031         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22032         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22034         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22036         * sysdeps/unix/xmknod.c: Remove file.
22037         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22039         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22041         * sysdeps/unix/sysv/i386/time.S: Remove file.
22043         * sysdeps/unix/fxstat.c: Remove file.
22044         * sysdeps/unix/xstat.c: Likewise.
22045         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22047         * sysdeps/unix/sysv/sigaction.c: Remove file.
22049         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22050         (sysdep_headers): Remove variable.
22051         [termio.h not in sysdep_headers] (generated): Likewise.
22052         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22053         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22054         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22055         * sysdeps/unix/sysv/tcflow.c: Likewise.
22056         * sysdeps/unix/sysv/tcflush.c: Likewise.
22057         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22058         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22059         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22060         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22061         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22063         * sysdeps/unix/siglist.c: Remove file.
22065         * sysdeps/unix/getppid.S: Remove file.
22067         * sysdeps/unix/mkdir.c: Remove file.
22068         * sysdeps/unix/rmdir.c: Likewise.
22070 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22072         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22073         ERR_MAX value.
22074         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22075         errlist-compat value.
22077 2012-04-18  David S. Miller  <davem@davemloft.net>
22079         * sysdeps/generic/memcopy.h (reg_char): Delete.
22080         * debug/strcat_chk.c: Use char, not reg_char.
22081         * debug/strcpy_chk.c: Likewise.
22082         * debug/strncat_chk.c: Likewise.
22083         * debug/strncpy_chk.c: Likewise.
22084         * string/memchr.c: Likewise.
22085         * string/memrchr.c: Likewise.
22086         * string/rawmemchr.c: Likewise.
22087         * string/strcat.c: Likewise.
22088         * string/strchr.c: Likewise.
22089         * string/strchrnul.c: Likewise.
22090         * string/strcmp.c: Likewise.
22091         * string/strcpy.c: Likewise.
22092         * string/strncat.c: Likewise.
22093         * string/strncmp.c: Likewise.
22094         * string/strncpy.c: Likewise.
22096 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22098         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22099         __builtin_memcopy is called when src and dest ranges are known to not
22100         overlap.
22102 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22104         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22105         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22106         fwd_align_merge macro call.
22107         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22108         bwd_align_merge macro call.
22109         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22111 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22113         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22114         bwd_align_merge macros.
22115         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22116         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22117         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22119 2012-04-18  David S. Miller  <davem@davemloft.net>
22121         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22123 2012-04-18  Andreas Jaeger  <aj@suse.de>
22125         [BZ# 6794]
22126         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22127         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22128         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22130         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22131         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22132         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22134         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22135         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22136         Adjust for changed ldbl-128 files.
22138         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22139         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22140         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22142 2012-04-17  David S. Miller  <davem@davemloft.net>
22144         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22146 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22148         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22149         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22150         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22151         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22152         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22153         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22155 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22157         [BZ #6794]
22158         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22159         * math/libm-test.inc: Add ilogb errno and exception tests.
22160         * math/w_ilogb.c: New file: ilogb wrapper.
22161         * math/w_ilogbf.c: New file: ilogbf wrapper.
22162         * math/w_ilogbl.c: New file: ilogbl wrapper.
22163         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22164         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22165         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22166         exception being thrown with 0.0 as argument.
22167         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22168         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22169         exception being thrown with 0.0 as argument.
22170         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22171         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22172         exception being thrown with 0.0 as argument.
22173         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22174         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22175         exception being thrown with 0.0 as argument.
22176         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22177         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22178         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22179         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22180         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22181         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22182         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22183         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22184         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22186 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22188         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22189         with altivec.
22191 2012-04-16  Marek Polacek  <polacek@redhat.com>
22193         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22195 2012-04-16  Marek Polacek  <polacek@redhat.com>
22197         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22198         operands of fdivp instruction.
22200 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22202         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22203         * elf/tst-auditmod3b.c: Likewise.
22204         * elf/tst-auditmod4b.c: Likewise.
22205         * elf/tst-auditmod5b.c: Likewise.
22206         * elf/tst-auditmod6b.c: Likewise.
22207         * elf/tst-auditmod6c.c: Likewise.
22208         * elf/tst-auditmod7b.c: Likewise.
22209         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22210         * sysdeps/x86_64/preconfigure.in: Likewise.
22211         * sysdeps/x86_64/preconfigure: Regenerated.
22213 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22215         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22216         __ILP32__.
22218 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22221         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22223 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22225         [BZ #13973]
22226         * locale/iso-639.def: Fix gl language name. Spotted by
22227         Yaron Shahrabani.
22229 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22231         [BZ #2074]
22232         * libio/libio.h (__io_write_fn): Update comment.
22234 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22236         [BZ #2074]
22237         * stdio.texi (Hook Functions): The user provided writer function
22238         is not allowed to return -1.
22240 2012-04-11  David S. Miller  <davem@davemloft.net>
22242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22244 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22246         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22247         Add a leading slash to rtkaio.
22249 2012-04-11  Jim Meyering  <meyering@redhat.com>
22251         [BZ #11959]
22252         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22253         It is not necessarily an error to ignore fwrite's return
22254         value.  One can reliably use ferror to test for errors after
22255         the fact.
22257 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22259         * bits/types.h (__snseconds_t): New type.
22260         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22262         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22264         (__SNSECONDS_T_TYPE): Likewise.
22265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22266         (__SNSECONDS_T_TYPE): Likewise.
22267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22268         (__SNSECONDS_T_TYPE): Likewise.
22270 2012-04-10  Andreas Jaeger  <aj@suse.de>
22272         [BZ #2636]
22273         * manual/time.texi (Processor Time): Return type of times is
22274         elapsed real time since an arbitrary point in the past.
22275         (CPU Time): Move CLK_TCK from here...
22276         (Processor Time): ...to here.  Correct description.
22277         * manual/conf.texi (Constants for Sysconf): Correct description of
22278         _SC_CLK_TCK.
22280 2012-04-10  David S. Miller  <davem@davemloft.net>
22282         [BZ #13967]
22283         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22284         where the is a gap between DT_REL(A) and DT_JMPREL.
22286 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22288         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22289         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22290         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22292 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22294         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22295         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22296         (dl_main): Handle --inhibit-cache.
22297         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22298         _dl_inhibit_cache.
22299         * elf/dl-load.c (_dl_map_object): Use it.
22300         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22302 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22304         [BZ #13872]
22305         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22306         (__ieee754_powl): Saturate large exponents rather than testing for
22307         overflow of y*log2(x).
22308         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22309         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22310         exceptions.
22312         [BZ #11521]
22313         * math/s_ctan.c: Include <float.h>.
22314         (__ctan): Avoid internal overflow or cancellation in calculating
22315         denominator.
22316         * math/s_ctanf.c: Likewise.
22317         * math/s_ctanl.c: Likewise.
22318         * math/s_ctanh.c: Likewise.
22319         * math/s_ctanhf.c: Likewise.
22320         * math/s_ctanhl.c: Likewise.
22321         * math/libm-test.inc (ctan_test): Add more tests.
22322         (ctanh_test): Likewise.
22323         * sysdeps/i386/fpu/libm-test-ulps: Update.
22324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22326 2012-04-09  Andreas Jaeger  <aj@suse.de>
22328         [BZ #6894]
22329         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22330         is an optional BSD extension.
22332         [BZ #10254]
22333         * manual/stdio.texi (Opening Streams): Document additional fopen
22334         parameters.
22336 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22338         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22339         %eax without telling the compiler.
22341 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22343         [BZ # 13963]
22344         * manual/install.texi: Use sourceware.org.
22346 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22348         [BZ #13873]
22349         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22350         (__ieee754_pow): Generate overflow and underflow using huge*huge
22351         and tiny*tiny rather than just returning constant infinity or zero
22352         for large exponents.
22353         * math/libm-test.inc (pow_test): Require overflow exceptions for
22354         applicable cases of large exponents.
22356         [BZ #706]
22357         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22358         (__ieee754_pow): Use iterative multiplication algorithm only for
22359         integer exponents with absolute value below 1024.  Check for odd
22360         integer exponents when using algorithm for real exponents.
22361         * math/libm-test.inc (pow_test): Add more tests.
22362         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22364 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22366         [BZ #13705]
22367         * math/libm-test.inc (exp_test): Do not allow overflow exception
22368         on underflow test.
22370 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22372         [BZ #13705]
22373         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22374         instead of __kernel_standard_f.
22376 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22378         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22379         * sysdeps/x86_64/memset_chk.S: Likewise.
22381 2012-04-08  Andreas Jaeger  <aj@suse.de>
22383         [BZ #10153]
22384         * manual/startup.texi (Environment Access): Describe return value
22385         for putenv and setenv.
22387         [BZ #6895]
22388         * manual/filesys.texi (Directory Entries): Add description for
22389         DT_LNK.
22391         [BZ #6890]
22392         * manual/filesys.texi (Directory Entries): Clarify that it's file
22393         system not operating system in the description of DT_UNKNOWN.
22395         [BZ #6578]
22396         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22398 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22400         [BZ #6649]
22401         * manual/llio.texi (Opening and Closing Files): Add cross
22402         reference to explain mode argument.
22404 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22406         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22407         * sysdeps/x86_64/memset_chk.S: Likewise.
22409 2012-04-07  David S. Miller  <davem@davemloft.net>
22411         * elf/elf.h (R_SPARC_WDISP10): Define.
22412         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22413         R_SPARC_SIZE32.
22414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22415         R_SPARC_SIZE64 and R_SPARC_H34.
22417 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22419         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22420         conditions and remove no longer applicable assertion.
22422 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22424         * bits/byteswap.h: Include <features.h>.
22425         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22426         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22428 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22430         * bits/byteswap.h (__bswap_16): Removed.
22431         Include <bits/byteswap-16.h> to get __bswap_16.
22432         * sysdeps/i386/bits/byteswap.h: Likewise.
22433         * sysdeps/s390/bits/byteswap.h: Likewise.
22434         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22435         * bits/byteswap-16.h: New file.
22436         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22437         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22438         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22439         * string/Makefile (headers): Add bits/byteswap-16.h.
22441 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22443         [BZ #13895]
22444         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22445         extra indirection.
22446         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22447         * nss/tst-nss-static.c: New.
22449 2012-04-06  Robert Millan  <rmh@gnu.org>
22451         [BZ #6486]
22452         * manual/llio.texi (File Position Primitive): lseek
22453         refers to WHENCE when it really means OFFSET.
22455 2012-04-06  Andreas Jaeger  <aj@suse.de>
22457         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22458         strncmp declarations.
22460         * abilist/libc.abilist: Add __poll and __ppoll.
22462 2012-04-05  David S. Miller  <davem@davemloft.net>
22464         * scripts/check-local-headers.sh: Accept a host triplet in the
22465         path matched by the exclude regexp.
22467         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22468         definition.
22469         * sysdeps/powerpc/powerpc32/dl-machine.h
22470         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22471         * sysdeps/s390/s390-32/dl-machine.h
22472         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22473         * sysdeps/sparc/sparc32/dl-machine.h
22474         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22475         * sysdeps/sparc/sparc64/dl-machine.h
22476         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22478         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22479         lazy binding.
22480         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22481         undefined symbol errors.
22483         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22484         DT_NEEDED entries.
22486 2012-04-05  Michael Matz  <matz@suse.de>
22488         [BZ #13592]
22489         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22491 2012-04-05  Andreas Jaeger  <aj@suse.de>
22493         [BZ #13908]
22494         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22495         comment.
22497 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22499         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22500         which ROUND is no valid rounding mode.
22502 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22504         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22505         read again.
22506         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22508 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22510         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22511         an exception using FPU order intentionally.
22513 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22515         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22516         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22517         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22518         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22520 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22522         [BZ #12340]
22523         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22524         EINVAL when BUFLEN is too smal.
22526 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22528         [BZ #13553]
22529         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22530         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22532 2012-04-03  Andreas Jaeger  <aj@suse.de>
22534         [BZ #13938]
22535         * manual/setjmp.texi (System V contexts): Fix sentence.
22537         [BZ #13926]
22538         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22539         New macro for this case.
22540         [!__GNUC__] (__bswap_64): New inline function for this case.
22541         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22542         * bits/byteswap.h: Likewise.
22543         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22544         ull, guard with __GLIBC_HAVE_LONG_LONG.
22546         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22547         __GLIBC_HAVE_LONG_LONG.
22549         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22550         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22552 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22554         [BZ #13691]
22555         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22556         inptr and inend, rather than using last_ch.
22558 2012-04-02  David S. Miller  <davem@davemloft.net>
22560         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22561         * stdio-common/printf-parse.h (read_int): Change return type to
22562         'int', return -1 on INT_MAX overflow.
22563         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22564         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22565         overflows INT_MAX.  Check for overflow of in-format-string precision
22566         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22567         SIZE_MAX not INT_MAX for integer overflow test.
22568         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22569         skip the construct in the format string but do not record anything.
22570         * stdio-common/bug22.c: Adjust to test both width/prevision
22571         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22572         explicitly for proper errno values.
22574 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22576         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22577         CHAR_MAX.
22578         * string/test-strcmp.c [! WIDE]: Likewise.
22579         * time/tst-mktime2.c: Likewise for INT_MAX.
22580         * string/test-string.h: #include <sys/param.h> for MIN.
22582         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22583         * sysdeps/i386/init-first.c (init): Likewise.
22584         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22585         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22586         * sysdeps/sh/init-first.c (init): Likewise.
22588 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22590         * po/ru.po: Update from translation team.
22591         * po/vi.po: Likewise.
22593 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22595         * resolv/nss_dns/dns-host.c: Merge copyright years.
22597 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22599         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22600         Optimize memcpy with prefetch if
22601         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22602         src, dst pointers have unequal 16 byte alignments.
22604 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22606         [BZ #13928]
22607         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22608         from a CNAME entry and return the minimum ttl for the query.
22609         (gaih_getanswer_slice): Likewise.
22611 2012-03-30  Jeff Law  <law@redhat.com>
22613         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22614         due to long keys.
22615         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22616         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22618         * resolv/nss_dns/dns-host.c: Update copyright year.
22620 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22622         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22623         requests to save a system call.  Fix check that all bytes are sent.
22625         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22626         comments for sendmmsg.
22628 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22630         [BZ #13691]
22631         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22632         with only 1 character between 0x0041 and 0x01b0.
22633         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22634         * wcsmbs/tst-mbsnrtowcs.c: New file.
22636 2012-03-29  David S. Miller  <davem@davemloft.net>
22638         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22639         small copies by hand.
22641 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22643         [BZ #13761]
22644         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22645         _nss_compat_initgroups_dyn): Fall back to malloc/free
22646         for large group memberships.
22648 2012-03-28  David S. Miller  <davem@davemloft.net>
22650         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22651         that branches into memcpy.
22652         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22653         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22654         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22655         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22657         bits.
22658         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22659         implementation too.
22660         * sysdeps/sparc/mempcpy.S: New file.
22662         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22663         the IFUNC routine in the libc case.
22664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22666         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22667         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22668         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22669         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22670         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22671         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22672         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22673         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22675         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22676         loop to 256 bytes instead of 64 bytes and fix test signedness.
22678         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22679         * sysdeps/sparc/sparc32/Makefile: rather than here...
22680         * sysdeps/sparc/sparc64/Makefile: and here.
22682 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22684         * malloc/mallocbug.c: Avoid warnings about unused variables.
22686 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22688         [BZ #13760]
22689         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22690         in the right place. Discard and retry query if response is
22691         larger than input buffer size.
22693 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22695         [BZ #369]
22696         [BZ #2678]
22697         [BZ #3866]
22698         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22699         x for large integer exponent.
22700         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22701         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22702         sign of result as needed afterwards.
22703         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22704         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22705         result for underflowing pow the same as for overflow.
22706         (__kernel_standard_l): Handle powl overflow and underflow here
22707         rather than calling __kernel_standard.
22708         * math/libm-test.inc (pow_test): Add more tests.
22710         [BZ #3868]
22711         [BZ #13879]
22712         [BZ #13910]
22713         [BZ #13911]
22714         [BZ #13912]
22715         [BZ #13913]
22716         [BZ #13915]
22717         [BZ #13916]
22718         [BZ #13917]
22719         [BZ #13918]
22720         [BZ #13919]
22721         [BZ #13920]
22722         [BZ #13921]
22723         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22724         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22725         (__kernel_standard_l): New function.
22726         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22727         __kernel_standard.
22728         * math/w_acosl.c (__acosl): Likewise.
22729         * math/w_asinl.c (__asinl): Likewise.
22730         * math/w_atan2l.c (__atan2l): Likewise.
22731         * math/w_atanhl.c (__atanhl): Likewise.
22732         * math/w_coshl.c (__coshl): Likewise.
22733         * math/w_exp10l.c (__exp10l): Likewise.
22734         * math/w_exp2l.c (__exp2l): Likewise.
22735         * math/w_fmodl.c (__fmodl): Likewise.
22736         * math/w_hypotl.c (__hypotl): Likewise.
22737         * math/w_j0l.c (__j0l, __y0l): Likewise.
22738         * math/w_j1l.c (__j1l, __y1l): Likewise.
22739         * math/w_jnl.c (__jnl, __ynl): Likewise.
22740         * math/w_lgammal.c (__lgammal): Likewise.
22741         * math/w_log10l.c (__log10l): Likewise.
22742         * math/w_log2l.c (__log2l): Likewise.
22743         * math/w_logl.c (__logl): Likewise.
22744         * math/w_powl.c (__powl): Likewise.
22745         * math/w_remainderl.c (__remainderl): Likewise.
22746         * math/w_scalbl.c (sysv_scalbl): Likewise.
22747         * math/w_sinhl.c (__sinhl): Likewise.
22748         * math/w_sqrtl.c (__sqrtl): Likewise.
22749         * math/w_tgammal.c (__tgammal): Likewise.
22750         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22751         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22752         * math/libm-test.inc (acos_test): Add more tests.
22753         (acosh_test): Likewise.
22754         (asin_test): Likewise.
22755         (atanh_test): Likewise.
22756         (exp_test): Likewise.
22757         (exp10_test): Likewise.
22758         (exp2_test): Likewise.
22759         (expm1_test): Likewise.
22760         (lgamma_test): Likewise.
22761         (log_test): Likewise.
22762         (log10_test): Likewise.
22763         (log1p_test): Likewise.
22764         (log2_test): Likewise.
22765         (pow_test): Do not allow some spurious overflow exceptions.
22766         (sqrt_test): Add more tests.
22767         (tgamma_test): Likewise.
22768         (y0_test): Likewise.
22769         (y1_test): Likewise.
22770         (yn_test): Likewise.
22772 2012-03-27  Anton Blanchard  <anton@samba.org>
22774         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22775         MAP_HUGETLB.
22776         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22777         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22778         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22780 2012-03-27  David S. Miller  <davem@davemloft.net>
22782         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22784         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22785         have-as-vis3 check.
22787 2012-03-27  Andreas Jaeger  <aj@suse.de>
22789         * sysdeps/x86_64/elf/configure.in: Moved to ...
22790         * sysdeps/x86_64/configure.in: ... here.
22791         * sysdeps/x86_64/elf/start.S: Moved to ...
22792         * sysdeps/x86_64/start.S: ... here.
22793         * sysdeps/x86_64/elf/configure: Delete.
22795         * sysdeps/x86_64/configure.in: Merge contents from
22796         sysdeps/i386/configure.in (without i686 check).
22798         * sysdeps/i386/elf/Versions: Merge into ...
22799         * sysdeps/i386/Versions: ... this.
22800         * sysdeps/i386/elf/Versions: Delete file.
22801         * sysdeps/i386/elf/start.S: Moved to ...
22802         * sysdeps/i386/start.S: ...here.
22803         * sysdeps/i386/elf/configure.in: Merge into...
22804         * sysdeps/i386/configure.in: ...here.
22805         * sysdeps/i386/elf/configure.in: Delete file.
22806         * sysdeps/i386/elf/configure: Delete file.
22808         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22809         * debug/backtracesyms.c: ... here.
22810         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22811         * debug/backtracesymsfd.c: ... here.
22812         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22813         * sysdeps/generic/ifunc-sel.h: ... here.
22815         * sysdeps/unix/i386/start.c: Delete file.
22816         * sysdeps/unix/sparc/start.c: Delete file.
22817         * sysdeps/unix/start.c: Delete file.
22819         * sysdeps/sh/elf/configure.in: Moved to ...
22820         * sysdeps/sh/configure.in: ... here.
22821         * sysdeps/sh/elf/start.S: Moved to ...
22822         * sysdeps/sh/start.S: ... here.
22823         * sysdeps/sh/elf/configure: Delete file.
22825         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22826         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22827         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22828         * sysdeps/powerpc/powerpc64/entry.h: ... here.
22829         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22830         * sysdeps/powerpc/powerpc64/start.S: here.
22831         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22832         * sysdeps/powerpc/powerpc64/Makefile: ... this.
22833         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22834         * sysdeps/powerpc/powerpc64/configure.in: ... this.
22835         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22837         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22838         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22839         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22840         * sysdeps/powerpc/powerpc32/start.S: ... here.
22841         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22842         * sysdeps/powerpc/powerpc32/configure.in: ... this.
22843         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22845         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22846         * sysdeps/powerpc/ifunc-sel.h: ... here.
22847         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22848         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22850         * sysdeps/sparc/elf/configure.in: Moved to ...
22851         * sysdeps/sparc/configure.in: ... here.
22852         * sysdeps/sparc/elf/configure: Delete file.
22853         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22854         * sysdeps/sparc/sparc32/start.S: ... here.
22855         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22856         * sysdeps/sparc/sparc64/start.S: ... here.
22857         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22858         * sysdeps/sparc/sparc32/Makefile: ... this.
22859         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22860         * sysdeps/sparc/sparc64/Makefile: ... this.
22862         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22863         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22864         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22865         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22866         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22867         * sysdeps/s390/s390-32/setjmp.S: ... here.
22868         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22869         * sysdeps/s390/s390-32/configure.in: ... here.
22870         * sysdeps/s390/s390-32/elf/configure: Delete file.
22871         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22872         * sysdeps/s390/s390-32/start.S: ... here.
22874         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22875         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22876         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22877         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22878         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22879         * sysdeps/s390/s390-64/setjmp.S: ... here.
22880         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22881         * sysdeps/s390/s390-64/configure.in: ... here
22882         * sysdeps/s390/s390-64/elf/configure: Delete file.
22883         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22884         * sysdeps/s390/s390-64/start.S: ... here.
22885         * sysdeps/s390/s390-64/elf/configure: Delete.
22887         * configure.in: Remove support for elf directories in sysdeps.
22889         * configure: Regenerated.
22890         * sysdeps/i386/configure: Regenerated.
22891         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22892         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22893         * sysdeps/s390/s390-32/configure: Regenerated.
22894         * sysdeps/s390/s390-64/configure: Regenerated.
22895         * sysdeps/sh/configure: Regenerated.
22896         * sysdeps/sparc/configure: Regenerated.
22897         * sysdeps/x86_64/configure: Regenerated.
22899 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22904         denormal result into account.
22906 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22908         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22909         Reported by Allan McRae <allan@archlinux.org>.
22911 2012-03-23  Jeff Law  <law@redhat.com>
22913         * nss/getnssent.c (__nss_getent): Fix typo.
22915 2012-03-23  David S. Miller  <davem@davemloft.net>
22917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22919 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22921         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22922         to pad to uint64_t for each field.
22923         (dl_tls_index): Replace unsigned long with uint64_t.
22925 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22926         Paul Pluzhnikov  <ppluzhnikov@google.com>
22928         [BZ #6528]
22929         * grp/Makefile (otherlibs): Don't set it.
22930         * inet/Makefile (otherlibs): Likewise.
22931         * login/Makefile (otherlibs): Likewise.
22932         * nscd/Makefile (otherlibs): Likewise.
22933         * posix/Makefile (otherlibs): Likewise.
22934         * pwd/Makefile (otherlibs): Likewise.
22935         * rt/Makefile (otherlibs): Likewise.
22936         * sunrpc/Makefile (otherlibs): Likewise.
22937         * nss/Makefile (otherlibs): Likewise.
22938         Add libnss_files to routines and static-only-routines.
22939         ($(objpfx)getent): Remove rule.
22940         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22941         static-only-routines.
22943 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22945         [BZ #13892]
22946         * math/s_cexp.c: Include <float.h>.
22947         (__cexp): Handle exp result overflowing not necessarily
22948         overflowing both real and imaginary parts of result.
22949         * math/s_cexpf.c: Likewise.
22950         * math/s_cexpl.c: Likewise.
22951         * math/libm-test.inc (cexp_test): Add more tests.
22952         * sysdeps/i386/fpu/libm-test-ulps: Update.
22953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22955 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22957         * include/link.h (ELFW): New macro.
22958         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22959         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22961 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22963         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22964         with uint64_t.
22966 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22968         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22969         declaration.
22970         (struct La_x32_retval): Likewise.
22972 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22974         * sysdeps/x86_64/preconfigure.in: New file.
22975         * sysdeps/x86_64/preconfigure: New generated file.
22977 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22979         [BZ #13824]
22980         * math/e_exp2l.c: Include <float.h>.
22981         (__ieee754_exp2l): Handle overflow and underflow cases
22982         separately.  Only pass fractional part of argument to
22983         __ieee754_expl.
22984         * math/libm-test.inc (exp2_test): Add more tests.
22986         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22987         negating x to take absolute value.
22988         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22989         Likewise.
22990         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22992         Likewise.
22993         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22994         computing low part if x was negated.
22995         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22997 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22999         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23000         la_x32_gnu_pltexit.
23001         (pltexit): Cast int_retval to ptrdiff_t.
23002         * elf/tst-auditmod3b.c: Likewise.
23003         * elf/tst-auditmod4b.c: Likewise.
23004         * elf/tst-auditmod5b.c: Likewise.
23005         * elf/tst-auditmod6b.c: Likewise.
23006         * elf/tst-auditmod6c.c: Likewise.
23007         * elf/tst-auditmod7b.c: Likewise.
23009         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23010         and x32_gnu_pltexit.
23012         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23013         __ELF_NATIVE_CLASS.
23014         (La_x32_regs): New macro.
23015         (La_x32_retval): Likewise.
23016         (la_x32_gnu_pltenter): New function prototype.
23017         (la_x32_gnu_pltexit): Likewise.
23019 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23021         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23022         exponent.
23024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23026         * configure.in (libc_cv_cc_nofma): Check for option to disable
23027         generation of FMA instructions.
23028         * configure: Regenerate.
23029         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23030         * sysdeps/ieee754/dbl-64/Makefile: New file.
23031         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23032         Remove brandred-fma4.
23033         (CFLAGS-brandred-fma4.c): Remove.
23034         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23035         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23036         define.
23037         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23038         define.
23040 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23042         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23043         LLONG_MAX != LONG_MAX.
23044         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23045         (_fitoa_word): Likewise.
23046         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23047         LLONG_MAX != LONG_MAX.
23048         * stdio-common/_itowa.h: Include <_itoa.h>.
23049         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23050         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23051         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23052         only if not defined.
23053         (_ITOA_WORD_TYPE): Likewise.
23054         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23055         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23057 2012-03-21  David S. Miller  <davem@davemloft.net>
23059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23061 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23063         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23064         of x86_64 when setting libc_cv_slibdir, libdir and
23065         libc_cv_localedir.
23066         * sysdeps/unix/sysv/linux/configure: Regenerated.
23068 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23070         * manual/lang.texi (Old Varargs): Remove section.
23071         (How Variadic): Update menu.
23072         (va_start): Do not mention varargs.h.
23074 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23075             Joseph Myers  <joseph@codesourcery.com>
23077         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23078         link test.
23079         * configure: Regenerated.
23081 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23083         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23084         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23085         conformtest.pl
23087 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23089         * NOTES: Remove.
23090         * Makefile (files-for-dist): Remove NOTES.
23091         (NOTES): Remove rule.
23092         * README: Don't refer to NOTES.
23093         * manual/creature.texi: Don't include macros.texi.
23094         * manual/intro.texi (creature.texi): Remove comment referring to
23095         NOTES.
23097         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23098         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23099         * configure: Regenerated.
23100         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23101         LIBC_TRY_CC_OPTION.
23102         (libc_cv_as_i686): Likewise.
23103         (libc_cv_cc_avx): Likewise.
23104         (libc_cv_cc_sse2avx): Likewise.
23105         (libc_cv_cc_fma4): Likewise.
23106         (libc_cv_cc_novzeroupper): Likewise.
23107         * sysdeps/i386/configure: Regenerated.
23109         [BZ #13883]
23110         * sysdeps/i386/fpu/s_cexp.S: Remove.
23111         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23112         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23113         * math/libm-test.inc (cexp_test): Add more tests.
23114         * sysdeps/i386/fpu/libm-test-ulps: Update.
23115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23117 2012-03-21  Allan McRae  <allan@archlinux.org>
23119         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23121 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23123         [BZ #13871]
23124         * math/w_exp2.c: Do not include <float.h>.
23125         (o_threshold, u_threshold): Remove.
23126         (__exp2): Calculate result before checking finiteness and calling
23127         __kernel_standard.
23128         * math/w_exp2f.c: Likewise.
23129         * math/w_exp2l.c: Likewise.
23130         * math/libm-test.inc (exp2_test): Require overflow exception for
23131         1e6 input.
23133         [BZ #3866]
23134         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23135         range of signed 64-bit integers before using fistpll.  Remove
23136         checks for whether integers fit in mantissa bits.
23137         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23138         the range of signed 32-bit integers before using fistpl.  Remove
23139         checks for whether integers fit in mantissa bits.
23140         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23141         (__ieee754_powl): Test for y outside the range of signed 64-bit
23142         integers before using fistpll.  Reduce 64-bit values to 63-bit
23143         ones as needed.
23144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23145         divide-by-zero is raised for zero to large negative powers.
23146         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23147         (__ieee754_powl): Test for y outside the range of signed 64-bit
23148         integers before using fistpll.  Reduce 64-bit values to 63-bit
23149         ones as needed.
23150         * math/libm-test.inc (pow_test): Add more tests.
23152 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23154         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23155         <stdio-common/_itoa.h>.
23156         * debug/segfault.c: Likewise.
23157         * elf/dl-cache.c: Likewise.
23158         * elf/dl-minimal.c: Likewise.
23159         * elf/dl-misc.c: Likewise.
23160         * elf/dl-sysdep.c: Likewise.
23161         * elf/dl-version.c: Likewise.
23162         * elf/rtld.c: Likewise.
23163         * hurd/hurdsock.c: Likewise.
23164         * hurd/lookup-retry.c: Likewise.
23165         * malloc/malloc.c: Likewise.
23166         * malloc/mtrace.c: Likewise.
23167         * nscd/nscd_getgr_r.c: Likewise.
23168         * nscd/nscd_getpw_r.c: Likewise.
23169         * nscd/nscd_getserv_r.c: Likewise.
23170         * posix/getopt_init.c: Likewise.
23171         * posix/wordexp.c: Likewise.
23172         * stdio-common/_itoa.c: Likewise.
23173         * stdio-common/printf_fphex.c: Likewise.
23174         * stdio-common/vfprintf.c: Likewise.
23175         * string/_strerror.c: Likewise.
23176         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23177         * sysdeps/i386/i686/hp-timing.h: Likewise.
23178         * sysdeps/mach/_strerror.c: Likewise.
23179         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23180         * sysdeps/mach/hurd/sethostid.c: Likewise.
23181         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23182         * sysdeps/mach/xpg-strerror.c: Likewise.
23183         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23184         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23185         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23186         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23187         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23188         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23189         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23190         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23191         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23192         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23193         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23194         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23195         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23196         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23197         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23198         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23199         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23200         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23201         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23202         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23203         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23205         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23207         * stdio-common/_itoa.h: Moved to ...
23208         * sysdeps/generic/_itoa.h: Here.
23210         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23212         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23213         instead of "_itoa.h" and "_itowa.h".
23214         * stdio-common/vfprintf.: Likewise.
23216 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23218         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23219         <bits/wordsize.h>.
23220         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23221         (__signbit): Likwise.
23222         (llrintf): Likwise.
23223         (llrint): Likwise.
23225 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23227         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23228         __WORDSIZE != 64.
23230 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
23232         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23233         OVERFLOW_EXCEPTION_OK.
23234         * math/libm-test.inc ("Philosophy"): Update comment about
23235         exception testing.
23236         (OVERFLOW_EXCEPTION): Define.
23237         (OVERFLOW_EXCEPTION_OK): Likewise.
23238         (INVALID_EXCEPTION_OK): Renumber.
23239         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23240         (IGNORE_ZERO_INF_SIGN): Likewise.
23241         (test_exceptions): Handle FE_OVERFLOW.
23242         (exp10_test): Expect overflow exceptions.
23243         (exp2_test): Likewise.
23244         (expm1_test): Likewise.
23245         (nextafter_test): Likewise.
23246         (pow_test): Likewise.
23247         (scalbn_test): Likewise.
23248         (scalbln_test): Likewise.
23250 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23252         * sysdeps/x86_64/bits/atomic.h
23253         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23254         64bit integer.
23255         (atomic_exchange_acq): Likewise.
23256         (__arch_exchange_and_add_body): Likewise.
23257         (__arch_add_body): Likewise.
23258         (atomic_add_negative): Likewise.
23259         (atomic_add_zero): Likewise.
23261 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23263         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23264         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23266 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23268         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23269         Check __x86_64__ instead of __WORDSIZE.
23271 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23273         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23275 2012-03-19  David S. Miller  <davem@davemloft.net>
23277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23279         * sysdeps/sparc/fpu/fenv_private.h: New file.
23280         * sysdeps/sparc/fpu/math_private.h: Use it.
23281         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23282         Remove.
23283         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23284         (libc_feholdexcept_setroundl): Remove.
23285         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23286         Remove.
23287         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23288         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23290 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23292         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23293         int64_t instead of long int.
23294         (INSERT_WORDS64): Likwise.
23296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23298         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23299         _Unwind_GetCFA return to _Unwind_Ptr first.
23301 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23303         [BZ #13629]
23304         * math/s_clog.c: Include <float.h>.
23305         (__clog): Scale large or subnormal inputs.
23306         * math/s_clogf.c: Likewise.
23307         * math/s_clogl.c: Likewise.
23308         * math/s_clog10.c: Include <float.h>.
23309         (M_LOG10_2): Define.
23310         (__clog10): Scale large or subnormal inputs.
23311         * math/s_clog10f.c: Likewise.
23312         * math/s_clog10l.c: Likewise.
23313         * math/libm-test.inc (clog_test): Add more tests.
23314         (clog10_test): Likewise.
23315         * sysdeps/i386/fpu/libm-test-ulps: Update.
23316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23318         [BZ #11451]
23319         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23320         x and y.
23321         * math/libm-test.inc (atan2_test): Add another test.
23323         * Makerules (common-objdir-compile): Remove.
23324         * sysdeps/unix/Makefile (config-generated): Do not add
23325         $(unix-generated) to variable.
23326         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23327         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23328         Remove rule.
23329         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23330         Likewise.
23331         [generic bits/local_lim.h] (before-compile): Do not append to
23332         variable.
23333         [generic bits/local_lim.h] (common-generated): Likewise.
23334         [generic sys/param.h] (before-compile): Do not append to variable.
23335         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23336         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23337         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23338         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23339         include.
23340         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23341         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23342         [generic sys/param.h] ($(addprefix
23343         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23344         [generic sys/param.h] (common-generated): Do not append to
23345         variable.
23346         [generic sys/param.h] (sysdep_headers): Likewise.
23347         [generic bits/errno.h] (before-compile): Do not append to
23348         variable.
23349         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23350         rule.
23351         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23352         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23353         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23354         [generic bits/errno.h] (common-generated): Do not append to
23355         variable.
23356         [generic bits/ioctls.h] (before-compile): Do not append to
23357         variable.
23358         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23359         rule.
23360         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23361         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23362         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23363         rule.
23364         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23365         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23366         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23367         [generic bits/ioctls.h] (common-generated): Do not append to
23368         variable.
23369         [generic sys/syscall.h] (syscall.h): Remove variable.
23370         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23371         rule.
23372         [generic sys/syscall.h] (before-compile): Do not append to
23373         variable.
23374         [generic sys/syscall.h] (common-generated): Likewise.
23375         * sysdeps/unix/errnos-tmpl.c: Remove file.
23376         * sysdeps/unix/errnos.awk: Likewise.
23377         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23378         * sysdeps/unix/ioctls.awk: Likewise.
23379         * sysdeps/unix/mk-local_lim.c: Likewise.
23380         * sysdeps/unix/snarf-ioctls: Likewise.
23382 2012-03-19  Richard Henderson  <rth@twiddle.net>
23384         * sysdeps/i386/fpu/fenv_private.h: New file.
23385         * sysdeps/i386/fpu/math_private.h: Use it.
23386         (math_opt_barrier, math_force_eval): Remove.
23387         (libc_feholdexcept_setround_53bit): Remove.
23388         (libc_feupdateenv_53bit): Remove.
23389         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23390         (math_opt_barrier, math_force_eval): Remove.
23391         (libc_feholdexcept): Remove.
23392         (libc_feholdexcept_setround): Remove.
23393         (libc_fetestexcept, libc_fesetenv): Remove.
23394         (libc_feupdateenv_test): Remove.
23395         (libc_feupdateenv, libc_feholdsetround): Remove.
23396         (libc_feresetround): Remove.
23398         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23399         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23401         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23402         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23403         (libc_feupdateenv_testl): New.
23404         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23405         (libc_feupdateenv_testf): New.
23406         (libc_feupdateenv): Use libc_feupdateenv_test.
23407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23408         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23410         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23411         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23412         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23413         (libc_feresetround_noex): New.
23414         (libc_feresetround_noexf): New.
23415         (libc_feresetround_noexl): New.
23416         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23417         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23418         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23419         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23420         SET_RESTORE_ROUND.
23421         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23422         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23423         (__cos): Likewise.
23424         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23425         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23426         SET_RESTORE_ROUND_NOEX.
23427         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23428         SET_RESTORE_ROUND_NOEXF.
23429         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23430         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23431         (libc_feholdsetroundf): New.
23432         (libc_feresetround, libc_feresetroundf): New.
23434         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23435         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23436         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23438         * sysdeps/generic/math_private.h: Include <fenv.h>.
23439         (default_libc_feholdexcept): New.
23440         (default_libc_feholdexcept_setround): New.
23441         (default_libc_fesetenv, default_libc_feupdateenv): New.
23442         (libc_feholdexcept): Only define if undefined.
23443         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23444         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23445         (libc_feholdexcept_setroundl): Likewise.
23446         (libc_feholdexcept_setround_53bit): Likewise.
23447         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23448         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23449         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23450         (libc_feupdateenv_53bit): Likewise.
23451         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23452         (libc_feholdexcept): Convert from macro to inline function.
23453         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23454         (libc_fesetenv, libc_feupdateenv): Likewise.
23456         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23457         not previously defined.
23458         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23459         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23460         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23461         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23462         * sysdeps/ieee754/flt-32/math_private.h: New file.
23463         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23464         math_private.h below SET_FLOAT_WORD.
23465         (__isnan, __isinf_ns, __finite): Remove.
23466         (__isnanf, __isinf_nsf, __finitef): Remove.
23468 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23472 2012-03-17  David S. Miller  <davem@davemloft.net>
23474         [BZ #6471]
23475         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23476         for 2.16.
23478 2012-03-16  David S. Miller  <davem@davemloft.net>
23480         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23481         warnings.
23483         [BZ #6471]
23484         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23485         properly.
23486         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23487         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23488         sysdep_routines when subdir is sysvipc.
23489         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23490         __getshmlba helper.
23492         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23494 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23496         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23497         [__LP64__].
23499 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23501         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23502         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23503         (__lround): Renamed to ...
23504         (__llround): This.  Replace long int with long long int.
23505         Define lround functions as aliases of llround functions.
23506         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23508 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23510         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23511         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23512         adresses to uintptr_t.  Replace "long int" and "unsigned long
23513         int" with "greg_t" on va_arg.
23515 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23517         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23518         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23520         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23521         Move e_machine check before EI_CLASS check.  Handle x32
23522         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23523         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23524         SKIP_EM_IA_64 and include
23525         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23527         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23528         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23529         (add_system_dir): New macro.
23531         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23532         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23534 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23536         [BZ #2551]
23537         [BZ #2552]
23538         [BZ #2553]
23539         [BZ #2554]
23540         [BZ #2562]
23541         [BZ #2563]
23542         [BZ #2565]
23543         [BZ #2566]
23544         [BZ #2576]
23545         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23546         (y0): Likewise.
23547         * math/w_j0f.c (j0f): Likewise.
23548         (y0f): Likewise.
23549         * math/w_j0l.c (__j0l): Likewise.
23550         (__y0l): Likewise.
23551         * math/w_j1.c (j1): Likewise.
23552         (y1): Likewise.
23553         * math/w_j1f.c (j1f): Likewise.
23554         (y1f): Likewise.
23555         * math/w_j1l.c (__j1l): Likewise.
23556         (__y1l): Likewise.
23557         * math/w_jn.c (jn): Likewise.
23558         (yn): Likewise.
23559         * math/w_jnf.c (jnf): Likewise.
23560         (ynf): Likewise.
23561         * math/w_jnl.c (__jnl): Likewise.
23562         (__ynl): Likewise.
23563         * math/libm-test.inc (j0_test): Add more tests.
23564         (j1_test): Likewise.
23565         (jn_test): Likewise.  Add trailing semicolon to existing test.
23566         (y0_test): Likewise.
23567         (y1_test): Likewise.
23568         * sysdeps/i386/fpu/libm-test-ulps: Update.
23569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23571         [BZ #13851]
23572         [BZ #13854]
23573         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23574         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23575         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23576         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23577         (__tanl): Set errno for infinite argument.
23578         * sysdeps/i386/fpu/mptan.c: Remove.
23579         * sysdeps/i386/fpu/s_tan.S: Likewise.
23580         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23581         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23582         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23583         * math/libm-test.inc (tan_test): Add more tests and enable more
23584         tests for double and long double.
23585         * sysdeps/i386/fpu/libm-test-ulps: Update.
23586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23588 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23590         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23591         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23593 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23595         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23596         * configure.in: Use it for both main tree and add-ons.
23597         * configure: Regenerated.
23599 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23601         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23603 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23605         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23606         in comment.
23608         [BZ #13851]
23609         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23610         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23611         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23612         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23613         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23614         infinite argument.
23615         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23617         != 0 for prec == 2.
23618         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23619         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23620         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23621         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23622         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23623         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23624         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23625         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23626         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23627         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23628         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23629         * math/libm-test.inc (cos_test): Add more tests and enable more
23630         tests for long double.
23631         (sin_test): Likewise.
23632         (sincos_test): Likewise.
23633         * sysdeps/i386/fpu/libm-test-ulps: Update.
23634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23636 2012-03-16  David S. Miller  <davem@davemloft.net>
23638         * sysdeps/sparc/fpu/math_private.h: New file.
23640 2012-03-15  David S. Miller  <davem@davemloft.net>
23642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23643         file.
23644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23646         file.
23647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23652         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23653         sysdep routines.
23654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23656         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23657         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23659         * sysdeps/sparc/sparc-ifunc.h: New file.
23660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23661         sparc-ifunc.h
23662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23664         Likewise.
23665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23666         Likewise.
23667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23671         Likewise.
23672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23677         Likewise.
23678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23679         Likewise.
23680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23686         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23687         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23698         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23699         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23700         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23701         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23703         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23705 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23707         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23708         scaling.
23709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23711 2012-03-15  Andreas Jaeger  <aj@suse.de>
23713         [BZ #13852]
23714         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23715         ieee754/flt-32 implementation for sin, cos and sincos.
23716         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23717         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23718         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23719         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23720         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23721         ieee754/flt-32 implementation for tan.
23723         * math/libm-test.inc (cos_test): Enable some large input tests for
23724         float as well
23725         (sin_test): Likewise.
23726         (sincos_test): Likewise.
23727         (tan_test): Add tests for large input.
23729         * sysdeps/i386/fpu/libm-test-ulps: Update.
23731 2012-03-15  Andreas Jaeger  <aj@suse.de>
23733         [BZ #13658]
23734         * math/libm-test.inc (cos_test): Add more test cases.
23735         (sin_test): Likewise.
23736         (sincos_test): Likewise.
23738 2012-03-15  Andreas Jaeger  <aj@suse.de>
23740         [BZ #13837]
23741         * math/libm-test.inc (cos_test): Add a test case for large input
23742         value.
23743         (sin_test): Likewise.
23744         (sincos_test): Likewise.
23746 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23747         Joseph Myers  <joseph@codesourcery.com>
23749         [BZ #13658]
23750         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23751         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23752         * sysdeps/i386/fpu/branred.c: Likewise.
23753         * sysdeps/i386/fpu/dosincos.c: Likewise.
23754         * sysdeps/i386/fpu/mpa.c: Likewise.
23755         * sysdeps/i386/fpu/s_cos.S: Likewise.
23756         * sysdeps/i386/fpu/s_sin.S: Likewise.
23757         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23758         * sysdeps/i386/fpu/sincos32.c: Likewise.
23760         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23761         Define.
23762         (libc_feupdateenv_53bit): Define.
23763         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23764         Define.
23765         (libc_feupdateenv_53bit): Define.
23767         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23768         53 bit (without extend i386 double precision).
23770         * math/libm-test.inc (sincos_test): Add tests for large input.
23771         (sin): Likewise.
23772         (cos): Likewise.
23774         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23776 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23780 2012-03-15  David S. Miller  <davem@davemloft.net>
23782         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23783         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23784         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23785         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23798         file.
23799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23801         file.
23802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23804         file.
23805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23807         file.
23808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23810         fmin/fmax sysdep routines.
23811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23813 2012-03-14  David S. Miller  <davem@davemloft.net>
23815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23819         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23820         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23821         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23822         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23829         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23831         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23832         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23833         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23834         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23835         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23836         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23837         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23838         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23839         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23840         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23841         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23843         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23844         routines.
23845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23846         file.
23847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23849         file.
23850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23852         file.
23853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23855         file.
23856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23858         file.
23859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23861         file.
23862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23863         file.
23864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23865         file.
23866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23867         file.
23868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23869         New file.
23870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23871         file.
23872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23873         file.
23874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23876         file.
23877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23879         file.
23880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23882         file.
23883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23885         VIS3 routines.
23887         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23888         New file.
23890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23892         * sysdeps/sparc/configure.in: New file.
23893         * sysdeps/sparc/configure: Generate.
23894         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23895         * configure: Regenerate.
23896         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23897         * config.make.in (have-as-vis3): New.
23898         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23899         available use -Av9d instead of -Av9a.
23900         * sysdeps/sparc/sparc64/Makefile: Likewise.
23901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23903         New file.
23904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23905         file.
23906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23907         New file.
23908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23909         file.
23910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23911         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23912         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23916         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23917         fzeros/fnegs to load 0x80000000 into a float register instead of
23918         using the stack.
23919         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23921 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23924         bits/syscall.h.
23925         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23926         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23927         ($(inst_includedir)/bits/syscall.h): Remove rule.
23928         ($(objpfx)bits/syscall.d): Include instead of
23929         $(objpfx)syscall-list.d.
23930         (generated): Change syscall-list.h and syscall-list.d to
23931         bits/syscall.h and bits/syscall.d.
23933 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23935         [BZ #13846]
23936         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23938 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23940         [BZ #13841]
23941         * math/s_csqrt.c: Include <float.h>.
23942         (__csqrt): Scale large or subnormal inputs.
23943         * math/s_csqrtf.c: Likewise.
23944         * math/s_csqrtl.c: Likewise.
23945         * math/libm-test.inc (csqrt_test): Add more tests.
23946         * sysdeps/i386/fpu/libm-test-ulps: Update.
23947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23949         [BZ #13840]
23950         * math/libm-test.inc (hypot_test): Add more tests.
23952 2012-03-13  David S. Miller  <davem@davemloft.net>
23954         [BZ #13840]
23955         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23956         double-precision for the calculation instead of scaling.
23958 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23960         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23961         manipulate bits before adding and subtracting TWO52[sx].
23962         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23963         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23964         Likewise.
23965         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23967 2012-03-13  David S. Miller  <davem@davemloft.net>
23969         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23970         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23972         rtld-global-offsets.h
23973         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23975         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23976         large parameters.
23978         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23980         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23981         'err' in the ifdef scope in which it is actually used.
23983         * nss/nss_db/db-init.c: Include string.h
23985 2012-03-12  David S. Miller  <davem@davemloft.net>
23987         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23988         masking out of the most significant byte of random value used.
23989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23990         Fix coding style in previous change.
23992         * sysdeps/unix/sysv/linux/kernel-features.h
23993         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23994         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23995         expression.
23996         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23997         later.
23999 2012-03-11  David S. Miller  <davem@davemloft.net>
24001         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24002         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24003         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24004         for 'resultvar' otherwise things get truncated on 64-bit.
24006         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24007         Fix masking out of the most significant byte of random value used.
24009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24011 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24015 2012-03-09  David S. Miller  <davem@davemloft.net>
24017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24018         variables with appropriate CPP guards.
24019         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24020         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24021         on resulting framesize and the management of the outregs buffer for pltexit.
24022         Preserve floating point return values across _dl_call_pltexit call.
24023         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24024         framesize and the management of the outregs buffer for pltexit.
24025         Preserve floating point return values across _dl_call_pltexit
24026         call.
24027         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24028         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24029         (print_exit): Fix format string for return register value.
24031 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24033         * sunrpc/Makefile (others): Add rpcgen.
24034         ($(objpfx)rpcgen): Remove special build rule and dependency on
24035         libc.
24036         * sunrpc/rpcgen.c: New file.
24038 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24040         [BZ #13673]
24041         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24042         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24043         * sysdeps/i386/crti.S: Likewise.
24044         * sysdeps/i386/crtn.S: Likewise.
24045         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24046         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24047         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24048         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24049         * sysdeps/sh/crti.S: Likewise.
24050         * sysdeps/sh/crtn.S: Likewise.
24051         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24053         [BZ #13673]
24054         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24055         with URL.
24056         * locale/programs/locfile-kw.gperf: Likewise.
24057         * locale/programs/charmap-kw.h: Regenerated.
24058         * locale/programs/locfile-kw.h: Likewise.
24060         [BZ #13673]
24061         * intl/plural.y: Replace FSF snail mail address with URL.
24062         * intl/plural.c: Regenerated.
24064 2012-03-09  Richard Henderson  <rth@twiddle.net>
24066         * include/math_private.h: Remove file.
24067         * math/math_private.h: Move file ...
24068         * sysdeps/generic/math_private.h: ... here.
24070         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24071         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24072         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24074         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24075         and <math_private.h>.
24076         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24077         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24078         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24079         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24080         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24081         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24082         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24084         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24085         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24086         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24088         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24089         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24090         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24091         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24092         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24093         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24094         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24095         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24097         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24098         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24100         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24101         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24102         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24103         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24106         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24107         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24108         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24109         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24110         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24111         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24112         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24113         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24114         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24115         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24116         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24117         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24118         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24119         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24120         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24121         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24122         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24123         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24124         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24125         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24126         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24127         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24128         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24129         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24130         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24131         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24132         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24133         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24134         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24135         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24136         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24137         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24138         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24139         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24140         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24141         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24142         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24143         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24144         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24146         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24147         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24148         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24149         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24150         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24151         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24152         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24153         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24155         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24156         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24157         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24158         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24159         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24160         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24162         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24163         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24164         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24165         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24166         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24167         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24168         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24169         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24170         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24171         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24172         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24173         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24174         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24175         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24176         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24177         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24178         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24179         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24180         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24181         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24182         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24183         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24184         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24186         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24187         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24188         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24189         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24190         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24191         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24192         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24193         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24194         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24195         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24196         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24197         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24198         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24199         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24200         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24201         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24202         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24203         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24204         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24205         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24206         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24207         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24208         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24209         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24210         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24211         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24212         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24213         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24214         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24215         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24216         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24217         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24218         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24219         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24220         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24221         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24222         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24223         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24224         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24225         * sysdeps/ieee754/k_standard.c: Likewise.
24226         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24227         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24228         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24229         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24230         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24231         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24232         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24233         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24234         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24235         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24236         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24237         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24238         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24239         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24240         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24241         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24242         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24243         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24244         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24245         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24246         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24247         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24248         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24249         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24250         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24251         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24252         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24253         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24254         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24255         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24256         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24257         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24258         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24259         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24260         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24261         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24262         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24264         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24265         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24266         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24267         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24268         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24269         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24270         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24271         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24272         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24273         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24274         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24275         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24276         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24277         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24278         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24279         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24280         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24281         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24282         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24283         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24284         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24285         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24286         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24287         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24288         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24289         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24290         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24291         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24292         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24293         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24294         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24295         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24296         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24297         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24298         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24299         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24300         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24301         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24302         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24303         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24304         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24305         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24306         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24307         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24308         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24309         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24310         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24311         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24312         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24313         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24314         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24315         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24316         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24317         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24318         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24319         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24321         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24323         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24324         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24325         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24326         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24327         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24328         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24329         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24330         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24333         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24334         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24335         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24336         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24337         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24338         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24339         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24340         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24341         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24342         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24343         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24344         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24345         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24346         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24347         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24348         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24349         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24350         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24351         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24352         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24353         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24354         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24355         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24356         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24357         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24358         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24359         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24360         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24361         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24362         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24363         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24364         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24365         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24366         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24367         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24368         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24369         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24370         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24371         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24372         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24373         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24374         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24375         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24376         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24377         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24378         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24379         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24380         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24381         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24382         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24383         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24384         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24385         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24386         * sysdeps/ieee754/s_lib_version.c: Likewise.
24387         * sysdeps/ieee754/s_matherr.c: Likewise.
24388         * sysdeps/ieee754/s_signgam.c: Likewise.
24389         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24390         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24391         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24392         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24393         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24394         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24395         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24396         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24397         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24398         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24399         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24400         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24401         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24402         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24403         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24404         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24405         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24406         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24407         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24408         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24411 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24413         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24414         * sunrpc/rpc_main.c: Likewise.
24415         * sunrpc/rpc_svcout.c: Likewise.
24417 2012-03-09  David S. Miller  <davem@davemloft.net>
24419         * include/math_private.h: New file.
24421 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24423         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24424         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24425         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24426         from <bits/socket_type.h>.
24427         (enum __socket_type): Don't define here.
24428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24430         bits/socket_type.h.
24432         [BZ #13566]
24433         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24434         checking __USE_GNU.
24436         * Makerules ($(inst_includedir)/%.h): New rule.
24437         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24438         (install-others): Remove variable setting.
24439         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24441 2012-03-08  Richard Henderson  <rth@twiddle.net>
24443         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24444         from macro to inline function; merge with the
24445         !__LIBC_INTERNAL_MATH_INLINES version.
24446         (__ieee754_sqrtf): Likewise.
24448         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24449         to inline function.
24450         (__rintf, __floor, __floorf): Likewise.
24452         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24453         macro to inline function.
24454         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24456         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24457         not <math/math_private.h>.
24459 2012-03-08  David S. Miller  <davem@davemloft.net>
24461         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24462         copyright year.
24463         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24465 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24467         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24468         normalization.
24469         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24470         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24472 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24474         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24475         be defined individually, they must be defined as a block.  Define
24476         S for printing a string instead of hidint the different by using a
24477         macro for adding the 'l'.
24478         * stdio-common/tst-fphex-wide.c: Adjust.
24480 2012-03-07  Marek Polacek  <polacek@redhat.com>
24482         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24484 2012-03-08  Marek Polacek  <polacek@redhat.com>
24486         [BZ #13806]
24487         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24488         * stdio-common/tst-fphex.c: Define a few macros to make the
24489         test reusable.  Use them.
24490         * stdio-common/tst-fphex-wide.c: New file.
24492 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24494         [BZ #6911]
24495         * manual/macros.texi (gnusystems): New macro.
24496         (nongnusystems): Likewise.
24497         (gnulinuxhurdsystems): Likewise.
24498         (gnuhurdsystems): Likewise..
24499         (gnulinuxsystems): Likewise.
24500         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24501         variants of the GNU system, not "GNU system".
24502         * manual/conf.texi: Likewise.
24503         * manual/errno.texi: Likewise.  Update example of errno macro
24504         expansion.
24505         * manual/filesys.texi: Likewise.
24506         (getumask): Document as specific to GNU/Hurd.
24507         * manual/install.texi: Likewise.  Reword some references to
24508         GNU/Linux.
24509         * manual/intro.texi: Likewise.
24510         * manual/io.texi: Likewise.
24511         (File Name Portability): Detail which constraints are inapplicable
24512         to all GNU systems and which are only inapplicable to GNU/Hurd.
24513         * manual/job.texi: Likewise.
24514         * manual/llio.texi: Likewise.
24515         (O_NOCTTY): Document as present on GNU/Linux.
24516         * manual/maint.texi: Likewise.
24517         * manual/memory.texi: Likewise.
24518         * manual/pattern.texi: Likewise.
24519         * manual/pipe.texi: Likewise.
24520         * manual/process.texi: Likewise.
24521         * manual/resource.texi: Likewise.
24522         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24523         child on GNU/Hurd.
24524         * manual/setjmp.texi: Likewise.
24525         * manual/signal.texi: Likewise.
24526         * manual/startup.texi: Likewise.
24527         * manual/stdio.texi: Likewise.
24528         * manual/terminal.texi: Likewise.
24529         (ONLCR): Document as POSIX.
24530         (OXTABS): Document availability on GNU/Linux as XTABS.
24531         (ONOEOT): Document availability separately from other bits.
24532         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24533         * manual/time.texi: Likewise.
24534         * manual/users.texi: Likewise.
24535         * INSTALL: Regenerated.
24536         * sysdeps/gnu/errlist.c: Regenerated.
24538         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24539         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24540         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24541         puts.
24542         * configure: Regenerated.
24544 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24546         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24547         default includes instead of AC_HEADER_CHECK.
24548         * sysdeps/i386/configure: Regenerated.
24550         [BZ #10716]
24551         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24552         * math/s_cacoshf.c (__cacoshf): Likewise.
24553         * math/s_cacoshl.c (__cacoshl): Likewise.
24554         * math/s_casinh.c (__casinh): Set signs of result from argument.
24555         * math/s_casinhf.c (__casinhf): Likewise.
24556         * math/s_casinhl.c (__casinhl): Likewise.
24557         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24558         (casinh_test): Add more tests.
24559         * sysdeps/i386/fpu/libm-test-ulps: Update.
24560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24562 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24564         * po/zh_TW.po: Update from translation team.
24566         * login/Makefile (distribute): Remove variable.
24567         * catgets/Makefile: Likewise.
24568         * mach/Makefile: Likewise.
24569         * malloc/Makefile: Likewise.
24570         * misc/Makefile: Likewise.
24571         * iconv/Makefile: Likewise.
24572         * nscd/Makefile: Likewise.
24573         * hurd/Makefile: Likewise.
24574         * manual/Makefile: Likewise.
24575         * locale/Makefile: Likewise.
24576         * intl/Makefile: Likewise.
24577         * conform/Makefile: Likewise.
24578         * nss/Makefile: Likewise.
24579         * time/Makefile: Likewise.
24580         * soft-fp/Makefile: Likewise.
24581         * dirent/Makefile: Likewise.
24582         * gmon/Makefile: Likewise.
24583         * po/Makefile: Likewise.
24584         * rt/Makefile: Likewise.
24585         * socket/Makefile: Likewise.
24586         * math/Makefile: Likewise.
24587         * signal/Makefile: Likewise.
24588         * debug/Makefile: Likewise.
24589         * elf/Makefile: Likewise.
24590         * timezone/Makefile: Likewise.
24591         * stdlib/Makefile: Likewise.
24592         * iconvdata/Makefile: Likewise.
24593         * sunrpc/Makefile: Likewise.
24594         * io/Makefile: Likewise.
24595         * argp/Makefile: Likewise.
24596         * inet/Makefile: Likewise.
24597         * hesiod/Makefile: Likewise.
24598         * grp/Makefile: Likewise.
24599         * csu/Makefile: Likewise.
24600         * wctype/Makefile: Likewise.
24601         * crypt/Makefile: Likewise.
24602         * libio/Makefile: Likewise.
24603         * string/Makefile: Likewise.
24604         * nis/Makefile: Likewise.
24605         * resolv/Makefile: Likewise.
24606         * stdio-common/Makefile: Likewise.
24607         * wcsmbs/Makefile: Likewise.
24608         * dlfcn/Makefile: Likewise.
24609         * posix/Makefile: Likewise.
24611         [BZ #6959]
24612         * timezone/Makefile: Don't install timezone files, just the programs
24613         and scripts.
24615 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24617         * nss/databases.def: Add missing gshadow entry.
24619         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24621 2012-03-06  Marek Polacek  <polacek@redhat.com>
24623         [BZ #13726]
24624         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24625         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24626         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24627         * stdio-common/tst-long-dbl-fphex.c: New file.
24629 2012-03-06  David S. Miller  <davem@davemloft.net>
24631         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24632         (set_obp_int): New function.
24633         (get_obp_int): New function.
24634         (__get_clockfreq_via_dev_openprom): Likewise.
24635         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24636         Avoid unused variable warnings on 'val' and use builtin_expect.
24637         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24638         __builtin_expect.
24639         (INLINE_CLONE_SYSCALL): Likewise.
24641 2012-03-05  David S. Miller  <davem@davemloft.net>
24643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24645 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24649         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24650         only for |x| >= 40.
24651         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24653 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24655         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24656         Replace gettimeofday with __vdso_gettimeofday.
24658         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24659         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24660         __vdso_clock_gettime and __vdso_getcpu.
24662         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24663         time with __vdso_time.
24665 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24667         * manual/lang.texi (size_t): Note types to which size_t may be
24668         equivalent with the GNU C Library, but do not describe when
24669         differences between them are significant.
24671 2012-03-05  Andreas Jaeger  <aj@suse.de>
24673         * sysdeps/i386/fpu/libm-test-ulps: Update.
24675 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24677         [BZ #3976]
24678         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24679         (__ieee754_pow): Save and restore rounding mode and use
24680         round-to-nearest for main computations.
24681         * math/libm-test.inc (pow_test_tonearest): New function.
24682         (pow_test_towardzero): Likewise.
24683         (pow_test_downward): Likewise.
24684         (pow_test_upward): Likewise.
24685         (main): Call the new functions.
24686         * sysdeps/i386/fpu/libm-test-ulps: Update.
24687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24689         [BZ #3976]
24690         * math/libm-test.inc (cosh_test_tonearest): New function.
24691         (cosh_test_towardzero): Likewise.
24692         (cosh_test_downward): Likewise.
24693         (cosh_test_upward): Likewise.
24694         (sinh_test_tonearest): Likewise.
24695         (sinh_test_towardzero): Likewise.
24696         (sinh_test_downward): Likewise.
24697         (sinh_test_upward): Likewise.
24698         (main): Call the new functions.
24699         * sysdeps/i386/fpu/libm-test-ulps: Update.
24700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24702 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24704         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24705         default stack guard is set in last bytes.
24706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24708 2012-03-05  Kees Cook  <keescook@chromium.org>
24710         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24712         [BZ #13656]
24713         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24714         possibly allocate from heap instead of stack.
24715         * stdio-common/bug-vfprintf-nargs.c: New file.
24716         * stdio-common/Makefile (tests): Add nargs overflow test.
24718 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24722 2012-03-03  Marek Polacek  <polacek@redhat.com>
24724         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24725         * math/math_private.h: Likewise.
24726         * stdlib/tst-strtod.c: Likewise.
24727         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24728         * sysdeps/x86_64/bits/atomic.h: Likewise.
24730 2012-03-02  David S. Miller  <davem@davemloft.net>
24732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24736         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24737         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24738         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24739         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24741 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24743         [BZ #13792]
24744         * manual/examples/README: New file, says the example source files
24745         can be used under GPL>=2.
24746         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24747         line containing just "*/".
24748         * manual/examples/add.c: Add copyright header (GPL>=2).
24749         * manual/examples/argp-ex1.c: Likewise.
24750         * manual/examples/argp-ex2.c: Likewise.
24751         * manual/examples/argp-ex3.c: Likewise.
24752         * manual/examples/argp-ex4.c: Likewise.
24753         * manual/examples/atexit.c: Likewise.
24754         * manual/examples/db.c: Likewise.
24755         * manual/examples/dir.c: Likewise.
24756         * manual/examples/dir2.c: Likewise.
24757         * manual/examples/execinfo.c: Likewise.
24758         * manual/examples/filecli.c: Likewise.
24759         * manual/examples/filesrv.c: Likewise.
24760         * manual/examples/fmtmsgexpl.c: Likewise.
24761         * manual/examples/genpass.c: Likewise.
24762         * manual/examples/inetcli.c: Likewise.
24763         * manual/examples/inetsrv.c: Likewise.
24764         * manual/examples/isockad.c: Likewise.
24765         * manual/examples/longopt.c: Likewise.
24766         * manual/examples/memopen.c: Likewise.
24767         * manual/examples/memstrm.c: Likewise.
24768         * manual/examples/mkfsock.c: Likewise.
24769         * manual/examples/mkisock.c: Likewise.
24770         * manual/examples/mygetpass.c: Likewise.
24771         * manual/examples/pipe.c: Likewise.
24772         * manual/examples/popen.c: Likewise.
24773         * manual/examples/rprintf.c: Likewise.
24774         * manual/examples/search.c: Likewise.
24775         * manual/examples/select.c: Likewise.
24776         * manual/examples/setjmp.c: Likewise.
24777         * manual/examples/sigh1.c: Likewise.
24778         * manual/examples/sigusr.c: Likewise.
24779         * manual/examples/stpcpy.c: Likewise.
24780         * manual/examples/strdupa.c: Likewise.
24781         * manual/examples/strftim.c: Likewise.
24782         * manual/examples/strncat.c: Likewise.
24783         * manual/examples/subopt.c: Likewise.
24784         * manual/examples/swapcontext.c: Likewise.
24785         * manual/examples/termios.c: Likewise.
24786         * manual/examples/testopt.c: Likewise.
24787         * manual/examples/testpass.c: Likewise.
24788         * manual/examples/timeval_subtract.c: Likewise.
24790         [BZ #13792]
24791         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24792         function to ...
24793         * manual/timeval_subtract.c.texi: ... here, new file.
24795 2012-03-02  David S. Miller  <davem@davemloft.net>
24797         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24799 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24801         [BZ #3976]
24802         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24803         (__sin): Save and restore rounding mode and use round-to-nearest
24804         for all computations.
24805         (__cos): Save and restore rounding mode and use round-to-nearest
24806         for all computations.
24807         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24808         <fenv.h>.
24809         (tan): Save and restore rounding mode and use round-to-nearest for
24810         all computations.
24811         * math/libm-test.inc (cos_test_tonearest): New function.
24812         (cos_test_towardzero): Likewise.
24813         (cos_test_downward): Likewise.
24814         (cos_test_upward): Likewise.
24815         (sin_test_tonearest): Likewise.
24816         (sin_test_towardzero): Likewise.
24817         (sin_test_downward): Likewise.
24818         (sin_test_upward): Likewise.
24819         (tan_test_tonearest): Likewise.
24820         (tan_test_towardzero): Likewise.
24821         (tan_test_downward): Likewise.
24822         (tan_test_upward): Likewise.
24823         (main): Call the new functions.
24824         * sysdeps/i386/fpu/libm-test-ulps: Update.
24825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24827         [BZ #10135]
24828         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24829         small n, then large n, before computing and testing k+n.
24830         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24832         Likewise.
24833         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24834         Likewise.
24835         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24836         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24837         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24838         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24839         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24840         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24841         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24842         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24843         * math/libm-test.inc (scalbn_test): Add more tests.
24844         (scalbln_test): Likewise.
24846         * manual/filesys.texi (mode_t): Describe constraints on size and
24847         signedness, not exact equivalence to a particular type.
24848         (ino_t): Likewise.
24849         (ino64_t): Likewise.
24850         (dev_t): Likewise.
24851         (nlink_t): Likewise.
24852         (blkcnt_t): Likewise.
24853         (blkcnt64_t): Likewise.
24854         * manual/llio.texi (off_t): Likewise.
24856         [BZ #3976]
24857         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24858         (__ieee754_exp): Save and restore rounding mode and use
24859         round-to-nearest for all computations.
24860         * math/libm-test.inc (exp_test_tonearest): New function.
24861         (exp_test_towardzero): Likewise.
24862         (exp_test_downward): Likewise.
24863         (exp_test_upward): Likewise.
24864         (main): Call the new functions.
24865         * sysdeps/i386/fpu/libm-test-ulps: Update.
24866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868 2012-03-01  Chris Demetriou  <cgd@google.com>
24870         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24871         have predictable order.
24873 2012-03-01  David S. Miller  <davem@davemloft.net>
24875         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24877         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24878         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24879         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24880         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24882         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24883         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24884         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24886         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24887         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24888         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24889         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24890         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24894         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24895         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24896         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24898         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24899         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24900         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24901         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24902         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24903         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24904         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24905         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24906         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24907         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24908         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24909         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24911         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24912         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24914         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24915         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24916         * sysdeps/sparc/elf/configure: Regenerated.
24918 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24920         * configure.in (AS, LD): Require binutils 2.20 or later.
24921         * configure: Regenerated.
24922         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24923         as required minimum version.
24924         * INSTALL: Regenerated.
24926         [BZ #2541]
24927         [BZ #4108]
24928         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24929         before squaring exponent.
24930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24931         bottom long double and 27 bits of top long double before squaring
24932         exponent.
24933         * math/libm-test.inc (erfc_test): Add more tests.
24934         * sysdeps/i386/fpu/libm-test-ulps: Update.
24935         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24938 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24940         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24941         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24942         containing bit-fields.
24943         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24944         * soft-fp/single.h (_FP_UNION_S): Likewise.
24945         * soft-fp/double.h (_FP_UNION_D): Likewise.
24947 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24949         [BZ #13786]
24950         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24951         not include ../strcmp.S.
24952         [USE_AS_STRNCASECMP_L]: Likewise.
24953         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24954         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24955         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24956         (__strncasecmp_l_ia32): Define as alias to
24957         __strncasecmp_l_nonascii.
24959         [BZ #5794]
24960         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24961         * sysdeps/i386/fpu/libm-test-ulps: Update.
24962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24967 2012-02-29  Jeff Law  <law@redhat.com>
24969         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24970         out of bounds read.
24972 2012-02-29  Marek Polacek  <polacek@redhat.com>
24974         [BZ #13706]
24975         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24976         * elf/Makefile: Add rules to run tst-unused-dep.out.
24978 2012-02-28  David S. Miller  <davem@davemloft.net>
24980         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24981         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24982         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24983         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24984         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24985         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24987 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24989         * math/libm-test.inc (llround_test): Move one test from
24990         lround_test.  Use TEST_f_L in moved test.
24991         (lround_test): Move misplaced test to llround_test.  Add testcase
24992         from bug 2561.
24994 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24996         * sysdeps/x86_64/fpu/e_expf.S: New file.
24997         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24999 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25001         [BZ #13637]
25002         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25003         of remain_len that may cause incomplete multi-byte character and
25004         false match.
25005         * posix/bug-regex33.c: New file.
25006         * posix/Makefile (tests): Add bug-regex33.
25008 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25010         * manual/macros.texi: New file.
25011         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25012         * manual/libc.texinfo: Include macros.texi.
25013         * manual/creatute.texi: Likewise.
25014         * manual/install.texi: Likewise.
25015         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25016         @glibcadj{} in references to the GNU C Library.
25017         * manual/charset.texi: Likewise.
25018         * manual/conf.texi: Likewise.
25019         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25020         when not using those macros.
25021         * manual/creature.texi: Likewise.
25022         * manual/crypt.texi: Likewise.
25023         * manual/errno.texi: Likewise.
25024         * manual/filesys.texi: Likewise.
25025         * manual/header.texi: Likewise.
25026         * manual/install.texi: Likewise.
25027         * manual/intro.texi: Likewise.
25028         * manual/io.texi: Likewise.
25029         * manual/job.texi: Likewise.
25030         * manual/lang.texi: Likewise.
25031         * manual/libc.texiinfo: Likewise.
25032         * manual/llio.texi: Likewise.
25033         * manual/locale.texi: Likewise.
25034         * manual/maint.texi: Likewise.
25035         * manual/math.texi: Likewise.
25036         * manual/memory.texi: Likewise.
25037         * manual/message.texi: Likewise.
25038         * manual/nss.texi: Likewise.
25039         * manual/pattern.texi: Likewise.
25040         * manual/process.texi: Likewise.
25041         * manual/resource.texi: Likewise.
25042         * manual/search.texi: Likewise.
25043         * manual/setjmp.texi: Likewise.
25044         * manual/signal.texi: Likewise.
25045         * manual/socket.texi: Likewise.
25046         * manual/startup.texi: Likewise.
25047         * manual/stdio.texi: Likewise.
25048         * manual/string.texi: Likewise.
25049         * manual/sysinfo.texi: Likewise.
25050         * manual/syslog.texi: Likewise.
25051         * manual/terminal.texi: Likewise.
25052         * manual/time.texi: Likewise.
25053         * manual/users.texi: Likewise.
25054         * INSTALL: Regenerated.
25055         * NOTES: Regenerated.
25056         * sysdeps/gnu/errlist.c: Regenerated.
25058 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25060         * include/dirent.h: Include <dirstream.h> before
25061         <dirent/dirent.h>.
25063 2012-02-28  David S. Miller  <davem@davemloft.net>
25065         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25066         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25067         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25068         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25070 2012-02-27  David S. Miller  <davem@davemloft.net>
25072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25074         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25075         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25078         frame pointer instead of stack pointer relative arg slot.
25079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25080         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25081         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25083 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25085         [BZ #3992]
25086         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25088 2012-02-27  David S. Miller  <davem@davemloft.net>
25090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25094         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25095         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25096         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25097         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25099 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25101         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25102         later.  Allow versions 5-9.
25103         * configure: Regenerated.
25104         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25105         required minimum version and 4.6 as recommended version.  Do not
25106         mention bugs in GCC 2.7 and 2.8.
25107         * INSTALL: Regenerated.
25109 2012-02-27  David S. Miller  <davem@davemloft.net>
25111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25117         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25118         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25120         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25121         manipulate bits before adding and subtracting TWO112[sx].
25122         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25124 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25126         [BZ #13775]
25127         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25128         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25129         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25130         being in POSIX, because they are in 1003.1-2008.
25132         * rt/tst-aio.c: Include <fcntl.h>.
25133         * rt/tst-aio7.c: Likewise.
25134         * rt/tst-aio64.c: Likewise.
25136         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25138 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25140         * manual/install.texi (--with-headers): Describe headers as
25141         interface headers, not private headers.
25142         (Specific advice for GNU/Linux systems): Describe use of headers
25143         from "make headers_install", not private headers from older
25144         kernels.
25145         * INSTALL: Regenerated.
25146         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25147         Change to 2.6.19.
25148         * sysdeps/unix/sysv/linux/configure: Regenerated.
25150         * manual/llio.texi (fclean): Remove documentation.
25152         * manual/Makefile (libc-texi-generated): New variable.  Include
25153         version.texi.
25154         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25155         $(libc-texi-generated), not duplicated list of files.
25156         (version.texi, stamp-version): New rules.
25157         (realclean): Remove $(libc-texi-generated), not individual files
25158         from that list.  Do not remove dir-add.texinfo.
25159         * manual/libc.texinfo: Comment out uses of edition numbers and
25160         references to printed manual.  Remove last-updated dates.
25161         (EDITION): Comment out.
25162         (ISBN): Likewise.
25163         (VERSION, UPDATED): Remove.
25164         (version.texi): Include.
25166 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25168         * sysdeps/posix/spawni.c: Include <signal.h>.
25169         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25170         * sysdeps/pthread/aio_fsync.c: Likewise.
25172 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25174         * conform/Makefile (tests): Run only when not cross-compiling and
25175         when fast-check is not defined.
25177         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25178         * conform/data/limits.h-data: Fixes for POSIX2008.
25179         * conform/run-conformtest.sh: Run all tests.
25180         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25181         headers.
25182         * include/bits/dlfcn.h: Likewise.
25183         * include/langinfo.h: Likewise.
25184         * include/monetary.h: Likewise.
25185         * include/sys/poll.h: Likewise.
25187         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25188         for __USE_GNU.
25189         * posix/spawn.h: Define __need_sigset_t.
25190         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25191         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25192         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25193         to get sigevent_t only.
25194         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25195         only for __USE_GNU.
25196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25197         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25198         process_vm_writev only for __USE_GNU.
25199         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25201         * conform/Makefile: For now ignore errors from run-conformtest.
25202         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25203         POSIX to avoid namespace pollution.  Don't prepend headers.
25204         * conform/data/aio.h-data: Fixes for POSIX testing.
25205         * conform/data/fcntl.h-data: Likewise.
25206         * conform/data/glob.h-data: Likewise.
25207         * conform/data/grp.h-data: Likewise.
25208         * conform/data/pthread.h-data: Likewise.
25209         * conform/data/pwd.h-data: Likewise.
25210         * conform/data/signal.h-data: Likewise.
25211         * conform/data/spawn.h-data: Likewise.
25212         * conform/data/stdio.h-data: Likewise.
25213         * conform/data/stdlib.h-data: Likewise.
25214         * conform/data/stropts.h-data: Likewise.
25215         * conform/data/sys/mman.h-data: Likewise.
25216         * conform/data/sys/stat.h-data: Likewise.
25217         * conform/data/sys/types.h-data: Likewise.
25218         * conform/data/sys/wait.h-data: Likewise.
25219         * conform/data/time.h-data: Likewise.
25220         * conform/data/unistd.h-data: Likewise.
25221         * conform/data/utime.h-data: Likewise.
25223         * io/sys/stat.h: fchmod was always in POSIX.
25224         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25225         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25226         * rt/aio.h: Define __need_timespec before including <time.h>.
25227         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25228         struct.  Add forward declaration of pthread_attr_t and use it in
25229         sigevent.
25230         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25231         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25232         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25233         always remove CLK_TCK definition.
25235 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25237         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25239 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
25241         * conform/run-conformtest.sh: New file.
25242         * conform/Makefile: Run run-conformtest for tests.
25243         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25244         support.
25246         * conform/data/uchar.h-data: New file.
25247         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25248         * conform/data/arpa/inet.h-data: Likewise.
25249         * conform/data/assert.h-data: Likewise.
25250         * conform/data/complex.h-data: Likewise.
25251         * conform/data/cpio.h-data: Likewise.
25252         * conform/data/ctype.h-data: Likewise.
25253         * conform/data/dirent.h-data: Likewise.
25254         * conform/data/dlfcn.h-data: Likewise.
25255         * conform/data/errno.h-data: Likewise.
25256         * conform/data/fcntl.h-data: Likewise.
25257         * conform/data/float.h-data: Likewise.
25258         * conform/data/fmtmsg.h-data: Likewise.
25259         * conform/data/fnmatch.h-data: Likewise.
25260         * conform/data/ftw.h-data: Likewise.
25261         * conform/data/glob.h-data: Likewise.
25262         * conform/data/grp.h-data: Likewise.
25263         * conform/data/iconv.h-data: Likewise.
25264         * conform/data/inttypes.h-data: Likewise.
25265         * conform/data/langinfo.h-data: Likewise.
25266         * conform/data/libgen.h-data: Likewise.
25267         * conform/data/limits.h-data: Likewise.
25268         * conform/data/locale.h-data: Likewise.
25269         * conform/data/math.h-data: Likewise.
25270         * conform/data/monetary.h-data: Likewise.
25271         * conform/data/mqueue.h-data: Likewise.
25272         * conform/data/ndbm.h-data: Likewise.
25273         * conform/data/net/if.h-data: Likewise.
25274         * conform/data/netdb.h-data: Likewise.
25275         * conform/data/netinet/in.h-data: Likewise.
25276         * conform/data/nl_types.h-data: Likewise.
25277         * conform/data/poll.h-data: Likewise.
25278         * conform/data/pthread.h-data: Likewise.
25279         * conform/data/pwd.h-data: Likewise.
25280         * conform/data/regex.h-data: Likewise.
25281         * conform/data/sched.h-data: Likewise.
25282         * conform/data/search.h-data: Likewise.
25283         * conform/data/semaphore.h-data: Likewise.
25284         * conform/data/setjmp.h-data: Likewise.
25285         * conform/data/signal.h-data: Likewise.
25286         * conform/data/spawn.h-data: Likewise.
25287         * conform/data/stdarg.h-data: Likewise.
25288         * conform/data/stdio.h-data: Likewise.
25289         * conform/data/stdlib.h-data: Likewise.
25290         * conform/data/string.h-data: Likewise.
25291         * conform/data/strings.h-data: Likewise.
25292         * conform/data/stropts.h-data: Likewise.
25293         * conform/data/sys/ipc.h-data: Likewise.
25294         * conform/data/sys/mman.h-data: Likewise.
25295         * conform/data/sys/msg.h-data: Likewise.
25296         * conform/data/sys/resource.h-data: Likewise.
25297         * conform/data/sys/select.h-data: Likewise.
25298         * conform/data/sys/sem.h-data: Likewise.
25299         * conform/data/sys/shm.h-data: Likewise.
25300         * conform/data/sys/socket.h-data: Likewise.
25301         * conform/data/sys/stat.h-data: Likewise.
25302         * conform/data/sys/statvfs.h-data: Likewise.
25303         * conform/data/sys/time.h-data: Likewise.
25304         * conform/data/sys/timeb.h-data: Likewise.
25305         * conform/data/sys/times.h-data: Likewise.
25306         * conform/data/sys/types.h-data: Likewise.
25307         * conform/data/sys/uio.h-data: Likewise.
25308         * conform/data/sys/un.h-data: Likewise.
25309         * conform/data/sys/utsname.h-data: Likewise.
25310         * conform/data/sys/wait.h-data: Likewise.
25311         * conform/data/syslog.h-data: Likewise.
25312         * conform/data/tar.h-data: Likewise.
25313         * conform/data/termios.h-data: Likewise.
25314         * conform/data/utime.h-data: Likewise.
25315         * conform/data/utmpx.h-data: Likewise.
25316         * conform/data/varargs.h-data: Likewise.
25317         * conform/data/wchar.h-data: Likewise.
25318         * conform/data/wctype.h-data: Likewise.
25319         * conform/data/wordexp.h-data: Likewise.
25321         * include/stropts.h: New file.
25322         * include/uchar.h: New file.
25323         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25324         * include/assert.h: Likewise.
25325         * include/ctype.h: Likewise.
25326         * include/dirent.h: Likewise.
25327         * include/dlfcn.h: Likewise.
25328         * include/fcntl.h: Likewise.
25329         * include/fnmatch.h: Likewise.
25330         * include/glob.h: Likewise.
25331         * include/grp.h: Likewise.
25332         * include/libio.h: Likewise.
25333         * include/locale.h: Likewise.
25334         * include/math.h: Likewise.
25335         * include/net/if.h: Likewise.
25336         * include/netdb.h: Likewise.
25337         * include/netinet/in.h: Likewise.
25338         * include/pthread.h: Likewise.
25339         * include/pwd.h: Likewise.
25340         * include/regex.h: Likewise.
25341         * include/sched.h: Likewise.
25342         * include/search.h: Likewise.
25343         * include/setjmp.h: Likewise.
25344         * include/signal.h: Likewise.
25345         * include/stdio.h: Likewise.
25346         * include/stdlib.h: Likewise.
25347         * include/string.h: Likewise.
25348         * include/sys/cdefs.h: Likewise.
25349         * include/sys/mman.h: Likewise.
25350         * include/sys/msg.h: Likewise.
25351         * include/sys/resource.h: Likewise.
25352         * include/sys/select.h: Likewise.
25353         * include/sys/socket.h: Likewise.
25354         * include/sys/stat.h: Likewise.
25355         * include/sys/statvfs.h: Likewise.
25356         * include/sys/time.h: Likewise.
25357         * include/sys/times.h: Likewise.
25358         * include/sys/uio.h: Likewise.
25359         * include/sys/utsname.h: Likewise.
25360         * include/sys/wait.h: Likewise.
25361         * include/termios.h: Likewise.
25362         * include/time.h: Likewise.
25363         * include/ulimit.h: Likewise.
25364         * include/unistd.h: Likewise.
25365         * include/utime.h: Likewise.
25366         * include/wchar.h: Likewise.
25367         * include/wctype.h: Likewise.
25368         * include/wordexp.h: Likewise.
25370         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25372         * time/time.h: TIME_UTC must be a macro.
25373         Make timespec_get available for ISO C11 only as well.
25375 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25377         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25378         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25380 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25382         * configure.in: Use -o not -a in test for unsupported multi-arch.
25384 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25386         * manual/texinfo.tex: Update to version 2012-01-19.16.
25388 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25390         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25392 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25394         [BZ #13738]
25395         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25396         * manual/fdl-1.3.texi: New file.
25397         * manual/fdl-1.1.texi: File removed.
25399         [BZ #13738]
25400         * manual/libc.texinfo (FDL_VERSION): New @set.
25401         Use it for mention of FDL in cover text.
25402         (Documentation License): Use it in @include file name.
25404 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25405             Roland McGrath  <roland@hack.frob.com>
25407         [BZ #5461]
25408         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25409         not LONG_LONG_MAX and LONG_LONG_MIN.
25410         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25411         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25412         name.
25413         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25415 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25417         [BZ #2547]
25418         [BZ #11365]
25419         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25420         manipulate bits before adding and subtracting TWO23[sx].
25421         * math/libm-test.inc (nearbyint_test): Add more tests.
25423 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25425         [BZ #2548]
25426         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25427         bits before adding and subtracting TWO23[sx].
25428         * math/libm-test.inc (rint_test): Add more tests.
25429         (rint_test_tonearest): Likewise.
25430         (rint_test_towardzero): Likewise.
25431         (rint_test_downward): Likewise.
25432         (rint_test_upward: Likewise.
25434 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25436         [BZ #10110]
25437         * include/stdc-predef.h: New file.  Extracted from features.h.
25438         * include/features.h: Include stdc-predef.h.
25439         * Makefile (headers): Add stdc-predef.h.
25440         * CONFORMANCE (Compiler limitations): Update.
25442 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25444         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25446 2012-02-21  David S. Miller  <davem@davemloft.net>
25448         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25449         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25451 2012-02-20  David S. Miller  <davem@davemloft.net>
25453         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25454         using a normal save/restore sequence, rather than allocating a
25455         dummy stack frame just to store a frame pointer and restore.
25456         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25458 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25460         * manual/install.texi: Fix stray word in line-wrapped comment.
25462 2012-02-20  David S. Miller  <davem@davemloft.net>
25464         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25465         both binutils and gcc support GOTDATA.
25467         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25468         "rd %pc" in the PIC register setup sequences.
25470         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25471         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25472         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25473         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25474         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25477         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25479         (SYSCALL_ERROR_HANDLER): Likewise.
25480         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25481         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25483         (SYSCALL_ERROR_HANDLER): Likewise.
25485         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25486         (HAVE_GCC_GOTDATA): New.
25487         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25488         relocation support in both binutils and gcc.
25489         * sysdeps/sparc/elf/configure: Regenerate.
25491         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25492         * sysdeps/sparc/sparc32/elf/configure: Delete.
25493         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25494         * sysdeps/sparc/sparc64/elf/configure: Delete.
25495         * sysdeps/sparc/elf/configure.in: New file.
25496         * sysdeps/sparc/elf/configure: Generate.
25498         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25499         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25500         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25501         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25502         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25504 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25506         * manual/install.texi: Do not mention specific glibc version
25507         numbers.
25508         * manual/libc.texinfo (VERSION, UPDATED): Update.
25509         (@copying): Use @copyright{} and range of years.
25511 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25513         [BZ #13695]
25514         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25515         [crti.S not in sysdirs] (generated): Do not append.
25516         [crti.S not in sysdirs] (omit-deps): Likewise.
25517         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25518         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25519         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25520         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25521         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25522         Likewise.
25523         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25524         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25525         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25526         * csu/defs.awk: Remove file.
25527         * sysdeps/generic/initfini.c: Likewise.
25528         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25529         variable.
25530         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25531         Likewise.
25533 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25535         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25536         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25537         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25538         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25539         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25540         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25541         <bits/epoll.h>.
25542         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25543         (__EPOLL_PACKED): Define to empty if not defined by
25544         <bits/epoll.h>.
25545         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25547         bits/epoll.h.
25549 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25551         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25552         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25553         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25554         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25555         <bits/timerfd.h>.
25556         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25558         bits/timerfd.h.
25560 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25562         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25563         in C locale.
25564         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25565         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25566         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25569 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25571         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25572         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25574 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25576         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25577         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25578         defined.
25579         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25580         Likewise.
25581         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25582         entry for 2.16.
25584 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25586         * math/w_acos.c: Use non-signaling floating-point comparisons.
25587         * math/w_acosf.c: Likewise.
25588         * math/w_acosh.c: Likewise.
25589         * math/w_acoshf.c: Likewise.
25590         * math/w_acoshl.c: Likewise.
25591         * math/w_acosl.c: Likewise.
25592         * math/w_asin.c: Likewise.
25593         * math/w_asinf.c: Likewise.
25594         * math/w_asinl.c: Likewise.
25595         * math/w_atanh.c: Likewise.
25596         * math/w_atanhf.c: Likewise.
25597         * math/w_atanhl.c: Likewise.
25598         * math/w_exp2.c: Likewise.
25599         * math/w_exp2f.c: Likewise.
25600         * math/w_exp2l.c: Likewise.
25601         * math/w_j0.c: Likewise.
25602         * math/w_j0f.c: Likewise.
25603         * math/w_j0l.c: Likewise.
25604         * math/w_j1.c: Likewise.
25605         * math/w_j1f.c: Likewise.
25606         * math/w_j1l.c: Likewise.
25607         * math/w_jn.c: Likewise.
25608         * math/w_jnf.c: Likewise.
25609         * math/w_log.c: Likewise.
25610         * math/w_log10.c: Likewise.
25611         * math/w_log10f.c: Likewise.
25612         * math/w_log10l.c: Likewise.
25613         * math/w_log2.c: Likewise.
25614         * math/w_log2f.c: Likewise.
25615         * math/w_log2l.c: Likewise.
25616         * math/w_logf.c: Likewise.
25617         * math/w_logl.c: Likewise.
25618         * math/w_sqrt.c: Likewise.
25619         * math/w_sqrtf.c: Likewise.
25620         * math/w_sqrtl.c: Likewise.
25621         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25622         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25623         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25624         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25625         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25627 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25629         [BZ #9739]
25630         * manual/string.texi (strnlen): Use correct parameter name in
25631         equivalent expression.
25633 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25635         [BZ #11174]
25636         * manual/users.texi (seteuid): Consistently use neweuid for
25637         argument name.
25639 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25641         [BZ #13704]
25642         * manual/nss.texi (Services in the NSS configuration): Correct
25643         list of services in example configuration file.
25645 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25647         [BZ #11322]
25648         * manual/arith.texi: Remove statements about negative zero
25649         behaving identically to zero.
25651 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25653         [BZ #5993]
25654         * manual/install.texi: Do not document upgrading from libc5.
25656 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25658         [BZ #4596]
25659         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25661 2012-02-18  David S. Miller  <davem@davemloft.net>
25663         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25664         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25665         %o7 across the call.
25666         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25667         instead.
25668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25669         SETUP_PIC_REG_LEAF.
25670         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25671         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25672         * sysdeps/sparc/crtn.S: Likewise.
25674 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25676         * aout/Makefile: Remove.
25678 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25680         [BZ #13058]
25681         * manual/examples/argp-ex1.c (main): Format definition in GNU
25682         style.
25683         * manual/examples/argp-ex2.c (main): Likewise.
25684         * manual/examples/argp-ex3.c (main): Likewise.
25685         * manual/examples/argp-ex4.c (main): Likewise.
25686         * manual/examples/longopt.c (main): Use new-style prototype
25687         definition.
25688         * manual/examples/strncat.c (main): Specify return type and use
25689         (void) for arguments.
25690         * manual/examples/subopt.c (main): Use char **argv argument.
25692 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25694         [BZ #5077]
25695         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25696         rounding modes.
25698 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25700         [BZ #6907]
25701         * manual/string.texi (strchr): Change when strchrnul is
25702         recommended.
25704 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25706         [BZ #174]
25707         * manual/locale.texi (setlocale): Document LOCPATH.
25709 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25711         [BZ #10210]
25712         * manual/process.texi (execle): Move @dots{} before last argument.
25714 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25716         [BZ #12047]
25717         * manual/charset.texi (Generic Charset Conversion): Fix typo
25718         (LC_TYPE -> LC_CTYPE).
25720 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25722         [BZ #5805]
25723         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25724         (scalbnf): Likewise.
25725         (scalbnl): Likewise.
25726         (scalbln): Likewise.
25727         (scalblnf): Likewise.
25728         (scalblnl): Likewise.
25729         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25730         (vwarnx): Likewise.
25731         (verr): Likewise.
25732         (verrx): Likewise.
25733         * manual/filesys.texi (telldir): Use braces around return type.
25734         * manual/llio.texi (mmap): Add space after comma.
25735         (mmap64): Likewise.
25736         * manual/math.texi (jn): Use @var{} on parameter names.
25737         (jnf): Likewise.
25738         (jnl): Likewise.
25739         (yn): Likewise.
25740         (ynf): Likewise.
25741         (ynl): Likewise.
25742         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25743         line.
25744         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25745         "...".
25746         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25747         (sched_get_priority_max): Likewise.
25748         * manual/signal.texi (sigvec): Add space after comma.
25749         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25750         names.
25751         (if_indextoname): Likewise.
25752         (if_freenameindex): Likewise.
25753         (sendto): Use ',' instead of '.' in prototype.
25754         * manual/startup.texi (syscall): Use @dots{} instead of literal
25755         "...".
25756         * manual/stdio.texi (__fpending): Separate initial words of
25757         paragraph from @deftypefun line.
25758         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25759         "...".
25760         (vsyslog): Use @var{} on parameter names.
25761         * manual/terminal.texi (stty): Use @var{} on parameter names.
25762         * manual/users.texi (getutmp): Use @var{} on parameter names.
25763         (getutmpx): Likewise.
25765 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25767         [BZ #6884]
25768         * manual/stdio.texi (fopen): Fix typos in description of
25769         ",ccs=STRING".
25771 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25773         [BZ #4026]
25774         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25775         get clock_id definition.
25777 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25779         [BZ #4822]
25780         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25781         (madvise): Cast every argument to void on its own.
25783 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25785         [BZ #9902]
25786         * manual/startup.texi (Exit Status): Fix typo.
25788 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25790         [BZ #10140]
25791         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25792         * manual/examples/argp-ex2.c: Likewise.
25793         * manual/examples/argp-ex3.c: Likewise.
25795 2012-02-16  Richard Henderson  <rth@redhat.com>
25797         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25798         * sysdeps/s390/s390-32/initfini.c: Remove.
25799         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25800         * sysdeps/s390/s390-64/initfini.c: Remove.
25802 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25804         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25805         compiler output for sysdeps/generic/initfini.c.
25806         * sysdeps/sh/elf/initfini.c: Remove file.
25808 2012-02-16  David S. Miller  <davem@davemloft.net>
25810         [BZ #11494]
25811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25813         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25814         * sysdeps/sparc/crti.S: New file.
25815         * sysdeps/sparc/crtn.S: New file.
25816         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25817         * sysdeps/sparc/sparc64/Makefile: Likewise.
25819 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
25821         [BZ #3335]
25822         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25824 2012-02-15  Roland McGrath  <roland@hack.frob.com>
25826         [BZ #4822]
25827         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25829         * mach/devstream.c (cookie_io_functions_t): Macro removed.
25830         (write, read, close): Likewise.
25831         Patch by Aurelien Jarno <aurelien@aurel32.net>.
25833 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
25835         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25836         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25837         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25838         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25839         <bits/signalfd.h>.
25840         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25842         bits/signalfd.h.
25844 2012-02-14  Marek Polacek  <polacek@redhat.com>
25846         * sysdeps/x86_64/crti.S: New file.
25847         * sysdeps/x86_64/crtn.S: New file.
25848         * sysdeps/x86_64/elf/initfini.c: Remove file.
25850 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25852         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25853         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25854         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25855         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25856         <bits/inotify.h>.
25857         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25859         bits/inotify.h.
25861 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25863         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25864         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25865         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25866         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25867         <bits/eventfd.h>.
25868         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25870         bits/eventfd.h.
25872 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25874         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25875         __feraiseexcept instead of feraiseexcept.
25877         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25878         nanosleep invocations.
25879         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25880         strings, and add error checking for a nanosleep invocations.
25882 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25884         Replace FSF snail mail address with URLs, as per GNU coding standards.
25885         Most of the snail mail addresses were wrong anyway, and omitting
25886         them makes the source code easier to maintain.  Almost all of the
25887         changes are to license notices and to locale LC_IDENTIFICATION
25888         addresses, except for this one:
25889         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25890         not its snail mail address.
25892 2012-02-09  Richard Henderson  <rth@twiddle.net>
25894         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25895         of kernel-features.h.
25897         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25899 2012-02-08  Marek Polacek  <polacek@redhat.com>
25901         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25902         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25903         * sysdeps/gnu/_G_config.h: Likewise.
25904         * sysdeps/generic/_G_config.h: Likewise.
25906 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25908         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25909         tests.
25910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25912         * sysdeps/powerpc/powerpc32/crti.S: New file.
25913         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25914         * sysdeps/powerpc/powerpc64/crti.S: New file.
25915         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25917         * Makeconfig (have-initfini): Don't set.
25918         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25919         * configure.in (nopic_initfini): Don't substitute.
25920         * config.h.in (HAVE_INITFINI): Don't #undef.
25921         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25922         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25924 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25926         Support crti.S and crtn.S provided directly by architectures.
25927         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25928         [crti.S in sysdirs] (omit-deps): Likewise.
25929         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25930         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25931         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25932         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25933         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25934         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25935         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25936         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25937         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25938         compiler output for sysdeps/generic/initfini.c.
25939         * sysdeps/i386/elf/Makefile: Remove file.
25940         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25942 2012-02-07  Marek Polacek  <polacek@redhat.com>
25944         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25945         * sysdeps/gnu/_G_config.h: Likewise.
25946         * sysdeps/mach/hurd/_G_config.h: Likewise.
25948 2012-02-07  Marek Polacek  <polacek@redhat.com>
25950         * math/Makefile (tests): Add tst-CMPLX2.
25951         * math/tst-CMPLX2.c: New file.
25953 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25955         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25957         * math/libm-test.inc (jn_test): Add missing L suffix.
25959 2012-02-06  Marek Polacek  <polacek@redhat.com>
25961         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25962         * sysdeps/i386/fpu/e_powf.S: Likewise.
25963         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25964         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25965         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25966         * sysdeps/i386/fpu/e_pow.S: Likewise.
25967         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25968         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25969         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25970         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25971         * sysdeps/i386/fpu/e_log2.S: Likewise.
25972         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25973         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25974         * sysdeps/i386/fpu/e_powl.S: Likewise.
25975         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25976         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25977         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25978         * sysdeps/i386/fpu/e_logl.S: Likewise.
25979         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25980         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25981         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25982         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25983         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25984         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25985         * sysdeps/i386/fpu/e_log.S: Likewise.
25986         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25987         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25988         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25989         * sysdeps/i386/fpu/e_logf.S: Likewise.
25990         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25991         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25992         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25993         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25994         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25995         * sysdeps/i386/fpu/e_log10.S: Likewise.
25996         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25997         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25998         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25999         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26000         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26001         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26002         * sysdeps/i386/asm-syntax.h: Likewise.
26003         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26004         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26005         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26006         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26007         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26008         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26009         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26010         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26011         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26012         * sysdeps/powerpc/sysdep.h: Likewise.
26013         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26014         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26016 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26018         [BZ #411]
26019         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26021 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26023         * sysdeps/i386/sysdep.h: Include <features.h>.
26024         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26025         version.
26027 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26029         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26030         Define.
26031         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26032         LOAD_PIC_REG_STR.
26034 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26036         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26037         (SETUP_PIC_REG): Use GET_PC_THUNK.
26038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26039         macro.
26041 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26043         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26044         for non-PIC compilation.
26045         (SETUP_PIC_REG): Add .p2align directive.
26046         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26047         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26048         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26049         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26050         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26051         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26052         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26053         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26054         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26055         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26056         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26057         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26058         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26059         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26060         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26061         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26062         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26063         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26064         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26065         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26066         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26067         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26068         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26069         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26070         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26071         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26072         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26073         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26074         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26075         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26076         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26078         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26079         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26080         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26081         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26082         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26083         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26084         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26085         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26086         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26088 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26090         * math/tst-CMPLX.c: Include <stdio.h>.
26092 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
26094         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26095         float.
26096         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26097         * sysdeps/sparc/bits/mathdef.h: Likewise.
26099 2012-01-31  Marek Polacek  <polacek@redhat.com>
26101         * libio/libio.h: Don't define _PARAMS.
26102         * locale/programs/config.h: Don't define PARAMS.
26103         * stdlib/strtol_l.c: Likewise.
26104         (__strtol_l): Remove PARAMS from the prototype.
26106 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26108         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26109         names.  Just use the correct names.  Remove unnecessary wrapper
26110         functions.
26111         * malloc/arena.c: Likewise.
26112         * malloc/hooks.c: Likewise.
26114         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26115         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26116         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26118 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26120         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26121         into tail calls.
26122         (update_get_addr): New function.
26123         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26124         GET_ADDR_MODULE parameter.
26126 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26128         * crypt/cert.c: Remove __STDC__ conditionals.
26129         * crypt/crypt-entry.c: Likewise.
26130         * crypt/crypt_util.c: Likewise.
26131         * libio/filedoalloc.c: Likewise.
26132         * libio/fileops.c: Likewise.
26133         * libio/genops.c: Likewise.
26134         * libio/iofclose.c: Likewise.
26135         * libio/iofdopen.c: Likewise.
26136         * libio/iofopen.c: Likewise.
26137         * libio/iofopen64.c: Likewise.
26138         * libio/iogetdelim.c: Likewise.
26139         * libio/iopopen.c: Likewise.
26140         * libio/obprintf.c: Likewise.
26141         * libio/oldfileops.c: Likewise.
26142         * libio/oldiofclose.c: Likewise.
26143         * libio/oldiofdopen.c: Likewise.
26144         * libio/oldiofopen.c: Likewise.
26145         * libio/oldiopopen.c: Likewise.
26146         * libio/wfiledoalloc.c: Likewise.
26147         * libio/wgenops.c: Likewise.
26148         * locale/programs/xmalloc.c: Likewise.
26149         * misc/syslog.c: Likewise.
26150         * stdio-common/xbug.c: Likewise.
26151         * string/memchr.c: Likewise.
26152         * string/memcmp.c: Likewise.
26153         * string/memrchr.c: Likewise.
26154         * string/rawmemchr.c: Likewise.
26155         * sysdeps/posix/getcwd.c: Likewise.
26156         * time/strftime_l.c: Likewise.
26158 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26160         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26161         * config.make.in (config-cflags-sse2avx): Define.
26162         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26163         Fix typo.
26165 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26167         * scripts/config.guess: Update from upstream config git repository.
26168         * scripts/config.sub: Likewise.
26170 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26172         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26173         (EM_NUM): Update.
26174         (R_TILEPRO_*, R_TILEGX_*): New macros.
26176         * scripts/firstversions.awk: Fix bug in version range handling.
26178         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26180         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26182         * include/sys/epoll.h: New file.
26183         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26184         libc_hidden_def.
26186 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26188         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26189         Avoid unnecessary __WORDSIZE == 64 test.
26190         (fmaxf): Use VEX format if possible.
26191         (fmax): Likewise.
26192         (fminf): Likewise.
26193         (fmin): Likewise.
26195         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26196         * math/math_private.h: Remove libc_fegetround* and
26197         libc_fesetround*.
26198         * sysdeps/i386/configure.in: Check for -msse2avx.
26199         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26200         also if SSE2AVX is defined.
26201         Remove libc_fegetround* and libc_fesetround*.
26202         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26203         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26204         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26205         of HAS_YMM_USABLE.
26206         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26207         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26208         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26212         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26214 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26216         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26217         size is not set.
26218         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26220 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
26222         [BZ #13618]
26223         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26224         relocation.
26225         * Makeconfig (libm): Define.
26226         * elf/Makefile: Add rules to build and run tst-relsort1.
26227         * elf/tst-relsort1.c: New file.
26228         * elf/tst-relsort1mod1.c: New file.
26229         * elf/tst-relsort1mod2.c: New file.
26231 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
26233         * math/s_ldexp.c: Remove __STDC__ conditionals.
26234         * math/s_ldexpf.c: Likewise.
26235         * math/s_ldexpl.c: Likewise.
26236         * math/s_nextafter.c: Likewise.
26237         * math/s_nexttowardf.c: Likewise.
26238         * math/s_significand.c: Likewise.
26239         * math/s_significandf.c: Likewise.
26240         * math/s_significandl.c: Likewise.
26241         * math/w_jnl.c: Likewise.
26242         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26243         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26244         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26245         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26246         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26247         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26248         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26249         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26250         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26251         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26252         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26254         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26256         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26257         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26258         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26259         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26261         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26262         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26263         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26264         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26265         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26266         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26267         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26268         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26269         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26270         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26271         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26272         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26273         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26274         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26275         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26276         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26277         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26278         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26279         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26280         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26281         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26282         * sysdeps/ieee754/k_standard.c: Likewise.
26283         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26284         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26285         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26286         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26287         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26288         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26289         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26290         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26291         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26292         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26293         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26294         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26295         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26296         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26297         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26298         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26299         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26300         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26301         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26302         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26303         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26304         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26305         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26306         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26307         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26308         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26309         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26312         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26314         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26315         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26316         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26317         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26318         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26319         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26321         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26322         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26323         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26325         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26326         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26327         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26328         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26331         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26332         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26333         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26334         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26335         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26336         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26337         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26338         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26339         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26340         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26341         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26342         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26343         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26344         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26345         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26346         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26347         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26348         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26349         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26350         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26351         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26352         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26353         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26354         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26355         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26356         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26357         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26358         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26359         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26360         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26361         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26362         * sysdeps/ieee754/s_matherr.c: Likewise.
26363         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26364         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26368 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26370         * crypt/md5.h: Remove __STDC__ conditionals.
26371         * libio/libioP.h: Likewise.
26372         * locale/programs/config.h: Likewise.
26373         * sysdeps/generic/sysdep.h: Likewise.
26374         * sysdeps/i386/asm-syntax.h: Likewise.
26375         * sysdeps/s390/asm-syntax.h: Likewise.
26376         * sysdeps/unix/sysdep.h: Likewise.
26377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26380 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26382         * libio/libio.h: Remove __STDC__ conditionals.
26383         * malloc/obstack.h: Likewise.
26384         * math/complex.h: Likewise.
26385         * math/math.h: Likewise.
26386         * sysdeps/generic/_G_config.h: Likewise.
26387         * sysdeps/gnu/_G_config.h: Likewise.
26388         * sysdeps/mach/hurd/_G_config.h: Likewise.
26389         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26390         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26391         * sysdeps/sparc/bits/mathdef.h: Likewise.
26393 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26395         [BZ #13583]
26396         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26397         Clean up HAS_* macros.
26398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26399         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26400         possible.
26401         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26402         HAS_AVX.
26403         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26404         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26405         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26406         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26407         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26409 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26411         * elf/tst-unique3.cc (gets): Remove declaration.
26412         * elf/tst-unique3lib.cc (gets): Likewise.
26413         * elf/tst-unique3lib2.cc (gets): Likewise.
26414         * elf/tst-unique4.cc (gets): Likewise.
26416 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26418         * include/stdio.h: Add C++ protection.  Add gets declarations and
26419         definitions.
26420         * debug/tst-chk1.c: Don't declare gets here.
26421         * stdio-common/tst-gets.c: Likewise.
26423 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26425         * posix/glob: Remove directory.
26427 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26429         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26431 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26433         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26434         of the non-standard EPFNOSUPPORT.
26436 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26438         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26439         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26440         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26442 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26444         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26446 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26448         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26449         transient errors.
26450         * nscd/grpcache.c (cache_addgr): Likewise.
26451         * nscd/hstcache.c (cache_addhst): Likewise.
26452         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26453         * nscd/pwdcache.c (cache_addpw): Likewise.
26454         * nscd/servicescache.c (cache_addserv): Likewise.
26456 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26458         * malloc/malloc.c: Various cleanups.
26459         * malloc/hooks.c: Likewise.
26461         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26462         * stdlib/bug-fmtmsg1.c: New file.
26464         * stdlib/fmtmsg.c (init): Add missing unlock.
26465         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26467 2012-01-12  Marek Polacek  <polacek@redhat.com>
26469         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26470         and _GNU_SOURCE.
26472 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26474         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26475         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26476         macro to ensure uniqueness of label name.
26477         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26478         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26480 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26482         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26484         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26485         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26489 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26491         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26493         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26494         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26495         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26497         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26499         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26500         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26501         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26504         * math/bits/math-finite.h: Add ldexp support.
26506 2012-01-10  Marek Polacek  <polacek@redhat.com>
26508         * locale/programs/localedef.h (show_archive_content): Add noreturn
26509         attribute.
26511 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26513         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26515 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26517         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26519         * io/Makefile (headers): Add bits/poll2.h.
26521 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26524         typo #include statement.
26526 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26528         * include/sys/cdefs.h: Define __attribute_alloc_size.
26529         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26530         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26531         * elf/pldd.c: Likewise.
26532         * iconv/iconv_charmap.c: Likewise.
26533         * iconv/iconvconfig.c: Likewise.
26534         * iconv/strtab.c: Likewise.
26535         * locale/programs/locale.c: Likewise.
26536         * locale/programs/localedef.h: Likewise.
26537         * locale/programs/simple-hash.c: Likewise.
26538         * nscd/nscd.h: Likewise.
26539         * nss/makedb.c: Likewise.
26540         * sysdeps/generic/ldconfig.h: Likewise.
26541         * locale/programs/localedef.c: Remove xmalloc prototype.
26542         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26544 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26546         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26547         appropriate.
26549 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26551         * math/Makefile (tests): Add tst-CMPLX.
26552         * math/tst-CMPLX.c: New file.
26554         * math/complex.h (CMPLXL): Fix typo.
26556         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26557         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26558         GLIBC_2.16.
26559         * debug/tst-chk1.c: Add poll and ppoll tests.
26560         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26561         * include/sys/poll.h: Add hidden proto for ppoll.
26562         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26563         * sysdeps/mach/hurd/ppoll.c: Likewise.
26564         * io/ppoll.c: Likewise.
26565         * debug/poll_chk.c: New file.
26566         * debug/ppoll_chk.c: New file.
26567         * include/bits/poll2.h: New file.
26568         * io/bits/poll2.h: New file.
26570         [BZ #1350]
26571         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26573         * configure.in: static is always set to yes.  Remove.
26574         * config.make.in: Don't set build-static.
26575         * Makeconfig: Remove use of build-static.
26576         * dlfcn/Makefile: Likewise.
26577         * elf/Makefile: Likewise.
26578         * math/Makefile: Likewise.
26579         * misc/Makefile: Likewise.
26580         * nptl/Makefile: Likewise.
26581         * sysdeps/mach/hurd/Makefile: Likewise.
26583         * configure.in: PWD_P is not used anymore.
26584         * config.make.in: Remove PWD_P entry.
26586         * configure.in: Remove last remnants of RANLIB.
26587         No need to check for signed size_t anymore.
26588         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26589         and IA-64.
26590         Remove __builtin_expect test because we require at least gcc 3.4.
26591         * aclocal.m4: Likewise.
26593         * wcsmbs/mbrtoc16.c: Implement using towc function.
26594         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26595         * wcsmbs/wcsmbsload.c: Likewise.
26596         * iconv/gconv_simple.c: Likewise.
26597         * iconv/gconv_int.h: Likewise.
26598         * iconv/gconv_builtin.h: Likewise.
26599         * iconv/iconv_prog.c: Remove CHAR16 handling.
26601         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26603         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26605         * configure.in: Remove --with-elf and --enable-bounded options.
26606         Dont set base_machine for ia64.  More non-ELF conditions removed.
26607         Remove testing and setting of leading underscore information.
26608         * config.make.in (build-bounded): Set to no.
26609         * config.h.in: Remove NO_UNDERSCORES entry.
26610         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26611         them.
26612         * csu/start.c: Remove !NO_UNDERSCORE code.
26613         * locale/localeinfo.h: Likewise.
26614         * sysdeps/generic/machine-gmon.h: Likewise.
26615         * sysdeps/generic/sysdep.h: Likewise.
26616         * sysdeps/i386/sysdep.h: Likewise.
26617         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26618         * sysdeps/mach/sysdep.h: Likewise.
26619         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26620         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26621         * sysdeps/sh/sysdep.h: Likewise.
26622         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26623         * sysdeps/unix/i386/sysdep.S: Likewise.
26624         * sysdeps/unix/sparc/start.c: Likewise.
26625         * sysdeps/unix/sparc/sysdep.S: Likewise.
26626         * sysdeps/unix/sparc/sysdep.h: Likewise.
26627         * sysdeps/unix/start.c: Likewise.
26628         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26629         * sysdeps/x86_64/sysdep.h: Likewise.
26631 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26633         [BZ #13553]
26634         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26635         for non-gcc.
26636         * argp/argp-fmtstream.h: Use const instead __const.
26637         * argp/argp.h: Likewise.
26638         * assert/assert.h: Likewise.
26639         * bits/fenv.h: Likewise.
26640         * bits/sched.h: Likewise.
26641         * bits/sigset.h: Likewise.
26642         * bits/sigthread.h: Likewise.
26643         * catgets/nl_types.h: Likewise.
26644         * conform/data/pthread.h-data: Likewise.
26645         * crypt/crypt-private.h: Likewise.
26646         * crypt/crypt.h: Likewise.
26647         * crypt/crypt_util.c: Likewise.
26648         * ctype/ctype.h: Likewise.
26649         * debug/execinfo.h: Likewise.
26650         * debug/mbsnrtowcs_chk.c: Likewise.
26651         * debug/mbsrtowcs_chk.c: Likewise.
26652         * debug/wcsnrtombs_chk.c: Likewise.
26653         * debug/wcsrtombs_chk.c: Likewise.
26654         * debug/wcstombs_chk.c: Likewise.
26655         * dirent/dirent.h: Likewise.
26656         * dlfcn/dlfcn.h: Likewise.
26657         * elf/neededtest4.c: Likewise.
26658         * grp/grp.h: Likewise.
26659         * gshadow/gshadow.h: Likewise.
26660         * iconv/gconv.h: Likewise.
26661         * iconv/gconv_int.h: Likewise.
26662         * iconv/gconv_simple.c: Likewise.
26663         * iconv/iconv.h: Likewise.
26664         * iconv/loop.c: Likewise.
26665         * iconv/skeleton.c: Likewise.
26666         * include/aio.h: Likewise.
26667         * include/aliases.h: Likewise.
26668         * include/argz.h: Likewise.
26669         * include/arpa/inet.h: Likewise.
26670         * include/assert.h: Likewise.
26671         * include/dirent.h: Likewise.
26672         * include/dlfcn.h: Likewise.
26673         * include/execinfo.h: Likewise.
26674         * include/fcntl.h: Likewise.
26675         * include/fenv.h: Likewise.
26676         * include/glob.h: Likewise.
26677         * include/grp.h: Likewise.
26678         * include/libintl.h: Likewise.
26679         * include/mntent.h: Likewise.
26680         * include/netdb.h: Likewise.
26681         * include/pwd.h: Likewise.
26682         * include/rpc/netdb.h: Likewise.
26683         * include/sched.h: Likewise.
26684         * include/search.h: Likewise.
26685         * include/shadow.h: Likewise.
26686         * include/signal.h: Likewise.
26687         * include/stdio.h: Likewise.
26688         * include/stdlib.h: Likewise.
26689         * include/string.h: Likewise.
26690         * include/sys/socket.h: Likewise.
26691         * include/sys/stat.h: Likewise.
26692         * include/sys/statfs.h: Likewise.
26693         * include/sys/statvfs.h: Likewise.
26694         * include/sys/syslog.h: Likewise.
26695         * include/sys/time.h: Likewise.
26696         * include/sys/uio.h: Likewise.
26697         * include/time.h: Likewise.
26698         * include/unistd.h: Likewise.
26699         * include/utmp.h: Likewise.
26700         * include/wchar.h: Likewise.
26701         * include/wctype.h: Likewise.
26702         * inet/aliases.h: Likewise.
26703         * inet/arpa/inet.h: Likewise.
26704         * inet/netinet/ether.h: Likewise.
26705         * inet/netinet/in.h: Likewise.
26706         * intl/libintl.h: Likewise.
26707         * io/bits/fcntl2.h: Likewise.
26708         * io/fcntl.h: Likewise.
26709         * io/ftw.h: Likewise.
26710         * io/sys/poll.h: Likewise.
26711         * io/sys/stat.h: Likewise.
26712         * io/sys/statfs.h: Likewise.
26713         * io/sys/statvfs.h: Likewise.
26714         * io/utime.h: Likewise.
26715         * libio/bits/stdio.h: Likewise.
26716         * libio/bits/stdio2.h: Likewise.
26717         * libio/libio.h: Likewise.
26718         * libio/libioP.h: Likewise.
26719         * libio/stdio.h: Likewise.
26720         * locale/lc-ctype.c: Likewise.
26721         * locale/locale.h: Likewise.
26722         * login/utmp.h: Likewise.
26723         * malloc/arena.c: Likewise.
26724         * malloc/malloc.c: Likewise.
26725         * malloc/malloc.h: Likewise.
26726         * malloc/mcheck.c: Likewise.
26727         * malloc/mtrace.c: Likewise.
26728         * math/bits/mathcalls.h: Likewise.
26729         * math/fenv.h: Likewise.
26730         * math/math_private.h: Likewise.
26731         * misc/bits/error.h: Likewise.
26732         * misc/bits/syslog.h: Likewise.
26733         * misc/err.h: Likewise.
26734         * misc/error.h: Likewise.
26735         * misc/fstab.h: Likewise.
26736         * misc/mntent.h: Likewise.
26737         * misc/regexp.h: Likewise.
26738         * misc/search.h: Likewise.
26739         * misc/sgtty.h: Likewise.
26740         * misc/sys/mman.h: Likewise.
26741         * misc/sys/syslog.h: Likewise.
26742         * misc/sys/uio.h: Likewise.
26743         * misc/sys/xattr.h: Likewise.
26744         * misc/ttyent.h: Likewise.
26745         * nis/rpcsvc/ypclnt.h: Likewise.
26746         * nss/nss.h: Likewise.
26747         * posix/bits/unistd.h: Likewise.
26748         * posix/fnmatch.h: Likewise.
26749         * posix/glob.h: Likewise.
26750         * posix/sched.h: Likewise.
26751         * posix/spawn.h: Likewise.
26752         * posix/sys/wait.h: Likewise.
26753         * posix/unistd.h: Likewise.
26754         * posix/wordexp.h: Likewise.
26755         * pwd/pwd.h: Likewise.
26756         * resolv/netdb.h: Likewise.
26757         * resource/sys/resource.h: Likewise.
26758         * rt/aio.h: Likewise.
26759         * rt/bits/mqueue2.h: Likewise.
26760         * rt/mqueue.h: Likewise.
26761         * shadow/shadow.h: Likewise.
26762         * signal/signal.h: Likewise.
26763         * socket/send.c: Likewise.
26764         * socket/sendto.c: Likewise.
26765         * socket/sys/socket.h: Likewise.
26766         * stdio-common/printf.h: Likewise.
26767         * stdlib/bits/stdlib.h: Likewise.
26768         * stdlib/fmtmsg.h: Likewise.
26769         * stdlib/monetary.h: Likewise.
26770         * stdlib/stdlib.h: Likewise.
26771         * stdlib/ucontext.h: Likewise.
26772         * streams/stropts.h: Likewise.
26773         * string/argz.h: Likewise.
26774         * string/bits/string2.h: Likewise.
26775         * string/string.h: Likewise.
26776         * string/strings.h: Likewise.
26777         * sunrpc/rpc/auth.h: Likewise.
26778         * sunrpc/rpc/auth_des.h: Likewise.
26779         * sunrpc/rpc/clnt.h: Likewise.
26780         * sunrpc/rpc/netdb.h: Likewise.
26781         * sunrpc/rpc/pmap_clnt.h: Likewise.
26782         * sunrpc/rpc/xdr.h: Likewise.
26783         * sysdeps/generic/inttypes.h: Likewise.
26784         * sysdeps/generic/net/if.h: Likewise.
26785         * sysdeps/generic/sys/swap.h: Likewise.
26786         * sysdeps/gnu/net/if.h: Likewise.
26787         * sysdeps/gnu/utmpx.h: Likewise.
26788         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26789         * sysdeps/i386/i486/bits/string.h: Likewise.
26790         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26791         * sysdeps/s390/bits/string.h: Likewise.
26792         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26793         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26794         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26795         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26796         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26797         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26798         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26799         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26800         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26801         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26802         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26803         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26804         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26805         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26806         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26807         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26808         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26810         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26812         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26813         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26814         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26815         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26816         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26817         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26818         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26819         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26820         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26821         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26822         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26823         * sysvipc/sys/ipc.h: Likewise.
26824         * sysvipc/sys/msg.h: Likewise.
26825         * sysvipc/sys/sem.h: Likewise.
26826         * sysvipc/sys/shm.h: Likewise.
26827         * termios/termios.h: Likewise.
26828         * time/sys/time.h: Likewise.
26829         * time/time.h: Likewise.
26830         * wcsmbs/bits/wchar2.h: Likewise.
26831         * wcsmbs/uchar.h: Likewise.
26832         * wcsmbs/wchar.h: Likewise.
26833         * wctype/wctype.h: Likewise.
26835         [BZ #13551]
26836         * Makeconfig: Remove all but ELF support including AIX support.
26837         * Makerules: Likewise.
26838         * config.h.in: Likewise.
26839         * config.make.in: Likewise.
26840         * configure: Likewise.
26841         * configure.in: Likewise.
26842         * csu/Makefile: Likewise.
26843         * csu/version.c: Likewise.
26844         * debug/Makefile: Likewise.
26845         * dlfcn/Makefile: Likewise.
26846         * elf/Makefile: Likewise.
26847         * extra-lib.mk: Likewise.
26848         * iconv/Makefile: Likewise.
26849         * include/libc-symbols.h: Likewise.
26850         * include/shlib-compat.h: Likewise.
26851         * resolv/Makefile: Likewise.
26852         * resolv/res_libc.c: Likewise.
26853         * rt/Makefile: Likewise.
26854         * sysdeps/i386/asm-syntax.h: Likewise.
26855         * sysdeps/i386/sysdep.h: Likewise.
26856         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26857         * sysdeps/mach/sysdep.h: Likewise.
26858         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26859         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26860         * sysdeps/s390/asm-syntax.h: Likewise.
26861         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26862         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26863         * sysdeps/sh/sysdep.h: Likewise.
26864         * sysdeps/unix/sparc/sysdep.h: Likewise.
26865         * sysdeps/wordsize-32/divdi3.c: Likewise.
26866         * sysdeps/x86_64/sysdep.h: Likewise.
26868         * argp/Versions: Remove _argp_unlock_xxx.
26870         [BZ #13559]
26871         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
26872         * abilist/libBrokenLocale.abilist: Likewise.
26873         * abilist/libanl.abilist: Likewise.
26874         * abilist/libc.abilist: Likewise.
26875         * abilist/libcrypt.abilist: Likewise.
26876         * abilist/libdl.abilist: Likewise.
26877         * abilist/libm.abilist: Likewise.
26878         * abilist/libnsl.abilist: Likewise.
26879         * abilist/libpthread.abilist: Likewise.
26880         * abilist/libresolv.abilist: Likewise.
26881         * abilist/librt.abilist: Likewise.
26882         * abilist/libthread_db.abilist: Likewise.
26883         * abilist/libutil.abilist: Likewise.
26884         * abilist/libnss_db.abilist: New file.
26886         * scripts/abilist.awk: Add support for indirect functions.
26888         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26890         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26892         * shlib-versions: Remove entries for ports architectures.
26894         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26895         files in ports.
26896         * elf/stackguard-macros.h: Remove support for IA-64.
26897         * elf/tst-auditmod1.c: Likewise.
26898         * sysdeps/generic/ldsodefs.h: Likewise.
26900         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26901         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26902         configure files.
26904         [BZ #13552]
26905         * configure.in: Remove --enable-omitfp support.
26906         * FAQ.in: Adjust.
26907         * config.make.in: Likewise.
26908         * Makeconfig: Likewise.
26909         * manual/install.texi: Likewise.
26911         In case anyone cares, the IA-64 architecture could move to ports.
26912         * sysdeps/ia64/*: Removed.
26913         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26914         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26916         [BZ #13555]
26917         * configure.in: Remove entries for unsupported architectures.
26919         [BZ #13533]
26920         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26921         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26922         routines.
26923         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26924         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26925         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26926         fall back to using wcrtomb.
26927         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26928         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26929         renaming.
26930         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26931         * wcsmbs/tst-c16c32-1.c: New file.
26933         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26934         local variable.
26936         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26938         * elf/tst-unique3.cc: Add explicit declaration of gets.
26939         * elf/tst-unique3lib.cc: Likewise.
26940         * elf/tst-unique3lib2.cc: Likewise.
26941         * elf/tst-unique4.cc: Likewise.
26943         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26945 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26947         [BZ #13566]
26948         * assert/assert.h (static_assert): Don't define for C++.
26949         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26950         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26952 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26954         * iconv/loop.c (single loop): Fix assertion in storing of
26955         remaining bytes.
26957         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26959 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26961         * posix/getconf.c: Update copyright year.
26962         * nss/getent.c: Likewise.
26963         * nss/makedb.c: Likewise.
26964         * iconv/iconvconfig.c: Likewise.
26965         * iconv/iconv_prog.c: Likewise.
26966         * elf/ldconfig.c: Likewise.
26967         * elf/pldd.c: Likewise.
26968         * elf/sotruss.ksh: Likewise.
26969         * catgets/gencat.c: Likewise.
26970         * csu/version.c: Likewise.
26971         * elf/ldd.bash.in: Likewise.
26972         * elf/sprof.c (print_version): Likewise.
26973         * locale/programs/locale.c: Likewise.
26974         * locale/programs/localedef.c: Likewise.
26975         * login/programs/pt_chown.c: Likewise.
26976         * nscd/nscd.c (print_version): Likewise.
26977         * debug/xtrace.sh: Likewise.
26978         * malloc/memusage.sh: Likewise.
26979         * malloc/mtrace.pl: Likewise.
26980         * debug/catchsegv.sh: Likewise.
26982 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26984         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26985         pure attribute.
26987 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26989         [BZ #13533]
26990         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26991         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26992         transformations.
26993         * iconv/gconv_int.h: Likewise.
26994         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26995         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26996         from libc for GLIBC_2.16.
26997         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26998         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26999         * wcsmbs/uchar.h: Really define mbstate_t.
27000         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27001         * wcsmbs/c16rtomb.c: New file.
27002         * wcsmbs/mbrtoc16.c: New file.
27003         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27004         for C/POSIX locale.
27005         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27006         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27008         * wcsmbs/wchar.h: Add missing __restrict.
27010 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27012         [BZ #13532]
27013         * time/Makefile (routines): Add timespec_get.
27014         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27015         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27016         timespec for ISO C11.
27017         * time/timespec_get.c: New file.
27018         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27019         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27021         [BZ #13531]
27022         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27023         * stdlib/stdlib.h: Declare aligned_alloc.
27024         * Versions.def: Add GLIBC_2.16 for libc.
27025         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27027         [BZ 13527]
27028         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27029         ISO C11.
27031         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27032         code.
27034         [BZ #13528]
27035         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27037         [BZ #13529]
27038         * assert/assert.h (static_assert): Define.
27040         * version.h: Update for 2.16 development version.
27042         [BZ #13526]
27043         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27044         _ISOC11_SOURCE.
27046         * version.h (RELEASE): Bump for 2.15 release.
27047         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27049         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27050         Patch by Marek Polacek <mpolacek@redhat.com>.
27052         * bits/byteswap.h: Protect long long constants with __extension__.
27053         * sysdeps/i386/bits/byteswap.h: Likewise.
27054         * sysdeps/ia64/bits/byteswap.h: Likewise.
27055         * sysdeps/s390/bits/byteswap.h: Likewise.
27056         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27058 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27060         [BZ #13540]
27061         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27062         destination buffer.
27063         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27065 2011-12-23  Marek Polacek  <polacek@redhat.com>
27067         * elf/dl-addr.c (determine_info): Add inline keyword.
27068         * elf/tst-auditmod4b.c (check_avx): Likewise.
27069         * elf/tst-auditmod6b.c (check_avx): Likewise.
27070         * elf/tst-auditmod6c.c (check_avx): Likewise.
27071         * elf/tst-auditmod7b.c (check_avx): Likewise.
27073 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27075         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27076         !__SSE_MATH__.
27078 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27080         [BZ #13540]
27081         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27082         processing for last bytes.
27084 2011-08-06  Bruno Haible  <bruno@clisp.org>
27086         [BZ #13061]
27087         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27088         U+0385, not to U+1FEE.
27090         [BZ #13062]
27091         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27092         entry for U+00A5 U+0301.
27094 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27096         [BZ #13166]
27097         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27098         buffer for the output is too small.
27100         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27101         optimization.
27103         [BZ #13185]
27104         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27105         SSE flags if possible.
27107 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27109         [BZ #13540]
27110         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27111         processing for last bytes.
27113 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27115         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27116         (syscall-list-default-options, syscall-list-default-condition)
27117         (syscall-list-includes): Define.
27118         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27119         list of ABIs and options and #if conditions for each ABI.  Do not
27120         handle common syscalls between ABIs specially.
27121         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27122         Remove.
27123         (syscall-list-variants, syscall-list-32bit-options)
27124         (syscall-list-32bit-condition, syscall-list-64bit-options)
27125         (syscall-list-64bit-condition): Define.
27126         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27127         (syscall-list-variants, syscall-list-32bit-options)
27128         (syscall-list-32bit-condition, syscall-list-64bit-options)
27129         (syscall-list-64bit-condition): Define.
27130         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27131         Remove.
27132         (syscall-list-variants, syscall-list-32bit-options)
27133         (syscall-list-32bit-condition, syscall-list-64bit-options)
27134         (syscall-list-64bit-condition): Define.
27135         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27136         Remove.
27137         (syscall-list-variants, syscall-list-32bit-options)
27138         (syscall-list-32bit-condition, syscall-list-64bit-options)
27139         (syscall-list-64bit-condition): Define.
27141 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27143         * locale/iso-639.def: Add brx entry.
27145         [BZ #13328]
27146         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27147         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27149         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27150         __feraiseexcept_renamed.
27152 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27154         [BZ #13538]
27155         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27156         EPOLLET with unsigned values.
27157         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27158         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27160         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27161         to large cancellation.
27162         * math/s_cacoshf.c: Likewise.
27163         * math/s_cacoshl.c: Likewise.
27165 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27167         [BZ #13305]
27168         [BZ #12786]
27169         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27170         * math/s_cacoshf.c: Likewise.
27171         * math/s_cacoshl.c: Likewise.
27173 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27175         [BZ #13439]
27176         * iconv/gconv.h: Define __GCONV_SWAP.
27177         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27178         * iconvdata/utf-16.c: Likewise.
27179         * iconvdata/utf-32.c: Likewise.
27181 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27183         [BZ #13524]
27184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27185         numerator after shifting it by one limb.
27187 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27189         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27190         under [__USE_EXTERN_INLINES].
27192 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27194         [BZ #13446]
27195         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27197 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27199         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27200         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27201         optimized code.
27202         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27203         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27204         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27205         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27206         for strncasecmp/strncasecmp_l compilation.
27207         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27208         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27210 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27212         [BZ #13484]
27213         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27214         of __asm__.
27216 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27218         [BZ #13506]
27219         * time/tzfile.c (__tzfile_read): Check values from file header.
27221 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27223         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27224         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27225         * powerpc/powerpc32/dl-start.S: Likewise.
27226         * powerpc/powerpc32/elf/start.S: Likewise.
27227         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27228         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27229         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27230         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27231         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27232         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27233         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27234         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27235         * powerpc/powerpc32/fpu/s_round.S: Likewise.
27236         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27237         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27238         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27239         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27240         * powerpc/powerpc32/memset.S: Likewise.
27241         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27242         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27243         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27244         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27245         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27246         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27247         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27248         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27249         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27250         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27251         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27252         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27253         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27255 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27257         * math/libm-test.inc: Added more nearbyint tests.
27258         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27263 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27265         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27266         FD_CLOEXEC.
27268 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27270         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27271         Add wcscpy-ssse3 wcscpy-c.
27272         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27273         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27274         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27275         * sysdeps/x86_64/wcschr.S: New file.
27276         * sysdeps/x86_64/wcsrchr.S: New file.
27277         * string/test-strcmp.c: Remove checking of wcscmp function for
27278         wrong alignments.
27279         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27280         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27281         wcsrchr-sse2 wcsrchr-c.
27282         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27283         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27284         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27285         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27286         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27287         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27288         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27289         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27290         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27291         * wcsmbc/wcschr.c (WCSCHR): New macro.
27293 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27295         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27296         * wcsmbs/test-wcsrchr.c: New file.
27297         * string/test-strrchr.c: Add wcsrchr support.
27298         (WIDE): New macro.
27299         * wcsmbs/test-wcscpy.c: New file.
27300         * string/test-strcpy.c: Add wcscpy support.
27301         (WIDE): New macro.
27303 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27305         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27306         the inner loop.
27308 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27310         [BZ #13472]
27311         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27313 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27315         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27316         Minor optimizations.
27318         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27319         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27320         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27322 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27324         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27325         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27326         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27327         for gcc to avoid warnings.
27328         * inet/Makefile (tests): Add tst-checks.
27329         * inet/tst-checks.c: New file.
27331         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27332         warning.
27334         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27335         __wmemcmp_sse2.
27337         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27338         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27340         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27342 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27344         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27345         problem.
27347         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27349 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27351         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27352         conditional on GCC version.
27353         (__arch_compare_and_exchange_val_8_acq)
27354         (__arch_compare_and_exchange_val_16_acq)
27355         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27356         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27357         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27359 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27361         * sysdeps/sh/backtrace.c: New file.
27363 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27365         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27366         parenthesis.
27368 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27370         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27371         falling back to utime.
27373 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27375         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27376         expectations for float.
27378 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27380         * locale/weight.h (findidx): Add parameter len.
27381         * locale/weightwc.h (findidx): Likewise.
27382         * posix/fnmatch_loop.c (FCT): Adjust caller.
27383         * posix/regcomp.c (build_equiv_class): Likewise.
27384         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27385         * posix/regexec.c (check_node_accept_bytes): Likewise.
27386         * string/strcoll_l.c (STRCOLL): Likewise.
27387         * string/strxfrm_l.c (STRXFRM): Likewise.
27389 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27391         * Makefile.in: Remove CVSOPT handling.
27392         * configure.in: Remove use of AC_REVISION.
27393         * iconvdata/Makefile (distribute): No need to filter out CVS.
27394         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27395         handling.
27397 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27400         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27401         [USE_AS_STRNCASECMP_L]: Likewise.
27402         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27403         NO_TLS_DIRECT_SEG_REFS.
27404         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27405         Fix argument offsets for non-PIC.
27406         [USE_AS_STRNCASECMP_L]: Likewise.
27407         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27408         NO_TLS_DIRECT_SEG_REFS.
27410 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27412         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27413         O_CLOEXEC.
27414         * locale/loadlocale.c (_nl_load_locale): Likewise.
27416 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27418         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27419         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27420         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27421         (SYSCALL_GETTIME): Set errno on error.
27423         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27424         count references to noai6ai_cached.
27426 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27428         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27430         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27431         FD_CLOEXEC for /proc/self/maps.
27433         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27434         FD_CLOEXEC for /proc/meminfo.
27436         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27437         gai.conf.
27439         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27440         FD_CLOEXEC for given file.
27442         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27444         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27445         FD_CLOEXEC for /etc/hosts.
27446         (_gethtent): Likewise.
27448         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27450         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27451         cancellation and set FD_CLOEXEC for /etc/netgroup.
27453         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27454         reading /etc/publickey.
27456         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27457         allow cancellation when reading /etc/group.
27459         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27460         cancellation.
27461         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27463         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27464         when using data file.
27466         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27468         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27469         (write_nis_obj): Use "c" and "e" in fopen.
27471         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27473         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27475         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27477         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27479         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27480         locale.alias.
27482         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27484         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27486         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27488         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27489         file parsing and set FD_CLOEXEC.
27491 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27493         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27495 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27497         * malloc/arena.c (arena_get2): Don't call reused_arena when
27498         _int_new_arena failed.
27500 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27502         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27503         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27504         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27505         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27506         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27507         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27508         to compile strcasecmp and strncasecmp.
27509         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27510         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27514 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27516         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27517         locale-defines.sym to gen-as-const-headers.
27518         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27519         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27520         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27521         to compile strcasecmp and strncasecmp.
27522         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27523         strcasecmp_l and strncasecmp_l.
27524         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27525         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27526         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27527         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27528         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27529         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27530         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27531         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27532         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27533         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27534         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27536 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27538         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27539         result of SYSDEP_GETTIME_CPU to retval.
27540         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27541         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27543         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27544         variable.
27546         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27547         mantissa words.
27548         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27550         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27551         from unused variable.
27553         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27554         DWARF definitions.
27555         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27556         for assembling.
27558         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27559         over namespaces.
27561         * sunrpc/rpc_prot.c (rejected): Fix case value.
27563         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27564         unsigned long long int to avoid warnings in shift.
27566         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27567         of use of trans.
27568         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27569         variable tmp.
27571         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27572         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27573         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27575         * nis/nis_table.c (nis_list): Use variable of correct type for
27576         result of __follow_path call.
27578 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27580         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27581         of math functions ceil, trunc, floor, round, and sqrt, when
27582         avaliable on the platform.
27583         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27584         name clash.
27585         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27586         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27587         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27589 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27591         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27592         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27594 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27596         * include/unistd.h: Fix __readlink return type.
27597         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27599 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27601         * stdlib/ucontext.h: Undo last change for makecontext.
27603 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27605         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27607         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27608         * setjmp/setjmp.h: Mark functions as non-leaf.
27609         * setjmp/bits/setjmp2.h: Likewise.
27610         * stdlib/ucontext.h: Likewise.
27612 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27614         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27615         (reused_arena): Don't check arena limit.
27616         (arena_get2): Atomically check arena limit.
27618 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27620         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27621         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27624         instructions.
27626 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27628         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27629         handler when locking.
27631         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27632         Fix size of allocated buffer.
27634 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27636         [BZ #10103]
27637         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27638         declarations for long double functions.
27639         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27641         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27643 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27645         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27646         installed.
27648         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27649         is disabled.
27651 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27653         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27655 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27657         * include/alloca.h (stackinfo_alloca_round): Define.
27658         (extend_alloca): Use it.
27659         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27660         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27661         here.
27663         * scripts/check-local-headers.sh: Ignore libaudit.h.
27665         * nscd/Makefile (extra-objs): Make recursively expanded.
27667 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27669         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27670         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27672         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27673         * posix/tst-rfc3484-2.c: Likewise.
27674         * posix/tst-rfc3484-3.c: Likewise.
27676         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27677         process_vm_writev.
27678         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27679         process_vm_writev.
27680         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27681         process_vm_writev from libc using GLIBC_2.15 version.
27683         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27685 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27687         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27688         stack usage.
27690 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27692         [BZ #13367]
27693         * nss/getent.c (initgroups_keys): Show error message in case no group
27694         names are given.
27696         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27697         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27698         __bump_nl_timestamp.
27699         * nscd/connections (nscd_init): When host database is served open
27700         netlink socket and request notification about configuration changes.
27701         (main_loop_poll): Track netlink file descriptor and bump timestamp
27702         in case data becomes available.
27703         (main_loop_epoll): Likewise.
27704         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27705         (database_pers_head): Add extra_data fileds.
27706         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27707         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27708         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27709         Adjust caller.
27710         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27711         in6ai data, call __free_in6ai.
27712         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27713         Add -DHAVE_NETLINK.
27714         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27715         interface information.  Reuse previous data if netlink timestamp
27716         is not changed.
27717         (__bump_nl_timestamp): New function.
27718         (__free_in6ai): New function.
27720 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27722         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27723         close_not_cancel_no_status here.
27724         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27726 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27728         [BZ #13276]
27729         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27730         return value.
27732         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27733         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27734         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27736 2011-07-03  Andreas Jaeger  <aj@suse.de>
27738         [BZ #10709]
27739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27740         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27741         * math/libm-test.inc (sin_test): Add test case.
27743 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27745         [BZ #13337]
27746         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27747         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27749         * elf/chroot_canon.c (chroot_canon): Cleanups.
27751         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27753         [BZ #13335]
27754         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27755         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27757         * string/test-strchr.c: Make usable for strchrnul testing.
27758         * string/test-strchrnul.c: New file.
27759         * string/Makefile (strop-tests): Add strchrnul.
27761         * po/it.po: Update from translation team.
27762         * po/es.po: Likewise.
27764 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27766         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27767         the three constants needed as parameters.  Drop the others.
27768         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27769         __m128i_strloadu_tolower.
27770         Create and initialize variable zero and use it in all the places
27771         where _mm_setzero_si128 was used.
27773         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27774         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27775         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27776         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27777         anymore.
27778         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27779         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27780         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27781         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27782         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27783         __mpranred, __mptan.
27784         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27785         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27786         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27787         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27788         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27789         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27790         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27791         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27792         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27794 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27796         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27797         redefine if SHARED.
27798         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27801         wide char related routines to wcsmbs subdir.
27803 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27805         [BZ #13344]
27806         * misc/sys/cdefs.h (__THROWNL): Define.
27807         * posix/unistd.h: Use __THREADNL instead of __THREAD
27808         for memory synchronization functions.
27810 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27812         [BZ #13349]
27813         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27814         doesn't exist.
27815         * manual/stdio.texi (Obstack Streams): Node removed.
27817 2011-10-26  Andreas Schwab  <schwab@redhat.com>
27819         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27820         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27821         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27823         * math/math_private.h (math_force_eval): Allow non-addressable
27824         arguments.
27825         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27827 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27829         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27830         file is not needed.
27832         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27833         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27834         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27835         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27836         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27837         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27838         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27839         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27840         Add AVX variants.
27841         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27842         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27843         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27844         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27845         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27846         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27847         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27849         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27850         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27851         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27852         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27853         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27854         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27855         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27856         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27857         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27858         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27859         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27861         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27862         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
27864         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27865         place.  Use VEX encoding when compiling for AVX.
27867 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27869         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27870         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27872         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27874 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27876         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27877         useless if() expression.
27878         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27885         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27886         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27887         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27888         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27889         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27890         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27891         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27892         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27893         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27894         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27895         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27896         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27898         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27900 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27902         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27903         condition.
27904         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27906 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27908         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27909         .text section.  Avoid duplicate constants.
27910         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27912         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27914         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27916         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27918         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27919         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27920         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27921         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27922         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27923         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27924         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27925         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27926         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27927         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27928         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27929         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27930         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27931         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27932         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27933         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27934         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27935         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27936         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27937         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27938         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27939         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27940         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27941         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27942         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27943         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27944         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27945         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27946         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27947         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27948         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27949         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27950         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27951         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27952         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27953         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27954         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27956 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27958         * sysdeps/x86_64/dla.h: Move to ...
27959         * sysdeps/x86_64/fpu/dla.h: ...here.
27960         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27961         situations.  Use __builtin_fma only for gcc 4.6 and up.
27963         * config.make.in: Add have-mfma4 entry.
27964         * configure.in: Substitute libc_cv_cc_fma4.
27965         * math/Makefile (dbl-only-routines): Add sincostab.
27966         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27967         Use __sincostab not sincos.
27968         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27969         name is a macro.
27970         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27974         using __copysign.
27975         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27976         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27977         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27978         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27979         and __inv.
27980         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27981         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27982         __copysign.
27983         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27984         define aliases when function name is a macro.
27985         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27986         sysdeps/ieee754/dbl-64/sincos.tbl.
27987         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27988         fma4-enabled routines.
27989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27990         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27991         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27992         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27993         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27994         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27995         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27996         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27997         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27998         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27999         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28000         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28001         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28002         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28003         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28004         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28005         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28006         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28007         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28008         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28009         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28010         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28011         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28012         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28013         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28014         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28015         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28016         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28017         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28018         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28020         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28021         rename.
28022         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28023         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28024         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28027         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28028         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28029         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28031 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28033         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28035 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28039         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28040         prediction.
28041         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28043         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28044         Remove unused variable magic_bits.
28045         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28047         * string/strnlen.c: Define and use STRNLEN macro.
28048         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28049         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28050         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28051         * wcsmbs/wcslen.c: Define and use WCSLEN.
28052         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28053         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28054         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28055         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28056         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28057         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28058         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28060 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28063         strnlen-sse2-no-bsf.
28064         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28066         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28067         Add strnlen support.
28068         (USE_AS_STRNLEN): New macro.
28069         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28070         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28071         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28072         * sysdeps/x86_64/wcslen.S: New file.
28074 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28076         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28077         XMM-moves are used for copying on small sizes.
28079 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28081         * wcsmbs/Makefile (strop-tests): Add wcschr.
28082         * wcsmbs/test-wcschr.c: New file.
28083         * string/test-strchr.c: Update.
28084         Add wcschr support.
28085         (WIDE): New macro.
28087 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28089         * wcsmbs/Makefile (strop-tests): Add wcslen.
28090         * wcsmbs/test-wcslen.c: New file.
28091         * string/test-strlen.c: Update.
28092         Add wcslen support.
28093         (WIDE): New macro.
28095 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28097         * po/it.po: Update from translation team.
28099 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28101         * sysdeps/x86_64/wcscmp.S: Update.
28102         Fix wrong comparison semantics.
28103         wcscmp shall use signed comparison not unsigned.
28104         Don't use substraction to avoid overflow bug.
28105         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28106         * wcsmbc/wcscmp.c: Likewise.
28107         * string/test-strcmp.c: Likewise.
28108         Add new tests to check cases with negative values.
28110 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28112         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28113         * sysdeps/x86_64/dla.h: ...here.  New file.
28114         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28118         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28121         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28122         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28124 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28127         __ynl_finite aliases.
28129 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28133         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28134         define DLA_FMA.
28135         [DLA_FMA] (EMULV): Use DLA_FMA.
28136         [DLA_FMA] (MUL12): Use EMULV.
28137         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28138         that are not needed.
28139         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28140         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28143         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28145         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28147 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28149         * math/s_nan.c: Undef __nan.
28150         * math/s_nanf.c: Undef __nanf.
28151         * math/s_nanl.c: Undef __nanl.
28152         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28153         "math_private.h".
28155 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28157         * math/s_catan.c: Add branch predictions.
28158         * math/s_catanf.c: Likewise.
28159         * math/s_catanh.c: Likewise.
28160         * math/s_catanhf.c: Likewise.
28161         * math/s_catanhl.c: Likewise.
28162         * math/s_catanl.c: Likewise.
28163         * math/s_cexp.c: Likewise.
28164         * math/s_cexpf.c: Likewise.
28165         * math/s_cexpl.c: Likewise.
28166         * math/s_clog.c: Likewise.
28167         * math/s_clog10.c: Likewise.
28168         * math/s_clog10f.c: Likewise.
28169         * math/s_clog10l.c: Likewise.
28170         * math/s_clogf.c: Likewise.
28171         * math/s_clogl.c: Likewise.
28172         * math/s_csqrt.c: Likewise.
28173         * math/s_csqrtf.c: Likewise.
28174         * math/s_csqrtl.c: Likewise.
28175         * math/s_ctanf.c: Likewise.
28176         * math/s_ctanh.c: Likewise.
28177         * math/s_ctanhf.c: Likewise.
28178         * math/s_ctanhl.c: Likewise.
28179         * math/s_ctanl.c: Likewise.
28181         * math/math_private.h: Define __nan, __nanf, __nanl.
28182         * math/s_cacosh.c: Include <math_private.h>.
28183         * math/s_cacoshl.c: Likewise.
28184         * math/s_casinh.c: Likewise.
28185         * math/s_casinhf.c: Likewise.
28186         * math/s_casinhl.c: Likewise.
28187         * math/s_ccos.c: Rely entire on ccosh.
28188         * math/s_ccosf.c: Rely entire on ccoshf.
28189         * math/s_ccosl.c: Rely entirely on ccoshl.
28190         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28191         Remove tests for FE_INVALID.
28192         * math/s_ccoshf.c: Likewise.
28193         * math/s_ccoshl.c: Likewise.
28194         * math/s_csin.c: Likewise.
28195         * math/s_csinf.c: Likewise.
28196         * math/s_csinh.c Likewise.
28197         * math/s_csinhf.c: Likewise.
28198         * math/s_csinhl.c: Likewise.
28199         * math/s_csinl.c: Likewise.
28200         * math/s_ctan.c: Likewise.
28201         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28202         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28203         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28205 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28208         compilation problems.
28210         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28211         __builtin_expect.
28213 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
28215         * sysdeps/i386/configure.in: Test for -mfma4 option.
28216         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28217         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28218         COMMON_CPUID_INDEX_80000001.
28219         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28220         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28221         use it if FMA3 is not supported.
28222         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28224         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28225         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28227 2011-10-20  Andreas Schwab  <schwab@redhat.com>
28229         [BZ #12892]
28230         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28231         it would create a cycle with a link time dependency.
28233 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
28235         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28236         instruction.
28237         * string/Makefile (strop-tests): Add rawmemchr.
28238         * string/test-rawmemchr.c: New file.
28240         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28241         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
28242         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28243         when compiling str{,n}casecmp and when AVX is available.  Hook up
28244         new optimized code in initializers.
28246 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28248         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28249         __feraiseexcept instead of feraiseexcept.
28251 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28253         * math/math_private.h: Define defaults for libc_fetestexcept and
28254         libc_feupdateenv.
28255         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28256         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28257         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28258         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28259         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28260         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28261         libc_fetestexcept and libc_feupdateenv.
28263         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28264         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28265         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28266         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28267         libc_feholdexcept_setround.
28269         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28270         Add s_nearbyint-c and s_nearbyintf-c.
28271         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28272         nearbyintf inlines.
28273         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28274         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28275         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28276         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28278         * math/math_private.h: Define defaults for libc_fegetround,
28279         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28280         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28281         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28282         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28283         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28284         standard functions.
28285         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28286         Remove comments and hacks for old compiler versions.
28287         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28288         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28289         libc_feholdexceptl.
28291 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28293         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28294         (__feraiseexcept_renamed): Add __NTH.
28295         (feraiseexcept): Add __NTH.  Rename local variables to fix
28296         namespace violations.
28298 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28302         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28304         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28305         recently added interfaces.
28306         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28308         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28309         about macro parameter expansion.
28311         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28312         __NO_MATH_INLINES is defined.  Cleanups.
28314         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28315         and __floorf is target has SSE4.1.
28316         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28317         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28318         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28319         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28321         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28322         name.
28323         (floorf): Likewise.
28325         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28327 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28329         * misc/sys/cdefs.h: Fix last change.
28331         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28332         database lookup.
28334 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28336         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28338         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28339         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28340         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28341         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28342         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28343         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28344         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28345         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28346         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28347         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28348         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28349         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28350         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28351         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28352         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28353         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28354         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28355         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28356         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28357         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28358         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28359         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28361         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28362         ceil, ceilf, floor, floorf.
28364         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28365         Perform IRELATIVE relocations last.
28367         * elf/do-rel.h: Add another parameter nrelative, replacing the
28368         local variable with the same name.  Change name of the function
28369         to end in Rel or Rela (uppercase).
28370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28371         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28372         elf_dynamic_do_##reloc function.
28374 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28376         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28377         is sufficient, at least on modern CPUs.
28379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28381         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28382         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28384         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28385         __expl_finite.
28386         * math/bits/math-finite.h: Add entries for exp.
28387         * math/e_expl.c: Add __*_finite alias.
28388         * sysdeps/i386/fpu/e_exp.S: Likewise.
28389         * sysdeps/i386/fpu/e_expf.S: Likewise.
28390         * sysdeps/i386/fpu/e_expl.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28392         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28393         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28396         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28397         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28399         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28400         is sufficient, at least on modern CPUs.
28402         * ctype/ctype-info.c (__ctype_init): Define.
28403         * include/ctype.h (__ctype_init): Declare.
28404         (__ctype_b_loc): The variable is always initialized.
28405         (__ctype_toupper_loc): Likewise.
28406         (__ctype_tolower_loc): Likewise.
28407         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28408         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28410 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28412         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28414         * configure.in: Also look in $cxxmachine/include for C++ system
28415         headers.
28417 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28419         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28420         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28421         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28422         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28423         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28424         (USE_AS_WMEMCMP): New macro.
28425         Fixing indents.
28426         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28427         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28428         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28429         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28430         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28431         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28432         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28433         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28434         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28435         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28436         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28437         (USE_AS_WMEMCMP): New macro.
28438         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28439         * sysdeps/string/test-memcmp.c: Update.
28440         Fix simple_wmemcmp.
28441         Add new tests.
28442         * wcsmbs/wmemcmp.c: Update.
28443         (WMEMCMP): New macro.
28444         Fix overflow bug.
28446 2011-10-12  Andreas Jaeger  <aj@suse.de>
28448         [BZ #13268]
28449         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28451 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28453         * libio/iofwide.c (do_length): Avoid warning.
28455         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28457 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28459         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28461         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28462         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28463         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28464         * sysdeps/i386/i686/fpu/e_log.S: New file.
28465         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28466         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28468         * ctype/ctype.h: Add support for inlined isXXX functions when
28469         compiling C++ code.
28471 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28473         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28475         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28477 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28479         [BZ #13291]
28480         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28482 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28484         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28485         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28486         feraiseexcept.
28488         * sysdeps/x86_64/memrchr.S: Check for zero size.
28490         * string/stratcliff.c: Add memrchr tests.
28492 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28495         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28496         rawmemchr-sse2 rawmemchr-sse2-bsf.
28497         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28498         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28499         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28500         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28501         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28502         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28503         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28504         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28505         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28506         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28507         * string/memrchr.c (MEMRCHR): New macro.
28509 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28511         Add integration with gcc's -ffinite-math-only and optimize wrapper
28512         functions in libm.
28513         * Versions.def: Define GLIBC_2.15 version for libm.
28514         * math/Makefile (headers): Add bits/math-finite.h.
28515         * math/bits/math-finite.h: New file.
28516         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28517         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28518         * math/e_acoshl.c: Add __*_finite alias.
28519         * math/e_acosl.c: Likewise.
28520         * math/e_asinl.c: Likewise.
28521         * math/e_atan2l.c: Likewise.
28522         * math/e_atanhl.c: Likewise.
28523         * math/e_coshl.c: Likewise.
28524         * math/e_exp10.c: Likewise.
28525         * math/e_exp10f.c: Likewise.
28526         * math/e_exp10l.c: Likewise.
28527         * math/e_exp2l.c: Likewise.
28528         * math/e_fmodl.c: Likewise.
28529         * math/e_gammal_r.c: Likewise.
28530         * math/e_hypotl.c: Likewise.
28531         * math/e_j0l.c: Likewise.
28532         * math/e_j1l.c: Likewise.
28533         * math/e_jnl.c: Likewise.
28534         * math/e_lgammal_r.c: Likewise.
28535         * math/e_log10l.c: Likewise.
28536         * math/e_log2l.c: Likewise.
28537         * math/e_logl.c: Likewise.
28538         * math/e_powl.c: Likewise.
28539         * math/e_sinhl.c: Likewise.
28540         * math/e_sqrtl.c: Likewise.
28541         * math/e_scalb.c: Completely rewritten and optimized.
28542         * math/e_scalbf.c: Likewise.
28543         * math/e_scalbl.c: Likewise.
28544         * math/w_acos.c: Likewise.
28545         * math/w_acosf.c: Likewise.
28546         * math/w_acosl.c: Likewise.
28547         * math/w_acosh.c: Likewise.
28548         * math/w_acoshf.c: Likewise.
28549         * math/w_acoshl.c: Likewise.
28550         * math/w_asin.c: Likewise.
28551         * math/w_asinf.c: Likewise.
28552         * math/w_asinl.c: Likewise.
28553         * math/w_atan2.c: Likewise.
28554         * math/w_atan2f.c: Likewise.
28555         * math/w_atan2l.c: Likewise.
28556         * math/w_atanh.c: Likewise.
28557         * math/w_atanhf.c: Likewise.
28558         * math/w_atanhl.c: Likewise.
28559         * math/w_exp10.c: Likewise.
28560         * math/w_exp10f.c: Likewise.
28561         * math/w_exp10l.c: Likewise.
28562         * math/w_fmod.c: Likewise.
28563         * math/w_fmodf.c: Likewise.
28564         * math/w_fmodl.c: Likewise.
28565         * math/w_j0.c: Likewise.
28566         * math/w_j0f.c: Likewise.
28567         * math/w_j0l.c: Likewise.
28568         * math/w_j1.c: Likewise.
28569         * math/w_j1f.c: Likewise.
28570         * math/w_j1l.c: Likewise.
28571         * math/w_jn.c: Likewise.
28572         * math/w_jnf.c: Likewise.
28573         * math/w_log.c: Likewise.
28574         * math/w_logf.c: Likewise.
28575         * math/w_logl.c: Likewise.
28576         * math/w_log10.c: Likewise.
28577         * math/w_log10f.c: Likewise.
28578         * math/w_log10l.c: Likewise.
28579         * math/w_log2.c: Likewise.
28580         * math/w_log2f.c: Likewise.
28581         * math/w_log2l.c: Likewise.
28582         * math/w_pow.c: Likewise.
28583         * math/w_powf.c: Likewise.
28584         * math/w_powl.c: Likewise.
28585         * math/w_remainder.c: Likewise.
28586         * math/w_remainderf.c: Likewise.
28587         * math/w_remainderl.c: Likewise.
28588         * math/w_scalb.c: Likewise.
28589         * math/w_scalbf.c: Likewise.
28590         * math/w_scalbl.c: Likewise.
28591         * math/w_sqrt.c: Likewise.
28592         * math/w_sqrtf.c: Likewise.
28593         * math/w_sqrtl.c: Likewise.
28594         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28595         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28596         used.
28597         * math/math_private.h: Declare __kernel_standard_f.
28598         * math/w_cosh.c: Remove cruft and optimize a bit.
28599         * math/w_coshf.c: Likewise.
28600         * math/w_coshl.c: Likewise.
28601         * math/w_exp2.c: Likewise.
28602         * math/w_exp2f.c: Likewise.
28603         * math/w_exp2l.c: Likewise.
28604         * math/w_hypot.c: Likewise.
28605         * math/w_hypotf.c: Likewise.
28606         * math/w_hypotl.c: Likewise.
28607         * math/w_lgamma.c: Likewise.
28608         * math/w_lgamma_r.c: Likewise.
28609         * math/w_lgammaf.c: Likewise.
28610         * math/w_lgammaf_r.c: Likewise.
28611         * math/w_lgammal.c: Likewise.
28612         * math/w_lgammal_r.c: Likewise.
28613         * math/w_sinh.c: Likewise.
28614         * math/w_sinhf.c: Likewise.
28615         * math/w_sinhl.c: Likewise.
28616         * math/w_tgamma.c: Likewise.
28617         * math/w_tgammaf.c: Likewise.
28618         * math/w_tgammal.c: Likewise.
28619         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28621         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28622         Minor optimizations.  Pretty printing.  Remove cruft.
28623         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28624         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28625         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28626         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28627         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28628         * sysdeps/i386/fpu/e_asin.S: Likewise.
28629         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28630         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28631         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28632         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28633         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28634         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28635         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28636         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28637         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28638         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28639         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28640         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28641         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28642         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28643         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28644         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28645         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28646         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28647         * sysdeps/i386/fpu/e_log.S: Likewise.
28648         * sysdeps/i386/fpu/e_log10.S: Likewise.
28649         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28650         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28651         * sysdeps/i386/fpu/e_log2.S: Likewise.
28652         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28653         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28654         * sysdeps/i386/fpu/e_logf.S: Likewise.
28655         * sysdeps/i386/fpu/e_logl.S: Likewise.
28656         * sysdeps/i386/fpu/e_pow.S: Likewise.
28657         * sysdeps/i386/fpu/e_powf.S: Likewise.
28658         * sysdeps/i386/fpu/e_powl.S: Likewise.
28659         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28660         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28661         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28662         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28663         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28664         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28665         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28666         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28667         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28668         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28669         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28671         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28672         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28673         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28674         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28675         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28676         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28677         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28678         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28679         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28681         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28682         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28683         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28684         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28685         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28686         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28687         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28688         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28689         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28690         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28691         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28692         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28693         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28694         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28695         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28696         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28697         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28698         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28699         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28700         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28701         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28702         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28703         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28704         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28705         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28706         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28707         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28708         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28709         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28710         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28711         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28712         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28713         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28714         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28715         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28716         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28717         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28718         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28719         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28720         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28721         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28722         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28723         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28724         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28725         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28726         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28727         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28728         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28729         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28730         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28731         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28732         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28733         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28734         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28735         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28736         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28738         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28739         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28740         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28742         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28743         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28744         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28745         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28746         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28747         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28748         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28749         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28750         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28751         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28752         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28753         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28754         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28755         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28756         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28757         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28758         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28759         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28760         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28761         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28762         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28763         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28764         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28765         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28766         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28767         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28768         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28769         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28770         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28771         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28772         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28773         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28774         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28775         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28776         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28777         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28778         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28779         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28780         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28781         (__isnanf): Likewise.
28782         (__isinf_ns): Likewise.
28783         (__isinf_nsf): Likewise.
28784         (__finite): Likewise.
28785         (__finitef): Likewise.
28786         (__ieee754_sqrt): Define as macro.
28787         (__ieee754_sqrtf): Define as macro.
28788         (__ieee754_sqrtl): Define as macro.
28789         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28790         inlined copy.
28791         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28792         __FINITE_MATH_ONLY__ consistent.
28793         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28795 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28797         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28798         of rawmemchr.
28800         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28802 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28804         * po/ja.po: Update from translation team.
28806 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28808         * locale/programs/locarchive.c (prepare_address_space): New function.
28809         (create_archive, enlarge_archive, open_archive): Use it.
28811         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28812         inside [SHARED], where it is used.
28814         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28816         * nss/getent.c (netgroup_keys): Remove unused variable.
28817         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28819 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
28821         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28822         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28823         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28824         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28825         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28826         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28827         * math/Makefile (libm-calls): Add s_isinf_ns.
28828         * math/divtc3.c: Use __isinf_nsl instead of isinf.
28829         * math/multc3.c: Likewise.
28830         * math/s_casin.c: Likewise.
28831         * math/s_casinf.c: Likewise.
28832         * math/s_casinl.c: Likewise.
28833         * math/s_ccos.c: Likewise.
28834         * math/s_ccosf.c: Likewise.
28835         * math/s_ccosl.c: Likewise.
28836         * math/s_ctan.c: Likewise.
28837         * math/s_ctanf.c: Likewise.
28838         * math/s_ctanh.c: Likewise.
28839         * math/s_ctanhf.c: Likewise.
28840         * math/s_ctanhl.c: Likewise.
28841         * math/s_ctanl.c: Likewise.
28842         * math/w_fmod.c: Likewise.
28843         * math/w_fmodf.c: Likewise.
28844         * math/w_fmodl.c: Likewise.
28845         * math/w_remainder.c: Likewise.
28846         * math/w_remainderf.c: Likewise.
28847         * math/w_remainderl.c: Likewise.
28848         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28849         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28850         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28851         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28852         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28853         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28854         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28855         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28857         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28858         of the number.
28859         * stdio-common/printf_fphex.c: Likewise.
28860         * stdio-common/printf_size.c: Likewise.
28862         * math/e_exp10.c: Include math_private.h using <...> not "...".
28863         * math/e_exp10f.c: Likewise.
28864         * math/e_exp10l.c: Likewise.
28865         * math/e_exp2l.c: Likewise.
28866         * math/e_j0l.c: Likewise.
28867         * math/e_j1l.c: Likewise.
28868         * math/e_jnl.c: Likewise.
28869         * math/e_lgammal_r.c: Likewise.
28870         * math/e_rem_pio2l.c: Likewise.
28871         * math/e_scalb.c: Likewise.
28872         * math/e_scalbf.c: Likewise.
28873         * math/e_scalbl.c: Likewise.
28874         * math/k_cosl.c: Likewise.
28875         * math/k_sinl.c: Likewise.
28876         * math/k_tanl.c: Likewise.
28877         * math/s_cacoshf.c: Likewise.
28878         * math/s_catan.c: Likewise.
28879         * math/s_catanf.c: Likewise.
28880         * math/s_catanh.c: Likewise.
28881         * math/s_catanhf.c: Likewise.
28882         * math/s_catanhl.c: Likewise.
28883         * math/s_catanl.c: Likewise.
28884         * math/s_ccosh.c: Likewise.
28885         * math/s_ccoshf.c: Likewise.
28886         * math/s_ccoshl.c: Likewise.
28887         * math/s_cexp.c: Likewise.
28888         * math/s_cexpf.c: Likewise.
28889         * math/s_cexpl.c: Likewise.
28890         * math/s_clog.c: Likewise.
28891         * math/s_clog10.c: Likewise.
28892         * math/s_clog10f.c: Likewise.
28893         * math/s_clog10l.c: Likewise.
28894         * math/s_clogf.c: Likewise.
28895         * math/s_clogl.c: Likewise.
28896         * math/s_csin.c: Likewise.
28897         * math/s_csinf.c: Likewise.
28898         * math/s_csinh.c: Likewise.
28899         * math/s_csinhf.c: Likewise.
28900         * math/s_csinhl.c: Likewise.
28901         * math/s_csinl.c: Likewise.
28902         * math/s_csqrt.c: Likewise.
28903         * math/s_csqrtf.c: Likewise.
28904         * math/s_csqrtl.c: Likewise.
28905         * math/s_ctan.c: Likewise.
28906         * math/s_ctanf.c: Likewise.
28907         * math/s_ctanh.c: Likewise.
28908         * math/s_ctanhf.c: Likewise.
28909         * math/s_ctanhl.c: Likewise.
28910         * math/s_ctanl.c: Likewise.
28911         * math/s_ldexp.c: Likewise.
28912         * math/s_ldexpf.c: Likewise.
28913         * math/s_ldexpl.c: Likewise.
28914         * math/s_significand.c: Likewise.
28915         * math/s_significandf.c: Likewise.
28916         * math/s_significandl.c: Likewise.
28917         * math/w_acos.c: Likewise.
28918         * math/w_acosf.c: Likewise.
28919         * math/w_acosh.c: Likewise.
28920         * math/w_acoshf.c: Likewise.
28921         * math/w_acoshl.c: Likewise.
28922         * math/w_acosl.c: Likewise.
28923         * math/w_asin.c: Likewise.
28924         * math/w_asinf.c: Likewise.
28925         * math/w_asinl.c: Likewise.
28926         * math/w_atan2.c: Likewise.
28927         * math/w_atan2f.c: Likewise.
28928         * math/w_atan2l.c: Likewise.
28929         * math/w_atanh.c: Likewise.
28930         * math/w_atanhf.c: Likewise.
28931         * math/w_atanhl.c: Likewise.
28932         * math/w_cosh.c: Likewise.
28933         * math/w_coshf.c: Likewise.
28934         * math/w_coshl.c: Likewise.
28935         * math/w_dremf.c: Likewise.
28936         * math/w_exp10.c: Likewise.
28937         * math/w_exp10f.c: Likewise.
28938         * math/w_exp10l.c: Likewise.
28939         * math/w_exp2.c: Likewise.
28940         * math/w_exp2f.c: Likewise.
28941         * math/w_fmod.c: Likewise.
28942         * math/w_fmodf.c: Likewise.
28943         * math/w_fmodl.c: Likewise.
28944         * math/w_hypot.c: Likewise.
28945         * math/w_hypotf.c: Likewise.
28946         * math/w_hypotl.c: Likewise.
28947         * math/w_j0.c: Likewise.
28948         * math/w_j0f.c: Likewise.
28949         * math/w_j0l.c: Likewise.
28950         * math/w_j1.c: Likewise.
28951         * math/w_j1f.c: Likewise.
28952         * math/w_j1l.c: Likewise.
28953         * math/w_jn.c: Likewise.
28954         * math/w_jnf.c: Likewise.
28955         * math/w_jnl.c: Likewise.
28956         * math/w_lgamma.c: Likewise.
28957         * math/w_lgamma_r.c: Likewise.
28958         * math/w_lgammaf.c: Likewise.
28959         * math/w_lgammaf_r.c: Likewise.
28960         * math/w_lgammal.c: Likewise.
28961         * math/w_lgammal_r.c: Likewise.
28962         * math/w_log.c: Likewise.
28963         * math/w_log10.c: Likewise.
28964         * math/w_log10f.c: Likewise.
28965         * math/w_log10l.c: Likewise.
28966         * math/w_log2.c: Likewise.
28967         * math/w_log2f.c: Likewise.
28968         * math/w_log2l.c: Likewise.
28969         * math/w_logf.c: Likewise.
28970         * math/w_logl.c: Likewise.
28971         * math/w_pow.c: Likewise.
28972         * math/w_powf.c: Likewise.
28973         * math/w_powl.c: Likewise.
28974         * math/w_remainder.c: Likewise.
28975         * math/w_remainderf.c: Likewise.
28976         * math/w_remainderl.c: Likewise.
28977         * math/w_scalb.c: Likewise.
28978         * math/w_scalbf.c: Likewise.
28979         * math/w_scalbl.c: Likewise.
28980         * math/w_sinh.c: Likewise.
28981         * math/w_sinhf.c: Likewise.
28982         * math/w_sinhl.c: Likewise.
28983         * math/w_sqrt.c: Likewise.
28984         * math/w_sqrtf.c: Likewise.
28985         * math/w_sqrtl.c: Likewise.
28986         * math/w_tgamma.c: Likewise.
28987         * math/w_tgammaf.c: Likewise.
28988         * math/w_tgammal.c: Likewise.
28990         * po/ja.po: Update from translation team.
28992 2011-09-29  Andreas Jaeger  <aj@suse.de>
28994         [BZ #13179]
28995         * sunrpc/netname.c (netname2host): Fix logic.
28997         [BZ #6779]
28998         [BZ #6783]
28999         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29000         correctly.
29001         * math/w_remainder.c (__remainder): Likewise.
29002         * math/w_remainderf.c (__remainderf): Likewise.
29003         * math/libm-test.inc (remainder_test): Add test cases.
29005 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29007         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29008         sdiv_qrnnd.
29010 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29012         * string/test-memcmp.c: Avoid unncessary #defines.
29013         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29015 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29017         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29018         Use new sse2 version for core i3 - i7 as it's faster
29019         than sse42 version.
29020         (bit_Prefer_PMINUB_for_stringop): New.
29021         * sysdeps/x86_64/rawmemchr.S: Update.
29022         Replace with faster SSE2 version.
29023         * sysdeps/x86_64/memrchr.S: New file.
29024         * sysdeps/x86_64/memchr.S: Update.
29025         Replace with faster SSE2 version.
29027 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29029         * elf/dl-load.c (lose): Add cast to avoid warning.
29031 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29033         * po/ca.po: Update from translation team.
29035         * inet/getnetgrent_r.c: Hook up nscd.
29036         * nscd/Makefile (routines): Add nscd_netgroup.
29037         (nscd-modules): Add netgroupcache.
29038         (CFLAGS-netgroupcache.c): Define.
29039         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29040         (cache_search): Add const to second parameter.
29041         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29042         INNETGR.
29043         (dbs): Add netgrdb entry.
29044         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29045         (verify_persistent_db): Handle netgrdb.
29046         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29047         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29048         GETFDNETGR.
29049         (netgroup_response_header): Define.
29050         (innetgroup_response_header): Define.
29051         (datahead): Add netgroup_response_header and innetgroup_response_header
29052         elements.
29053         * nscd/nscd.conf: Add entries for netgroup cache.
29054         * nscd/nscd.h (dbtype): Add netgrdb.
29055         (_PATH_NSCD_NETGROUP_DB): Define.
29056         (netgroup_iov_disabled): Declare.
29057         (xmalloc, xcalloc, xrealloc): Move declarations here.
29058         (cache_search): Adjust prototype.
29059         Add netgroup-related prototypes.
29060         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29061         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29062         (__nscd_innetgr): Declare.
29063         * nscd/selinux.c (perms): Use access_vector_t as element type and
29064         add netgroup-related initializers.
29065         * nscd/netgroupcache.c: New file.
29066         * nscd/nscd_netgroup.c: New file.
29067         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29068         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29069         For four parameters use innetgr.
29070         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29071         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29072         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29073         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29075         * nscd/connections.c (register_traced_file): Don't register file
29076         for disabled databases.
29078 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29080         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29082         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29083         from tree and freeing node.
29085 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29087         * nss/nsswitch.c (__nss_database_lookup): Handle
29088         nss_parse_service_list out of memory case.
29090 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29092         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29093         out of memory case.
29095 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29097         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29098         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29099         pass it down.
29100         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29101         elf_machine_rela, elf_machine_lazy_rel.
29102         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29103         (ELF_DYNAMIC_DO_REL): Likewise.
29104         (ELF_DYNAMIC_DO_RELA): Likewise.
29105         (ELF_DYNAMIC_RELOCATE): Likewise.
29106         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29107         to ELF_DYNAMIC_DO_REL.
29108         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29109         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29110         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29111         elf_machine_rela.
29112         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29113         skip_ifunc, don't call ifunc function if non-zero.
29114         (elf_machine_rela): Likewise.
29115         (elf_machine_lazy_rel): Likewise.
29116         (elf_machine_lazy_rela): Likewise.
29117         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29118         (elf_machine_lazy_rel): Likewise.
29119         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29120         Likewise.
29121         (elf_machine_lazy_rel): Likewise.
29122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29123         Likewise.
29124         (elf_machine_lazy_rel): Likewise.
29125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29126         (elf_machine_lazy_rel): Likewise.
29127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29128         (elf_machine_lazy_rel): Likewise.
29129         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29130         (elf_machine_lazy_rel): Likewise.
29131         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29132         (elf_machine_lazy_rel): Likewise.
29133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29134         (elf_machine_lazy_rel): Likewise.
29135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29136         (elf_machine_lazy_rel): Likewise.
29138 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29140         * nss/nss_files/files-init.c (_nss_files_init): Use static
29141         initialization for all the *_traced_file variables.
29143 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29145         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29147 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29149         [BZ #13226]
29150         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29152 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29154         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29155         Reread the line before reparsing it.
29157 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29159         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29161 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29162             Maxim Kuvyrkov  <maxim@codesourcery.com>
29163             Joseph Myers  <joseph@codesourcery.com>
29165         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29166         if needed for __stack_chk_guard.
29168 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29170         * sysdeps/posix/spawni.c (script_execute): Always define it.
29171         It will be optimized away if unused.
29172         (maybe_script_execute): New function.
29173         (__spawni): Call it.
29175         * Makerules: Don't include tls.make.
29176         (config-tls): Always set to thread.
29177         * tls.make.c: File removed.
29179 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29181         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29182         * config.make.in (CPPFLAGS-config): New substituted variable.
29184 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29186         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29188         [BZ #13192]
29189         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29190         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29192 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29194         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29195         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29197         (CALL_FAIL): Likewise.
29198         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29199         (CALL_FAIL): Macro removed.
29200         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29202 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29204         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29205         for __FINITE_MATH_ONLY__ == 1.
29207 2011-09-15  Andreas Schwab  <schwab@redhat.com>
29209         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29210         __ieee754_sqrt instead of sqrt.
29211         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29212         __ieee754_sqrtf instead of sqrtf.
29213         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29214         __floorf instead of floorf.
29215         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29216         __floorf, __truncf instead of floorf, truncf.
29218 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29220         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29222         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29223         __extern_always_inline.
29224         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29225         32-bit.
29227 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29229         * elf/rtld.c (dl_main): Also relocate in dependency order when
29230         doing symbol dependency testing.
29232 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29235         Always define `refsym'.
29237 2011-09-13  Andreas Schwab  <schwab@redhat.com>
29239         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29240         (__FD_ELT): Renamed from __FDELT.
29241         * misc/bits/select2.h (__FD_ELT): Likewise.
29242         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29243         __FD_MASK instead of __FDELT, __FDMASK.
29244         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29245         Likewise.
29246         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29247         Likewise.
29249         * elf/Makefile (gen-ldd): Fix pattern.
29251         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29252         (init_tls): Likewise.
29254 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29256         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29258 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29260         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29261         `struct cmsghdr *' instead of `void *'.
29262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29263         Likewise.
29265 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29267         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29268         if non-absolute.
29269         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29270         ldd_rewrite_script.
29272 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29274         * configure.in: Remove --with-tls option.
29275         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29276         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29277         out in case it is missing.
29278         * sysdeps/ia64/elf/configure.in: Likewise.
29279         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29280         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29281         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29282         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29283         * sysdeps/sh/elf/configure.in: Likewise.
29284         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29285         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29286         * sysdeps/x86_64/elf/configure.in: Likewise.
29287         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29288         * sysdeps/mach/hurd/tls.h: Likewise.
29290         [BZ #13067]
29291         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29293         [BZ #13090]
29294         * configure.in: Fix use of AC_INIT.
29296         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29298 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29300         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29301         __set_errno.
29302         * malloc/hooks.c: Likewise.
29304         [BZ #11929]
29305         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29306         variables statically.
29307         (narenas): Initialize.
29308         (list_lock): Initialize.
29309         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29310         initializtion of main_arena and list_lock.  Small cleanups.
29311         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29312         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29313         Add initializers to main_arena and mp_.
29314         (malloc_state): Remove pagesize member.  Change all users to use
29315         GLRO(dl_pagesize).
29317         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29318         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29319         is always initialized.
29321         * malloc/malloc.c: Removed unused configurations and dead code.
29322         * malloc/arena.c: Likewise.
29323         * malloc/hooks.c: Likewise.
29324         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29326         * include/tls.h: Removed.  USE___THREAD must always be defined.
29327         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29328         * elf/dl-libc.c: Likewise.
29329         * elf/dl-tsd.c: Likewise.
29330         * include/errno.h: Likewise.
29331         * include/netdb.h: Likewise.
29332         * include/resolv.h: Likewise.
29333         * inet/herrno-loc.c: Likewise.
29334         * inet/herrno.c: Likewise.
29335         * malloc/arena.c: Likewise.
29336         * malloc/hooks.c: Likewise.
29337         * malloc/malloc.c: Likewise.
29338         * resolv/res-state.c: Likewise.
29339         * resolv/res_libc.c: Likewise.
29340         * sysdeps/i386/dl-machine.h: Likewise.
29341         * sysdeps/ia64/dl-machine.h: Likewise.
29342         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29343         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29344         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29345         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29346         * sysdeps/sh/dl-machine.h: Likewise.
29347         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29348         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29349         * sysdeps/unix/i386/sysdep.S: Likewise.
29350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29351         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29356         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29360         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29361         * sysdeps/x86_64/dl-machine.h: Likewise.
29362         * tls.make.c: Likewise.
29364         * configure.in: Remove --with-__thread option.  Make tests for
29365         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29366         tls_model attribute fail if no support is available.  Remove
29367         USE_IN_LIBIO.
29368         * Makeconfig: Adjust for dropped configure option.  All features are
29369         now mandatory.
29370         * Makerules: Likewise.
29371         * Versions.def: Likewise.
29372         * argp/argp-fmtstream.c: Likewise.
29373         * argp/argp-fmtstream.h: Likewise.
29374         * argp/argp-help.c: Likewise.
29375         * assert/assert.c: Likewise.
29376         * config.h.in: Likewise.
29377         * config.make.in: Likewise.
29378         * configure: Likewise.
29379         * configure.in: Likewise.
29380         * csu/Versions: Likewise.
29381         * csu/init.c: Likewise.
29382         * elf/tst-audit2.c: Likewise.
29383         * elf/tst-tls10.c: Likewise.
29384         * elf/tst-tls10.h: Likewise.
29385         * elf/tst-tls11.c: Likewise.
29386         * elf/tst-tls12.c: Likewise.
29387         * elf/tst-tls14.c: Likewise.
29388         * elf/tst-tlsmod11.c: Likewise.
29389         * elf/tst-tlsmod12.c: Likewise.
29390         * elf/tst-tlsmod13.c: Likewise.
29391         * elf/tst-tlsmod13a.c: Likewise.
29392         * elf/tst-tlsmod14a.c: Likewise.
29393         * elf/tst-tlsmod15b.c: Likewise.
29394         * elf/tst-tlsmod16a.c: Likewise.
29395         * elf/tst-tlsmod16b.c: Likewise.
29396         * elf/tst-tlsmod7.c: Likewise.
29397         * elf/tst-tlsmod8.c: Likewise.
29398         * elf/tst-tlsmod9.c: Likewise.
29399         * gmon/gmon.c: Likewise.
29400         * grp/fgetgrent_r.c: Likewise.
29401         * grp/putgrent.c: Likewise.
29402         * hurd/fopenport.c: Likewise.
29403         * include/libc-symbols.h: Likewise.
29404         * include/tls.h: Likewise.
29405         * intl/gettextP.h: Likewise.
29406         * intl/loadinfo.h: Likewise.
29407         * locale/global-locale.c: Likewise.
29408         * locale/localeinfo.h: Likewise.
29409         * mach/devstream.c: Likewise.
29410         * malloc/arena.c: Likewise.
29411         * malloc/set-freeres.c: Likewise.
29412         * misc/err.c: Likewise.
29413         * misc/getttyent.c: Likewise.
29414         * misc/mntent_r.c: Likewise.
29415         * posix/getopt.c: Likewise.
29416         * posix/wordexp.c: Likewise.
29417         * pwd/fgetpwent_r.c: Likewise.
29418         * resolv/Versions: Likewise.
29419         * resolv/res_hconf.c: Likewise.
29420         * shadow/fgetspent_r.c: Likewise.
29421         * shadow/putspent.c: Likewise.
29422         * stdio-common/printf_fphex.c: Likewise.
29423         * stdio-common/tmpfile.c: Likewise.
29424         * stdlib/abort.c: Likewise.
29425         * stdlib/fmtmsg.c: Likewise.
29426         * sunrpc/auth_unix.c: Likewise.
29427         * sunrpc/clnt_perr.c: Likewise.
29428         * sunrpc/clnt_tcp.c: Likewise.
29429         * sunrpc/clnt_udp.c: Likewise.
29430         * sunrpc/clnt_unix.c: Likewise.
29431         * sunrpc/openchild.c: Likewise.
29432         * sunrpc/svc_simple.c: Likewise.
29433         * sunrpc/svc_tcp.c: Likewise.
29434         * sunrpc/svc_udp.c: Likewise.
29435         * sunrpc/svc_unix.c: Likewise.
29436         * sunrpc/xdr.c: Likewise.
29437         * sunrpc/xdr_array.c: Likewise.
29438         * sunrpc/xdr_rec.c: Likewise.
29439         * sunrpc/xdr_ref.c: Likewise.
29440         * sunrpc/xdr_stdio.c: Likewise.
29442 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29444         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29446 2011-07-03  Andreas Jaeger  <aj@suse.de>
29448         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29449         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29450         regenerate with gen-libm-tests.pl.
29452 2010-05-12  Petr Baudis  <pasky@suse.cz>
29454         [BZ #11589]
29455         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29456         around j0() zero points by switching to j1().
29457         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29462 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29464         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29465         instead of 0.
29466         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29467         instead of 0.
29468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29469         Patch in part by Pavel Roskin <proski@gnu.org>.
29471         [BZ #13138]
29472         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29473         realloc.
29474         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29475         Free memory block if necessary.
29477         [BZ #12847]
29478         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29479         be NULL.  Don't lock in this case.
29481 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29483         * elf/elf.h (ELFOSABI_GNU): New macro.
29484         (ELFOSABI_LINUX): Define to that.
29486 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29488         * string/strncat.c (strncat): Undef the symbol in case it has been
29489         defined in bits/string.h.
29491 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29493         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29495         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29496         link map.
29498 2011-08-17  Andreas Jaeger  <aj@suse.de>
29500         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29502 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29503             Ian Lance Taylor  <iant@google.com>
29505         * math/libm-test.inc (lround_test): New testcase.
29506         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29508 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29510         * Makefile: Remove support for automatic cvs check-ins.
29511         * Makerules: Likewise.
29512         * config.make.in: Likewise.
29513         * configure.in: Likewise.
29514         * intl/Makefile: Likewise.
29515         * locale/Makefile: Likewise.
29516         * po/Makefile: Likewise.
29517         * posix/Makefile: Likewise.
29518         * sysdeps/gnu/Makefile: Likewise.
29519         * sysdeps/mach/hurd/Makefile: Likewise.
29520         * sysdeps/sparc/sparc32/Makefile: Likewise.
29522         [BZ #13118]
29523         * posix/Makefile (bug-regex32-ENV): Define.
29524         Patch by John Stanley <jpsinthemix@verizon.net>.
29526         * misc/Makefile (headers): Add bits/select2.h.
29527         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29528         * misc/bits/select2.h: New file.
29529         * include/bits/select2.h: New file.
29530         * debug/Makefile (routines): Add fdelt_chk.
29531         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29532         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29533         FD_ISSET.
29534         * debug/fdelt_chk.c: New file.
29536         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29537         * wcsmbs/test-wmemcmp.c: Likewise.
29538         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29539         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29541 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29543         * string/Makefile (strop-tests): Add memcmp.
29544         * string/test-wmemcmp.c: New file.
29545         * string/test-memcmp.c: Add wmemcmp support.
29547 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29549         [BZ #13153]
29550         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29551         2011-07-19 change.
29553         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29554         garbage value in a __mach_port_mod_refs call in the cases of the
29555         task-self and thread-self ports.
29557 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29559         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29561 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29563         * elf/dl-load.c (lose): Check for non-null L.
29565 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29567         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29569         * elf/dl-libc.c (dlerror_run): Pass back error code from
29570         dl_catch_error.
29572         [BZ #13123]
29573         * elf/dl-load.c (lose): Free l_origin if it is valid.
29575         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29576         names.
29577         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29578         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29579         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29580         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29581         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29582         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29584 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29586         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29587         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29588         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29589         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29590         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29591         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29592         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29593         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29594         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29595         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29597 2011-08-15  Alan Modra  <amodra@gmail.com>
29599         [BZ #13092]
29600         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29601         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29602         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29603         ppc_mcount to static-only-routines.
29604         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29605         __mcount_internal.
29606         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29607         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29609 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29612         for finite and infinity parameters.
29614 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29616         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29617         and add nop instructions for throughput optimization.
29618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29620 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29623         aligned copy for power7 with vector-scalar instructions.
29624         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29626 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29629         AVX check.
29631 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29633         [BZ #13144]
29634         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29635         last change.
29637 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29639         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29640         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29641         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29642         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29643         clock_gettime.
29645 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29647         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29648         Forgot to demangle the pointer.
29650         * sysdeps/i386/sysdep.h: Define atom_text_section.
29651         * sysdeps/x86_64/sysdep.h: Likewise.
29652         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29653         section with atom_text_section.
29654         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29655         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29656         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29660         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29661         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29662         already be defined.  Change to take two parameters and don't assign
29663         result to variable.  Adjust all users.
29664         Define INTERNAL_GETTIME if not already defined.
29665         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29666         call.
29667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29668         HAVE_CLOCK_GETTIME_VSYSCALL.
29669         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29672         gettimeofday vsyscall, just use time.
29674 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29677         <errno.h>.
29679 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29681         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29682         syscall on x86-64.
29683         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29684         syscall.
29685         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29686         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29687         syscall if possible.
29689 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29691         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29692         e_ident.  Don't pass to find_mapsXX.
29693         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29695 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29698         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29699         * sysdeps/x86_64/multiarch/strchr.S: Update.
29700         Check bit_slow_BSF bit.
29701         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29702         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29703         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29705 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29707         [BZ #13134]
29708         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29709         before glibc 2.15.
29710         (tryshell): Define.
29711         (__spawni): Change last parameter to be flag.  Test
29712         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29713         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29714         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29715         * posix/spawni.c: Likewise.
29716         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29717         * posix/spawnp.c: Likewise.  Change normal version to use
29718         SPAWN_XFLAGS_USE_PATH.
29719         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29720         SPAWN_XFLAGS_TRY_SHELL.
29722         [BZ #13150]
29723         * posix/glob.h: Remove gcc 1.x support.
29725         [BZ #13068]
29726         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29728 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29730         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29731         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29732         strrchr-sse2-bsf
29733         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29734         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29735         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29736         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29737         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29738         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29740 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29742         * sysdeps/x86_64/wcscmp.S: New file.
29744         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29745         wcscmp-c wcscmp-sse2
29746         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29747         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29748         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29749         * wcsmbs/wcscmp.c: Allow renaming.
29751 2011-09-05  David S. Miller  <davem@davemloft.net>
29753         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29754         stack slot, rather than the struct return pointer slot.
29755         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29756         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29758         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29760 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29762         * po/ja.po: Update from translation team.
29764         [BZ #13144]
29765         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29766         kernel in 64-bit binaries.
29768 2011-09-01  David S. Miller  <davem@davemloft.net>
29770         * elf/elf.h (HWCAP_SPARC_*): Move to..
29771         * sysdeps/sparc/sysdep.h: this new file and add new values.
29772         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29773         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29774         _DL_HWCAP_COUNT to 24.
29775         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29776         entries.
29777         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29778         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29779         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29781         instead of magic constants.
29782         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29784 2011-08-31  David S. Miller  <davem@davemloft.net>
29786         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29788         Reimplement to do errno handling inline.
29789         (SYSCALL_ERROR_HANDLER): New macro.
29790         (__SYSCALL_STRING): Do not do errno handling in asm.
29791         (__CLONE_SYSCALL_STRING): Delete.
29792         (__INTERNAL_SYSCALL_STRING): Delete.
29793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29794         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29795         (PSEUDO): Reimplement to do errno handling inline.
29796         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29797         (SYSCALL_ERROR_HANDLER): New macro.
29798         (__SYSCALL_STRING): Do not do errno handling in asm.
29799         (__CLONE_SYSCALL_STRING): Delete.
29800         (__INTERNAL_SYSCALL_STRING): Delete.
29801         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29802         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29803         i386.
29804         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29805         (inline_syscall*): Add 'err' argument.
29806         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29807         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29808         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29809         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29811         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29812         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29814 2011-08-30  Andreas Schwab  <schwab@redhat.com>
29816         * elf/rtld.c (dl_main): Relocate objects in dependency order.
29818 2011-08-29  Jiri Olsa <jolsa@redhat.com>
29820         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29821         directive.
29823 2011-08-24  David S. Miller  <davem@davemloft.net>
29825         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29827 2011-08-24  Andreas Schwab  <schwab@redhat.com>
29829         * elf/Makefile: Add rules to build and run unload8 test.
29830         * elf/unload8.c: New file.
29831         * elf/unload8mod1.c: New file.
29832         * elf/unload8mod1x.c: New file.
29833         * elf/unload8mod2.c: New file.
29834         * elf/unload8mod3.c: New file.
29836         * elf/dl-close.c (_dl_close_worker): Reset private search list if
29837         it wasn't used.
29839 2011-08-23  David S. Miller  <davem@davemloft.net>
29841         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29842         subtract stack bias.
29843         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29844         %sp not %fp in calculations.
29845         (_JMPBUF_UNWINDS_ADJ): Likewise.
29847         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29848         (aio_suspend): Call it to force an exception region around the
29849         AIO_MISC_WAIT() invocation.
29851 2011-08-23  Andreas Schwab  <schwab@redhat.com>
29853         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29854         backslash.
29856 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
29858         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29859         protection macro.
29860         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29861         and <dl-machine.h>.
29862         (Elf64_FuncDesc): Remove.
29864 2011-08-22  David S. Miller  <davem@davemloft.net>
29866         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29867         sigaltstack check, add missing cfi directives.
29868         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29869         missing cfi directives, and sigaltstack handling.
29871 2011-08-16  Andreas Schwab  <schwab@redhat.com>
29873         [BZ #11724]
29874         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29875         object is seen twice.
29876         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29878         * elf/Makefile (distribute): Add tst-initorder2.c.
29879         (tests): Add tst-initorder2.
29880         (modules-names): Add tst-initorder2a tst-initorder2b
29881         tst-initorder2c tst-initorder2d.  Add rules to build them.
29882         ($(objpfx)tst-initorder2.out): New rule.
29883         * elf/tst-initorder2.c: New file.
29884         * elf/tst-initorder2.exp: New file.
29886 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29888         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29890         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29891         dependencies back to end of function.
29893         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29894         $(elfobjdir)/ld.so.
29896 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29898         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29899         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29901         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29902         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29903         of __vdso_gettimeofday.
29904         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29905         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29906         attribute_hidden.
29907         (_libc_vdso_platform_setup): Remove initialization of
29908         __vdso_gettimeofday and __vdso_time.
29910 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29912         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29913         and fgetc_unlocked.
29914         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29915         getc_unlocked.
29917         * elf/dl-open.c (add_to_global): Report additions to the global scope
29918         for LD_DEBUG=scopes.
29919         (dl_open_worker): Also print scope of newly loaded dependencies.
29920         (_dl_show_scope): Indicate if there is no scope.
29922         [BZ #13114]
29923         * stdio-common/Makefile (tests): Add bug24.
29924         * stdio-common/bug24.c: New file.
29926 2011-08-19  Andreas Jaeger  <aj@suse.de>
29928         [BZ #13114]
29929         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29930         non-existant file when using close-on-exec mode.
29932 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29935         the very first instruction.
29937         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29938         the CFI state in the end.
29939         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29940         inclusion of dl-trampoline.h.
29941         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29943 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29945         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29946         expectations for long double.
29948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29949         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29951 2011-08-14  David S. Miller  <davem@davemloft.net>
29953         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29954         artificual limit depends upon the system page size.
29956 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29958         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29959         * resolv/Makefile: Define CFLAGS-libresolv.
29961 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29963         * nss/makedb.c (compute_tables): Make variables used in nested
29964         function static.
29966 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29968         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29969         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29970         if buffer was too small.
29972         * elf/pldd.c (main): Attach to all threads in the process.
29973         Rewrite /proc handling to use *at functions.
29975 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29977         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29978         specifies first scope to show.
29979         (dl_open_worker): Update callers.  Move printing scope of new
29980         object to before the relocation.
29981         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29982         * sysdeps/generic/ldsodefs.h: Update declaration.
29984         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29985         string for the scope number.
29987 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29989         * nscd/servicescache.c (cache_addserv): Make sure written is always
29990         initialized.
29992 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29994         * sysdeps/i386/i486/bits/atomic.h
29995         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29996         statement expression, so as to suppress "set but not used" warning.
29997         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29999         * string/strncat.c (STRNCAT): Use prototype definition.
30001         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30002         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30003         -Iprograms here.
30004         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30005         (localedef-modules): Add localedef.
30006         (locale-modules): Add locale.
30008         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30009         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30010         to avoid a warning.
30012 2011-08-14  David S. Miller  <davem@davemloft.net>
30014         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30015         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30017 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30019         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30020         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30021         * elf/rtld.c (dl_main): Set l_name of vDSO.
30022         Call _dl_show_scope when DL_DEBUG_SCOPES.
30023         (process_dl_debug): Recognize scopes flag and also set it for all.
30024         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30025         Declare _dl_show_scope.
30027         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30028         (do_dlopen): Pass caller_dlopen to dl_open.
30029         (__libc_dlopen_mode): Initialize caller_dlopen.
30031         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30032         of libc.  Make tolower call locale-independent.  Optimize a bit by
30033         using isdigit instead of isalnum.
30034         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30036 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30038         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30039         was a dependency or dynamically loaded.
30041 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30043         * intl/l10nflist.c: Allow architecture-specific pop function.
30044         * sysdeps/x86_64/l10nflist.c: New file.
30046         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30047         classification.
30049 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30051         * include/dirent.h: Add libc_hidden_proto for scandirat and
30052         scandirat64.  Don't declare __scandirat64.
30053         * dirent/scandirat.c: Add libc_hidden_def.
30054         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30055         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30057 2011-08-10  David S. Miller  <davem@davemloft.net>
30059         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30060         enum.
30061         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30062         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30063         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30065 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30067         * Versions.def [libc]: Add GLIBC_2.15.
30068         * dirent/Makefile (routines): Add scandirat and scandirat64.
30069         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30070         GLIBC_2.15.
30071         * dirent/dirent.h: Declare scandirat and scandirat64.
30072         * dirent/scandirat.c: New file.
30073         * dirent/scandirat64.c: New file.
30074         * sysdeps/wordsize-64/scandirat.c: New file.
30075         * sysdeps/wordsize-64/scandirat64.c: New file.
30076         * dirent/opendir.c: Define opendirat.
30077         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30078         using scandirat.
30079         * dirent/scandir64.c: Adjust for scandir.c change.
30080         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30081         __scandirat64, and __scandir_cancel_handler.
30082         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
30083         additional parameter and use openat instead of open (outside of ld.so).
30084         Add new __opendir as wrapper around __opendirat.
30085         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30086         here without requiring old scandirat implementation.
30088 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
30090         * dirent/scandir.c (cancel_handler): Renamed to
30091         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
30092         defined.  Adjust users.
30093         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30094         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30096 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30098         * string/test-string.h (IMPL): Use __STRING to expand name and then
30099         stringify it.
30101         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30102         of cleanups.
30104 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30106         * string/Makefile: Update.
30107         (strop-tests): Append strncat.
30108         * string/test-wcscmp.c: New file.
30109         New comprehensive test for wcscmp.
30110         * string/test-strcmp.c: Update.
30111         (WIDE): New define.
30113 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30115         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30116         line.
30118 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30121         encoding to ACE if AI_IDN.
30123 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30125         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30126         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30128 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30130         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30131         Fix overflow bug in strncat.
30132         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30134         * string/test-strncat.c: Update.
30135         Add new tests for checking overflow bugs.
30137 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30140         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30141         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30142         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30143         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30144         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30145         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30146         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30147         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30149         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30150         (USE_AS_STRCAT): Define.
30151         Add strcat and strncat support.
30152         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30154 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30156         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30157         __n bigger than INT_MAX+1.
30158         (__strncmp_g): Likewise.
30160 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30162         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30163         * libio/stido.h: Likewise.
30165         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30166         (AF_NFC): Define.
30167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30168         (AF_NFC): Define.
30170         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30171         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30172         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30173         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30176         [BZ #13021]
30177         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30178         installed.
30180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30181         typo.
30182         (_dl_x86_64_save_sse): Likewise.
30184 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30187         OSXSAVE.
30188         (_dl_x86_64_save_sse): Likewise.
30190         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30192         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30194 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30197         change.
30198         (_dl_x86_64_save_sse): Use correct AVX check.
30200 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30202         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30203         bug in strncpy/strncat.
30204         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30206 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30208         * string/tester.c (test_strcat): Add tests for different alignments
30209         of source and destination.
30210         (test_strncat): Likewise.
30212 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30214         [BZ #12852]
30215         * posix/glob.c (glob): Check passed in values before using them in
30216         expressions to avoid some overflows.
30217         (glob_in_dir): Likewise.
30219         [BZ #13007]
30220         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30221         check for AVX enablement so that we don't crash with old kernels and
30222         new hardware.
30223         * elf/tst-audit4.c: Add same checks here.
30224         * elf/tst-audit6.c: Likewise.
30226         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30228 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30230         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30232 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30234         * po/cs.po: Update from translation team.
30235         * po/bg.po: Likewise.
30237 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
30239         * misc/sys/cdefs.h: Add support for const attribute.
30240         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30241         to gnu_dev_{major,minor,makedev} functions.
30243 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30245         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30247 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30249         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30250         strlen results.
30252 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30255         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30256         register in order to avoid conflicts with the soft frame pointer
30257         being held in r11 when necessary.
30258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30259         (INTERNAL_VSYSCALL_NCS): Likewise.
30261 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30263         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30264         * elf/dl-fini.c (_dl_fini): Adjust caller.
30265         * elf/dl-close.c (_dl_close_worker): Likewise.
30266         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30268 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30270         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30271         "aux_cache->nlibs < 0".
30273         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30274         in the reload-count case.
30276 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30279         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30280         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30281         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30282         * sysdeps/x86_64/multiarch/strcat.S: New file.
30283         * sysdeps/x86_64/multiarch/strncat.S: New file.
30284         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30285         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30286         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30287         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30288         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30289         (USE_AS_STRCAT): Define.
30290         Add strcat and strncat support.
30291         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30292         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30293         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30294         * string/strncat.c: Update.
30295         (USE_AS_STRNCAT): Define.
30296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30297         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30298         and i7.
30299         * sysdeps/x86_64/multiarch/init-arch.h
30300         (bit_Prefer_PMINUB_for_stringop): New.
30301         (index_Prefer_PMINUB_for_stringop): Likewise.
30302         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30303         bit_Prefer_PMINUB_for_stringop.
30305 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30307         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30308         buffer64.
30309         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30310         of casting of buffer.
30311         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30312         buffer32 and buffer64.
30313         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30314         writes instead of casting of buffer.
30315         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30316         buffer32.
30317         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30318         casting of buffer.
30320 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30322         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30324 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30326         * nscd/nscd.c (termination_handler): Don't do anything for a database
30327         if it has not yet been initialized.
30329 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30331         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30333 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30335         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30337 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30339         * po/nl.po: Update from translation team.
30340         * po/sv.po: Likewise.
30342 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30344         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30345         now disallowed by GCC.
30347         * configure.in (use-default-link): Default to yes if a test -shared
30348         link meets our qualifications.
30349         * configure: Regenerated.
30351         * config.make.in (output-format): New variable.
30352         * configure.in: Check for ld --print-output-format support.
30353         * configure: Regenerated.
30354         * Makerules ($(common-objpfx)format.lds)
30355         [$(output-format) != unknown]: Just use $(output-format),
30356         instead of the linker-script munging.
30358 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30360         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30361         of $(common-objpfx)shlib.lds.
30362         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30364         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30365         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30367         * configure.in (-z relro check): Adjust test code to add a large
30368         writable data section after it.
30369         * configure: Regenerated.
30371 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30373         * configure.in (-z relro check): Fix test code to make the variable
30374         truly const.
30375         * configure: Regenerated.
30377 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30379         * nscd/nscd.h (struct traced_file): Define.
30380         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30381         elements.  Add traced_files.
30382         (inotify_fd): Declare.
30383         (register_traced_file): Declare.
30384         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30385         (inotify_fd): Export.
30386         (resolv_conf_descr): Remove.
30387         (nscd_init): Move inotify descriptor creation to main.
30388         Don't register files for notification here.
30389         (register_traced_file): New function.
30390         (invalidate_cache): Don't use reset_res to determine whether to call
30391         res_init, go through the list of registered files.
30392         (main_loop_poll): The inotify descriptors are now stored in the
30393         structures for the traced files.
30394         (main_loop_epoll): Likewise
30395         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30396         to __nss_disable_nscd.
30397         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30398         for a database anymore.  Check the records for all the registered
30399         files instead.
30400         * nss/Makefile (libnss_files-routines): Add files-init.
30401         (libnss_db-routines): Add db-init.
30402         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30403         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30404         * nss/nss_db/db-init.c: New file.
30405         * nss/nss_files/files-init.c: New file.
30406         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30407         __nss_lookup_function.
30408         (__nss_lookup_function): Call nss_load_library.
30409         (nss_load_all_libraries): New function.
30410         (__nss_disable_nscd): Take parameter with callback function for files
30411         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30412         used for the cached services.
30413         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30414         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30415         options for features to all the files in nscd.
30417         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30419 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30421         * csu/elf-init.c (__libc_csu_init): Comment typo.
30423 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30425         * po/pl.po: Update from translation team.
30426         * po/ja.po: Likewise.
30427         * po/ru.po: Likewise.
30428         * po/ko.po: Likewise.
30429         * po/fr.po: Likewise.
30431 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30433         * configure.in (.ctors/.dtors header and trailer check):
30434         Use an empirical test on a built program.
30435         * configure: Regenerated.
30437         * configure.in (-z relro check): Use an empirical test on a built DSO.
30438         Detect, but do not require, on ia64.
30439         * configure: Regenerated.
30441         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30442         Update tests that use readelf to use $READELF instead.
30443         * configure: Regenerated.
30445 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30447         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30448         if the result is not used.
30450 2011-07-05  Andreas Jaeger  <aj@suse.de>
30452         [BZ#9696]
30453         * stdlib/tst-strtod.c: Add testcase.
30455 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30457         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30458         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30459         The latter has a higher limit.  Take additional parameter to pass to
30460         the new function.
30461         (__pathconf): Pass file to __statfs_link_max.
30462         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30463         __statfs_link_max.
30464         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30465         __statfs_link_max.
30467         [BZ #12868]
30468         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30469         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30470         Handle Lustre.
30471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30472         (__statfs_filesize_max): Likewise.
30473         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30475 2011-07-05  Andreas Jaeger  <aj@suse.de>
30477         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30479 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30481         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30482         `status' variable.
30483         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30484         Likewise.
30486 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30488         * Makefile (strop-tests): Add strncat.
30489         * string/test-strncat.c: New file.
30491 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30493         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30495 2011-06-21  Andreas Jaeger  <aj@suse.de>
30497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30498         Copy rule from iconvdata/Makefile.
30500 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30502         [BZ #12922]
30503         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30504         but no long options are defined, just return 'W'.
30506 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30508         [BZ #9696]
30509         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30511 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30513         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30514         netgroups to read.
30515         (innetgr): Likewise.
30517 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30519         * config.make.in (install_root): Default to $(DESTDIR).
30521 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30523         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30525 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30527         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30529         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30530         containing directory rather than embedding absolute directory names.
30532         * scripts/check-local-headers.sh: Rewritten using awk.
30533         Match by word, not by line.  Print error messages for matches.
30534         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30536         * Makerules [shlib-lds-flags empty]:
30537         ($(common-objpfx)libc_pic.opts): New target.
30538         ($(common-objpfx)libc_pic.os.clean): New target.
30539         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30541         * config.make.in (OBJCOPY): New variable.
30542         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30543         * configure: Regenerated.
30545         * config.make.in (use-default-link): New variable.
30546         * configure.in (use_default_link): Grok --with-default-link to set it.
30547         * configure: Regenerated.
30548         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30549         (shlib-lds, shlib-lds-flags): Define to empty.
30551         * Makerules (shlib-lds): New variable.
30552         (shlib-lds-flags): New variable.
30553         (build-shlib, build-moduile, build-module-asneeded): Use it.
30554         ($(common-objpfx)libc.so): Use $(shlib-lds).
30555         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30556         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30558         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30559         DT_FLAGS/DT_FLAGS_1 with zero flags.
30561         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30562         linker script munging.
30564 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30566         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30567         as 128-bit value.
30568         * crypt/sha512.c (sha512_process_block): Perform total addition using
30569         128-bit if possible.
30570         (__sha512_finish_ctx): Likewise.
30571         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30572         as 64-bit value.
30573         * crypt/sha256.c (SWAP64): Define.
30574         (sha256_process_block): Perform total addition using 64-bit if
30575         possible.
30576         (__sha256_finish_ctx): Likewise.
30578 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30580         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30581         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30582         * nscd/hstcache.c (cache_addhst): Likewise.
30583         * nscd/grpcache.c (cache_addgr): Likewise.
30584         * nscd/aicache.c (addhstaiX): Likewise
30585         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30587 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30589         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30590         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30591         * nscd/hstcache.c (cache_addhst): Likewise.
30592         * nscd/grpcache.c (cache_addgr): Likewise.
30593         * nscd/aicache.c (addhstaiX): Likewise
30595 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30597         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30598         domain only when needed.
30600 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30603         is always restored.
30605 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30607         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30608         are re-adding the entry.
30609         * nscd/servicescache.c (cache_addserv): Likewise.
30611 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30613         * sysdeps/generic/dl-irel.h: fix protection against multiple
30614         inclusions.
30615         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30617 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30619         [BZ #12935]
30620         * malloc/memusage.sh: Fix quoting in message.
30621         * debug/xtrace.sh: Likewise.
30623         * configure.in: Remove support for --experimental-malloc option, make
30624         it the default.
30625         * config.make.in: Likewise.
30626         * malloc/Makefile: Likewise.
30628 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30630         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30631         two-byte characters.
30633 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30635         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30636         AC_CACHE_CHECK invocation.
30637         * configure: Regenerated.
30639         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30641 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30643         [BZ #12350]
30644         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30645         bit from old_res_options.
30647         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30649         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30650         value type for setfct.
30652 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30654         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30655         __gettimeofday instead of gettimeofday.
30657 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30659         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30661 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30663         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30665         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30666         info.
30668 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30671         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30672         strcpy-sse2-unaligned strncpy-sse2-unaligned
30673         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30674         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30675         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30676         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30677         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30678         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30679         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30680         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30681         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30682         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30683         (STRCPY): Support SSE2 and SSSE3 versions.
30685 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30687         [BZ #12874]
30688         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30689         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30690         kernels which artificially limit size of requests.
30692 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30695         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30696         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30697         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30698         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30699         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30700         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30701         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30702         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30703         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30704         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30705         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30706         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30707         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30708         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30710         Enable unaligned load optimization for Intel Core i3, i5 and i7
30711         processors.
30712         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30713         Define.
30714         (index_Fast_Unaligned_Load): Define.
30715         (HAS_FAST_UNALIGNED_LOAD): Define.
30717 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30719         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30721 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30723         [BZ #12907]
30724         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30725         until it is clear that the information is realy needed.
30726         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30728 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30732 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30735         /sys/devices/system/cpu/online if it is usable.
30737         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30738         reading the information from the /proc filesystem to once a second.
30740 2011-06-21  Andreas Jaeger  <aj@suse.de>
30742         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30743         NULL after inclusion of kernel headers.
30745 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30747         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30748         calls to internal_setent.
30750         [BZ #12885]
30751         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30752         addresses using gethostbyname4_r ignore IPv4 addresses.
30754         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30755         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30757         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30759 2011-06-20  David S. Miller  <davem@davemloft.net>
30761         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30762         inclusions.
30763         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30765         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30766         (elf_irel): Use it.
30767         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30768         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30769         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30770         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30771         * sysdeps/x86_64/dl-irel.h: Likewise.
30773         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30774         * elf/dl-sym.c: Likewise.
30776 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30778         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30779         need to dereference resplen2.
30781 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30783         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30785 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30787         * Makeconfig: Define vardbdir and inst_vardbdir.
30788         * nss/Makefile: Add rules to install db-Makefile.
30790         * nss/nss_db/db-XXX.c: Cleanup.
30792         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30793         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30794         GLIBC_PRIVATE.
30795         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30796         * nss/makedb.c: Implement -g option to specify that value strings
30797         are generated and should not be added to table iterated over for
30798         get*ent calls.
30799         * nss/nss_db/db-initgroups.c: New file.
30801         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30802         interface.
30804         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30805         (internal_getgrouplist): Adjust to name change.
30806         Update use_initgroups_entry if this is not the first call.
30807         * nss/databases.def: Add initgroups entry.
30809         * nss/makedb.c (compute_tables): Check result of multiple hash table
30810         sizes to minimize maximum chain length.
30812 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30814         * Versions.def: Add entry for libnss_db.
30815         * shlib-versions: Likewise.
30816         * nss/Makefile: Add rules to build libnss_db.
30817         * nss/Versions: Add libnss_db information.  Organize libnss_files
30818         entries better.
30819         * nss/db-Makefile: Add gshadow support.  Change rules for the new
30820         makedb progra.  Some minor improvements to generate smaller files.
30821         * nss/nss_db/nss_db.h: Move NSS database header data structures to
30822         here from...
30823         * nss/makedb.c: ...here.
30824         Improve database format to be smaller and require less memory at
30825         runtime.
30826         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
30827         db anymore.
30828         * nss/nss_db/db-netgrp.c: Likewise.
30829         * nss/nss_db/db-open.c: Likewise.
30830         * nss/nss_files/flies-XXX.x: Adjust comments.
30831         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30832         * nss/nss_files/files-grp.c: Likewise.
30833         * nss/nss_files/files-hosts.c: Likewise.
30834         * nss/nss_files/files-network.c: Likewise.
30835         * nss/nss_files/files-proto.c: Likewise.
30836         * nss/nss_files/files-pwd.c: Likewise.
30837         * nss/nss_files/files-rpc.c: Likewise.
30838         * nss/nss_files/files-service.c: Likewise.
30839         * nss/nss_files/files-sgrp.c: Likewise.
30840         * nss/nss_files/files-spwd.c: Likewise.
30841         * nss/nss_db/db-alias.c: Removed.
30842         * nss/nss_db/dummy-db.h: Removed.
30844 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
30846         * nss/makedb.c: Rewritten to not use database library.
30847         * nss/Makefile: Update to build new makedb program.
30849 2011-06-14  Andreas Jaeger  <aj@suse.de>
30851         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30852         memset declaration.
30854 2011-06-10  Andreas Schwab  <schwab@redhat.com>
30856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30857         tmpbuf.
30859 2011-06-10  Roland McGrath  <roland@hack.frob.com>
30861         * Makerules (shlib.lds): Fail if the linker script comes out empty.
30862         * elf/Makefile ($(objpfx)ld.so): Likewise.
30864         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30865         Don't list ld.so twice in dependencies.
30867         * posix/bug-regex31.c: Include <stdlib.h>.
30869         * nscd/hstcache.c (cache_addhst): Remove unused variable.
30871         * nis/nss_compat/compat-spwd.c
30872         (getspent_next_nss_netgr): Remove unused variable.
30873         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30875         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30876         nonmembers" output to use the right array.
30878         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30880         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30882         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30883         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30884         * catgets/gencat.c (read_input_file): Likewise.
30885         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30887         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30888         variable definition inside #if's controlling its use.
30890         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30892         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30894         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30896         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30897         unreachable code.
30899         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30901         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30902         * configure: Regenerated.
30904         * Makerules: Revert last change.
30905         * elf/Makefile: Likewise.
30907 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30909         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30910         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30911         (reloc-link): Likewise.
30913 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30915         * elf/Makefile: Add rules to build pldd.
30916         * elf/pldd.c: New file.
30917         * elf/pldd-xx.c: New file.
30919 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30921         * version.h: Update for 2.15 development version.
30923 2011-06-07  David S. Miller  <davem@davemloft.net>
30925         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30926         ifuncs.
30927         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30928         elf_machine_lazy_rel): Likewise.
30929         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30930         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30931         elf_machine_lazy_rel): Likewise.
30932         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30933         dl_hwcap via passed in argument.
30934         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30935         Likewise.
30937 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30939         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30941 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30943         [BZ #12849]
30944         * manual/fdl-1.1.texi: New file, verbatim from:
30945         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30946         * manual/lgpl-2.1.texi: New file, verbatim from:
30947         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30948         * manual/Makefile (licenses): New variable, list those new file names.
30949         (texis): Use it.
30950         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30952         * manual/fdl.texi: File removed.
30953         * manual/lesser.texi: File removed.
30954         * manual/libc.texinfo (Copying, Documentation License):
30955         Use new @include file names, put @appendix directive before @include.
30957 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30959         [BZ #12841]
30960         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30961         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30962         (mq_open): Add __NTH.
30964 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30967         Assume Intel Core i3/i5/i7 processor if AVX is available.
30969 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30971         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30972         typo.
30974 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30976         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30977         memory.  Use alloca_account.  Fix memory leak when retrying.
30979 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30981         * version.h (RELEASE): Bump for 2.14 release.
30982         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30984         * config.make.in (RANLIB): Remove entry.
30986 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30988         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30989         (libc.pot): Work around missing support for .ksh extension in xgettext.
30991         [BZ #12684]
30992         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30993         if both request failed.
30994         (send_dg): In case of server errors clear resplen or *resplen2.
30996         [BZ #12454]
30997         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30998         when there are multiple maps.
30999         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31000         (_dl_fini): Remove test here.
31002         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31004 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31006         [BZ #12350]
31007         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31008         bit from old_res_options.
31009         (gaih_inet): Likewise.
31011         [BZ #11099]
31012         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31013         as signed.
31015         * resolv/res_init.c (res_setoptions): Make the code more compact.
31017         [BZ #11558]
31018         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31019         set RES_USEVC.
31021         [BZ #11634]
31022         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31024         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31026         [BZ #11781]
31027         * malloc/malloc.h: Declare malloc hook variables as volatile.
31029         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31030         in last patch.
31032         [BZ #11799]
31033         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31034         raise in the comment.
31035         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31036         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31037         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31039 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31041         [BZ #12811]
31042         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31043         grow the buffers more if it already has to be sufficient.
31044         (build_wcs_upper_buffer): Likewise.
31045         * posix/regexec.c (check_matching): Likewise.
31046         (clean_state_log_if_needed): Likewise.
31047         (extend_buffers): Don't enlarge buffers beyond size of the input
31048         buffer.
31049         Patches mostly by Emil Wojak <emil@wojak.eu>.
31050         * posix/bug-regex32.c: New file.
31051         * posix/Makefile (tests): Add bug-regex32.
31053         * locale/findlocale.c (_nl_find_locale): Return right away if
31054         _nl_explode_name failed.
31055         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31057         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31059         * debug/xtrace.sh: Unify messages.
31060         * malloc/memusage.sh: Likewise.
31062         [BZ #12813]
31063         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31064         time symbol from vDSO.  Substitute with vsyscall if not available.
31065         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31066         __vdso_time.
31068         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31069         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31070         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31071         Add sendmmsg and internal_sendmmsg.
31072         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31073         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31074         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31076         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31077         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31078         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31080 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
31082         [BZ #12813]
31083         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31084         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
31085         available.
31086         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31087         __vdso_getcpu.
31089         [BZ #12814]
31090         * iconvdata/Makefile (tests): Add bug-iconv9.
31091         * iconvdata/bug-iconv9.c: New file.
31093 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31095         [BZ #12814]
31096         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31098 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31100         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31101         (struct user_regs_struct): Change intcs field back to cs.
31103 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31105         * po/ja.po: Update from translation team.
31107 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31109         [BZ #12795]
31110         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31111         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31113 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31115         * stdlib/longlong.h: Update from GCC.
31117 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31119         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31120         parameter name.
31121         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31122         Add parameter name.
31123         (__sysconf): Pass it down.
31125 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31127         [BZ #12671]
31128         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31129         some situations.
31130         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31131         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31132         add in in __libc_use_alloca calls.  Adjust callers.
31133         (glob): Use malloc in some situations.
31135         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31136         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31137         pltexit.
31139 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31141         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31142         and CLOCK_BOOTTIME_ALARM.
31144         [BZ #12782]
31145         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31146         is returned.
31148         * string/_strerror.c (__strerror_r): Print negative errors as signed
31149         numbers.
31151         [BZ #12777]
31152         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31153         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31154         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31156         * configure.in: Fix typo in redirection and correct removal of test
31157         files in two cases.
31159         [BZ #12788]
31160         * locale/setlocale.c (new_composite_name): Fix test to check for
31161         identical name of all categories.
31163         [BZ #12792]
31164         * libio/filedoalloc.c (local_isatty): New function.
31165         (_IO_file_doallocate): Use local_isatty.
31166         * stdio-common/perror.c (perror): In case a new stream is used
31167         forward the stream error.
31168         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31169         error flag.
31171 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31173         [BZ #11869]
31174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31175         alloca.
31176         * include/alloca.h (extend_alloca_account): Define.
31178         [BZ #11857]
31179         * posix/regex.h: Fix comments with documentation of user-accessible
31180         fields after compilation and describe correct free'ing of pattern
31181         after re_compile_pattern.
31182         Patch by Reuben Thomas <rrt@sc3d.org>.
31184 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31186         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31187         and -mno-altivec to prevent the compiler from using Altivec and/or
31188         VSX instructions when the corresponding registers are not available.
31190 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31192         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31194 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31196         * libio/freopen.c (freopen): Use __dup2, not dup2.
31197         * libio/freopen64.c (freopen64): Likewise.
31199 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31201         [BZ #12775]
31202         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31203         * math/Makefile (tests): Add test-powl.
31204         (CFLAGS-test-powl.c): Define.
31205         * math/test-powl.c: New file.
31207 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31209         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31211 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31213         [BZ #11837]
31214         * iconvdata/gb18030.c: Update to GB18020-2005.
31216 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
31218         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31219         RE_SYNTAX_POSIX_AWK): Update to match recent development.
31220         Patch by Aharon Robbins <arnold@skeeve.com>.
31222         [BZ #11892]
31223         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31224         on the stack.
31226         [BZ #11895]
31227         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31228         through underflows.
31230         [BZ #12766]
31231         * misc/error.c (error_at_line): Ensure file_name and old_file_name
31232         point to strings before performing equality test for error_one_per_line
31233         mode.
31235         [BZ #11697]
31236         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31238         [BZ #11820]
31239         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31240         (struct user_fpregs_struct): Avoid __uint*_t types.
31242         [BZ #6420]
31243         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31244         symbol info.  Use it instead of calling _dl_addr locally.
31245         (lock_and_info): New function.
31246         (tr_freehook): Call lock_and_info and pass symbol info as additional
31247         parameter to tr_where.
31248         (tr_mallochook): Likewise.
31249         (tr_reallochook): Likewise.
31250         (tr_memalignhook): Likewise.
31252         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31253         used and couldn't be at all thread-safe.
31255 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31257         * libio/freopen.c (freopen): Don't close old file descriptor
31258         before the new one is opened.  Instead dup the new file descriptor
31259         to the old one after the new stream is created.
31260         * libio/freopen64.c (freopen64): Likewise.
31261         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31262         * libio/fileops.c (_IO_new_file_close_it): Handle new
31263         _IO_FLAGS2_NOCLOSE flag.
31264         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31265         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31266         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31267         _IO_FLAGS2_NOCLOSE flag.
31268         * include/unistd.h: Add hidden_proto for dup3.
31269         Define __have_dup3.
31270         * io/dup3.c: Define hidden symbol.
31271         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31273         [BZ #7101]
31274         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31275         when an incomplete long option is used.
31276         * posix/tst-getopt_long1.c: New file.
31277         * posix/Makefile (tests): Add tst-getopt_long1.
31279         [BZ #10138]
31280         * scripts/config.guess: Update from autoconf-2.68.
31281         * scripts/config.sub: Likewise.
31283         [BZ #10157]
31284         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31285         tests into ...
31286         (has_cpuclock): ...this.  New function.
31287         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31288         macro here based on has_cpuclock code.
31290         [BZ #10149]
31291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31292         First byte (not low byte) is now always NUL.
31293         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31296         Use non-cancelable interfaces.
31298         [BZ #9809]
31299         * locale/iso-639.def: Add entry for Sorani.
31301         [BZ #11901]
31302         * include/stdlib.h: Move include protection to the right place.
31303         Define abort_msg_s.  Declare __abort_msg with it.
31304         * stdlib/abort.c (__abort_msg): Adjust type.
31305         * assert/assert.c (__assert_fail_base): New function.  Majority
31306         of code from __assert_fail.  Allocate memory for __abort_msg with
31307         mmap.
31308         (__assert_fail): Now call __assert_fail_base.
31309         * assert/assert-perr.c: Remove bulk of implementation.  Use
31310         __assert_fail_base.
31311         * include/assert.hL Declare __assert_fail_base.
31312         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31313         mmap.
31314         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31316 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31318         [BZ #11952]
31319         [BZ #12453]
31320         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31321         until all modules are registered in the DTV.
31322         * elf/Makefile: Add rules to build and run tst-tls19.
31323         * elf/tst-tls19.c: New file.
31324         * elf/tst-tls19mod1.c: New file.
31325         * elf/tst-tls19mod2.c: New file.
31326         * elf/tst-tls19mod3.c: New file.
31327         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31329         [BZ #12083]
31330         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31331         correctly.
31333         [BZ #12601]
31334         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31335         two-byte sequence errors.
31336         * iconvdata/Makefile (tests): Add bug-iconv8.
31337         * iconvdata/bug-iconv8.c: New file.
31339         [BZ #12626]
31340         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31341         buf2 definition.
31343         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31345         [BZ #12432]
31346         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31347         (dummy_getcfa): New function.
31348         (init): Get _Unwind_GetCFA address, use dummy if not found.
31349         (backtrace_helper): In recursion check, also check whether CFA changes.
31350         (__backtrace): Completely initialize arg.
31352         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31353         storing incomplete byte sequence in state object.  Avoid testing for
31354         guaranteed too small input if we know there is enough data available.
31356 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31358         * Makeconfig (+link-pie): Indent.
31359         * Rules (binaries-pie): Define if $(have-fpie) and
31360         $(build-shared).
31361         (binaries-shared): Also filter out $(binaries-pie).
31362         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31363         * nscd/Makefile (others-pie): Add nscd.
31364         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31365         ($(objpfx)nscd): Remove command override.
31366         * login/Makefile (others-pie): Add pt_chown.
31367         ($(objpfx)pt_chown): Remove command override.
31368         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31369         remove command overrides.
31371 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31373         * libio/tst_putwc.c: Fix error messages.
31375         [BZ #12724]
31376         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31377         currently writing and seek to current position when not.
31378         * libio/Makefile (tests): Add bug-fclose1.
31379         * libio/bug-fclose1.c: New file.
31381 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31383         [BZ #12511]
31384         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31385         don't set DF_1_NODELETE here.
31386         (do_lookup_x): When entering new entry test for copy relocation
31387         and if necessary set DF_1_NODELETE flag.
31388         * elf/tst-unique4.cc: New file.
31389         * elf/tst-unique4.h: New file.
31390         * elf/tst-unique4lib.cc: New file.
31391         * elf/Makefile: Add rules to build and run tst-unique4.
31392         Patch by Piotr Bury <pbury@goahead.com>.
31394 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31396         [BZ #12052]
31397         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31399         [BZ #12625]
31400         * misc/mntent_r.c (addmntent): Flush the stream after the output
31402         [BZ #12393]
31403         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31404         (is_trusted_path_normalize): Skip initial colon.  Append slash
31405         to empty buffer.  Duplicate is_trusted_path code but allow
31406         constructed patch to be prefix.
31407         (is_dst): Allow $ORIGIN followed by /.
31408         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31409         Correct testing of result of is_trusted_path_normalize
31410         (decompose_rpath): Fix warning.
31412 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31414         [BZ #11257]
31415         * grp/initgroups.c (internal_getgrouplist): When we found the service
31416         list through the initgroups entry in nsswitch.conf do not always
31417         continue on a successful lookup.  Don't always use the
31418         __nss_group_database value if it is set.
31419         * nss/nsswitch.conf (initgroups): Change action for successful db
31420         lookup to continue for compatibility.
31422 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31424         [BZ #11532]
31425         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31426         and CP774 modules.
31427         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31428         and CP774 modules.
31429         * iconvdata/tst-tables.sh: Likewise.
31430         * iconvdata/cp770.c: New file.
31431         * iconvdata/cp771.c: New file.
31432         * iconvdata/cp772.c: New file.
31433         * iconvdata/cp773.c: New file.
31434         * iconvdata/cp774.c: New file.
31435         * iconvdata/testdata/CP770: New file.
31436         * iconvdata/testdata/CP770..UTF8: New file.
31437         * iconvdata/testdata/CP771: New file.
31438         * iconvdata/testdata/CP771..UTF8: New file.
31439         * iconvdata/testdata/CP772: New file.
31440         * iconvdata/testdata/CP772..UTF8: New file.
31441         * iconvdata/testdata/CP773: New file.
31442         * iconvdata/testdata/CP773..UTF8: New file.
31443         * iconvdata/testdata/CP774: New file.
31444         * iconvdata/testdata/CP774..UTF8: New file.
31446         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31447         END CHARMAP line.
31448         * iconvdata/gen-8bit-gap.sh: Likewise.
31449         * iconvdata/gen-8bit.sh: Likewise.
31451         * locale/iso-639.def: Add ary entry.
31453         [BZ #11258]
31454         * locale/C-translit.h.in: Add U20A1 transliteration.
31456         [BZ #12178]
31457         * locale/iso-639.def: Add wae entry.
31458         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31460         [BZ #12545]
31461         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31462         for n.
31464         [BZ #12711]
31465         * locale/C-translit.h.in: Add entry for U20B9.
31466         Patch by pravin.d.s@gmail.com.
31468 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31470         [BZ #12713]
31471         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31472         ENAMETOOLONG use generic getcwd.
31473         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31474         in rtld.  Use *stat64.
31475         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31476         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31477         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31478         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31479         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31480         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31481         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31482         __fstatat64 macros.
31483         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31484         * dirent/rewinddir.c: Add libc_hidden_def.
31485         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31486         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31488         * include/dirent.h (__alloc_dir): Add flags parameter.
31489         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31490         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31491         __alloc_dir.
31492         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31493         from fdopendir if O_CLOEXEC is already set.
31495 2011-03-15  Alan Modra  <amodra@gmail.com>
31497         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31498         l_tls_firstbyte_offset non-zero.  Save padding offset in
31499         l_tls_firstbyte_offset for later use.
31500         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31501         freeing static tls block.
31503 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31505         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31506         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31507         being defined by the kernel headers.
31509 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31511         [BZ #12734]
31512         * resolv/resolv.h: Define RES_NOTLDQUERY.
31513         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31514         no-tld-query and set RES_NOTLDQUERY.
31515         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31516         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31517         modern BIND to search name as TLD unless forbidden.
31519 2011-05-07  Petr Baudis  <pasky@suse.cz>
31520             Ulrich Drepper  <drepper@gmail.com>
31522         [BZ #12393]
31523         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31524         (is_trusted_path): ...to here.
31525         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31526         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31527         using is_trusted_path_normalize() in setuid scripts.
31529 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31531         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31532         __BEGIN/__END_DECLS.
31534 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31536         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31537         NSS_STATUS_NOTFOUND if no record was found.
31539 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31541         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31542         (headers-not-in-tirpc): Remove rpc/netdb.h
31543         * resolv/netdb.h: Revert last change.
31545 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31547         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31548         circular dependency between libgcc.a and libc.a.
31550 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31552         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31553         * nis/Makefile: Don't install rpcsvc/*.
31554         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31555         instead of <rpc/types.h>.
31556         (MAXHOSTNAMELEN): Define.
31558 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31560         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31562 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31564         [BZ #12714]
31565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31566         gethostbyname4_r when IPv6 results are possible.
31568 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31570         [BZ #12723]
31571         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31572         _PC_PIPE_BUF handling.
31574 2011-04-30  Bruno Haible  <bruno@clisp.org>
31576         [BZ #12717]
31577         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31578         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31579         to 'int'.
31580         * inet/getnameinfo.c (getnameinfo): Likewise.
31582 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31584         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31585         to groups setting in database lookup.
31586         * nss/nsswitch.conf: Add initgroups entry.
31588 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31590         [BZ #12685]
31591         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31592         mode string.
31593         Patch by Eric Blake <eblake@redhat.com>.
31595 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31597         * sunrpc/Makefile (need-export-routines): Add svc_run.
31598         (routines): Remove svc_run.
31599         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31600         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31601         * sunrpc/svc_run.c (svc_run): Likewise.
31602         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31604 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31607         problem in reallocation in last patch.
31609 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31611         * sunrpc/Makefile: Move inclusion of Rules.
31613 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31615         * nss/nss_files/files-initgroups.c: New file.
31616         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31617         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31618         _nss_files_initgroups_dyn.
31620 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31622         * elf/elf.h (R_ARM_IRELATIVE): Define.
31624 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31626         * po/ru.po: Update from translation team.
31628 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31630         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31631         dependencies.
31633 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31635         [BZ #12653]
31636         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31637         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31638         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31639         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31640         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31642 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31644         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31645         differing bytes.
31646         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31647         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31648         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31650 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31652         [BZ #12420]
31653         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31654         storing it.
31655         * stdlib/bug-getcontext.c: New file.
31656         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31658 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31660         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31661         instructions into .machine "z9-109".
31662         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31663         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31665 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31667         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31668         between environment variables and auxiliary vector.
31670 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31672         * Makefile: Add rules to build linkobj/libc.so.
31673         * include/libc-symbols.h: Define libc_hidden_nolink.
31674         * include/rpc/auth.h: Mark functions which are to be hidden.
31675         * include/rpc/auth_des.h: Likewise.
31676         * include/rpc/auth_unix.h: Likewise.
31677         * include/rpc/clnt.h: Likewise.
31678         * include/rpc/des_crypt.h: Likewise.
31679         * include/rpc/key_prot.h: Likewise.
31680         * include/rpc/pmap_clnt.h: Likewise.
31681         * include/rpc/pmap_prot.h: Likewise.
31682         * include/rpc/pmap_rmt.h: Likewise.
31683         * include/rpc/rpc_msg.h: Likewise.
31684         * include/rpc/svc.h: Likewise.
31685         * include/rpc/svc_auth.h: Likewise.
31686         * include/rpc/xdr.h: Likewise.
31687         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31688         * nss/Makefile: Likewise.
31689         * sunrpc/Makefile: Don't install headers.  Build library with normal
31690         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31691         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31692         for the compat linking library.  Remove use of INTDEF/INTUSE.
31693         * sunrpc/auth_none.c: Likewise.
31694         * sunrpc/auth_unix.c: Likewise.
31695         * sunrpc/authdes_prot.c: Likewise.
31696         * sunrpc/authuxprot.c: Likewise.
31697         * sunrpc/clnt_gen.c: Likewise.
31698         * sunrpc/clnt_perr.c: Likewise.
31699         * sunrpc/clnt_raw.c: Likewise.
31700         * sunrpc/clnt_simp.c: Likewise.
31701         * sunrpc/clnt_tcp.c: Likewise.
31702         * sunrpc/clnt_udp.c: Likewise.
31703         * sunrpc/clnt_unix.c: Likewise.
31704         * sunrpc/des_crypt.c: Likewise.
31705         * sunrpc/des_soft.c: Likewise.
31706         * sunrpc/get_myaddr.c: Likewise.
31707         * sunrpc/key_call.c: Likewise.
31708         * sunrpc/key_prot.c: Likewise.
31709         * sunrpc/netname.c: Likewise.
31710         * sunrpc/pm_getmaps.c: Likewise.
31711         * sunrpc/pm_getport.c: Likewise.
31712         * sunrpc/pmap_clnt.c: Likewise.
31713         * sunrpc/pmap_prot.c: Likewise.
31714         * sunrpc/pmap_prot2.c: Likewise.
31715         * sunrpc/pmap_rmt.c: Likewise.
31716         * sunrpc/publickey.c: Likewise.
31717         * sunrpc/rpc_cmsg.c: Likewise.
31718         * sunrpc/rpc_common.c: Likewise.
31719         * sunrpc/rpc_dtable.c: Likewise.
31720         * sunrpc/rpc_prot.c: Likewise.
31721         * sunrpc/rpc_thread.c: Likewise.
31722         * sunrpc/rtime.c: Likewise.
31723         * sunrpc/svc.c: Likewise.
31724         * sunrpc/svc_auth.c: Likewise.
31725         * sunrpc/svc_authux.c: Likewise.
31726         * sunrpc/svc_raw.c: Likewise.
31727         * sunrpc/svc_run.c: Likewise.
31728         * sunrpc/svc_simple.c: Likewise.
31729         * sunrpc/svc_tcp.c: Likewise.
31730         * sunrpc/svc_udp.c: Likewise.
31731         * sunrpc/svc_unix.c: Likewise.
31732         * sunrpc/svcauth_des.c: Likewise.
31733         * sunrpc/xcrypt.c: Likewise.
31734         * sunrpc/xdr.c: Likewise.
31735         * sunrpc/xdr_array.c: Likewise.
31736         * sunrpc/xdr_float.c: Likewise.
31737         * sunrpc/xdr_intXX_t.c: Likewise.
31738         * sunrpc/xdr_mem.c: Likewise.
31739         * sunrpc/xdr_rec.c: Likewise.
31740         * sunrpc/xdr_ref.c: Likewise.
31741         * sunrpc/xdr_sizeof.c: Likewise.
31742         * sunrpc/xdr_stdio.c: Likewise.
31744 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31746         [BZ #12650]
31747         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31748         * sysdeps/ia64/dl-tls.h: Likewise.
31749         * sysdeps/powerpc/dl-tls.h: Likewise.
31750         * sysdeps/s390/dl-tls.h: Likewise.
31751         * sysdeps/sh/dl-tls.h: Likewise.
31752         * sysdeps/sparc/dl-tls.h: Likewise.
31753         * sysdeps/x86_64/dl-tls.h: Likewise.
31754         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31756 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31758         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31759         rpath element also skip the following colon.
31760         (expand_dynamic_string_token): Add is_path parameter and pass
31761         down to DL_DST_REQUIRED and _dl_dst_substitute.
31762         (decompose_rpath): Call expand_dynamic_string_token with
31763         non-zero is_path.  Ignore empty rpaths.
31764         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31765         with zero is_path.
31767 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31770         Make cancelable.
31772 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31774         [BZ #12655]
31775         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31776         Patch by Filipe David Manana <fdmanana@apache.org>.
31778 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31780         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31781         Maintain aligned stack.
31782         (CHECK_RSP): Remove unused macro.
31784 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31786         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31787         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31789 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31791         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31793         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31795 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31797         [BZ #12518]
31798         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31799         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31800         * sysdeps/x86_64/memmove.c: New file.
31801         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31802         (memcpy): Renamed to ...
31803         (__new_memcpy): This.
31804         (memcpy): Provide GLIBC_2_14 memcpy.
31805         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31806         (memcpy): Provide GLIBC_2_2_5 memcpy.
31808 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31810         [BZ #12631]
31811         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31813 2011-03-30  Andreas Schwab  <schwab@redhat.com>
31815         * misc/syncfs.c: New file.
31816         * misc/Makefile (routines): Add syncfs.
31817         * posix/unistd.h: Declare syncfs.
31818         * sysdeps/unix/syscalls.list: Add syncfs.
31820 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31822         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31823         open_by_handle_at.
31824         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31825         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31827         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31829         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31830         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31832 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31835         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31836         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31837         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31838         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31839         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31842         * io/Makefile: Compile fallocate.c, fallocate64.c, and
31843         sync_file_range.c with -fexceptions.
31844         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31845         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31846         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31847         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31848         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31849         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31851         sync_file_range as cancellation point
31852         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
31853         now a wrapper around __call_sync_file_range with cancellation handling.
31854         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31855         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
31856         function name to __call_sync_file_range.
31857         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31858         Add call_sync_file_range.
31860 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31863         bits/timex.h.
31865 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31867         * iconv/iconv.h: Fix typo in comment.
31868         * io/fcntl.h: Likewise.
31869         * libio/stdio.h: Likewise.
31870         * posix/spawn.h: Likewise.
31871         * posix/unistd.h: Likewise.
31872         * stdlib/stdlib.h: Likewise.
31873         * time/time.h: Likewise.
31874         * wcsmbs/wchar.h: Likewise.
31876         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31877         open_by_handle): Add.
31878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31879         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31880         Augment a few comments.
31881         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31883         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31884         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31885         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31886         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31887         open_by_handle.
31889         * io/fcntl.h (AT_EMPTY_PATH): Define.
31891 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31893         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31894         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31895         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31896         to...
31897         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31898         * Versions.def: Add GLIBC_2.14.
31899         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31900         Export.
31902 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31904         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31905         round counter.
31906         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31908 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31910         [BZ #12597]
31911         * string/test-strncmp.c (do_page_test): New function.
31912         (check2): Likewise.
31913         (test_main): Call check2.
31914         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31916 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31918         [BZ #12587]
31919         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31920         Handle cache information in CPU leaf 4.
31921         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31923 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31925         [BZ #12583]
31926         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31927         character representation.
31928         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31930 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31932         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31933         END(__isnan) to END(__isnanf) to match function entry point/label
31934         EALIGN(__isnanf,...).
31936 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31938         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31940 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31942         [BZ #12510]
31943         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31944         copy from the symbol referenced in the relocation to initialize the
31945         used variable.
31946         Patch by Piotr Bury <pbury@goahead.com>.
31947         * elf/Makefile: Add rules to build and tst-unique3.
31948         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31949         * elf/tst-unique3.cc: New file.
31950         * elf/tst-unique3.h: New file.
31951         * elf/tst-unique3lib.cc: New file.
31952         * elf/tst-unique3lib2.cc: New file.
31954         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31956 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31958         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31959         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31960         to _start.
31962 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31964         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31965         to-be-loaded object along a path to loader is ld.so.
31967 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31968             Ulrich Drepper  <drepper@gmail.com>
31970         * sysdeps/x86_64/memset.S: After aligning destination, code
31971         branches to different locations depending on the value of
31972         misalignment, when multiarch is enabled. Fix this.
31974 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31976         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31977         Set _x86_64_preferred_memory_instruction for AMD processsors.
31978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31979         Set bit_Prefer_SSE_for_memop for AMD processors.
31981 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31983         * libio/fmemopen.c (fmemopen): Optimize a bit.
31985 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31987         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31989 2011-03-03  Roland McGrath  <roland@redhat.com>
31991         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31993 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31995         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31996         __bzero_ultra1 instead of __memset_ultra1.
31998 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31999             Ulrich Drepper  <drepper@gmail.com>
32001         [BZ #12509]
32002         * include/link.h (struct link_map): Add l_orig_initfini.
32003         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32004         returning unsuccessfully.
32005         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32006         close of a file loaded at startup, restore the original l_initfini
32007         list.
32008         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32009         list, store the pointer.
32010         * elf/Makefile ($(objpfx)noload-mem): New rule.
32011         (noload-ENV): Define.
32012         (tests): Add $(objpfx)noload-mem.
32013         * elf/noload.c: Include <memcheck.h>.
32014         (main): Call mtrace.  Close all opened handles.
32016 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32018         [BZ #12454]
32019         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32020         dependencies are missing.
32022 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32024         Fix __if_freereq crash: Unlike the generic version which uses free,
32025         Hurd needs munmap.
32026         * sysdeps/mach/hurd/ifreq.h: New file.
32028 2011-01-27  Petr Baudis  <pasky@suse.cz>
32029             Ulrich Drepper  <drepper@gmail.com>
32031         [BZ 12445]#
32032         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32033         to extend_alloca().
32034         * stdio-common/bug23.c: New file.
32035         * stdio-common/Makefile (tests): Add bug23.
32037 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32038             Ulrich Drepper  <drepper@gmail.com>
32040         [BZ #12489]
32041         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32042         before performing relro protection.  At old place add assertion
32043         to make sure nothing changed.
32045 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32046             Glauber de Oliveira Costa  <glommer@gmail.com>
32048         * elf/elf.h: Add new ARM TLS relocs.
32050 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32053         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32054         cast from r3.
32055         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32056         'tests' variable.
32057         * sysdeps/wordsize-64/tst-writev.c: New file.
32059 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32061         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32062         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32063         insns in _dl_start to prevent a TOC reference before relocs are
32064         resolved.
32066 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32068         [BZ #12469]
32069         * Makeconfig: Remove RANLIB definition.
32070         * Makerules: Don't use RANLIB.
32071         * aclocal.m4: Remove ranlib test.
32072         * configure.in: No need to check for ranlib.
32073         * elf/rtld-Rules: Don't use RANLIB.
32075 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32077         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32078         protection macro.
32079         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32080         inclusion protection macro.
32082         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32083         SIGRTMIN and SIGRTMAX and print information in that case only when
32084         SIGRTMIN is defined.
32086 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32088         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32089         arginfo fn returning -1.
32091         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32092         and thousands string is zero terminated.
32094 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32097         sysdeps/unix/sysv/linux/bits/socket.h.
32099 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32101         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32102         (__CPU_COUNT): Remove old macros.
32103         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32104         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32105         (__CPU_ALLOC, __CPU_FREE): Add macros.
32106         (__sched_cpualloc, __sched_cpufree): Add declarations.
32108 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32110         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32111         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32112         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32113         (readdhstai): Return value of addhstaiX call.
32114         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32115         (addgrbyX): Return value returned by cache_addgr.
32116         (readdgrbyname): Return value returned by addgrbyX.
32117         (readdgrbygid): Likewise.
32118         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32119         (addpwbyX): Return value returned by cache_addpw.
32120         (readdpwbyname): Return value returned by addhstbyX.
32121         (readdpwbyuid): Likewise.
32122         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32123         (addservbyX): Return value returned by cache_addserv.
32124         (readdservbyname): Return value returned by addservbyX:
32125         (readdservbyport): Likewise.
32126         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32127         (addhstbyX): Return value returned by cache_addhst.
32128         (readdhstbyname): Return value returned by addhstbyX.
32129         (readdhstbyaddr): Likewise.
32130         (readdhstbynamev6): Likewise.
32131         (readdhstbyaddrv6): Likewise.
32132         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32133         (readdinitgroups): Return value returned by addinitgroupsX.
32134         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32135         (prune_cache): Keep track of timeout value of re-added entries.
32136         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32137         * nscd/nscd.h: Adjust prototypes of readd* functions.
32139 2011-02-04  Roland McGrath  <roland@redhat.com>
32141         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32142         (nis_stats): Likewise.
32143         * nis/nis_modify.c (nis_modify): Likewise.
32144         * nis/nis_remove.c (nis_remove): Likewise.
32145         * nis/nis_add.c (nis_add): Likewise.
32147         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32149         * posix/fnmatch_loop.c: Add some consts.
32151         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32153 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32155         [BZ #12460]
32156         * config.make.in (config-cflags-novzeroupper): Define.
32157         * configure.in: Substitute libc_cv_cc_novzeroupper.
32158         * elf/Makefile (AVX-CFLAGS): Define.
32159         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32160         (CFLAGS-tst-auditmod4a.c): Likewise.
32161         (CFLAGS-tst-auditmod4b.c): Likewise.
32162         (CFLAGS-tst-auditmod6b.c): Likewise.
32163         (CFLAGS-tst-auditmod6c.c): Likewise.
32164         (CFLAGS-tst-auditmod7b.c): Likewise.
32165         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32167 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32169         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32170         function to the callback.
32171         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32173 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32175         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32176         of errno.
32178 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32180         [BZ #11724]
32181         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32182         of constructors.
32183         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32184         of destructors.
32185         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32187         [BZ #11724]
32188         * elf/Makefile: Add rules to build and run new test.
32189         * elf/tst-initorder.c: New file.
32190         * elf/tst-initorder.exp: New file.
32191         * elf/tst-initordera1.c: New file.
32192         * elf/tst-initordera2.c: New file.
32193         * elf/tst-initordera3.c: New file.
32194         * elf/tst-initordera4.c: New file.
32195         * elf/tst-initorderb1.c: New file.
32196         * elf/tst-initorderb2.c: New file.
32197         * elf/tst-order-a1.c: New file.
32198         * elf/tst-order-a2.c: New file.
32199         * elf/tst-order-a3.c: New file.
32200         * elf/tst-order-a4.c: New file.
32201         * elf/tst-order-b1.c: New file.
32202         * elf/tst-order-b2.c: New file.
32203         * elf/tst-order-main.c: New file.
32204         New test case by George Gensure <werkt0@gmail.com>.
32206 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32208         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32209         decoding ACE if AI_CANONIDN.
32211 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32213         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32215 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32217         * version.h (RELEASE): Bump for 2.13 release.
32218         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32220         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32222         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32223         MADV_NOHUGEPAGE.
32224         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32229         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32231         * posix/getconf.c: Update copyright year.
32232         * catgets/gencat.c: Likewise.
32233         * csu/version.c: Likewise.
32234         * debug/catchsegv.sh: Likewise.
32235         * debug/xtrace.sh: Likewise.
32236         * elf/ldconfig.c: Likewise.
32237         * elf/ldd.bash.in: Likewise.
32238         * elf/sprof.c (print_version): Likewise.
32239         * iconv/iconv_prog.c: Likewise.
32240         * iconv/iconvconfig.c: Likewise.
32241         * locale/programs/locale.c: Likewise.
32242         * locale/programs/localedef.c: Likewise.
32243         * malloc/memusage.sh: Likewise.
32244         * malloc/mtrace.pl: Likewise.
32245         * nscd/nscd.c (print_version): Likewise.
32246         * nss/getent.c: Likewise.
32248         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32249         PF_CAIF, and PF_ALG.
32250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32252 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32254         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32255         (modules-names): Use them.
32256         (ifunc-test-modules, ifunc-pie-tests): Define.
32257         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32258         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32259         (test-extras): Likewise.
32260         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32261         $(compile-command.c).
32262         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32263         (all-built-dso): Define.
32264         (check-textrel.out, check-execstack.out): Depend on it.
32266         * configure.in: Don't override --enable-multi-arch.
32268 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32270         [BZ #6812]
32271         * nscd/hstcache.c (tryagain): Define.
32272         (cache_addhst): Return tryagain not notfound for temporary errors.
32273         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32274         failed.
32276 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32278         [BZ #10563]
32279         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32280         to make the syscall.
32281         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32283         [BZ #12378]
32284         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32285         and fall back to matching as normal character if the string ends before
32286         the matching ']' is found.  This is what POSIX requires.
32287         * posix/testfnm.c: Adjust test result.
32288         * posix/globtest.sh: Adjust test result.  Add new test.
32289         * posix/tst-fnmatch.input: Likewise.
32290         * posix/tst-fnmatch2.c: Add new test.
32292 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32294         * elf/Makefile (check-execstack): Revert last change.  Depend on
32295         check-execstack.h.
32296         (check-execstack.h): New target.
32297         (generated): Add check-execstack.h.
32298         * elf/check-execstack.c: Include "check-execstack.h".
32299         (main): Revert last change.
32300         (handle_file): Return zero if GNU_STACK is absent and
32301         DEFAULT_STACK_PERMS doesn't include PF_X.
32303 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32305         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32306         in child fails because the descriptor is already closed.
32307         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32308         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32309         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32311         [BZ #12397]
32312         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32313         syscall.
32315         [BZ #10484]
32316         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32317         temporary buffer used to handle multi lookups locally.
32318         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32320 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32322         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32323         loader is ld.so.
32325 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32327         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32328         alignment for SSE2.
32330 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32332         [BZ #12394]
32333         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32334         characters.  When rounding increased number of integer digits recompute
32335         number of groups.
32336         * stdio-common/tst-grouping.c: New file.
32337         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32339 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32341         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32342         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32344         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32345         void.
32346         * bits/select.h: Likewise.
32348 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32350         * po/ja.po: Update from translation team.
32352 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32354         [BZ #11155]
32355         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32356         implementation just like for lxstat, fxstatat, et al.
32358 2010-12-27  Jim Meyering  <meyering@redhat.com>
32360         [BZ #12348]
32361         * posix/regexec.c (build_trtable): Return failure indication upon
32362         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32364 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32366         [BZ #12201]
32367         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32368         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32369         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32370         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32372         [BZ #12207]
32373         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32375         [BZ #12204]
32376         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32377         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32379 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32381         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32382         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32383         script has SORT_BY_INIT_PRIORITY.
32384         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32385         NO_CTORS_DTORS_SECTIONS is defined.
32386         * elf/soinit.c: Likewise.
32387         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32388         NO_CTORS_DTORS_SECTIONS is defined.
32389         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32390         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32391         * sysdeps/sh/init-first.c: Likewise.
32392         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32394 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32396         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32397         always use the slow path.
32399 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32401         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32402         similar rule which adds the sysdep directories to the header search in
32403         order to pick up the correct platform stackinfo.h.
32404         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32405         perform test if it is, otherwise return successfully without testing.
32406         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32407         DEFAULT_STACK_PERMS define in stackinfo.h.
32408         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32409         defined in stackinfo.h.
32410         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32411         DEFAULT_STACK_PERMS defined in stackinfo.h.
32412         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32413         * sysdeps/ia64/stackinfo.h: Likewise.
32414         * sysdeps/s390/stackinfo.h: Likewise.
32415         * sysdeps/sh/stackinfo.h: Likewise.
32416         * sysdeps/sparc/stackinfo.h: Likewise.
32417         * sysdeps/x86_64/stackinfo.h: Likewise.
32418         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32419         PF_X for powerpc64.  Retain PF_X for powerpc32.
32421 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32423         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32424         accurately.
32425         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32426         GETDENTS_64BIT_ALIGNED.
32428 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32430         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32432 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32434         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32435         _GNU_SOURCE.
32437         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32438         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32439         Remove __restrict.
32440         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32441         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32443 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32445         [BZ #11655]
32446         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32447         are initialized.
32449 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32451         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32453 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32455         * po/it.po: Update from translation team.
32457 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32459         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32460         unused codes.
32462 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32464         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32466 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32468         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32469         specially.
32470         (gaih_getanswer_slice): Likewise.
32472 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32476 2010-05-31  Petr Baudis  <pasky@suse.cz>
32478         [BZ #11149]
32479         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32480         silently even in the chroot mode.
32482 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32484         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32485         last patch a bit.  Pretty printing
32487 2010-05-31  Petr Baudis <pasky@suse.cz>
32489         [BZ #10085]
32490         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32491         initialization of skip_initgroups_dyn.
32493 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32495         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32496         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32498 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32500         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32502 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32504         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32505         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32506         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32507         ($(objpfx)tst-fnmatch-mem): New rule.
32508         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32509         * posix/tst-fnmatch.c (main): Call mtrace.
32511 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32514         Support Intel processor model 6 and model 0x2c.
32516 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32519           signed comparison.
32521 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32523         [BZ #12205]
32524         * string/test-strncasecmp.c (check_result): New function.
32525         (do_one_test): Use it.
32526         (check1): New function.
32527         (test_main): Use it.
32528         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32529         Support strcasecmp and strncasecmp.
32531 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32533         [BZ #12194]
32534         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32535         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32537 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32539         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32540         IFUNC support.
32541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32542         memset-x86-64.
32543         * sysdeps/x86_64/multiarch/bzero.S: New file.
32544         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32545         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32546         * sysdeps/x86_64/multiarch/memset.S: New file.
32547         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32549         Set bit_Prefer_SSE_for_memop for Intel processors.
32550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32551         Define.
32552         (index_Prefer_SSE_for_memop): Define.
32553         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32555 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32557         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32558         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32560 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32562         [BZ #12191]
32563         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32564         (__x86_64_raw_data_cache_size_half): Likewise.
32565         (__x86_64_raw_shared_cache_size): Likewise.
32566         (__x86_64_raw_shared_cache_size_half): Likewise.
32568         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32569         (__x86_64_raw_data_cache_size_half): Likewise.
32570         (__x86_64_raw_shared_cache_size): Likewise.
32571         (__x86_64_raw_shared_cache_size_half): Likewise.
32572         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32573         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32574         and __x86_64_raw_shared_cache_size_half.  Round
32575         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32576         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32577         to multiple of 256 bytes.
32579 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32581         [BZ #12167]
32582         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32583         of inacessible symlinks.  Verify result of symlink before returning it.
32584         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32585         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32587 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32589         * math/math.h (isinf): Fix typo in comment.
32591 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32593         * po/da.po: Update from translation team.
32595 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32597         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32598         is added to the list.
32600 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32601             Ulrich Drepper  <drepper@gmail.com>
32603         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32604         the global list here.  Move code to...
32605         (_dl_add_to_namespace_list): ...here.  New function.
32606         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32607         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32608         * elf/dl-load.c (lose): Don't remove the element from the list.
32609         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32610         (_dl_map_object): Likewise.
32612 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32614         [BZ #12159]
32615         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32616         into all bytes of SSE register.
32617         Patch by Richard Li <richardpku@gmail.com>.
32619 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32621         [BZ #12140]
32622         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32623         perturbing.
32625 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32627         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32628         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32629         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32630         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32632         submachine.
32633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32635 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32637         * include/dlfcn.h (__RTLD_SECURE): Define.
32638         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32639         mode & __RTLD_SECURE instead.
32640         (open_path): Rename preloaded parameter to secure.
32641         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32642         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32643         * elf/dl-deps.c (openaux): Likewise.
32644         * elf/rtld.c (struct map_args): Remove is_preloaded.
32645         (map_doit): Don't use it.
32646         (dl_main): Likewise.
32647         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32648         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32650 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32652         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32653         (sysd-rules-targets): Remove duplicates.
32654         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32655         rtld-%.$o dependency.
32657 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32659         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32660         _dl_map_object do it.
32662 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32664         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32665         fast fma builtins, define the macros in the C99 standard.
32666         (FP_FAST_FMAF): Likewise.
32667         (FP_FAST_FMAL): Likewise.
32668         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32670         * bits/mathdef.h: Update copyright year.
32671         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32673 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32675         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32676         builtins, define the macros in the C99 standard.
32677         (FP_FAST_FMAF): Likewise.
32678         (FP_FAST_FMAL): Likewise.
32679         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32680         multiply/add.
32681         (FP_FAST_FMAF): Likewise.
32683 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32685         [BZ #3268]
32686         * math/libm-test.inc (fma_test): Some new testcases.
32687         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32688         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32689         y and infinite z.  Do multiplication by C already in long double.
32690         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32692         y and infinite z.  Do bitwise or of inexact bit into u.d.
32693         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32694         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32695         * sysdeps/i386/fpu/s_fma.S: Removed.
32696         * sysdeps/i386/fpu/s_fmal.S: Removed.
32698 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32700         [BZ #3268]
32701         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32703         computation is not scheduled after fetestexcept.  Fix value
32704         of minimum denormal long double.
32706 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32708         [BZ #3268]
32709         * math/libm-test.inc (fma_test): Add some more tests.
32710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32711         correctly.
32713 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32715         * scripts/data/localplt-s390-linux-gnu.data: New file.
32716         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32718 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32720         [BZ #3268]
32721         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32722         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32723         instead of dbl-64.
32724         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32725         inlines.
32726         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32728         if one of x and y is very large and the other is subnormal.
32729         * sysdeps/s390/fpu/s_fmaf.c: New file.
32730         * sysdeps/s390/fpu/s_fma.c: New file.
32731         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32732         * sysdeps/powerpc/fpu/s_fma.S: New file.
32733         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32734         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32735         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32737 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32739         [BZ #3268]
32740         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32741         fma tests.
32742         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32743         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32744         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32745         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32746         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32747         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32748         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32750 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32752         [BZ #12078]
32753         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32754         * posix/bug-regex31.input: Add test case.
32756 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32758         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32759         * posix/bug-regex31.input: New file.
32761         [BZ #12078]
32762         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32763         (parse_sub_exp): Fix last change, use postorder.
32765         * posix/bug-regex31.c: New file.
32766         * posix/Makefile: Add rules to build and run bug-regex31.
32768         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32770         [BZ #12078]
32771         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32773         [BZ #12108]
32774         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32775         to have entries in sys_siglist.
32777         [BZ #12093]
32778         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32779         be NULL.
32781 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32783         [BZ #3268]
32784         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32785         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32786         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32787         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32788         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32789         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32790         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32791         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32792         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32793         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32794         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32795         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32796         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32797         * math/ftestexcept.c (fetestexcept): Likewise.
32798         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32799         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32800         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32801         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32802         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32803         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32804         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32806 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32808         [BZ #12107]
32809         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32810         newline.
32812 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32814         * string/bug-strstr1.c: New file.
32815         * string/Makefile: Add rules to build and run bug-strstr1.
32817 2010-10-05  Eric Blake  <eblake@redhat.com>
32819         [BZ #12092]
32820         * string/str-two-way.h (two_way_long_needle): Always clear memory
32821         when skipping input due to the shift table.
32823 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
32825         [BZ #12005]
32826         * malloc/mcheck.c: Handle large requests.
32828         [BZ #12077]
32829         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32830         for strncmp and strncasecmp.
32831         * string/stratcliff.c: Add tests for strcmp and strncmp.
32832         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32834 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32836         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32837         __set_fpscr.
32839 2010-09-30  Andreas Jaeger  <aj@suse.de>
32841         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32842         (CGROUP_SUPER_MAGIC): Define.
32843         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32844         Handle btrfs and cgroup file systems.
32845         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32846         Likewise.
32848 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
32850         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32851         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32853 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32855         [BZ #12067]
32856         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32857         trying to locate the ELF header.
32859 2010-09-27  Andreas Schwab  <schwab@redhat.com>
32861         [BZ #11611]
32862         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32863         Mask out sign-bit copies when constructing f_fsid.
32865 2010-09-24  Petr Baudis <pasky@suse.cz>
32867         * debug/stack_chk_fail_local.c: Add missing licence exception.
32868         * debug/warning-nop.c: Likewise.
32870 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
32872         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32873         implementing getdents64 using getdents syscall, set d_type if
32874         __ASSUME_GETDENTS32_D_TYPE.
32876 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32878         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32879         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32881 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32883         [BZ #12037]
32884         * posix/unistd.h: Undo change of feature selection for ftruncate from
32885         2010-01-11.
32887 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32889         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32890         detection.
32892 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32894         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32895         fanotify_mark.
32896         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32898 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32900         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32901         variables after CHECK_SP call.
32902         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32904 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32905             Ulrich Drepper  <drepper@redhat.com>
32907         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32908         re-relocationg ld.so.
32909         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32910         _dl_init_paths call.
32911         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32912         here anymore.
32914 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32916         * resolv/res_init.c (__res_vinit): Count the default server we added.
32918 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32919             Ulrich Drepper  <drepper@redhat.com>
32921         [BZ #11968]
32922         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32923         (____longjmp_chk): Use %ebx for saving value across system call.
32924         Add unwind info.
32926 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32928         * manual/Makefile: Don't mix pattern rules with normal rules.
32930 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32932         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32933         operation.
32934         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32935         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32936         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32937         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32938         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32939         Likewise.
32941 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32943         [BZ #11979]
32944         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32945         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32947 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32949         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32950         * sysdeps/x86_64/addmul_1.S: Likewise.
32951         * sysdeps/x86_64/lshift.S: Likewise.
32952         * sysdeps/x86_64/mul_1.S: Likewise.
32953         * sysdeps/x86_64/rshift.S: Likewise.
32954         * sysdeps/x86_64/sub_n.S: Likewise.
32955         * sysdeps/x86_64/submul_1.S: Likewise.
32957 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32959         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32960         Define __sched_param instead of SCHED_* and sched_param when
32961         <bits/sched.h> is included with __need_schedparam defined.
32962         * bits/sched.h [__need_schedparam]
32963         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32964         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32965         (__defined_schedparam): Define to 1.
32966         (__sched_param): New structure, identical to sched_param.
32967         (__need_schedparam): Undefine.
32969 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32971         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32972         (epoll_create1): Declare.
32974         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32976 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32978         [BZ #7066]
32979         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32980         shifting retval into place.
32982 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32984         * nis/rpcsvc/nis.h: Update copyright notice.
32985         * nis/rpcsvc/nis.x: Likewise.
32986         * nis/rpcsvc/nis_callback.h: Likewise.
32987         * nis/rpcsvc/nis_callback.x: Likewise.
32988         * nis/rpcsvc/nis_object.x: Likewise.
32989         * nis/rpcsvc/nis_tags.h: Likewise.
32990         * nis/rpcsvc/yp.h: Likewise.
32991         * nis/rpcsvc/yp.x: Likewise.
32992         * nis/rpcsvc/ypupd.h: Likewise.
32993         * nis/yp_xdr.c: Likewise.
32994         * nis/ypupdate_xdr.c: Likewise.
32996         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32997         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32998         (pmap_getport): Use __libc_rpc_getport.
32999         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33000         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33001         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33003 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33006         fanotify_mark.
33008 2010-08-27  Roland McGrath  <roland@redhat.com>
33010         * sysdeps/i386/i686/multiarch/Makefile
33011         (CFLAGS-varshift.c): New variable.
33013 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33015         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33016         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33020         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33022 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33024         * sysdeps/x86_64/strlen.S: Unroll the loop.
33025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33026         strlen-sse2 strlen-sse2-bsf.
33027         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33028         __strlen_no_bsf if bit_Slow_BSF is set.
33029         (__strlen_sse42): Removed.
33030         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33031         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33033 2010-08-25  Roland McGrath  <roland@redhat.com>
33035         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33036         * sysdeps/x86_64/multiarch/varshift.c: New file.
33037         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33038         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33039         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33040         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33042 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33045         strlen-sse2 strlen-sse2-bsf.
33046         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33047         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33048         (__strlen_sse2): Removed.
33049         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33050         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33052         bit_Slow_BSF for Atom.
33053         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33054         (index_Slow_BSF): Define.
33055         (HAS_SLOW_BSF): Define.
33057 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33059         [BZ #10851]
33060         * resolv/res_init.c (__res_vinit): When no server address at all
33061         is given default to loopback.
33063 2010-08-24  Roland McGrath  <roland@redhat.com>
33065         * configure.in: Remove config-name.h generation.
33066         * configure: Regenerated.
33067         * config-name.in: File removed.
33068         * scripts/config-uname.sh: New file.
33069         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33070         ($(objdir)config-name.h): New target.
33072         * sunrpc/rpc_parse.h: Avoid nested comment.
33074 2010-08-24  Richard Henderson  <rth@redhat.com>
33075             Ulrich Drepper  <drepper@redhat.com>
33076             H.J. Lu  <hongjiu.lu@intel.com>
33078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33080         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33081         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
33082         _mm_alignr_epi8 with _mm_loadu_si128.
33083         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33084         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33085         (__m128i_shift_right): Removed.
33086         * sysdeps/i386/i686/multiarch/varshift.h: New file.
33087         * sysdeps/i386/i686/multiarch/varshift.S: New file.
33088         * sysdeps/x86_64/multiarch/varshift.h: New file.
33089         * sysdeps/x86_64/multiarch/varshift.S: New file.
33091 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33093         * configure.in: Move assembler checks to before sysdep dir checking.
33095 2010-08-20  Petr Baudis  <pasky@suse.cz>
33097         * LICENSES: Sync the sunrpc license.
33099 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33101         * sunrpc/auth_des.c: Update copyright notice once again.
33102         * sunrpc/auth_none.c: Likewise.
33103         * sunrpc/auth_unix.c: Likewise.
33104         * sunrpc/authdes_prot.c: Likewise.
33105         * sunrpc/authuxprot.c: Likewise.
33106         * sunrpc/bindrsvprt.c: Likewise.
33107         * sunrpc/clnt_gen.c: Likewise.
33108         * sunrpc/clnt_perr.c: Likewise.
33109         * sunrpc/clnt_raw.c: Likewise.
33110         * sunrpc/clnt_simp.c: Likewise.
33111         * sunrpc/clnt_tcp.c: Likewise.
33112         * sunrpc/clnt_udp.c: Likewise.
33113         * sunrpc/clnt_unix.c: Likewise.
33114         * sunrpc/des_crypt.c: Likewise.
33115         * sunrpc/des_soft.c: Likewise.
33116         * sunrpc/get_myaddr.c: Likewise.
33117         * sunrpc/getrpcport.c: Likewise.
33118         * sunrpc/key_call.c: Likewise.
33119         * sunrpc/key_prot.c: Likewise.
33120         * sunrpc/openchild.c: Likewise.
33121         * sunrpc/pm_getmaps.c: Likewise.
33122         * sunrpc/pm_getport.c: Likewise.
33123         * sunrpc/pmap_clnt.c: Likewise.
33124         * sunrpc/pmap_prot.c: Likewise.
33125         * sunrpc/pmap_prot2.c: Likewise.
33126         * sunrpc/pmap_rmt.c: Likewise.
33127         * sunrpc/rpc/auth.h: Likewise.
33128         * sunrpc/rpc/auth_unix.h: Likewise.
33129         * sunrpc/rpc/clnt.h: Likewise.
33130         * sunrpc/rpc/des_crypt.h: Likewise.
33131         * sunrpc/rpc/key_prot.h: Likewise.
33132         * sunrpc/rpc/netdb.h: Likewise.
33133         * sunrpc/rpc/pmap_clnt.h: Likewise.
33134         * sunrpc/rpc/pmap_prot.h: Likewise.
33135         * sunrpc/rpc/pmap_rmt.h: Likewise.
33136         * sunrpc/rpc/rpc.h: Likewise.
33137         * sunrpc/rpc/rpc_des.h: Likewise.
33138         * sunrpc/rpc/rpc_msg.h: Likewise.
33139         * sunrpc/rpc/svc.h: Likewise.
33140         * sunrpc/rpc/svc_auth.h: Likewise.
33141         * sunrpc/rpc/types.h: Likewise.
33142         * sunrpc/rpc/xdr.h: Likewise.
33143         * sunrpc/rpc_clntout.c: Likewise.
33144         * sunrpc/rpc_cmsg.c: Likewise.
33145         * sunrpc/rpc_common.c: Likewise.
33146         * sunrpc/rpc_cout.c: Likewise.
33147         * sunrpc/rpc_dtable.c: Likewise.
33148         * sunrpc/rpc_hout.c: Likewise.
33149         * sunrpc/rpc_main.c: Likewise.
33150         * sunrpc/rpc_parse.c: Likewise.
33151         * sunrpc/rpc_parse.h: Likewise.
33152         * sunrpc/rpc_prot.c: Likewise.
33153         * sunrpc/rpc_sample.c: Likewise.
33154         * sunrpc/rpc_scan.c: Likewise.
33155         * sunrpc/rpc_scan.h: Likewise.
33156         * sunrpc/rpc_svcout.c: Likewise.
33157         * sunrpc/rpc_tblout.c: Likewise.
33158         * sunrpc/rpc_util.c: Likewise.
33159         * sunrpc/rpc_util.h: Likewise.
33160         * sunrpc/rpcinfo.c: Likewise.
33161         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33162         * sunrpc/rpcsvc/key_prot.x: Likewise.
33163         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33164         * sunrpc/rpcsvc/mount.x: Likewise.
33165         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33166         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33167         * sunrpc/rpcsvc/rex.x: Likewise.
33168         * sunrpc/rpcsvc/rstat.x: Likewise.
33169         * sunrpc/rpcsvc/rusers.x: Likewise.
33170         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33171         * sunrpc/rpcsvc/spray.x: Likewise.
33172         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33173         * sunrpc/rtime.c: Likewise.
33174         * sunrpc/svc.c: Likewise.
33175         * sunrpc/svc_auth.c: Likewise.
33176         * sunrpc/svc_authux.c: Likewise.
33177         * sunrpc/svc_raw.c: Likewise.
33178         * sunrpc/svc_run.c: Likewise.
33179         * sunrpc/svc_simple.c: Likewise.
33180         * sunrpc/svc_tcp.c: Likewise.
33181         * sunrpc/svc_udp.c: Likewise.
33182         * sunrpc/svc_unix.c: Likewise.
33183         * sunrpc/svcauth_des.c: Likewise.
33184         * sunrpc/xcrypt.c: Likewise.
33185         * sunrpc/xdr.c: Likewise.
33186         * sunrpc/xdr_array.c: Likewise.
33187         * sunrpc/xdr_float.c: Likewise.
33188         * sunrpc/xdr_mem.c: Likewise.
33189         * sunrpc/xdr_rec.c: Likewise.
33190         * sunrpc/xdr_ref.c: Likewise.
33191         * sunrpc/xdr_sizeof.c: Likewise.
33192         * sunrpc/xdr_stdio.c: Likewise.
33194         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33195         handling.
33197 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33199         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33201 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33203         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33204         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33205         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33206         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33207         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33208         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33209         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33210         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33212         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33213         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33214         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33215         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33216         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33218 2010-07-26  Anton Blanchard  <anton@samba.org>
33220         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33221         * malloc/arena.c (heap_trim): Likewise.
33223 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
33225         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33226         here.  Not...
33227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33228         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33230 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33232         * sysdeps/i386/elf/Makefile: New file.
33234 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33236         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33237         from fanotify_init.
33238         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33239         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33241 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33243         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33244         of strncasecmp_l.
33245         * sysdeps/multiarch/strcmp.S: Likewise.
33247 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33249         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33250         strncase_l-nonascii.
33251         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33252         Add strncase_l-ssse3.
33253         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33254         * sysdeps/x86_64/strcmp.S: Likewise.
33255         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33256         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33257         * sysdeps/x86_64/strncase.S: New file.
33258         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33259         * sysdeps/x86_64/strncase_l.S: New file.
33260         * string/Makefile (strop-tests): Add strncasecmp.
33261         * string/test-strncasecmp.c: New file.
33263         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33264         warning.
33266         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33267         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33269 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33271         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33273 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33275         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33276         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33277         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33279 2010-05-01  Alan Modra  <amodra@gmail.com>
33281         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33282         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33283         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33284         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33285         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33286         tidying.  Don't tail-call __sigjmp_save for static lib.
33287         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33288         save location.
33289         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33290         (CALL_MCOUNT): Add eh info, and nop after bl.
33291         (TAIL_CALL_SYSCALL_ERROR): New macro.
33292         (PSEUDO_RET): Use it.
33293         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33294         Correct save location of integer regs and cr.
33295         (_dl_profile_resolve): Correct cr save location.  Delete nops
33296         after bl when SHARED.  Reduce cfi size a little by better
33297         placement of cfi directives.
33298         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33299         make a stack frame.  Instead use parm save area as a temp.
33300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33301         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33303         Don't make a stack frame for parent, use parm save area.
33304         Increase child stack frame to 112 bytes.  Don't save unused reg,
33305         and adjust reg usage.  Set up cfi on error recovery and
33306         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33308         (__makecontext): Add dummy nop after jump to exit.
33309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33310         Use correct parm save area and cr save, reduce stack frame.
33311         Correct cfi for possible PSEUDO_RET frame setup.
33312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33313         Branch to local label emitted by PSEUDO_RET rather than
33314         __syscall_error.
33316 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33318         [BZ #11904]
33319         * locale/programs/locale.c (print_assignment): New function.
33320         (show_locale_vars): Use it.
33322 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33324         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33325         field.
33326         (struct statfs64): Likewise.
33327         (_STATFS_F_FLAGS): Define.
33328         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33329         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33330         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33331         (ST_VALID): Define locally.
33332         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33333         __statvfs_getflags, use the provided value.
33334         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33335         __ASSUME_STATFS_F_FLAGS.
33337         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33339         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33340         Add sys/fanotify.h.
33341         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33342         fanotify_mask for GLIBC_2.13.
33343         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33344         fanotify_init and fanotify_mark.
33345         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33346         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33348         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33349         Add prlimit.
33350         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33351         prlimit64 for GLIBC_2.13.
33352         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33353         prlimit64.
33354         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33355         syscall.
33356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33358         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33359         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33361         add prlimit alias.
33362         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33364         [BZ #11903]
33365         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33366         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33368         * nss/Makefile: Add rules to build and run tst-nss-test1.
33369         * shlib-versions: Add entry for libnss_test1.
33370         * nss/nss_test1.c: New file.
33371         * nss/tst-nss-test1.c: New file.
33373         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33374         (__nss_configure_lookup): Set appropriate entry in
33375         __nss_configure_lookup to true.
33376         * nss/nsswitch.h: Define enum with indeces of databases in
33377         databases and __nss_database_custom arrays.  Declare
33378         __nss_database_custom.
33379         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33380         to avoid using nscd when custom rules are installed.
33381         * nss/getXXbyYY_r.c: Likewise.
33382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33384         * nss/nss_files/files-parse.c: Whitespace fixes.
33386 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33388         [BZ #11883]
33389         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33390         * posix/fnmatch_loop.c: Likewise.
33392 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33394         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33395         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33396         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33397         * Versions.def [GLIBC_2.13]: Add.
33399 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33402         Also fail if tpwd after pwuid call is NULL.
33404 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33406         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33407         when converting to ms.
33409 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33411         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33412         EOPNOTSUPP errors with ENOTTY.
33413         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33414         EOPNOTSUPP errors with ENOTTY.
33416 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33418         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33419         Add strcasecmp_l-ssse3.
33420         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33421         strcasecmp.
33422         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33423         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33424         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33426 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33428         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33430         * string/Makefile (strop-tests): Add strcasecmp.
33431         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33432         strcasecmp_l-nonascii.
33433         (gen-as-const-headers): Add locale-defines.sym.
33434         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33435         * sysdeps/x86_64/strcasecmp.S: New file.
33436         * sysdeps/x86_64/strcasecmp_l.S: New file.
33437         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33438         * sysdeps/x86_64/locale-defines.sym: New file.
33439         * string/test-strcasecmp.c: New file.
33441         * string/test-strcasestr.c: Test both ends of the range of characters.
33442         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33444 2010-07-29  Roland McGrath  <roland@redhat.com>
33446         [BZ #11856]
33447         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33449 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33451         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33452         for ld.so.
33454 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33456         * manual/memory.texi (Malloc Tunable Parameters): Document
33457         M_PERTURB.
33459 2010-07-26  Roland McGrath  <roland@redhat.com>
33461         [BZ #11840]
33462         * configure.in (-fgnu89-inline check): Set and substitute
33463         gnu89_inline, not libc_cv_gnu89_inline.
33464         * configure: Regenerated.
33465         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33467 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33469         * string/test-strnlen.c: New file.
33470         * string/Makefile (strop-tests): Add strnlen.
33471         * string/tester.c (test_strnlen): Add a few more test cases.
33472         * string/tst-strlen.c: Better error reporting.
33474         * sysdeps/x86_64/strnlen.S: New file.
33476 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33478         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33479         lower-latency instructions.
33481 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33483         * string/test-strcasestr.c: New file.
33484         * string/test-strstr.c: New file.
33485         * string/Makefile (strop-tests): Add strstr and strcasestr.
33486         * string/str-two-way.h: Don't undefine MAX.
33487         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33489 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33491         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33492         strcasestr-nonascii.
33493         (CFLAGS-strcasestr-nonascii.c): Define.
33494         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33495         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33496         Remove unused attribute.
33498 2010-07-20  Roland McGrath  <roland@redhat.com>
33500         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33501         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33502         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33503         like LD_HWCAP_MASK can disable hwcaps.
33505 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33507         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33509 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33511         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33512         call in strcasestr.
33513         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33514         __strcasestr_sse42_nonascii.
33515         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33516         strcasestr-nonascii.c.
33517         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33519 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33521         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33522         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33523         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33524         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33526 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33528         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33529         fcntl.
33531 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33533         [BZ #11577]
33534         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33535         dl_signal_cerror.
33537 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33539         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33540         _PC_PIPE_BUF using F_GETPIPE_SZ.
33542 2010-07-05  Roland McGrath  <roland@redhat.com>
33544         * manual/arith.texi (Rounding Functions): Fix rint description
33545         implicit in round description.
33547 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33549         * elf/Makefile: Fix linking for a few tests to make recent linker
33550         happy.
33552 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33554         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33555         $(common-objpfx)libc_nonshared.a.
33557 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33559         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33560         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33561         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33562         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33563         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33564         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33565         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33566         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33581         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33582         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33583         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33584         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33585         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33586         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33587         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33588         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33589         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33590         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33591         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33592         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33608 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33610         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33611         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33612         * string/memmove.c (memmove): Renamed to ...
33613         (MEMMOVE): ...this.  Default to memmove.
33614         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33615         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33616         (END_CHK): Define.
33617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33618         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33619         mempcpy-ssse3-back memmove-ssse3-back.
33620         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33621         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33622         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33623         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33624         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33625         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33626         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33627         * sysdeps/x86_64/multiarch/memmove.c: New file.
33628         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33629         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33630         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33631         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33632         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33633         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33634         Define.
33635         (index_Fast_Copy_Backward): Define.
33636         (HAS_ARCH_FEATURE): Define.
33637         (HAS_FAST_REP_STRING): Define.
33638         (HAS_FAST_COPY_BACKWARD): Define.
33640 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33642         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33643         Restore proper fallback handling.
33645 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33647         [BZ #11701]
33648         * posix/group_member.c (__group_member): Correct checking loop.
33650         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33651         OOM in getpwuid_r correctly.  Return error number when the caller
33652         should return, otherwise -1.
33653         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33654         call returning > 0 value.
33655         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33657 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33659         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33660         libc_nonshared.a from targets in modules-names.
33662 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33664         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33665         requires it.
33667 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33669         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33670         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33671         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33674 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33676         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33678 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33680         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33681         and F_GETPIPE_SZ.
33682         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33683         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33684         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33687         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33689 2010-06-14  Roland McGrath  <roland@redhat.com>
33691         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33693 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33695         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33696         __REDIRECT followed by __THROW.
33697         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33698         * posix/getopt.h (getopt): Likewise.
33700 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33702         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33703         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33704         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33705         in AT_FLAGS.
33706         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33707         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33709 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33711         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33713 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33715         [BZ #11640]
33716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33717         Properly check family and model.
33719 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33721         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33723 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33725         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33727 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33729         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33730         symbol reference.
33732 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33734         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33735         symbol reference.
33737 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33739         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33740         and internal_recvmmsg.
33741         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33742         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33743         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33744         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33746         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33747         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33748         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33750 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33752         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33754 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33756         POWER7 optimizations.
33757         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33758         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33760 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33762         * version.h: Update for 2.13 development version.
33764 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33766         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33767         exceptions.  Return 0.
33769 2010-05-07  Roland McGrath  <roland@redhat.com>
33771         * elf/ldconfig.c (main): Add a const.
33773 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33775         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33776         (args_options): Add no-idn option.
33777         (ahosts_keys_int): Add idn_flags to ai_flags.
33778         (parse_option): Handle 'i' option to clear idn_flags.
33780         * malloc/malloc.c (_int_free): Possible race in the most recently
33781         added check.  Only act on the data if no current modification
33782         happened.
33784 See ChangeLog.17 for earlier changes.