1 2013-10-04 Alan Modra <amodra@gmail.com>
3 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4 * configure: Regenerate.
5 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6 * shlib-versions: Likewise.
8 2013-10-04 Alan Modra <amodra@gmail.com>
10 * string/tester.c (test_memrchr): Increment reported test cycle.
12 2013-10-04 Alan Modra <amodra@gmail.com>
14 * string/test-memcpy.c (do_one_test): When reporting errors, print
15 string address and don't overrun end of string.
17 2013-10-04 Alan Modra <amodra@gmail.com>
19 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20 insrdi. Make better use of reg selection to speed exit slightly.
21 Schedule entry path a little better. Remove useless "are we done"
22 checks on entry to main loop. Handle wrapping around zero address.
23 Correct main loop count. Handle single left-over word from main
24 loop inline rather than by using loop_small. Remove extra word
25 case in loop_small caused by wrong loop count. Add little-endian
27 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
30 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32 support. Avoid rlwimi.
33 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35 2013-10-04 Alan Modra <amodra@gmail.com>
37 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46 2013-10-04 Alan Modra <amodra@gmail.com>
48 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
57 use of regs. Use power7 mtocrf. Tidy function tails.
59 2013-10-04 Alan Modra <amodra@gmail.com>
61 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62 Formatting. Consistently use rXXX register defines or rN defines.
63 Use early exit labels that avoid restoring unused non-volatile regs.
64 Make cr field use more consistent with rWORDn compares. Rename
65 regs used as shift registers for unaligned loop, using rN defines
66 for short lifetime/multiple use regs.
67 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
69 addi 1,1,64 to pop stack frame. Simplify return value code.
70 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72 2013-10-04 Alan Modra <amodra@gmail.com>
74 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
75 support. Correct typos, formatting. Optimize tail. Use insrdi
77 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
78 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
79 little-endian support. Correct typos.
80 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
82 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
83 in loop and entry code to keep "and." results.
84 (strchr): Add little-endian support. Comment. Move cntlzd
86 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
88 2013-10-04 Alan Modra <amodra@gmail.com>
90 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
91 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
92 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
93 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
95 2013-10-04 Alan Modra <amodra@gmail.com>
97 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
98 (rTMP): Define as r11.
99 (strcmp): Add little-endian support. Optimise tail.
100 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
101 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
102 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
103 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
104 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
106 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
108 2013-10-04 Alan Modra <amodra@gmail.com>
110 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
111 little-endian support. Remove unnecessary "are we done" tests.
112 Handle "s" wrapping around zero and extremely large "size".
113 Correct main loop count. Handle single left-over word from main
114 loop inline rather than by using small_loop. Correct comments.
115 Delete "zero" tail, use "end_max" instead.
116 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
118 2013-10-04 Alan Modra <amodra@gmail.com>
120 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
121 support. Don't branch over align.
122 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
123 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
124 support. Rearrange tmp reg use to suit. Comment.
125 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
127 2013-10-04 Alan Modra <amodra@gmail.com>
129 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
131 2013-10-04 Alan Modra <amodra@gmail.com>
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
134 conditional form of branch and link when obtaining pc.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
137 2013-10-04 Alan Modra <amodra@gmail.com>
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
144 2013-10-04 Alan Modra <amodra@gmail.com>
146 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
147 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
148 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
149 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
150 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
151 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
152 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
153 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
154 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
155 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
157 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
158 Alistair Popple <alistair@ozlabs.au.ibm.com>
159 Alan Modra <amodra@gmail.com>
162 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
163 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
164 _dl_hwcap access for little-endian.
165 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
166 destroy vmx regs when saving unaligned.
167 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
168 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
169 destroy vmx regs when saving unaligned.
171 2013-10-04 Alan Modra <amodra@gmail.com>
173 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
174 Don't use a union to pack hi/low value.
176 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
178 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
180 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
182 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
183 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
184 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
186 2013-10-04 Alan Modra <amodra@gmail.com>
188 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
189 constants to usual value for .cst8 section, and remove redundant
191 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
192 constant for 0x1p52. Load little-endian words of double from
193 correct stack offsets.
195 2013-10-04 Alan Modra <amodra@gmail.com>
197 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
198 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
199 words of double from correct stack offsets.
200 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
201 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
202 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
203 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
205 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
206 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
207 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
208 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
209 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
210 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
212 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
213 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
214 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
215 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
216 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
218 2013-10-04 Alan Modra <amodra@gmail.com>
220 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
221 64-bit int/double union.
222 (_FPU_SETCW): Likewise.
223 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
224 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
226 2013-10-04 Alan Modra <amodra@gmail.com>
228 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
229 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
231 2013-10-04 Alan Modra <amodra@gmail.com>
233 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
234 use vector int constants.
235 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
237 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
239 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
240 array with long long.
241 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
242 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
243 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
244 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
245 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
246 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
247 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
248 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
249 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
250 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
251 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
252 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
253 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
255 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
257 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
258 (__signbit): Likewise. Correct for little-endian.
259 (__signbitl): Call __signbit.
260 (lrint): Correct for little-endian.
261 (lrintf): Call lrint.
263 2013-10-04 Alan Modra <amodra@gmail.com>
265 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
266 union 32-bit int array member with 64-bit int array.
267 (t515, tm256): Double rather than long double.
268 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
270 2013-10-04 Alan Modra <amodra@gmail.com>
272 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
274 (IEEE854_LONG_DOUBLE_BIAS): Delete.
275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
276 version of math_ldbl.h.
278 2013-10-04 Alan Modra <amodra@gmail.com>
280 [BZ #15734], [BZ #15735]
281 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
282 all uses of ieee875 long double macros and unions. Simplify test
283 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
284 ldbl_extract_mantissa value for ix,iy exponents. Properly
285 normalize after ldbl_extract_mantissa, and don't add hidden bit
286 already handled. Don't treat low word of ieee854 mantissa like
287 low word of IBM long double and mask off bit when testing for
289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
290 all uses of ieee875 long double macros and unions. Simplify tests
291 for 0.0L and inf. Correct double adjustment of k. Delete dead code
292 adjusting ha,hb. Simplify code setting kld. Delete two600 and
293 two1022, instead use their values. Recognise that tests for large
294 "a" and small "b" are mutually exclusive. Rename vars. Comment.
295 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
296 Rewrite all uses of ieee875 long double macros and unions. Simplify
297 test for 0.0L and nan. Correct negation.
298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
299 ieee875 long double macros and unions. Correct output for large
300 magnitude x. Correct absolute value calculation.
302 * math/libm-test.inc: Add tests for errors discovered in IBM long
303 double versions of fmodl, remainderl, erfl and erfcl.
305 2013-10-04 Alan Modra <amodra@gmail.com>
307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
308 all uses of ieee854 long double macros and unions. Simplify tests
309 for long doubles that are fully specified by the high double.
310 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
312 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
313 Remove dead code too.
314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
315 (__ieee754_ynl): Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
317 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
319 Remove dead code too.
320 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
321 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
325 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
327 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
328 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
330 Comment on variable precision.
331 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
332 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
334 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
338 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
340 2013-10-04 Alan Modra <amodra@gmail.com>
342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
343 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
344 all uses of ieee854 long double macros and unions.
345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
348 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
353 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
354 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
357 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
358 Simplify sign and nan test too.
359 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
360 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
361 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
362 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
365 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
368 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
369 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
371 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
374 2013-10-04 Alan Modra <amodra@gmail.com>
376 * stdio-common/printf_size.c (__printf_size): Don't use
377 union ieee854_long_double in fpnum union.
378 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
379 signbit macro to retrieve sign from long double.
380 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
381 retrieve sign from long double.
382 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
383 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
384 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
385 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
386 * math/test-misc.c (main): Don't use union ieee854_long_double.
388 2013-10-04 Alan Modra <amodra@gmail.com>
391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
392 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
393 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
394 calculation. Remove unnecessary test for denormal exponent.
395 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
396 Correct handling of denormals. Avoid undefined shift behaviour.
397 Correct normalisation of low mantissa when low double is denormal.
398 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
399 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
400 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
401 Correct normalisation of low mantissa. Test for overflow of high
402 mantissa and normalise.
403 (ldbl_nearbyint): Use more readable constant for two52.
404 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
405 (__mpn_construct_long_double): Fix test for overflow of high
406 mantissa and correct normalisation. Avoid undefined shift.
408 2013-10-04 Alan Modra <amodra@gmail.com>
410 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
411 (union ibm_extended_long_double): Define as an array of ieee754_double.
412 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
414 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
415 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
417 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
418 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
419 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
421 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
424 2013-10-03 Joseph Myers <joseph@codesourcery.com>
426 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
427 page size instead of calling getpagesize.
429 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
430 (LOCFILE_ALIGN_MASK): Likewise.
431 (LOCFILE_ALIGN_UP): Likewise.
432 (LOCFILE_ALIGNED_P): Likewise.
433 * locale/programs/ld-collate.c (collate_output): Use the new
434 macros instead of __alignof__ (int32_t).
435 * locale/weight.h (findidx): Likewise.
437 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
440 * manual/string.texi: Fix strncat and wcsncat.
442 2013-10-03 Brooks Moses <bmoses@google.com>
445 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
446 * Makerules: ...here, and adjust associated comments.
448 2013-10-02 Will Newton <will.newton@linaro.org>
450 * malloc/Makefile: Add tst-pvalloc.
451 * malloc/tst-pvalloc.c: New file.
453 2013-10-02 Will Newton <will.newton@linaro.org>
455 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
456 improve test coverage.
458 2013-10-02 Will Newton <will.newton@linaro.org>
460 * malloc/Makefile: Add tst-posix_memalign.
461 * malloc/tst-posix_memalign.c: New file.
463 2013-10-01 Eric Blake <eblake@redhat.com>
465 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
466 Use __THROWNL rather than __THROW on static functions.
468 2013-09-30 Petr Machata <pmachata@redhat.com>
470 * elf/elf.h (R_AARCH64_ABS16): New macro.
471 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
472 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
473 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
474 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
475 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
476 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
477 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
478 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
479 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
480 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
481 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
482 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
483 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
484 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
485 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
486 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
487 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
488 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
489 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
490 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
491 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
492 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
493 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
494 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
495 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
496 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
497 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
498 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
499 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
500 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
501 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
502 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
503 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
504 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
505 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
506 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
507 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
508 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
509 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
510 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
511 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
512 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
513 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
514 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
515 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
516 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
517 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
518 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
519 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
520 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
521 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
522 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
523 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
524 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
525 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
526 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
527 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
528 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
529 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
530 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
531 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
532 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
533 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
534 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
535 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
536 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
537 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
538 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
539 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
540 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
541 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
542 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
543 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
544 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
545 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
546 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
547 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
548 (R_AARCH64_TLSDESC_LDR): Likewise.
549 (R_AARCH64_TLSDESC_ADD): Likewise.
550 (R_AARCH64_TLSDESC_CALL): Likewise.
552 2013-09-30 Andreas Schwab <schwab@suse.de>
555 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
556 the nss database lookup.
557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
560 2013-09-28 Mike Frysinger <vapier@gentoo.org>
562 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
564 2013-09-28 P. J. McDermott <pj@pehjota.net>
566 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
567 ${Bash-specific parameter/pattern/string} parameter expansion.
568 * sysdeps/unix/make-syscalls.sh: Likewise.
570 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
572 * sysdeps/sh/stackguard-macros.h: New file.
574 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
578 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
580 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
581 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
583 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
585 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
586 Fix thread ID register.
588 2013-09-25 Joseph Myers <joseph@codesourcery.com>
590 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
591 [POSIX || UNIX98]: Require rather than permitting all symbols from
593 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
594 element of struct sched_param.
595 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
596 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
597 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
598 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
601 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
603 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
604 argument calculation.
606 2013-09-24 Joseph Myers <joseph@codesourcery.com>
608 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
610 [POSIX] (pthread_attr_t): Do not require type.
611 [POSIX] (pthread_cond_t): Likewise.
612 [POSIX] (pthread_condattr_t): Likewise.
613 [POSIX] (pthread_key_t): Likewise.
614 [POSIX] (pthread_mutex_t): Likewise.
615 [POSIX] (pthread_mutexattr_t): Likewise.
616 [POSIX] (pthread_once_t): Likewise.
617 [POSIX] (pthread_t): Likewise.
618 [POSIX-based standards] (pthread_atfork): Expect function.
620 2013-09-24 Joseph Myers <joseph@codesourcery.com>
621 Richard Sandiford <richard@codesourcery.com>
623 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
624 (swap_endianness_p): New extern variable.
625 (set_big_endian): New inline function.
626 (maybe_swap_uint32): Likewise.
627 (maybe_swap_uint32_array): Likewise.
628 (maybe_swap_uint32_obstack): Likewise.
629 * locale/programs/locfile.c: Include <stdbool.h>.
630 (swap_endianness_p): New variable.
631 (add_locale_uint32): Call maybe_swap_uint32.
632 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
633 (write_locale_data): Call maybe_swap_uint32_array.
634 * locale/programs/ld-collate.c (obstack_int32_grow): Call
636 (obstack_int32_grow_fast): Likewise.
637 (output_weightwc): Call maybe_swap_uint32_obstack.
638 (collate_output): Likewise.
639 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
640 (OPT_LITTLE_ENDIAN): Likewise.
641 (options): Add --little-endian and --big-endian options.
642 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
643 * locale/programs/locarchive.c: Include "locfile.h".
647 (create_archive): Use the new macros to access fields of
648 structures directly mapped from or written to locale archives.
649 (oldlocrecentcmp): Likewise.
650 (enlarge_archive): Likewise.
651 (insert_name): Likewise.
652 (add_alias): Likewise.
653 (add_locale): Likewise.
654 (delete_locales_from_archive): Likewise.
655 (show_archive_content): Likewise.
656 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
659 2013-09-24 Roland McGrath <roland@hack.frob.com>
661 * manual/freemanuals.texi: Updated from (newly) canonical copy at
662 http://www.gnu.org/doc/freemanuals.texi.
663 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
665 2013-09-24 Will Newton <will.newton@linaro.org>
667 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
670 2013-09-23 Joseph Myers <joseph@codesourcery.com>
672 * locale/hashval.h (compute_hashval): Interpret bytes of key as
675 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
677 * manual/threads.texi (POSIX Threads): Fix a typo.
679 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
682 * string/tst-strcoll-overflow.c: New test case.
683 * string/Makefile (xtests): Add tst-strcoll-overflow.
684 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
685 cache if string sizes may cause integer overflow.
688 * string/strcoll_l.c (coll_seq): New members rule, idx,
689 save_idx and back_us.
690 (get_next_seq_nocache): New function.
691 (do_compare_nocache): New function.
692 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
695 2013-09-23 Carlos O'Donell <carlos@redhat.com>
698 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
699 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
700 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
703 * elf/Makefile (tests): Add tst-ptrguard1.
704 (tests-static): Add tst-ptrguard1-static.
705 (tst-ptrguard1-ARGS): Define.
706 (tst-ptrguard1-static-ARGS): Define.
707 * elf/tst-ptrguard1.c: New file.
708 * elf/tst-ptrguard1-static.c: New file.
709 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
710 * sysdeps/i386/stackguard-macros.h: Likewise.
711 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
712 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
713 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
714 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
715 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
716 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
718 2013-09-23 Hector Marco <hecmargi@upv.es>
719 Ismael Ripoll <iripoll@disca.upv.es>
720 Carlos O'Donell <carlos@redhat.com>
723 * sysdeps/generic/stackguard-macros.h: Define
724 __pointer_chk_guard_local and POINTER_CHK_GUARD.
725 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
726 Define __pointer_chk_guard_local.
727 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
728 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
730 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
733 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
735 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
737 * include/string.h (__ffs): Declare as hidden.
738 * string/ffs.c (__ffs): Define as hidden.
739 * sysdeps/i386/ffs.c (__ffs): Likewise.
740 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
741 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
742 * sysdeps/s390/ffs.c (__ffs): Likewise.
743 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
745 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
747 * NEWS: Mention malloc probes.
749 * malloc/arena.c (new_heap): New memory_heap_new probe.
750 (grow_heap): New memory_heap_more probe.
751 (shrink_heap): New memory_heap_less probe.
752 (heap_trim): New memory_heap_free probe.
753 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
754 (systrim): New memory_sbrk_less probe.
755 * manual/probes.texi: Document them.
757 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
758 * manual/probes.texi: Document it.
760 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
761 (__libc_realloc): Add memory_realloc_retry probe.
762 (__libc_memalign): Add memory_memalign_retry probe.
763 (__libc_valloc): Add memory_valloc_retry probe.
764 (__libc_pvalloc): Add memory_pvalloc_retry probe.
765 (__libc_calloc): Add memory_calloc_retry probe.
766 * manual/probes.texi: Document them.
768 * malloc/arena.c (get_free_list): Add probe
769 memory_arena_reuse_free_list.
770 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
771 and memory_arena_reuse.
772 (arena_get2) [!PER_THREAD]: Likewise.
773 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
774 memory_arena_reuse_realloc.
775 * manual/probes.texi: Document them.
777 * malloc/malloc.c (__libc_free): Add
778 memory_mallopt_free_dyn_thresholds probe.
779 (__libc_mallopt): Add multiple memory_mallopt probes.
780 * manual/probes.texi: Document them.
782 * malloc/malloc.c: Include stap-probe.h.
783 (__libc_mallopt): Add memory_mallopt probe.
784 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
785 * manual/probes.texi: New.
786 * manual/Makefile (chapters): Add probes.
787 * manual/threads.texi: Set next node.
789 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
792 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
793 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
794 Add `Chinese' to `nan' entry name.
796 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
798 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
799 (POLYNOMIAL): Likewise.
800 (TAYLOR_SINCOS): Likewise.
801 (TAYLOR_SLOW): Likewise.
802 (__sin): Use TAYLOR_SINCOS.
804 (slow): Use TAYLOR_SLOW.
809 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
811 * stdlib/strtod_l.c: Fix buffer overrun.
813 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
815 * benchtests/Makefile (bench): Add sincos.
816 * benchtests/bench-sincos.c: New file.
818 * math/libm-test.inc (cos_test_data): New test inputs.
819 (sin_test_data): Likewise.
821 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
835 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
844 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
846 * config.h.in (HAVE_MIPS_NAN2008): New macro.
847 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
848 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
849 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
850 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
851 * elf/cache.c (print_entry): Handle the new cache flags.
853 2013-09-18 Joseph Myers <joseph@codesourcery.com>
854 Aldy Hernandez <aldyh@redhat.com>
856 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
857 Change condition to [_SOFT_FLOAT].
858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
870 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
873 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
876 2013-09-18 Joseph Myers <joseph@codesourcery.com>
878 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
879 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
880 (__longjmp): Use LOAD_GP to load saved GPRs.
881 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
882 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
883 (__sigsetjmp): Use SAVE_GP to save GPRs.
885 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
886 Do not append -msoft-float.
887 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
889 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
891 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
893 2013-09-17 Joseph Myers <joseph@codesourcery.com>
896 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
897 (_FPU_GETCW): Use initial "__" on variable and field names but not
898 on macro parameter name.
899 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
900 parentheses around reference to macro parameter.
902 2013-09-13 Richard Sandiford <richard@codesourcery.com>
904 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
906 (ctype_startup): Use uint32_t in cast and sizeof for
909 2013-09-11 Jia Liu <proljc@gmail.com>
911 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
913 [__FreeBSD__]: Likewise.
915 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
918 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
919 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
920 (strchr): Remove __strchr_sse42 ifunc selection.
921 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
922 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
924 2013-09-11 Will Newton <will.newton@linaro.org>
926 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
927 parameter to RES. Remove hardcoded 1000 value.
928 * benchtests/bench-skeleton.c (main): Pass RES parameter
929 to TIMING_INIT and multiply result by 1000.
931 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
935 2013-09-11 Andreas Schwab <schwab@suse.de>
937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
939 (O_TMPFILE) [__USE_GNU]: Define.
940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
943 2013-09-11 Will Newton <will.newton@linaro.org>
946 * malloc/malloc.c (__libc_memalign): Check the value of bytes
949 2013-09-11 Will Newton <will.newton@linaro.org>
952 * malloc/malloc.c (__libc_valloc): Check the value of bytes
955 2013-09-11 Will Newton <will.newton@linaro.org>
958 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
961 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
963 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
965 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
966 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
967 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
969 2013-09-10 Allan McRae <allan@archlinux.org>
972 * manual/arith.texi (Parsing of Floats): Clarify
976 * manual/install.texi (Running make install): Mention
978 * INSTALL: Regenerated.
980 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
982 * csu/init-first.c (_init): Remove the !SHARED condition around
983 FPU control word initialization.
984 * elf/dl-support.c (_dl_fpu_control): New variable.
985 (_dl_aux_init) <AT_FPUCW>: Initialize it.
986 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
987 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
988 * math/test-fpucw-static.c: New file.
989 * math/test-fpucw-ieee.c: New file.
990 * math/test-fpucw-ieee-static.c: New file.
991 * math/Makefile (tests): Add `test-fpucw-ieee' and
993 (tests-static): New variable.
994 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
996 [($(build-shared),yes)]
997 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
999 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1002 2013-09-09 Allan McRae <allan@archlinux.org>
1005 * manual/string.texi (Collation Functions): Fix typo in
1007 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1010 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1013 * libio/memstream.c (open_memstream): Fix memory leak.
1014 * libio/wmemstream.c (open_wmemstream): Likewise.
1017 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1019 2013-09-09 Will Newton <will.newton@linaro.org>
1021 * malloc/Makefile: Add tst-realloc to tests.
1022 * malloc/tst-realloc.c: New file.
1024 2013-09-09 Allan McRae <allan@archlinux.org>
1027 * COPYING: Update from GNU website to fix FSF address.
1028 * COPYING.LIB: Likewise.
1030 2013-09-06 David S. Miller <davem@davemloft.net>
1032 * po/zh_TW.po: Update Chinese (traditional) translation from
1033 translation project.
1035 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1036 Joseph Myers <joseph@codesourcery.com>
1038 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1040 (obstack_chunk_alloc): New macro.
1041 (obstack_chunk_free): Likewise.
1042 (record_offset): New function.
1043 (init_locale_data): Likewise.
1044 (align_locale_data): Likewise.
1045 (add_locale_empty): Likewise.
1046 (add_locale_raw_data): Likewise.
1047 (add_locale_raw_obstack): Likewise.
1048 (add_locale_string): Likewise.
1049 (add_locale_wstring): Likewise.
1050 (add_locale_uint32): Likewise.
1051 (add_locale_uint32_array): Likewise.
1052 (add_locale_char): Likewise.
1053 (start_locale_structure): Likewise.
1054 (end_locale_structure): Likewise.
1055 (start_locale_prelude): Likewise.
1056 (end_locale_prelude): Likewise.
1057 (write_locale_data): Take locale_file structure rather than an
1059 * locale/programs/locfile.h: Include "obstack.h".
1060 (struct locale_file): Change to store locale file contents instead
1062 (init_locale_data): New prototype.
1063 (align_locale_data): Likewise.
1064 (add_locale_empty): Likewise.
1065 (add_locale_raw_data): Likewise.
1066 (add_locale_raw_obstack): Likewise.
1067 (add_locale_string): Likewise.
1068 (add_locale_wstring): Likewise.
1069 (add_locale_uint32): Likewise.
1070 (add_locale_uint32_array): Likewise.
1071 (add_locale_char): Likewise.
1072 (start_locale_structure): Likewise.
1073 (end_locale_structure): Likewise.
1074 (start_locale_prelude): Likewise.
1075 (end_locale_prelude): Likewise.
1076 (write_locale_data): Update prototype.
1077 * locale/programs/3level.h (struct TABLE): Remove result field.
1078 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1079 Use new locale_file interface.
1080 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1081 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1082 * locale/programs/ld-address.c (address_output): Use new
1083 locale_file interface.
1084 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1086 (collate_finish): Don't call collseq_table_finalize.
1087 (collate_output): Use new locale_file interface.
1088 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1090 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1091 (TABLE): Move defines earlier in file.
1092 (ELEMENT): Likewise.
1093 (DEFAULT): Likewise.
1094 (wctrans_table_add): Move macro and inline function earlier in
1096 (struct wctype_table): Move type earlier in file.
1097 (add_locale_wctype_table): New static prototype.
1098 (struct locale_ctype_t): Use logical types instead of struct iovec
1099 pointers for members.
1100 (ctype_output): Use new locale_file interface.
1101 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1102 new locale_file interface.
1103 (allocate_arrays): Update for use of new locale_file interface.
1104 * locale/programs/ld-identification.c (identification_output): Use
1105 new locale_file interface.
1106 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1107 * locale/programs/ld-messages.c (messages_output): Likewise.
1108 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1109 * locale/programs/ld-name.c (name_output): Likewise.
1110 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1111 * locale/programs/ld-paper.c (paper_output): Likewise.
1112 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1113 * locale/programs/ld-time.c (time_output): Likewise.
1115 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1117 * benchtests/Makefile: Add memrchr benchmark.
1118 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1119 benchmark as memrchr.
1120 * benchtests/bench-memrchr-ifunc.c: New file.
1121 * benchtests/bench-memrchr.c: New file.
1123 2013-09-06 Will Newton <will.newton@linaro.org>
1125 * benchtests/Makefile (string-bench): Add memcpy.
1127 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1128 Cong Wang <amwang@redhat.com>
1130 * sysdeps/unix/sysv/linux/bits/in.h
1131 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1132 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1133 before __USE_KERNEL_IPV6_DEFS uses.
1134 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1136 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1137 sockaddr_in6, or ipv6_mreq.
1139 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1141 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1142 memory access for final bytes in some large inputs.
1143 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1145 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147 * string/test-memrchr.c: New file.
1148 * string/test-memrchr-ifunc.c: New file.
1149 * string/Makefile: Add new memrchr testcase.
1151 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1153 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1154 fanotify_init returns EPERM.
1156 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1158 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1160 (top level): Treat second token from macro or constant entries for
1161 allowed headers as allowed.
1162 * include/complex.h: Condition internal declarations on
1164 * include/fenv.h: Condition include of <stdbool.h> and internal
1165 declarations on [!_ISOMAC].
1167 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1170 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1172 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1174 * configure.in (--enable-versioning): Remove configure option.
1175 (libc_cv_asm_symver_directive): Remove configure test.
1176 (libc_cv_ld_version_script_option): Likewise.
1177 (VERSIONING): Remove variable and AC_SUBST.
1178 (DO_VERSIONING): Remove AC_DEFINE.
1179 * configure: Regenerated.
1180 * config.h.in (DO_VERSIONING): Remove macro.
1181 * Makerules [$(versioning) = yes]: Change conditionals to
1182 [$(build-shared) = yes].
1183 * config.make.in (versioning): Remove variable.
1184 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1185 [$(build-shared) = yes].
1186 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1187 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1188 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1189 [$(build-shared) = yes].
1190 * extra-lib.mk [$(versioning) = yes]: Likewise.
1191 * hurd/Makefile [$(versioning) = yes]: Likewise.
1192 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1194 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1196 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1197 [SHARED && !NO_HIDDEN].
1198 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1200 [SHARED && DO_VERSIONING]: Likewise..
1201 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1202 [$(build-shared) = yes].
1203 * manual/install.texi (--disable-versioning): Remove
1205 * INSTALL: Regenerated.
1206 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1208 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1209 [$(build-shared) = yes].
1210 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1211 * sysdeps/i386/i686/multiarch/strstr-c.c
1212 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1213 [SHARED && !NO_HIDDEN].
1214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1215 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1216 * sysdeps/powerpc/powerpc32/dl-machine.c
1217 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1218 * sysdeps/powerpc/powerpc32/sysdep.h
1219 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1220 to [SHARED && PIC && !NO_HIDDEN].
1221 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1222 conditional to [SHARED].
1224 2013-09-04 Will Newton <will.newton@linaro.org>
1226 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1227 * benchtests/bench-string.h: Include bench-timing.h instead
1228 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1229 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1230 call to HP_TIMING_DIFF_INIT.
1231 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1232 instead of hp-timing.h macros.
1233 * benchtests/bench-memchr.c: Likewise.
1234 * benchtests/bench-memcmp.c: Likewise.
1235 * benchtests/bench-memcpy.c: Likewise.
1236 * benchtests/bench-memmem.c: Likewise.
1237 * benchtests/bench-memmove.c: Likewise.
1238 * benchtests/bench-memset.c: Likewise.
1239 * benchtests/bench-rawmemchr.c: Likewise.
1240 * benchtests/bench-strcasecmp.c: Likewise.
1241 * benchtests/bench-strcasestr.c: Likewise.
1242 * benchtests/bench-strcat.c: Likewise.
1243 * benchtests/bench-strchr.c: Likewise.
1244 * benchtests/bench-strcmp.c: Likewise.
1245 * benchtests/bench-strcpy.c: Likewise.
1246 * benchtests/bench-strcpy_chk.c: Likewise.
1247 * benchtests/bench-strlen.c: Likewise.
1248 * benchtests/bench-strncasecmp.c: Likewise.
1249 * benchtests/bench-strncat.c: Likewise.
1250 * benchtests/bench-strncmp.c: Likewise.
1251 * benchtests/bench-strncpy.c: Likewise.
1252 * benchtests/bench-strnlen.c: Likewise.
1253 * benchtests/bench-strpbrk.c: Likewise.
1254 * benchtests/bench-strrchr.c: Likewise.
1255 * benchtests/bench-strspn.c: Likewise.
1256 * benchtests/bench-strstr.c: Likewise.
1258 2013-09-04 Will Newton <will.newton@linaro.org>
1260 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1262 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1266 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1267 * math/libm-test.inc (lgamma_test_data): Add more tests.
1268 * sysdeps/i386/fpu/libm-test-ulps: Update.
1269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1271 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1273 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1277 Add strcmp-sse2-unaligned
1278 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1280 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1282 * Versions.def (libc): Add GLIBC_2.19.
1284 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1286 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1287 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1289 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1292 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1293 intermediate calculations in recurrence.
1294 (__ieee754_ynf): Likewise.
1295 * math/libm-test.inc (jn_test_data): Do not allow spurious
1296 underflow exception. Add more tests.
1297 (yn_test_data): Add more tests.
1298 * sysdeps/i386/fpu/libm-test-ulps: Update.
1299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1301 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1305 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1307 * csu/init-first.c: Fix then/than typos.
1308 * locale/programs/ld-collate.c: Likewise.
1309 * locale/programs/linereader.h: Likewise.
1310 * manual/charset.texi: Likewise.
1311 * manual/filesys.texi: Likewise.
1312 * manual/stdio.texi: Likewise.
1313 * manual/string.texi: Likewise.
1314 * stdlib/fmtmsg.c: Likewise.
1315 * sysdeps/i386/stpncpy.S: Likewise.
1316 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1317 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1321 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1323 * elf/dl-open.c: Fix typos.
1324 * iconvdata/gbbig5.c: Likewise.
1325 * iconvdata/iso-2022-jp.c: Likewise.
1326 * iconv/gconv_int.h: Likewise.
1327 * iconv/loop.c: Likewise.
1328 * nis/rpcsvc/nis.h: Likewise.
1329 * resolv/ns_name.c: Likewise.
1330 * stdio-common/vfscanf.c: Likewise.
1331 * streams/stropts.h: Likewise.
1332 * sunrpc/rpc_thread.c: Likewise.
1333 * sysdeps/i386/strpbrk.S: Likewise.
1334 * sysdeps/ieee754/k_standard.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1337 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1338 * sysdeps/mach/hurd/profil.c: Likewise.
1339 * sysdeps/s390/dl-procinfo.h: Likewise.
1340 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1341 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1342 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1343 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1346 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1348 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1351 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1353 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1355 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1357 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1359 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1360 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1364 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1365 Roland McGrath <roland@hack.frob.com>
1367 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1368 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1370 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1372 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1373 __executable_start symbol instead of _start.
1375 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1377 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1378 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1380 * sysdeps/gnu/ldsodefs.h: ... this new file.
1382 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1383 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1384 instead of ELFOSABI_LINUX.
1386 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1387 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1388 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1389 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1391 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1392 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1395 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1396 (ibm_extended_long_double): Add ieee_nan member.
1397 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1398 (do_test): New function.
1400 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1402 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1403 functions, renamed from truncdfsf_test, trunctfsf_test,
1405 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1407 (do_test): Run all these.
1409 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1411 * argp/argp-help.c: Fix typos.
1412 * argp/argp-parse.c: Likewise.
1413 * debug/backtracesyms.c: Likewise.
1414 * elf/elf.h: Likewise.
1415 * malloc/malloc.c: Likewise.
1416 * nis/nis_print.c: Likewise.
1417 * resolv/res_comp.c: Likewise.
1418 * stdlib/stdlib.h: Likewise.
1419 * sunrpc/clnt_tcp.c: Likewise.
1420 * sunrpc/clnt_udp.c: Likewise.
1421 * sunrpc/clnt_unix.c: Likewise.
1422 * sysdeps/unix/bsd/ptsname.c: Likewise.
1423 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1433 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1435 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1438 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1441 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1442 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1443 ($(objpfx)bug-dl-leaf): New rule.
1444 ($(objpfx)bug-dl-leaf.so): Likewise.
1445 ($(objpfx)bug-dl-leaf.out): Likewise.
1446 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1447 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1448 * dlfcn/bug-dl-leaf.c: New test.
1449 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1450 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1451 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1452 (dlclose): Likewise.
1453 (dlmopen): Likewise.
1455 2013-08-27 Roland McGrath <roland@hack.frob.com>
1457 * include/netdb.h [!_ISOMAC]:
1458 Don't include <tls.h>.
1459 (h_errno, __libc_h_errno): Move declaration and macros out of
1462 * include/resolv.h [_RESOLV_H_]:
1463 Don't include <tls.h>.
1464 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1465 * resolv/res_libc.c: Don't include <tls.h>.
1466 (_res): Use __attribute__ ((nocommon)) in place of
1467 __attribute__ ((section (".bss"))).
1469 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1470 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1472 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1474 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1475 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1477 * resolv/res_mkquery.c: Include <sys/time.h>.
1479 * inet/ifreq.c: Moved to ...
1480 * sysdeps/unix/ifreq.c: ... here.
1481 * inet/ifreq.c: New file, true stub version.
1483 * socket/sa_len.c: New file.
1484 * socket/Makefile (aux): Add it.
1485 * sysdeps/unix/sysv/linux/Makefile
1486 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1487 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1488 and #include <socket/sa_len.c>.
1489 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1490 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1493 * bits/socket.h: ... here.
1495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1496 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1497 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1499 2013-08-27 Andreas Schwab <schwab@suse.de>
1502 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1503 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1504 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1505 * string/test-strcasecmp.c (test_main): Run tests in several
1507 * string/test-strncasecmp.c (test_main): Likewise.
1509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1510 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1511 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1513 (__strncasecmp_ssse3) [PIC]: Likewise.
1515 2013-08-26 Roland McGrath <roland@hack.frob.com>
1517 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1519 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1520 instead of explicitly declaring xdecrypt.
1521 * nis/nss_nis/nis-publickey.c: Likewise.
1523 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1526 * nscd/aicache.c: Include res_hconf.h.
1527 (addhstaiX): Initialize res_hconf.
1529 2013-08-26 Andreas Schwab <schwab@suse.de>
1531 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1532 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1534 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1536 * nscd/aicache.c (addhstaiX): Fix indentation.
1538 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1540 * configure.ac: Quote $build_pt_chown test.
1541 * configure: Regenerated.
1543 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1546 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1547 * math/s_cexpf.c (__cexpf): Likewise.
1548 * math/s_cexpl.c (__cexpl): Likewise.
1549 * math/libm-test.inc (cexp_test_data): Correct expected return
1550 value for NaN + i0. Add another test.
1552 2013-08-22 David S. Miller <davem@davemloft.net>
1554 * po/ca.po: Update Catalan translation from translation project.
1555 * po/uk.po: Add Ukrainian translations from translation project.
1557 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1560 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1561 is infinite, not alongside NaN test.
1562 * math/s_fdimf.c (__fdimf): Likewise.
1563 * math/s_fdiml.c (__fdiml): Likewise.
1564 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1567 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1569 * argp/argp-help.c: Fix typos.
1570 * crypt/speeds.c: Likewise.
1571 * csu/check_fds.c: Likewise.
1572 * elf/dl-load.c: Likewise.
1573 * elf/dl-open.c: Likewise.
1574 * elf/reldep3.c: Likewise.
1575 * elf/reldep.c: Likewise.
1576 * elf/sprof.c: Likewise.
1577 * iconv/iconv_charmap.c: Likewise.
1578 * iconv/skeleton.c: Likewise.
1579 * iconv/strtab.c: Likewise.
1580 * io/lockf64.c: Likewise.
1581 * libio/libioP.h: Likewise.
1582 * resolv/gai_notify.c: Likewise.
1583 * resolv/ns_name.c: Likewise.
1584 * resolv/ns_samedomain.c: Likewise.
1585 * resolv/res_send.c: Likewise.
1586 * stdlib/random.c: Likewise.
1587 * sunrpc/rpc/xdr.h: Likewise.
1588 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1589 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1590 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1591 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1595 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1596 * sysdeps/mach/hurd/check_fds.c: Likewise.
1597 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1598 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1600 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1601 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1603 * sysdeps/pthread/aio_notify.c: Likewise.
1604 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1605 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1606 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1608 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1610 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1612 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1613 version if bit_Slow_SSE4_2 is set.
1614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1615 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1617 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1621 trampoline stack frame information.
1622 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1624 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1625 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1626 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1627 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1628 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1629 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1631 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1632 interrupting a syscall and set with option SA_SIGINFO.
1634 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1637 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1638 argument is infinite.
1639 * math/s_cprojf.c (__cprojf): Likewise.
1640 * math/s_cprojl.c (__cprojl): Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1642 * math/libm-test.inc (cproj_test_data): Add more tests.
1644 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1646 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1647 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1648 size. Use __ffs to determine corresponding shift.
1650 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1651 Roland McGrath <roland@hack.frob.com>
1653 * Makefile (INSTALL): Remove trailing blank lines from output of
1656 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1658 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1659 Align 32 bit compat elf_greg to 8 bytes.
1661 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1663 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1665 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * string/strcoll_l.c (coll_seq): New structure.
1668 (get_next_seq_cached): New function.
1669 (get_next_seq): New function.
1670 (do_compare): New function.
1671 (STRCOLL): Use GNU style definition. Simplify implementation
1672 by using get_next_seq, get_next_seq_cached and do_compare.
1674 2013-08-16 Florian Weimer <fweimer@redhat.com>
1678 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1680 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1682 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1683 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1684 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1686 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1687 GETDENTS_64BIT_ALIGNED.
1688 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1689 * manual/filesys.texi (Reading/Closing Directory): Document
1690 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1692 * manual/conf.texi (Limits for Files): Add portability note to
1694 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1696 2013-08-13 Andreas Schwab <schwab@suse.de>
1699 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1701 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1702 LDBL_MAX_EXP >= 16384]: Add tests for it.
1704 2013-08-12 David S. Miller <davem@davemloft.net>
1706 * version.h (RELEASE): Set to "development".
1707 (VERSION): Set to "2.18.90".
1708 * NEWS: Add 2.19 section.
1710 2013-08-03 David S. Miller <davem@davemloft.net>
1712 * po/ko.po: Update Korean translation from translation project.
1714 2013-08-01 David S. Miller <davem@davemloft.net>
1716 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1717 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1720 2013-07-30 David S. Miller <davem@davemloft.net>
1722 * po/fr.po: Update French translation from translation project.
1724 2013-07-28 David S. Miller <davem@davemloft.net>
1726 * po/cs.po: Update Czech translation from translation project.
1728 * po/sv.po: Update Swedish translation from translation project.
1730 2013-07-27 David S. Miller <davem@davemloft.net>
1732 * po/eo.po: Update Esperanto translation from translation project.
1734 * po/vi.po: Update Vietnamese translation from translation project.
1736 * po/de.po: Update German translation from translation project.
1738 2013-07-26 David S. Miller <davem@davemloft.net>
1740 * po/bg.po: Update Bulgarian translation from translation project.
1742 * po/nl.po: Update Dutch translation from translation project.
1743 * po/pl.po: Update Polish translation from translation project.
1744 * po/ru.po: Update Russian translation from translation project.
1746 2013-07-24 David S. Miller <davem@davemloft.net>
1748 * po/libc.pot: Update.
1750 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1754 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1755 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1756 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1758 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1760 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1762 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 Andreas Schwab <schwab@suse.de>
1764 Roland McGrath <roland@hack.frob.com>
1765 Joseph Myers <joseph@codesourcery.com>
1766 Carlos O'Donell <carlos@redhat.com>
1769 * config.h.in: Define HAVE_PT_CHOWN.
1770 * config.make.in (build-pt-chown): New variable.
1771 * configure.in (--enable-pt_chown): New configure option.
1772 * configure: Regenerate.
1773 * login/Makefile: Include Makeconfig. Build pt_chown only if
1774 build-pt-chown is enabled.
1775 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1776 pt_chown to fix pty ownership.
1777 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1779 * manual/install.texi (Configuring and compiling): Mention
1780 --enable-pt_chown. Add @findex for grantpt.
1781 * INSTALL: Regenerate.
1783 2013-07-20 David S. Miller <davem@davemloft.net>
1785 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1786 difference between 32-bit and 64-bit.
1788 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1791 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1792 Avoid system header dependency with -ffreestanding.
1793 ($(objpfx)bits/syscall%d): Likewise.
1795 2013-07-13 David S. Miller <davem@davemloft.net>
1797 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1798 underflows from atanl/atan2l due to bug 15319.
1799 (casinh_test_data): Likewise.
1801 2013-07-07 David S. Miller <davem@davemloft.net>
1803 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1805 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1807 * sysdeps/i386/fpu/libm-test-ulps: Update.
1808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1810 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1812 * configure.in (--enable-lock-elision): Fix message text.
1813 * INSTALL: Regenerate.
1814 * configure: Regenerate.
1816 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1820 2013-07-03 Andreas Jaeger <aj@suse.de>
1822 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1824 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1825 (ptrace_peeksiginfo_args): Add.
1826 (__ptrace_peeksiginfo_flags): Add.
1827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1831 2013-07-03 Allan McRae <allan@archlinux.org>
1833 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 2013-07-02 David S. Miller <davem@davemloft.net>
1837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1839 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1843 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1845 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1848 2013-07-02 Andi Kleen <ak@linux.intel.com>
1850 * config.h.in (ENABLE_LOCK_ELISION): Add.
1851 * configure.in (--enable-lock-elision): Add option.
1852 * manual/install.texi: Document --enable lock elision.
1853 * configure: Regenerate
1854 * INSTALL: Regenerate.
1856 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1858 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1859 SSE4.2 strcasecmp for libc.a.
1860 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1862 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1865 * soft-fp/op-common.h (_FP_FMA): New macro.
1866 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1867 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1868 (_FP_MUL_MEAT_1_imm): ... here.
1869 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1870 (_FP_MUL_MEAT_1_wide): ... here.
1871 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1872 (_FP_MUL_MEAT_1_hard): ... here.
1873 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1874 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1875 (_FP_MUL_MEAT_2_wide): ... here.
1876 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1877 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1878 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1879 (_FP_MUL_MEAT_2_gmp): ... here.
1880 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1881 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1882 (_FP_MUL_MEAT_4_wide): ... here.
1883 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1884 (_FP_MUL_MEAT_4_gmp): ... here.
1885 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1886 (_FP_WFRACBITS_DW_S): Likewise.
1887 (_FP_WFRACXBITS_DW_S): Likewise.
1888 (_FP_HIGHBIT_DW_S): Likewise.
1889 (FP_FMA_S): Likewise.
1890 (_FP_FRAC_HIGH_DW_S): Likewise.
1891 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1892 (_FP_WFRACBITS_DW_D): Likewise.
1893 (_FP_WFRACXBITS_DW_D): Likewise.
1894 (_FP_HIGHBIT_DW_D): Likewise.
1895 (FP_FMA_D): Likewise.
1896 (_FP_FRAC_HIGH_DW_D): Likewise.
1897 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1898 (_FP_WFRACBITS_DW_E): Likewise.
1899 (_FP_WFRACXBITS_DW_E): Likewise.
1900 (_FP_HIGHBIT_DW_E): Likewise.
1901 (FP_FMA_E): Likewise.
1902 (_FP_FRAC_HIGH_DW_E): Likewise.
1903 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1904 (_FP_WFRACBITS_DW_Q): Likewise.
1905 (_FP_WFRACXBITS_DW_Q): Likewise.
1906 (_FP_HIGHBIT_DW_Q): Likewise.
1907 (FP_FMA_Q): Likewise.
1908 (_FP_FRAC_HIGH_DW_Q): Likewise.
1909 * soft-fp/fmasf4.c: New file.
1910 * soft-fp/fmadf4.c: Likewise.
1911 * soft-fp/fmatf4.c: Likewise.
1913 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1916 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1920 (index_Slow_SSE4_2): Likewise.
1921 (index_Prefer_PMINUB_for_stringop): Likewise.
1922 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1923 bit_Slow_SSE4_2 is set.
1924 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1925 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1927 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1929 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1930 rtld_global._dl_hwcap2.
1931 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1933 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1934 POWER8 feature descriptions defined in _dl_hwcap2.
1935 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1936 string handling for POWER8 feature bits.
1937 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1938 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1939 _dl_powerpc_cap_flags.
1940 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1941 * sysdeps/powerpc/rtld-global-offsets.sym
1942 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1943 _dl_hwcap2 in the rtld_global_ro structure.
1945 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1947 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1948 hardware capabilities in support of AT_HWCAP2.
1949 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1950 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1952 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1953 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1954 explicitly the unknown a_type display mechanism is used.
1955 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1956 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1958 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1959 to macro prototype for AT_HWCAP2 support.
1960 * sysdeps/i386/dl-procinfo.h: Likewise.
1961 * sysdeps/s390/dl-procinfo.h: Likewise.
1962 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1963 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1964 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1965 return -1 for unknown a_type display fallback.
1966 * sysdeps/sparc/dl-procinfo.h: Likewise.
1967 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1968 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1970 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1973 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1975 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1978 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1979 mprotect making __stack_prot writable.
1981 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1982 Joseph Myers <joseph@codesourcery.com>
1984 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1985 as being properly aligned.
1987 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1989 * dlfcn/modstatic5.c: New file.
1990 * dlfcn/tststatic5.c: New file.
1991 * dlfcn/Makefile (tests): Add tststatic5.
1992 (tests-static): Likewise.
1993 (modules-names): Add modstatic5.
1994 (tststatic5-ENV): New variable.
1995 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1998 * elf/dl-support.c (_dl_main_map): New variable.
1999 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2000 (_dl_nns, _dl_load_adds): Set to 1.
2001 (_dl_initial_searchlist): Refer to _dl_main_map.
2002 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2003 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2004 call to _dl_get_origin.
2005 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2007 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2008 * dlfcn/modstatic3.c: New file.
2009 * dlfcn/tststatic3.c: New file.
2010 * dlfcn/tststatic4.c: New file.
2011 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2012 (tests-static): Likewise.
2013 (modules-names): Add modstatic3.
2014 (tststatic3-ENV, tststatic4-ENV): New variables.
2015 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2016 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2018 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2020 * configure.in (CC): Require GCC version 4.4 or later.
2021 * configure: Regenerated.
2022 * manual/install.texi (Tools for Compilation): Update GCC version
2024 * INSTALL: Regenerated.
2026 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2029 * string/test-memcmp.c (check2): New.
2030 (main): Call check2.
2032 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2034 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2037 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2039 (dl_open_worker) [!SHARED]: ... here.
2041 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2043 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2045 2013-06-25 Richard Henderson <rth@redhat.com>
2047 * locale/programs/locarchive.c: Include <libc-internal.h>
2049 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2051 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2052 trailing whitespace removed.
2054 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2057 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2058 * locale/programs/locarchive.c: Include libc-mmap.h.
2059 (prepare_address_space): Take two new outputs (the mmap base and len).
2060 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2062 (create_archive): Declare new mmap base and len values for
2063 prepare_address_space, and store the result in ah.
2064 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2065 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2066 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2067 Declare new mmap base and len values for
2068 prepare_address_space, and store the result in new_ah.
2069 (open_archive): Declare new mmap base and len values for
2070 prepare_address_space, and store the result in ah.
2071 (close_archive): If ah->mmap_base is not NULL, use that and
2072 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2073 * sysdeps/generic/libc-mmap.h: New file.
2075 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2077 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2078 (ALIGN_UP): Likewise.
2079 (PTR_ALIGN_DOWN): Likewise.
2080 (PTR_ALIGN_UP): Likewise.
2082 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2084 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2085 entry mapped to PPC_PLATFORM_POWER8.
2086 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2088 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2089 (_dl_string_platform): Add case for exporting platform position for
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2092 search path to sysdeps/powerpc/powerpc32/power8 directory.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2094 search path to sysdeps/powerpc/powerpc64/power8 directory.
2095 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2097 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2100 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2102 * INSTALL: Regenerate.
2104 * nscd/connections.c (nscd_init): Fix comment.
2106 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2108 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2111 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2112 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2114 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2116 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2118 (DL_DST_REQ_STATIC): Remove macro.
2120 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2123 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2124 with a shift of 0 bits.
2126 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2128 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2131 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2134 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2136 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2139 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2140 accepts -fno-tree-loop-distribute-patterns.
2141 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2142 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2144 * string/memset.c (memset): Likewise.
2145 * string/test-memmove.c (simple_memmove): Disable loop transformation
2147 * string/test-memset.c (simple_memset): Likewise.
2148 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2149 * benchtests/bench-memset.c (simple_memset): Likewise.
2150 * configure: Regenerated.
2152 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2154 * math/test-misc.c (main): Ignore fesetround failure when failures
2155 of subsequent rounding tests would be ignored.
2158 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2159 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2160 * math/fegetenv.c (__fegetenv): Return 0.
2161 * math/fegetexcept.c (fegetexcept): Return 0.
2162 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2164 * math/feholdexcpt.c (feholdexcept): Return 0.
2165 * math/fesetenv.c (__fesetenv): Return 0.
2166 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2167 argument FE_TONEAREST.
2168 * math/feupdateenv.c (__feupdateenv): Return 0.
2169 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2171 2013-06-18 Roland McGrath <roland@hack.frob.com>
2173 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2174 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2175 ($(objpfx)rtld-%.os rules): Use them.
2177 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2179 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2182 2013-06-17 Roland McGrath <roland@hack.frob.com>
2184 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2185 length of target pattern, then descending length of dependency pattern.
2186 * configure.in (AWK): Require gawk 3.1.2 or newer.
2187 * manual/install.texi (Tools for Compilation): Say that we do.
2188 * configure: Regenerated.
2190 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2191 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2192 * scripts/sysd-rules.awk: ... this new script.
2193 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2194 than a glob-style pattern.
2196 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2198 * math/test-misc.c (main): Do not treat incorrectly rounded
2199 conversions as failure unless ROUNDING_TESTS passes.
2201 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2204 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2205 restore exception state around main square root computation, then
2206 check for inexactness explicitly.
2208 * math/libm-test.inc (fma_test_data): Add another test.
2210 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2212 * manual/threads.texi (Non-POSIX Extensions): New document
2213 node. Document pthread_getattr_default_np and
2214 pthread_setattr_default_np.
2216 * Versions.def (libpthread): Add GLIBC_2.18.
2217 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2226 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2237 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2240 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2242 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2243 H.J. Lu <hjl.tools@gmail.com>
2246 * sysdeps/x86_64/rtld-memset.c: Remove file.
2247 * sysdeps/x86_64/rtld-memset.S: New file.
2249 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2251 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2252 (test_in_one_mode): Take arguments for whether the rounding mode
2253 is supported for each floating-point type.
2254 (do_test): Pass new arguments to test_in_one_mode using
2257 2013-06-13 Roland McGrath <roland@hack.frob.com>
2259 * posix/tst-waitid.c (do_test): Distinguish different instances of
2260 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2261 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2262 before entering the kernel for waitpid.
2264 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2266 * NEWS: Fix note on clock function precision. Text by Roland
2269 2013-06-13 Roland McGrath <roland@hack.frob.com>
2271 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2272 it into place only when and if the sanity check passes.
2274 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2276 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2277 output for whether conversion result is exact. Take argument
2278 indicating whether type is IBM long double.
2279 (round_for_all): Change need_exact field to ibm_ld.
2280 * stdlib/tst-strtod-round.c (struct exactness): New type.
2281 (struct test): Change bool ld_ok field to struct exactness exact.
2282 (TEST): Update all definitions for change to field.
2283 (tests): Regenerate array contents.
2284 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2285 field value. Check for IBM long double here.
2286 (do_test): Update calls to test_in_one_mode.
2288 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2291 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2292 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2294 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2298 generated by the compiler on loop optimizations.
2299 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2300 general definitions.
2302 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2304 * math/bug-nextafter.c: Include <math-tests.h>.
2305 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2307 * math/bug-nexttoward.c: Include <math-tests.h>.
2308 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2310 * math/test-misc.c: Include <math-tests.h>.
2311 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2314 2013-06-12 Andreas Jaeger <aj@suse.de>
2316 * po/ia.po: Update Interlingua translation from translation
2319 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2321 * include/fenv.h: Include stdbool.h.
2322 (struct rm_ctx): New structure.
2323 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2325 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2326 (SET_RESTORE_ROUNDF): Likewise.
2327 (SET_RESTORE_ROUNDL): Likewise.
2328 (SET_RESTORE_ROUND_NOEX): Likewise.
2329 (SET_RESTORE_ROUND_NOEXF): Likewise.
2330 (SET_RESTORE_ROUND_NOEXL): Likewise.
2331 (SET_RESTORE_ROUND_53BIT): Likewise.
2332 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2333 (libc_feresetround_noexf_ctx): Likewise.
2334 (libc_feresetround_noexl_ctx): Likewise.
2335 (libc_feholdsetround_53bit_ctx): Likewise.
2336 (libc_feresetround_53bit_ctx): Likewise.
2337 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2338 (libc_feholdexcept_setround_sse_ctx): New function.
2339 (libc_fesetenv_sse_ctx): Likewise.
2340 (libc_feupdateenv_sse_ctx): Likewise.
2341 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2342 (libc_feholdexcept_setround_387_ctx): Likewise.
2343 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2344 (libc_feholdsetround_387_prec_ctx): Likewise.
2345 (libc_feholdsetround_387_ctx): Likewise.
2346 (libc_feholdsetround_387_53bit_ctx): Likewise.
2347 (libc_feholdsetround_sse_ctx): Likewise.
2348 (libc_feresetround_sse_ctx): Likewise.
2349 (libc_feresetround_387_ctx): Likewise.
2350 (libc_feupdateenv_387_ctx): Likewise.
2351 (libc_feholdexcept_setroundf_ctx): Define macro.
2352 (libc_fesetenvf_ctx): Likewise.
2353 (libc_feupdateenvf_ctx): Likewise.
2354 (libc_feholdsetroundf_ctx): Likewise.
2355 (libc_feresetroundf_ctx): Likewise.
2356 (libc_feholdexcept_setround_ctx): Likewise.
2357 (libc_fesetenv_ctx): Likewise.
2358 (libc_feupdateenv_ctx): Likewise.
2359 (libc_feholdsetround_ctx): Likewise.
2360 (libc_feresetround_ctx): Likewise.
2361 (libc_feholdexcept_setroundl_ctx): Likewise.
2362 (libc_feupdateenvl_ctx): Likewise.
2363 (libc_feholdsetroundl_ctx): Likewise.
2364 (libc_feresetroundl_ctx): Likewise.
2365 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2366 (libc_feresetround_53bit_ctx): Likewise.
2368 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2370 * locale/iso-639.def: Convert to UTF-8.
2372 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2374 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2375 (EXCEPTION_TESTS_double): Likewise.
2376 (EXCEPTION_TESTS_long_double): Likewise.
2377 (EXCEPTION_TESTS): Likewise.
2378 * math/libm-test.inc (test_exceptions): Only test exceptions if
2379 EXCEPTION_TESTS (FLOAT).
2381 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2383 * benchtests/Makefile (string-bench): Add strcpy_chk and
2385 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2386 * benchtests/bench-stpcpy_chk.c: New file.
2387 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2388 * benchtests/bench-strcpy_chk.c: New file.
2389 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2391 (do_test): Likewise.
2393 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2395 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2396 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2397 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2398 with tabs where appropriate.
2399 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2401 [PPC_PLATFORM_PPC440]: Likewise.
2402 [PPC_PLATFORM_PPC464]: Likewise.
2403 [PPC_PLATFORM_PPC476]: Likewise.
2404 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2405 ppc464, and ppc476 platform strings merging from ports/
2408 2013-06-11 Andreas Schwab <schwab@suse.de>
2411 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2412 (from_ucs4_idx): Regenerate.
2413 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2414 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2415 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2416 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2417 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2418 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2419 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2420 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2421 from FROM_LOOP and TO_LOOP specific macros.
2422 (BODY): Handle combining characters.
2423 * iconvdata/BIG5HKSCS.irreversible: Update.
2424 * iconvdata/BIG5HKSCS.precomposed: New file.
2425 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2427 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2429 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2431 * include/sys/time.h: Fix indentation and add copyright header.
2433 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2434 (do_test): Likewise.
2435 * string/test-memchr.c (do_one_test): Likewise.
2436 (do_test): Likewise.
2437 * string/test-memcmp.c (do_one_test): Likewise.
2438 (do_test): Likewise.
2439 * string/test-memcpy.c (do_one_test): Likewise.
2440 (do_test): Likewise.
2441 * string/test-memmem.c (do_one_test): Likewise.
2442 (do_test): Likewise.
2443 (do_random_tests): Likewise.
2444 * string/test-memmove.c (do_one_test): Likewise.
2445 (do_test): Likewise.
2446 * string/test-memset.c (do_one_test): Likewise.
2447 (do_test): Likewise.
2448 * string/test-rawmemchr.c (do_one_test): Likewise.
2449 (do_test): Likewise.
2450 * string/test-strcasecmp.c (do_one_test): Likewise.
2451 (do_test): Likewise.
2452 * string/test-strcasestr.c (do_one_test): Likewise.
2453 (do_test): Likewise.
2454 * string/test-strcat.c (do_one_test): Likewise.
2455 (do_test): Likewise.
2456 * string/test-strchr.c (do_one_test): Likewise.
2457 (do_test): Likewise.
2458 * string/test-strcmp.c (do_one_test): Likewise.
2459 (do_test): Likewise.
2460 * string/test-strcpy.c (do_one_test): Likewise.
2461 (do_test): Likewise.
2462 * string/test-string.h: Likewise.
2463 (test_init): Likewise.
2464 * string/test-strlen.c (do_one_test): Likewise.
2465 (do_test): Likewise.
2466 * string/test-strncasecmp.c (do_one_test): Likewise.
2467 (do_test): Likewise.
2468 * string/test-strncat.c (do_one_test): Likewise.
2469 (do_test): Likewise.
2470 * string/test-strncmp.c (do_one_test): Likewise.
2471 (do_test_limit): Likewise.
2472 (do_test): Likewise.
2473 * string/test-strncpy.c (do_one_test): Likewise.
2474 (do_test): Likewise.
2475 * string/test-strnlen.c (do_one_test): Likewise.
2476 (do_test): Likewise.
2477 * string/test-strpbrk.c (do_one_test): Likewise.
2478 (do_test): Likewise.
2479 * string/test-strrchr.c (do_one_test): Likewise.
2480 (do_test): Likewise.
2481 * string/test-strspn.c (do_one_test): Likewise.
2482 (do_test): Likewise.
2483 * string/test-strstr.c (do_one_test): Likewise.
2484 (do_test): Likewise.
2486 * benchtests/Makefile (string-bench): Add string benchmarks.
2487 * benchtests/bench-bcopy-ifunc.c: New file.
2488 * benchtests/bench-bcopy.c: New file.
2489 * benchtests/bench-bzero-ifunc.c: New file.
2490 * benchtests/bench-bzero.c: New file.
2491 * benchtests/bench-memccpy-ifunc.c: New file.
2492 * benchtests/bench-memccpy.c: New file.
2493 * benchtests/bench-memchr-ifunc.c: New file.
2494 * benchtests/bench-memchr.c: New file.
2495 * benchtests/bench-memcmp-ifunc.c: New file.
2496 * benchtests/bench-memcmp.c: New file.
2497 * benchtests/bench-memmem-ifunc.c: New file.
2498 * benchtests/bench-memmem.c: New file.
2499 * benchtests/bench-memmove-ifunc.c: New file.
2500 * benchtests/bench-memmove.c: New file.
2501 * benchtests/bench-mempcpy-ifunc.c: New file.
2502 * benchtests/bench-mempcpy.c: New file.
2503 * benchtests/bench-memset-ifunc.c: New file.
2504 * benchtests/bench-memset.c: New file.
2505 * benchtests/bench-rawmemchr-ifunc.c: New file.
2506 * benchtests/bench-rawmemchr.c: New file.
2507 * benchtests/bench-stpcpy-ifunc.c: New file.
2508 * benchtests/bench-stpcpy.c: New file.
2509 * benchtests/bench-stpncpy-ifunc.c: New file.
2510 * benchtests/bench-stpncpy.c: New file.
2511 * benchtests/bench-strcasecmp-ifunc.c: New file.
2512 * benchtests/bench-strcasecmp.c: New file.
2513 * benchtests/bench-strcasestr-ifunc.c: New file.
2514 * benchtests/bench-strcasestr.c: New file.
2515 * benchtests/bench-strcat-ifunc.c: New file.
2516 * benchtests/bench-strcat.c: New file.
2517 * benchtests/bench-strchr-ifunc.c: New file.
2518 * benchtests/bench-strchr.c: New file.
2519 * benchtests/bench-strchrnul-ifunc.c: New file.
2520 * benchtests/bench-strchrnul.c: New file.
2521 * benchtests/bench-strcmp-ifunc.c: New file.
2522 * benchtests/bench-strcmp.c: New file.
2523 * benchtests/bench-strcpy-ifunc.c: New file.
2524 * benchtests/bench-strcpy.c: New file.
2525 * benchtests/bench-strcspn-ifunc.c: New file.
2526 * benchtests/bench-strcspn.c: New file.
2527 * benchtests/bench-strlen-ifunc.c: New file.
2528 * benchtests/bench-strlen.c: New file.
2529 * benchtests/bench-strncasecmp-ifunc.c: New file.
2530 * benchtests/bench-strncasecmp.c: New file.
2531 * benchtests/bench-strncat-ifunc.c: New file.
2532 * benchtests/bench-strncat.c: New file.
2533 * benchtests/bench-strncmp-ifunc.c: New file.
2534 * benchtests/bench-strncmp.c: New file.
2535 * benchtests/bench-strncpy-ifunc.c: New file.
2536 * benchtests/bench-strncpy.c: New file.
2537 * benchtests/bench-strnlen-ifunc.c: New file.
2538 * benchtests/bench-strnlen.c: New file.
2539 * benchtests/bench-strpbrk-ifunc.c: New file.
2540 * benchtests/bench-strpbrk.c: New file.
2541 * benchtests/bench-strrchr-ifunc.c: New file.
2542 * benchtests/bench-strrchr.c: New file.
2543 * benchtests/bench-strspn-ifunc.c: New file.
2544 * benchtests/bench-strspn.c: New file.
2545 * benchtests/bench-strstr-ifunc.c: New file.
2546 * benchtests/bench-strstr.c: New file.
2548 * benchtests/Makefile: Disable parallel execution of targets.
2549 (string-bench): Add memcpy.
2550 (benchset): New variable to store a list of benchmark sets.
2551 (bench-func): Renamed from bench.
2552 (bench-set): New target.
2553 (bench): Depend on bench-func and bench-set.
2554 * benchtests/README: Add section on benchmark sets.
2555 * benchtests/bench-memcpy-ifunc.c: New file.
2556 * benchtests/bench-memcpy.c: New file.
2557 * benchtests/bench-string.h: New file.
2559 2013-06-11 Andreas Schwab <schwab@suse.de>
2562 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2563 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2564 values in the triple.
2565 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2566 terminator in the group key.
2568 2013-06-11 Andreas Jaeger <aj@suse.de>
2570 * po/zh_TW.po: Update Chinese (traditional) translation from
2571 translation project.
2573 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2575 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2576 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2577 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2579 (clock_getcpuclockid): Likewise.
2580 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2581 Add weak_alias and libc_hidden_def.
2582 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2583 * rt/clock_gettime.c (clock_gettime): Rename to
2584 __clock_gettime. Add weak_alias and libc_hidden_def.
2585 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2586 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2587 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2588 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2589 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2591 * rt/clock_settime.c (clock_settime): Rename to
2592 __clock_settime. Add weak_alias and libc_hidden_def.
2593 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2595 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2597 * mach/err_boot.sub: Remove trailing whitespace.
2598 * mach/err_ipc.sub: Likewise.
2599 * mach/err_mach.sub: Likewise.
2601 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2602 (ROUNDING_TESTS_double): Likewise.
2603 (ROUNDING_TESTS_long_double): Likewise.
2604 (ROUNDING_TESTS): Likewise.
2605 * math/libm-test.inc: Include <math-tests.h>.
2606 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2607 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2608 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2609 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2611 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2616 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2618 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2619 otherwise empty TRANS lines.
2620 * sysdeps/gnu/errlist.c: Regenerated.
2622 * catgets/gencat.c (error_print): Use (void) in function
2624 * crypt/crypt_util.c (__init_des): Likewise.
2625 * crypt/speeds.c (Stop): Likewise.
2627 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2628 * inet/ruserpass.c (token): Likewise.
2629 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2630 * intl/localealias.c (extend_alias_table): Likewise.
2631 * intl/plural-exp.c (init_germanic_plural): Likewise.
2632 * libio/fcloseall.c (__fcloseall): Likewise.
2633 * libio/genops.c (_IO_flush_all): Likewise.
2634 (_IO_flush_all_linebuffered): Likewise.
2635 (_IO_cleanup): Likewise.
2636 (_IO_iter_begin): Likewise.
2637 (_IO_iter_end): Likewise.
2638 (_IO_list_lock): Likewise.
2639 (_IO_list_unlock): Likewise.
2640 (_IO_list_resetlock): Likewise.
2641 * libio/getchar.c (getchar): Likewise.
2642 * libio/getchar_u.c (getchar_unlocked): Likewise.
2643 * libio/getwchar.c (getwchar): Likewise.
2644 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2645 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2646 * login/getpt.c (__getpt): Likewise.
2647 * login/tst-utmp.c (main): Likewise.
2648 * malloc/hooks.c (__malloc_check_init): Likewise.
2649 * malloc/malloc.c (__malloc_stats): Likewise.
2650 * malloc/mtrace.c (tr_break): Likewise.
2652 (muntrace): Likewise.
2653 * misc/fstab.c (endfsent): Likewise.
2654 * misc/getclktck.c (__getclktck): Likewise.
2655 * misc/getdtsz.c (__getdtablesize): Likewise.
2656 * misc/gethostid.c (gethostid): Likewise.
2657 * misc/getpagesize.c (__getpagesize): Likewise.
2658 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2659 (__get_nprocs): Likewise.
2660 (__get_phys_pages): Likewise.
2661 (__get_avphys_pages): Likewise.
2662 * misc/getttyent.c (getttyent): Likewise.
2663 (setttyent): Likewise.
2664 (endttyent): Likewise.
2665 * misc/getusershell.c (getusershell): Likewise.
2666 (endusershell): Likewise.
2667 (setusershell): Likewise.
2668 (initshells): Likewise.
2669 * misc/hsearch.c (__hdestroy): Likewise.
2670 * misc/sync.c (sync): Likewise.
2671 * misc/syslog.c (closelog_internal): Likewise.
2672 (closelog): Likewise.
2673 * misc/ttyslot.c (ttyslot): Likewise.
2674 * misc/vhangup.c (vhangup): Likewise.
2675 * posix/fork.c (__fork): Likewise.
2676 * posix/getegid.c (__getegid): Likewise.
2677 * posix/geteuid.c (__geteuid): Likewise.
2678 * posix/getgid.c (__getgid): Likewise.
2679 * posix/getpid.c (__getpid): Likewise.
2680 * posix/getppid.c (__getppid): Likewise.
2681 * posix/getuid.c (__getuid): Likewise.
2682 * posix/pause.c (pause): Likewise.
2683 * posix/setpgrp.c (setpgrp): Likewise.
2684 * posix/setsid.c (__setsid): Likewise.
2685 * posix/test-vfork.c (noop): Likewise.
2686 * resolv/gethnamaddr.c (_endhtent): Likewise.
2687 (_gethtent): Likewise.
2688 (ht_endhostent): Likewise.
2689 (gethostent): Likewise.
2690 (dns_service): Likewise.
2691 * stdlib/drand48.c (drand48): Likewise.
2692 * stdlib/lrand48.c (lrand48): Likewise.
2693 * stdlib/mrand48.c (mrand48): Likewise.
2694 * stdlib/rand.c (rand): Likewise.
2695 * stdlib/random.c (__random): Likewise.
2696 * stdlib/setenv.c (clearenv): Likewise.
2697 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2698 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2699 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2700 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2701 (__get_nprocs): Likewise.
2702 (__get_phys_pages): Likewise.
2703 (__get_avphys_pages): Likewise.
2704 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2705 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2706 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2707 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2708 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2709 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2710 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2711 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2712 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2713 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2714 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2715 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2716 * sysdeps/posix/clock.c (clock): Likewise.
2717 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2718 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2719 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2720 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2721 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2723 (__get_nprocs_conf): Likewise.
2724 (__get_phys_pages): Likewise.
2725 (__get_avphys_pages): Likewise.
2726 * time/clock.c (clock): Likewise.
2727 * time/tzset.c (__tzname_max): Likewise.
2729 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2731 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2732 (__bswap_32): Do not use "register".
2733 * crypt/crypt.c (_ufc_doit_r): Likewise.
2734 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2735 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2736 * gmon/gmon.c (__monstartup): Likewise.
2737 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2738 * hurd/hurdmalloc.c (more_memory): Likewise.
2741 (realloc): Likewise.
2742 (malloc_fork_prepare): Likewise.
2743 (malloc_fork_parent): Likewise.
2744 (malloc_fork_child): Likewise.
2745 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2746 (_svcauth_des): Likewise.
2747 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2748 * inet/inet_net.c (inet_network): Likewise.
2749 * inet/inet_netof.c (inet_netof): Likewise.
2750 * inet/rcmd.c (__validuser2_sa): Likewise.
2751 * io/fts.c (fts_open): Likewise.
2752 (fts_load): Likewise.
2753 (fts_close): Likewise.
2754 (fts_read): Likewise.
2755 (fts_children): Likewise.
2756 (fts_build): Likewise.
2757 (fts_stat): Likewise.
2758 (fts_sort): Likewise.
2759 (fts_alloc): Likewise.
2760 (fts_lfree): Likewise.
2761 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2762 (_IO_file_xsgetn): Likewise.
2763 (_IO_file_xsgetn_mmap): Likewise.
2764 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2765 (_IO_cookie_write): Likewise.
2766 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2767 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2768 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2769 * malloc/obstack.c (_obstack_begin): Likewise.
2770 (_obstack_begin_1): Likewise.
2771 (_obstack_newchunk): Likewise.
2772 (_obstack_allocated_p): Likewise.
2773 (obstack_free): Likewise.
2774 (_obstack_memory_used): Likewise.
2775 * misc/getttyent.c (getttynam): Likewise.
2776 (getttyent): Likewise.
2779 * misc/getusershell.c (initshells): Likewise.
2780 * misc/syslog.c (__vsyslog_chk): Likewise.
2781 * misc/ttyslot.c (ttyslot): Likewise.
2782 * nis/nis_hash.c (__nis_hash): Likewise.
2783 * posix/fnmatch_loop.c (FCT): Likewise.
2784 * posix/getconf.c (print_all): Likewise.
2786 * posix/getopt.c (exchange): Likewise.
2787 * posix/glob.c (globfree): Likewise.
2788 (prefix_array): Likewise.
2789 (__glob_pattern_type): Likewise.
2790 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2791 (NS_GET32): Likewise.
2792 (NS_PUT16): Likewise.
2793 (NS_PUT32): Likewise.
2794 * resolv/gethnamaddr.c (getanswer): Likewise.
2795 (gethostbyname2): Likewise.
2796 (gethostbyaddr): Likewise.
2797 (_gethtent): Likewise.
2798 (_gethtbyname2): Likewise.
2799 (_gethtbyaddr): Likewise.
2800 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2801 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2802 * resolv/res_init.c (__res_vinit): Likewise.
2803 (net_mask): Likewise.
2804 * resolv/res_mkquery.c (outchar): Likewise.
2806 * stdio-common/printf_fp.c (outchar): Likewise.
2808 * stdio-common/printf_fphex.c (outchar): Likewise.
2810 * stdio-common/printf_size.c (outchar): Likewise.
2812 * stdio-common/test_rdwr.c (main): Likewise.
2813 * stdio-common/tfformat.c (matches): Likewise.
2814 * stdio-common/vfprintf.c (outchar): Likewise.
2815 (printf_unknown): Likewise.
2816 (buffered_vfprintf): Likewise.
2817 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2818 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2819 (ReadFile): Likewise.
2820 * stdlib/qsort.c (SWAP): Likewise.
2821 (_quicksort): Likewise.
2822 * stdlib/setenv.c (__add_to_environ): Likewise.
2823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2824 * stdlib/strtol_l.c (__strtol_l): Likewise.
2825 * stdlib/tst-strtod.c (main): Likewise.
2826 * stdlib/tst-strtol.c (main): Likewise.
2827 * stdlib/tst-strtoll.c (main): Likewise.
2828 * string/bits/string2.h (__strcmp_cc): Likewise.
2829 (__strcmp_cg): Likewise.
2830 (__strcspn_c1): Likewise.
2831 (__strcspn_c2): Likewise.
2832 (__strcspn_c3): Likewise.
2833 (__strspn_c1): Likewise.
2834 (__strspn_c2): Likewise.
2835 (__strspn_c3): Likewise.
2836 (__strsep_1c): Likewise.
2837 (__strsep_2c): Likewise.
2838 (__strsep_3c): Likewise.
2839 * string/memccpy.c (__memccpy): Likewise.
2840 * string/stpcpy.c (__stpcpy): Likewise.
2841 * string/strcmp.c (strcmp): Likewise.
2842 * string/strrchr.c (strrchr): Likewise.
2843 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2845 * sysdeps/mach/hurd/getcwd.c
2846 (_hurd_canonicalize_directory_name_internal): Likewise.
2847 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2848 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2849 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2850 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2851 Likewise, in both definitions.
2852 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2854 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2855 64] (__bswap_64): Likewise.
2856 * time/test_time.c (main): Likewise.
2857 * time/tzfile.c (__tzfile_read): Likewise.
2858 (__tzfile_compute): Likewise.
2859 * time/tzset.c (__tzset_parse_tz): Likewise.
2860 (tzset_internal): Likewise.
2861 (compute_change): Likewise.
2862 * wcsmbs/wcscat.c (__wcscat): Likewise.
2863 * wcsmbs/wcschr.c (wcschr): Likewise.
2864 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2865 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2866 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2867 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2868 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2869 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2870 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2871 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2872 * wcsmbs/wmemset.c (wmemset): Likewise.
2874 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2876 * scripts/config.guess: Update to version 2013-05-16.
2877 * scripts/config.sub: Update to version 2013-04-24.
2878 * scripts/install-sh: Update to version 2011-11-20.07.
2879 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2880 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2882 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2884 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2885 * elf/sln.c: Likewise.
2886 * hurd/hurd/ioctl.h: Likewise.
2887 * hurd/hurdmalloc.c: Likewise.
2888 * hurd/xattr.c: Likewise.
2889 * include/shlib-compat.h: Likewise.
2890 * inet/ruserpass.c: Likewise.
2891 * libio/iofgets_u.c: Likewise.
2892 * libio/iofgetws_u.c: Likewise.
2893 * locale/programs/ld-identification.c: Likewise.
2894 * locale/programs/ld-time.c: Likewise.
2895 * mach/msg-destroy.c: Likewise.
2896 * nss/nss_files/files-netgrp.c: Likewise.
2897 * resolv/res_data.c: Likewise.
2898 * soft-fp/op-1.h: Likewise.
2899 * soft-fp/op-2.h: Likewise.
2900 * soft-fp/op-4.h: Likewise.
2901 * soft-fp/op-common.h: Likewise.
2902 * stdio-common/printf_fphex.c: Likewise.
2903 * stdlib/strtod_l.c: Likewise.
2904 * sunrpc/rpc/clnt.h: Likewise.
2905 * sysdeps/generic/framestate.c: Likewise.
2906 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2907 * sysdeps/i386/bsd-setjmp.S: Likewise.
2908 * sysdeps/i386/__longjmp.S: Likewise.
2909 * sysdeps/i386/setjmp.S: Likewise.
2910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2911 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2928 * sysdeps/ieee754/support.c: Likewise.
2929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2930 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2931 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2932 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2933 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2934 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2935 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2936 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2937 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2938 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2939 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2940 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2941 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2942 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2943 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2944 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2945 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2948 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2950 * posix/transbug.c: Remove executable mode.
2952 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2954 * crypt/speeds.c: Remove trailing whitespace.
2955 * dlfcn/default.c: Likewise.
2956 * elf/ifuncdep2.c: Likewise.
2957 * elf/ifuncmain1.c: Likewise.
2958 * elf/ifuncmain1vis.c: Likewise.
2959 * elf/testobj.h: Likewise.
2960 * elf/tst-stackguard1.c: Likewise.
2961 * gmon/sys/gmon.h: Likewise.
2962 * hurd/hurdmsg.c: Likewise.
2963 * hurd/new-fd.c: Likewise.
2964 * hurd/ports-get.c: Likewise.
2965 * iconvdata/ibm1008_420.c: Likewise.
2966 * inet/tst-getni1.c: Likewise.
2967 * inet/tst-getni2.c: Likewise.
2968 * libio/ioungetc.c: Likewise.
2969 * libio/wfiledoalloc.c: Likewise.
2970 * manual/libm-err-tab.pl: Likewise.
2971 * math/w_dremf.c: Likewise.
2972 * misc/ftruncate.c: Likewise.
2973 * posix/bug-glob2.c: Likewise.
2974 * posix/tst-pcre.c: Likewise.
2975 * posix/wait4.c: Likewise.
2976 * resolv/README: Likewise.
2977 * resolv/res_debug.h: Likewise.
2978 * resolv/tst-inet_ntop.c: Likewise.
2979 * setjmp/bug269-setjmp.c: Likewise.
2980 * soft-fp/extended.h: Likewise.
2981 * soft-fp/op-1.h: Likewise.
2982 * soft-fp/op-2.h: Likewise.
2983 * soft-fp/op-4.h: Likewise.
2984 * soft-fp/op-8.h: Likewise.
2985 * soft-fp/testit.c: Likewise.
2986 * stdio-common/bug16.c: Likewise.
2987 * stdlib/random.c: Likewise.
2988 * sunrpc/rpcsvc/rquota.x: Likewise.
2989 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2990 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2991 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2992 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2993 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2994 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2995 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2998 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2999 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3000 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3001 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3002 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3003 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3004 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3005 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3007 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3008 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3011 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3015 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3017 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3018 * sysdeps/ieee754/s_lib_version.c: Likewise.
3019 * sysdeps/mach/hurd/check_fds.c: Likewise.
3020 * sysdeps/mach/hurd/getsockname.c: Likewise.
3021 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3022 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3023 * sysdeps/powerpc/bits/link.h: Likewise.
3024 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3025 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3026 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3027 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3028 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3029 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3030 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3032 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3033 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3034 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3035 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3036 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3037 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3038 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3039 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3042 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3044 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3045 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3047 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3048 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3056 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3057 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3058 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3059 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3060 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3061 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3063 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3066 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3068 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3069 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3070 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3071 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3076 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3079 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3080 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3081 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3084 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3085 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3086 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3087 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3088 * sysdeps/powerpc/sysdep.h: Likewise.
3089 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3090 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3091 * sysdeps/sh/dl-trampoline.S: Likewise.
3092 * sysdeps/sh/memset.S: Likewise.
3093 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3094 * sysdeps/sh/strlen.S: Likewise.
3095 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3096 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3097 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3098 * sysdeps/sparc/sparc32/rem.S: Likewise.
3099 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3100 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3101 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3102 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3103 * sysdeps/sparc/sparc32/urem.S: Likewise.
3104 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3105 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3106 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3107 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3109 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3110 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3111 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3112 * sysdeps/unix/bsd/times.c: Likewise.
3113 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3114 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3119 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3120 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3122 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3124 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3126 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3127 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3129 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3130 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3131 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3132 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3133 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3134 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3135 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3136 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3137 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3138 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3139 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3141 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3142 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3143 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3144 * sysdeps/x86_64/strcspn.S: Likewise.
3146 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3148 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3149 generated file. Regenerate properly from gen-translit.pl.
3150 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3151 locale/C-translit.h.
3153 2013-06-05 Andreas Schwab <schwab@suse.de>
3156 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3157 week as 6 instead of -1.
3158 * time/tst-strptime.c (day_tests): Add test case.
3160 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3162 * sysdeps/generic/math_private.h
3163 (libc_feholdexcept_setround_53bit): Replace with
3164 libc_feholdsetround_53bit.
3165 (libc_feupdateenv_53bit): Replace with
3166 libc_feresetround_53bit.
3167 (SET_RESTORE_ROUND_53BIT): Adjust.
3169 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3171 * string/test-strchrnul.c: Add copyright header.
3173 * posix/tst-getaddrinfo4.c: Increase test timeout.
3175 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3178 * math/libm-test.inc (MAX_EXP): Remove
3180 (ulp): Use MIN_EXP - MANT_DIG.
3181 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3183 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3185 * po/be.po: Revert last change.
3186 * po/zh_CN.po: Likewise.
3187 * po/header.pot: Likewise.
3189 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3191 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3192 link-libc-deps to empty as target-specific variable.
3193 * Makerules (link-libc-args): New variable.
3194 (libc-for-link): Likewise.
3195 (link-libc-deps): Likewise.
3196 (lib%.so): Depend on $(link-libc-deps). Link with
3198 (build-module): Link with $(link-libc-args).
3199 (build-module-asneeded): Likewise.
3200 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3202 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3203 target-specific variable.
3204 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3205 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3206 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3208 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3210 ($(objpfx)libpcprofile.so): Likewise.
3211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3213 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3214 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3215 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3217 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3218 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3219 * login/Makefile ($(objpfx)libutil.so): Likewise.
3220 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3221 * math/Makefile ($(objpfx)libm.so): Likewise.
3222 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3223 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3224 variable instead of depending directly on libc.
3225 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3226 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3228 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3230 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3231 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3232 ($(objpfx)libanl.so): Likewise.
3233 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3235 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3237 * sysdeps/i386/fpu/Makefile: Remove file.
3238 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3239 ($(objpfx)libm.so): Remove dependency on ld.so.
3241 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3244 * nis/yp_xdr.c (XDRMAXNAME): Define.
3245 (XDRMAXRECORD): Define.
3246 (xdr_domainname): Use XDRMAXNAME.
3247 (xdr_mapname): Likewise.
3248 (xdr_peername): Likewise.
3249 (xdr_keydat): Use XDRMAXRECORD.
3250 (xdr_valdat): Likewise.
3252 2013-05-30 Jeff Law <law@redhat.com>
3255 * manual/errno.texi (ESTALE): Update to account for more than
3256 just NFS file systems.
3257 * sysdeps/gnu/errlist.c: Regenerated.
3259 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3262 * elf/Makefile (tests): Add tst-null-argv.
3263 (modules-names): Add tst-null-argv-lib.
3264 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3265 (tst-null-argv-ENV): Set environment for tst-null-argv.
3266 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3267 (RTLD_PROGNAME): New macro.
3268 * elf/tst-null-argv.c: New test case.
3269 * elf/tst-null-argv-lib.c: Library for test case.
3270 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3271 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3272 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3273 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3274 * elf/dl-init.c (call_init): Likewise.
3275 (_dl_init): Likewise.
3276 * elf/dl-load.c (print_search_path): Likewise.
3277 (_dl_map_object): Likewise.
3278 * elf/dl-lookup.c (do_lookup_x): Likewise.
3279 (add_dependency): Likewise.
3280 (_dl_lookup_symbol_x): Likewise.
3281 (_dl_debug_bindings): Likewise.
3282 * elf/dl-open.c (_dl_show_scope): Likewise.
3283 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3284 * elf/dl-version.c (match_symbol): Likewise.
3285 (_dl_check_map_versions): Likewise.
3286 * elf/rtld.c (dl_main): Likewise.
3287 (print_unresolved): Use RTLD_PROGNAME.
3288 (print_missing_version): Likewise.
3289 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3290 (elf_machine_rela): Likewise.
3291 * sysdeps/powerpc/powerpc32/dl-machine.c
3292 (__process_machine_rela): Likewise.
3293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3295 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3297 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3299 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3306 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3308 * po/be.po: Add descriptive title.
3309 * po/zh_CN.po: Likewise.
3310 * po/header.pot: Likewise.
3312 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3314 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3316 (enlarge_archive): Likewise.
3318 2013-05-28 Ben North <ben@redfrontdoor.org>
3320 * manual/arith.texi (frexp): It is the magnitude of the return
3321 value which lies in [0.5, 1), not the return value itself.
3323 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3327 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3329 * stdio-common/bug26.c (main): Correct fscanf template.
3331 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3332 declare _dl_skip_args.
3334 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3337 * manual/platform.texi: Add missing @end deftypefun.
3339 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3342 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3343 bit of mantissa of 2^16382.
3344 * math/libm-test.inc (hypot_test_data): Add more tests.
3346 * math/libm-test.inc: Add drem and pow10 to list of tested
3348 (pow10_test): New function.
3349 (drem_test): Likewise.
3350 (drem_test_tonearest): Likewise.
3351 (drem_test_towardzero): Likewise.
3352 (drem_test_downward): Likewise.
3353 (drem_test_upward): Likewise.
3354 (main): Call the new functions.
3356 * math/libm-test.inc (finite_test_data): Remove.
3357 (finite_test): Run tests from isfinite_test_data.
3358 (gamma_test_data): Remove.
3359 (gamma_test): Run tests from lgamma_test_data.
3360 * sysdeps/i386/fpu/libm-test-ulps: Update.
3361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3363 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3365 * manual/platform.texi: Add PowerPC PPR function set documentation.
3366 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3369 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3371 * math/libm-test.inc (MAX_EXP): Define.
3373 (ulp): New function.
3374 (check_float_internal): Use ULPDIFF.
3375 (cpow_test): Disable failing test.
3376 (check_ulp): Test ulp() implemetnation.
3377 (main): Call check_ulp before starting tests.
3379 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3381 * math/gen-libm-test.pl (generate_testfile): Do not handle
3382 START_DATA and END_DATA.
3383 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3385 (acos_tonearest_test_data): Likewise.
3386 (acos_towardzero_test_data): Likewise.
3387 (acos_downward_test_data): Likewise.
3388 (acos_upward_test_data): Likewise.
3389 (acosh_test_data): Likewise.
3390 (asin_test_data): Likewise.
3391 (asin_tonearest_test_data): Likewise.
3392 (asin_towardzero_test_data): Likewise.
3393 (asin_downward_test_data): Likewise.
3394 (asin_upward_test_data): Likewise.
3395 (asinh_test_data): Likewise.
3396 (atan_test_data): Likewise.
3397 (atanh_test_data): Likewise.
3398 (atan2_test_data): Likewise.
3399 (cabs_test_data): Likewise.
3400 (cacos_test_data): Likewise.
3401 (cacosh_test_data): Likewise.
3402 (carg_test_data): Likewise.
3403 (casin_test_data): Likewise.
3404 (casinh_test_data): Likewise.
3405 (catan_test_data): Likewise.
3406 (catanh_test_data): Likewise.
3407 (cbrt_test_data): Likewise.
3408 (ccos_test_data): Likewise.
3409 (ccosh_test_data): Likewise.
3410 (ceil_test_data): Likewise.
3411 (cexp_test_data): Likewise.
3412 (cimag_test_data): Likewise.
3413 (clog_test_data): Likewise.
3414 (clog10_test_data): Likewise.
3415 (conj_test_data): Likewise.
3416 (copysign_test_data): Likewise.
3417 (cos_test_data): Likewise.
3418 (cos_tonearest_test_data): Likewise.
3419 (cos_towardzero_test_data): Likewise.
3420 (cos_downward_test_data): Likewise.
3421 (cos_upward_test_data): Likewise.
3422 (cosh_test_data): Likewise.
3423 (cosh_tonearest_test_data): Likewise.
3424 (cosh_towardzero_test_data): Likewise.
3425 (cosh_downward_test_data): Likewise.
3426 (cosh_upward_test_data): Likewise.
3427 (cpow_test_data): Likewise.
3428 (cproj_test_data): Likewise.
3429 (creal_test_data): Likewise.
3430 (csin_test_data): Likewise.
3431 (csinh_test_data): Likewise.
3432 (csqrt_test_data): Likewise.
3433 (ctan_test_data): Likewise.
3434 (ctan_tonearest_test_data): Likewise.
3435 (ctan_towardzero_test_data): Likewise.
3436 (ctan_downward_test_data): Likewise.
3437 (ctan_upward_test_data): Likewise.
3438 (ctanh_test_data): Likewise.
3439 (ctanh_tonearest_test_data): Likewise.
3440 (ctanh_towardzero_test_data): Likewise.
3441 (ctanh_downward_test_data): Likewise.
3442 (ctanh_upward_test_data): Likewise.
3443 (erf_test_data): Likewise.
3444 (erfc_test_data): Likewise.
3445 (exp_test_data): Likewise.
3446 (exp_tonearest_test_data): Likewise.
3447 (exp_towardzero_test_data): Likewise.
3448 (exp_downward_test_data): Likewise.
3449 (exp_upward_test_data): Likewise.
3450 (exp10_test_data): Likewise.
3451 (exp2_test_data): Likewise.
3452 (expm1_test_data): Likewise.
3453 (fabs_test_data): Likewise.
3454 (fdim_test_data): Likewise.
3455 (finite_test_data): Likewise.
3456 (floor_test_data): Likewise.
3457 (fma_test_data): Likewise.
3458 (fma_towardzero_test_data): Likewise.
3459 (fma_downward_test_data): Likewise.
3460 (fma_upward_test_data): Likewise.
3461 (fmax_test_data): Likewise.
3462 (fmin_test_data): Likewise.
3463 (fmod_test_data): Likewise.
3464 (fpclassify_test_data): Likewise.
3465 (frexp_test_data): Likewise.
3466 (gamma_test_data): Likewise.
3467 (hypot_test_data): Likewise.
3468 (ilogb_test_data): Likewise.
3469 (isfinite_test_data): Likewise.
3470 (isgreater_test_data): Likewise.
3471 (isgreaterequal_test_data): Likewise.
3472 (isinf_test_data): Likewise.
3473 (isless_test_data): Likewise.
3474 (islessequal_test_data): Likewise.
3475 (islessgreater_test_data): Likewise.
3476 (isnan_test_data): Likewise.
3477 (isnormal_test_data): Likewise.
3478 (issignaling_test_data): Likewise.
3479 (isunordered_test_data): Likewise.
3480 (j0_test_data): Likewise.
3481 (j1_test_data): Likewise.
3482 (jn_test_data): Likewise.
3483 (ldexp_test_data): Likewise.
3484 (lgamma_test_data): Likewise.
3485 (lrint_test_data): Likewise.
3486 (lrint_tonearest_test_data): Likewise.
3487 (lrint_towardzero_test_data): Likewise.
3488 (lrint_downward_test_data): Likewise.
3489 (lrint_upward_test_data): Likewise.
3490 (llrint_test_data): Likewise.
3491 (llrint_tonearest_test_data): Likewise.
3492 (llrint_towardzero_test_data): Likewise.
3493 (llrint_downward_test_data): Likewise.
3494 (llrint_upward_test_data): Likewise.
3495 (log_test_data): Likewise.
3496 (log10_test_data): Likewise.
3497 (log1p_test_data): Likewise.
3498 (log2_test_data): Likewise.
3499 (logb_test_data): Likewise.
3500 (logb_downward_test_data): Likewise.
3501 (lround_test_data): Likewise.
3502 (llround_test_data): Likewise.
3503 (modf_test_data): Likewise.
3504 (nearbyint_test_data): Likewise.
3505 (nextafter_test_data): Likewise.
3506 (nexttoward_test_data): Likewise.
3507 (pow_test_data): Likewise.
3508 (pow_tonearest_test_data): Likewise.
3509 (pow_towardzero_test_data): Likewise.
3510 (pow_downward_test_data): Likewise.
3511 (pow_upward_test_data): Likewise.
3512 (remainder_test_data): Likewise.
3513 (remainder_tonearest_test_data): Likewise.
3514 (remainder_towardzero_test_data): Likewise.
3515 (remainder_downward_test_data): Likewise.
3516 (remainder_upward_test_data): Likewise.
3517 (remquo_test_data): Likewise.
3518 (rint_test_data): Likewise.
3519 (rint_tonearest_test_data): Likewise.
3520 (rint_towardzero_test_data): Likewise.
3521 (rint_downward_test_data): Likewise.
3522 (rint_upward_test_data): Likewise.
3523 (round_test_data): Likewise.
3524 (scalb_test_data): Likewise.
3525 (scalbn_test_data): Likewise.
3526 (scalbln_test_data): Likewise.
3527 (signbit_test_data): Likewise.
3528 (sin_test_data): Likewise.
3529 (sin_tonearest_test_data): Likewise.
3530 (sin_towardzero_test_data): Likewise.
3531 (sin_downward_test_data): Likewise.
3532 (sin_upward_test_data): Likewise.
3533 (sincos_test_data): Likewise.
3534 (sinh_test_data): Likewise.
3535 (sinh_tonearest_test_data): Likewise.
3536 (sinh_towardzero_test_data): Likewise.
3537 (sinh_downward_test_data): Likewise.
3538 (sinh_upward_test_data): Likewise.
3539 (sqrt_test_data): Likewise.
3540 (tan_test_data): Likewise.
3541 (tan_tonearest_test_data): Likewise.
3542 (tan_towardzero_test_data): Likewise.
3543 (tan_downward_test_data): Likewise.
3544 (tan_upward_test_data): Likewise.
3545 (tanh_test_data): Likewise.
3546 (tgamma_test_data): Likewise.
3547 (trunc_test_data): Likewise.
3548 (y0_test_data): Likewise.
3549 (y1_test_data): Likewise.
3550 (yn_test_data): Likewise.
3551 (significand_test_data): Likewise.
3553 * math/gen-libm-test.pl (@functions): Remove variable.
3554 (generate_testfile): Don't handle START and END lines.
3555 * math/libm-test.inc (START): New macro.
3557 (END_COMPLEX): Likewise.
3558 (acos_test): Use END macro without arguments.
3559 (acos_test_tonearest): Likewise.
3560 (acos_test_towardzero): Likewise.
3561 (acos_test_downward): Likewise.
3562 (acos_test_upward): Likewise.
3563 (acosh_test): Likewise.
3564 (asin_test): Likewise.
3565 (asin_test_tonearest): Likewise.
3566 (asin_test_towardzero): Likewise.
3567 (asin_test_downward): Likewise.
3568 (asin_test_upward): Likewise.
3569 (asinh_test): Likewise.
3570 (atan_test): Likewise.
3571 (atanh_test): Likewise.
3572 (atan2_test): Likewise.
3573 (cabs_test): Likewise.
3574 (cacos_test): Use END_COMPLEX macro without arguments.
3575 (cacosh_test): Likewise.
3576 (carg_test): Use END macro without arguments.
3577 (casin_test): Use END_COMPLEX macro without arguments.
3578 (casinh_test): Likewise.
3579 (catan_test): Likewise.
3580 (catanh_test): Likewise.
3581 (cbrt_test): Use END macro without arguments.
3582 (ccos_test): Use END_COMPLEX macro without arguments.
3583 (ccosh_test): Likewise.
3584 (ceil_test): Use END macro without arguments.
3585 (cexp_test): Use END_COMPLEX macro without arguments.
3586 (cimag_test): Use END macro without arguments.
3587 (clog_test): Use END_COMPLEX macro without arguments.
3588 (clog10_test): Likewise.
3589 (conj_test): Likewise.
3590 (copysign_test): Use END macro without arguments.
3591 (cos_test): Likewise.
3592 (cos_test_tonearest): Likewise.
3593 (cos_test_towardzero): Likewise.
3594 (cos_test_downward): Likewise.
3595 (cos_test_upward): Likewise.
3596 (cosh_test): Likewise.
3597 (cosh_test_tonearest): Likewise.
3598 (cosh_test_towardzero): Likewise.
3599 (cosh_test_downward): Likewise.
3600 (cosh_test_upward): Likewise.
3601 (cpow_test): Use END_COMPLEX macro without arguments.
3602 (cproj_test): Likewise.
3603 (creal_test): Use END macro without arguments.
3604 (csin_test): Use END_COMPLEX macro without arguments.
3605 (csinh_test): Likewise.
3606 (csqrt_test): Likewise.
3607 (ctan_test): Likewise.
3608 (ctan_test_tonearest): Likewise.
3609 (ctan_test_towardzero): Likewise.
3610 (ctan_test_downward): Likewise.
3611 (ctan_test_upward): Likewise.
3612 (ctanh_test): Likewise.
3613 (ctanh_test_tonearest): Likewise.
3614 (ctanh_test_towardzero): Likewise.
3615 (ctanh_test_downward): Likewise.
3616 (ctanh_test_upward): Likewise.
3617 (erf_test): Use END macro without arguments.
3618 (erfc_test): Likewise.
3619 (exp_test): Likewise.
3620 (exp_test_tonearest): Likewise.
3621 (exp_test_towardzero): Likewise.
3622 (exp_test_downward): Likewise.
3623 (exp_test_upward): Likewise.
3624 (exp10_test): Likewise.
3625 (exp2_test): Likewise.
3626 (expm1_test): Likewise.
3627 (fabs_test): Likewise.
3628 (fdim_test): Likewise.
3629 (finite_test): Likewise.
3630 (floor_test): Likewise.
3631 (fma_test): Likewise.
3632 (fma_test_towardzero): Likewise.
3633 (fma_test_downward): Likewise.
3634 (fma_test_upward): Likewise.
3635 (fmax_test): Likewise.
3636 (fmin_test): Likewise.
3637 (fmod_test): Likewise.
3638 (fpclassify_test): Likewise.
3639 (frexp_test): Likewise.
3640 (gamma_test): Likewise.
3641 (hypot_test): Likewise.
3642 (ilogb_test): Likewise.
3643 (isfinite_test): Likewise.
3644 (isgreater_test): Likewise.
3645 (isgreaterequal_test): Likewise.
3646 (isinf_test): Likewise.
3647 (isless_test): Likewise.
3648 (islessequal_test): Likewise.
3649 (islessgreater_test): Likewise.
3650 (isnan_test): Likewise.
3651 (isnormal_test): Likewise.
3652 (issignaling_test): Likewise.
3653 (isunordered_test): Likewise.
3654 (j0_test): Likewise.
3655 (j1_test): Likewise.
3656 (jn_test): Likewise.
3657 (ldexp_test): Likewise.
3658 (lgamma_test): Likewise.
3659 (lrint_test): Likewise.
3660 (lrint_test_tonearest): Likewise.
3661 (lrint_test_towardzero): Likewise.
3662 (lrint_test_downward): Likewise.
3663 (lrint_test_upward): Likewise.
3664 (llrint_test): Likewise.
3665 (llrint_test_tonearest): Likewise.
3666 (llrint_test_towardzero): Likewise.
3667 (llrint_test_downward): Likewise.
3668 (llrint_test_upward): Likewise.
3669 (log_test): Likewise.
3670 (log10_test): Likewise.
3671 (log1p_test): Likewise.
3672 (log2_test): Likewise.
3673 (logb_test): Likewise.
3674 (logb_test_downward): Likewise.
3675 (lround_test): Likewise.
3676 (llround_test): Likewise.
3677 (modf_test): Likewise.
3678 (nearbyint_test): Likewise.
3679 (nextafter_test): Likewise.
3680 (nexttoward_test): Likewise.
3681 (pow_test): Likewise.
3682 (pow_test_tonearest): Likewise.
3683 (pow_test_towardzero): Likewise.
3684 (pow_test_downward): Likewise.
3685 (pow_test_upward): Likewise.
3686 (remainder_test): Likewise.
3687 (remainder_test_tonearest): Likewise.
3688 (remainder_test_towardzero): Likewise.
3689 (remainder_test_downward): Likewise.
3690 (remainder_test_upward): Likewise.
3691 (remquo_test): Likewise.
3692 (rint_test): Likewise.
3693 (rint_test_tonearest): Likewise.
3694 (rint_test_towardzero): Likewise.
3695 (rint_test_downward): Likewise.
3696 (rint_test_upward): Likewise.
3697 (round_test): Likewise.
3698 (scalb_test): Likewise.
3699 (scalbn_test): Likewise.
3700 (scalbln_test): Likewise.
3701 (signbit_test): Likewise.
3702 (sin_test): Likewise.
3703 (sin_test_tonearest): Likewise.
3704 (sin_test_towardzero): Likewise.
3705 (sin_test_downward): Likewise.
3706 (sin_test_upward): Likewise.
3707 (sincos_test): Likewise.
3708 (sinh_test): Likewise.
3709 (sinh_test_tonearest): Likewise.
3710 (sinh_test_towardzero): Likewise.
3711 (sinh_test_downward): Likewise.
3712 (sinh_test_upward): Likewise.
3713 (sqrt_test): Likewise.
3714 (tan_test): Likewise.
3715 (tan_test_tonearest): Likewise.
3716 (tan_test_towardzero): Likewise.
3717 (tan_test_downward): Likewise.
3718 (tan_test_upward): Likewise.
3719 (tanh_test): Likewise.
3720 (tgamma_test): Likewise.
3721 (trunc_test): Likewise.
3722 (y0_test): Likewise.
3723 (y1_test): Likewise.
3724 (yn_test): Likewise.
3725 (significand_test): Likewise.
3727 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3730 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3732 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3735 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3736 __ppc_mdoio and __ppc_mdoom.
3737 * manual/platform.texi: Document new functions __ppc_yield,
3738 __ppc_mdoio and __ppc_mdoom.
3740 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3742 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3743 (main): Mention "tls" pseudo-hwcap is legacy.
3744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3746 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3748 * math/gen-libm-test.pl (parse_args): Output only string of
3749 arguments as text for test name, not full call or descriptions of
3750 tests for extra outputs.
3751 (generate_testfile): Do not pass function name to parse_args.
3752 Generate this_func variable from START.
3753 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3755 (struct test_ff_f_data): Likewise.
3756 (test_ff_f_data_nexttoward): Likewise.
3757 (struct test_fi_f_data): Likewise.
3758 (struct test_fl_f_data): Likewise.
3759 (struct test_if_f_data): Likewise.
3760 (struct test_fff_f_data): Likewise.
3761 (struct test_c_f_data): Likewise.
3762 (struct test_f_f1_data): Likewise. Remove field extra_name.
3763 (struct test_fF_f1_data): Likewise.
3764 (struct test_ffI_f1_data): Likewise.
3765 (struct test_c_c_data): Rename test_name field to arg_str.
3766 (struct test_cc_c_data): Likewise.
3767 (struct test_f_i_data): Likewise.
3768 (struct test_ff_i_data): Likewise.
3769 (struct test_f_l_data): Likewise.
3770 (struct test_f_L_data): Likewise.
3771 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3773 (COMMON_TEST_SETUP): New macro.
3774 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3775 (COMMON_TEST_CLEANUP): Likewise.
3776 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3777 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3779 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3780 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3782 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3783 (RUN_TEST_fff_f): Take argument string. Call new setup and
3785 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3786 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3788 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3789 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3791 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3792 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3794 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3795 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3797 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3798 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3800 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3801 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3803 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3804 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3806 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3807 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3809 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3810 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3812 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3813 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3815 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3816 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3818 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3819 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3821 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3822 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3824 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3825 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3827 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3828 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3830 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3832 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3834 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3835 to _sifields.sigfault.
3836 (si_addr_lsb): Define new macro.
3837 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3838 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3839 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3841 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3844 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3846 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3848 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3851 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3853 * math/gen-libm-test.pl (parse_args): Do not include expected
3854 result in test name.
3855 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3858 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3859 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3862 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3864 * benchtests/Makefile: Sort function entries.
3866 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3867 tanh, asinh, acosh, atanh.
3868 * benchtests/acos-inputs: New file.
3869 * benchtests/acosh-inputs: New file.
3870 * benchtests/asin-inputs: New file.
3871 * benchtests/asinh-inputs: New file.
3872 * benchtests/atanh-inputs: New file.
3873 * benchtests/cosh-inputs: New file.
3874 * benchtests/log-inputs: New file.
3875 * benchtests/sinh-inputs: New file.
3876 * benchtests/tanh-inputs: New file.
3878 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3881 * posix/tst-getaddrinfo4.c: New test.
3882 * posix/Makefile (tests): Add it.
3884 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3887 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3888 when no services were used.
3889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3890 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3892 2013-05-21 Andreas Schwab <schwab@suse.de>
3895 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3896 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3898 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3899 redundant variable declarations and reallocation of buffer when
3900 parsing as IPv6 address. Always set NSS status when called from
3901 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3902 buffer too small. Correct computation of needed size.
3903 * nss/Makefile (tests): Add test-digits-dots.
3904 * nss/test-digits-dots.c: New test.
3906 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3908 * benchtests/Makefile: Remove instructions for adding
3910 * benchtests/README: New file to explain how to execute and
3911 enhance the benchmark tests.
3913 2013-05-21 Andreas Schwab <schwab@suse.de>
3916 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3917 * setjmp/tst-sigsetjmp.c: New test.
3919 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3921 * sysdeps/x86_64/memset.S (memset): New implementation.
3922 (__bzero): Likewise.
3923 (__memset_tail): New function.
3925 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3927 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3928 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3929 __memcpy_sse2_unaligned ifunc selection.
3930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3931 Add memcpy-sse2-unaligned.S.
3932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3933 Add: __memcpy_sse2_unaligned.
3935 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3939 math_force_eval before restoring floating-point envrionment.
3940 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3943 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3945 (__nearbyintl): Use math_force_eval before restoring
3946 floating-point environment.
3947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3949 * math/gen-libm-test.pl (special_functions): Remove.
3950 (parse_args): Don't handle TEST_extra. Handle functions with no
3952 * math/libm-test.inc (struct test_sincos_data): Replace with
3953 struct test_fFF_11_data.
3954 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3955 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3956 (sincos_test_data): Change element type to struct
3957 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3958 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3959 RUN_TEST_LOOP_sincos.
3960 * math/README.libm-test: Don't mention special handling of
3961 individual functions.
3962 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3964 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3965 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3966 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3969 * math/gen-libm-test.pl (get_variable): Remove function.
3970 (parse_args): Don't show pointer parameters to call in test
3971 names. Use "extra output N" in test names for extra outputs
3972 rather than naming variables.
3974 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3977 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3978 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3979 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3981 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3983 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3986 * math/gen-libm-test.pl (@tests): Remove variable.
3988 (new_test): Remove function.
3989 (show_exceptions): New function.
3990 (special_functions): Use show_exceptions instead of new_test.
3991 (parse_args): Likewise.
3992 (generate_testfile): Pass only function name in generated call to
3993 print_max_error or print_complex_max_error.
3994 (get_ulps): Do not handle complex tests specially.
3995 (output_test): Rename to ...
3996 (get_all_ulps_for_test): ... this. Return a string rather than
3997 printing to a file. Require ulps to be present.
3998 (output_ulps): Generate arrays rather than #defines.
3999 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4000 (struct ulp_data): New type.
4001 (BUILD_COMPLEX_ULP): Remove macro.
4002 (compare_ulp_data): New function.
4003 (find_ulps): Likewise.
4004 (find_test_ulps): Likewise.
4005 (find_function_ulps): Likewise.
4006 (find_complex_function_ulps): Likewise.
4007 (print_max_error): Determine allowed ulps using
4009 (print_complex_max_error): Determine allowed ulps using
4010 find_complex_function_ulps.
4011 (check_float_internal): Determine max ulps using find_test_ulps.
4012 (check_float): Do not take max_ulp parameter. Update call to
4013 check_float_internal.
4014 (check_complex): Likewise.
4015 (check_int): Do not take max_ulp parameter.
4016 (check_long): Likewise.
4017 (check_bool): Likewise.
4018 (check_longlong): Likewise.
4019 (struct test_f_f_data): Remove max_ulp field.
4020 (struct test_ff_f_data): Likewise.
4021 (struct test_ff_f_data_nexttoward): Likewise.
4022 (struct test_fi_f_data): Likewise.
4023 (struct test_fl_f_data): Likewise.
4024 (struct test_if_f_data): Likewise.
4025 (struct test_fff_f_data): Likewise.
4026 (struct test_c_f_data): Likewise.
4027 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4028 (struct test_fF_f1_data): Likewise.
4029 (struct test_ffI_f1_data): Likewise.
4030 (struct test_c_c_data): Remove max_ulp field.
4031 (struct test_cc_c_data): Likewise.
4032 (struct test_f_i_data): Likewise.
4033 (struct test_ff_i_data): Likewise.
4034 (struct test_f_l_data): Likewise.
4035 (struct test_f_L_data): Likewise.
4036 (struct test_sincos_data): Likewise.
4037 (RUN_TEST_f_f): Do not handle ulps.
4038 (RUN_TEST_LOOP_f_f): Likewise.
4039 (RUN_TEST_2_f): Likewise.
4040 (RUN_TEST_LOOP_2_f): Likewise.
4041 (RUN_TEST_fff_f): Likewise.
4042 (RUN_TEST_LOOP_fff_f): Likewise.
4043 (RUN_TEST_c_f): Likewise.
4044 (RUN_TEST_LOOP_c_f): Likewise.
4045 (RUN_TEST_f_f1): Likewise.
4046 (RUN_TEST_LOOP_f_f1): Likewise.
4047 (RUN_TEST_fF_f1): Likewise.
4048 (RUN_TEST_LOOP_fF_f1): Likewise.
4049 (RUN_TEST_fI_f1): Likewise.
4050 (RUN_TEST_LOOP_fI_f1): Likewise.
4051 (RUN_TEST_ffI_f1): Likewise.
4052 (RUN_TEST_LOOP_ffI_f1): Likewise.
4053 (RUN_TEST_c_c): Likewise.
4054 (RUN_TEST_LOOP_c_c): Likewise.
4055 (RUN_TEST_cc_c): Likewise.
4056 (RUN_TEST_LOOP_cc_c): Likewise.
4057 (RUN_TEST_f_i): Likewise.
4058 (RUN_TEST_LOOP_f_i): Likewise.
4059 (RUN_TEST_f_i_tg): Likewise.
4060 (RUN_TEST_LOOP_f_i_tg): Likewise.
4061 (RUN_TEST_ff_i_tg): Likewise.
4062 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4063 (RUN_TEST_f_b): Likewise.
4064 (RUN_TEST_LOOP_f_b): Likewise.
4065 (RUN_TEST_f_b_tg): Likewise.
4066 (RUN_TEST_LOOP_f_b_tg): Likewise.
4067 (RUN_TEST_f_l): Likewise.
4068 (RUN_TEST_LOOP_f_l): Likewise.
4069 (RUN_TEST_f_L): Likewise.
4070 (RUN_TEST_LOOP_f_L): Likewise.
4071 (RUN_TEST_sincos): Likewise.
4072 (RUN_TEST_LOOP_sincos): Likewise.
4074 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4079 main case of finite arguments, set rounding mode to FE_TONEAREST
4080 and discard exceptions.
4081 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4083 (remainder_tonearest_test_data): New variable.
4084 (remainder_test_tonearest): New function.
4085 (remainder_towardzero_test_data): New variable.
4086 (remainder_test_towardzero): New function.
4087 (remainder_downward_test_data): New variable.
4088 (remainder_test_downward): New function.
4089 (remainder_upward_test_data): New variable.
4090 (remainder_test_upward): New function.
4091 (main): Call the new test functions.
4093 * math/libm-test.inc (struct test_f_f1_data): Remove field
4095 (struct test_fF_f1_data): Likewise.
4096 (struct test_ffI_f1_data): Likewise.
4097 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4098 based on value of EXTRA_EXPECTED.
4099 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4100 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4101 EXTRA_VAR based on value of EXTRA_EXPECTED.
4102 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4103 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4104 EXTRA_VAR based on value of EXTRA_EXPECTED.
4105 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4106 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4107 EXTRA_VAR based on value of EXTRA_EXPECTED.
4108 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4109 * math/gen-libm-test.pl (parse_args): Don't output initializers
4110 for extra output values.
4112 * math/libm-test.inc (check_int): Expect result to be exactly
4113 equal to expected value and do not handle ulps.
4114 (check_long): Likewise.
4115 (check_longlong): Likewise.
4117 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4119 (cimag_test_data): Likewise.
4120 (conj_test_data): Likewise.
4121 (copysign_test_data): Likewise.
4122 (cproj_test_data): Likewise.
4123 (creal_test_data): Likewise.
4124 (fabs_test_data): Likewise.
4125 (fdim_test_data): Likewise.
4126 (finite_test_data): Likewise.
4127 (floor_test_data): Likewise.
4128 (fmax_test_data): Likewise.
4129 (fmin_test_data): Likewise.
4130 (fmod_test_data): Likewise.
4131 (fpclassify_test_data): Likewise.
4132 (frexp_test_data): Likewise.
4133 (ilogb_test_data): Likewise.
4134 (isfinite_test_data): Likewise.
4135 (isgreater_test_data): Likewise.
4136 (isgreaterequal_test_data): Likewise.
4137 (isinf_test_data): Likewise.
4138 (isless_test_data): Likewise.
4139 (islessequal_test_data): Likewise.
4140 (islessgreater_test_data): Likewise.
4141 (isnan_test_data): Likewise.
4142 (isnormal_test_data): Likewise.
4143 (issignaling_test_data): Likewise.
4144 (isunordered_test_data): Likewise.
4145 (ldexp_test_data): Likewise.
4146 (lrint_test_data): Likewise.
4147 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4148 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4149 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4150 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4151 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4152 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4154 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4155 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4156 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4157 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4159 (lrint_downward_test_data): Test for "inexact" exceptions.
4160 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4161 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4162 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4164 (lrint_upward_test_data): Test for "inexact" exceptions.
4165 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4167 (llrint_test_data): Test for "inexact" exceptions.
4168 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4169 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4170 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4171 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4172 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4173 (llrint_downward_test_data): Test for "inexact" exceptions.
4174 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4175 (llrint_upward_test_data): Test for "inexact" exceptions.
4176 (logb_test_data): Likewise.
4177 (logb_downward_test_data): Likewise.
4178 (nextafter_test_data): Likewise.
4179 (nexttoward_test_data): Likewise.
4180 (remainder_test_data): Likewise.
4181 (remquo_test_data): Likewise.
4182 (scalbn_test_data): Likewise.
4183 (scalbln_test_data): Likewise.
4184 (signbit_test_data): Likewise.
4185 (sqrt_test_data): Likewise.
4186 (significand_test_data): Likewise.
4188 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4191 * benchtests/bench-modf.c (struct args): Mark arg0 as
4193 * scripts/bench.pl: Mark members of struct args as volatile.
4195 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4199 negative infinity on POWER6 or lower.
4200 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4202 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4205 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4206 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4207 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4208 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4209 (_FP_SETQNAN): New macro.
4210 (_FP_SETQNAN_SEMIRAW): Likewise.
4211 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4212 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4213 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4214 (FP_EXTEND): Use _FP_FRAC_SNANP.
4215 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4216 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4223 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4225 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4226 with DIVIDE_BY_ZERO_EXCEPTION.
4227 (gamma_test_data): Likewise.
4228 (lgamma_test_data): Likewise.
4229 (log_test_data): Likewise.
4230 (log10_test_data): Likewise.
4231 (log2_test_data): Likewise.
4232 (tgamma_test_data): Likewise.
4234 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4235 (acos_test_tonearest): Likewise.
4236 (acos_test_towardzero): Likewise.
4237 (acos_test_downward): Likewise.
4238 (acos_test_upward): Likewise.
4239 (acosh_test): Likewise.
4240 (asin_test): Likewise.
4241 (asin_test_tonearest): Likewise.
4242 (asin_test_towardzero): Likewise.
4243 (asin_test_downward): Likewise.
4244 (asin_test_upward): Likewise.
4245 (asinh_test): Likewise.
4246 (atan_test): Likewise.
4247 (atanh_test): Likewise.
4248 (atan2_test): Likewise.
4249 (cabs_test): Likewise.
4250 (cacos_test): Likewise.
4251 (cacosh_test): Likewise.
4252 (casin_test): Likewise.
4253 (casinh_test): Likewise.
4254 (catan_test): Likewise.
4255 (catanh_test): Likewise.
4256 (cbrt_test): Likewise.
4257 (ccos_test): Likewise.
4258 (ccosh_test): Likewise.
4259 (cexp_test): Likewise.
4260 (clog_test): Likewise.
4261 (clog10_test): Likewise.
4262 (cos_test): Likewise.
4263 (cos_test_tonearest): Likewise.
4264 (cos_test_towardzero): Likewise.
4265 (cos_test_downward): Likewise.
4266 (cos_test_upward): Likewise.
4267 (cosh_test): Likewise.
4268 (cosh_test_tonearest): Likewise.
4269 (cosh_test_towardzero): Likewise.
4270 (cosh_test_downward): Likewise.
4271 (cosh_test_upward): Likewise.
4272 (cpow_test): Likewise.
4273 (csin_test): Likewise.
4274 (csinh_test): Likewise.
4275 (csqrt_test): Likewise.
4276 (ctan_test): Likewise.
4277 (ctan_test_tonearest): Likewise.
4278 (ctan_test_towardzero): Likewise.
4279 (ctan_test_downward): Likewise.
4280 (ctan_test_upward): Likewise.
4281 (ctanh_test): Likewise.
4282 (ctanh_test_tonearest): Likewise.
4283 (ctanh_test_towardzero): Likewise.
4284 (ctanh_test_downward): Likewise.
4285 (ctanh_test_upward): Likewise.
4286 (erf_test): Likewise.
4287 (erfc_test): Likewise.
4288 (exp_test): Likewise.
4289 (exp_test_tonearest): Likewise.
4290 (exp_test_towardzero): Likewise.
4291 (exp_test_downward): Likewise.
4292 (exp_test_upward): Likewise.
4293 (exp10_test): Likewise.
4294 (exp2_test): Likewise.
4295 (expm1_test): Likewise.
4296 (fmod_test): Likewise.
4297 (gamma_test): Likewise.
4298 (hypot_test): Likewise.
4299 (j0_test): Likewise.
4300 (j1_test): Likewise.
4301 (jn_test): Likewise.
4302 (lgamma_test): Likewise.
4303 (log_test): Likewise.
4304 (log10_test): Likewise.
4305 (log1p_test): Likewise.
4306 (log2_test): Likewise.
4307 (logb_test_downward): Likewise.
4308 (pow_test): Likewise.
4309 (pow_test_tonearest): Likewise.
4310 (pow_test_towardzero): Likewise.
4311 (pow_test_downward): Likewise.
4312 (pow_test_upward): Likewise.
4313 (remainder_test): Likewise.
4314 (remquo_test): Likewise.
4315 (sin_test): Likewise.
4316 (sin_test_tonearest): Likewise.
4317 (sin_test_towardzero): Likewise.
4318 (sin_test_downward): Likewise.
4319 (sin_test_upward): Likewise.
4320 (sincos_test): Likewise.
4321 (sinh_test): Likewise.
4322 (sinh_test_tonearest): Likewise.
4323 (sinh_test_towardzero): Likewise.
4324 (sinh_test_downward): Likewise.
4325 (sinh_test_upward): Likewise.
4326 (sqrt_test): Likewise.
4327 (tan_test): Likewise.
4328 (tan_test_tonearest): Likewise.
4329 (tan_test_towardzero): Likewise.
4330 (tan_test_downward): Likewise.
4331 (tan_test_upward): Likewise.
4332 (tanh_test): Likewise.
4333 (tgamma_test): Likewise.
4334 (y0_test): Likewise.
4335 (y1_test): Likewise.
4336 (yn_test): Likewise.
4338 * math/gen-libm-test.pl (adjust_arg): Remove function.
4339 (special_function): Remove argument $in_func. Only handle
4340 generating output for tables of tests, not inside functions.
4341 (parse_args): Likewise.
4342 (generate_testfile): Remove variable $in_func. Update call to
4344 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4345 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4346 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4347 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4348 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4349 (MAX_VALUE_INIT): Rename macro to max_value.
4350 (MIN_VALUE_INIT): Rename macro to min_value.
4351 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4352 (plus_zero): Remove variable.
4353 (minus_zero): Likewise.
4354 (plus_infty): Likewise.
4355 (minus_infty): Likewise.
4356 (qnan_value): Likewise.
4357 (max_value): Likewise.
4358 (min_value): Likewise.
4359 (min_subnorm_value): Likewise.
4361 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4363 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4364 uint64_t or uint32_t usage.
4365 * crypt/sha256-block.c: Likewise.
4366 * crypt/sha256-crypt.c: Likewise.
4367 * crypt/sha256.c: Likewise.
4368 * crypt/sha512-block.c: Likewise.
4369 * crypt/sha512-crypt.c: Likewise.
4370 * crypt/sha512.c: Likewise.
4371 * debug/backtrace-tst.c: Likewise.
4372 * debug/pcprofiledump.c: Likewise.
4373 * elf/cache.c: Likewise.
4374 * elf/dl-cache.c: Likewise.
4375 * elf/dl-misc.c: Likewise.
4376 * elf/dl-profile.c: Likewise.
4377 * elf/dl-support.c: Likewise.
4378 * elf/ldconfig.c: Likewise.
4379 * elf/sprof.c: Likewise.
4380 * iconv/dummy-repertoire.c: Likewise.
4381 * iconv/iconv_charmap.c: Likewise.
4382 * iconv/skeleton.c: Likewise.
4383 * iconvdata/8bit-generic.c: Likewise.
4384 * iconvdata/cp737.h: Likewise.
4385 * iconvdata/cp775.h: Likewise.
4386 * iconvdata/ibm1008.h: Likewise.
4387 * iconvdata/ibm1025.h: Likewise.
4388 * iconvdata/ibm1046.h: Likewise.
4389 * iconvdata/ibm1097.h: Likewise.
4390 * iconvdata/ibm1112.h: Likewise.
4391 * iconvdata/ibm1122.h: Likewise.
4392 * iconvdata/ibm1123.h: Likewise.
4393 * iconvdata/ibm1124.h: Likewise.
4394 * iconvdata/ibm1129.h: Likewise.
4395 * iconvdata/ibm1130.h: Likewise.
4396 * iconvdata/ibm1132.h: Likewise.
4397 * iconvdata/ibm1133.h: Likewise.
4398 * iconvdata/ibm1137.h: Likewise.
4399 * iconvdata/ibm1140.h: Likewise.
4400 * iconvdata/ibm1141.h: Likewise.
4401 * iconvdata/ibm1142.h: Likewise.
4402 * iconvdata/ibm1143.h: Likewise.
4403 * iconvdata/ibm1144.h: Likewise.
4404 * iconvdata/ibm1145.h: Likewise.
4405 * iconvdata/ibm1146.h: Likewise.
4406 * iconvdata/ibm1147.h: Likewise.
4407 * iconvdata/ibm1148.h: Likewise.
4408 * iconvdata/ibm1149.h: Likewise.
4409 * iconvdata/ibm1153.h: Likewise.
4410 * iconvdata/ibm1154.h: Likewise.
4411 * iconvdata/ibm1155.h: Likewise.
4412 * iconvdata/ibm1156.h: Likewise.
4413 * iconvdata/ibm1157.h: Likewise.
4414 * iconvdata/ibm1158.h: Likewise.
4415 * iconvdata/ibm1160.h: Likewise.
4416 * iconvdata/ibm1161.h: Likewise.
4417 * iconvdata/ibm1162.h: Likewise.
4418 * iconvdata/ibm1163.h: Likewise.
4419 * iconvdata/ibm1164.h: Likewise.
4420 * iconvdata/ibm1166.h: Likewise.
4421 * iconvdata/ibm1167.h: Likewise.
4422 * iconvdata/ibm12712.h: Likewise.
4423 * iconvdata/ibm1390.h: Likewise.
4424 * iconvdata/ibm1399.h: Likewise.
4425 * iconvdata/ibm16804.h: Likewise.
4426 * iconvdata/ibm4517.h: Likewise.
4427 * iconvdata/ibm4899.h: Likewise.
4428 * iconvdata/ibm4909.h: Likewise.
4429 * iconvdata/ibm4971.h: Likewise.
4430 * iconvdata/ibm5347.h: Likewise.
4431 * iconvdata/ibm803.h: Likewise.
4432 * iconvdata/ibm856.h: Likewise.
4433 * iconvdata/ibm901.h: Likewise.
4434 * iconvdata/ibm902.h: Likewise.
4435 * iconvdata/ibm9030.h: Likewise.
4436 * iconvdata/ibm9066.h: Likewise.
4437 * iconvdata/ibm921.h: Likewise.
4438 * iconvdata/ibm922.h: Likewise.
4439 * iconvdata/ibm9448.h: Likewise.
4440 * iconvdata/isiri-3342.h: Likewise.
4441 * iconvdata/jis0201.h: Likewise.
4442 * include/link.h: Likewise.
4443 * include/netdb.h: Likewise.
4444 * inet/check_native.c: Likewise.
4445 * inet/check_pf.c: Likewise.
4446 * inet/getipv4sourcefilter.c: Likewise.
4447 * inet/getnameinfo.c: Likewise.
4448 * inet/getsourcefilter.c: Likewise.
4449 * inet/htonl.c: Likewise.
4450 * inet/setipv4sourcefilter.c: Likewise.
4451 * inet/setsourcefilter.c: Likewise.
4452 * inet/test-inet6_opt.c: Likewise.
4453 * inet/tst-network.c: Likewise.
4454 * locale/C-collate.c: Likewise.
4455 * locale/C-ctype.c: Likewise.
4456 * locale/C-time.c: Likewise.
4457 * locale/C-translit.h: Likewise.
4458 * locale/loadarchive.c: Likewise.
4459 * locale/programs/3level.h: Likewise.
4460 * locale/programs/charmap.c: Likewise.
4461 * locale/programs/charmap.h: Likewise.
4462 * locale/programs/ld-address.c: Likewise.
4463 * locale/programs/ld-collate.c: Likewise.
4464 * locale/programs/ld-ctype.c: Likewise.
4465 * locale/programs/ld-identification.c: Likewise.
4466 * locale/programs/ld-measurement.c: Likewise.
4467 * locale/programs/ld-messages.c: Likewise.
4468 * locale/programs/ld-monetary.c: Likewise.
4469 * locale/programs/ld-name.c: Likewise.
4470 * locale/programs/ld-numeric.c: Likewise.
4471 * locale/programs/ld-paper.c: Likewise.
4472 * locale/programs/ld-telephone.c: Likewise.
4473 * locale/programs/ld-time.c: Likewise.
4474 * locale/programs/linereader.c: Likewise.
4475 * locale/programs/locale.c: Likewise.
4476 * locale/programs/locarchive.c: Likewise.
4477 * locale/programs/locfile.h: Likewise.
4478 * locale/programs/repertoire.c: Likewise.
4479 * locale/programs/simple-hash.c: Likewise.
4480 * locale/programs/simple-hash.h: Likewise.
4481 * malloc/memusage.c: Likewise.
4482 * malloc/memusagestat.c: Likewise.
4483 * nis/nis_defaults.c: Likewise.
4484 * nis/nis_hash.c: Likewise.
4485 * nis/nis_print.c: Likewise.
4486 * nis/nis_xdr.c: Likewise.
4487 * nscd/connections.c: Likewise.
4488 * nscd/hstcache.c: Likewise.
4489 * nscd/nscd_gethst_r.c: Likewise.
4490 * nscd/nscd_getserv_r.c: Likewise.
4491 * nscd/nscd_helper.c: Likewise.
4492 * nscd/servicescache.c: Likewise.
4493 * nss/makedb.c: Likewise.
4494 * nss/nss_db/db-XXX.c: Likewise.
4495 * nss/nss_db/db-initgroups.c: Likewise.
4496 * nss/nss_db/db-netgrp.c: Likewise.
4497 * nss/nss_files/files-network.c: Likewise.
4498 * nss/nss_files/files-parse.c: Likewise.
4499 * posix/bug-regex5.c: Likewise.
4500 * posix/fnmatch_loop.c: Likewise.
4501 * posix/regcomp.c: Likewise.
4502 * posix/regexec.c: Likewise.
4503 * posix/tst-rfc3484-2.c: Likewise.
4504 * posix/tst-rfc3484-3.c: Likewise.
4505 * posix/tst-rfc3484.c: Likewise.
4506 * resolv/nss_dns/dns-canon.c: Likewise.
4507 * resolv/nss_dns/dns-network.c: Likewise.
4508 * resolv/res_init.c: Likewise.
4509 * resolv/res_mkquery.c: Likewise.
4510 * resolv/tst-aton.c: Likewise.
4511 * stdlib/cxa_atexit.c: Likewise.
4512 * stdlib/cxa_finalize.c: Likewise.
4513 * stdlib/gen-fpioconst.c: Likewise.
4514 * stdlib/strtol_l.c: Likewise.
4515 * string/tst-endian.c: Likewise.
4516 * sunrpc/auth_des.c: Likewise.
4517 * sunrpc/clnt_udp.c: Likewise.
4518 * sunrpc/rtime.c: Likewise.
4519 * sunrpc/svcauth_des.c: Likewise.
4520 * sunrpc/xdr.c: Likewise.
4521 * sunrpc/xdr_intXX_t.c: Likewise.
4522 * sunrpc/xdr_rec.c: Likewise.
4523 * sysdeps/generic/ldconfig.h: Likewise.
4524 * sysdeps/generic/ldsodefs.h: Likewise.
4525 * sysdeps/generic/memusage.h: Likewise.
4526 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4536 * sysdeps/posix/getaddrinfo.c: Likewise.
4537 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4538 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4539 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4541 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4542 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4543 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4544 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4545 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4546 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4547 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4548 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4549 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4550 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4551 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4552 * sysdeps/x86_64/dl-tls.h: Likewise.
4553 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4554 * time/alt_digit.c: Likewise.
4555 * time/era.c: Likewise.
4556 * wcsmbs/tst-c16c32-1.c: Likewise.
4558 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4560 * math/libm-test.inc (struct test_sincos_data): New type.
4561 (RUN_TEST_LOOP_sincos): New macro.
4562 (sincos_test_data): New variable.
4563 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4565 2013-05-16 Richard Henderson <rth@redhat.com>
4567 * math/atest-exp2.c (LIMB64): New macro.
4568 (CONSTSZ): New macro.
4569 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4571 (print_mpn_fp): ... to function scope.
4572 (read_mpn_hex): Remove.
4574 (exp2_mpn): Use mp_log2.
4575 (main): Use mp_exp1.
4577 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4579 * math/libm-test.inc: Remove comment about not testing "inexact"
4581 (INEXACT_EXCEPTION): New macro.
4582 (NO_INEXACT_EXCEPTION): Likewise.
4583 (INVALID_EXCEPTION_OK): Update value.
4584 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4585 (OVERFLOW_EXCEPTION_OK): Likewise.
4586 (UNDERFLOW_EXCEPTION_OK): Likewise.
4587 (IGNORE_ZERO_INF_SIGN): Likewise.
4588 (ERRNO_UNCHANGED): Likewise.
4589 (ERRNO_EDOM): Likewise.
4590 (ERRNO_ERANGE): Likewise.
4591 (test_exceptions): Handle testing "inexact" exceptions.
4592 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4593 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4594 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4595 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4597 (rint_towardzero_test_data): Likewise.
4598 (rint_downward_test_data): Likewise.
4599 (rint_upward_test_data): Likewise.
4601 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4602 with OVERFLOW_EXCEPTION.
4603 (exp10_test_data): Likewise.
4604 (exp2_test_data): Likewise.
4605 (expm1_test_data): Likewise.
4606 (lgamma_test_data): Likewise.
4607 (pow_test_data): Likewise.
4608 (tgamma_test_data): Likewise.
4609 (yn_test_data): Remove duplicate test of overflow.
4611 * math/libm-test.inc (struct test_cc_c_data): New type.
4612 (RUN_TEST_LOOP_cc_c): New macro.
4613 (cpow_test_data): New variable.
4614 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4616 * math/libm-test.inc (struct test_f_L_data): New type.
4617 (RUN_TEST_LOOP_f_L): New macro.
4618 (llrint_test_data): New variable.
4619 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4620 (llrint_tonearest_test_data): New variable.
4621 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4622 (llrint_towardzero_test_data): New variable.
4623 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4624 (llrint_downward_test_data): New variable.
4625 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4626 (llrint_upward_test_data): New variable.
4627 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4628 (llround_test_data): New variable.
4629 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4631 2013-05-13 Peter Collingbourne <pcc@google.com>
4633 * math/atest-exp2.c (get_log2): Remove const attribute.
4635 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4637 * math/libm-test.inc (struct test_f_l_data): New type.
4638 (RUN_TEST_LOOP_f_l): New macro.
4639 (lrint_test_data): New variable.
4640 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4641 (lrint_tonearest_test_data): New variable.
4642 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4643 (lrint_towardzero_test_data): New variable.
4644 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4645 (lrint_downward_test_data): New variable.
4646 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4647 (lrint_upward_test_data): New variable.
4648 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4649 (lround_test_data): New variable.
4650 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4652 2013-05-15 Peter Collingbourne <pcc@google.com>
4654 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4655 (EXTRACT_WORDS64) Use where appropriate.
4656 (INSERT_WORDS64) Likewise.
4658 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4659 constraints with x constraints.
4660 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4662 * malloc/obstack.c (_obstack_compat): Add initializer.
4664 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4667 si_trapno and add si_addr_lsb to _sifields.sigfault.
4668 (si_trapno): Remove macro.
4669 (si_addr_lsb): Define new macro.
4670 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4672 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4674 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4675 instead of TEST_f_l.
4676 (llrint_test_tonearest): Likewise.
4677 (llrint_test_towardzero): Likewise.
4678 (llrint_test_downward): Likewise.
4679 (llrint_test_upward): Likewise.
4680 (llround_test): Likewise.
4682 * math/libm-test.inc (struct test_f_i_data): Add comment.
4683 (RUN_TEST_LOOP_f_b): New macro.
4684 (RUN_TEST_LOOP_f_b_tg): Likewise.
4685 (finite_test_data): New variable.
4686 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4687 (isfinite_test_data): New variable.
4688 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4689 (isinf_test_data): New variable.
4690 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4691 (isnan_test_data): New variable.
4692 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4693 (isnormal_test_data): New variable.
4694 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4695 (issignaling_test_data): New variable.
4696 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4697 (signbit_test_data): New variable.
4698 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4700 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4701 with INVALID_EXCEPTION.
4702 (acosh_test_data): Likewise.
4703 (asin_test_data): Likewise.
4704 (atanh_test_data): Likewise.
4705 (fmod_test_data): Likewise.
4706 (log_test_data): Likewise.
4707 (log10_test_data): Likewise.
4708 (log2_test_data): Likewise.
4709 (pow_test_data): Likewise.
4710 (sqrt_test_data): Likewise.
4711 (y0_test_data): Likewise.
4712 (y1_test_data): Likewise.
4713 (yn_test_data): Likewise.
4715 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4718 * math/libm-test.inc (struct test_ff_i_data): New type.
4719 (RUN_TEST_LOOP_ff_i_tg): New macro.
4720 (isgreater_test_data): New variable.
4721 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4722 (isgreaterequal_test_data): New variable.
4723 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4724 (isless_test_data): New variable.
4725 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4726 (islessequal_test_data): New variable.
4727 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4728 (islessgreater_test_data): New variable.
4729 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4730 (isunordered_test_data): New variable.
4731 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4733 2013-05-14 David S. Miller <davem@davemloft.net>
4735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4737 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4739 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4741 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4743 (struct test_f_i_data): Change type of max_ulp to int.
4745 * math/libm-test.inc (test_ffI_f1_data): New type.
4746 (RUN_TEST_LOOP_ffI_f1): New macro.
4747 (remquo_test_data): New variable.
4748 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4750 * setjmp/tst-setjmp-fp.c: New file.
4751 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4752 (link-libm): New variable.
4753 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4755 * math/libm-test.inc (struct test_f_i_data): New type.
4756 (RUN_TEST_LOOP_f_i): New macro.
4757 (RUN_TEST_LOOP_f_i_tg): Likewise.
4758 (fpclassify_test_data): New variable.
4759 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4760 (ilogb_test_data): New variable.
4761 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4763 * math/libm-test.inc (scalbln_test): Correct function name in END
4766 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4767 (RUN_TEST_LOOP_fI_f1): New macro.
4768 (frexp_test_data): New variable.
4769 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4771 * math/libm-test.inc (struct test_fF_f1_data): New type.
4772 (RUN_TEST_LOOP_fF_f1): New macro.
4773 (modf_test_data): New variable.
4774 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4776 * math/libm-test.inc (struct test_f_f1_data): New type.
4777 (RUN_TEST_LOOP_f_f1): New macro.
4778 (gamma_test_data): New variable.
4779 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4780 (lgamma_test_data): New variable.
4781 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4783 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4785 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4786 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4787 (main): Comment "tls" pseudo-hwcap.
4789 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4791 * math/libm-test.inc (struct test_fl_f_data): New type.
4792 (RUN_TEST_LOOP_fl_f): New variable.
4793 (scalbln_test_data): New variable.
4794 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4796 * math/libm-test.inc (struct test_fi_f_data): New type.
4797 (RUN_TEST_LOOP_fi_f): New macro.
4798 (ldexp_test_data): New variable.
4799 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4800 (scalbn_test_data): New variable.
4801 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4803 * math/libm-test.inc (struct test_c_f_data): New type.
4804 (RUN_TEST_LOOP_c_f): New macro.
4805 (cabs_test_data): New variable.
4806 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4807 (carg_test_data): New variable.
4808 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4809 (cimag_test_data): New variable.
4810 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4811 (creal_test_data): New variable.
4812 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4814 * math/libm-test.inc (struct test_if_f_data): New type.
4815 (RUN_TEST_LOOP_if_f): New macro.
4816 (jn_test_data): New variable.
4817 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4818 (yn_test_data): New variable.
4819 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4821 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4823 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4825 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4826 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4828 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4830 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4831 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4832 (bench-deps): Add bench-timing.h.
4833 * benchtests-bench-skeleton.c: Include bench-timing.h.
4834 (main): Use TIMING_* macros instead of clock_gettime.
4835 * benchtests/bench-timing.h: New file.
4838 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4839 Renamed from _LIB_VERSION.
4840 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4842 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4844 * math/libm-test.inc (struct test_fff_f_data): New type.
4845 (RUN_TEST_LOOP_fff_f): New macro.
4846 (fma_test_data): New variable.
4847 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4848 (fma_towardzero_test_data): New variable.
4849 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4850 (fma_downward_test_data): New variable.
4851 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4852 (fma_upward_test_data): New variable.
4853 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4855 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4856 (struct test_c_c_data): New type.
4857 (RUN_TEST_LOOP_c_c): New macro.
4858 (cacos_test_data): New variable.
4859 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4860 (cacosh_test_data): New variable.
4861 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4862 (casin_test_data): New variable.
4863 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4864 (casinh_test_data): New variable.
4865 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4866 (catan_test_data): New variable.
4867 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4868 (catanh_test_data): New variable.
4869 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4870 (ccos_test_data): New variable.
4871 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4872 (ccosh_test_data): New variable.
4873 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4874 (cexp_test_data): New variable.
4875 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4876 (clog_test_data): New variable.
4877 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4878 (clog10_test_data): New variable.
4879 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4880 (conj_test_data): New variable.
4881 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4882 (cproj_test_data): New variable.
4883 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4884 (csin_test_data): New variable.
4885 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4886 (csinh_test_data): New variable.
4887 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4888 (csqrt_test_data): New variable.
4889 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4890 (ctan_test_data): New variable.
4891 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4892 (ctan_tonearest_test_data): New variable.
4893 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4894 (ctan_towardzero_test_data): New variable.
4895 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4896 (ctan_downward_test_data): New variable.
4897 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4898 (ctan_upward_test_data): New variable.
4899 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4900 (ctanh_test_data): New variable.
4901 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4902 (ctanh_tonearest_test_data): New variable.
4903 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4904 (ctanh_towardzero_test_data): New variable.
4905 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4906 (ctanh_downward_test_data): New variable.
4907 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4908 (ctanh_upward_test_data): New variable.
4909 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4910 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4913 * math/libm-test.inc (struct test_ff_f_data): New type.
4914 (struct test_ff_f_data_nexttoward): Likewise.
4915 (RUN_TEST_LOOP_2_f): New macro.
4916 (RUN_TEST_LOOP_ff_f): Likewise.
4917 (atan2_test_data): New variable.
4918 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4919 (copysign_test_data): New variable.
4920 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4921 (fdim_test_data): New variable.
4922 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4923 (fmax_test_data): New variable.
4924 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4925 (fmin_test_data): New variable.
4926 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4927 (fmod_test_data): New variable.
4928 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4929 (hypot_test_data): New variable.
4930 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4931 (nextafter_test_data): New variable.
4932 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4933 (nexttoward_test_data): New variable.
4934 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4935 (pow_test_data): New variable.
4936 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4937 (pow_tonearest_test_data): New variable.
4938 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4939 (pow_towardzero_test_data): New variable.
4940 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4941 (pow_downward_test_data): New variable.
4942 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4943 (pow_upward_test_data): New variable.
4944 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4945 (remainder_test_data): New variable.
4946 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4947 (scalb_test_data): New variable.
4948 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4949 * sysdeps/i386/fpu/libm-test-ulps: Update.
4951 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4953 * math/libm-test.inc (fma_test): Use max_value instead of local
4955 (nextafter_test): Likewise.
4957 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4958 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4959 (acos_downward_test_data): New variable.
4960 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4961 (acos_upward_test_data): New variable.
4962 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4963 (acosh_test_data): New variable.
4964 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4965 (asin_test_data): New variable.
4966 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4967 (asin_tonearest_test_data): New variable.
4968 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4969 (asin_towardzero_test_data): New variable.
4970 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4971 (asin_downward_test_data): New variable.
4972 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4973 (asin_upward_test_data): New variable.
4974 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4975 (asinh_test_data): New variable.
4976 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4977 (atan_test_data): New variable.
4978 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4979 (atanh_test_data): New variable.
4980 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4981 (cbrt_test_data): New variable.
4982 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4983 (ceil_test_data): New variable.
4984 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4985 (cos_test_data): New variable.
4986 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4987 (cos_tonearest_test_data): New variable.
4988 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4989 (cos_towardzero_test_data): New variable.
4990 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4991 (cos_downward_test_data): New variable.
4992 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4993 (cos_upward_test_data): New variable.
4994 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4995 (cosh_test_data): New variable.
4996 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4997 (cosh_tonearest_test_data): New variable.
4998 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4999 (cosh_towardzero_test_data): New variable.
5000 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5001 (cosh_downward_test_data): New variable.
5002 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5003 (cosh_upward_test_data): New variable.
5004 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5005 (erf_test_data): New variable.
5006 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5007 (erfc_test_data): New variable.
5008 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5009 (exp_test_data): New variable.
5010 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5011 (exp_tonearest_test_data): New variable.
5012 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5013 (exp_towardzero_test_data): New variable.
5014 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5015 (exp_downward_test_data): New variable.
5016 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5017 (exp_upward_test_data): New variable.
5018 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5019 (exp10_test_data): New variable.
5020 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5021 (exp2_test_data): New variable.
5022 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5023 (expm1_test_data): New variable.
5024 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5025 (fabs_test_data): New variable.
5026 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5027 (floor_test_data): New variable.
5028 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5029 (j0_test_data): New variable.
5030 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5031 (j1_test_data): New variable.
5032 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5033 (log_test_data): New variable.
5034 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5035 (log10_test_data): New variable.
5036 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5037 (log1p_test_data): New variable.
5038 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5039 (log2_test_data): New variable.
5040 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5041 (logb_test_data): New variable.
5042 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5043 (logb_downward_test_data): New variable.
5044 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5045 (nearbyint_test_data): New variable.
5046 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5047 (rint_test_data): New variable.
5048 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5049 (rint_tonearest_test_data): New variable.
5050 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5051 (rint_towardzero_test_data): New variable.
5052 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5053 (rint_downward_test_data): New variable.
5054 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5055 (rint_upward_test_data): New variable.
5056 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5057 (round_test_data): New variable.
5058 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5059 (sin_test_data): New variable.
5060 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5061 (sin_tonearest_test_data): New variable.
5062 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5063 (sin_towardzero_test_data): New variable.
5064 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5065 (sin_downward_test_data): New variable.
5066 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5067 (sin_upward_test_data): New variable.
5068 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5069 (sinh_test_data): New variable.
5070 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5071 (sinh_tonearest_test_data): New variable.
5072 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5073 (sinh_towardzero_test_data): New variable.
5074 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5075 (sinh_downward_test_data): New variable.
5076 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5077 (sinh_upward_test_data): New variable.
5078 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5079 (sqrt_test_data): New variable.
5080 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5081 (tan_test_data): New variable.
5082 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5083 (tan_tonearest_test_data): New variable.
5084 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5085 (tan_towardzero_test_data): New variable.
5086 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5087 (tan_downward_test_data): New variable.
5088 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5089 (tan_upward_test_data): New variable.
5090 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5091 (tanh_test_data): New variable.
5092 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5093 (tgamma_test_data): New variable.
5094 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5095 (trunc_test_data): New variable.
5096 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5097 (y0_test_data): New variable.
5098 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5099 (y1_test_data): New variable.
5100 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5101 (significand_test_data): New variable.
5102 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5104 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5107 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5109 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5111 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5113 2013-05-10 Andreas Jaeger <aj@suse.de>
5116 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5117 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5119 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5121 * math/gen-libm-test.pl (adjust_arg): New function.
5122 (special_functions): Handle generating output in both functions
5124 (parse_args): Likewise.
5125 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5126 $in_func argument to parse_args.
5127 * math/libm-test.inc (struct test_f_f_data): New type.
5128 (IF_ROUND_INIT_): New macro.
5129 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5130 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5131 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5132 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5133 (ROUND_RESTORE_): Likewise.
5134 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5135 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5136 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5137 (ROUND_RESTORE_FE_UPWARD): Likewise.
5138 (RUN_TEST_LOOP_f_f): New macro.
5139 (acos_test_data): New variable.
5140 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5141 (acos_tonearest_test_data): New variable.
5142 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5144 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5146 * benchtests/bench-skeleton.c (startup): Fix coding style.
5148 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5151 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5152 negative infinity argument.
5153 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5154 negative infinity argument.
5155 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5156 negative infinity argument.
5157 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5160 2013-05-10 Florian Weimer <fweimer@redhat.com>
5162 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5163 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5164 * iconv/iconv_prog.c (main): Likewise.
5165 * locale/programs/charmap-dir.c (charmap_readdir)
5166 (fopen_uncompressed): Likewise.
5167 * locale/programs/locfile.c (siblings_uncached)
5168 (write_locale_data): Use lstat64 instead of lstat.
5169 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5172 2013-05-10 Andreas Jaeger <aj@suse.de>
5175 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5179 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5181 * elf/dl-close.c (_dl_close_worker): Add comments.
5183 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5188 (__ieee754_rem_pio2l): Update comments.
5191 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5193 (__ieee754_rem_pio2l): Update comments.
5195 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5196 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5198 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5201 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5202 (M_PI_34_LOG10El): Likewise.
5203 (M_PI2_LOG10El): Likewise.
5204 (M_PI4_LOG10El): Likewise.
5205 (M_PI_LOG10El): Likewise.
5207 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5211 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5213 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5214 (MINUS_ZERO_INIT): Likewise.
5215 (PLUS_INFTY_INIT): Likewise.
5216 (MINUS_INFTY_INIT): Likewise.
5217 (QNAN_VALUE_INIT): Likewise.
5218 (MAX_VALUE_INIT): Likewise.
5219 (MIN_VALUE_INIT): Likewise.
5220 (MIN_SUBNORM_VALUE_INIT): Likewise.
5221 (plus_zero): Initialize with PLUS_ZERO_INIT.
5222 (minus_zero): Initialize with MINUS_ZERO_INIT.
5223 (plus_infty): Initialize with PLUS_INFTY_INIT.
5224 (minus_infty): Initialize with MINUS_INFTY_INIT.
5225 (qnan_value): Initialize with QNAN_VALUE_INIT.
5226 (max_value): Initialize with MAX_VALUE_INIT.
5227 (min_value): Initialize with MIN_VALUE_INIT.
5228 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5230 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5231 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5232 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5233 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5235 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5236 (RUN_TEST_2_f): Likewise.
5237 (RUN_TEST_ff_f): Likewise.
5238 (RUN_TEST_fi_f): Likewise.
5239 (RUN_TEST_fl_f): Likewise.
5240 (RUN_TEST_fff_f): Likewise.
5241 (RUN_TEST_c_f): Likewise.
5242 (RUN_TEST_f_f1): Likewise.
5243 (RUN_TEST_fF_f1): Likewise.
5244 (RUN_TEST_fI_f1): Likewise.
5245 (RUN_TEST_ffI_f1): Likewise.
5246 (RUN_TEST_c_c): Likewise.
5247 (RUN_TEST_cc_c): Likewise.
5248 (RUN_TEST_f_i): Likewise.
5249 (RUN_TEST_f_i_tg): Likewise.
5250 (RUN_TEST_ff_i_tg): Likewise.
5251 (RUN_TEST_f_b): Likewise.
5252 (RUN_TEST_f_b_tg): Likewise.
5253 (RUN_TEST_f_l): Likewise.
5254 (RUN_TEST_f_L): Likewise.
5255 (RUN_TEST_sincos): Likewise.
5256 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5257 whether to show exceptions. Do not include ");\n" in return
5259 (special_functions): Output call to RUN_TEST_sincos instead of
5260 check_float calls. Update calls to new_test.
5261 (parse_args): Output call to single RUN_TEST_* macro instead of
5262 check_* calls and other assignments. Update calls to new_test.
5268 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5269 input to result for tgamma overflow.
5270 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5271 (gamma_coeff): New variable.
5272 (NCOEFF): New macro.
5273 (gamma_positive): New function.
5274 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5275 underflow here. Use gamma_positive instead of exp (lgamma) for
5277 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5278 (gamma_coeff): New variable.
5279 (NCOEFF): New macro.
5280 (gammaf_positive): New function.
5281 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5282 underflow here. Use gamma_positive instead of exp (lgamma) for
5284 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5285 (gamma_coeff): New variable.
5286 (NCOEFF): New macro.
5287 (gammal_positive): New function.
5288 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5289 underflow here. Use gamma_positive instead of exp (lgamma) for
5291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5292 (gamma_coeff): New variable.
5293 (NCOEFF): New macro.
5294 (gammal_positive): New function.
5295 (__ieee754_gammal_r): Handle positive infinity, overflow and
5296 underflow here. Handle NaN the same as positive infinity. Remove
5297 check x < 0xffffffff for negative integers. Use gamma_positive
5298 instead of exp (lgamma) for other arguments.
5299 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5300 (gamma_coeff): New variable.
5301 (NCOEFF): New macro.
5302 (gammal_positive): New function.
5303 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5304 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5308 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5309 * sysdeps/generic/math_private.h (__gamma_productf): New
5311 (__gamma_product): Likewise.
5312 (__gamma_productl): Likewise.
5313 * math/Makefile (libm-calls): Add gamma_product.
5314 * math/libm-test.inc (tgamma_test): Add more tests.
5315 * sysdeps/i386/fpu/libm-test-ulps: Update.
5316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5320 * benchtests/bench-skeleton.c (main): Preheat CPU.
5322 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5324 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5326 2013-05-07 Roland McGrath <roland@hack.frob.com>
5328 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5329 and _dl_skip_args_internal.
5331 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5333 * manual/message.texi (Message Translation): Talk about users.
5334 Message to key mapping impacts design.
5336 2013-05-06 Roland McGrath <roland@hack.frob.com>
5338 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5340 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5342 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5343 * sysdeps/wordsize-64/glob64.c: ... here.
5345 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5346 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5349 * debug/getlogin_r_chk.c: Moved to ...
5350 * login/getlogin_r_chk.c: ... here.
5351 * debug/Makefile (routines): Move getlogin_r_chk to ...
5352 * login/Makefile (routines): ... here.
5353 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5354 * login/Versions (libc: GLIBC_2.4): ... here.
5356 * io/poll.c (__poll): Renamed from poll.
5357 Add libc_hidden_def.
5358 (poll): Define as weak alias.
5360 * debug/ptsname_r_chk.c: Moved to ...
5361 * login/ptsname_r_chk.c: ... here.
5362 * debug/Makefile (routines): Move ptsname_r_chk to ...
5363 * login/Makefile (routines): ... here.
5364 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5365 * login/Versions (libc: GLIBC_2.4): ... here.
5367 * posix/getlogin.c: Moved to ...
5368 * login/getlogin.c: ... here.
5369 * posix/getlogin_r.c: Moved to ...
5370 * login/getlogin_r.c: ... here.
5371 * posix/getlogin_r.c: Moved to ...
5372 * login/getlogin_r.c: ... here.
5373 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5374 * login/Makefile (routines): ... here.
5375 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5376 * login/Versions (libc: GLIBC_2.0): ... here.
5378 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5379 (setrlimit): Define as weak alias.
5381 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5382 Call __ names for open, ftruncate, and close.
5383 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5384 (truncate): Define as weak alias.
5386 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5388 * math/gen-libm-test.pl (parse_args): Initialize x before each
5389 test of frexp, modf and remquo.
5391 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5394 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5398 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5400 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5402 2013-05-06 Roland McGrath <roland@hack.frob.com>
5404 * elf/dl-writev.h: New file.
5405 * elf/dl-misc.c: Include it.
5406 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5407 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5409 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5411 * math/libm-test.inc (noXFails): Remove variable.
5412 (noXPasses): Likewise.
5413 (BUILD_COMPLEX_INT): Remove macro.
5414 (print_screen): Remove xfail argument.
5415 (print_screen_max_error): Likewise.
5416 (update_stats): Likewise.
5417 (print_max_error): Likewise. Update calls to other affected
5419 (print_complex_max_error): Likewise.
5420 (test_single_exception): Update calls to print_screen.
5421 (test_single_errno): Likewise.
5422 (check_float_internal): Remove xfail argument. Update calls to
5423 other affected functions.
5424 (check_float): Likewise.
5425 (check_complex): Likewise.
5426 (check_int): Likewise.
5427 (check_long): Likewise.
5428 (check_bool): Likewise.
5429 (check_longlong): Likewise.
5430 (main): Don't print noXFails and noXPasses.
5431 * math/gen-libm-test.pl (top level): Don't mention expected
5432 failure handling in comment.
5433 (new_test): Don't handle expected failures.
5434 (parse_args): Don't mention expected failure handling in comment.
5435 (generate_testfile): Don't handle expected failures.
5436 (parse_ulps): Likewise.
5437 (print_ulps_file): Likewise.
5438 (get_failure): Remove function.
5439 (output_test): Don't handle expected failures.
5440 * make/README.libm-test: Don't mention expected failure handling.
5442 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5443 (minus_zero): Likewise.
5444 (plus_infty): Likewise.
5445 (minus_infty): Likewise.
5446 (qnan_value): Likewise.
5447 (max_value): Likewise.
5448 (min_value): Likewise.
5449 (min_subnorm_value): Likewise.
5450 (initialize): Do not initialize those variables dynamically.
5452 2013-05-03 Roland McGrath <roland@hack.frob.com>
5454 * io/open.c (__open_2): Moved to ...
5455 * io/open_2.c: ... this new file.
5456 * io/open64.c (__open64_2): Moved to ...
5457 * io/open64_2.c: ... this new file.
5458 * io/openat.c (__openat_2): Moved to ...
5459 * io/openat_2.c: ... this new file.
5460 * io/openat64.c (__openat64_2): Moved to ...
5461 * io/openat64_2.c: ... this new file.
5462 * io/Makefile (routines): Add them.
5463 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5464 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5465 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5466 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5467 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5468 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5469 (__openat64): Add hidden_ver.
5470 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5471 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5473 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5474 Separately conditionalize setting of GLRO(dl_sysinfo) so
5475 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5476 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5478 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5480 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5481 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5483 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5484 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5485 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5486 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5487 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5489 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5491 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5494 * math/libm-test.inc (hypot_test): Do not use
5495 IGNORE_ZERO_INF_SIGN.
5497 2013-05-03 Andreas Jaeger <aj@suse.de>
5499 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5501 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5502 (PF_MAX): Adjust for VSOCK change.
5504 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5508 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5511 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5512 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5513 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5515 2013-05-02 David S. Miller <davem@davemloft.net>
5517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5519 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5521 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5523 2013-05-01 Roland McGrath <roland@hack.frob.com>
5525 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5527 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5530 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5531 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5532 Use __attribute__ ((__gnu_inline__)).
5533 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5534 Don't use __attribute__ ((__gnu_inline__)).
5536 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5539 * math/s_catan.c (__catan): Handle small real or imaginary part of
5540 input specially to avoid spurious underflow.
5541 * math/s_catanf.c (__catanf): Likewise.
5542 * math/s_catanh.c (__catanh): Likewise.
5543 * math/s_catanhf.c (__catanhf): Likewise.
5544 * math/s_catanhl.c (__catanhl): Likewise.
5545 * math/s_catanl.c (__catanl): Likewise.
5546 * math/libm-test.inc (catan_test): Add more tests.
5547 (catanh_test): Likewise.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5551 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5555 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5558 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5559 accurately for denominator in atan2.
5560 * math/s_catanf.c (__catanf): Likewise.
5561 * math/s_catanh.c (__catanh): Likewise.
5562 * math/s_catanhf.c (__catanhf): Likewise.
5563 * math/s_catanhl.c (__catanhl): Likewise.
5564 * math/s_catanl.c (__catanl): Likewise.
5565 * math/libm-test.inc (catan_test): Add more tests.
5566 (catanh_test): Likewise.
5567 * sysdeps/i386/fpu/libm-test-ulps: Update.
5568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5572 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5574 * benchtests/Makefile (bench): Remove slow benchmarks.
5575 * benchtests/atan-inputs: Add slow benchmark inputs.
5576 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5577 (BENCH_FUNC): Accept variant offset.
5579 * benchtests/bench-skeleton.c (main): Run benchmark for each
5581 * benchtests/cos-inputs: Add slow benchmark inputs.
5582 * benchtests/exp-inputs: Likewise.
5583 * benchtests/pow-inputs: Likewise.
5584 * benchtests/sin-inputs: Likewise.
5585 * benchtests/slowatan-inputs: Remove.
5586 * benchtests/slowatan.c: Remove.
5587 * benchtests/slowcos-inputs: Remove.
5588 * benchtests/slowcos.c: Remove.
5589 * benchtests/slowexp-inputs: Remove.
5590 * benchtests/slowexp.c: Remove.
5591 * benchtests/slowpow-inputs: Remove.
5592 * benchtests/slowpow.c: Remove.
5593 * benchtests/slowsin-inputs: Remove.
5594 * benchtests/slowsin.c: Remove.
5595 * benchtests/slowtan-inputs: Remove.
5596 * benchtests/slowtan.c: Remove.
5597 * benchtests/tan-inputs: Add slow benchmark inputs.
5598 * scripts/bench.pl: Parse comments and directives.
5600 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5602 ($(objpfx)bench-%.c): Remove *-ITER.
5603 * benchtests/bench-modf.c: Remove definition of ITER.
5604 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5605 (main): Loop for DURATION seconds instead of fixed number of
5607 * scripts/bench.pl: Don't expect iterations in parameters.
5609 2013-04-29 Roland McGrath <roland@hack.frob.com>
5611 * io/fchdir.c (__fchdir): Renamed from fchdir.
5612 (fchdir): Define as weak alias.
5614 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5616 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5617 (ERRNO_EDOM): Likewise.
5618 (ERRNO_ERANGE): Likewise.
5619 (noErrnoTests): New variable.
5620 (init_max_error): Set errno to 0.
5621 (test_single_errno): New function.
5622 (test_errno): Likewise.
5623 (check_float_internal): Call test_errno. Set errno to 0.
5624 (check_complex): Refer to errno tests in comment.
5625 (check_int): Call test_errno. Set errno to 0.
5626 (check_long): Likewise.
5627 (check_bool): Likewise.
5628 (check_longlong): Likewise.
5629 (cos_test): Use ERRNO_* flags for errno tests instead of
5631 (expm1_test): Likewise.
5632 (fmod_test): Likewise.
5633 (ilogb_test): Likewise.
5634 (lgamma_test): Likewise.
5635 (pow_test): Likewise.
5636 (remainder_test): Likewise.
5637 (sin_test): Likewise.
5638 (tan_test): Likewise.
5639 (yn_test): Likewise.
5640 (initialize): Set errno to 0.
5641 (main): Print number of errno tests.
5642 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5644 2013-04-29 Andreas Jaeger <aj@suse.de>
5647 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5651 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5652 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5656 * stdlib/random.c (__initstate): Return NULL if
5660 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5661 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5664 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5668 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5670 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5671 of individual tests.
5672 (casin_test): Likewise.
5673 (casinh_test): Likewise.
5675 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5678 * math/s_catan.c (__catan): Handle arguments with large real or
5679 imaginary part separately without squaring.
5680 * math/s_catanf.c (__catanf): Likewise.
5681 * math/s_catanh.c (__catanh): Likewise.
5682 * math/s_catanhf.c (__catanhf): Likewise.
5683 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5685 (__catanhl): Handle arguments with large real or imaginary part
5686 separately without squaring.
5687 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5689 (__catanl): Handle arguments with large real or imaginary part
5690 separately without squaring.
5691 * math/libm-test.inc (catan_test): Add more tests.
5692 (catanh_test): Likewise.
5693 * sysdeps/i386/fpu/libm-test-ulps: Update.
5694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5696 2013-04-27 Andreas Jaeger <aj@suse.de>
5699 * stdlib/stdlib.h: Update guards for qecvt.
5700 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5703 2013-04-27 Allan McRae <allan@archlinux.org>
5705 * sysdeps/i386/fpu/libm-test-ulps: Update.
5707 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5710 * math/s_catan.c: Include <float.h>.
5711 (__catan): Ensure underflow exception occurs for underflowed
5713 * math/s_catanf.c: Include <float.h>.
5714 (__catanf): Ensure underflow exception occurs for underflowed
5716 * math/s_catanh.c: Include <float.h>.
5717 (__catanh): Ensure underflow exception occurs for underflowed
5719 * math/s_catanhf.c: Include <float.h>.
5720 (__catanhf): Ensure underflow exception occurs for underflowed
5722 * math/s_catanhl.c: Include <float.h>.
5723 (__catanhl): Ensure underflow exception occurs for underflowed
5725 * math/s_catanl.c: Include <float.h>.
5726 (__catanl): Ensure underflow exception occurs for underflowed
5728 * math/libm-test.inc (catan_test): Add more tests.
5729 (catanh_test): Likewise.
5732 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5734 * math/s_ccoshf.c (__ccoshf): Likewise.
5735 * math/s_ccoshl.c (__ccoshl): Likewise.
5736 * math/s_csin.c (__csin): Likewise.
5737 * math/s_csinf.c (__csinf): Likewise.
5738 * math/s_csinh.c (__csinh): Likewise.
5739 * math/s_csinhf.c (__csinhf): Likewise.
5740 * math/s_csinhl.c (__csinhl): Likewise.
5741 * math/s_csinl.c (__csinl): Likewise.
5742 * math/libm-test.inc (ccos_test): Add more tests.
5743 (ccosh_test): Likewise.
5744 (csin_test): Likewise.
5745 (csinh_test): Likewise.
5747 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5750 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5751 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5752 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5753 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5754 powerpc/power5+/fpu folders.
5755 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5758 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5762 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5764 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5765 additions to variable.
5766 [$(config-machine) = x86_64] (modules-names): Likewise.
5767 ($(objpfx)tst-audit3): Remove dependency.
5768 ($(objpfx)tst-audit3.out): Likewise.
5769 ($(objpfx)tst-audit4): Likewise.
5770 ($(objpfx)tst-audit4.out): Likewise.
5771 ($(objpfx)tst-audit5): Likewise.
5772 ($(objpfx)tst-audit5.out): Likewise.
5773 ($(objpfx)tst-audit6): Likewise.
5774 ($(objpfx)tst-audit6.out): Likewise.
5775 ($(objpfx)tst-audit7): Likewise.
5776 ($(objpfx)tst-audit7.out): Likewise.
5777 (tst-audit3-ENV): Remove variable.
5778 (tst-audit4-ENV): Likewise.
5779 (tst-audit5-ENV): Likewise.
5780 (tst-audit6-ENV): Likewise.
5781 (tst-audit7-ENV): Likewise.
5782 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5783 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5784 addition to variable.
5785 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5786 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5787 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5789 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5790 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5791 tst-audit3, tst-audit4 and tst-audit5.
5792 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5793 tst-audit6 and tst-audit7.
5794 [$(subdir) = elf] (modules-names): Add audit modules for those
5796 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5797 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5798 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5799 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5800 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5801 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5802 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5803 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5804 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5805 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5806 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5807 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5808 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5809 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5810 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5811 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5813 [$(subdir) = elf && $(config-cflags-avx) = yes]
5814 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5815 [$(subdir) = elf && $(config-cflags-avx) = yes]
5816 (CFLAGS-tst-auditmod4a.c): Likewise.
5817 [$(subdir) = elf && $(config-cflags-avx) = yes]
5818 (CFLAGS-tst-auditmod4b.c): Likewise.
5819 [$(subdir) = elf && $(config-cflags-avx) = yes]
5820 (CFLAGS-tst-auditmod6b.c): Likewise.
5821 [$(subdir) = elf && $(config-cflags-avx) = yes]
5822 (CFLAGS-tst-auditmod6c.c): Likewise.
5823 [$(subdir) = elf && $(config-cflags-avx) = yes]
5824 (CFLAGS-tst-auditmod7b.c): Likewise.
5825 * elf/tst-audit3.c: Move to ...
5826 * sysdeps/x86_64/tst-audit3.c: ... here.
5827 * elf/tst-audit4.c: Move to ...
5828 * sysdeps/x86_64/tst-audit4.c: ... here.
5829 * elf/tst-audit5.c: Move to ...
5830 * sysdeps/x86_64/tst-audit5.c: ... here.
5831 * elf/tst-audit6.c: Move to ...
5832 * sysdeps/x86_64/tst-audit6.c: ... here.
5833 * elf/tst-audit7.c: Move to ...
5834 * sysdeps/x86_64/tst-audit7.c: ... here.
5835 * elf/tst-auditmod3a.c: Move to ...
5836 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5837 * elf/tst-auditmod3b.c: Move to ...
5838 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5839 * elf/tst-auditmod4a.c: Move to ...
5840 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5841 * elf/tst-auditmod4b.c: Move to ...
5842 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5843 * elf/tst-auditmod5a.c: Move to ...
5844 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5845 * elf/tst-auditmod5b.c: Move to ...
5846 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5847 * elf/tst-auditmod6a.c: Move to ...
5848 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5849 * elf/tst-auditmod6b.c: Move to ...
5850 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5851 * elf/tst-auditmod6c.c: Move to ...
5852 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5853 * elf/tst-auditmod7a.c: Move to ...
5854 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5855 * elf/tst-auditmod7b.c: Move to ...
5856 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5858 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5861 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5862 define unconditionally.
5863 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5864 define unconditionally.
5865 (INT8_C, INT16_C, etc.): Likewise.
5867 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5869 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5870 __ehdr_start with hidden visibility.
5872 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5874 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5876 * math/libm-test.inc (cos_test): Use accurate hex constants.
5877 (sincost_test): Likewise.
5879 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5881 * math/libm-test.inc (catan_test): Add more tests.
5882 (catanh_test): Likewise.
5884 * math/s_catanf.c (__catanf): Use suffixed floating-point
5886 * math/s_catanhf.c (__catanhf): Likewise.
5887 * math/s_catanhl.c (__catanhl): Likewise.
5888 * math/s_catanl.c (__catanl): Likewise.
5891 * math/s_catan.c (__catan): Calculate imaginary part of result
5892 with log1p not log unless computing log of number close to 0.
5893 * math/s_catanf.c (__catanf): Likewise.
5894 * math/s_catanl.c (__catanl): Likewise.
5895 * math/s_catanh.c (__catanh): Calculate real part of result with
5896 log1p not log unless computing log of number close to 0.
5897 * math/s_catanhf.c (__catanhf): Likewise.
5898 * math/s_catanhl.c (__catanhl): Likewise.
5899 * math/libm-test.inc (catan_test): Add more tests.
5900 (catanh_test): Likewise.
5901 * sysdeps/i386/fpu/libm-test-ulps: Update.
5902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5906 * benchtests/Makefile: Mention files in which fast and slow
5907 paths of math functions are implemented.
5909 2013-04-23 Roland McGrath <roland@hack.frob.com>
5911 * sysdeps/posix/timespec_get.c: New file.
5913 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5915 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5917 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5919 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5920 powerpc/power5/fpu folders.
5921 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5922 * benchtests/Makefile: Add modf testcase.
5923 * benchtests/bench-modf.c: New file: Benchmark test for mo
5925 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5928 * time/Makefile (tests): Add tst-strptime-whitespace.
5929 * time/strptime_l.c (get_number): Use ISSPACE.
5930 (__strptime_internal): Likewise.
5931 * time/tst-strptime-whitespace.c: New test case.
5933 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5935 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5937 (_nss_files_init): Set it here.
5939 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5941 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5942 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5945 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5947 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5949 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5954 2013-04-21 David S. Miller <davem@davemloft.net>
5956 * po/ru.po: Update Russion translation from translation project.
5958 2013-04-17 Adam Conrad <adconrad@0c3.net>
5960 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5963 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5965 * configure.in: Remove i386 configure warning. Remove i386 case.
5966 * configure: Regenerate.
5967 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5968 Add example to error message.
5969 * sysdeps/i386/configure: Regenerate.
5971 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5973 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5975 * benchtests/cos-inputs: New file.
5976 * benchtests/slowcos-inputs: New file.
5977 * benchtests/slowcos.c: New file.
5978 * benchtests/slowtan-inputs: New file.
5979 * benchtests/slowtan.c: New file.
5980 * benchtests/tan-inputs: New file.
5982 2013-04-16 Roland McGrath <roland@hack.frob.com>
5984 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5987 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5989 * benchtests/Makefile: Include cppflags-iterator.mk to add
5990 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5992 * Makefile.in (bench-clean): New target.
5993 * benchtests/Makefile (bench-clean): Likewise.
5995 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5997 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5999 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6001 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6003 2013-04-15 Andreas Schwab <schwab@suse.de>
6005 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6007 * nscd/pwdcache.c (cache_addpw): Likewise.
6008 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6011 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6013 * benchtests/Makefile (bench): Write all output to
6014 bench-out.tmp together.
6016 2013-04-15 Andreas Schwab <schwab@suse.de>
6018 * nscd/nscd.c (main): Don't fork again after closing files.
6020 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6022 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6024 * benchtests/Rules (bench-deps): Collect dependencies into a
6025 single variable. Add Makefile to dependencies.
6026 ($(objpfx)bench-%.c): Depend on bench-deps.
6028 2013-04-12 Roland McGrath <roland@hack.frob.com>
6029 Xavier Roche <roche+kml2@exalead.com>
6032 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6033 just that it's a file descriptor.
6034 * manual/llio.texi (Synchronizing AIO Operations): Update description
6035 for EBADF error from aio_fsync.
6037 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6039 * Rules (bench): Move target definition...
6040 * benchtests/Makefile: ... here.
6042 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6044 * math/libm-test.inc (cos_test): Fix PI/2 test.
6045 (sincos_test): Likewise.
6046 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6047 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6049 2013-04-11 Andreas Schwab <schwab@suse.de>
6052 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6053 accept exponent character only when digits were seen.
6054 * stdio-common/Makefile (tests): Add bug26.
6055 * stdio-common/bug26.c: New file.
6058 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6061 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6063 * Makeconfig (rtld-prefix): Define built linker prefix.
6064 * Rules (run-bench): Use it.
6065 * math/Makefile (run-regen-ulps): Likewise.
6067 * Rules (bench): Remove eval.
6069 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6070 Roland McGrath <roland@hack.frob.com>
6071 Ondrej Bilka <neleai@seznam.cz>
6074 * time/getdate.c: Include ctype.h and alloca.h.
6075 (__getdate_r): Trim leading and trailing spaces of input.
6076 * time/tst-getdate.c (tests): Add tests with leading and
6079 2013-04-08 Roland McGrath <roland@hack.frob.com>
6082 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6083 when computing value.
6085 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6087 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6088 Use testrun.sh to run libm tests.
6091 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6093 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6096 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6098 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6100 * Makefile.in (regen-ulps): New target.
6101 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6102 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6103 [ifneq (no,$(PERL)] (regen-ulps): New target.
6104 [ifeq (no,$(PERL)] (regen-ulps): New target.
6105 * math/libm-test.inc (ulps_file_name): Define.
6106 (output_dir): New variable.
6107 (options): Add "output-dir" option.
6108 (parse_opt): Handle 'o' case.
6109 (main): If output_dir is non-NULL use it as a prefix
6111 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6113 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6116 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6117 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6118 fail configure if __sync_val_compare_and_swap is not inlined.
6119 * sysdeps/i386/configure: Regenerate.
6120 * configure.in: Build for i686 when configured for i386.
6121 * configure: Regenerate.
6122 * README: Remove i386 reference.
6124 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6126 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6129 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6131 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6132 (lmsnanval): New variables.
6133 (F): Add conversion tests.
6134 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6135 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6137 * stdio-common/tstdiomisc.c (F): Properly collect individual
6141 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6142 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6143 Instead, use input NaN values or generate a qNaN by arithmetic
6144 operation. Also fix bugs to comply with the standard.
6145 * math/libm-test.inc (remainder_test): Add more tests.
6148 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6150 input NaN values or generate a qNaN by arithmetic operation.
6152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6155 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6158 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6161 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6163 * math/s_cexpf.c (__cexpf): Likewise.
6164 * math/s_cexpl.c (__cexpl): Likewise.
6165 * math/libm-test.inc (cexp_test): Add more tests.
6167 2013-04-03 Andreas Schwab <schwab@suse.de>
6170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6171 order arrays from heap if bigger than alloca cutoff.
6173 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6175 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6176 (SNAN_TESTS_double): Refer to GCC PR56831.
6177 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6180 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6182 * Rules (bench): Move bench.out after the run is complete.
6184 * Rules (bench): Echo currently running benchmark.
6186 * benchtests/Makefile (bench): Add atan and slowatan.
6187 * benchtests/atan-inputs: New file.
6188 * benchtests/slowatan-inputs: New file.
6189 * benchtests/slowatan.c: New file.
6191 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6192 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6196 * sysdeps/unix/sysv/linux/kernel-features.h
6197 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6198 __ASSUME_XFS_RESTRICTED_CHOWN.
6199 * sysdeps/unix/sysv/linux/pathconf.c
6200 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6201 Save and restore errno.
6203 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6206 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6207 arguments using __kernel_casinh.
6208 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6209 arguments using __kernel_casinhf.
6210 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6211 arguments using __kernel_casinhl.
6212 * math/libm-test.inc (cacosh_test): Add more tests.
6213 * sysdeps/i386/fpu/libm-test-ulps: Update.
6214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6216 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6218 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6221 * bench/Makefile (bench): Add sin and slowsin.
6222 * benchtests/sin-inputs: New file.
6223 * benchtests/slowsin-inputs: New file.
6224 * benchtests/slowsin.c: New file.
6226 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6227 (bench): Add slowexp and slowpow.
6228 (exp-ITER): Increase iterations.
6229 (pow-ITER): Likewise.
6230 * benchtests/exp-inputs: Change input.
6231 * benchtests/pow-inputs: Likewise.
6232 * benchtests/slowexp-inputs: New file.
6233 * benchtests/slowexp.c: New file.
6234 * benchtests/slowpow-inputs: New file.
6235 * benchtests/slowpow.c: New file.
6237 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6239 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6241 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6242 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6244 * benchtests/Makefile: Add rint benchtest.
6245 * benchtests/rint-inputs: Input for rint benchtest.
6247 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6249 * Versions.def (libm): Add GLIBC_2.18.
6250 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6251 hidden libm prototypes.
6252 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6253 * math/Makefile (libm-calls): Add s_issignaling.
6254 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6255 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6256 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6258 * math/math.h [__USE_GNU] (issignaling): New macro.
6259 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6260 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6261 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6262 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6265 * manual/arith.texi (issignaling): New section.
6266 * manual/libm-err-tab.pl (@all_functions): Update comment.
6267 * math/gen-libm-test.pl (parse_args): Apply special handling for
6269 * math/libm-test.inc (print_float, issignaling_test): New
6271 (check_float_internal): Add issignaling checks.
6272 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6274 * sysdeps/powerpc/math-tests.h: New file.
6275 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6277 * math/test-snan.c (TEST_FUNC): Likewise.
6279 2013-03-30 David S. Miller <davem@davemloft.net>
6281 * po/de.po: Update from translation team.
6283 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6286 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6287 imaginary part less than 1.0 and real part less than 0.5
6289 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6290 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6291 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6292 (cacos_test): Add more tests.
6293 (casin_test): Likewise.
6294 (casinh_test): Likewise.
6295 * sysdeps/i386/fpu/libm-test-ulps: Update.
6296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6298 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6300 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6303 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6304 (__pow_mp): Replace ONE and MONE with their values.
6305 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6308 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6309 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6310 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6312 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6314 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6315 (__pow_mp): Replace ZERO and MZERO with their values.
6316 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6320 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6321 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6324 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6326 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6328 2013-03-28 Roland McGrath <roland@hack.frob.com>
6330 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6331 Declare with __attribute__ ((weak)).
6332 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6333 Call __call_tls_dtors only if it's not NULL.
6335 2013-03-28 Roland McGrath <roland@hack.frob.com>
6337 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6338 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6339 magic __ehdr_start linker symbol if it's defined.
6340 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6341 them up here if it was already done.
6343 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6344 (_dl_aux_init): Use const in cast when setting it.
6345 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6346 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6347 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6349 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6351 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6352 * csu/libc-tls.c: Nor here.
6353 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6355 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6356 (__libc_message): Never call vsyslog.
6358 2013-03-28 Alan Modra <amodra@gmail.com>
6360 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6362 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6365 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6372 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6375 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6376 Don't add gid passed as argument.
6378 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6380 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6383 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6384 imaginary part between 1.0 and 1.5 and real part less than 0.5
6386 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6387 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6388 * math/libm-test.inc (cacos_test): Add more tests.
6389 (casin_test): Likewise.
6390 (casinh_test): Likewise.
6391 * sysdeps/i386/fpu/libm-test-ulps: Update.
6392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6394 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6396 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6400 (__dbl_mp): Likewise.
6401 (add_magnitudes): Likewise.
6402 (sub_magnitudes): Likewise.
6410 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6412 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6413 (__dubcos): Likewise.
6414 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6415 (__ieee754_acos): Likewise.
6416 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6417 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6419 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6422 (my_log2): Likewise.
6423 (checkint): Likewise.
6424 * sysdeps/ieee754/dbl-64/e_remainder.c
6425 (__ieee754_remainder): Likewise.
6426 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6431 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6432 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6433 MANTISSA_STORE_T to store computations on mantissa. Use
6434 macros for rounding and division.
6436 (__dbl_mp): Likewise.
6437 (add_magnitudes): Likewise.
6438 (sub_magnitudes): Likewise.
6441 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6442 powers of two in terms of TWOPOW macro.
6443 (mp_no): Make type of mantissa as MANTISSA_T.
6444 [!RADIXI]: Define RADIXI.
6445 [!TWO52]: Define TWO52.
6446 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6448 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6451 llroundl symbol when building for PPC32.
6453 2013-03-24 Mark H Weaver <mhw@netris.org>
6455 * manual/arith.texi (Normalization Functions): Fix prototypes for
6456 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6458 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6462 high value to check if expl overflow.
6463 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6464 to check for underflow and overflow.
6465 * math/libm-test.inc: Add exp test.
6467 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6470 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6473 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6475 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6478 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6480 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6481 wrap blocks consisting of several statements.
6483 * sysdeps/generic/math-tests.h: New file.
6484 * sysdeps/i386/fpu/math-tests.h: Likewise.
6485 * math/test-snan.c: Include it.
6486 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6488 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6492 (__ieee754_j0l): Do not improve calculations using cos of twice
6493 input for inputs above LDBL_MAX / 2.0L.
6494 (__ieee754_y0l): Likewise.
6495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6496 (__ieee754_j1l): Do not improve calculations using cos of twice
6497 input for inputs above LDBL_MAX / 2.0L.
6498 (__ieee754_y1l): Likewise.
6499 * math/libm-test.inc (j0_test): Add another test.
6500 (j1_test): Likewise.
6501 (y0_test): Likewise.
6502 (y1_test): Likewise.
6503 * sysdeps/i386/fpu/libm-test-ulps: Update.
6505 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6507 * Rules ($(objpfx)bench-%.c): Include code from a C source
6510 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6513 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6514 imaginary part 1.0 and real part less than 0.5 specially.
6515 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6516 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6517 * math/libm-test.inc (cacos_test): Add more tests.
6518 (casin_test): Likewise.
6519 (casinh_test): Likewise.
6520 * sysdeps/i386/fpu/libm-test-ulps: Update.
6521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6523 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6526 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6528 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6530 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6531 * config.make.in (config-cflags-sse4): Remove variable.
6532 (config-cflags-avx): Likewise.
6533 (config-cflags-sse2avx): Likewise.
6534 (config-cflags-novzeroupper): Likewise.
6535 (config-asflags-i686): Likewise.
6536 (have-mfma4): Likewise.
6537 (have-as-vis3): Likewise.
6539 * configure.in (MIG): Do not AC_SUBST.
6540 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6541 (libc_cv_cc_sse4): Do not AC_SUBST.
6542 (libc_cv_cc_avx): Likewise.
6543 (libc_cv_cc_sse2avx): Likewise.
6544 (libc_cv_cc_novzeroupper): Likewise.
6545 (libc_cv_cc_fma4): Likewise.
6546 (libc_cv_as_i686): Likewise.
6547 (libc_cv_sparc_as_vis3): Likewise.
6548 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6550 (config-asflags-i686): Likewise.
6551 (config-cflags-avx): Likewise.
6552 (config-cflags-sse2avx): Likewise.
6553 (have-mfma4): Likewise.
6554 (config-cflags-novzeroupper): Likewise.
6555 * sysdeps/mach/configure.in (MIG): Likewise.
6556 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6557 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6559 (config-cflags-avx): Likewise.
6560 (config-cflags-sse2avx): Likewise.
6561 (have-mfma4): Likewise.
6562 (config-cflags-novzeroupper): Likewise.
6563 * configure: Regenerated.
6564 * sysdeps/i386/configure: Likewise.
6565 * sysdeps/mach/configure: Likewise.
6566 * sysdeps/sparc/configure: Likewise.
6567 * sysdeps/x86_64/configure: Likewise.
6569 2013-03-20 Roland McGrath <roland@hack.frob.com>
6572 * locale/programs/localedef.c (options): Put N_ translation marker
6573 on argument names, not just descriptions.
6575 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6577 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6579 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6582 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6584 2013-03-19 Roland McGrath <roland@hack.frob.com>
6586 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6587 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6588 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6589 [!BEFORE_ABORT] (before_abort): New function.
6590 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6591 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6592 (writev_for_fatal): New function.
6593 (WRITEV_FOR_FATAL): New macro; call that.
6594 (backtrace_and_maps): New function.
6595 (BEFORE_ABORT): New macro; call that.
6596 (struct str_list): Type removed.
6597 (__libc_message, __libc_fatal): Functions removed.
6598 Include <sysdeps/posix/libc_fatal.c> instead.
6600 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6602 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6604 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6607 2013-03-19 Andreas Schwab <schwab@suse.de>
6609 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6610 * sysdeps/gnu/configure: Regenerate.
6612 * configure.in: Substitute libc_cv_rtlddir.
6613 * configure: Regenerate.
6614 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6615 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6616 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6617 * elf/Makefile (install-others, CFLAGS-interp.c)
6618 (ldso_install, common-ldd-rewrite): Likewise.
6619 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6620 $(inst_slibdir)/$(rtld-installed-name).
6621 * scripts/rellns-sh: Add -p option.
6622 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6625 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 * manual/nptl.texi: Renamed to ...
6628 * manual/threads.texi: ... this.
6629 * manual/Makefile (chapters): Update.
6631 2013-03-18 Roland McGrath <roland@hack.frob.com>
6634 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6635 on argument names, not just descriptions.
6636 * malloc/memusagestat.c (options): Likewise.
6637 * nss/getent.c (options): Likewise.
6639 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6642 * iconv/iconv_prog.c (options): Put N_ translation marker
6643 on argument names, not just descriptions.
6644 * iconv/iconvconfig.c (options): Likewise.
6646 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6648 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6649 implementation which is faster on all x86_64 architectures.
6650 Tested on AMD, Intel Nehalem, SNB, IVB.
6651 * sysdeps/x86_64/strnlen.S: Likewise.
6653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6654 Remove all multiarch strlen and strnlen versions.
6655 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6656 Remove strlen and strnlen related parts.
6658 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6660 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6662 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6663 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6664 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6665 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6666 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6667 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6669 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6671 * manual/memory.texi (Malloc Tunable Parameters):
6672 Sort parameters alphabetically. Add comments for missing entries.
6674 2013-03-17 David S. Miller <davem@davemloft.net>
6676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6678 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6682 for arguments at most half maximum finite value.
6683 * math/libm-test.inc (j0_test): Add more tests.
6684 (j1_test): Likewise.
6685 (y0_test): Likewise.
6686 (y1_test): Likewise.
6687 * sysdeps/i386/fpu/libm-test-ulps: Update.
6688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6691 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6692 1 / x and functions P and Q for arguments above 0x1p256L.
6693 (__ieee754_y0l): Likewise.
6694 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6695 (__ieee754_y1l): Likewise.
6696 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6697 (j1_test): Likewise.
6698 (y0_test): Likewise.
6699 (y1_test): Likewise.
6701 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6703 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6706 2013-03-15 Roland McGrath <roland@hack.frob.com>
6708 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6709 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6710 zero since it's initialized to EXEC_PAGESIZE.
6712 * sysdeps/unix/sysv/linux/ldsodefs.h
6713 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6714 * sysdeps/generic/ldsodefs.h: ... here.
6716 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6718 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6720 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6722 * math/test-snan.c: Renamed from
6723 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6724 * math/Makefile (tests): Add test-snan.
6725 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6728 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6729 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6731 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6732 __builtin_nan family of functions.
6733 * math/libm-test.inc (initialize): Initialize qnan_value with
6734 __builtin_nan family of functions.
6735 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6737 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6739 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6740 storage class. Initialize qNaN_var and sNaN_var with
6741 __builtin_nan and __builtin_nans families of functions,
6744 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6745 (sqrt_test): Remove duplicate test with qNaN input.
6746 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6747 (round_test, signbit_test, significand_test): Note missing +/-Inf
6748 as well as qNaN tests.
6750 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6751 qNaN_var. Fix a few strings, too.
6752 * math/libm-test.inc (nan_value): Rename to qnan_value.
6753 * math/gen-libm-test.pl (%beautify): Adjust to that.
6754 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6755 * math/test-misc.c (main): Likewise.
6756 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6757 to __qnan_bytes, and __qnan_union, respectively.
6758 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6760 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6761 and lqnanval, respectively.
6762 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6763 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6764 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6765 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6767 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6768 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6771 * math/test-misc.c (main): Fix copy'n'pastos.
6772 * misc/tst-efgcvt.c (special): Likewise.
6774 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6775 Remove declarations.
6777 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6780 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6781 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6782 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6784 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6787 macro to return vdso values correctly in IFUNC implementations.
6788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6789 Optimization by using IFUNC.
6791 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6792 Richard Henderson <rth@redhat.com>
6793 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6795 * Makefile.in (bench): New target.
6796 * NEWS: Mention the benchmark framework.
6797 * Rules (bench): Likewise.
6798 (binaries-bench): Generate binaries for functions to
6800 * benchtests/Makefile: New makefile for benchmark tests.
6801 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6803 * benchtests/exp-inputs: New input file for EXP function.
6804 * benchtests/pow-inputs: New input file for POW function.
6805 * scripts/bench.pl: New script to generate source files for
6808 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6810 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6811 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6812 computations on mantissa. Use macros for rounding and
6815 (__dbl_mp): Likewise.
6816 (add_magnitudes): Likewise.
6817 (sub_magnitudes): Likewise.
6820 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6821 powers of two in terms of TWOPOW macro.
6822 (mp_no): Make type of mantissa as MANTISSA_T.
6823 [!RADIXI]: Define RADIXI.
6824 [!TWO52]: Define TWO52.
6825 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6827 * manual/nptl.texi (cindex): Modify threads to pthreads.
6829 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6831 * sysdeps/x86_64/preconfigure: Regenerated.
6833 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6836 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6838 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6839 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6841 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6842 * math/libm-test.inc (j0_test): Do not allow one spurious
6843 underflow exception.
6844 (y1_test): Likewise.
6846 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6848 * manual/Makefile (chapters): Add nptl.
6849 * manual/debug.texi (Debugging Support): Add link to Threads
6851 * manual/nptl.texi: New file.
6853 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6855 2013-03-14 Petr Baudis <pasky@ucw.cz>
6857 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6858 for non-NULL pointer before the memory validity test. Pointed
6859 out by Holger Brunck <holger.brunck@keymile.com>.
6861 2013-03-13 Andreas Schwab <schwab@suse.de>
6863 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6866 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6868 * timezone/zic.c: Update from tzcode 2013b.
6870 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6872 * manual/install.texi (Configuring and compiling):
6873 Mention i686 and i586.
6874 * INSTALL: Regenerate.
6876 2013-03-12 Roland McGrath <roland@hack.frob.com>
6878 * sysdeps/init_array/elf-init.c: New file.
6880 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6881 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6883 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6884 __gmon_start__ as global, but as static with a .preinit_array pointer.
6885 * sysdeps/init_array/gmon-start.c: New file. Use that.
6886 * sysdeps/init_array/crti.S: New file, empty except for comments.
6887 * sysdeps/init_array/crtn.S: Likewise.
6889 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6891 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6894 Remove Prefer_SSE_for_memop.
6895 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6896 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6897 HAS_PREFER_SSE_FOR_MEMOP.
6898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6901 Remove bzero, memset ifunc support.
6902 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6903 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6904 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6905 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6907 2013-03-11 Andreas Schwab <schwab@suse.de>
6910 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6913 (GLIBC_2.16): Remove pthread_atfork.
6915 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6917 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6918 (ptestcases.h): Likewise.
6920 2013-03-08 Roland McGrath <roland@hack.frob.com>
6922 * Makeconfig ($(common-objpfx)config.status): Depend on
6923 sysdeps/*/preconfigure{,.in} too.
6925 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6927 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6928 (__free_hook): Use void * instead of __malloc_ptr_t.
6929 (__malloc_hook): Likewise.
6930 (__realloc_hook): Likewise.
6931 (__memalign_hook): Likewise.
6932 (__after_morecore_hook): Likewise.
6933 * malloc/arena.c (save_malloc_hook): Likewise.
6934 (save_free_hook): Likewise.
6935 * malloc/hooks.c (malloc_hook_ini): Likewise.
6936 (realloc_hook_ini): Likewise.
6937 (memalign_hook_ini): Likewise.
6938 * malloc/malloc.c (malloc_hook_ini): Likewise.
6939 (realloc_hook_ini): Likewise.
6940 (memalign_hook_ini): Likewise.
6941 (__free_hook): Likewise.
6942 (__malloc_hook): Likewise.
6943 (__realloc_hook): Likewise.
6944 (__memalign_hook): Likewise.
6945 (__libc_malloc): Likewise.
6946 (__libc_free): Likewise.
6947 (__libc_realloc): Likewise.
6948 (__libc_memalign): Likewise.
6949 (__libc_valloc): Likewise.
6950 (__libc_pvalloc): Likewise.
6951 (__libc_calloc): Likewise.
6952 (__posix_memalign): Likewise.
6953 * malloc/morecore.c (__sbrk): Likewise.
6954 (__default_morecore): Likewise.
6956 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6958 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6959 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6962 * malloc/malloc.h (__malloc_size_t): Remove macro.
6963 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6965 (old_memalign_hook): Likewise.
6966 (old_realloc_hook): Likewise.
6967 (struct hdr): Likewise.
6969 (mallochook): Likewise.
6970 (memalignhook): Likewise.
6971 (reallochook): Likewise.
6972 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6973 (tr_old_realloc_hook): Likewise.
6974 (tr_old_memalign_hook): Likewise.
6975 (tr_mallochook): Likewise.
6976 (tr_reallochook): Likewise.
6977 (tr_memalignhook): Likewise.
6979 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6982 default_ldbl_pack and using as default implementation.
6983 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6985 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6986 redundant definition.
6987 (ldbl_insert_mantissa): Likewise.
6988 (ldbl_canonicalize): Likewise.
6989 (ldbl_nearbyint): Likewise.
6990 (ldbl_pack): Rename to ldbl_pack_ppc.
6991 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6992 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6993 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6995 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6998 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7000 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7002 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7003 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7004 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7006 2013-03-07 Andreas Jaeger <aj@suse.de>
7008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7011 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7013 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7014 Include mpa.h and declare __MPEXP.
7015 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7017 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7019 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7020 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7021 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7023 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7024 (__slowpow): Use long double EXPL and LOGL functions to
7026 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7027 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7029 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7030 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7031 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7034 intermediate variable to calculate exponent.
7036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7040 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7041 [!NO__SQR]: Define __sqr.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7043 and NO__SQR. Remove all code except __mul and __sqr. Include
7044 sysdeps/ieee754/dbl-64/mpa.c.
7045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7048 * posix/Makefile (tests): Add tst-pathconf.
7049 * posix/tst-pathconf.c: New test case.
7050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7052 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7054 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7056 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7058 2013-03-06 Andreas Jaeger <aj@suse.de>
7060 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7061 definition via __MAP_ANONYMOUS.
7063 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7064 it's not part of Linux headers.
7066 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7067 (MAP_HUGE_MASK): Define.
7069 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7071 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7074 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7075 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7078 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7080 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7082 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7083 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7084 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7085 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7086 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7087 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7089 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7093 Handle f2fs and efivarfs.
7095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7098 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7099 (EFIVARFS_MAGIC): Add.
7100 (F2FS_LINK_MAX): Add.
7102 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7104 * stdio-common/vfprintf.c: Replace __builtin_expect with
7107 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7110 * sysdeps/generic/bp-sym.h: Remove file.
7111 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7112 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7113 <bp-sym.h> and <bp-asm.h>.
7114 (__longjmp): Don't use BP_SYM.
7115 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7117 (memcpy): Don't use BP_SYM.
7118 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7119 <bp-sym.h> and <bp-asm.h>.
7120 (memcpy): Don't use BP_SYM.
7121 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7123 (memcpy): Don't use BP_SYM.
7124 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7126 (memset): Don't use BP_SYM.
7127 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7128 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7129 (__bzero): Don't use BP_SYM.
7130 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7131 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7132 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7133 <bp-sym.h> and <bp-asm.h>.
7134 (memcmp): Don't use BP_SYM. Remove comment about bounded
7136 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7137 <bp-sym.h> and <bp-asm.h>.
7138 (memcpy): Don't use BP_SYM.
7139 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7140 <bp-sym.h> and <bp-asm.h>.
7141 (memset): Don't use BP_SYM.
7142 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7143 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7144 (__bzero): Don't use BP_SYM.
7145 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7146 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7147 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7148 <bp-sym.h> and <bp-asm.h>.
7149 (strncmp): Don't use BP_SYM. Remove comment about bounded
7151 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7152 <bp-sym.h> and <bp-asm.h>.
7153 (memcpy): Don't use BP_SYM.
7154 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7155 <bp-sym.h> and <bp-asm.h>.
7156 (memset): Don't use BP_SYM.
7157 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7158 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7159 (__bzero): Don't use BP_SYM.
7160 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7161 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7163 <bp-sym.h> and <bp-asm.h>.
7164 (__memchr): Don't use BP_SYM.
7165 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7166 <bp-sym.h> and <bp-asm.h>.
7167 (memcmp): Don't use BP_SYM. Remove comment about bounded
7169 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7170 <bp-sym.h> and <bp-asm.h>.
7171 (memcpy): Don't use BP_SYM.
7172 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7173 <bp-sym.h> and <bp-asm.h>.
7174 (__mempcpy): Don't use BP_SYM.
7175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7176 <bp-sym.h> and <bp-asm.h>.
7177 (__memrchr): Don't use BP_SYM.
7178 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (memset): Don't use BP_SYM.
7181 (__bzero): Likewise.
7182 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7183 <bp-sym.h> and <bp-asm.h>.
7184 (__rawmemchr): Don't use BP_SYM.
7185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7186 <bp-sym.h> and <bp-asm.h>.
7187 (__STRCMP): Don't use BP_SYM.
7188 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7189 <bp-sym.h> and <bp-asm.h>.
7190 (strchr): Don't use BP_SYM.
7191 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7192 <bp-sym.h> and <bp-asm.h>.
7193 (__strchrnul): Don't use BP_SYM.
7194 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7195 <bp-sym.h> and <bp-asm.h>.
7196 (strlen): Don't use BP_SYM.
7197 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7198 <bp-sym.h> and <bp-asm.h>.
7199 (strncmp): Don't use BP_SYM. Remove comment about bounded
7201 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7202 <bp-sym.h> and <bp-asm.h>.
7203 (__strnlen): Don't use BP_SYM.
7204 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7205 <bp-sym.h> and <bp-asm.h>.
7206 (__GI__setjmp): Don't use BP_SYM.
7207 (_setjmp): Likewise.
7208 (__sigsetjmp): Likewise.
7209 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7210 (L(start_addresses)): Don't use BP_SYM.
7212 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7214 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7215 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7216 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7217 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7218 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7220 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7221 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7222 about bounded pointers.
7223 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7224 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7225 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7227 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7228 about bounded pointers. Remove GKM FIXME comments.
7229 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7230 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7232 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7233 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7234 Remove GKM FIXME comments.
7235 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7236 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7237 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7239 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7240 about bounded pointers. Remove GKM FIXME comment.
7241 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7243 (strncmp): Don't use BP_SYM. Remove comment about bounded
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7246 <bp-sym.h> and <bp-asm.h>.
7247 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7249 <bp-sym.h> and <bp-asm.h>.
7250 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7253 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7255 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7258 2013-03-05 David S. Miller <davem@davemloft.net>
7260 * po/es.po: Update from translation team.
7262 2013-03-05 Andreas Jaeger <aj@suse.de>
7264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7265 <bits/mman-linux.h>.
7266 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7268 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7269 <bits/mman-linux.h> to end of file.
7270 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7272 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7273 <bits/mman-linux.h> to end of file.
7274 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7276 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7277 <bits/mman-linux.h> to end of file.
7279 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7280 (MCL_CURRENT, MCL_FUTURE): Define here.
7282 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7285 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7287 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7289 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7292 fourth parameter needed for rt_sigprocmask syscall.
7293 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7294 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7297 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7298 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7300 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7303 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7304 comment about bounded pointers.
7305 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7306 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7308 2013-03-04 Andreas Jaeger <aj@suse.de>
7310 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7313 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7314 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7315 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7316 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7318 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7320 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7324 __ieee754_sqrl instead of __sqrl.
7326 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7328 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7329 * sysdeps/powerpc/fpu_control.h: ... here.
7330 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7331 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7332 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7333 * sysdeps/powerpc/bits/mathinline.h: ... here.
7335 2013-03-01 Roland McGrath <roland@hack.frob.com>
7337 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7338 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7339 to just [NEED_DL_SYSINFO_DSO].
7340 * elf/dl-support.c: Likewise.
7341 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7342 * elf/rtld.c (dl_main): Likewise.
7343 * elf/setup-vdso.h (setup_vdso): Likewise.
7344 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7345 * sysdeps/unix/sysv/linux/dl-sysdep.c
7346 (_dl_discover_osversion): Likewise.
7348 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7350 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7351 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7353 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7355 * NEWS: Mention libm performance improvements and non-x86 PI
7358 * csu/libc-start.c (__pthread_initialize_minimal): Change
7360 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7362 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7365 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7366 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7367 <bp-sym.h> and <bp-asm.h>.
7368 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7369 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7371 (memcpy): Don't use BP_SYM.
7372 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7374 (__mpn_add_n): Don't use BP_SYM.
7375 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7376 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7378 (__mpn_addmul_1): Don't use BP_SYM.
7379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7380 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7382 (_setjmp): Don't use BP_SYM.
7383 (__novmx_setjmp): Likewise.
7384 (__GI__setjmp): Likewise.
7385 (__vmx_setjmp): Likewise.
7386 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7388 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7389 (__bzero): Don't use BP_SYM.
7390 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7391 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7392 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7393 <bp-sym.h> and <bp-asm.h>.
7394 (memcpy): Don't use BP_SYM.
7395 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7396 <bp-sym.h> and <bp-asm.h>.
7397 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7398 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7399 <bp-sym.h> and <bp-asm.h>.
7400 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7401 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7403 (__mpn_lshift): Don't use BP_SYM.
7404 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7405 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7407 (memset): Don't use BP_SYM.
7408 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7409 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7410 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7412 (__mpn_mul_1): Don't use BP_SYM.
7413 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7415 <bp-sym.h> and <bp-asm.h>.
7416 (memcmp): Don't use BP_SYM.
7417 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7418 <bp-sym.h> and <bp-asm.h>.
7419 (memcpy): Don't use BP_SYM.
7420 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7421 <bp-sym.h> and <bp-asm.h>.
7422 (memset): Don't use BP_SYM.
7423 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7424 <bp-sym.h> and <bp-asm.h>.
7425 (strncmp): Don't use BP_SYM.
7426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7427 <bp-sym.h> and <bp-asm.h>.
7428 (memcpy): Don't use BP_SYM.
7429 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7430 <bp-sym.h> and <bp-asm.h>.
7431 (memset): Don't use BP_SYM.
7432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7433 <bp-sym.h> and <bp-asm.h>.
7434 (__memchr): Don't use BP_SYM.
7435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7436 <bp-sym.h> and <bp-asm.h>.
7437 (memcmp): Don't use BP_SYM.
7438 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7439 <bp-sym.h> and <bp-asm.h>.
7440 (memcpy): Don't use BP_SYM.
7441 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7442 <bp-sym.h> and <bp-asm.h>.
7443 (__mempcpy): Don't use BP_SYM.
7444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7445 <bp-sym.h> and <bp-asm.h>.
7446 (__memrchr): Don't use BP_SYM.
7447 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7448 <bp-sym.h> and <bp-asm.h>.
7449 (memset): Don't use BP_SYM.
7450 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7451 <bp-sym.h> and <bp-asm.h>.
7452 (__rawmemchr): Don't use BP_SYM.
7453 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7454 <bp-sym.h> and <bp-asm.h>.
7455 (__STRCMP): Don't use BP_SYM.
7456 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7457 <bp-sym.h> and <bp-asm.h>.
7458 (strchr): Don't use BP_SYM.
7459 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7460 <bp-sym.h> and <bp-asm.h>.
7461 (__strchrnul): Don't use BP_SYM.
7462 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7463 <bp-sym.h> and <bp-asm.h>.
7464 (strlen): Don't use BP_SYM.
7465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7466 <bp-sym.h> and <bp-asm.h>.
7467 (strncmp): Don't use BP_SYM.
7468 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7469 <bp-sym.h> and <bp-asm.h>.
7470 (__strnlen): Don't use BP_SYM.
7471 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7473 (__mpn_rshift): Don't use BP_SYM.
7474 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7475 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7476 <bp-sym.h> and <bp-asm.h>.
7477 (__sigsetjmp): Don't use BP_SYM.
7478 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7479 (L(start_addresses)): Don't use BP_SYM.
7481 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7483 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7484 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7485 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7486 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7488 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7489 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7490 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7491 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7493 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7495 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7496 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7498 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7500 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7501 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7502 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7504 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7506 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7508 (strncmp): Don't use BP_SYM,
7509 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7511 (__mpn_sub_n): Don't use BP_SYM.
7512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7513 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7515 (__mpn_submul_1): Don't use BP_SYM.
7516 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7518 <bp-sym.h> and <bp-asm.h>.
7519 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7521 <bp-sym.h> and <bp-asm.h>.
7522 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7525 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7528 Use ZK to minimize writes to Z.
7529 (sub_magnitudes): Simplify code a bit.
7530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7531 Use ZK to minimize writes to Z.
7532 (sub_magnitudes): Simplify code a bit.
7534 2013-02-27 Roland McGrath <roland@hack.frob.com>
7536 * csu/gmon-start.c: Add special exception to license text.
7538 2013-02-27 Richard Henderson <rth@redhat.com>
7540 * scripts/config.guess: Update from config.git.
7541 * scripts/config.sub: Likewise.
7543 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7545 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7547 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7549 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7551 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7553 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7555 2013-02-26 Roland McGrath <roland@hack.frob.com>
7557 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7558 [$(build-shared = yes].
7560 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7562 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7563 (__mul): Reduce iterations for calculating mantissa.
7565 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7567 (__mpranred): Likewise.
7570 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7571 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7573 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7575 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7576 Define __attribute__.
7578 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7580 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7582 * posix/regex_internal.h (__attribute): Remove.
7583 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7584 (re_string_context_at): Likewise.
7585 (bitset_not): Use __attribute__ and mark function as possibly
7587 (bitset_merge): Likewise.
7588 (bitset_mask): Likewise.
7589 (re_string_char_size_at): Likewise.
7590 (re_string_wchar_at): Likewise.
7591 (re_string_elem_size_at): Likewise.
7593 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7595 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7599 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7604 (__dbl_mp): Likewise.
7605 (add_magnitudes): Likewise.
7606 (sub_magnitudes): Likewise.
7610 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7613 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7616 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7620 up changes with default code.
7621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7624 2013-02-24 Allan McRae <allan@archlinux.org>
7626 * manual/socket.texi (The Internet Namespace): Order menu items
7627 to match that in the file.
7629 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7630 node listing of the info page menu.
7632 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7635 * sysdeps/i386/bp-asm.h: Remove file.
7636 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7637 (PARMS): Do not use macros from bp-asm.h.
7641 (__mpn_add_n): Do not use BP_SYM
7642 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7644 (PARMS): Do not use macros from bp-asm.h.
7647 (__mpn_addmul_1): Do not use BP_SYM
7648 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7650 (PARMS): Do not use macros from bp-asm.h.
7652 (_setjmp): Likewise. Do not use BP_SYM.
7653 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7655 (PARMS): Do not use macros from bp-asm.h.
7657 (setjmp): Likewise. Do not use BP_SYM.
7658 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7660 (PARMS): Do not use macros from bp-asm.h.
7661 (__frexp): Do not use BP_SYM.
7663 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7665 (PARMS): Do not use macros from bp-asm.h.
7666 (__frexpf): Do not use BP_SYM.
7668 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7670 (PARMS): Do not use macros from bp-asm.h.
7671 (__frexpl): Do not use BP_SYM.
7673 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7675 (PARMS): Do not use macros from bp-asm.h.
7676 (__remquo): Do not use BP_SYM.
7678 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7680 (PARMS): Do not use macros from bp-asm.h.
7681 (__remquof): Do not use BP_SYM.
7682 (remquof): Likewise.
7683 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7685 (PARMS): Do not use macros from bp-asm.h.
7686 (__remquol): Do not use BP_SYM.
7687 (remquol): Likewise.
7688 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7690 (PARMS): Do not use macros from bp-asm.h.
7693 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7694 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7696 (PARMS): Do not use macros from bp-asm.h.
7697 (strlen): Do not use BP_SYM.
7698 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7700 (PARMS): Do not use macros from bp-asm.h.
7704 (__mpn_add_n): Do not use BP_SYM.
7705 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7707 (PARMS): Do not use macros from bp-asm.h.
7710 (__mpn_addmul_1): Do not use BP_SYM.
7711 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7714 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7716 (PARMS): Do not use macros from bp-asm.h.
7719 (__mpn_lshift): Do not use BP_SYM.
7720 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7722 (PARMS): Do not use macros from bp-asm.h.
7726 (memcpy): Likewise. Do not use BP_SYM.
7727 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7728 libc_hidden_def and weak_alias.
7729 (mempcpy): Do not use BP_SYM in weak_alias.
7730 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7732 (PARMS): Do not use macros from bp-asm.h.
7735 [!BZERO_P] (CHR): Likewise.
7736 (memset): Likewise. Do not use BP_SYM.
7737 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7739 (PARMS): Do not use macros from bp-asm.h.
7742 (__mpn_mul_1): Do not use BP_SYM.
7743 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7745 (PARMS): Do not use macros from bp-asm.h.
7748 (__mpn_rshift): Do not use BP_SYM.
7749 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7751 (PARMS): Do not use macros from bp-asm.h.
7754 (strchr): Likewise. Do not use BP_SYM.
7755 (index): Do not use BP_SYM in weak_alias.
7756 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7758 (PARMS): Do not use macros from bp-asm.h.
7761 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7762 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7764 (PARMS): Do not use macros from bp-asm.h.
7765 (strlen): Do not use BP_SYM.
7766 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7768 (PARMS): Do not use macros from bp-asm.h.
7772 (__mpn_sub_n): Do not use BP_SYM.
7773 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7775 (PARMS): Do not use macros from bp-asm.h.
7778 (__mpn_submul_1): Do not use BP_SYM.
7779 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7781 (PARMS): Do not use macros from bp-asm.h.
7785 (__mpn_add_n): Do not use BP_SYM.
7786 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7789 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7791 (PARMS): Do not use macros from bp-asm.h.
7794 (memcmp): Do not use BP_SYM.
7795 (bcmp): Do not use BP_SYM in weak_alias.
7796 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7798 (PARMS): Do not use macros from bp-asm.h.
7802 (memcpy): Likewise. Do not use BP_SYM.
7803 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7805 (PARMS): Do not use macros from bp-asm.h.
7809 (memmove): Likewise. Do not use BP_SYM.
7810 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7812 (PARMS): Do not use macros from bp-asm.h.
7816 (__mempcpy): Likewise. Do not use BP_SYM.
7817 (mempcpy): Do not use BP_SYM in weak_alias.
7818 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7820 (PARMS): Do not use macros from bp-asm.h.
7823 [!BZERO_P] (CHR): Likewise.
7824 (memset): Likewise. Do not use BP_SYM.
7825 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7827 (PARMS): Do not use macros from bp-asm.h.
7829 (strcmp): Do not use BP_SYM.
7830 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7832 (PARMS): Do not use macros from bp-asm.h.
7835 [USE_AS_STRTOK_R] (SAVE): Likewise.
7836 (FUNCTION): Likewise. Do not use BP_SYM.
7837 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7839 (strtok_r): Likewise.
7840 (__GI___strtok_r): Likewise.
7841 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7842 (PARMS): Do not use macros from bp-asm.h.
7845 (__mpn_lshift): Do not use BP_SYM.
7846 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7847 (PARMS): Do not use macros from bp-asm.h.
7850 (__memchr): Do not use BP_SYM.
7851 (memchr): Do not use BP_SYM in weak_alias.
7852 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7853 (PARMS): Do not use macros from bp-asm.h.
7856 (memcmp): Do not use BP_SYM.
7857 (bcmp): Do not use BP_SYM in weak_alias.
7858 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7859 (PARMS): Do not use macros from bp-asm.h.
7862 (__mpn_mul_1): Do not use BP_SYM.
7863 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7865 (PARMS): Do not use macros from bp-asm.h.
7868 (__rawmemchr): Do not use BP_SYM.
7869 (rawmemchr): Do not use BP_SYM in weak_alias.
7870 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7871 (PARMS): Do not use macros from bp-asm.h.
7874 (__mpn_rshift): Do not use BP_SYM.
7875 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7876 (PARMS): Do not use macros from bp-asm.h.
7878 (__sigsetjmp): Likewise. Do not use BP_SYM.
7879 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7880 (_start): Do not use BP_SYM.
7881 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7882 (PARMS): Do not use macros from bp-asm.h.
7885 (__stpcpy): Likewise. Do not use BP_SYM.
7886 (stpcpy): Do not use BP_SYM in weak_alias.
7887 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7889 (PARMS): Do not use macros from bp-asm.h.
7893 (__stpncpy): Likewise. Do not use BP_SYM.
7894 (stpncpy): Do not use BP_SYM in weak_alias.
7895 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7896 (PARMS): Do not use macros from bp-asm.h.
7899 (strchr): Likewise. Do not use BP_SYM.
7900 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7902 (PARMS): Do not use macros from bp-asm.h.
7905 (__strchrnul): Likewise. Do not use BP_SYM.
7906 (strchrnul): Do not use BP_SYM in weak_alias.
7907 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7909 (PARMS): Do not use macros from bp-asm.h.
7911 (strcspn): Do not use BP_SYM.
7912 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7914 (PARMS): Do not use macros from bp-asm.h.
7917 (strpbrk): Likewise. Do not use BP_SYM.
7918 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7920 (PARMS): Do not use macros from bp-asm.h.
7923 (strrchr): Likewise. Do not use BP_SYM.
7924 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7925 (PARMS): Do not use macros from bp-asm.h.
7927 (strspn): Do not use BP_SYM.
7928 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7929 (PARMS): Do not use macros from bp-asm.h.
7933 (FUNCTION): Likewise. Do not use BP_SYM.
7934 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7936 (strtok_r): Likewise.
7937 (__GI___strtok_r): Likewise.
7938 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7939 (PARMS): Do not use macros from bp-asm.h.
7943 (__mpn_sub_n): Do not use BP_SYM.
7944 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7946 (PARMS): Do not use macros from bp-asm.h.
7949 (__mpn_submul_1): Do not use BP_SYM.
7950 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7952 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7954 (PARMS): Do not use macros from bp-asm.h.
7959 (__clone): Do not use BP_SYM.
7960 (clone): Do not use BP_SYM in weak_alias.
7961 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7963 (PARMS): Do not use macros from bp-asm.h.
7965 (__mmap64): Do not use BP_SYM.
7966 (mmap64): Do not use BP_SYM in weak_alias.
7967 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7968 <bp-sym.h> and <bp-asm.h>.
7969 (PARMS): Do not use macros from bp-asm.h.
7970 (__posix_fadvise64_l64): Do not use BP_SYM.
7971 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7972 (PARMS): Do not use macros from bp-asm.h.
7974 (semtimedop): Do not use BP_SYM.
7975 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7978 2013-02-21 Allan McRae <allan@archlinux.org>
7980 * manual/message.texi (Charset conversion in gettext):
7981 Move @end statement to beginning of line.
7983 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7990 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7995 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7997 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7998 tail-call to the resolved function if pltexit isn't needed.
8000 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8003 or Y being zero as being unlikely.
8004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8007 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8009 * manual/nss.texi (System Databases and Name Service Switch):
8010 Remove frobnicate @pxref.
8012 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8014 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8015 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8017 2013-02-20 Petr Machata <pmachata@redhat.com>
8019 * elf/elf.h (R_ARM_TARGET1): New macro.
8020 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8021 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8022 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8023 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8024 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8025 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8026 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8027 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8028 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8029 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8030 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8031 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8032 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8033 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8034 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8035 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8036 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8037 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8038 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8039 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8040 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8041 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8042 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8043 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8044 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8045 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8046 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8047 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8048 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8049 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8050 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8051 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8052 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8053 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8054 (R_ARM_THM_GOT_BREL12): Likewise.
8055 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8056 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8057 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8058 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8059 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8060 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8061 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8062 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8063 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8065 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8067 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8068 __attribute_used__ to __attribute__ ((unused)).
8070 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8072 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8078 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8081 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8083 (ENTER): Remove both macro definitions.
8085 (CHECK_BOUNDS_LOW): Likewise.
8086 (CHECK_BOUNDS_HIGH): Likewise.
8087 (CHECK_BOUNDS_BOTH): Likewise.
8088 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8089 (RETURN_BOUNDED_POINTER): Likewise.
8090 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8091 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8092 (POP_ERRNO_LOCATION_RETURN): Likewise.
8093 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8094 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8095 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8097 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8098 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8099 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8100 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8101 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8102 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8103 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8104 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8105 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8106 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8107 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8108 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8109 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8110 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8112 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8113 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8115 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8116 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8117 * sysdeps/i386/i586/memset.S (memset): Likewise.
8118 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8119 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8120 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8122 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8123 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8124 Change uses of L(2) to L(out).
8125 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8126 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8127 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8128 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8129 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8131 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8132 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8134 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8135 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8136 (RETURN): Do not use macro LEAVE.
8137 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8138 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8139 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8140 * sysdeps/i386/i686/memset.S (memset): Likewise.
8141 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8142 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8143 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8144 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8146 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8147 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8148 L(1_2) and L(1_3) into L(1).
8149 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8150 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8151 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8152 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8153 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8154 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8155 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8156 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8157 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8159 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8160 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8161 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8162 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8163 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8164 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8165 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8166 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8167 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8168 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8169 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8170 * sysdeps/i386/strspn.S (strspn): Likewise.
8171 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8173 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8174 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8175 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8176 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8178 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8179 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8180 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8182 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8184 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8186 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8189 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8191 * math/atest-exp.c (exp_mpn): Remove ROUND.
8192 * math/atest-exp2.c (exp_mpn): Likewise.
8193 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8195 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8196 * stdlib/tst-tls-atexit-lib.c: Likewise.
8197 * stdlib/tst-tls-atexit.c: Likewise.
8199 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8201 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8202 and __attribute_alloc_size__.
8204 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8206 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8207 __attribute_alloc_size__.
8208 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8209 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8211 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8213 * include/programs/xmalloc.h: New file.
8214 * catgets/gencat.c: Include it.
8215 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8216 * elf/pldd.c: Likewise.
8217 * iconv/iconv_charmap.c: Likewise.
8218 * iconv/iconvconfig.c: Likewise.
8219 * iconv/strtab.c: Likewise.
8220 * locale/programs/locale.c: Likewise.
8221 * locale/programs/localedef.h: Likewise.
8222 * locale/programs/simple-hash.c: Likewise.
8223 * nscd/nscd.h: Likewise.
8224 * nss/makedb.c: Likewise.
8225 * sysdeps/generic/ldconfig.h: Likewise.
8227 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8229 * Versions.def: Add GLIBC_2.18.
8230 * include/link.h (struct link_map): New member l_tls_dtor_count.
8231 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8232 (__call_tls_dtors): Likewise.
8233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8234 __cxa_thread_atexit_impl.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8251 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8252 (tests): Add test case tst-tls-atexit.
8253 (modules-names): Add shared library for tst-tls-atexit.
8254 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8255 (GLIBC_PRIVATE): Add __call_tls_dtors.
8256 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8258 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8259 * stdlib/tst-tls-atexit.c: New test case.
8260 * stdlib/tst-tls-atexit-lib.c: New test case.
8262 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8264 * elf/Versions (ld): Add _dl_find_dso_for_object.
8265 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8266 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8267 (dl_open_worker): Use _dl_find_dso_for_object.
8268 * elf/dl-sym.c (do_sym): Likewise.
8269 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8271 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8273 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8274 Syntactic changes only.
8275 (_dl_runtime_profile): Do a tail-call to the resolved function.
8277 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8280 * sysdeps/x86_64/bp-asm.h: Remove file.
8281 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8282 <bp-sym.h> and <bp-asm.h>.
8283 (__clone): Do not use BP_SYM.
8284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8285 <bp-sym.h> and <bp-asm.h>.
8286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8287 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8289 (_setjmp): Do not use BP_SYM.
8290 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8292 (setjmp): Do not use BP_SYM.
8293 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8295 (mempcpy): Do not use BP_SYM in weak_alias.
8296 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8298 (strchr): Do not use BP_SYM.
8299 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8301 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8302 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8303 (_start): Do not use BP_SYM.
8304 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8306 (strcat): Do not use BP_SYM.
8307 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8309 (STRCMP): Do not use BP_SYM.
8310 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8312 (STRCPY): Do not use BP_SYM.
8313 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8315 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8317 (FUNCTION): Do not use BP_SYM.
8318 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8320 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8322 2013-02-17 Andreas Jaeger <aj@suse.de>
8324 * time/Versions: Sort entries.
8325 * string/Versions: Likewise.
8326 * resolv/Versions: Likewise.
8327 * posix/Versions: Likewise.
8328 * iconv/Versions: Likewise.
8329 * elf/Versions: Likewise.
8330 * wcsmbs/Versions: Likewise.
8332 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8334 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8335 loop termination condition.
8337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8338 variable to calculate EZ.
8341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8342 the lower precision input.
8344 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8347 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8348 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8349 (run-via-rtld-prefix): Do not handle %-bp tests.
8350 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8351 (all-object-suffixes): Remove .ob.
8352 (bppfx): Remove variable.
8353 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8354 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8355 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8356 [$(build-bounded) = yes] (libtype.ob): Likewise.
8357 * Makerules (elide-routines.ob): Remove variable.
8358 (do-tests-clean): Do not handle *-bp.out.
8359 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8360 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8361 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8362 (tests): Do not include $(tests-bp.out).
8363 (xtests): Do not include $(xtests-bp.out).
8364 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8365 [$(build-bounded) = yes] ($(addprefix
8366 $(objpfx),$(binaries-bounded))): Remove rule.
8367 ($(objpfx)%-bp.out): Remove rule.
8368 * config.make.in (build-bounded): Remove variable.
8369 * crypt/Makefile [$(build-bounded) = yes]
8370 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8371 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8373 [$(build-bounded) = yes] (install-lib): Likewise.
8374 [$(build-bounded) = yes] (generated): Likewise.
8375 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8377 * intl/Makefile [$(build-bounded) = yes]
8378 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8379 * math/Makefile [$(build-bounded) = yes]
8380 ($(tests:%=$(objpfx)%-bp): Likewise.
8381 * misc/Makefile [$(build-bounded) = yes]
8382 ($(objpfx)tst-tsearch-bp): Likewise.
8383 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8384 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8386 * string/Makefile (o-objects.ob): Remove variable.
8387 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8388 (CFLAGS-.ob): Remove variable.
8389 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8390 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8391 both definitions of variable.
8392 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8393 (ASFLAGS-.ob): Remove variable.
8395 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8398 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8399 Remove __BOUNDED_POINTERS__ from condition.
8400 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8401 * string/bits/string2.h [!__NO_STRING_INLINES &&
8402 !__BOUNDED_POINTERS__]: Likewise.
8403 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8405 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8406 Remove conditional code.
8407 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8408 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8409 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8413 * csu/libc-start.c: Do not include <bp-sym.h>.
8414 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8415 * elf/dl-open.c: Do not include <bp-sym.h>.
8416 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8417 * math/fegetenv.c: Do not include <bp-sym.h>.
8418 (fegetenv): Do not use BP_SYM in versioned symbols.
8419 * nptl/sysdeps/pthread/bits/libc-lockP.h
8420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8423 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8425 (__pthread_mutex_destroy): Likewise.
8426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8427 (__pthread_mutex_lock): Likewise.
8428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8429 (__pthread_mutex_trylock): Likewise.
8430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8431 (__pthread_mutex_unlock): Likewise.
8432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8433 (__pthread_mutexattr_init): Likewise.
8434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8435 (__pthread_mutexattr_destroy): Likewise.
8436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8437 (__pthread_mutexattr_settype): Likewise.
8438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8439 (__pthread_rwlock_init): Likewise.
8440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8441 (__pthread_rwlock_destroy): Likewise.
8442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8443 (__pthread_rwlock_rdlock): Likewise.
8444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8445 (__pthread_rwlock_tryrdlock): Likewise.
8446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8447 (__pthread_rwlock_wrlock): Likewise.
8448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8449 (__pthread_rwlock_trywrlock): Likewise.
8450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8451 (__pthread_rwlock_unlock): Likewise.
8452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8453 (__pthread_key_create): Likewise.
8454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8455 (__pthread_setspecific): Likewise.
8456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8457 (__pthread_getspecific): Likewise.
8458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8461 (_pthread_cleanup_push_defer): Likewise.
8462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8463 (_pthread_cleanup_pop_restore): Likewise.
8464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8465 (pthread_setcancelstate): Likewise.
8466 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8468 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8469 (memchr): Do not use BP_SYM in weak_alias.
8470 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8471 (fegetenv): Do not use BP_SYM in versioned symbols.
8472 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8473 (fesetenv): Do not use BP_SYM in versioned symbols.
8474 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8475 (feupdateenv): Do not use BP_SYM in versioned symbols.
8476 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8477 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8478 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8479 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8480 (open64): Do not use BP_SYM in weak_alias.
8481 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8482 (fegetenv): Do not use BP_SYM in versioned symbols.
8483 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8484 (fesetenv): Do not use BP_SYM in versioned symbols.
8485 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8486 (feupdateenv): Do not use BP_SYM in versioned symbols.
8487 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8488 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8489 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8490 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8491 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8492 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8493 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8495 (__libc_start_main): Do not use BP_SYM.
8497 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8500 redundant return line.
8504 (sub_magnitudes): Likewise.
8510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8514 (sub_magnitudes): Likewise.
8521 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8523 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8524 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8527 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8528 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8530 of __mul for squares.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8535 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8536 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8538 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8541 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8543 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8544 prototype or function definition. Rename ubp_* variables and
8545 parameters. Remove argv definitions conditional on
8546 [__BOUNDED_POINTERS__].
8547 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8548 * elf/dl-runtime.c (_dl_fixup): Likewise.
8549 * include/set-hooks.h (RUN_HOOK): Likewise.
8550 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8552 * string/strcpy.c (strcpy): Do not use __unbounded.
8553 * sysdeps/generic/frame.h (struct layout): Likewise.
8554 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8555 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8556 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8557 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8558 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8559 (__backtrace): Likewise.
8560 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8562 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8563 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8564 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8566 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8567 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8568 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8569 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8570 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8571 Do not use __unbounded.
8572 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8573 Rename __unboundedrlimits parameter to rlimits in prototype.
8574 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8575 Do not use __unbounded.
8576 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8578 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8579 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8580 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8581 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8582 __ptrvalue or __unbounded.
8583 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8584 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8586 (__new_msgctl): Do not use __ptrvalue.
8587 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8589 (__libc_msgrcv): Do not use __ptrvalue.
8590 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8591 startup_info): Do not use __unbounded.
8592 (__libc_start_main): Likewise. Rename ubp_* variables and
8593 parameters. Remove argv definitions conditional on
8594 [__BOUNDED_POINTERS__].
8595 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8597 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8601 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8603 (__new_shmctl): Do not use __ptrvalue.
8604 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8605 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8607 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8609 (__libc_sigaction): Likewise.
8610 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8611 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8613 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8615 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8617 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8619 * string/mempcpy.c: Implement by calling memcpy.
8621 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8629 values in the mantissa.
8631 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8632 minimize writes to Z.
8633 (sub_magnitudes): Simplify code a bit.
8635 2013-02-12 Roland McGrath <roland@hack.frob.com>
8637 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8638 from the message. The linker prefixes all warnings with that already.
8640 2013-02-12 Andreas Schwab <schwab@suse.de>
8643 * posix/regexec.c (extend_buffers): Add parameter min_len.
8644 (check_matching): Pass minimum needed length.
8645 (clean_state_log_if_needed): Likewise.
8646 (get_subexp): Likewise.
8647 * posix/Makefile (tests): Add bug-regex34.
8648 (bug-regex34-ENV): Define.
8649 * posix/bug-regex34.c: New file.
8652 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8653 elements compare against the byte sequence of it, not its name.
8654 * posix/Makefile (tests): Add bug-regex35.
8655 (bug-regex35-ENV): Define.
8656 * posix/bug-regex35.c: New file.
8658 2013-02-11 Tom de Vries <tom@codesourcery.com>
8660 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8662 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8663 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8664 (CHECK_EOL): Add undef.
8666 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8668 * bits/stdlib-bsearch.h: New file.
8669 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8670 * stdlib/stdlib.h: Likewise.
8672 2013-02-11 Roland McGrath <roland@hack.frob.com>
8674 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8675 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8677 * manual/search.texi (Array Search Function): Add missing const in
8679 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8680 declaration to use rlim_t.
8681 (Basic Scheduling Functions): Remove erroneous const from
8682 sched_getparam prototype. Remove erroneous * from
8683 sched_get_priority_max and sched_get_priority_min prototypes.
8684 (Resource Usage): Fix summary @comment on vtimes to refer to
8685 sys/vtimes.h rather than vtimes.h.
8686 Add missing *s in vtimes prototype.
8687 (Limits on Resources): Fix ulimit prototype to return long int.
8688 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8689 prototypes to use long int rather than double.
8690 (BSD Random): Fix initstate and setstate to use char *, not void *.
8691 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8692 prototype to make second argument 'struct aiocb64 *const[]'.
8693 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8694 (Status of AIO Operations): Remove erroneous const in aio_return and
8695 aio_return64 prototypes.
8696 (Synchronizing I/O): Fix sync prototype to return void.
8697 * manual/startup.texi (Suboptions): Remove an erroneous const in
8698 getsubopt prototype.
8699 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8700 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8701 use size_t rather than int.
8702 (Scanning All Users): Likewise for getpwent_r.
8703 (Setting Groups): Add missing const to setgroups prototype.
8704 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8705 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8706 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8707 'const void *' rather than 'const char *'.
8708 (Host Address Functions): Likewise for inet_ntop.
8709 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8710 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8711 ssize_t for return value.
8712 (Sending Data): Likewise for send, sendto, sendmsg.
8713 (Socket Option Functions): Add a missing const in setsockopt prototype.
8714 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8715 use wchar_t for the argument.
8716 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8717 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8719 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8720 double/float/long double for second argument.
8721 Fix return types of significand, significandf, significandl.
8722 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8723 argument in fchmod prototype.
8724 (File Owner): Use uid_t and gid_t in fchown prototype.
8725 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8726 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8727 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8728 use 'const struct dirent **' as argument types to CMP function pointer
8730 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8731 (File Times): Fix summary magic @comment for struct utimbuf and utime
8732 to refer to utime.h, not time.h.
8733 * manual/string.texi (Argz Functions): Add missing const in
8734 argz_extract and argz_next prototypes.
8735 (Finding Tokens in a String): Likewise for basename.
8736 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8737 (Copying and Concatenation): Fix typo in wmemmove prototype.
8738 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8739 (Signal Stack): Remove erroneous const in sigstack prototype.
8740 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8742 (Simple Calendar Time): Likewise for stime.
8743 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8745 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8746 say sys/sysctl.h instead.
8747 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8748 and vsyslog prototypes.
8750 2013-02-11 Tom de Vries <tom@codesourcery.com>
8752 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8755 2013-02-11 Roland McGrath <roland@hack.frob.com>
8757 * misc/sys/mman.h: Fix typo in mremap comment.
8759 2013-02-08 Roland McGrath <roland@hack.frob.com>
8761 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8762 the '\0' terminator.
8764 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8767 * debug/segfault.c: Don't include <bp-checks.h>.
8768 * sysdeps/generic/bp-checks.h: Remove file.
8769 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8770 (__GETDENTS): Don't use CHECK_N.
8771 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8772 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8773 (__getgroups): Don't use CHECK_N.
8774 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8775 (setgroups): Don't use CHECK_N.
8776 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8777 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8778 (__libc_msgrcv): Don't use CHECK_N.
8779 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8780 (__libc_msgsnd): Don't use CHECK_N.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8783 (__libc_pread): Don't use CHECK_N.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8785 include <bp-checks.h>.
8786 (__libc_pread64): Don't use CHECK_N.
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8788 include <bp-checks.h>.
8789 (__libc_pwrite): Don't use CHECK_N.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8791 include <bp-checks.h>.
8792 (__libc_pwrite64): Don't use CHECK_N.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8795 (__libc_pread): Don't use CHECK_N.
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8797 include <bp-checks.h>.
8798 (__libc_pread64): Don't use CHECK_N.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8800 include <bp-checks.h>.
8801 (__libc_pwrite): Don't use CHECK_N.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8803 include <bp-checks.h>.
8804 (__libc_pwrite64): Don't use CHECK_N.
8805 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8806 (do_pread): Don't use CHECK_N.
8807 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8808 (do_pread64): Don't use CHECK_N.
8809 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8810 (do_pwrite): Don't use CHECK_N.
8811 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8812 (do_pwrite64): Don't use CHECK_N.
8813 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8814 (__libc_readv): Don't use CHECK_N.
8815 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8816 (semop): Don't use CHECK_N.
8817 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8819 (semtimedop): Don't use CHECK_N.
8820 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8821 (__libc_pread): Don't use CHECK_N.
8822 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8824 (__libc_pread64): Don't use CHECK_N.
8825 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8827 (__libc_pwrite): Don't use CHECK_N.
8828 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8830 (__libc_pwrite64): Don't use CHECK_N.
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8833 (__libc_msgrcv): Don't use CHECK_N.
8834 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8835 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8836 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8837 (__libc_writev): Don't use CHECK_N.
8839 2013-02-08 Roland McGrath <roland@hack.frob.com>
8841 * string/strcpy.c: Removed unused variable.
8843 * Makeconfig (+sysdep-includes): Define with := rather than =.
8844 Use an existing include/ subdir of each sysdeps dir before it.
8846 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8848 * nscd/connection.c (register_traced_file): Comment function.
8849 [HAVE_INOTIFY] (union __inev): Define.
8850 [HAVE_INOTIFY] (inotify_check_files): New function.
8851 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8852 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8854 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8856 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8858 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8859 loaded if not already and that a failure is permanent.
8861 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8864 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8865 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8867 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8870 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8871 (CHECK_1_NULL_OK): Likewise.
8872 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8873 (__fxstat): Do not use CHECK_1.
8874 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8876 (___fxstat64): Do not use CHECK_1.
8877 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8879 (__fxstatat): Do not use CHECK_1.
8880 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8882 (__fxstatat64): Do not use CHECK_1.
8883 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8885 (__fxstat): Do not use CHECK_1.
8886 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8888 (__fxstatat): Do not use CHECK_1.
8889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8891 (__getresgid): Do not use CHECK_1.
8892 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8894 (__getresuid): Do not use CHECK_1.
8895 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8897 (__lxstat): Do not use CHECK_1.
8898 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8900 (__old_msgctl): Do not use CHECK_1.
8901 (__new_msgctl): Likewise.
8902 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8904 (__new_setrlimit): Do not use CHECK_1.
8905 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8907 (__old_shmctl): Do not use CHECK_1.
8908 (__new_shmctl): Likewise.
8909 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8911 (__xstat): Do not use CHECK_1.
8912 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8913 (__lxstat): Do not use CHECK_1.
8914 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8916 (___lxstat64): Do not use CHECK_1.
8917 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8918 (__old_msgctl): Do not use CHECK_1.
8919 (__new_msgctl): Likewise.
8920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8922 (__gettimeofday): Do not use CHECK_1.
8923 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8924 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8925 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8927 (__gettimeofday): Do not use CHECK_1.
8928 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8929 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8930 (__new_shmctl): Do not use CHECK_1.
8931 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8933 (do_sigtimedwait): Do not use CHECK_1.
8934 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8936 (do_sigwaitinfo): Do not use CHECK_1.
8937 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8939 (msgctl): Do not use CHECK_1.
8940 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8942 (shmctl): Do not use CHECK_1.
8943 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8944 (ustat): Do not use CHECK_1.
8945 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8947 (__fxstat): Do not use CHECK_1.
8948 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8950 (__fxstatat): Do not use CHECK_1.
8951 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8953 (__lxstat): Do not use CHECK_1.
8954 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8956 (__xstat): Do not use CHECK_1.
8957 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8958 (__xstat): Do not use CHECK_1.
8959 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8960 (___xstat64): Do not use CHECK_1.
8963 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8965 (CHECK_BOUNDS_HIGH): Likewise.
8966 * string/strcpy.c: Do not include <bp-checks.h>.
8967 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8969 2013-02-07 Roland McGrath <roland@hack.frob.com>
8971 * nscd/nscd-client.h (__nscd_drop_map_ref):
8972 Add __attribute__ ((unused)).
8973 * nis/nss-nisplus.h (niserr2nss): Likewise.
8975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8976 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8978 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8979 Remove inline keyword.
8980 * include/rounding-mode.h (round_away): Likewise.
8981 * libio/wfileops.c (adjust_wide_data): Likewise.
8982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8983 (__m128i_strloadu_tolower): Likewise.
8984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8985 (__m128i_strloadu_tolower): Likewise.
8986 * time/mktime.c (ydhms_diff): Likewise.
8987 * locale/elem-hash.h (elem_hash): Likewise.
8988 * locale/setlocale.c (setdata): Likewise.
8989 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8990 (re_string_wchar_at): Likewise.
8991 (bitset_not, bitset_merge, bitset_mask): Likewise.
8992 [!(__GNUC__ > 3)] (inline): Remove macro.
8993 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8994 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8995 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8996 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8997 * string/memcmp.c (memcmp_bytes): Likewise.
8998 * locale/programs/locarchive.c (compute_hashval): Likewise.
8999 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9000 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9001 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9002 * nss/getent.c (print_rpc, print_protocols): Likewise.
9003 (print_passwd, print_group, print_aliases): Likewise.
9004 * nis/nss-nisplus.h (niserr2nss): Likewise.
9005 * nscd/connections.c (restart_p): Likewise.
9006 Change return type to bool.
9008 2013-02-05 Roland McGrath <roland@hack.frob.com>
9010 * Makeconfig (all-Depend-files): Add existing
9011 $(sorted-subdirs:=/Depend) files.
9012 (all-subdirs): Remove nss.
9013 * sysdeps/unix/inet/Subdirs: Add it here instead.
9014 * hesiod/Depend: New file.
9016 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9017 instead of calling alloca.
9019 * io/lseek.c (__lseek): Rename to __libc_lseek.
9020 Define __lseek as an alias.
9022 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9024 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9026 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9027 else clause and remove check for non-standard endianness.
9029 2013-02-04 David S. Miller <davem@davemloft.net>
9031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9033 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9036 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9037 (__ubp_memchr): Remove prototype.
9038 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9039 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9040 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9041 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9042 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9044 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9045 (__ubp_memchr): Likewise.
9046 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9047 (__ubp_memchr): Likewise.
9048 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9049 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9050 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9051 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9053 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9054 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9055 (__getcwd): Do not use CHECK_STRING.
9056 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9058 (__real_chown): Do not use CHECK_STRING.
9059 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9061 (fchownat): Do not use CHECK_STRING.
9062 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9064 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9066 (__lchown): Do not use CHECK_STRING.
9067 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9068 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9069 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9070 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9072 include <bp-checks.h>.
9073 (truncate64): Do not use CHECK_STRING.
9074 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9076 (__real_chown): Do not use CHECK_STRING.
9077 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9079 (__lchown): Do not use CHECK_STRING.
9080 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9082 (__chown): Do not use CHECK_STRING.
9083 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9085 (truncate64): Do not use CHECK_STRING.
9086 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9088 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9089 (__xmknod): Do not use CHECK_STRING.
9090 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9092 (__xmknodat): Do not use CHECK_STRING.
9093 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9094 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9096 2013-02-04 Andreas Schwab <schwab@suse.de>
9099 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9100 * include/netdb.h: Likewise for h_errno.
9101 * elf/tst-stackguard1.c: Include <tls.h>.
9103 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9105 * elf/link.h (struct link_map): Extend the l_addr comment.
9106 * include/link.h (struct link_map): Likewise.
9108 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9111 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9112 (BOUNDED_1): Remove macro.
9113 * debug/backtrace.c: Don't include <bp-checks.h>.
9114 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9115 (__backtrace): Likewise.
9116 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9118 (__backtrace): Don't use BOUNDED_1.
9119 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9121 (__backtrace): Don't use BOUNDED_1.
9122 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9123 (__backtrace): Don't use BOUNDED_1.
9124 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9125 (shmat): Don't use BOUNDED_N.
9127 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9130 * sysdeps/generic/bp-start.h: Remove file.
9131 * csu/libc-start.c: Don't include <bp-start.h>.
9132 (LIBC_START_MAIN): Set up __environ directly instead of using
9133 INIT_ARGV_and_ENVIRON.
9134 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9138 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9140 (CHECK_FCNTL): Likewise.
9141 (CHECK_N_PAGES): Likewise.
9144 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9146 (CHECK_SIGSET_NULL_OK): Likewise.
9147 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9149 (sigpending): Don't use CHECK_SIGSET.
9150 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9152 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9153 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9155 (do_sigsuspend): Don't use CHECK_SIGSET.
9156 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9158 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9159 (do_sigwait): Don't use CHECK_SIGSET.
9160 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9163 include <bp-checks.h>.
9164 (sigpending): Don't use CHECK_SIGSET.
9165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9166 include <bp-checks.h>.
9167 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9168 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9170 (sigpending): Don't use CHECK_SIGSET.
9171 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9173 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9176 * sysdeps/generic/bp-semctl.h: Remove file.
9177 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9178 <bp-checks.h> and <bp-semctl.h>.
9179 (__old_semctl): Don't use CHECK_SEMCTL.
9180 (__new_semctl): Likewise.
9181 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9183 (__old_semctl): Don't use CHECK_SEMCTL.
9184 (__new_semctl): Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9186 <bp-checks.h> and <bp-semctl.h>.
9187 (__old_semctl): Don't use CHECK_SEMCTL.
9188 (__new_semctl): Likewise.
9189 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9190 <bp-checks.h> and <bp-semctl.h>.
9191 (semctl): Don't use CHECK_SEMCTL.
9194 * Makerules (elide-bp-thunks): Remove variable.
9195 (elide-routines.oS): Don't use $(elide-bp-thunks).
9196 (elide-routines.os): Likewise.
9197 (elide-routines.o): Likewise.
9198 (elide-routines.op): Likewise.
9199 (elide-routines.og): Likewise.
9200 (objects): Don't use $(bp-thunks).
9201 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9203 (common-generated): Do not add s-proto-bp.d.
9204 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9207 Do not generate makefile rules for bounded-pointer thunks.
9208 * sysdeps/generic/bp-thunks.h: Remove file.
9209 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9210 * sysdeps/unix/s-proto-bp.S: Likewise.
9213 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9214 parts of result separately when argument is not close to line from
9215 -i to i and one part of argument is small.
9216 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9217 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9218 * math/libm-test.inc (cacos_test): Add more tests.
9219 (casin_test): Likewise.
9220 (casinh_test): Likewise.
9221 * sysdeps/i386/fpu/libm-test-ulps: Update.
9222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9224 2013-01-31 David S. Miller <davem@davemloft.net>
9226 * po/de.po: Update from translation team.
9228 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9230 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9232 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9234 * configure.in (_AC_PROG_CC_C89): New definition.
9235 * configure: Regenerate.
9237 * configure.in (AC_PROG_CPP): New definition.
9238 * configure: Regenerate.
9240 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9242 * debug/tst-backtrace.h: New file.
9243 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9244 (ret): Remove variable.
9246 (FAIL): Remove macro.
9247 (NO_INLINE): Likewise.
9248 (fn1): Use match function instead of strstr.
9249 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9250 (ret): Remove variable.
9252 (FAIL): Remove macro.
9253 (NO_INLINE): Likewise.
9254 (fn): Use match function instead of strstr.
9255 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9256 (ret): Remove variable.
9258 (FAIL): Remove macro.
9259 (NO_INLINE): Likewise.
9260 (handle_signal): Use match function instead of strstr.
9261 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9262 (ret): Remove variable.
9264 (FAIL): Remove macro.
9265 (NO_INLINE): Likewise.
9266 (handle_signal): Use match function instead of strstr.
9268 2013-01-23 Roland McGrath <roland@hack.frob.com>
9270 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9272 2013-01-23 David S. Miller <davem@davemloft.net>
9274 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9275 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9276 argument of CAS if possible.
9277 * sysdeps/sparc/sparc64/bits/atomic.h
9278 (__arch_compare_and_exchange_val_32_acq): Likewise.
9279 (__arch_compare_and_exchange_val_64_acq): Likewise.
9281 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9283 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9284 * sysdeps/posix/ulimit.c: ... this.
9286 * sysdeps/unix/bsd/ulimit.c: Remove file.
9288 2013-01-23 Adam Conrad <adconrad@0c3.net>
9290 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9291 (LDFLAGS-tst-array5): Likewise.
9293 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9296 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9297 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9298 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9299 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9301 2013-01-21 David S. Miller <davem@davemloft.net>
9303 * sysdeps/sparc/backtrace.c: New file.
9304 * sysdeps/sparc/sparc32/backtrace.h: New file.
9305 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9306 * sysdeps/sparc/sparc64/backtrace.h: New file.
9307 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9308 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9311 2013-01-21 Andreas Schwab <schwab@suse.de>
9314 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9317 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9323 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9324 Mark Mitchell <mark@codesourcery.com>
9325 Tom de Vries <tom@codesourcery.com>
9326 Paul Pluzhnikov <ppluzhnikov@google.com>
9328 * debug/tst-backtrace2.c: New file.
9329 * debug/tst-backtrace3.c: Likewise.
9330 * debug/tst-backtrace4.c: Likewise.
9331 * debug/tst-backtrace5.c: Likewise.
9332 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9333 (CFLAGS-tst-backtrace3.c): Likewise.
9334 (CFLAGS-tst-backtrace4.c): Likewise.
9335 (CFLAGS-tst-backtrace5.c): Likewise.
9336 (LDFLAGS-tst-backtrace2): Likewise.
9337 (LDFLAGS-tst-backtrace3): Likewise.
9338 (LDFLAGS-tst-backtrace4): Likewise.
9339 (LDFLAGS-tst-backtrace5): Likewise.
9340 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9341 tst-backtrace4 and tst-backtrace5.
9343 2013-01-18 Anton Blanchard <anton@samba.org>
9344 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9347 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9348 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9349 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9351 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9352 "+r" and remove output regs list as redundant. Add explicit inline
9353 asm to specify register of return val to work around compiler codegen
9354 bug. Remove (int) cast on return value. Add return type parameter to
9355 use in macro so that this macro does not truncate return value for
9357 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9358 pass to INTERNAL_VSYSCALL_NCS.
9359 (INLINE_VSYSCALL): Add 'long int' as return type to
9360 INTERNAL_VSYSCALL_NCS macro invocation.
9361 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9362 INTERNAL_VSYSCALL_NCS macro invocation.
9363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9365 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9368 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9369 Fix application of SIMD FP exception mask.
9371 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9372 mp_no from a power of two.
9373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9374 __mpexp_twomm1. Use __pow_mp.
9376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9379 2013-01-17 David S. Miller <davem@davemloft.net>
9381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9383 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9386 * include/complex.h: Condition contents on [!_COMPLEX_H].
9387 (__kernel_casinhf): New prototype.
9388 (__kernel_casinh): Likewise.
9389 (__kernel_casinhl): Likewise.
9390 * math/Makefile (libm_calls): Add k_casinh.
9391 * math/k_casinh.c: New file.
9392 * math/k_casinhf.c: Likewise.
9393 * math/k_casinhl.c: Likewise.
9394 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9395 finite nonzero arguments.
9396 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9397 finite nonzero arguments.
9398 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9399 finite nonzero arguments.
9400 * math/s_casinh.c: Do not include <float.h>.
9401 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9402 * math/s_casinhf.c: Do not include <float.h>.
9403 (__casinhf): Move code for finite nonzero arguments to
9405 * math/s_casinhl.c: Do not include <float.h>.
9406 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9408 (__casinhl): Move code for finite nonzero arguments to
9410 * math/libm-test.inc (cacos_test): Add more tests.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9414 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9416 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9417 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9418 [!HAVE_MREMAP]: Remove [defined linux] case.
9419 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9421 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9423 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9425 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9427 * elf/elf.h (R_386_SIZE32): New relocation.
9428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9430 (elf_machine_rela): Likewise.
9431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9432 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9434 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9436 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9437 (FP_FAST_FMA): Do not define.
9438 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9439 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9440 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9441 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9442 !_SOFT_FLOAT]: Likewise.
9443 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9444 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9446 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9447 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9448 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9449 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9450 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9451 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9454 2013-01-16 Andreas Schwab <schwab@suse.de>
9457 * include/stdlib.h (__mktemp): Add declaration.
9458 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9459 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9461 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9463 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9465 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9466 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9467 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9469 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9470 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9472 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9474 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9475 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9476 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9478 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9479 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9481 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9483 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9485 2013-01-15 David S. Miller <davem@davemloft.net>
9487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9488 trunc{,f} to libm-sysdep_routes.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9499 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9500 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9502 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9503 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9504 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9507 nearbyint{,f} to libm-sysdep_routes.
9508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9521 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9524 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9525 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9526 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9528 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9529 libc_feholdexcept and libc_fesetenv.
9531 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9533 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9535 2013-01-14 David S. Miller <davem@davemloft.net>
9537 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9538 (SPARC_ASM_VIS2_IFUNC): Likewise.
9539 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9541 use of 'siam' instruction.
9542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9575 routines to libm-sysdep_routines.
9576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9579 fdim/fdimf to libm-sysdep_routines.
9580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9588 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9589 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9590 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9591 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9593 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9595 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9598 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9603 local variable MPTWO.
9604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9607 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9609 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9612 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9614 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9616 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9618 * manual/pattern.texi (glob_t): Document gl_flags.
9619 (glob64_t): Likewise.
9621 2013-01-11 David S. Miller <davem@davemloft.net>
9623 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9624 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9625 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9626 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9627 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9628 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9629 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9630 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9631 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9632 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9633 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9634 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9635 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9638 sparc V9 rather than using V8 code.
9639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9642 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9647 2013-01-11 Roland McGrath <roland@hack.frob.com>
9649 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9650 not in the main loop.
9651 * configure: Regenerated.
9653 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9655 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9656 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9658 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9659 [!__GLIBC_HAVE_LONG_LONG] case.
9660 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9661 condition to just #else.
9662 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9663 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9664 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9665 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9667 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9668 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9669 #elif condition to just #else.
9670 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9671 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9672 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9673 #elif condition to just #else.
9675 2013-01-11 Steve Ellcey <sellcey@mips.com>
9677 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9678 (EF_MIPS_ARCH_64): Fix value.
9679 (EF_MIPS_ARCH_32R2): New.
9680 (EF_MIPS_ARCH_64R2): New.
9682 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9684 * Makeconfig (+link-pie-before-libc): New.
9685 (+link-pie-after-libc): Likewise.
9686 (+link-pie-tests): Likewise.
9687 (+link-pie): Rewritten.
9688 (link-before-libc): Remove $(config-LDFLAGS).
9689 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9690 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9691 (config-LDFLAGS): Renamed to ...
9692 (rtld-LDFLAGS): This.
9693 (rtld-tests-LDFLAGS): New macro.
9694 (link-libc-rpath-link): Likewise.
9695 (link-libc-tests-rpath-link): Likewise.
9696 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9697 (link-libc): Prepand $(link-libc-rpath-link).
9698 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9699 (test-program-prefix): New macro.
9700 (test-via-rtld-prefix): Likewise.
9701 (test-program-cmd): Likewise.
9702 (host-test-program-cmd): Likewise.
9703 * Makefile ($(common-objpfx)testrun.sh): Replace
9704 $(run-program-prefix) with $(test-program-prefix).
9705 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9707 ($(common-objpfx)shlib.lds): Likewise.
9708 (build-module-helper): Likewise.
9709 ($(common-objpfx)format.lds): Likewise.
9710 * Rules (binaries-pie-tests): New.
9711 (binaries-pie-notests): Likewise.
9712 (binaries-pie): Rewritten.
9713 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9714 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9715 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9716 (make-test-out): Replace $(host-built-program-cmd) with
9717 $(host-test-program-cmd).
9718 * config.make.in (build-hardcoded-path-in-tests): New variable.
9719 * configure.in (--enable-hardcoded-path-in-tests): New configure
9721 (hardcoded_path_in_tests): New AC_SUBST.
9722 * configure: Regenerated.
9723 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9724 $(built-program-cmd) with $(test-program-cmd).
9725 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9726 (test_program_cmd): This.
9727 * elf/Makefile ($(objpfx)order.out): Run test with
9728 $(test-program-prefix).
9729 ($(objpfx)order2.out): Likewise.
9730 ($(objpfx)tst-initorder.out): Likewise.
9731 ($(objpfx)tst-initorder2.out): Likewise.
9732 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9733 $(test-program-cmd).
9734 ($(objpfx)tst-array1-static.out): Likewise.
9735 ($(objpfx)tst-array2.out): Likewise.
9736 ($(objpfx)tst-array3.out): Likewise.
9737 ($(objpfx)tst-array4.out): Likewise.
9738 ($(objpfx)tst-array5.out): Likewise.
9739 ($(objpfx)tst-array5-static.out): Likewise.
9740 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9741 $(test-program-cmd).
9742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9743 $(run-program-prefix) with $(test-program-prefix).
9744 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9745 (test_program_prefix): This.
9746 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9747 $(run-program-prefix) with $(test-program-prefix).
9748 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9749 (test_program_prefix): This.
9750 * iconvdata/tst-tables.sh: Likewise.
9751 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9752 $(run-program-prefix) with $(test-program-prefix).
9753 ($(objpfx)tst-translit.out): Likewise.
9754 ($(objpfx)tst-gettext2.out): Likewise.
9755 ($(objpfx)tst-gettext4.out): Likewise.
9756 ($(objpfx)tst-gettext6.out): Likewise.
9757 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9758 (test_program_prefix): This.
9759 * intl/tst-gettext2.sh: Likewise.
9760 * intl/tst-gettext4.sh Likewise.
9761 * intl/tst-gettext6.sh: Likewise.
9762 * intl/tst-translit.sh: Likewise.
9763 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9764 with $(test-program-cmd).
9765 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9766 $(run-program-prefix) with $(test-program-prefix).
9767 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9768 (test_program_prefix): This.
9769 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9770 $(run-program-prefix) with $(test-program-prefix).
9771 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9772 (test_program_prefix): This.
9773 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9774 * posix/Makefile ($(objpfx)globtest.out): Replace
9775 $(run-via-rtld-prefix) and $(test-wrapper) with
9776 $(test-program-prefix) and $(test-via-rtld-prefix).
9777 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9778 $(test-program-prefix).
9779 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9780 $(host-test-program-cmd).
9781 (tst-spawn-ARGS): Likewise.
9782 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9783 $(test-program-prefix).
9784 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9785 (test_via_rtld_prefix): This.
9786 (test_wrapper): Renamed to ...
9787 (test_program_prefix): This.
9788 (run_program_prefix): Replaced by test_program_prefix.
9789 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9790 (test_program_prefix): This.
9791 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9792 with $(host-test-program-cmd).
9793 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9794 $(run-program-prefix) with $(test-program-prefix).
9795 ($(objpfx)tst-printf.out): Likewise.
9796 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9797 $(test-program-cmd).
9798 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9799 (test_program_prefix): This.
9800 * stdio-common/tst-unbputc.sh: Likewise.
9801 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9802 $(run-program-prefix) with $(test-program-prefix).
9803 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9804 (test_program_prefix): This.
9805 * string/Makefile ($(objpfx)tst-svc.out): Replace
9806 $(built-program-cmd) with $(test-program-cmd).
9808 2013-01-11 Andreas Jaeger <aj@suse.de>
9811 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9812 value. Sync with Linux 3.7.
9814 2013-01-10 David S. Miller <davem@davemloft.net>
9816 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9820 2013-01-10 Roland McGrath <roland@hack.frob.com>
9822 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9824 * configure: Regenerated.
9826 2013-01-10 David S. Miller <davem@davemloft.net>
9828 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9829 sparc V9 rather than using V8 code.
9830 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9831 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9833 2013-01-10 Roland McGrath <roland@hack.frob.com>
9835 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9836 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9837 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9838 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9839 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9840 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9841 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9842 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9843 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9844 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9845 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9846 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9847 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9848 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9849 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9850 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9851 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9852 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9853 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9854 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9855 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9856 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9857 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9858 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9859 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9860 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9861 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9863 2013-01-10 David S. Miller <davem@davemloft.net>
9865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9867 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9869 * posix/Makefile (tests-static): New variable.
9870 (tests): Add $(tests-static).
9871 (tst-exec-static-ARGS): New variable.
9872 (tst-spawn-static-ARGS): Likewise.
9873 * posix/tst-exec-static.c: New file.
9874 * posix/tst-spawn-static.c: Likewise.
9875 * posix/tst-exec.c: Support run directly.
9876 * posix/tst-spawn.c: Likewise.
9878 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9880 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9882 * math/bits/mathcalls.h (llrint): Likewise.
9883 (llround): Likewise.
9884 * stdlib/stdlib.h (struct drand48_data): Likewise.
9885 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9886 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9887 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9889 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9891 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9892 (elf_greg_t): Likewise.
9893 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9894 (__jmp_buf): Likewise.
9895 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9897 (llrint): Likewise, for all definitions.
9898 (llrintl): Likewise.
9900 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9901 Remove [__GNUC__] condition.
9902 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9903 condition to just [__USE_ISOC99].
9904 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9906 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9909 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9910 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9912 (_POSIX_V6_ILP32_OFF32): Likewise.
9913 (_XBS5_ILP32_OFF32): Likewise.
9914 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9915 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9917 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9919 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9922 doubles __mpexp_twomm1. Adjust usage.
9923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9926 2013-01-10 Andreas Schwab <schwab@suse.de>
9929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9930 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9932 2013-01-09 David S. Miller <davem@davemloft.net>
9935 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9936 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9937 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9938 TCP_FASTOPEN): Define.
9939 (tcp_repair_opt): New structure.
9940 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9942 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9943 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9944 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9945 (tcp_cookie_transactions): New structure.
9947 2013-01-09 Anton Blanchard <anton@samba.org>
9949 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9950 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9951 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9952 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9954 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9956 * include/features.h (__USE_ANSI): Remove.
9958 2013-01-09 Roland McGrath <roland@hack.frob.com>
9960 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9962 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9964 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9966 * sysdeps/s390/fpu/libm-test-ulps: Update.
9968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9970 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9975 (__mp_dbl): Likewise.
9976 (__dbl_mp): Likewise.
9977 (add_magnitudes): Likewise.
9978 (sub_magnitudes): Likewise.
9984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9989 (__mp_dbl): Likewise.
9990 (__dbl_mp): Likewise.
9991 (add_magnitudes): Likewise.
9992 (sub_magnitudes): Likewise.
9998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10002 (denorm): Likewise.
10003 (__mp_dbl): Likewise.
10004 (__dbl_mp): Likewise.
10005 (add_magnitudes): Likewise.
10006 (sub_magnitudes): Likewise.
10013 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10015 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10016 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10017 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10018 2 && __USE_EXTERN_INLINES]: Likewise.
10020 2013-01-08 Andreas Jaeger <aj@suse.de>
10023 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10025 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10026 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10028 2013-01-07 Anton Blanchard <anton@samba.org>
10030 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10031 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10032 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10033 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10034 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10035 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10036 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10037 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10040 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10041 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10043 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10047 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10048 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10051 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10053 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10054 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10055 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10056 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10057 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10059 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10060 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10068 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10069 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10070 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10072 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10074 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10076 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10077 (__MALLOC_PMT): Likewise.
10078 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10079 [__GNUC__], only on [_LIBC].
10080 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10081 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10082 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10083 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10084 forward declaration.
10085 (realloc_hook_ini): Likewise.
10086 (memalign_hook_ini): Likewise.
10087 (__libc_memalign): Do not use __MALLOC_PMT in variable
10089 (__libc_valloc): Likewise.
10090 (__libc_pvalloc): Likewise.
10091 (__libc_calloc): Likewise.
10092 (__posix_memalign): Likewise.
10095 * math/s_casinh.c: Include <float.h>.
10096 (__casinh): Do not do computation with squaring and square root
10097 for large arguments.
10098 * math/s_casinhf.c: Include <float.h>.
10099 (__casinhf): Do not do computation with squaring and square root
10100 for large arguments.
10101 * math/s_casinhl.c: Include <float.h>.
10102 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10103 (__casinhl): Do not do computation with squaring and square root
10104 for large arguments.
10105 * math/libm-test.inc (casin_test): Add more tests.
10106 (casinh_test): Likewise.
10107 * sysdeps/i386/fpu/libm-test-ulps: Update.
10108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10110 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10112 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10113 (__x86_64_raw_data_cache_size): Likewise.
10114 (__x86_64_data_cache_size_half): Likewise.
10115 (__x86_64_raw_data_cache_size_half): Likewise.
10116 (__x86_64_shared_cache_size): Likewise.
10117 (__x86_64_raw_shared_cache_size): Likewise.
10118 (__x86_64_shared_cache_size_half): Likewise.
10119 (__x86_64_raw_shared_cache_size_half): Likewise.
10120 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10122 (__x86_data_cache_size): This.
10123 (__x86_64_raw_data_cache_size): Renamed to ...
10124 (__x86_raw_data_cache_size): This.
10125 (__x86_64_data_cache_size_half): Renamed to ...
10126 (__x86_data_cache_size_half): This.
10127 (__x86_64_raw_data_cache_size_half): Renamed to ...
10128 (__x86_raw_data_cache_size_half): This.
10129 (__x86_64_shared_cache_size): Renamed to ...
10130 (__x86_shared_cache_size): This.
10131 (__x86_64_raw_shared_cache_size): Renamed to ...
10132 (__x86_raw_shared_cache_size): This.
10133 (__x86_64_shared_cache_size_half): Renamed to ...
10134 (__x86_shared_cache_size_half): This.
10135 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10136 (__x86_raw_shared_cache_size_half): This.
10137 * sysdeps/x86_64/memcpy.S: Updated.
10138 * sysdeps/x86_64/memset.S: Likewise.
10139 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10143 2013-01-04 David S. Miller <davem@davemloft.net>
10145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10147 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10150 1 to avoid redefinition warning.
10151 (__USE_GNU): Don't define.
10152 (init_signaling_nan): Protoize.
10154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10156 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10158 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10160 (__cpymn): Likewise.
10161 (norm): Remove commented code.
10162 (denorm): Likewise.
10163 (__mp_dbl): Likewise.
10165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10166 (__cpymn): Likewise.
10167 (norm): Remove commented code.
10168 (denorm): Likewise.
10169 (__mp_dbl): Likewise.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10173 mp_no value for 1.0 and 2.0.
10174 (norm): Use RADIXI instead of radixi.d.
10175 (denorm): Likewise.
10176 (__mul): Use 0.0 instead of zero.d.
10177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10178 mp_no value for 1.0 and 2.0.
10179 (norm): Use RADIXI instead of radixi.d.
10180 (denorm): Likewise.
10181 (__mul): Use 0.0 instead of zero.d.
10183 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10186 * math/s_casinh.c (__casinh): Reduce finite argument to first
10187 quadrant then set signs of results at the end.
10188 * math/s_casinhf.c (__casinhf): Likewise.
10189 * math/s_casinhl.c (__casinhl): Likewise.
10190 * math/libm-test.inc (casin_test): Add more tests.
10191 (casinh_test): Likewise.
10192 * sysdeps/i386/fpu/libm-test-ulps: Update.
10193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10195 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10197 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10199 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10201 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10203 (denorm): Likewise.
10204 (__mp_dbl): Likewise.
10207 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10208 and adjust the header comment.
10210 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10211 variable name from declaration.
10213 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10216 Initialize COMMON_CPUID_INDEX_7 element.
10217 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10218 (CPUID_RTM): Likewise.
10219 (HAS_RTM): Likewise.
10220 (COMMON_CPUID_INDEX_7): New enum.
10222 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10225 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10226 size is zero, record memory as freed.
10228 2013-01-03 Andreas Jaeger <aj@suse.de>
10230 * po/ia.po: Add new Interlingua translation.
10232 2012-01-03 Allan McRae <allan@archlinux.org>
10234 * locale/programs/localedef.c: Fix description of '--posix' flag.
10236 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10238 * NEWS: Update dates in second copyright notice.
10239 * README: Update copyright dates in example.
10240 * manual/libc.texinfo: Update copyright dates.
10241 * scripts/test-installation.pl: Update copyright date in --version
10244 * hurd/ctty-input.c: Fix copyright notice formatting.
10245 * hurd/ctty-output.c: Likewise.
10246 * hurd/dtable.c: Likewise.
10247 * hurd/hurd-raise.c: Likewise.
10248 * hurd/hurdprio.c: Likewise.
10249 * hurd/msgportdemux.c: Likewise.
10250 * misc/sys/file.h: Likewise.
10251 * misc/sys/ioctl.h: Likewise.
10252 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10253 * sysdeps/mach/hurd/chdir.c: Likewise.
10254 * sysdeps/mach/hurd/fchdir.c: Likewise.
10255 * sysdeps/mach/hurd/rename.c: Likewise.
10256 * sysdeps/mach/hurd/rmdir.c: Likewise.
10257 * sysdeps/mach/hurd/seekdir.c: Likewise.
10258 * sysdeps/mach/hurd/setsid.c: Likewise.
10259 * sysdeps/posix/wait3.c: Likewise.
10261 * All files with FSF copyright notices: Update copyright dates
10262 using scripts/update-copyrights.
10263 * intl/plural.c: Regenerated.
10264 * locale/programs/charmap-kw.h: Likewise.
10265 * locale/programs/locfile-kw.h: Likewise.
10267 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10269 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10272 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10273 calculation loop and add branch prediction.
10275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10276 check access beyond bounds of m1np.
10278 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10280 (__inv): Remove local variable MPTWO to use the global
10282 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10285 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10286 MP3HALFS static const.
10288 2013-01-01 David S. Miller <davem@davemloft.net>
10290 * po/ca.po: Update from translation team.
10292 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10294 * scripts/update-copyrights: New file.
10295 * Makeconfig: Reformat copyright notice.
10296 * ctype/ctype.h: Likewise.
10297 * debug/swprintf_chk.c: Likewise.
10298 * elf/dl-cache.c: Likewise.
10299 * elf/dl-debug.c: Likewise.
10300 * elf/dl-object.c: Likewise.
10301 * grp/initgroups.c: Likewise.
10302 * hurd/Makefile: Likewise.
10303 * hurd/hurd/signal.h: Likewise.
10304 * hurd/hurdfault.c: Likewise.
10305 * hurd/hurdioctl.c: Likewise.
10306 * hurd/hurdlookup.c: Likewise.
10307 * hurd/intr-msg.c: Likewise.
10308 * iconv/gconv_open.c: Likewise.
10309 * libio/swprintf.c: Likewise.
10310 * locale/lc-ctype.c: Likewise.
10311 * locale/nl_langinfo.c: Likewise.
10312 * mach/Machrules: Likewise.
10313 * mach/Makefile: Likewise.
10314 * malloc/obstack.h: Likewise.
10315 * manual/Makefile: Likewise.
10316 * manual/tsort.awk: Likewise.
10317 * misc/bits/stab.def: Likewise.
10318 * nis/nis_print_group_entry.c: Likewise.
10319 * nis/nis_table.c: Likewise.
10320 * nis/nss_compat/compat-pwd.c: Likewise.
10321 * nis/nss_compat/compat-spwd.c: Likewise.
10322 * po/Makefile: Likewise.
10323 * posix/fnmatch.c: Likewise.
10324 * posix/regex.h: Likewise.
10325 * resolv/Makefile: Likewise.
10326 * resolv/nss_dns/dns-network.c: Likewise.
10327 * resolv/res_hconf.c: Likewise.
10328 * scripts/gen-sorted.awk: Likewise.
10329 * soft-fp/soft-fp.h: Likewise.
10330 * stdio-common/printf.h: Likewise.
10331 * stdlib/monetary.h: Likewise.
10332 * stdlib/random.c: Likewise.
10333 * stdlib/random_r.c: Likewise.
10334 * sysdeps/generic/Makefile: Likewise.
10335 * sysdeps/gnu/Makefile: Likewise.
10336 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10359 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10360 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10364 * sysdeps/mach/hurd/errnos.awk: Likewise.
10365 * sysdeps/mach/hurd/fork.c: Likewise.
10366 * sysdeps/mach/hurd/getcwd.c: Likewise.
10367 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10368 * sysdeps/mach/hurd/mmap.c: Likewise.
10369 * sysdeps/mach/hurd/utimes.c: Likewise.
10370 * sysdeps/mach/hurd/xmknod.c: Likewise.
10371 * sysdeps/posix/profil.c: Likewise.
10372 * sysdeps/posix/readdir_r.c: Likewise.
10373 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10374 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10375 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10376 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10378 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10379 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10380 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10382 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10383 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10384 * sysdeps/pthread/lio_listio.c: Likewise.
10385 * sysdeps/sparc/dl-procinfo.h: Likewise.
10386 * sysdeps/unix/i386/sysdep.S: Likewise.
10387 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10388 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10389 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10390 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10392 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10393 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10394 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10395 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10396 * sysdeps/wordsize-32/divdi3.c: Likewise.
10397 * time/sys/time.h: Likewise.
10398 * wcsmbs/Makefile: Likewise.
10400 2013-01-01 David S. Miller <davem@davemloft.net>
10402 * po/fr.po: Update from translation team.
10404 * catgets/gencat.c: Update copyright year.
10405 * csu/version.c: Likewise.
10406 * debug/catchsegv.sh: Likewise.
10407 * debug/pcprofiledump.c: Likewise.
10408 * debug/xtrace.sh: Likewise.
10409 * elf/ldconfig.c: Likewise.
10410 * elf/ldd.bash.in: Likewise.
10411 * elf/pldd.c: Likewise.
10412 * elf/sotruss.ksh: Likewise.
10413 * elf/sprof.c: Likewise.
10414 * iconv/iconv_prog.c: Likewise.
10415 * iconv/iconvconfig.c: Likewise.
10416 * locale/programs/locale.c: Likewise.
10417 * locale/programs/localedef.c: Likewise.
10418 * login/programs/pt_chown.c: Likewise.
10419 * malloc/memusage.sh: Likewise.
10420 * malloc/memusagestat.c: Likewise.
10421 * malloc/mtrace.pl: Likewise.
10422 * nscd/nscd.c: Likewise.
10423 * nss/getent.c: Likewise.
10424 * nss/makedb.c: Likewise.
10425 * posix/getconf.c: Likewise.
10427 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10429 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10432 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10434 * math/bits/mathcalls.h (modf): Use __nonnull.
10436 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10438 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10439 (split): Use macro CN instead of the bare value.
10440 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10443 instead of the bare value.
10444 (power1): Likewise.
10446 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10448 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10450 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10452 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10454 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10455 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10456 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10457 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10459 2012-12-28 Andreas Jaeger <aj@suse.de>
10461 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10462 values are from Linux 3.7.
10464 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10465 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10467 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10469 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10474 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10475 variables with preprocessor constants.
10476 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10477 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10478 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10480 2012-12-27 Bruno Haible <bruno@clisp.org>
10483 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10486 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10489 and use variable directly.
10490 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10492 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10494 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10495 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10497 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10498 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10499 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10500 include directive. Remove local variable MPONE.
10501 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10502 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10505 2012-12-25 David S. Miller <davem@davemloft.net>
10507 * version.h (RELEASE): Set to "development".
10508 (VERSION): Set to "2.17.90".
10509 * NEWS: Add 2.18 section.
10511 2012-12-21 David S. Miller <davem@davemloft.net>
10513 * po/hr.po: Update from translation team.
10515 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10517 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10519 2012-12-19 Steve Ellcey <sellcey@mips.com>
10521 * NEWS: Mention new memcpy for MIPS.
10523 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10525 * manual/contrib.texi (Contributors): Spelling correction.
10527 2012-12-15 David S. Miller <davem@davemloft.net>
10529 * po/ru.po: Update from translation team.
10531 2012-12-13 David S. Miller <davem@davemloft.net>
10533 * NEWS: Mention IFUNC testsuite enhancements.
10535 * po/pl.po: Update from translation team.
10536 * po/bg.po: Likewise.
10538 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10539 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10541 2012-12-11 David S. Miller <davem@davemloft.net>
10543 * po/sv.po: Update from translation team.
10545 * po/vi.po: Update from translation team.
10547 * po/cs.po: Update from translation team.
10549 * po/de.po: Update from translation team.
10550 * po/eo.po: Likewise.
10551 * po/nl.po: Likewise.
10553 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10556 * manual/argp.texi (Argp Helper Functions): Move node to follow
10557 Argp Parsing State.
10560 * manual/conf.texi (Limits on File System Capacity): Mention if
10561 terminating null is included in the max size.
10563 2012-12-10 Andreas Jaeger <aj@suse.de>
10565 * po/cs.po: Update from translation team.
10567 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10569 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10570 void pointer and cast to uintptr_t.
10571 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10573 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10574 * sysdeps/s390/s390-64/memset.S: Likewise.
10576 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10579 * menual/message.texi (Message Translation): Fix typos.
10580 (Helper programs for gettext): Likewise.
10582 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10585 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10588 2012-12-07 David S. Miller <davem@davemloft.net>
10590 * po/libc.pot: Update.
10592 2012-12-07 Richard Henderson <rth@redhat.com>
10595 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10596 normal/normal case to before the switch.
10597 (_FP_DIV): Likewise.
10599 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10600 Mike Frysinger <vapier@gentoo.org>
10602 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10603 check for __NR_fadvise64_64.
10605 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10607 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10608 0, not just to plain "0" as a statement.
10609 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10612 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10614 * NEWS: Use sourceware.org in Bugzilla URL.
10616 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10619 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10621 * stdio-common/tst-put-error.c (do_test): Add newline to the
10622 padded test to ensure flush.
10624 2012-12-05 Jeff Law <law@redhat.com>
10626 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10628 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10630 * README: Don't refer to ports add-on as distributed separately.
10631 Mention AArch64 in list of systems supported in the ports add-on.
10633 * LICENSES: Add more non-FSF copyright and license notices.
10635 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10640 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10641 10000 as width of padded output.
10643 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10645 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10648 variable LX with __attribute__ ((unused)).
10649 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10651 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10654 with __attribute__ ((unused)).
10656 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10658 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10660 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10662 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10663 (CFLAGS-nldbl-acos.c): New variable.
10664 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10665 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10666 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10667 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10668 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10669 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10670 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10671 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10672 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10673 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10674 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10675 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10676 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10677 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10678 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10679 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10680 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10681 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10682 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10683 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10684 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10685 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10686 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10687 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10688 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10689 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10690 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10691 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10692 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10693 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10694 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10695 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10696 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10697 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10698 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10699 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10700 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10701 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10702 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10703 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10704 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10705 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10706 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10707 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10708 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10709 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10710 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10711 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10712 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10713 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10714 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10715 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10716 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10717 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10718 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10719 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10720 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10721 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10722 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10723 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10724 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10725 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10726 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10727 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10728 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10729 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10730 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10731 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10732 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10733 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10734 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10735 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10736 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10737 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10738 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10739 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10740 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10741 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10742 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10743 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10744 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10745 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10746 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10747 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10748 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10749 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10750 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10751 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10752 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10753 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10754 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10755 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10756 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10757 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10758 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10759 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10760 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10763 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10767 whole low double instead of just low 47 bits when splitting values
10770 2012-12-03 Allan McRae <allan@archlinux.org>
10772 * manual/stdio.texi (Predefined Printf Handlers): Remove
10773 @hsep and @vsep usage.
10775 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10777 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10778 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10780 2012-12-03 Jeff Law <law@redhat.com>
10782 * time/sys/time.h (settimeofday): Do not mark TV argument
10785 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10787 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10788 when currently writing and seek to current position when not.
10789 * libio/Makefile (tests): Remove bug-fclose1.
10790 * libio/bug-fclose1.c: Delete.
10792 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10794 * manual/arith.texi (feenableexcept): Fix typo.
10795 (fedisableexcept): Likewise.
10797 2012-11-30 Roland McGrath <roland@hack.frob.com>
10799 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10800 second, differently-typed declaration, rather than a cast.
10802 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10804 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10805 * include/rpc/svc.h: ... here.
10807 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10810 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10811 depending n and resplen2 to catch cases where answer
10814 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10816 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10817 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10819 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10821 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10823 2012-11-29 Roland McGrath <roland@hack.frob.com>
10825 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10827 2012-11-28 Jeff Law <law@redhat.com>
10830 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10831 dataset_temporary. Track alloca usage into alloca_used.
10832 If dataset is large allocate and release it via malloc/free.
10834 2012-06-04 Florian Weimer <fweimer@redhat.com>
10837 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10839 2012-11-28 David S. Miller <davem@davemloft.net>
10841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10843 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10846 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10847 of pi/2 rounded to nearest to 64 bits.
10848 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10849 nearest to 64 bits.
10850 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10853 2012-11-28 Jeff Law <law@redhat.com>
10854 Martin Osvald <mosvald@redhat.com>
10857 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10858 * sunrpc/svc.c: Include time.h.
10859 (__svc_accept_failed): New function.
10860 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10861 any reason other than EINTR, call __svc_accept_failed.
10862 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10863 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10865 2012-11-28 Andreas Schwab <schwab@suse.de>
10867 * scripts/abilist.awk: Also handle indirect functions in .opd
10870 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10873 * sysdeps/x86/fpu/powl_helper.c: New file.
10874 * sysdeps/x86/fpu/Makefile: Likewise.
10875 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10877 (__ieee754_powl): Use __powl_helper for finite arguments except
10878 integer exponents below 8.
10879 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10881 (__ieee754_powl): Use __powl_helper for finite arguments except
10882 integer exponents below 8.
10883 * math/libm-test.inc (pow_test): Add more tests and enable some
10884 previously disabled tests.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10888 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10889 Carlos O'Donell <carlos_odonell@mentor.com>
10891 * nss/makedb.c (is_prime): Assert that input is odd and greater
10892 than 4. Note that fact in a comment too.
10893 (next_prime): Add 4 to input.
10895 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10898 * libio/Makefile (tests): Add test case tst-fwrite-error.
10899 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10900 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10901 * libio/tst-fwrite-error.c: New test case.
10903 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10905 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10906 before casting to void *.
10907 * include/libc-internal.h (__pointer_type): New macro.
10908 (__integer_if_pointer_type_sub): Likewise.
10909 (__integer_if_pointer_type): Likewise.
10910 (cast_to_integer): Likewise.
10911 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10912 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10913 before casting to atomic64_t.
10914 (atomic_exchange_acq): Likewise.
10915 (__arch_exchange_and_add_body): Likewise.
10916 (__arch_add_body): Likewise.
10917 (atomic_add_negative): Likewise.
10918 (atomic_add_zero): Likewise.
10920 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10922 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10923 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10924 (add_fdes): Likewise.
10925 (linear_search_fdes): Likewise.
10926 (binary_search_unencoded_fdes): Likewise.
10928 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10930 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10932 2012-11-24 Adam Conrad <adconrad@0c3.net>
10934 * configure.in: Autodetect C++ header directories.
10935 * configure: Regenerated.
10937 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10939 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10941 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10945 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10947 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10948 LDBL_MANT_DIG == 106]: Disable some tests.
10949 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10951 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10956 input for small inputs. Return +/- pi/2 for large inputs.
10957 * math/libm-test.inc (atan_test): Add more tests.
10959 * sysdeps/generic/unwind-dw2-fde-glibc.c
10960 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10961 __attribute__ ((unused)).
10964 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10965 x * y if x and y are nonzero and z is zero.
10968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10969 nonzero exponents with absolute value below 0x1p-117 to +/-
10973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10974 up arguments below 2**-450, not just those below 2**-500.
10975 * math/libm-test.inc (hypot_test): Add another test.
10978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10979 Return a+b for ratio over 2**120, not 2**60.
10980 * math/libm-test.inc (hypot_test): Add another test.
10982 * math/libm-test.inc (clog_test): Use
10983 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10984 (clog10_test): Likewise.
10987 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10989 2012-11-22 Andreas Schwab <schwab@suse.de>
10991 * sysdeps/i386/fpu/libm-test-ulps: Update.
10993 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10995 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10996 printf output with newline.
10998 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11001 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11002 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11003 -z nodlopen, -z initfirst and -z execstack support.
11004 * configure: Regenerated.
11006 * elf/elf.h (DF_1_NODIRECT): New macro.
11007 (DF_1_IGNMULDEF): Likewise.
11008 (DF_1_NOKSYMS): Likewise.
11009 (DF_1_NOHDR): Likewise.
11010 (DF_1_EDITED): Likewise.
11011 (DF_1_NORELOC): Likewise.
11012 (DF_1_SYMINTPOSE): Likewise.
11013 (DF_1_GLOBAUDIT): Likewise.
11014 (DF_1_SINGLETON): Likewise.
11015 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11016 DT_1_SUPPORTED_MASK bits.
11017 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11019 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11021 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11023 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11025 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11028 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11029 (sendmmsg): Move declarations...
11030 * socket/sys/socket.h: ... here.
11031 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11032 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11034 * socket/recvmmsg.c: ... this new file.
11035 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11036 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11037 definition of __sendmmsg hidden.
11038 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11039 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11040 Move ENOSYS stub into and include it from...
11041 * socket/sendmmsg.c: ... this new file.
11042 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11043 (sysdep_routines): Move recvmmsg and sendmmsg...
11044 * socket/Makefile (routines): ... here.
11045 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11046 (GLIBC_PRIVATE): Add __sendmmsg.
11047 * include/sys/socket.h (__sendmmsg): Add declarations.
11048 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11051 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11054 variable I1 with __attribute__ ((unused)).
11055 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11057 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11059 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11060 DUMMY variables with __attribute__ ((unused)).
11062 * bits/byteswap.h: Include <bits/types.h>.
11063 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11065 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11067 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11068 string_t. Do not manually set errno.
11069 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11070 length with __strnlen. Make sure to both set errno and return it on
11073 2012-11-19 David S. Miller <davem@davemloft.net>
11075 With help from Joseph Myers.
11076 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11077 very large arguments properly.
11078 * math/libm-test.inc (atan_test): New tests.
11079 (atan2_test): New tests.
11080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11083 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11086 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11089 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11090 [POSIX] (EADDRNOTAVAIL): Likewise.
11091 [POSIX] (EAFNOSUPPORT): Likewise.
11092 [POSIX] (EALREADY): Likewise.
11093 [POSIX] (ECONNABORTED): Likewise.
11094 [POSIX] (ECONNREFUSED): Likewise.
11095 [POSIX] (ECONNRESET): Likewise.
11096 [POSIX] (EDESTADDRREQ): Likewise.
11097 [POSIX] (EDQUOT): Likewise.
11098 [POSIX] (EHOSTUNREACH): Likewise.
11099 [POSIX] (EIDRM): Likewise.
11100 [POSIX] (EISCONN): Likewise.
11101 [POSIX] (ELOOP): Likewise.
11102 [POSIX] (EMULTIHOP): Likewise.
11103 [POSIX] (ENETDOWN): Likewise.
11104 [POSIX] (ENETUNREACH): Likewise.
11105 [POSIX] (ENOBUFS): Likewise.
11106 [POSIX] (ENODATA): Likewise.
11107 [POSIX] (ENOLINK): Likewise.
11108 [POSIX] (ENOMSG): Likewise.
11109 [POSIX] (ENOPROTOOPT): Likewise.
11110 [POSIX] (ENOSR): Likewise.
11111 [POSIX] (ENOSTR): Likewise.
11112 [POSIX] (ENOTCONN): Likewise.
11113 [POSIX] (ENOTSOCK): Likewise.
11114 [POSIX] (EOPNOTSUPP): Likewise.
11115 [POSIX] (EOVERFLOW): Likewise.
11116 [POSIX] (EPROTO): Likewise.
11117 [POSIX] (EPROTONOSUPPORT): Likewise.
11118 [POSIX] (EPROTOTYPE): Likewise.
11119 [POSIX] (ESTALE): Likewise.
11120 [POSIX] (ETIME): Likewise.
11121 [POSIX] (ETXTBSY): Likewise.
11122 [POSIX] (EWOULDBLOCK): Likewise.
11123 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11124 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11125 [POSIX] (SEEK_CUR): Likewise.
11126 [POSIX] (SEEK_END): Likewise.
11127 [POSIX || UNIX98] (mode_t): Do not require.
11128 [POSIX] (off_t): Likewise.
11129 [POSIX] (pid_t): Likewise.
11130 [POSIX] (sys/stat.h): Do not allow header.
11131 [POSIX] (unistd.h): Likewise.
11132 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11133 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11134 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11135 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11137 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11138 sigevent): Specify elements.
11139 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11141 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11142 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11144 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11145 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11146 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11147 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11148 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11149 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11150 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11151 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11152 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11153 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11154 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11155 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11156 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11157 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11159 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11161 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11163 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11165 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11166 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11167 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11168 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11169 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11170 Specify lower bound on value.
11171 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11172 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11173 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11177 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11178 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11180 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11182 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11183 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11184 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11185 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11187 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11192 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11193 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11194 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11199 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11201 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11202 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11203 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11204 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11205 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11206 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11208 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11209 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11210 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11211 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11212 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11213 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11214 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11216 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11219 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11220 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11221 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11222 specify as optional.
11223 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11226 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11227 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11228 [XPG3] (NL_LANGMAX): Likewise.
11229 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11230 [POSIX || XPG3] (NL_NMAX): Likewise.
11231 [POSIX || XPG3] (NL_SETMAX): Likewise.
11232 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11233 [XPG3] (NZERO): Likewise.
11234 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11235 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11236 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11237 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11238 (REG_ERANGE): Expect.
11239 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11241 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11242 Use (void) in prototype.
11243 [POSIX] (*_t): Allow.
11244 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11245 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11246 (WRDE_BADVAL): Expect.
11248 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11250 [XPG3 || XPG4] (O_RSYNC): Likewise.
11251 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11253 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11254 [XPG3 || XPG4] (sigqueue): Likewise.
11255 [XPG3 || XPG4] (sigtimedwait): Likewise.
11256 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11257 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11258 [XPG3 || XPG4] (vsnprintf): Likewise.
11259 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11261 [XPG3 || XPG4] (blksize_t): Likewise.
11262 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11264 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11265 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11266 [XPG3 || XPG4] (struct itimerspec): Likewise.
11267 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11268 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11269 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11270 [XPG3 || XPG4] (clockid_t): Likewise.
11271 [XPG3 || XPG4] (timer_t): Likewise.
11272 [XPG3 || XPG4] (clock_getres): Likewise.
11273 [XPG3 || XPG4] (clock_gettime): Likewise.
11274 [XPG3 || XPG4] (clock_settime): Likewise.
11275 [XPG3 || XPG4] (nanosleep): Likewise.
11276 [XPG3 || XPG4] (timer_create): Likewise.
11277 [XPG3 || XPG4] (timer_delete): Likewise.
11278 [XPG3 || XPG4] (timer_gettime): Likewise.
11279 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11280 [XPG3 || XPG4] (timer_settime): Likewise.
11281 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11282 [XPG3 || XPG4] (getlogin_r): Likewise.
11283 [XPG3 || XPG4] (pread): Likewise.
11284 [XPG3 || XPG4] (pthread_atfork): Likewise.
11285 [XPG3 || XPG4] (pwrite): Likewise.
11288 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11291 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11293 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11294 finalizing MALLSTREAM.
11296 * sysdeps/mach/hurd/syncfs.c: New file.
11298 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11301 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11302 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11304 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11305 (_nss_dns_gethostbyname4_r): Likewise.
11306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11307 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11309 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11312 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11314 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11316 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11317 * elf/cache.c (print_entry): Print ",AArch64" for
11320 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11321 * elf/cache.c (print_entry): Print ",hard-float" for
11324 2012-11-18 David S. Miller <davem@davemloft.net>
11326 With help from Joseph Myers.
11327 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11329 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11331 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11332 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11334 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11335 * math/libm-test.inc (y0_test): New tests.
11336 (y1_test): New tests.
11337 * sysdeps/i386/fpu/libm-test-ulps: Update.
11338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11341 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11343 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11345 * configure: Regenerated.
11347 2012-11-17 David S. Miller <davem@davemloft.net>
11350 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11351 nonzero exponents with absolute value below 0x1p-128 to +/-
11354 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11356 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11358 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11360 * posix/getconf-speclist.c: New file.
11361 * posix/posix-envs.def: Likewise.
11362 * posix/confstr.c (START_ENV_GROUP): New macro.
11363 (END_ENV_GROUP): Likewise.
11364 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11365 (KNOWN_PRESENT_ENV_STRING): Likewise.
11366 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11367 (UNKNOWN_ENVIRONMENT): Likewise.
11368 (confstr): Include posix-envs.def instead of handling
11369 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11370 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11371 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11372 (END_ENV_GROUP): Likewise.
11373 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11374 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11375 (UNKNOWN_ENVIRONMENT): Likewise.
11376 (__sysconf): Include posix-envs.def instead of handling associated
11377 cases directly here.
11378 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11379 preprocessing getconf-speclist.c rather than running getconf or
11380 generating empty file.
11382 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11384 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11386 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11389 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11391 2012-11-16 David S. Miller <davem@davemloft.net>
11393 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11394 smaller than LDBL_EPSILON/2.0L, just return xm1.
11396 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11398 * elf/tst-array1.c (init): Set constructor priority to 1000.
11399 (fini): Set destructor priority to 1000.
11400 * elf/tst-array2dep.c: Likewise.
11402 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11405 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11406 (_IO_new_file_xsputn): Also return EOF if none of the input
11407 data was written when overflow failed.
11408 * libio/iopadn.c (_IO_padn): Likewise.
11409 * libio/iowpadn.c (_IO_wpadn): Likewise.
11410 * stdio-common/tst-put-error.c: Add copyright notice.
11411 (do_test): Add case for printing padded string.
11412 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11413 _IO_padn returned error.
11414 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11415 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11418 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11420 * libio/libioP.h: Add comment note that the references to C++
11421 bits are now obsolete.
11423 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11425 * math/libm-test.inc (check_complex): Use asprintf.
11427 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11429 * debug/pcprofiledump.c (print_version): Update copyright year.
11430 * malloc/memusagestat.c (print_version): Likewise.
11432 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11435 * elf/Makefile (tests): Add tst-audit8.
11436 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11437 ($(objpfx)tst-audit8.out): New target.
11438 (tst-audit8-ENV): New variable.
11439 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11440 audit if l_reloc_result is NULL.
11441 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11442 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11443 * elf/tst-audit8.c: New file.
11445 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11447 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11448 * misc/Makefile (CFLAGS-select.c): Define.
11449 * posix/Makefile (CFLAGS-pause.c): Define.
11451 2012-11-13 David S. Miller <davem@davemloft.net>
11453 * crypt/Makefile: Move test targets after toplevel Rules
11454 inclusion. Grab any necessary sysdep routines when linking.
11455 * crypt/md5.c (md5_process_block): Remove define, we will always
11456 name it __md5_process_block.
11457 (md5_finish_ctx): Update md5_process_block call.
11458 (md5_stream): Likewise.
11459 (md5_process_bytes): Likewise.
11460 (md5_process_block): Rename to __md5_process_block and move to ...
11461 * crypt/md5-block.c: ... here.
11462 * crypt/sha256.c (sha256_process_block): Move to ...
11463 * crypt/sha256-block.c: ... here.
11464 * crypt/sha512.c (sha512_process_block): Move to ...
11465 * crypt/sha512-block.c: ... here.
11466 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11468 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11469 * sysdeps/sparc/sparc64/multiarch/Makefile
11470 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11472 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11473 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11475 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11476 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11477 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11478 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11479 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11480 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11481 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11482 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11485 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11488 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11490 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11492 * timezone/tzselect.ksh: Update from tzcode git revision
11493 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11494 * timezone/zdump.c: Likewise.
11495 * timezone/zic.c: Likewise.
11496 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11497 in TZVERSION setting, not $(PKGVERSION).
11498 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11499 REPORT_BUGS_TO settings.
11502 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11505 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11507 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11508 detection to immediately after _FP_ROUND().
11509 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11512 2012-11-11 David S. Miller <davem@davemloft.net>
11514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11516 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11517 __close rather than their public counterparts.
11519 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11521 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11523 [UNIX98] (sem_timedwait): Do not expect.
11524 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11525 [XPG4 || UNIX98] (sockatmark): Do not expect.
11526 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11527 (clock_getcpuclockid): Do not expect.
11528 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11529 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11531 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11532 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11533 [UNIX98] (vwscanf): Likewise.
11534 [UNIX98] (vswscanf): Likewise.
11536 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11538 * timezone/version.h: Remove file.
11539 * timezone/README: Do not refer to version.h.
11540 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11541 $(objpfx)version.h.
11542 ($(objpfx)zdump.o): Likewise.
11543 ($(objpfx)version.h): New target.
11545 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11547 * timezone/README: Don't mention modification to tzselect.ksh.
11548 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11549 work on unmodified tzselect.ksh. Substitute version numbers in
11552 * Makefile (format-me): Remove.
11553 (INSTALL): Adjust indentation. Use commands directly instead of
11554 using $(format-me).
11556 * aclocal.m4 (ACX_PKGVERSION): New macro.
11557 (ACX_BUGURL): Likewise.
11558 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11559 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11560 (REPORT_BUGS_TO): Likewise.
11561 * configure: Regenerated.
11562 * config.h.in (PKGVERSION): New macro.
11563 (REPORT_BUGS_TO): Likewise.
11564 * config.make.in (PKGVERSION): New variable.
11565 (PKGVERSION_TEXI): Likewise.
11566 (REPORT_BUGS_TO): Likewise.
11567 (REPORT_BUGS_TEXI): Likewise.
11568 * Makefile (format-me): Use -I$(common-objpfx)manual.
11569 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11570 ($(common-objpfx)manual/%): New target.
11571 (manual/%): Remove target.
11572 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11573 (print_version): Use PKGVERSION.
11574 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11575 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11576 and REPORT_BUGS_TO.
11577 ($(objpfx)xtrace): Likewise.
11578 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11579 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11580 (print_version): Use PKGVERSION.
11581 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11582 (do_version): Use PKGVERSION.
11583 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11585 (common-ldd-rewrite): Likewise.
11586 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11587 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11588 (print_version): Use PKGVERSION.
11589 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11590 * elf/pldd.c (argp_program_bug_address): Remove variable.
11591 (more_help): New function.
11592 (argp): Use more_help.
11593 (print_version): Use PKGVERSION.
11594 * elf/sln.c (main): Use PKGVERSION.
11595 (usage): Use REPORT_BUGS_TO.
11596 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11597 (top level): Use PKGVERSION.
11598 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11599 (print_version): Use PKGVERSION.
11600 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11601 (print_version): Use PKGVERSION.
11602 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11603 (print_version): Use PKGVERSION.
11604 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11605 (print_version): Use PKGVERSION.
11606 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11607 (print_version): Use PKGVERSION.
11608 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11609 (print_version): Use PKGVERSION.
11610 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11612 ($(objpfx)memusage): Likewise.
11613 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11614 (do_version): Use PKGVERSION.
11615 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11616 (print_version): Use PKGVERSION.
11617 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11618 ($PKGVERSION): New variable.
11619 ($REPORT_BUGS_TO): Likewise.
11620 (usage): Use $REPORT_BUGS_TO.
11621 (top level): Use $PKGVERSION.
11622 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11623 ($(objpfx)pkgvers.texi): New rule.
11624 ($(objpfx)stamp-pkgvers): Likewise.
11625 * manual/install.texi: Include pkgvers.texi.
11626 (--with-pkgversion): Document new configure option.
11627 (--with-bugurl): Likewise.
11628 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11629 than necessarily for this particular distribution. Use
11630 REPORT_BUGS_TO for where to report bugs.
11631 * INSTALL: Regenerated.
11632 * manual/libc.texinfo: Include pkgvers.texi.
11633 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11634 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11635 (print_version): Use PKGVERSION.
11636 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11637 (print_version): Use PKGVERSION.
11638 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11639 (print_version): Use PKGVERSION.
11640 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11641 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11643 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11644 (print_version): Use PKGVERSION.
11645 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11646 (print_version): Use PKGVERSION.
11647 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11650 * timezone/checktab.awk: Update from tzcode 2012i.
11651 * timezone/ialloc.c: Likewise.
11652 * timezone/private.h: Likewise.
11653 * timezone/scheck.c: Likewise.
11654 * timezone/tzfile.h: Likewise.
11655 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11656 (TZVERSION): Hardcode tzcode version number.
11657 * timezone/zdump.c: Update from tzcode 2012i.
11658 * timezone/zic.c: Likewise.
11659 * timezone/version.h: New file.
11660 * timezone/README: Describe version.h. Update upstream location.
11663 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11664 (mktemp): Enable declaration.
11665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11682 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11683 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11684 for copies of such integer values.
11685 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11686 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11688 2012-11-09 Andreas Jaeger <aj@suse.de>
11690 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11691 definitions and declarations that are provided by
11692 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11694 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11696 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11697 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11698 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11701 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11703 * elf/elf.h: Update comment before AArch64 relocations.
11705 2012-11-07 David S. Miller <davem@davemloft.net>
11707 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11708 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11709 (__start_context): Declare.
11710 (__makecontext_ret): Delete.
11711 (__makecontext): Hook up __start_context instead of
11713 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11714 (sysdep_routines): Add __start_context when in stdlib.
11716 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11718 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11719 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11720 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11722 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11723 (READELF): New variable. Use it instead of hardcoded "readelf".
11725 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11727 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11728 * sysdeps/x86/Makefile: Here.
11729 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11730 * sysdeps/x86/tst-xmmymm.sh: This.
11732 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11734 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11736 [UNIX98] (pthread_barrier_t): Do not expect.
11737 [UNIX98] (pthread_barrierattr_t): Likewise.
11738 [UNIX98] (pthread_spinlock_t): Likewise.
11739 [UNIX98] (pthread_barrier_destroy): Likewise.
11740 [UNIX98] (pthread_barrier_init): Likewise.
11741 [UNIX98] (pthread_barrier_wait): Likewise.
11742 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11743 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11744 [UNIX98] (pthread_barrierattr_init): Likewise.
11745 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11746 [UNIX98] (pthread_getcpuclockid): Likewise.
11747 [UNIX98] (pthread_mutex_timedlock): Likewise.
11748 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11749 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11750 [UNIX98] (pthread_sigmask): Likewise.
11751 [UNIX98] (pthread_spin_destroy): Likewise.
11752 [UNIX98] (pthread_spin_init): Likewise.
11753 [UNIX98] (pthread_spin_lock): Likewise.
11754 [UNIX98] (pthread_spin_trylock): Likewise.
11755 [UNIX98] (pthread_spin_unlock): Likewise.
11756 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11758 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11759 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11760 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11761 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11762 [XPG3 || XPG4] (pthread_key_t): Likewise.
11763 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11764 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11765 [XPG3 || XPG4] (pthread_once_t): Likewise.
11766 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11767 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11768 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11769 [XPG3 || XPG4] (pthread_t): Likewise.
11771 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11773 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11775 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11776 Change function return type to int.
11778 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11779 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11780 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11781 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11782 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11783 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11784 [!POSIX] (posix_madvise): Likewise.
11785 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11787 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11788 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11789 (mode_t): Likewise.
11790 (posix_mem_offset): Likewise.
11791 (posix_typed_mem_get_info): Likewise.
11792 (posix_typed_mem_open): Likewise.
11794 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11795 Change condition to [XOPEN2K8].
11797 * conform/conformtest.pl: Preprocess allow-header data with -x c
11798 instead of from stdin.
11799 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11800 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11801 [C99-based standards] (cerfc): Likewise.
11802 [C99-based standards] (cexp2): Likewise.
11803 [C99-based standards] (cexpm1): Likewise.
11804 [C99-based standards] (clog10): Likewise.
11805 [C99-based standards] (clog1p): Likewise.
11806 [C99-based standards] (clog2): Likewise.
11807 [C99-based standards] (clgamma): Likewise.
11808 [C99-based standards] (ctgamma): Likewise.
11809 [C99-based standards] (cerff): Likewise.
11810 [C99-based standards] (cerfcf): Likewise.
11811 [C99-based standards] (cexp2f): Likewise.
11812 [C99-based standards] (cexpm1f): Likewise.
11813 [C99-based standards] (clog10f): Likewise.
11814 [C99-based standards] (clog1pf): Likewise.
11815 [C99-based standards] (clog2f): Likewise.
11816 [C99-based standards] (clgammaf): Likewise.
11817 [C99-based standards] (ctgammaf): Likewise.
11818 [C99-based standards] (cerfl): Likewise.
11819 [C99-based standards] (cerfcl): Likewise.
11820 [C99-based standards] (cexp2l): Likewise.
11821 [C99-based standards] (cexpm1l): Likewise.
11822 [C99-based standards] (clog10l): Likewise.
11823 [C99-based standards] (clog1pl): Likewise.
11824 [C99-based standards] (clog2l): Likewise.
11825 [C99-based standards] (clgammal): Likewise.
11826 [C99-based standards] (ctgammal): Likewise.
11827 * conform/data/inttypes.h-data [C99-based standards]: Include
11828 stdint.h-data. Remove all expectations for stdint.h contents.
11829 [C99-based standards] (PRI*): Do not allow.
11830 [C99-based standards] (SCN*): Likewise.
11831 [C99-based standards] (*_t): Likewise.
11832 [C99-based-standards] (PRId8): Expect macro.
11833 [C99-based-standards] (PRIi8): Likewise.
11834 [C99-based-standards] (PRIo8): Likewise.
11835 [C99-based-standards] (PRIu8): Likewise.
11836 [C99-based-standards] (PRIx8): Likewise.
11837 [C99-based-standards] (PRIX8): Likewise.
11838 [C99-based-standards] (SCNd8): Likewise.
11839 [C99-based-standards] (SCNi8): Likewise.
11840 [C99-based-standards] (SCNo8): Likewise.
11841 [C99-based-standards] (SCNu8): Likewise.
11842 [C99-based-standards] (SCNx8): Likewise.
11843 [C99-based-standards] (PRIdLEAST8): Likewise.
11844 [C99-based-standards] (PRIiLEAST8): Likewise.
11845 [C99-based-standards] (PRIoLEAST8): Likewise.
11846 [C99-based-standards] (PRIuLEAST8): Likewise.
11847 [C99-based-standards] (PRIxLEAST8): Likewise.
11848 [C99-based-standards] (PRIXLEAST8): Likewise.
11849 [C99-based-standards] (SCNdLEAST8): Likewise.
11850 [C99-based-standards] (SCNiLEAST8): Likewise.
11851 [C99-based-standards] (SCNoLEAST8): Likewise.
11852 [C99-based-standards] (SCNuLEAST8): Likewise.
11853 [C99-based-standards] (SCNxLEAST8): Likewise.
11854 [C99-based-standards] (PRIdFAST8): Likewise.
11855 [C99-based-standards] (PRIiFAST8): Likewise.
11856 [C99-based-standards] (PRIoFAST8): Likewise.
11857 [C99-based-standards] (PRIuFAST8): Likewise.
11858 [C99-based-standards] (PRIxFAST8): Likewise.
11859 [C99-based-standards] (PRIXFAST8): Likewise.
11860 [C99-based-standards] (SCNdFAST8): Likewise.
11861 [C99-based-standards] (SCNiFAST8): Likewise.
11862 [C99-based-standards] (SCNoFAST8): Likewise.
11863 [C99-based-standards] (SCNuFAST8): Likewise.
11864 [C99-based-standards] (SCNxFAST8): Likewise.
11865 [C99-based-standards] (PRId16): Likewise.
11866 [C99-based-standards] (PRIi16): Likewise.
11867 [C99-based-standards] (PRIo16): Likewise.
11868 [C99-based-standards] (PRIu16): Likewise.
11869 [C99-based-standards] (PRIx16): Likewise.
11870 [C99-based-standards] (PRIX16): Likewise.
11871 [C99-based-standards] (SCNd16): Likewise.
11872 [C99-based-standards] (SCNi16): Likewise.
11873 [C99-based-standards] (SCNo16): Likewise.
11874 [C99-based-standards] (SCNu16): Likewise.
11875 [C99-based-standards] (SCNx16): Likewise.
11876 [C99-based-standards] (PRIdLEAST16): Likewise.
11877 [C99-based-standards] (PRIiLEAST16): Likewise.
11878 [C99-based-standards] (PRIoLEAST16): Likewise.
11879 [C99-based-standards] (PRIuLEAST16): Likewise.
11880 [C99-based-standards] (PRIxLEAST16): Likewise.
11881 [C99-based-standards] (PRIXLEAST16): Likewise.
11882 [C99-based-standards] (SCNdLEAST16): Likewise.
11883 [C99-based-standards] (SCNiLEAST16): Likewise.
11884 [C99-based-standards] (SCNoLEAST16): Likewise.
11885 [C99-based-standards] (SCNuLEAST16): Likewise.
11886 [C99-based-standards] (SCNxLEAST16): Likewise.
11887 [C99-based-standards] (PRIdFAST16): Likewise.
11888 [C99-based-standards] (PRIiFAST16): Likewise.
11889 [C99-based-standards] (PRIoFAST16): Likewise.
11890 [C99-based-standards] (PRIuFAST16): Likewise.
11891 [C99-based-standards] (PRIxFAST16): Likewise.
11892 [C99-based-standards] (PRIXFAST16): Likewise.
11893 [C99-based-standards] (SCNdFAST16): Likewise.
11894 [C99-based-standards] (SCNiFAST16): Likewise.
11895 [C99-based-standards] (SCNoFAST16): Likewise.
11896 [C99-based-standards] (SCNuFAST16): Likewise.
11897 [C99-based-standards] (SCNxFAST16): Likewise.
11898 [C99-based-standards] (PRId32): Likewise.
11899 [C99-based-standards] (PRIi32): Likewise.
11900 [C99-based-standards] (PRIo32): Likewise.
11901 [C99-based-standards] (PRIu32): Likewise.
11902 [C99-based-standards] (PRIx32): Likewise.
11903 [C99-based-standards] (PRIX32): Likewise.
11904 [C99-based-standards] (SCNd32): Likewise.
11905 [C99-based-standards] (SCNi32): Likewise.
11906 [C99-based-standards] (SCNo32): Likewise.
11907 [C99-based-standards] (SCNu32): Likewise.
11908 [C99-based-standards] (SCNx32): Likewise.
11909 [C99-based-standards] (PRIdLEAST32): Likewise.
11910 [C99-based-standards] (PRIiLEAST32): Likewise.
11911 [C99-based-standards] (PRIoLEAST32): Likewise.
11912 [C99-based-standards] (PRIuLEAST32): Likewise.
11913 [C99-based-standards] (PRIxLEAST32): Likewise.
11914 [C99-based-standards] (PRIXLEAST32): Likewise.
11915 [C99-based-standards] (SCNdLEAST32): Likewise.
11916 [C99-based-standards] (SCNiLEAST32): Likewise.
11917 [C99-based-standards] (SCNoLEAST32): Likewise.
11918 [C99-based-standards] (SCNuLEAST32): Likewise.
11919 [C99-based-standards] (SCNxLEAST32): Likewise.
11920 [C99-based-standards] (PRIdFAST32): Likewise.
11921 [C99-based-standards] (PRIiFAST32): Likewise.
11922 [C99-based-standards] (PRIoFAST32): Likewise.
11923 [C99-based-standards] (PRIuFAST32): Likewise.
11924 [C99-based-standards] (PRIxFAST32): Likewise.
11925 [C99-based-standards] (PRIXFAST32): Likewise.
11926 [C99-based-standards] (SCNdFAST32): Likewise.
11927 [C99-based-standards] (SCNiFAST32): Likewise.
11928 [C99-based-standards] (SCNoFAST32): Likewise.
11929 [C99-based-standards] (SCNuFAST32): Likewise.
11930 [C99-based-standards] (SCNxFAST32): Likewise.
11931 [C99-based-standards] (PRId64): Likewise.
11932 [C99-based-standards] (PRIi64): Likewise.
11933 [C99-based-standards] (PRIo64): Likewise.
11934 [C99-based-standards] (PRIu64): Likewise.
11935 [C99-based-standards] (PRIx64): Likewise.
11936 [C99-based-standards] (PRIX64): Likewise.
11937 [C99-based-standards] (SCNd64): Likewise.
11938 [C99-based-standards] (SCNi64): Likewise.
11939 [C99-based-standards] (SCNo64): Likewise.
11940 [C99-based-standards] (SCNu64): Likewise.
11941 [C99-based-standards] (SCNx64): Likewise.
11942 [C99-based-standards] (PRIdLEAST64): Likewise.
11943 [C99-based-standards] (PRIiLEAST64): Likewise.
11944 [C99-based-standards] (PRIoLEAST64): Likewise.
11945 [C99-based-standards] (PRIuLEAST64): Likewise.
11946 [C99-based-standards] (PRIxLEAST64): Likewise.
11947 [C99-based-standards] (PRIXLEAST64): Likewise.
11948 [C99-based-standards] (SCNdLEAST64): Likewise.
11949 [C99-based-standards] (SCNiLEAST64): Likewise.
11950 [C99-based-standards] (SCNoLEAST64): Likewise.
11951 [C99-based-standards] (SCNuLEAST64): Likewise.
11952 [C99-based-standards] (SCNxLEAST64): Likewise.
11953 [C99-based-standards] (PRIdFAST64): Likewise.
11954 [C99-based-standards] (PRIiFAST64): Likewise.
11955 [C99-based-standards] (PRIoFAST64): Likewise.
11956 [C99-based-standards] (PRIuFAST64): Likewise.
11957 [C99-based-standards] (PRIxFAST64): Likewise.
11958 [C99-based-standards] (PRIXFAST64): Likewise.
11959 [C99-based-standards] (SCNdFAST64): Likewise.
11960 [C99-based-standards] (SCNiFAST64): Likewise.
11961 [C99-based-standards] (SCNoFAST64): Likewise.
11962 [C99-based-standards] (SCNuFAST64): Likewise.
11963 [C99-based-standards] (SCNxFAST64): Likewise.
11964 [C99-based-standards] (PRIdMAX): Likewise.
11965 [C99-based-standards] (PRIiMAX): Likewise.
11966 [C99-based-standards] (PRIoMAX): Likewise.
11967 [C99-based-standards] (PRIuMAX): Likewise.
11968 [C99-based-standards] (PRIxMAX): Likewise.
11969 [C99-based-standards] (PRIXMAX): Likewise.
11970 [C99-based-standards] (SCNdMAX): Likewise.
11971 [C99-based-standards] (SCNiMAX): Likewise.
11972 [C99-based-standards] (SCNoMAX): Likewise.
11973 [C99-based-standards] (SCNuMAX): Likewise.
11974 [C99-based-standards] (SCNxMAX): Likewise.
11975 [C99-based-standards] (PRIdPTR): Likewise.
11976 [C99-based-standards] (PRIiPTR): Likewise.
11977 [C99-based-standards] (PRIoPTR): Likewise.
11978 [C99-based-standards] (PRIuPTR): Likewise.
11979 [C99-based-standards] (PRIxPTR): Likewise.
11980 [C99-based-standards] (PRIXPTR): Likewise.
11981 [C99-based-standards] (SCNdPTR): Likewise.
11982 [C99-based-standards] (SCNiPTR): Likewise.
11983 [C99-based-standards] (SCNoPTR): Likewise.
11984 [C99-based-standards] (SCNuPTR): Likewise.
11985 [C99-based-standards] (SCNxPTR): Likewise.
11986 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11988 * conform/data/stdint.h-data: Update comments to clarify
11990 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11992 [C99-based standards] (INT8_MAX): Likewise.
11993 [C99-based standards] (INT16_MIN): Likewise.
11994 [C99-based standards] (INT16_MAX): Likewise.
11995 [C99-based standards] (INT32_MIN): Likewise.
11996 [C99-based standards] (INT32_MAX): Likewise.
11997 [C99-based standards] (INT64_MIN): Likewise.
11998 [C99-based standards] (INT64_MAX): Likewise.
11999 [C99-based standards] (UINT8_MAX): Likewise.
12000 [C99-based standards] (UINT16_MAX): Likewise.
12001 [C99-based standards] (UINT32_MAX): Likewise.
12002 [C99-based standards] (UINT64_MAX): Likewise.
12003 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12004 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12005 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12006 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12007 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12008 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12009 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12010 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12011 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12012 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12013 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12014 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12015 [C99-based standards] (INT_FAST8_MIN): Likewise.
12016 [C99-based standards] (INT_FAST8_MAX): Likewise.
12017 [C99-based standards] (INT_FAST16_MIN): Likewise.
12018 [C99-based standards] (INT_FAST16_MAX): Likewise.
12019 [C99-based standards] (INT_FAST32_MIN): Likewise.
12020 [C99-based standards] (INT_FAST32_MAX): Likewise.
12021 [C99-based standards] (INT_FAST64_MIN): Likewise.
12022 [C99-based standards] (INT_FAST64_MAX): Likewise.
12023 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12024 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12025 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12026 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12027 [C99-based standards] (INTPTR_MIN): Likewise.
12028 [C99-based standards] (INTPTR_MAX): Likewise.
12029 [C99-based standards] (UINTPTR_MAX): Likewise.
12030 [C99-based standards] (INTMAX_MIN): Likewise.
12031 [C99-based standards] (INTMAX_MAX): Likewise.
12032 [C99-based standards] (UINTMAX_MAX): Likewise.
12033 [C99-based standards] (PTRDIFF_MIN): Likewise.
12034 [C99-based standards] (PTRDIFF_MAX): Likewise.
12035 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12036 [C99-based standards] (SIZE_MAX): Likewise.
12037 [C99-based standards] (WCHAR_MAX): Likewise.
12038 [C99-based standards] (WINT_MAX): Likewise.
12039 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12040 constraint on value.
12041 [C99-based standards] (WCHAR_MIN): Likewise.
12042 [C99-based standards] (WINT_MIN): Likewise.
12043 [C99-based standards] (*_t): Allow.
12044 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12045 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12046 Include math.h-data and complex.h-data. Remove all expectations
12047 of math.h and complex.h contents.
12048 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12050 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12051 (struct tm): Expect tag.
12052 [C99-based-standards] (wcstof): Expect function.
12053 [C99-based-standards] (wcstold): Likewise.
12054 [C99-based-standards] (wcstoll): Likewise.
12055 [C99-based-standards] (wcstoull): Likewise.
12056 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12057 macro-int-constant. Specify type.
12058 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12059 constraint on value.
12060 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12062 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12064 [ISO C standards]: Do not allow headers.
12065 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12066 wcs[abcdefghijklmnopqrstuvwxyz]*.
12067 [ISO C standards] (*_t): Do not allow.
12068 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12070 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12071 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12073 [ISO C standards]: Do not allow headers.
12074 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12075 is[abcdefghijklmnopqrstuvwxyz]*.
12076 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12077 to[abcdefghijklmnopqrstuvwxyz]*.
12078 [ISO C standards] (*_t): Do not allow.
12079 * conform/data/stdalign.h-data: New file.
12080 * conform/data/stdbool.h-data: Likewise.
12081 * conform/data/stdnoreturn.h-data: Likewise.
12083 2012-11-07 Roland McGrath <roland@hack.frob.com>
12086 * manual/filesys.texi (Directory Entries): Typo fix.
12087 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12089 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12091 * elf/elf.h (EM_AARCH64): New macro.
12092 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12093 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12094 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12095 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12096 (R_AARCH64_TLSDESC): Likewise.
12097 (NT_ARM_TLS): Likewise.
12098 (NT_ARM_HW_BREAK): Likewise.
12099 (NT_ARM_HW_WATCH): Likewise.
12101 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12104 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12105 (__ieee754_powl): Saturate nonzero exponents with absolute value
12106 below 0x1p-79 to +/- 0x1p-79.
12107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12108 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12109 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12110 nonzero exponents with absolute value below 0x1p-32 to +/-
12112 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12113 (__ieee754_powl): Saturate nonzero exponents with absolute value
12114 below 0x1p-79 to +/- 0x1p-79.
12115 * math/libm-test.inc (pow_test): Add more tests.
12117 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12120 _dl_s390_cap_flags with kernel. Increase string length.
12121 (_dl_s390_platforms): Add z196 and zEC12.
12123 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12125 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12126 Change XOPEN21K to XOPEN2K.
12128 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12130 * string/memmove.c: Use memcpy when possible.
12132 2012-11-06 Andreas Jaeger <aj@suse.de>
12134 * po/eo.po: Update from translation team.
12136 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12140 exponent and small x and y exponents, scale x or y up. Increase
12141 by 2 the exponent used in scaling up.
12142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12144 * math/libm-test.inc (fma_test): Add more tests.
12145 (fma_test_towardzero): Likewise.
12146 (fma_test_downward): Likewise.
12147 (fma_test_upward): Likewise.
12149 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12152 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12156 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12157 namespace for names of struct fields.
12158 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12160 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12161 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12163 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12166 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12168 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12170 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12174 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12177 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12181 definitely overflow as x * y not x * y + z.
12182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12184 * math/libm-test.inc (fma_test): Add more tests.
12185 (fma_test_towardzero): Likewise.
12186 (fma_test_downward): Likewise.
12187 (fma_test_upward): Likewise.
12189 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12193 * include/stub-tag.h: Remove file.
12194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12196 * manual/maint.texi (Porting): Don't reference it.
12197 * Makerules ($(objpfx)stubs): Likewise.
12198 * dirent/closedir.c: Don't include <stub-tag.h>.
12199 * dirent/dirfd.c: Likewise.
12200 * dirent/fdopendir.c: Likewise.
12201 * dirent/getdents.c: Likewise.
12202 * dirent/getdents64.c: Likewise.
12203 * dirent/opendir.c: Likewise.
12204 * dirent/readdir.c: Likewise.
12205 * dirent/readdir64.c: Likewise.
12206 * dirent/readdir64_r.c: Likewise.
12207 * dirent/readdir_r.c: Likewise.
12208 * dirent/rewinddir.c: Likewise.
12209 * dirent/seekdir.c: Likewise.
12210 * dirent/telldir.c: Likewise.
12211 * gmon/profil.c: Likewise.
12212 * grp/setgroups.c: Likewise.
12213 * inet/if_index.c: Likewise.
12214 * io/access.c: Likewise.
12215 * io/chdir.c: Likewise.
12216 * io/chmod.c: Likewise.
12217 * io/chown.c: Likewise.
12218 * io/close.c: Likewise.
12219 * io/dup.c: Likewise.
12220 * io/dup2.c: Likewise.
12221 * io/dup3.c: Likewise.
12222 * io/euidaccess.c: Likewise.
12223 * io/faccessat.c: Likewise.
12224 * io/fchdir.c: Likewise.
12225 * io/fchmod.c: Likewise.
12226 * io/fchmodat.c: Likewise.
12227 * io/fchown.c: Likewise.
12228 * io/fchownat.c: Likewise.
12229 * io/fcntl.c: Likewise.
12230 * io/flock.c: Likewise.
12231 * io/fstatfs.c: Likewise.
12232 * io/fstatfs64.c: Likewise.
12233 * io/fstatvfs.c: Likewise.
12234 * io/fstatvfs64.c: Likewise.
12235 * io/futimens.c: Likewise.
12236 * io/fxstat.c: Likewise.
12237 * io/fxstat64.c: Likewise.
12238 * io/fxstatat.c: Likewise.
12239 * io/fxstatat64.c: Likewise.
12240 * io/getcwd.c: Likewise.
12241 * io/isatty.c: Likewise.
12242 * io/lchmod.c: Likewise.
12243 * io/lchown.c: Likewise.
12244 * io/link.c: Likewise.
12245 * io/linkat.c: Likewise.
12246 * io/lseek.c: Likewise.
12247 * io/lseek64.c: Likewise.
12248 * io/lxstat64.c: Likewise.
12249 * io/mkdir.c: Likewise.
12250 * io/mkdirat.c: Likewise.
12251 * io/mkfifo.c: Likewise.
12252 * io/mkfifoat.c: Likewise.
12253 * io/open.c: Likewise.
12254 * io/open64.c: Likewise.
12255 * io/openat.c: Likewise.
12256 * io/openat64.c: Likewise.
12257 * io/pipe.c: Likewise.
12258 * io/pipe2.c: Likewise.
12259 * io/poll.c: Likewise.
12260 * io/posix_fadvise.c: Likewise.
12261 * io/posix_fadvise64.c: Likewise.
12262 * io/posix_fallocate.c: Likewise.
12263 * io/posix_fallocate64.c: Likewise.
12264 * io/read.c: Likewise.
12265 * io/readlink.c: Likewise.
12266 * io/readlinkat.c: Likewise.
12267 * io/rmdir.c: Likewise.
12268 * io/sendfile.c: Likewise.
12269 * io/sendfile64.c: Likewise.
12270 * io/statfs.c: Likewise.
12271 * io/statfs64.c: Likewise.
12272 * io/statvfs.c: Likewise.
12273 * io/statvfs64.c: Likewise.
12274 * io/symlink.c: Likewise.
12275 * io/symlinkat.c: Likewise.
12276 * io/ttyname.c: Likewise.
12277 * io/ttyname_r.c: Likewise.
12278 * io/umask.c: Likewise.
12279 * io/unlink.c: Likewise.
12280 * io/unlinkat.c: Likewise.
12281 * io/utime.c: Likewise.
12282 * io/utimensat.c: Likewise.
12283 * io/write.c: Likewise.
12284 * io/xmknod.c: Likewise.
12285 * io/xmknodat.c: Likewise.
12286 * io/xstat.c: Likewise.
12287 * io/xstat64.c: Likewise.
12288 * login/getpt.c: Likewise.
12289 * login/grantpt.c: Likewise.
12290 * login/unlockpt.c: Likewise.
12291 * math/e_acoshl.c: Likewise.
12292 * math/e_acosl.c: Likewise.
12293 * math/e_asinl.c: Likewise.
12294 * math/e_atan2l.c: Likewise.
12295 * math/e_atanhl.c: Likewise.
12296 * math/e_coshl.c: Likewise.
12297 * math/e_expl.c: Likewise.
12298 * math/e_fmodl.c: Likewise.
12299 * math/e_gammal_r.c: Likewise.
12300 * math/e_hypotl.c: Likewise.
12301 * math/e_j0l.c: Likewise.
12302 * math/e_j1l.c: Likewise.
12303 * math/e_jnl.c: Likewise.
12304 * math/e_lgammal_r.c: Likewise.
12305 * math/e_log10l.c: Likewise.
12306 * math/e_log2l.c: Likewise.
12307 * math/e_logl.c: Likewise.
12308 * math/e_powl.c: Likewise.
12309 * math/e_rem_pio2l.c: Likewise.
12310 * math/e_sinhl.c: Likewise.
12311 * math/e_sqrtl.c: Likewise.
12312 * math/fclrexcpt.c: Likewise.
12313 * math/fedisblxcpt.c: Likewise.
12314 * math/feenablxcpt.c: Likewise.
12315 * math/fegetenv.c: Likewise.
12316 * math/fegetexcept.c: Likewise.
12317 * math/fegetround.c: Likewise.
12318 * math/feholdexcpt.c: Likewise.
12319 * math/fesetenv.c: Likewise.
12320 * math/fesetround.c: Likewise.
12321 * math/feupdateenv.c: Likewise.
12322 * math/fgetexcptflg.c: Likewise.
12323 * math/fraiseexcpt.c: Likewise.
12324 * math/fsetexcptflg.c: Likewise.
12325 * math/ftestexcept.c: Likewise.
12326 * math/k_cosl.c: Likewise.
12327 * math/k_rem_pio2l.c: Likewise.
12328 * math/k_sinl.c: Likewise.
12329 * math/k_tanl.c: Likewise.
12330 * math/s_asinhl.c: Likewise.
12331 * math/s_atanl.c: Likewise.
12332 * math/s_cbrtl.c: Likewise.
12333 * math/s_erfl.c: Likewise.
12334 * math/s_expm1l.c: Likewise.
12335 * math/s_log1pl.c: Likewise.
12336 * math/s_tanhl.c: Likewise.
12337 * misc/acct.c: Likewise.
12338 * misc/brk.c: Likewise.
12339 * misc/chflags.c: Likewise.
12340 * misc/chroot.c: Likewise.
12341 * misc/fchflags.c: Likewise.
12342 * misc/fgetxattr.c: Likewise.
12343 * misc/flistxattr.c: Likewise.
12344 * misc/fremovexattr.c: Likewise.
12345 * misc/fsetxattr.c: Likewise.
12346 * misc/fsync.c: Likewise.
12347 * misc/ftruncate.c: Likewise.
12348 * misc/futimes.c: Likewise.
12349 * misc/futimesat.c: Likewise.
12350 * misc/getdomain.c: Likewise.
12351 * misc/getdtsz.c: Likewise.
12352 * misc/gethostid.c: Likewise.
12353 * misc/gethostname.c: Likewise.
12354 * misc/getloadavg.c: Likewise.
12355 * misc/getpagesize.c: Likewise.
12356 * misc/getsysstats.c: Likewise.
12357 * misc/getxattr.c: Likewise.
12358 * misc/gtty.c: Likewise.
12359 * misc/ioctl.c: Likewise.
12360 * misc/lgetxattr.c: Likewise.
12361 * misc/listxattr.c: Likewise.
12362 * misc/llistxattr.c: Likewise.
12363 * misc/lremovexattr.c: Likewise.
12364 * misc/lsetxattr.c: Likewise.
12365 * misc/lutimes.c: Likewise.
12366 * misc/madvise.c: Likewise.
12367 * misc/mincore.c: Likewise.
12368 * misc/mlock.c: Likewise.
12369 * misc/mlockall.c: Likewise.
12370 * misc/mmap.c: Likewise.
12371 * misc/mprotect.c: Likewise.
12372 * misc/msync.c: Likewise.
12373 * misc/munlock.c: Likewise.
12374 * misc/munlockall.c: Likewise.
12375 * misc/munmap.c: Likewise.
12376 * misc/preadv.c: Likewise.
12377 * misc/preadv64.c: Likewise.
12378 * misc/ptrace.c: Likewise.
12379 * misc/pwritev.c: Likewise.
12380 * misc/pwritev64.c: Likewise.
12381 * misc/readv.c: Likewise.
12382 * misc/reboot.c: Likewise.
12383 * misc/remap_file_pages.c: Likewise.
12384 * misc/removexattr.c: Likewise.
12385 * misc/revoke.c: Likewise.
12386 * misc/select.c: Likewise.
12387 * misc/setdomain.c: Likewise.
12388 * misc/setegid.c: Likewise.
12389 * misc/seteuid.c: Likewise.
12390 * misc/sethostid.c: Likewise.
12391 * misc/sethostname.c: Likewise.
12392 * misc/setregid.c: Likewise.
12393 * misc/setreuid.c: Likewise.
12394 * misc/setxattr.c: Likewise.
12395 * misc/sstk.c: Likewise.
12396 * misc/stty.c: Likewise.
12397 * misc/swapoff.c: Likewise.
12398 * misc/swapon.c: Likewise.
12399 * misc/sync.c: Likewise.
12400 * misc/syncfs.c: Likewise.
12401 * misc/syscall.c: Likewise.
12402 * misc/truncate.c: Likewise.
12403 * misc/ualarm.c: Likewise.
12404 * misc/usleep.c: Likewise.
12405 * misc/ustat.c: Likewise.
12406 * misc/utimes.c: Likewise.
12407 * misc/vhangup.c: Likewise.
12408 * misc/writev.c: Likewise.
12409 * posix/_exit.c: Likewise.
12410 * posix/alarm.c: Likewise.
12411 * posix/execve.c: Likewise.
12412 * posix/fexecve.c: Likewise.
12413 * posix/fork.c: Likewise.
12414 * posix/fpathconf.c: Likewise.
12415 * posix/getaddrinfo.c: Likewise.
12416 * posix/getegid.c: Likewise.
12417 * posix/geteuid.c: Likewise.
12418 * posix/getgid.c: Likewise.
12419 * posix/getgroups.c: Likewise.
12420 * posix/getlogin.c: Likewise.
12421 * posix/getlogin_r.c: Likewise.
12422 * posix/getpgid.c: Likewise.
12423 * posix/getpid.c: Likewise.
12424 * posix/getppid.c: Likewise.
12425 * posix/getresgid.c: Likewise.
12426 * posix/getresuid.c: Likewise.
12427 * posix/getsid.c: Likewise.
12428 * posix/getuid.c: Likewise.
12429 * posix/glob64.c: Likewise.
12430 * posix/nanosleep.c: Likewise.
12431 * posix/pathconf.c: Likewise.
12432 * posix/pause.c: Likewise.
12433 * posix/posix_madvise.c: Likewise.
12434 * posix/pread.c: Likewise.
12435 * posix/pread64.c: Likewise.
12436 * posix/pwrite.c: Likewise.
12437 * posix/pwrite64.c: Likewise.
12438 * posix/sched_getaffinity.c: Likewise.
12439 * posix/sched_getp.c: Likewise.
12440 * posix/sched_gets.c: Likewise.
12441 * posix/sched_primax.c: Likewise.
12442 * posix/sched_primin.c: Likewise.
12443 * posix/sched_rr_gi.c: Likewise.
12444 * posix/sched_setaffinity.c: Likewise.
12445 * posix/sched_setp.c: Likewise.
12446 * posix/sched_sets.c: Likewise.
12447 * posix/sched_yield.c: Likewise.
12448 * posix/setgid.c: Likewise.
12449 * posix/setlogin.c: Likewise.
12450 * posix/setpgid.c: Likewise.
12451 * posix/setresgid.c: Likewise.
12452 * posix/setresuid.c: Likewise.
12453 * posix/setsid.c: Likewise.
12454 * posix/setuid.c: Likewise.
12455 * posix/sleep.c: Likewise.
12456 * posix/spawni.c: Likewise.
12457 * posix/sysconf.c: Likewise.
12458 * posix/times.c: Likewise.
12459 * posix/wait.c: Likewise.
12460 * posix/wait3.c: Likewise.
12461 * posix/wait4.c: Likewise.
12462 * posix/waitpid.c: Likewise.
12463 * resolv/gai_sigqueue.c: Likewise.
12464 * resource/getpriority.c: Likewise.
12465 * resource/getrlimit.c: Likewise.
12466 * resource/getrusage.c: Likewise.
12467 * resource/nice.c: Likewise.
12468 * resource/setpriority.c: Likewise.
12469 * resource/setrlimit.c: Likewise.
12470 * resource/ulimit.c: Likewise.
12471 * rt/aio_cancel.c: Likewise.
12472 * rt/aio_fsync.c: Likewise.
12473 * rt/aio_read.c: Likewise.
12474 * rt/aio_sigqueue.c: Likewise.
12475 * rt/aio_suspend.c: Likewise.
12476 * rt/aio_write.c: Likewise.
12477 * rt/clock_getres.c: Likewise.
12478 * rt/clock_gettime.c: Likewise.
12479 * rt/clock_nanosleep.c: Likewise.
12480 * rt/clock_settime.c: Likewise.
12481 * rt/lio_listio.c: Likewise.
12482 * rt/mq_close.c: Likewise.
12483 * rt/mq_getattr.c: Likewise.
12484 * rt/mq_notify.c: Likewise.
12485 * rt/mq_open.c: Likewise.
12486 * rt/mq_receive.c: Likewise.
12487 * rt/mq_send.c: Likewise.
12488 * rt/mq_setattr.c: Likewise.
12489 * rt/mq_timedreceive.c: Likewise.
12490 * rt/mq_timedsend.c: Likewise.
12491 * rt/mq_unlink.c: Likewise.
12492 * rt/shm_open.c: Likewise.
12493 * rt/shm_unlink.c: Likewise.
12494 * rt/timer_create.c: Likewise.
12495 * rt/timer_delete.c: Likewise.
12496 * rt/timer_getoverr.c: Likewise.
12497 * rt/timer_gettime.c: Likewise.
12498 * rt/timer_settime.c: Likewise.
12499 * setjmp/__longjmp.c: Likewise.
12500 * setjmp/setjmp.c: Likewise.
12501 * signal/kill.c: Likewise.
12502 * signal/killpg.c: Likewise.
12503 * signal/raise.c: Likewise.
12504 * signal/sigaction.c: Likewise.
12505 * signal/sigaltstack.c: Likewise.
12506 * signal/sigblock.c: Likewise.
12507 * signal/sigignore.c: Likewise.
12508 * signal/sigintr.c: Likewise.
12509 * signal/signal.c: Likewise.
12510 * signal/sigpause.c: Likewise.
12511 * signal/sigpending.c: Likewise.
12512 * signal/sigqueue.c: Likewise.
12513 * signal/sigreturn.c: Likewise.
12514 * signal/sigset.c: Likewise.
12515 * signal/sigsetmask.c: Likewise.
12516 * signal/sigstack.c: Likewise.
12517 * signal/sigsuspend.c: Likewise.
12518 * signal/sigtimedwait.c: Likewise.
12519 * signal/sigvec.c: Likewise.
12520 * signal/sigwait.c: Likewise.
12521 * signal/sigwaitinfo.c: Likewise.
12522 * signal/sysv_signal.c: Likewise.
12523 * socket/accept.c: Likewise.
12524 * socket/accept4.c: Likewise.
12525 * socket/bind.c: Likewise.
12526 * socket/connect.c: Likewise.
12527 * socket/getpeername.c: Likewise.
12528 * socket/getsockname.c: Likewise.
12529 * socket/getsockopt.c: Likewise.
12530 * socket/isfdtype.c: Likewise.
12531 * socket/listen.c: Likewise.
12532 * socket/recv.c: Likewise.
12533 * socket/recvfrom.c: Likewise.
12534 * socket/recvmsg.c: Likewise.
12535 * socket/send.c: Likewise.
12536 * socket/sendmsg.c: Likewise.
12537 * socket/sendto.c: Likewise.
12538 * socket/setsockopt.c: Likewise.
12539 * socket/shutdown.c: Likewise.
12540 * socket/sockatmark.c: Likewise.
12541 * socket/socket.c: Likewise.
12542 * socket/socketpair.c: Likewise.
12543 * stdio-common/ctermid.c: Likewise.
12544 * stdio-common/cuserid.c: Likewise.
12545 * stdio-common/remove.c: Likewise.
12546 * stdio-common/rename.c: Likewise.
12547 * stdio-common/renameat.c: Likewise.
12548 * stdio-common/tempname.c: Likewise.
12549 * stdlib/getcontext.c: Likewise.
12550 * stdlib/makecontext.c: Likewise.
12551 * stdlib/setcontext.c: Likewise.
12552 * stdlib/swapcontext.c: Likewise.
12553 * stdlib/system.c: Likewise.
12554 * streams/fattach.c: Likewise.
12555 * streams/fdetach.c: Likewise.
12556 * streams/getmsg.c: Likewise.
12557 * streams/getpmsg.c: Likewise.
12558 * streams/putmsg.c: Likewise.
12559 * streams/putpmsg.c: Likewise.
12560 * sysdeps/unix/bsd/getpt.c: Likewise.
12561 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12562 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12563 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12566 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12567 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12568 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12569 * sysvipc/msgctl.c: Likewise.
12570 * sysvipc/msgget.c: Likewise.
12571 * sysvipc/msgrcv.c: Likewise.
12572 * sysvipc/msgsnd.c: Likewise.
12573 * sysvipc/semctl.c: Likewise.
12574 * sysvipc/semget.c: Likewise.
12575 * sysvipc/semop.c: Likewise.
12576 * sysvipc/semtimedop.c: Likewise.
12577 * sysvipc/shmat.c: Likewise.
12578 * sysvipc/shmctl.c: Likewise.
12579 * sysvipc/shmdt.c: Likewise.
12580 * sysvipc/shmget.c: Likewise.
12581 * termios/tcdrain.c: Likewise.
12582 * termios/tcflow.c: Likewise.
12583 * termios/tcflush.c: Likewise.
12584 * termios/tcgetattr.c: Likewise.
12585 * termios/tcgetpgrp.c: Likewise.
12586 * termios/tcsendbrk.c: Likewise.
12587 * termios/tcsetattr.c: Likewise.
12588 * termios/tcsetpgrp.c: Likewise.
12589 * time/adjtime.c: Likewise.
12590 * time/clock.c: Likewise.
12591 * time/getitimer.c: Likewise.
12592 * time/gettimeofday.c: Likewise.
12593 * time/setitimer.c: Likewise.
12594 * time/settimeofday.c: Likewise.
12595 * time/stime.c: Likewise.
12596 * time/time.c: Likewise.
12598 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12600 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12603 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12605 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12607 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12611 FE_TONEAREST before applying Dekker multiplication and Knuth
12612 addition. Clear inexact exceptions and check for exact zero
12613 results afterwards.
12614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12617 * math/libm-test.inc (fma_test): Add more tests.
12618 (fma_test_towardzero): Likewise.
12619 (fma_test_downward): Likewise.
12620 (fma_test_upward): Likewise.
12621 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12623 (libc_fesetround): New macro.
12624 (libc_fesetroundf): Likewise.
12625 (libc_fesetroundl): Likewise.
12626 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12628 (libc_fesetround_387): Likewise.
12629 (libc_fesetroundf): New macro.
12630 (libc_fesetround): Likewise.
12631 (libc_fesetroundl): Likewise.
12632 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12634 (libc_fesetroundf): New macro.
12635 (libc_fesetround): Likewise.
12636 (libc_fesetroundl): Likewise.
12637 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12638 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12639 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12641 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12642 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12644 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12645 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12647 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12651 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12652 integer constant usable in #if and use that to give value to enum
12654 (FE_DIVBYZERO): Likewise.
12655 (FE_UNDERFLOW): Likewise.
12656 (FE_OVERFLOW): Likewise.
12657 (FE_INVALID): Likewise.
12658 (FE_INVALID_SNAN): Likewise.
12659 (FE_INVALID_ISI): Likewise.
12660 (FE_INVALID_IDI): Likewise.
12661 (FE_INVALID_ZDZ): Likewise.
12662 (FE_INVALID_IMZ): Likewise.
12663 (FE_INVALID_COMPARE): Likewise.
12664 (FE_INVALID_SOFTWARE): Likewise.
12665 (FE_INVALID_SQRT): Likewise.
12666 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12667 (FE_TONEAREST): Likewise.
12668 (FE_TOWARDZERO): Likewise.
12669 (FE_UPWARD): Likewise.
12670 (FE_DOWNWARD): Likewise.
12671 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12672 (FE_DIVBYZERO): Likewise.
12673 (FE_OVERFLOW): Likewise.
12674 (FE_UNDERFLOW): Likewise.
12675 (FE_INEXACT): Likewise.
12676 (FE_TONEAREST): Likewise.
12677 (FE_DOWNWARD): Likewise.
12678 (FE_UPWARD): Likewise.
12679 (FE_TOWARDZERO): Likewise.
12680 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12681 (FE_UNDERFLOW): Likewise.
12682 (FE_OVERFLOW): Likewise.
12683 (FE_DIVBYZERO): Likewise.
12684 (FE_INVALID): Likewise.
12685 (FE_TONEAREST): Likewise.
12686 (FE_TOWARDZERO): Likewise.
12687 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12688 (FE_OVERFLOW): Likewise.
12689 (FE_UNDERFLOW): Likewise.
12690 (FE_DIVBYZERO): Likewise.
12691 (FE_INEXACT): Likewise.
12692 (FE_TONEAREST): Likewise.
12693 (FE_TOWARDZERO): Likewise.
12694 (FE_UPWARD): Likewise.
12695 (FE_DOWNWARD): Likewise.
12696 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12697 (FE_DIVBYZERO): Likewise.
12698 (FE_OVERFLOW): Likewise.
12699 (FE_UNDERFLOW): Likewise.
12700 (FE_INEXACT): Likewise.
12701 (FE_TONEAREST): Likewise.
12702 (FE_DOWNWARD): Likewise.
12703 (FE_UPWARD): Likewise.
12704 (FE_TOWARDZERO): Likewise.
12706 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12708 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12710 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12712 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12713 commands. Quote $PWD.
12714 (blacklist_exports): Don't use remove_newlines. Replace "declare
12716 (remove_newlines): Remove.
12718 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12720 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12721 * stdlib/stdlib.h (atof): Moved to ...
12722 * include/bits/stdlib-float.h: Here. New file.
12723 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12724 * stdlib/bits/stdlib-float.h: New file.
12725 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12730 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12732 * conform/conformtest.pl (@headers): Add fenv.h.
12733 * conform/data/fenv.h-data: New file.
12734 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12735 include of <math/fenv.h>.
12737 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12738 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12739 && !UNIX98]. Enables tests for XOPEN2K8.
12740 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12741 POSIX2008]: Likewise.
12743 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12744 (struct rusage): Do not expect type or its members.
12747 * math/math.h (FP_NAN): Define macro to integer constant usable in
12748 #if and use that to give value to enum constant.
12749 (FP_INFINITE): Likewise.
12750 (FP_ZERO): Likewise.
12751 (FP_SUBNORMAL): Likewise.
12752 (FP_NORMAL): Likewise.
12754 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12756 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12757 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12760 2012-11-02 Roland McGrath <roland@hack.frob.com>
12762 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12763 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12764 autoconf-time if not.
12765 * configure.in: Remove AC_PREREQ.
12767 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12769 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12770 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12771 of the internal implementation.
12773 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12775 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12776 except include of <misc/sys/syslog.h>.
12778 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12781 function returns with a NULL context exit with zero.
12783 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12785 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12787 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12789 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12790 (run_program_cmd): This.
12791 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12792 (tst_langinfo): New variable. Use it.
12794 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12796 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12797 floating point opcodes.
12799 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12801 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12804 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12806 * sysdeps/mach/hurd/powerpc: Remove directory.
12807 * sysdeps/mach/powerpc: Likewise.
12809 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12811 * scripts/check-local-headers.sh: Ignore c++ headers.
12813 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12815 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12816 __libc_cleanup_region_start argument.
12818 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12823 x * y using scaling, not as x * y + z.
12824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12826 * math/libm-test.inc (fma_test): Add more tests.
12827 (fma_test_towardzero): Likewise.
12828 (fma_test_downward): Likewise.
12829 (fma_test_upward): Likewise.
12831 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12833 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12835 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12837 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12840 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12842 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12844 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12851 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12854 Fix the order of the list for glibc 2.17.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12858 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12862 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12866 for low part of x being zero before using __atanl (y).
12867 * math/libm-test.inc (atan2_test): Add another test.
12869 * manual/install.texi (Configuring and compiling): Document
12870 general use of test-wrapper and test-wrapper-env.
12871 * INSTALL: Regenerated.
12873 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12874 (__fma): Do not extract and scale down low bits on after-rounding
12875 systems when result rounded to normal precision would have normal
12877 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12878 (__fmal): Do not extract and scale down low bits on after-rounding
12879 systems when result rounded to normal precision would have normal
12881 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12882 (__fmal): Do not extract and scale down low bits on after-rounding
12883 systems when result rounded to normal precision would have normal
12885 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12887 (fma_test): Add more tests.
12888 (fma_test_towardzero): Likewise.
12889 (fma_test_downward): Likewise.
12890 (fma_test_upward): Likewise.
12892 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12894 * sysdeps/i386/tininess.h: Renamed to ...
12895 * sysdeps/x86/tininess.h: This.
12896 * sysdeps/x86_64/tininess.h: Removed.
12898 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12900 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12901 input. Use $(build-program-cmd).
12902 ($(objpfx)tst-array1-static.out): Likewise.
12903 ($(objpfx)tst-array2.out): Likewise.
12904 ($(objpfx)tst-array3.out): Likewise.
12905 ($(objpfx)tst-array4.out): Likewise.
12906 ($(objpfx)tst-array5.out): Likewise.
12907 ($(objpfx)tst-array5-static.out): Likewise.
12909 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12911 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12914 * nss/nsswitch.h (nss_interface_function): Provide new
12915 macro for use with NSS functions.
12916 * grp/initgroups.c: Use new macro.
12917 * nss/getXXbyYY.c: Likewise.
12918 * nss/getXXbyYY_r.c: Likewise.
12919 * nss/getXXent.c: Likewise.
12920 * nss/getXXent_r.c: Likewise.
12921 * sysdeps/posix/getaddrinfo.c: Likewise.
12923 2012-10-30 Andreas Jaeger <aj@suse.de>
12925 * po/ru.po: Update Russion translation from translation project.
12927 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12932 result and shift together with sticky bit instead of replicating
12933 round-to-nearest rounding.
12934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12936 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12937 missing underflow exceptions.
12938 (fma_test_towardzero): Add more tests.
12939 (fma_test_downward): Likewise.
12940 (fma_test_upward): Likewise.
12943 * sysdeps/generic/tininess.h: New file.
12944 * sysdeps/i386/tininess.h: Likewise.
12945 * sysdeps/sh/tininess.h: Likewise.
12946 * sysdeps/x86_64/tininess.h: Likewise.
12947 * stdlib/tst-strtod-underflow.c: Likewise.
12948 * stdlib/tst-tininess.c: Likewise.
12949 * stdlib/strtod_l.c: Include <tininess.h>.
12950 (round_and_return): Do not set errno for exact underflow cases.
12951 Force an underflow exception when setting errno for underflow.
12952 Determine underflow based on rounding to normal precision if
12953 TININESS_AFTER_ROUNDING.
12954 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12955 ERANGE for exact underflow cases.
12956 * stdlib/Makefile (tests): Add tst-tininess and
12957 tst-strtod-underflow.
12958 ($(objpfx)tst-tininess): Use $(link-libm).
12959 ($(objpfx)tst-strtod-underflow): Likewise.
12961 2012-10-30 Andreas Jaeger <aj@suse.de>
12964 * elf/Makefile (tests): Remove conditional for have-initfini-array
12965 since this is now always required and the variable does not exist
12967 (tests-static): Likewise.
12968 (modules-names): Likewise.
12970 * po/eo.po: Add Esperanto translation from translation project.
12972 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12973 merged with constructor/destructor.
12974 (init_array): Likewise.
12975 * elf/tst-array2dep.c (fini_array): Likewise.
12976 (init_array): Likewise.
12978 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12980 * manual/message.texi: Delete @cartouche tags.
12982 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12984 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12986 * sysdeps/mach/hurd/fsync.c: Likewise.
12988 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12989 [_POSIX_REALTIME_SIGNALS]: Change condition to
12990 [_POSIX_REALTIME_SIGNALS > 0].
12992 2012-10-27 Andreas Jaeger <aj@suse.de>
12994 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12995 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12997 [__WORDSIZE != 64]: Likewise.
12999 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13001 * iconvdata/tst-table.sh: Remove ${SHELL}.
13002 * iconvdata/tst-tables.sh: Likewise.
13004 2012-10-25 David S. Miller <davem@davemloft.net>
13006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13007 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13012 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13013 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13014 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13017 2012-10-25 Roland McGrath <roland@hack.frob.com>
13019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13020 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13023 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13024 Jim Blandy <jimb@codesourcery.com>
13026 * scripts/cross-test-ssh.sh: New file.
13027 * manual/install.texi (Configuring and compiling): Document use of
13029 * INSTALL: Regenerated.
13031 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13033 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13036 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13038 * Makeconfig (run-program-prefix): Fix comment.
13040 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13041 Jim Blandy <jimb@codesourcery.com>
13043 * Makeconfig (test-wrapper): New variable,
13044 (test-wrapper-env): Likewise.
13045 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13046 (run-built-tests): Define to yes.
13047 (run-program-prefix): Use $(test-wrapper).
13048 (built-program-cmd): Likewise.
13049 * Rules (make-test-out): Use $(test-wrapper-env) and
13050 $(host-built-program-cmd).
13051 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13052 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13054 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13055 $(test-wrapper-env) to tst-rtld-load-self.sh.
13056 ($(objpfx)order2.out): Use $(test-wrapper).
13057 ($(objpfx)tst-initorder.out): Likewise.
13058 ($(objpfx)tst-initorder2.out): Likewise.
13059 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13060 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13061 (test_wrapper_env): New variable. Use it to run ld.so.
13062 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13063 Use it to run ld.so.
13064 (test_wrapper_env): Likewise.
13065 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13066 $(test-wrapper) to run-iconv-test.sh.
13067 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13068 (ICONV): Use $test_wrapper.
13069 * posix/Makefile ($(objpfx)globtest.out): Pass
13070 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13071 globtest.sh, not $(run-program-prefix).
13072 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13073 (test_wrapper): Likewise.
13074 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13075 set together with run_via_rtld_prefix.
13076 (run_program_prefix): Define in terms of test_wrapper and
13077 run_via_rtld_prefix.
13079 2012-10-24 Roland McGrath <roland@hack.frob.com>
13081 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13082 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13086 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13087 Declare __clock_getres, __clock_gettime, __clock_settime,
13088 __clock_nanosleep, and __clock_getcpuclockid.
13089 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13090 Remove librt_hidden_def (clock_gettime).
13091 * sysdeps/unix/clock_gettime.c: Likewise.
13092 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13094 * rt/clock_getres.c: Define __clock_getres as an alias.
13095 * sysdeps/posix/clock_getres.c: Likewise.
13096 * rt/clock_settime.c: Define __clock_settime as an alias.
13097 * sysdeps/unix/clock_settime.c: Likewise.
13098 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13099 * sysdeps/unix/clock_nanosleep.c: Likewise.
13100 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13101 * rt/clock-compat.c: New file.
13102 * rt/Makefile (librt-routines): Add clock-compat and move
13103 $(clock-routines) to ...
13104 (routines): ... here, new variable.
13105 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13106 Don't add get_clockfreq here.
13107 * rt/Versions (libc: GLIBC_2.17): New version set.
13108 Add clock_* symbols here.
13109 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13111 (GLIBC_2.17): Add clock_* symbols.
13112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13123 * NEWS: Mention the move.
13125 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13126 Use __open, __read, __close rather than their public counterparts.
13127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13128 (__get_clockfreq_via_cpuinfo): Likewise.
13129 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13130 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13132 * config.h.in (HAVE_IFUNC): New #undef.
13133 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13135 * configure: Regenerated.
13137 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13139 * configure.in: Move READELF check to start of file.
13140 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13141 libc_cv_asm_gnu_indirect_function in the process.
13142 * configure: Regenerated.
13144 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13146 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13147 send the output to /dev/null.
13148 (libc_cv_cc_with_libunwind): Likewise.
13149 (libc_cv_as_noexecstack): Likewise.
13150 * configure: Regenerate.
13152 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13154 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13156 * posix/globtest.sh (TMPDIR): Do not set.
13157 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13158 (testout): Likewise.
13160 2012-10-24 Andreas Jaeger <aj@suse.de>
13162 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13163 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13164 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13165 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13166 posix_fadvise64, posix_fallocate64.
13168 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13169 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13170 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13172 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13174 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13177 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13178 <bits/fcntl-linux.h>.
13179 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13182 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13183 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13184 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13185 [__WORDSIZE != 64]: Likewise.
13187 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13189 * Makeconfig (run-built-tests): New variable.
13190 * Rules [$(cross-compiling) = yes]: Change condition to
13191 [$(run-built-tests) = no].
13192 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13193 to [$(run-built-tests) = yes].
13194 * elf/Makefile [$(cross-compiling) = no]: Likewise
13195 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13196 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13197 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13198 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13199 * io/Makefile [$(cross-compiling) = no]: Likewise.
13200 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13201 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13202 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13203 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13204 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13205 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13206 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13207 * string/Makefile [$(cross-compiling) = no]: Likewise.
13209 * posix/Makefile ($(objpfx)globtest.out): Pass
13210 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13211 $(rtld-installed-name).
13212 * posix/globtest.sh (elf_objpfx): Remove variable.
13213 (rtld_installed_name): Likewise.
13214 (library_path): Likewise.
13215 (run_program_prefix): New variable. Use for running globtest
13218 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13219 Joseph Myers <joseph@codesourcery.com>
13221 * Makeconfig (host-built-program-cmd): New variable.
13222 * elf/Makefile (tst-stackguard1-ARGS): Use
13223 $(host-built-program-cmd).
13224 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13225 (tst-spawn-ARGS): Likewise.
13226 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13228 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13229 Jim Blandy <jimb@codesourcery.com>
13231 * Makeconfig (run-via-rtld-prefix): New variable.
13232 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13233 (built-program-cmd): Likewise.
13235 2012-10-22 Andreas Jaeger <aj@suse.de>
13237 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13238 __O_RSYNC if it exists, otherwise to O_SYNC.
13240 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13241 Joseph Myers <joseph@codesourcery.com>
13243 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13245 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13247 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13250 2012-10-22 Andreas Jaeger <aj@suse.de>
13252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13257 bits/fcntl-linux.h.
13259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13260 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13267 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13268 Joseph Myers <joseph@codesourcery.com>
13270 * config.make.in (NM): New variable.
13272 2012-10-21 Andreas Jaeger <aj@suse.de>
13274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13275 definitions and declarations that are provided by
13276 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13278 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13281 * elf/Makefile (tests-static): Add tst-leaks1-static.
13282 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13283 ($(objpfx)tst-leaks1-static): New rule.
13284 ($(objpfx)tst-leaks1-static-mem): Likewise.
13285 (tst-leaks1-static-ENV): New macro.
13286 * elf/dl-open.c (dl_open_worker): Check the main application
13287 only if SHARED is defined.
13288 * elf/tst-leaks1-static.c: New file.
13290 2012-10-20 Andreas Jaeger <aj@suse.de>
13292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13293 generic values for Linux.
13294 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13295 and declarations that are provided by <bits/fcntl-linux.h> and
13296 include <bits/fcntl-linux.h>.
13297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13300 2012-10-20 Roland McGrath <roland@hack.frob.com>
13302 * io/fcntl.h: Move include of <bits/types.h> to the top and
13303 include it unconditionally.
13305 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13307 * wcsmbs/Makefile (tests-ifunc): New variable.
13308 (tests): Add $(tests-ifunc).
13309 * wcsmbs/test-wcschr-ifunc.c: New file.
13310 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13311 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13312 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13313 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13314 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13316 * string/Makefile (tests-ifunc): New variable.
13317 (tests): Add $(tests-ifunc).
13318 * string/test-memccpy.c (TEST_NAME): New macro.
13319 * string/test-memchr.c (TEST_NAME): Likewise.
13320 * string/test-memcmp.c (TEST_NAME): Likewise.
13321 * string/test-memcpy.c (TEST_NAME): Likewise.
13322 * string/test-memmem.c (TEST_NAME): Likewise.
13323 * string/test-memmove.c (TEST_NAME): Likewise.
13324 * string/test-memset.c (TEST_NAME): Likewise.
13325 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13326 * string/test-stpcpy.c (TEST_NAME): Likewise.
13327 * string/test-stpncpy.c (TEST_NAME): Likewise.
13328 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13329 * string/test-strcasestr.c (TEST_NAME): Likewise.
13330 * string/test-strcat.c (TEST_NAME): Likewise.
13331 * string/test-strchr.c (TEST_NAME): Likewise.
13332 * string/test-strcmp.c(TEST_NAME): Likewise.
13333 * string/test-strcpy.c (TEST_NAME): Likewise.
13334 * string/test-strcspn.c (TEST_NAME): Likewise.
13335 * string/test-strlen.c (TEST_NAME): Likewise.
13336 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13337 * string/test-strncmp.c (TEST_NAME): Likewise.
13338 * string/test-strncpy.c (TEST_NAME): Likewise.
13339 * string/test-strnlen.c (TEST_NAME): Likewise.
13340 * string/test-strpbrk.c (TEST_NAME): Likewise.
13341 * string/test-strrchr.c (TEST_NAME): Likewise.
13342 * string/test-strspn.c (TEST_NAME): Likewise.
13343 * string/test-strstr.c (TEST_NAME): Likewise.
13344 * string/test-bcopy-ifunc.c: New file.
13345 * string/test-bzero-ifunc.c: Likewise.
13346 * string/test-memccpy-ifunc.c: Likewise.
13347 * string/test-memchr-ifunc.c: Likewise.
13348 * string/test-memcmp-ifunc.c: Likewise.
13349 * string/test-memcpy-ifunc.c: Likewise.
13350 * string/test-memmem-ifunc.c: Likewise.
13351 * string/test-memmove-ifunc.c: Likewise.
13352 * string/test-mempcpy-ifunc.c: Likewise.
13353 * string/test-memset-ifunc.c: Likewise.
13354 * string/test-rawmemchr-ifunc.c: Likewise.
13355 * string/test-stpcpy-ifunc.c: Likewise.
13356 * string/test-stpncpy-ifunc.c: Likewise.
13357 * string/test-strcasecmp-ifunc.c: Likewise.
13358 * string/test-strcasestr-ifunc.c: Likewise.
13359 * string/test-strcat-ifunc.c: Likewise.
13360 * string/test-strchr-ifunc.c: Likewise.
13361 * string/test-strchrnul-ifunc.c: Likewise.
13362 * string/test-strcmp-ifunc.c: Likewise.
13363 * string/test-strcpy-ifunc.c: Likewise.
13364 * string/test-strcspn-ifunc.c: Likewise.
13365 * string/test-strlen-ifunc.c: Likewise.
13366 * string/test-strncasecmp-ifunc.c: Likewise.
13367 * string/test-strncat-ifunc.c: Likewise.
13368 * string/test-strncmp-ifunc.c: Likewise.
13369 * string/test-strncpy-ifunc.c: Likewise.
13370 * string/test-strnlen-ifunc.c: Likewise.
13371 * string/test-strpbrk-ifunc.c: Likewise.
13372 * string/test-strrchr-ifunc.c: Likewise.
13373 * string/test-strspn-ifunc.c: Likewise.
13374 * string/test-strstr-ifunc.c: Likewise.
13376 * debug/Makefile (tests-ifunc): New variable.
13377 (tests): Add $(tests-ifunc).
13378 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13379 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13380 * debug/test-stpcpy_chk-ifunc.c: New file.
13381 * debug/test-strcpy_chk-ifunc.c: Likewise.
13383 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13386 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13387 header is not read in.
13389 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13391 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13392 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13393 directly. Pass built executable to script as
13394 $(built-program-cmd).
13395 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13396 $testprogram without using LD_LIBRARY_PATH and $ldso.
13398 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13399 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13400 $(rtld-installed-name).
13401 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13402 (rtld_installed_name): Likewise.
13403 (library_path): Likewise.
13404 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13405 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13406 $(run-program-prefix) to tst-tables.sh.
13407 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13408 it to run tst-table-from and tst-table-to.
13409 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13410 Pass it to tst-table.sh.
13411 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13412 $(run-program-prefix) to tst-gettext.sh.
13413 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13415 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13417 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13418 to run tst-gettext.
13419 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13420 to run tst-gettext2.
13421 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13422 to run tst-translit.
13423 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13424 $(run-program-prefix) to tst-mtrace.sh.
13425 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13427 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13428 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13429 $(rtld-installed-name).
13430 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13431 (rtld_installed_name): Likewise.
13432 (run_program_prefix): New variable. Use it to run wordexp-test.
13434 * Makeconfig (ARCH): Remove all definitions.
13435 (machine): Likewise.
13436 [ARCH]: Remove conditional code.
13437 [!objdir]: Give error.
13438 [!objdir] (objpfx): Remove.
13439 [!objdir] (common-objpfx): Likewise.
13440 [!objdir] (common-objdir): Likewise.
13441 * configure.in (config_makefile): Remove. Hardcode Makefile in
13442 AC_CONFIG_FILES call.
13443 * configure: Regenerated.
13446 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13448 (testout): Likewise.
13450 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13451 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13452 $(rtld-installed-name).
13453 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13454 (rtld_installed_name): Likwise.
13455 (runit): Remove function.
13456 (run_getconf): New variable, Use it for running getconf binary.
13458 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13461 * string/test-memmem.c (check_result): New function.
13462 (do_one_test): Use it.
13463 (check1): New function.
13464 (test_main): Use it.
13466 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13468 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13470 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13472 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13473 (_G_LSEEK64): Likewise.
13474 (_G_MMAP64): Likewise.
13475 (_G_FSTAT64): Likewise.
13476 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13477 (_G_LSEEK64): Likewise.
13478 (_G_MMAP64): Likewise.
13479 (_G_FSTAT64): Likewise.
13480 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13481 unconditional. Call __mmap64 directly.
13482 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13483 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13484 __lseek64 directly.
13485 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13486 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13488 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13489 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13490 __lseek64 directly.
13491 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13492 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13493 __lseek64 directly.
13494 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13495 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13496 __lseek64 directly.
13497 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13498 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13499 __fxstat64 directly.
13500 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13501 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13503 (freopen64) [!_G_OPEN64]: Remove conditional code.
13504 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13506 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13507 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13509 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13510 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13512 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13513 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13515 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13516 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13518 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13519 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13521 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13522 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13524 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13526 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13529 * manual/memory.texi (Malloc Tunable Parameters): Add note
13530 about free list pointers overwriting some perturb bytes.
13531 Wording suggested by Roland McGrath.
13533 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13535 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13536 (lgamma_test): Likewise.
13537 (tgamma_test): Likewise.
13539 2012-10-16 Florian Weimer <fweimer@redhat.com>
13542 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13543 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13545 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13547 * NEWS: Mention BZ #14716.
13548 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13549 when removing AVAILABLE1_USES_J macro.
13551 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13553 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13554 (__bswap_64): __uint64_t for unsigned 64-bit int.
13556 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13558 * include/string.h (memmem): Declare libc hidden alias.
13559 * string/memmem.c (memmem): Define libc hidden alias.
13560 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13561 __read, __close instead of open, read, close.
13563 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13566 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13568 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13569 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13570 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13572 (__rawmemchr_sse2): Likewise.
13573 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13574 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13575 (__strchr_sse2): Likewise.
13576 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13577 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13578 (__strcasecmp_sse2): Likewise.
13579 (__strncasecmp_sse2): Likewise.
13580 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13581 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13582 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13583 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13584 (__strrchr_sse2): Likewise.
13585 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13587 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13588 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13589 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13590 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13591 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13592 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13593 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13594 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13595 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13596 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13597 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13598 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13599 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13600 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13601 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13602 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13603 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13604 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13605 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13606 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13607 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13608 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13609 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13610 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13611 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13612 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13613 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13614 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13615 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13616 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13618 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13620 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13621 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13622 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13623 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13625 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13627 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13628 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13629 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13630 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13632 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13633 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13634 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13635 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13636 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13637 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13638 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13639 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13640 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13641 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13642 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13643 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13644 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13645 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13646 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13648 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13649 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13650 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13651 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13652 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13653 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13654 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13655 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13656 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13657 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13658 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13659 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13660 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13661 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13662 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13663 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13664 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13665 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13666 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13667 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13668 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13669 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13670 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13671 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13672 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13674 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13675 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13676 * include/ifunc-impl-list.h: New file.
13677 * misc/ifunc-impl-list.c: Likewise.
13678 * misc/Makefile (routines): Add ifunc-impl-list.
13679 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13680 * string/test-string.h: Include <ifunc-impl-list.h>.
13681 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13682 impl_array): New variables.
13683 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13685 (test_init): Call __libc_ifunc_impl_list to initialize
13686 func_list if TEST_IFUNC and TEST_NAME are defined.
13688 * string/Makefile (strop-tests): Add bcopy and bzero.
13689 * string/test-bcopy.c: New file.
13690 * string/test-bzero.c: Likewise.
13691 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13693 * string/test-memset.c: Support bzero test if TEST_BZERO is
13695 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13697 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13699 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13702 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13704 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13705 * configure: Regenerated.
13707 * Makeconfig (+link-static-before-libc): Don't include
13708 $(link-static-libc).
13710 * libio/libio.h (_IO_pos_t): Remove.
13712 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13714 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13717 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13719 * crypt/crypt-entry.c: Include fips-private.h.
13720 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13721 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13722 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13723 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13725 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13727 * crypt/crypt-private.h: Include stdbool.h.
13728 (_ufc_setup_salt_r): Return bool.
13729 * crypt/crypt-entry.c: Include errno.h.
13730 (__crypt_r): Return NULL with EINVAL for bad salt.
13731 * crypt/crypt_util.c (bad_for_salt): New.
13732 (_ufc_setup_salt_r): Check that salt is long enough and within
13733 the specified alphabet.
13734 * crypt/badsalttest.c: New file.
13735 * crypt/Makefile (tests): Add it.
13736 ($(objpfx)badsalttest): New.
13738 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13740 * NEWS: Add entry for BZ #14602.
13742 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13744 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13746 * math/libm-test.inc: Update comment listing what functions and
13748 (isgreater_test): New function.
13749 (isgreaterequal_test): Likewise.
13750 (isless_test): Likewise.
13751 (islessequal_test): Likewise.
13752 (islessgreater_test): Likewise.
13753 (isunordered_test): Likewise.
13754 (main): Call the new functions.
13756 2012-10-09 Roland McGrath <roland@hack.frob.com>
13758 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13759 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13760 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13761 * sysdeps/i386/configure: Regenerated.
13762 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13763 * sysdeps/mach/configure: Regenerated.
13764 * sysdeps/mach/hurd/configure: Regenerated.
13765 * sysdeps/powerpc/configure: Regenerated.
13766 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13767 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13768 * sysdeps/s390/s390-32/configure: Regenerated.
13769 * sysdeps/s390/s390-64/configure: Regenerated.
13770 * sysdeps/sh/configure: Regenerated.
13771 * sysdeps/sparc/configure: Regenerated.
13772 * sysdeps/unix/sysv/linux/configure: Regenerated.
13773 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13774 * sysdeps/x86_64/configure: Regenerated.
13776 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13777 defined. Don't check if MAP is NULL.
13779 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13781 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13782 (_G_stat64): Likewise.
13783 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13784 (_G_stat64): Likewise.
13785 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13786 instead of struct _G_stat64.
13787 * libio/fileops.c (mmap_remap_check): Likewise.
13788 (decide_maybe_mmap): Likewise.
13789 (_IO_new_file_seekoff): Likewise.
13790 (_IO_file_stat): Likewise.
13791 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13793 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13794 instead of struct _G_stat64.
13795 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13797 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13800 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13802 (CHECK_EOL): New macro.
13803 (two_way_short_needle): Check beginning of haystack for EOL. Use
13805 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13806 Replace with CHECK_EOL.
13807 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13808 Replace with CHECK_EOL.
13810 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13812 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13814 * math/libm-test.inc: Update comment listing what functions and
13816 (finite_test): New function.
13817 (isinf_test): Likewise.
13818 (isnan_test): Likewise.
13819 (fpclassify_test): Test subnormal input.
13820 (isfinite_test): Likewise.
13821 (isnormal_test): Likewise.
13822 (main): Call the new functions.
13824 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13827 * Makerules (%.dynsym): Force C locale when running
13828 $(OBJDUMP) --dynamic-syms.
13830 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13832 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13835 2012-10-06 David S. Miller <davem@davemloft.net>
13837 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13838 upper 32-bits of the length value in %o2 since we use branch-on-register
13839 tests which consider the entire 64-bit register.
13841 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13843 * string/test-strstr.c (check2): Add a test for page boundary.
13845 2012-10-05 David S. Miller <davem@davemloft.net>
13847 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13848 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13850 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13852 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13853 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13854 and bzero when HWCAP_SPARC_CRYPTO is present.
13856 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13859 * string/test-strstr.c (check2): New function.
13860 (test_main): Call check2.
13862 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13864 * string/bug-strcasestr1.c (do_test): Moved to ...
13865 * string/test-strcasestr.c (check1): Here. New function.
13866 (do_one_test): Break out result checking code into ...
13867 (check_result): This. New function.
13868 (do_one_test): Call check_result.
13869 (test_main): Call check1.
13870 * string/bug-strchr1.c (do_test): Moved to ...
13871 * string/test-strchr.c (check1): Here. New function.
13872 (do_one_test): Break out result checking code into ...
13873 (check_result): This. New function.
13874 (do_one_test): Call check_result.
13875 (test_main): Call check1.
13876 * string/bug-strstr1.c (main): Moved to ...
13877 * string/test-strstr.c (check1): Here. New function.
13878 (do_one_test): Break out result checking code into ...
13879 (check_result): This. New function.
13880 (do_one_test): Call check_result.
13881 (test_main): Call check1.
13882 * string/bug-strcasestr1.c: Removed.
13883 * string/bug-strchr1.c: Likewise.
13884 * string/bug-strstr1.c: Likewise.
13886 * elf/Makefile (dl-routines): Add hwcaps.
13887 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13888 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13889 (_dl_important_hwcaps): Moved to ...
13890 * elf/dl-hwcaps.c: Here. New file.
13891 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13894 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13895 if IS_IN_rtld isn't defined.
13897 * elf/dl-support.c (_dl_sysinfo_map): New.
13898 Include "get-dynamic-info.h" and "setup-vdso.h".
13899 (_dl_non_dynamic_init): Call setup_vdso.
13900 * elf/dynamic-link.h: Don't include <assert.h>.
13901 (elf_get_dynamic_info): Moved to ...
13902 * elf/get-dynamic-info.h: Here. New file.
13903 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13904 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13905 * elf/setup-vdso.h: Here. New file.
13906 * elf/rtld.c: Include "setup-vdso.h".
13907 (dl_main): Call setup_vdso.
13909 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13911 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13912 creal in comment listing functions tested. List finite, isinf,
13913 isnan, isless, islessequal, isgreater, isgreaterequal,
13914 islessgreater, isunordered, lgamma_r and pow10 as functions and
13915 macros not tested. Mention which functions not tested are aliases
13916 for other functions. Fix typo. Note that signs of NaNs are not
13919 * scripts/config.guess: Update from config.git.
13920 * scripts/config.sub: Likewise.
13922 2012-10-04 Roland McGrath <roland@hack.frob.com>
13924 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13925 * misc/madvise.c (madvise): Renamed to __madvise.
13926 Make madvise a weak alias.
13927 * include/sys/mman.h: Declare __madvise.
13928 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13929 * sysdeps/unix/syscalls.list
13930 (madvise): Make __madvise the strong name, and madvise a weak alias.
13931 * sysdeps/unix/sysv/linux/syscalls.list
13932 (madvise, mmap): Remove redundant entries.
13933 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13934 * malloc/malloc.c (mtrim): Likewise.
13935 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13937 2012-10-03 Roland McGrath <roland@hack.frob.com>
13939 * sysdeps/mach/hurd/dl-cache.c: File removed.
13940 * config.h.in (USE_LDCONFIG): New #undef.
13941 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13942 * configure: Regenerated.
13943 * elf/Makefile (dl-routines): Add dl-cache only under
13944 [$(use-ldconfig) = yes].
13945 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13946 cache on [USE_LDCONFIG].
13947 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13949 * elf/rtld.c (dl_main): Likewise.
13951 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13953 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13954 _SC_LEVEL4_CACHE_LINESIZE.
13956 2012-10-03 Roland McGrath <roland@hack.frob.com>
13958 * sysdeps/unix/bsd/confstr.h: File removed.
13960 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13962 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13965 2012-10-02 Roland McGrath <roland@hack.frob.com>
13967 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13968 Make 'mapoff' field ElfW(Off) rather than off_t.
13970 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13972 * nscd/Makefile: Remove nscd-cflags and all its users.
13973 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13974 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13977 * malloc.c (malloc_printerr): Clarify error message.
13979 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13983 Set bit_FMA_Usable if FMA is supported.
13984 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13986 (bit_FMA4_Usable): Updated.
13987 (index_FMA_Usable): New macro.
13988 (CPUID_FMA): Likewise
13989 (HAS_FMA): Defined with bit_FMA_Usable.
13991 2012-10-01 Roland McGrath <roland@hack.frob.com>
13993 * bits/types.h (__swblk_t): Type removed.
13994 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13995 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13997 (__SWBLK_T_TYPE): Likewise.
13998 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13999 (__SWBLK_T_TYPE): Likewise.
14000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14001 (__SWBLK_T_TYPE): Likewise.
14002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14003 (__SWBLK_T_TYPE): Likewise.
14005 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14006 Honza Horak <hhorak@redhat.com>
14008 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14009 (xdr_mapname): Use YPMAXMAP as maxsize.
14010 (xdr_peername): Use YPMAXPEER as maxsize.
14011 (xdr_keydat): Use YPAXRECORD as maxsize.
14012 (xdr_valdat): Use YPMAXRECORD as maxsize.
14014 2012-10-01 Roland McGrath <roland@hack.frob.com>
14016 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14018 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14019 * csu/init-first.c: ... here.
14020 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14021 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14022 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14023 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14024 * sysdeps/i386/init-first.c: File removed.
14025 * sysdeps/sh/init-first.c: File removed.
14027 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14031 if x * y might underflow to zero and z is zero.
14032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14034 * math/libm-test.inc (min_subnorm_value): New variable.
14035 (fma_test): Add more tests.
14036 (fma_test_towardzero): Likewise.
14037 (fma_test_downward): Likewise
14038 (fma_test_upward): Likewise.
14039 (initialize): Set min_subnorm_value.
14041 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14046 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14047 mode for addition resulting in exact zero.
14048 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14053 * math/libm-test.inc (fma_test): Add more tests.
14054 (fma_test_towardzero): New function.
14055 (fma_test_downward): Likewise.
14056 (fma_test_upward): Likewise.
14057 (main): Call the new functions.
14059 2012-09-28 David S. Miller <davem@davemloft.net>
14061 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14063 2012-09-28 Roland McGrath <roland@hack.frob.com>
14065 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14066 instead of SIGALRM.
14068 * sysdeps/gnu/_G_config.h: Moved to ...
14069 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14070 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14071 * sysdeps/generic/_G_config.h: ... here.
14073 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14075 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14077 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14078 Conditionalize target on [libnss_test1.so-version].
14080 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14082 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14083 (elfobjdir): Move out of conditionals.
14085 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14086 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14087 (__nss_lookup_function): Conditionalize label remove_from_tree on
14088 [!DO_STATIC_NSS || SHARED], matching its only use.
14090 2012-09-28 David S. Miller <davem@davemloft.net>
14092 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14095 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14097 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14099 when HWCAP_SPARC_CRYPTO is present.
14101 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14103 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14105 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14108 * stdio-common/vfprintf.c (process_string_arg): Revert
14111 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14113 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14115 * stdio-common/tst-sprintf.c: Include <locale.h>
14116 (main): Test sprintf's handling of incomplete multibyte
14119 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14121 * elf/dl-runtime.c (VERSYMIDX): Removed.
14122 * elf/dl-version.c (VERSYMIDX): Likewise.
14123 * elf/do-rel.h (VERSYMIDX): Likewise.
14124 (VALIDX): Likewise.
14125 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14126 * elf/rtld.c (VALIDX): Likewise.
14127 (ADDRIDX): Likewise.
14128 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14129 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14130 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14131 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14132 (VALIDX): Likewise.
14133 (ADDRIDX): Likewise.
14135 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14137 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14139 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14142 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14144 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14145 addresses are in the same scope as 192.0.2/24.
14146 * posix/gai.conf: Document new scope table defaults.
14148 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14151 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14152 for ftell. Compute offsets from write pointers instead.
14153 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14155 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14158 * libio/Makefile (tests): New test case tst-fseek.
14159 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14160 combination works in wide mode.
14161 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14162 state when the external buffer state changes.
14164 2012-09-27 David S. Miller <davem@davemloft.net>
14167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14168 pass reloc->r_addend in as the 'high' argument to
14169 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14173 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14175 * rt/tst-aio2.c: Include <pthread.h>.
14176 * rt/tst-aio3.c: Likewise.
14178 2012-09-27 Steve Ellcey <sellcey@mips.com>
14180 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14182 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14184 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14185 contents on [SHARED].
14187 2012-09-26 Marek Polacek <polacek@redhat.com>
14191 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14192 for C++ and GCC <4.3 as well as for non GCC compilers.
14194 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14198 2012-09-25 Roland McGrath <roland@hack.frob.com>
14200 * Makefile.in (all, install): Declare with .PHONY.
14201 Reported by Michael Hope <michael.hope@linaro.org>.
14203 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14205 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14206 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14208 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14210 (sydep_routines): Add the new and the internal functions.
14211 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14212 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14214 (GLIBC_2.17): Add the new function.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14216 (GLIBC_2.17): Likewise.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14218 (GLIBC_2.17): Likewise.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14220 (GLIBC_2.17): Likewise.
14221 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14223 2012-09-25 Alan Modra <amodra@gmail.com>
14225 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14226 Add release barrier before setting once_control to say
14227 initialisation is done. Add hints on lwarx. Use macro in
14229 (clear_once_control): Add release barrier.
14231 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14234 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14236 * math/s_clog10.c (__clog10): Likewise.
14237 * math/s_clog10f.c (__clog10f): Likewise.
14238 * math/s_clog10l.c (__clog10l): Likewise.
14239 * math/s_clogf.c (__clogf): Likewise.
14240 * math/s_clogl.c (__clogl): Likewise.
14241 * math/Makefile (libm-calls): Add x2y2m1.
14242 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14243 (__x2y2m1): Likewise.
14244 (__x2y2m1l): Likewise.
14245 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14246 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14249 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14250 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14251 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14252 * sysdeps/i386/fpu/libm-test-ulps: Update.
14253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14256 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14257 int as type of variable DEPTH.
14258 (glob): Use size_t instead of int as type of variables NEWCOUNT
14261 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14263 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14264 Add s_sincosf-sse2.
14265 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14266 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14267 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14268 macros for using routine as __sincosf_ia32.
14269 Use macro for function declaration and weak_alias.
14270 * sysdeps/i386/fpu/libm-test-ulps: Update.
14272 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14275 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14276 subnormal argument.
14277 * math/s_cexpf.c (__cexpf): Likewise.
14278 * math/s_csinf.c (__csinf): Likewise.
14279 * math/s_csinhf.c (__csinhf): Likewise.
14280 * math/s_ctanf.c (__ctanf): Likewise.
14281 * math/s_ctanhf.c (__ctanhf): Likewise.
14282 * math/s_ccosh.c (__ccoshf): Likewise.
14283 * math/s_cexp.c (__cexpl): Likewise.
14284 * math/s_csin.c (__csin): Likewise.
14285 * math/s_csinh.c (__csinh): Likewise.
14286 * math/s_ctan.c (__ctan): Likewise.
14287 * math/s_ctanh.c (ctanh): Likewise.
14288 * math/s_ccoshl.c (__ccoshl): Likewise.
14289 * math/s_cexpl.c (__cexpl): Likewise.
14290 * math/s_csinl.c (__csinl): Likewise.
14291 * math/s_csinhl.c (__csinhl): Likewise.
14292 * math/s_ctanl.c (__ctanl): Likewise.
14293 * math/s_ctanhl.c (__ctanhl): Likewise.
14295 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14297 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14298 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14299 (_IO_off_t): Define to __off_t, not _G_off_t.
14300 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14301 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14302 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14303 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14304 type of __dummy and __dummy2 fields.
14305 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14306 (_G_ssize_t): Likewise.
14307 (_G_off_t): Likewise.
14308 (_G_pid_t): Likewise.
14309 (_G_uid_t): Likewise.
14310 (_G_wchar_t): Likewise.
14311 (_G_wint_t): Likewise.
14312 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14313 (_G_ssize_t): Likewise.
14314 (_G_off_t): Likewise.
14315 (_G_pid_t): Likewise.
14316 (_G_uid_t): Likewise.
14317 (_G_wchar_t): Likewise.
14318 (_G_wint_t): Likewise.
14319 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14320 (_G_ssize_t): Likewise.
14321 (_G_off_t): Likewise.
14322 (_G_pid_t): Likewise.
14323 (_G_uid_t): Likewise.
14324 (_G_wchar_t): Likewise.
14325 (_G_wint_t): Likewise.
14327 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14329 * malloc/arena.c: Include malloc-sysdep.h.
14330 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14331 is sufficient to shrink the heap or an unmap is needed.
14332 * sysdeps/generic/malloc-sysdep.h: New file. Define
14333 new function check_may_shrink_heap.
14334 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14335 new function check_may_shrink_heap.
14337 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14339 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14342 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14344 * catgets/test-gencat.sh: Add "set -e".
14345 * elf/tst-pathopt.sh: Likewise.
14346 * grp/tst_fgetgrent.sh: Likewise.
14347 * iconvdata/run-iconv-test.sh: Likewise.
14348 * intl/tst-gettext.sh: Likewise.
14349 * intl/tst-gettext2.sh: Likewise.
14350 * intl/tst-gettext4.sh: Likewise.
14351 * intl/tst-gettext6.sh: Likewise.
14352 * intl/tst-translit.sh: Likewise.
14353 * io/ftwtest-sh: Likewise.
14354 * libio/test-freopen.sh: Likewise.
14355 * malloc/tst-mtrace.sh: Likewise.
14356 * posix/globtest.sh: Likewise.
14357 * posix/tst-getconf.sh: Likewise.
14358 * posix/wordexp-tst.sh: Likewise.
14359 * stdio-common/tst-printf.sh: Likewise.
14360 * stdio-common/tst-unbputc.sh: Likewise.
14361 * stdlib/tst-fmtmsg.sh: Likewise.
14362 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14363 * catgets/Makefile: Do not specify -e option when running
14364 testsuite shell scripts.
14365 * elf/Makefile: Likewise.
14366 * grp/Makefile: Likewise.
14367 * iconvdata/Makefile: Likewise.
14368 * intl/Makefile: Likewise.
14369 * io/Makefile: Likewise.
14370 * libio/Makefile: Likewise.
14371 * malloc/Makefile: Likewise.
14372 * posix/Makefile: Likewise.
14373 * stdio-common/Makefile: Likewise.
14374 * stdlib/Makefile: Likewise.
14375 * sysdeps/x86_64/Makefile: Likewise.
14377 * io/ftwtest-sh: Add copyright header.
14378 * posix/globtest.sh: Likewise.
14379 * posix/tst-getconf.sh: Likewise.
14380 * posix/wordexp-tst.sh: Likewise.
14381 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14383 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14386 * Makeconfig (+link): Defined as $(+link-static) if
14387 $(build-shared) isn't yes.
14388 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14390 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14392 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14395 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14396 new chunk size with MALLOC_ALIGN_MASK.
14398 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14401 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14403 (__printf_fphex): Determine rounding using get_rounding_mode and
14405 * stdio-common/tst-printf-round.c (struct hex_test): New
14407 (hex_tests): New variable.
14408 (test_hex_in_one_mode): New function.
14409 (do_test): Also run tests for hex float output.
14411 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14413 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14414 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14415 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14416 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14417 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14418 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14419 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14420 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14422 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14424 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14425 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14426 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14427 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14429 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14432 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14434 * elf/tst-rtld-load-self.sh: New test.
14435 * elf/Makefile: Run it.
14437 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14439 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14440 (tst-writev-ENV): Remove.
14441 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14443 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14445 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14447 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14449 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14451 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14453 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14454 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14455 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14458 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14461 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14462 * config.make.in (have-cpp-asm-debuginfo): Removed.
14463 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14464 * configure: Regenerated.
14466 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14469 * stdio-common/printf_fp.c: Include <stdbool.h> and
14471 (___printf_fp): Determine rounding using get_rounding_mode and
14473 * stdio-common/tst-printf-round.c: New file.
14474 * stdio-common/Makefile (tests): Add tst-printf-round.
14475 (link-libm): New variable.
14476 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14478 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14481 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14482 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14484 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14487 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14489 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14490 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14491 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14492 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14494 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14497 * include/rounding-mode.h: New file.
14498 * sysdeps/generic/get-rounding-mode.h: Likewise.
14499 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14500 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14501 (MAX_VALUE): New macro.
14502 (MIN_VALUE): Likewise.
14503 (overflow_value): New function.
14504 (underflow_value): Likewise.
14505 (round_and_return): Use overflow_value and underflow_value to
14506 determine return values in overflow and underflow cases. Use
14507 round_away to determine rounding depending on rounding mode.
14508 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14509 determine return values in overflow and underflow cases.
14510 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14511 (struct test_results): New structure.
14512 (struct test): Use struct test_results to store expected results
14513 for all rounding modes.
14514 (TEST): Include expected results for all rounding modes.
14515 (test_in_one_mode): New function.
14516 (do_test): Use test_in_one_mode to compute and check results.
14517 Check results for all rounding modes.
14518 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14521 2012-12-09 Allan McRae <allan@archlinux.org>
14523 * sysdeps/i386/fpu/libm-test-ulps: Update
14525 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14527 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14528 (_G_int32_t): Likewise.
14529 (_G_uint16_t): Likewise.
14530 (_G_uint32_t): Likewise.
14531 (_G_HAVE_BOOL): Likewise.
14532 (_G_HAVE_ATEXIT): Likewise.
14533 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14534 (_G_HAVE_IO_FILE_OPEN): Likewise.
14535 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14536 (_G_int32_t): Likewise.
14537 (_G_uint16_t): Likewise.
14538 (_G_uint32_t): Likewise.
14539 (_G_HAVE_BOOL): Likewise.
14540 (_G_HAVE_ATEXIT): Likewise.
14541 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14542 (_G_HAVE_IO_FILE_OPEN): Likewise.
14543 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14544 (_G_int32_t): Likewise.
14545 (_G_uint16_t): Likewise.
14546 (_G_uint32_t): Likewise.
14547 (_G_HAVE_BOOL): Likewise.
14548 (_G_HAVE_ATEXIT): Likewise.
14549 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14550 (_G_HAVE_IO_FILE_OPEN): Likewise.
14552 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14554 * csu/libc-tls.c: Update copyright years.
14556 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14558 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14559 [!_G_USING_THUNKS]: Remove conditional code.
14560 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14561 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14563 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14564 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14565 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14566 (_G_VTABLE_LABEL_PREFIX): Likewise.
14567 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14568 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14569 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14570 (_G_VTABLE_LABEL_PREFIX): Likewise.
14571 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14572 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14573 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14574 (_G_VTABLE_LABEL_PREFIX): Likewise.
14575 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14577 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14579 * libio/Makefile: Include ../Makeconfig before tests.
14580 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14581 only if $(build-shared) is yes.
14583 * iconv/gconv_db.c: Update copyright years.
14585 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14587 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14588 unwind info if defined PIC. Fix special cases description.
14589 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14591 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14593 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14595 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14597 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14599 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14602 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14603 (LDLIBS-tst-chk4): This.
14604 (LDFLAGS-tst-chk5): Renamed to ...
14605 (LDLIBS-tst-chk5): This.
14606 (LDFLAGS-tst-chk6): Renamed to ...
14607 (LDLIBS-tst-chk6): This.
14608 (LDFLAGS-tst-lfschk4): Renamed to ...
14609 (LDLIBS-tst-lfschk4): This.
14610 (LDFLAGS-tst-lfschk5): Renamed to ...
14611 (LDLIBS-tst-lfschk5): This.
14612 (LDFLAGS-tst-lfschk6): Renamed to ...
14613 (LDLIBS-tst-lfschk6): This.
14615 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14616 on $(common-objpfx)soversions.mk.
14618 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14621 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14624 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14626 * malloc/arena.c (arena_get_retry): New function that gets
14627 another arena for the caller to try its request on.
14628 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14629 current arena cannot fulfill the request.
14630 (__libc_memalign): Likewise.
14631 (__libc_memalign): Likewise.
14632 (__libc_pvalloc): Likewise.
14633 (__libc_calloc): Likewise.
14635 2012-09-05 John Tobey <john.tobey@gmail.com>
14638 * manual/arith.texi (Operations on Complex): Fix description
14639 of carg branch cut.
14641 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14644 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14648 * manual/memory.texi (Memory): Make order of menu items match
14651 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14653 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14654 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14655 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14657 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14659 * csu/libc-tls.c (static_dtv): Renamed to ...
14660 (_dl_static_dtv): This. Make it global.
14661 (_dl_initial_dtv): Removed.
14662 (__libc_setup_tls): Updated.
14663 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14664 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14667 2012-09-06 Petr Machata <pmachata@redhat.com>
14669 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14670 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14671 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14672 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14677 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14678 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14681 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14684 * Makeconfig (link-static-before-libc): Replace $(+prector)
14686 (link-static-after-libc): Replace $(+postctor) with
14688 (link-bounded): Replace $(+prector)/$(+postctor) with
14689 $(+prectorT)/$(+postctorT).
14690 (+prectorT): New macro.
14691 (+postctorT): Likewise.
14693 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14695 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14696 (round_str): Handle values above the maximum for IBM long double
14698 * stdlib/tst-strtod-round.c (tests): Regenerated.
14700 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14702 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14704 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14705 zarch_nohighgprs around the zarch optimized routines.
14706 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14707 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14711 2012-09-05 David S. Miller <davem@davemloft.net>
14713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14715 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14716 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14717 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14718 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14723 * malloc/arena.c: Fold copyright years.
14724 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14726 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14728 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14730 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14732 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14734 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14736 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14737 change internal state upon failure.
14739 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14741 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14742 * malloc/memusage.c (mmap): Likewise.
14743 (mmap64, mremap): Likewise. Adjust name in comment.
14745 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14747 * libio/fileops.c: Fix typos in comments.
14748 * libio/oldfileops.c: Likewise.
14749 * libio/wfileops.c: Likewise.
14751 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14754 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14755 (tst-malloc-usable-ENV): Set environment for test case.
14756 * malloc/hooks.c (malloc_check_get_size): New function to get
14758 * malloc/malloc.c (musable): Use malloc_check_get_size.
14759 * malloc/tst-malloc-usable.c: New test case.
14761 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14763 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14765 2012-09-05 Allan McRae <allan@archlinux.org>
14768 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14769 determine header location.
14770 * configure: Regenerated.
14772 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14774 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14776 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14777 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14779 (test): Regenerate.
14781 2012-09-04 David S. Miller <davem@davemloft.net>
14783 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14784 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14785 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14787 2012-09-04 Florian Weimer <fweimer@redhat.com>
14789 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14792 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14794 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14797 * libio/iogetdelim.c: Include <limits.h>.
14798 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14799 + len + 1 would overflow.
14801 2012-09-03 Andreas Jaeger <aj@suse.de>
14803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14804 * sysdeps/i386/fpu/libm-test-ulps: Update.
14806 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14808 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14809 Add s_sinf-sse2, s_conf-sse2.
14811 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14812 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14813 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14814 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14816 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14817 for using routine as __sinf_ia32.
14818 Use macro for function declaration and weak_alias.
14819 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14820 for using routine as __cosf_ia32.
14821 Use macro for function declaration and weak_alias.
14823 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14824 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14826 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14827 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14830 * math/libm-test.inc (cos_test): Add more test cases.
14831 (sin_test): Likewise.
14832 (sincos_test): Likewise.
14834 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14836 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14837 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14839 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14841 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14844 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14845 first element of the GOT.
14846 (elf_machine_load_address): Return the difference between
14847 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14849 2012-09-01 Allan McRae <allan@archlinux.org>
14852 * configure.in (AWK): Require gawk version 3.0 or later.
14853 * configure: Regenerated.
14855 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14857 * sysdeps/unix/sysv/linux/kernel-features.h
14858 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14859 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14860 [__NR_clock_getres]: Make code unconditional.
14861 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14862 (clock_getcpuclockid): Remove code left unreachable by removal of
14864 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14865 code unconditional.
14866 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14867 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14868 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14869 Make code unconditional.
14870 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14871 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14872 * sysdeps/unix/sysv/linux/clock_settime.c
14873 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14875 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14876 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14878 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14881 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14882 scripts/test-installation.pl.
14884 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14885 and $ld_so_version if it is set.
14887 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14890 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14891 failure if reading from procfs failed.
14892 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14894 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14896 * sysdeps/unix/sysv/linux/kernel-features.h
14897 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14898 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14899 Remove conditional code.
14900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14901 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14902 Remove conditional code.
14903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14904 * sysdeps/unix/sysv/linux/i386/fxstat.c
14905 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14907 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14908 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14910 * sysdeps/unix/sysv/linux/i386/lxstat.c
14911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14913 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14914 Remove conditional code.
14915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14916 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14917 Remove conditional code.
14918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14919 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14920 <kernel-features.h>.
14921 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14923 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14924 Remove conditional code.
14925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14926 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14927 Remove conditional.
14929 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14932 * NEWS: Add fixed bug number.
14934 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14937 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14938 underflowing exponent in case of negative sign.
14939 * stdlib/tst-strtod-round-data: Add more tests.
14940 * stdlib/tst-strtod-round.c (tests): Regenerated.
14943 * stdlib/strtod_l.c (NDIG): Remove.
14944 (HEXNDIG): Likewise.
14945 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14946 smallest representable value.
14947 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14948 lie within an exact representation of 1/2 ulp of the result.
14949 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14951 (TENS_P9_IDX): Define unconditionally.
14952 (TENS_P9_SIZE): Likewise.
14953 (TENS_P10_IDX): Likewise.
14954 (TENS_P10_SIZE): Likewise.
14955 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14956 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14957 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14958 entries for 10^2^13 and 10^2^14.
14959 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14960 (TENS_P13_IDX): Define.
14961 (TENS_P13_SIZE): Likewise.
14962 (TENS_P14_IDX): Likewise.
14963 (TENS_P14_SIZE): Likewise.
14964 (_fpioconst_pow10): Change array size to
14965 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14967 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14968 1024]: Add entries for 10^2^13 and 10^2^14.
14969 [LAST_POW10 > _LAST_POW10]: Remove #error.
14970 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14971 (_fpioconst_pow10): Change array size to
14972 FPIOCONST_POW10_ARRAY_SIZE.
14973 * stdlib/gen-fpioconst.c: New file.
14974 * stdlib/gen-tst-strtod-round.c: Likewise.
14975 * stdlib/tst-strtod-round-data: Likewise.
14976 * stdlib/tst-strtod-round.c: Likewise.
14977 * stdlib/Makefile (tests): Add tst-strtod-round.
14980 * stdlib/strtod_l.c: Include <stdint.h>.
14981 (NDEBUG): Do not define.
14982 (round_and_return): Change EXPONENT parameter to type intmax_t.
14983 Rearrange calculations to avoid internal overflow possibilities.
14984 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14985 Rearrange calculations to avoid internal overflow possibilities.
14986 Assert that number fits inside MPNSIZE limbs.
14987 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14988 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14989 calculations and add assertions to avoid internal overflow
14990 possibilities. Add casts to avoid signed/unsigned operations.
14991 * stdlib/tst-strtod-overflow.c: New file.
14992 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14994 2012-08-25 Marek Polacek <polacek@redhat.com>
14996 * time/time.h: Fix some typos in comments.
14998 2012-08-23 Roland McGrath <roland@hack.frob.com>
15000 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15001 * posix/tst-rfc3484-2.c: Likewise.
15002 * posix/tst-rfc3484-3.c: Likewise.
15004 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15006 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15007 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15009 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15011 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15012 #include of fxstatat64.c.
15014 2012-08-22 Roland McGrath <roland@hack.frob.com>
15016 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15017 * shadow/getspent_r.c: Likewise.
15018 * shadow/getspnam.c: Likewise.
15019 * shadow/getspnam_r.c: Likewise.
15020 * gshadow/getsgent.c: Likewise.
15021 * gshadow/getsgent_r.c: Likewise.
15022 * gshadow/getsgnam.c: Likewise.
15023 * gshadow/getsgnam_r.c: Likewise.
15024 * inet/getnetbyad.c: Likewise.
15025 * inet/getnetbyad_r.c: Likewise.
15026 * inet/getnetbynm.c: Likewise.
15027 * inet/getnetbynm_r.c: Likewise.
15028 * inet/getnetent.c: Likewise.
15029 * inet/getnetent_r.c: Likewise.
15030 * inet/getproto.c: Likewise.
15031 * inet/getproto_r.c: Likewise.
15032 * inet/getprtent.c: Likewise.
15033 * inet/getprtent_r.c: Likewise.
15034 * inet/getprtname.c: Likewise.
15035 * inet/getprtname_r.c: Likewise.
15036 * inet/getrpcbyname.c: Likewise.
15037 * inet/getrpcbyname_r.c: Likewise.
15038 * inet/getrpcbynumber.c: Likewise.
15039 * inet/getrpcbynumber_r.c: Likewise.
15040 * inet/getrpcent.c: Likewise.
15041 * inet/getrpcent_r.c: Likewise.
15042 * inet/getaliasent.c: Likewise.
15043 * inet/getaliasent_r.c: Likewise.
15044 * inet/getaliasname.c: Likewise.
15045 * inet/getaliasname_r.c: Likewise.
15046 * nscd/getgrgid_r.c: Likewise.
15047 * nscd/getgrnam_r.c: Likewise.
15048 * nscd/gethstbyad_r.c: Likewise.
15049 * nscd/gethstbynm3_r.c: Likewise.
15050 * nscd/getpwnam_r.c: Likewise.
15051 * nscd/getpwuid_r.c: Likewise.
15052 * nscd/getsrvbynm_r.c: Likewise.
15053 * nscd/getsrvbypt_r.c: Likewise.
15054 * nscd/gai.c: Likewise.
15056 * configure.in (build_nscd): New substituted variable, set
15057 by --disable-build-nscd and defaults to $use_nscd.
15058 * configure: Regenerated.
15059 * config.make.in (build-nscd): New substituted variable.
15060 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15061 Change conditional to require [$(build-nscd) = yes] as well.
15062 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15065 * configure.in (use_nscd): New substituted variable, set by
15066 --disable-nscd. If enabled, define USE_NSCD.
15067 * configure: Regenerated.
15068 * config.h.in: Add USE_NSCD.
15069 * config.make.in (use-nscd): New substituted variable.
15070 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15071 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15072 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15073 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15074 (CFLAGS-getgrnam_r.c): Likewise.
15075 (CFLAGS-initgroups.c): Likewise.
15076 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15077 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15079 * inet/getnetgrent_r.c
15080 (nscd_setnetgrent): New function, broken out of ...
15081 (setnetgrent): ... here. Call it.
15082 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15083 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15084 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15085 * nscd/Makefile (routines, aux): Move definitions after include of
15086 Makeconfig. Conditionalize on [$(use-nscd) != no].
15087 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15088 Conditionalize on [USE_NSCD].
15089 (is_nscd, nscd_init_cb): Likewise.
15090 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15091 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15092 * nss/nss_db/db-init.c: Likewise.
15093 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15095 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15096 (make_request): Use it.
15097 (cache_valid_p): New function.
15098 (__check_pf): Use it.
15099 * NEWS: Add item for --disable-nscd.
15101 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15103 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15104 to support sed >= 4.2.1-20-ga9bf076.
15105 * configure: Regenerated.
15107 2012-08-22 Roland McGrath <roland@hack.frob.com>
15109 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15110 Conditionalize whole body on [IREL].
15112 2012-08-22 Jeff Law <law@redhat.com>
15115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15116 if the family is PF_UNSPEC.
15118 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15120 * Makerules (lib-version): Rename from V.
15121 (install-lib-nosubdir): Change V to lib-version.
15123 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15126 * powerpc32/power6/wcschr.c: New file.
15127 * powerpc32/power6/wcscpy.c: New file.
15128 * powerpc32/power6/wcsrchr.c: New file.
15129 * powerpc64/power6/wcschr.c: New file.
15130 * powerpc64/power6/wcscpy.c: New file.
15131 * powerpc64/power6/wcsrchr.c: New file.
15133 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15135 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15136 (two_way_short_needle): Use it.
15137 * string/strstr.c (AVAILABLE1_USES_J): Define.
15138 * string/strcasestr.c: Likewise.
15140 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15142 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15145 * NEWS: Add an entry.
15146 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15147 define their defaults.
15148 (two_way_short_needle): Detect end-of-string on-the-fly.
15149 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15150 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15151 * string/bug-strcasestr1.c: New test.
15152 * string/Makefile: Run it.
15154 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15157 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15158 the first character.
15160 2012-08-21 Roland McGrath <roland@hack.frob.com>
15162 * csu/elf-init.c (__libc_csu_irel): Function removed.
15163 * csu/libc-start.c (apply_irel): New function.
15164 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15166 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15168 * sysdeps/unix/sysv/linux/kernel-features.h
15169 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15170 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15171 <kernel-features.h>.
15172 [__NR_fadvise64_64]: Make code unconditional.
15173 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15174 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15175 !__NR_fadvise64_64)]: Likewise.
15176 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15177 !__NR_fadvise64_64))]: Likewise.
15178 [__NR_fadvise64]: Make code unconditional.
15179 [!__NR_fadvise64]: Remove conditional code.
15180 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15181 <kernel-features.h>.
15182 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15184 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15187 not include <kernel-features.h>.
15188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15192 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15193 include <kernel-features.h>.
15194 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15196 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15199 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15202 slight instruction rearrangements per scrollpipe analysis.
15203 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15205 2012-08-20 Roland McGrath <roland@hack.frob.com>
15207 * manual/syslog.texi (syslog; vsyslog, closelog):
15208 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15209 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15211 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15212 DSOCAPS to match condition on defining it.
15214 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15216 * sysdeps/unix/sysv/linux/kernel-features.h
15217 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15228 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15229 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15231 * sysdeps/unix/sysv/linux/kernel-features.h
15232 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15233 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15235 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15236 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15239 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15240 Make code unconditional.
15241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15242 (__mmap64) [!__NR_mmap2]: Likewise.
15243 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15244 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15245 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15246 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15247 [__NR_mmap2]: Make code unconditional.
15248 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15249 (__mmap64) [!__NR_mmap2]: Likewise.
15251 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15253 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15255 2012-08-18 Andreas Jaeger <aj@suse.de>
15257 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15259 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15261 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15262 * include/unistd.h (__have_sock_cloexec): Likewise.
15263 (__have_pipe2): Likewise.
15264 (__have_dup3): Likewise.
15266 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15269 * include/unistd.h (__have_pipe2): Change define into an extern int.
15270 (__have_dup3): Likewise.
15271 * socket/have_sock_cloexec.c: Include fcntl.h.
15272 (__have_pipe2): New variable.
15273 (__have_dup3): Likewise.
15275 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15277 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15279 2012-08-17 Marek Polacek <polacek@redhat.com>
15281 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15282 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15284 2012-08-17 Roland McGrath <roland@hack.frob.com>
15286 * configure.in: Add AC_SUBST for sysheaders.
15287 * configure: Regenerated.
15288 * config.make.in (sysheaders): New substituted variable.
15290 * sysdeps/unix/mkfifo.c: Moved ...
15291 * sysdeps/posix/mkfifo.c: ... here.
15292 * sysdeps/unix/mkfifoat.c: Moved ...
15293 * sysdeps/posix/mkfifoat.c: ... here.
15295 * sysdeps/unix/utime.c: Moved ...
15296 * sysdeps/posix/utime.c: ... here.
15298 * sysdeps/unix/time.c: Moved ...
15299 * sysdeps/posix/time.c: ... here.
15300 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15301 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15303 * sysdeps/unix/nice.c: Moved ...
15304 * sysdeps/posix/nice.c: ... here.
15306 * sysdeps/unix/alarm.c: Moved ...
15307 * sysdeps/posix/alarm.c: ... here.
15309 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15311 2012-08-17 Jeff Law <law@redhat.com>
15313 * intl/Makefile (codeset_mo): New variable.
15314 ($(codeset_mo)): New target.
15315 (tst-codeset.out): Depend on that. Remove explicit rule.
15316 (tst-gettext3.out, tst-gettext5.out): Likewise.
15317 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15318 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15319 * intl/tst-codeset.sh: Remove.
15320 * intl/tst-gettext3.sh: Likewise.
15321 * intl/tst-gettext5.sh: Likewise.
15323 2012-08-17 Roland McGrath <roland@hack.frob.com>
15325 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15326 * sysdeps/unix/syscalls.list: ... here.
15328 * sysdeps/posix/getaddrinfo.c
15329 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15330 (gaiconf_init, gaiconf_reload): Use them.
15331 [!_STATBUF_ST_NSEC]
15332 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15333 Define using time_t rather than struct timespec.
15335 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15336 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15338 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15340 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15341 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15344 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15345 __libc_cleanup_push argument.
15347 * bits/param.h: New file.
15348 * misc/sys/param.h: New file.
15349 * include/sys/param.h: New file.
15350 * misc/Makefile (headers): Add bits/param.h.
15351 * sysdeps/generic/sys/param.h: File removed.
15352 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15353 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15354 * sysdeps/mach/hurd/bits/param.h: New file.
15355 * sysdeps/mach/hurd/sys/param.h: File removed.
15357 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15360 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15362 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15363 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15366 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15367 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15368 rather than -D_IO_MTSAFE_IO conditionally.
15369 * stdio-common/Makefile (CPPFLAGS): Likewise.
15370 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15371 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15372 Use $(libio-mtsafe).
15373 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15374 of -D_IO_MTSAFE_IO.
15375 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15376 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15377 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15378 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15379 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15380 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15381 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15382 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15383 (CFLAGS-fread_u_chk.c): Likewise.
15384 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15385 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15386 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15387 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15388 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15389 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15390 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15391 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15392 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15394 * libio/Makefile: Test [$(libc-reentrant) = yes]
15395 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15398 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15399 * sysdeps/pthread/configure: File removed.
15400 * sysdeps/pthread/Makeconfig: New file.
15401 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15402 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15404 2012-08-16 Gary Benson <gbenson@redhat.com>
15406 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15407 unmapping the first object in a namespace.
15409 2012-08-16 Roland McGrath <roland@hack.frob.com>
15411 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15412 (__internal_setnetgrent): ... this. Add internal_function to
15413 definition. Add libc_hidden_def.
15414 (setnetgrent): Update caller.
15415 (internal_endnetgrent): Renamed to ...
15416 (__internal_endnetgrent): ... this. Add internal_function to
15417 definition. Add libc_hidden_def.
15418 (endnetgrent): Update caller.
15419 (internal_getnetgrent_r): Renamed to ...
15420 (__internal_getnetgrent_r): ... this. Add internal_function to
15421 definition. Add libc_hidden_def.
15422 (__getnetgrent_r): Update caller.
15423 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15425 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15427 * stdlib/longlong.h: Update from GCC.
15429 2012-08-16 Roland McGrath <roland@hack.frob.com>
15431 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15432 on _QL, which is set by umul_ppmm but never used.
15433 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15434 variables, which are set by GMP macros but never used.
15435 * stdio-common/_itowa.c (_itowa): Likewise.
15436 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15437 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15439 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15441 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15442 struct La_sh_regs is not constant.
15443 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15444 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15445 and struct La_sparc64_regs are not constant.
15447 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15449 * sysdeps/unix/sysv/linux/kernel-features.h
15450 (__ASSUME_POSIX_TIMERS): Remove.
15451 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15453 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15454 Make code unconditional.
15455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15456 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15457 Make code unconditional.
15458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15459 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15460 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15462 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15463 Make code unconditional.
15464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15465 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15466 (__libc_missing_posix_timers): Remove.
15468 2012-08-15 Roland McGrath <roland@hack.frob.com>
15470 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15471 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15473 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15475 * elf/dl-sym.c: Include <stdlib.h>.
15477 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15478 constants, which avoids warnings in 32-bit builds.
15480 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15481 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15483 * misc/lseek.c: File moved to ...
15484 * io/lseek.c: ... here.
15486 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15488 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15489 shifting LEN more than 31 bits at once.
15491 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15494 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15495 segmentation fault for a case of two empty input strings.
15496 * string/test-strncasecmp.c (check1): Renamed to...
15497 (bz12205): ...this.
15498 (bz14195): Add new testcase for two empty input strings and N > 0.
15499 (test_main): Call new testcase, adapt for renamed function.
15501 2012-08-15 Andreas Jaeger <aj@suse.de>
15504 * crypt/md5test2.c: New test, based on test supplied by Serge
15505 Belyshev <belyshev@depni.sinp.msu.ru>.
15506 * crypt/Makefile (xtests): Add md5test-giant..
15507 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15509 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15512 * crypt/md5.c (md5_process_block): Don't assume the buffer
15513 length is less than 2**32.
15514 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15515 length is less than 2**64.
15517 2012-08-15 Roland McGrath <roland@hack.frob.com>
15519 * string/str-two-way.h: Include <sys/param.h>.
15520 (MAX): Macro removed.
15522 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15523 Move #define and #undef of memmove to just before and after
15524 including <string.h>.
15526 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15527 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15528 and after including <string.h>. Move declarations of
15529 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15530 to before #include "string/memmove.c".
15532 * include/dirent.h: Declare __getdirentries.
15534 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15535 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15537 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15539 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15540 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15541 * sysdeps/i386/configure: Regenerated.
15542 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15543 STABS_CURRENT_FILE, and STABS_FUN.
15544 (END): Remove call to STABS_FUN_END.
15545 (STABS_CURRENT_FILE1): Delete.
15546 (STABS_CURRENT_FILE): Likewise.
15547 (STABS_FUN): Likewise.
15548 (STABS_FUN_END): Likewise.
15549 (STABS_FUN2): Likewise.
15550 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15551 * sysdeps/x86_64/configure: Regenerated.
15553 2012-08-14 Roland McGrath <roland@hack.frob.com>
15555 * elf/dl-open.c: Include <atomic.h>.
15556 * elf/dl-lookup.c: Likewise.
15558 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15560 * sysdeps/unix/sysv/linux/kernel-features.h
15561 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15562 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15564 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15566 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15567 condition on __ASSUME_CLONE_THREAD_FLAGS.
15569 2012-08-14 Andreas Jaeger <aj@suse.de>
15571 * sysdeps/i386/fpu/libm-test-ulps: Update.
15573 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15575 * include/atomic.h (atomic_exchange_and_add): Split into ...
15576 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15579 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15583 2012-08-13 Jeff Law <law@redhat.com>
15585 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15586 null byte in the output string.
15588 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15590 * sysdeps/unix/sysv/linux/kernel-features.h
15591 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15592 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15593 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15594 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15595 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15596 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15597 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15599 2012-08-09 Jeff Law <law@redhat.com>
15602 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15603 When avoid_arena is set, don't retry in the that arena. Pick the
15604 next one, whatever it might be.
15605 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15606 (arena_lock): Pass in new parameter to arena_get2.
15607 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15609 (__libc_malloc): Unify retrying after main arena failure with
15610 __libc_memalign version.
15611 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15613 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15616 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15617 to __redirect_strstr.
15618 (__strstr_sse42): Use typeof __redirect_strstr.
15619 (__strstr_ia32): Likewise.
15620 (__libc_strstr): New prototype.
15621 (strstr): Renamed to ...
15622 (__libc_strstr): This.
15623 (strstr): New strong alias of __libc_strstr.
15624 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15625 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15628 (__libc_time): New prototype.
15629 (time_ifunc): Replace time with __libc_time.
15630 (time): New strong alias and hidden definition of __libc_time.
15631 (__GI_time): Remove strong alias.
15632 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15633 Include <stddef.h>.
15634 (memmove): Redefined to __redirect_memmove.
15635 (__memmove_sse2): Use typeof __redirect_memmove.
15636 (__memmove_ssse3): Likewise.
15637 (__memmove_ssse3_back): Likewise.
15638 (__libc_memmove): New prototype.
15639 (memmove): Renamed to ...
15640 (__libc_memmove): This.
15641 (memmove): New strong alias of __libc_memmove.
15643 2012-08-08 Mark Salter <msalter@redhat.com>
15646 (R_MN10300_TLS_GD): Define.
15647 (R_MN10300_TLS_LD): Likewise.
15648 (R_MN10300_TLS_LDO): Likewise.
15649 (R_MN10300_TLS_GOTIE): Likewise.
15650 (R_MN10300_TLS_IE): Likewise.
15651 (R_MN10300_TLS_LE): Likewise.
15652 (R_MN10300_TLS_DTPMOD): Likewise.
15653 (R_MN10300_TLS_DTPOFF): Likewise.
15654 (R_MN10300_TLS_TPOFF): Likewise.
15655 (R_MN10300_SYM_DIFF): Likewise.
15656 (R_MN10300_ALIGN): Likewise.
15657 (R_MN10300_NUM): Update.
15659 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15664 2012-08-08 Roland McGrath <roland@hack.frob.com>
15666 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15668 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15669 sysdeps/unix -> sysdeps/posix move.
15670 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15672 2012-08-07 Allan McRae <allan@archlinux.org>
15675 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15676 (SUNOS_CPP): Likewise.
15677 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15679 (open_input): Call CPP using execvp.
15681 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15683 * sysdeps/unix/sysv/linux/kernel-features.h
15684 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15685 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15686 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15687 (__ASSUME_WAITID_SYSCALL): Likewise.
15688 * sysdeps/unix/sysv/linux/dl-execstack.c
15689 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15690 code unconditional.
15691 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15693 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15694 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15695 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15697 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15699 [__ASSUME_WAITID_SYSCALL]: Likewise.
15700 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15702 2012-08-07 Roland McGrath <roland@hack.frob.com>
15704 * sysdeps/unix/closedir.c: Renamed to ...
15705 * sysdeps/posix/closedir.c: ... here.
15706 * sysdeps/unix/dirfd.c: Renamed to ...
15707 * sysdeps/posix/dirfd.c: ... here.
15708 * sysdeps/unix/dirstream.h: Renamed to ...
15709 * sysdeps/posix/dirstream.h: ... here.
15710 * sysdeps/unix/fdopendir.c: Renamed to ...
15711 * sysdeps/posix/fdopendir.c: ... here.
15712 * sysdeps/unix/opendir.c: Renamed to ...
15713 * sysdeps/posix/opendir.c: ... here.
15714 * sysdeps/unix/readdir.c: Renamed to ...
15715 * sysdeps/posix/readdir.c: ... here.
15716 * sysdeps/unix/readdir_r.c: Renamed to ...
15717 * sysdeps/posix/readdir_r.c: ... here.
15718 * sysdeps/unix/rewinddir.c: Renamed to ...
15719 * sysdeps/posix/rewinddir.c: ... here.
15720 * sysdeps/unix/seekdir.c: Renamed to ...
15721 * sysdeps/posix/seekdir.c: ... here.
15722 * sysdeps/unix/telldir.c: Renamed to ...
15723 * sysdeps/posix/telldir.c: ... here.
15724 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15725 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15726 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15727 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15729 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15730 * bits/fcntl.h: ... here.
15732 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15734 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15735 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15736 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15737 (struct flock): Move l_start, l_len to the beginning.
15738 Use __pid_t for l_pid.
15739 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15740 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15741 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15742 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15743 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15744 [__USE_LARGEFILE64] (struct flock64): New type.
15745 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15747 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15748 * bits/dirent.h: ... here.
15750 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15751 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15753 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15755 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15756 Change from 2.6.0 to 2.6.16.
15757 * sysdeps/unix/sysv/linux/configure: Regenerated.
15758 * sysdeps/unix/sysv/linux/kernel-features.h
15759 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15760 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15762 (__ASSUME_UTIMES): Likewise.
15763 (__ASSUME_CLONE_STOPPED): Remove.
15764 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15765 architectures, not kernel version.
15766 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15767 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15768 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15769 (__ASSUME_WAITID_SYSCALL): Likewise.
15770 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15771 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15772 * README: State 2.6.16 as minimum Linux kernel version. Do not
15773 refer to older versions.
15775 2012-08-06 Roland McGrath <roland@hack.frob.com>
15777 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15778 Define alphasort64 as an alias.
15779 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15780 Define versionsort64 as an alias.
15781 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15782 Define scandir64 as an alias.
15783 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15784 Define scandirat64 as an alias.
15785 * dirent/alphasort64.c (alphasort64):
15786 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15787 * dirent/versionsort64.c: Likewise.
15788 * dirent/scandir64.c: Likewise.
15789 * dirent/scandirat64.c: Likewise.
15790 * sysdeps/wordsize-64/alphasort.c: File removed.
15791 * sysdeps/wordsize-64/alphasort64.c: File removed.
15792 * sysdeps/wordsize-64/scandir.c: File removed.
15793 * sysdeps/wordsize-64/scandir64.c: File removed.
15794 * sysdeps/wordsize-64/scandirat.c: File removed.
15795 * sysdeps/wordsize-64/scandirat64.c: File removed.
15796 * sysdeps/wordsize-64/versionsort.c: File removed.
15797 * sysdeps/wordsize-64/versionsort64.c: File removed.
15798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15800 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15801 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15802 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15803 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15804 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15805 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15807 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15809 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15811 [defined __arch64__ || defined __sparcv9]
15812 (__INO_T_MATCHES_INO64_T): New macro.
15813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15814 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15815 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15816 * sysdeps/unix/sysv/linux/bits/dirent.h
15817 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15818 (_DIRENT_MATCHES_DIRENT64): New macro.
15820 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15821 Define lockf64 as an alias.
15822 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15823 Define fseeko64 as an alias.
15824 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15825 Define ftello64 as an alias.
15826 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15827 Define _IO_fgetpos64 and fgetpos64 as aliases.
15828 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15829 Define _IO_fsetpos64 and fsetpos64 as aliases.
15830 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15831 Conditionalize body on this.
15832 * libio/fseeko64.c: Likewise.
15833 * libio/ftello64.c: Likewise.
15834 * libio/iofgetpos64.c: Likewise.
15835 * libio/iofsetpos64.c: Likewise.
15836 * sysdeps/wordsize-64/lockf.c: File removed.
15837 * sysdeps/wordsize-64/lockf64.c: File removed.
15838 * sysdeps/wordsize-64/fseeko.c: File removed.
15839 * sysdeps/wordsize-64/fseeko64.c: File removed.
15840 * sysdeps/wordsize-64/ftello.c: File removed.
15841 * sysdeps/wordsize-64/ftello64.c: File removed.
15842 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15843 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15844 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15845 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15846 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15852 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15853 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15857 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15859 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15861 [defined __arch64__ || defined __sparcv9]
15862 (__OFF_T_MATCHES_OFF64_T): New macro.
15863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15864 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15866 (__OFF_T_MATCHES_OFF64_T): New macro.
15868 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15870 * stdlib/secure-getenv.c (__secure_getenv): Replace
15871 GLIBC_2_16 with GLIBC_2_17.
15873 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15875 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15876 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15878 2012-08-03 David S. Miller <davem@davemloft.net>
15880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15882 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15886 (__ASSUME_CORRECT_SI_PID): Likewise.
15887 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15888 (__ASSUME_TMPFS_NAME): Likewise.
15889 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15890 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15891 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15892 (HAVE_AUX_SECURE): Make definition unconditional.
15893 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15894 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15896 2012-08-03 Roland McGrath <roland@hack.frob.com>
15898 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15899 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15900 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15901 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15902 __eloop_threshold instead of SYMLOOP_MAX.
15904 * sysdeps/generic/eloop-threshold.h: New file.
15905 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15907 * elf/chroot_canon.c (chroot_canon): Likewise.
15909 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15912 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15913 Change to 2.6.0 everywhere.
15914 * sysdeps/unix/sysv/linux/configure: Regenerated.
15915 * sysdeps/unix/sysv/linux/kernel-features.h
15916 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15917 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15919 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15920 (__ASSUME_FUTEX_REQUEUE): Remove.
15921 (__ASSUME_STATFS64): Define unconditionally.
15922 (__ASSUME_AT_SECURE): Likewise.
15923 (__ASSUME_CORRECT_SI_PID): Likewise.
15924 (__ASSUME_TGKILL): Define without depending on kernel version for
15926 (__ASSUME_UTIMES): Likewise.
15927 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15929 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15930 (__ASSUME_TMPFS_NAME): Likewise.
15931 * README: Update reference to Linux kernel versions.
15933 2012-08-02 Marek Polacek <polacek@redhat.com>
15936 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15937 libc_cv_asm_type_prefix with %.
15938 * configure: Regenerated.
15939 * include/libc-symbols.h: Remove comment about
15940 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15941 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15942 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15943 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15944 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15945 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15946 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15947 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15948 * elf/tst-unique2mod1.c: Likewise.
15949 * elf/tst-unique1mod2.c: Likewise.
15950 * elf/tst-unique1mod1.c: Likewise.
15951 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15952 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15953 Replace ASM_TYPE_DIRECTIVE with .type.
15954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15955 * sysdeps/i386/sysdep.h: Likewise.
15956 * sysdeps/x86_64/sysdep.h: Likewise.
15957 * sysdeps/sh/sysdep.h: Likewise.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15959 Do not define ASM_TYPE_DIRECTIVE.
15960 * sysdeps/powerpc/sysdep.h: Likewise.
15961 * sysdeps/powerpc/powerpc32/sysdep.h:
15962 Replace ASM_TYPE_DIRECTIVE with .type.
15963 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15964 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15965 * sysdeps/i386/fpu/e_powf.S: Likewise.
15966 * sysdeps/i386/fpu/e_expl.S: Likewise.
15967 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15968 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15969 * sysdeps/i386/fpu/e_pow.S: Likewise.
15970 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15971 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15972 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15973 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15974 * sysdeps/i386/fpu/e_log2.S: Likewise.
15975 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15976 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15977 * sysdeps/i386/fpu/e_powl.S: Likewise.
15978 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15979 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15980 * sysdeps/i386/fpu/e_logl.S: Likewise.
15981 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15982 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15983 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15984 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15985 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15986 * sysdeps/i386/fpu/e_log.S: Likewise.
15987 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15988 * sysdeps/i386/fpu/e_logf.S: Likewise.
15989 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15990 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15991 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15992 * sysdeps/i386/fpu/e_log10.S: Likewise.
15993 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15994 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15995 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15996 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15997 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15998 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15999 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16000 * sysdeps/i386/i686/strtok.S: Likewise.
16001 * sysdeps/i386/i386-mcount.S: Likewise.
16002 * sysdeps/i386/strtok.S: Likewise.
16003 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16004 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16005 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16007 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16009 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16010 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16012 * sysdeps/x86_64/_mcount.S: Likewise.
16013 * sysdeps/x86_64/strtok.S: Likewise.
16014 * sysdeps/sh/_mcount.S: Likewise.
16016 2012-08-01 Roland McGrath <roland@hack.frob.com>
16018 * libio/iofopen.c: Include <fcntl.h>.
16019 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16020 (_IO_fopen64, fopen64): Define as aliases.
16021 * libio/iofopen64.c: Include <fcntl.h>.
16022 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16023 Conditionalize body on this.
16024 * sysdeps/wordsize-64/iofopen.c: File removed.
16025 * sysdeps/wordsize-64/iofopen64.c: File removed.
16027 2012-08-01 Marek Polacek <polacek@redhat.com>
16029 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16030 Use dlfcn directly instead of a variable.
16031 (binfmt-subdir): Do not define.
16034 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16036 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16037 Remove all definitions.
16038 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16039 <kernel-features.h>.
16040 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16041 (miss_F_GETOWN_EX): Remove all definitions.
16042 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16044 [!__ASSUME_FCNTL64]: Remove conditional code.
16045 [__ASSUME_FCNTL64]: Make code unconditional.
16046 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16047 <kernel-features.h>.
16048 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16049 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16050 (lockf64) [__NR_fcntl64]: Make code unconditional.
16051 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16053 * sysdeps/unix/sysv/linux/kernel-features.h
16054 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16055 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16056 Make code unconditional.
16057 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16058 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16060 [__NR_vfork]: Make code unconditional.
16061 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16062 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16064 [__NR_vfork]: Make code unconditional.
16065 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16066 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16068 2012-08-01 Roland McGrath <roland@hack.frob.com>
16070 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16071 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16073 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16074 Define mkstemp64 as an alias.
16075 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16076 Define mkstemps64 as an alias.
16077 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16078 Define mkostemp64 as an alias.
16079 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16080 Define mkostemps64 as an alias.
16081 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16082 Conditionalize body on this.
16083 * misc/mkostemp64.c: Likewise.
16084 * misc/mkostemps64.c: Likewise.
16085 * misc/mkstemps64.c: Likewise.
16086 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16087 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16088 * sysdeps/wordsize-64/mkostemp.c: File removed.
16089 * sysdeps/wordsize-64/mkstemp.c: File removed.
16090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16091 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16092 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16093 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16096 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16097 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16098 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16099 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16101 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16102 compat_symbol macros from <shlib-compat.h> rather than the underlying
16103 default_symbol_version and symbol_version macros, so that DEFAULT
16104 lines in shlib-versions are respected.
16105 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16107 2012-08-01 Florian Weimer <fweimer@redhat.com>
16109 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16110 Declare with warn_unused_result.
16111 (setgid, setregid, setegid, setresgid): Likewise.
16112 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16114 * WUR-REPORT: Remove set*id functions.
16116 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16118 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16120 2012-07-31 Roland McGrath <roland@hack.frob.com>
16123 * include/sys/socket.h (__libc_accept, __libc_accept4):
16124 Add attribute_hidden.
16125 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16127 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16129 * inet/getnetgrent_r.c (setup): Likewise.
16131 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16133 2012-07-31 David S. Miller <davem@davemloft.net>
16135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16137 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16140 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16141 value between 1.0 and 2.0 and smaller part has absolute value less
16143 * math/s_clog10.c (__clog10): Likewise.
16144 * math/s_clog10f.c (__clog10f): Likewise.
16145 * math/s_clog10l.c (__clog10l): Likewise.
16146 * math/s_clogf.c (__clogf): Likewise.
16147 * math/s_clogl.c (__clogl): Likewise.
16148 * math/libm-test.inc (clog_test): Add more tests.
16149 (clog10_test): Likewise.
16150 * sysdeps/i386/fpu/libm-test-ulps: Update.
16151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16153 2012-07-31 Florian Weimer <fweimer@redhat.com>
16155 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16156 Exit with zero in case no suitable GID is found, and write a
16157 message to standard error.
16159 2012-07-30 Roland McGrath <roland@hack.frob.com>
16161 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16163 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16164 (MAXPATHLEN): Removed.
16165 (NOGROUP, NODEV): New macros.
16166 (setbit, clrbit, isset, isclr): New macros.
16167 (howmany, roundup, powerof2): New macros.
16168 (DEV_BSIZE): New macro.
16170 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16171 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16173 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16174 definition on [!__NO_LONG_DOUBLE_MATH].
16176 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16177 PTR_MANGLE and PTR_DEMANGLE.
16179 * socket/accept4.c (accept4): Rename to __libc_accept4.
16180 Define accept4 as a weak alias.
16182 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16183 on [_DIRENT_HAVE_D_TYPE].
16184 * io/ftw.c (ftw_dir): Likewise.
16186 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16188 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16190 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16191 Use the BSD numbers rather than the arbitrary ones we had.
16192 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16193 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16194 (SIGXCPU, SIGXFSZ): New macros.
16197 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16198 initializer on [_LIBC_REENTRANT].
16200 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16201 definitions inside [_POSIX_MAPPED_FILES].
16203 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16205 * dirent/opendir.c: Include <fcntl.h>.
16207 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16208 (__libc_getspecific): Likewise.
16209 (__libc_key_create): Likewise.
16211 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16212 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16213 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16214 (tmpfile64): Define as alias.
16215 * sysdeps/wordsize-64/tmpfile.c: File removed.
16216 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16217 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16218 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16220 * stdio-common/vfscanf.c: Include <stdbool.h>.
16221 * nss/makedb.c: Likewise.
16222 * stdio-common/_i18n_number.h: Likewise.
16223 * argp/argp-help.c: Likewise.
16224 * posix/wordexp.c: Likewise.
16225 * sysdeps/posix/spawni.c: Likewise.
16226 * nss/nss_files/files-initgroups.c: Likewise.
16227 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16228 * nss/nss_files/files-initgroups.c: Likewise.
16229 * nss/nss_db/db-netgrp.c: Likewise.
16230 * nss/nss_db/db-initgroups.c: Likewise.
16231 * io/fchmodat.c: Include <sys/stat.h>.
16233 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16234 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16236 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16239 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16240 Add multiple inclusion protection.
16242 2012-07-27 David S. Miller <davem@davemloft.net>
16244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16246 2012-07-27 Gary Benson <gbenson@redhat.com>
16249 * elf/rtld.c: Include <stap-probe.h>.
16250 (dl_main): Added static probes "init_start" and "init_complete".
16251 * elf/dl-load.c: Include <stap-probe.h>.
16252 (lose): Take new parameter "nsid".
16253 Added static probe "map_failed".
16254 (_dl_map_object_from_fd): Pass namespace id to lose.
16255 Added static probe "map_start".
16256 (open_verify): Pass namespace id to lose.
16257 * elf/dl-open.c: Include <stap-probe.h>.
16258 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16259 and "reloc_complete".
16260 * elf/dl-close.c: Include <stap-probe.h>.
16261 (_dl_close_worker): Added static probes "unmap_start" and
16263 * elf/rtld-debugger-interface.txt: New file documenting the above.
16265 2012-07-26 Roland McGrath <roland@hack.frob.com>
16267 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16268 rather than a string variable.
16269 * sunrpc/rpc_main.c (h_output): Likewise.
16270 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16272 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16274 * inet/check_native.c: New file.
16276 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16279 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16280 if larger part has absolute value 1.0.
16281 * math/s_clog10.c (__clog10): Likewise.
16282 * math/s_clog10f.c (__clog10f): Likewise.
16283 * math/s_clog10l.c (__clog10l): Likewise.
16284 * math/s_clogf.c (__clogf): Likewise.
16285 * math/s_clogl.c (__clogl): Likewise.
16286 * math/libm-test.inc (clog_test): Add more tests.
16287 (clog10_test): Likewise.
16288 * sysdeps/i386/fpu/libm-test-ulps: Update.
16289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16291 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16292 (pltexit): Likewise.
16293 (La_regs): Likewise.
16294 (La_retval): Likewise.
16295 (int_retval): Likewise.
16296 Update #error for removed macros to refer only to definitions in
16298 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16300 (pltexit): Likewise.
16301 (La_regs): Likewise.
16302 (La_retval): Likewise.
16303 (int_retval): Likewise.
16304 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16306 (pltexit): Likewise.
16307 (La_regs): Likewise.
16308 (La_retval): Likewise.
16309 (int_retval): Likewise.
16310 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16312 (pltexit): Likewise.
16313 (La_regs): Likewise.
16314 (La_retval): Likewise.
16315 (int_retval): Likewise.
16316 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16318 (pltexit): Likewise.
16319 (La_regs): Likewise.
16320 (La_retval): Likewise.
16321 (int_retval): Likewise.
16322 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16324 (pltexit): Likewise.
16325 (La_regs): Likewise.
16326 (La_retval): Likewise.
16327 (int_retval): Likewise.
16328 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16330 (pltexit): Likewise.
16331 (La_regs): Likewise.
16332 (La_retval): Likewise.
16333 (int_retval): Likewise.
16334 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16335 macro definitions in tst-audit.h.
16336 * sysdeps/i386/tst-audit.h: New file.
16337 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16338 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16339 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16340 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16341 * sysdeps/sh/tst-audit.h: Likewise.
16342 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16343 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16344 * sysdeps/x86_64/tst-audit.h: Likewise.
16346 2012-07-26 Andreas Jaeger <aj@suse.de>
16348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16351 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16352 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16353 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16355 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16356 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16357 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16359 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16362 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16364 (si_call_addr, si_syscall, si_arch): Define new macro.
16365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16367 (si_call_addr, si_syscall, si_arch): Define new marcro.
16368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16370 (si_call_addr, si_syscall, si_arch): Define new macro.
16371 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16373 (si_call_addr, si_syscall, si_arch): Define new macro.
16375 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16379 Change to 2.4.21 where previously 2.4.1.
16380 * sysdeps/unix/sysv/linux/configure: Regenerated.
16381 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16382 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16383 Linux kernel version.
16384 (__ASSUME_STD_AUXV): Remove.
16385 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16387 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16388 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16389 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16390 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16391 (__ASSUME_NETLINK_SUPPORT): Likewise.
16392 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16393 (__no_netlink_support): Remove conditional definition.
16394 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16396 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16397 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16398 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16399 (if_nameindex_ioctl): Remove.
16400 (if_nameindex_netlink): Do not handle __no_netlink_support.
16401 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16403 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16404 Remove conditional code.
16405 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16407 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16409 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16410 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16411 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16413 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16414 [!__ASSUME_STD_AUXV]: Remove conditional code.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16416 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16417 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16419 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16420 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16422 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16424 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16427 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16429 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16432 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16435 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16436 code unconditional.
16437 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16439 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16441 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16444 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16446 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16449 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16450 code unconditional.
16451 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16453 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16455 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16458 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16459 code unconditional.
16460 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16462 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16464 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16467 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16469 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16470 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16471 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16472 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16473 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16474 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16475 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16476 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16477 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16478 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16479 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16480 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16481 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16482 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16483 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16487 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16490 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16493 2012-07-25 Florian Weimer <fweimer@redhat.com>
16495 * Versions.def: Add GLIBC_2.17.
16496 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16497 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16498 Introduce __libc_secure_getenv.
16499 * stdlib/Versions (2.17): Add secure_getenv
16500 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16501 * stdlib/secure-getenv.c: Rename __secure_getenv to
16502 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16503 symbol __secure_getenv for GLIBC_2.0.
16504 * stdlib/tst-secure-getenv.c: New.
16505 * stdlib/Makefile (tests): Add testcase.
16506 * manual/startup.texi (Environment Access): Document
16508 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16509 __libc_secure_getenv.
16510 * inet/ruserpass.c (ruserpass): Likewise.
16511 * malloc/mtrace.c (mtrace): Likewise.
16512 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16513 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16514 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16515 * sysdeps/posix/tempname.c: Likewise. Evaluate
16516 HAVE_SECURE_GETENV.
16517 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16518 __secure_getenv to __libc_secure_getenv.
16519 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16532 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16534 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16535 (struct La_i86_retval): Likewise.
16536 (struct La_x86_64_regs): Likewise.
16537 (struct La_x86_64_retval): Likewise.
16538 (struct La_x32_regs): Likewise.
16539 (struct La_x32_retval): Likewise.
16540 (struct La_ppc32_regs): Likewise.
16541 (struct La_ppc32_retval): Likewise.
16542 (struct La_ppc64_regs): Likewise.
16543 (struct La_ppc64_retval): Likewise.
16544 (struct La_sh_regs): Likewise.
16545 (struct La_sh_retval): Likewise.
16546 (struct La_s390_32_regs): Likewise.
16547 (struct La_s390_32_retval): Likewise.
16548 (struct La_s390_64_regs): Likewise.
16549 (struct La_s390_64_retval): Likewise.
16550 (struct La_sparc32_regs): Likewise.
16551 (struct La_sparc32_retval): Likewise.
16552 (struct La_sparc64_regs): Likewise.
16553 (struct La_sparc64_retval): Likewise.
16554 (struct audit_ifaces): Remove architecture-specific pltenter and
16556 * sysdeps/i386/ldsodefs.h: New file.
16557 * sysdeps/powerpc/ldsodefs.h: Likewise.
16558 * sysdeps/s390/ldsodefs.h: Likewise.
16559 * sysdeps/sh/ldsodefs.h: Likewise.
16560 * sysdeps/sparc/ldsodefs.h: Likewise.
16561 * sysdeps/x86_64/ldsodefs.h: Likewise.
16563 2012-07-25 Marek Polacek <polacek@redhat.com>
16566 * math/libm-test.inc (yn_test): Add another test.
16567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16568 to ERANGE when the result is +-Inf.
16569 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16570 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16571 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16572 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16574 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16576 * conform/data/time.h-data (NULL): Use macro-constant. Require
16578 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16580 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16582 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16584 * configure.in <sysdeps resolving>: Correct printing
16586 * configure: Regenerate.
16588 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16590 * math/w_ilogb.c: Include <limits.h>.
16591 * math/w_ilogbl.c: Likewise.
16593 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16595 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16596 va_copy. Document allowing for unavailable va_copy only as
16597 pre-C99 compatibility.
16598 * manual/string.texi (Copying and Concatenation): Use va_copy
16599 instead of __va_copy in concat example.
16601 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16603 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16604 (__sendto): Use create_address_port. Initialize APORT and deallocate
16607 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16608 with O_NOLINK passed to __file_name_lookup.
16610 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16611 with O_NOLINK passed to __file_name_lookup.
16613 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16614 negative N or less than NGIDS.
16616 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16617 type to string_t. Set ERANGE as errno and return it if NAME is not big
16618 enough. Use memcpy instead of strncpy.
16620 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16622 * elf/Makefile (check-data): Remove.
16623 (localplt.data): New vpath directive.
16624 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16625 instead of $(check-data).
16626 * scripts/data/localplt-generic.data: Move to ...
16627 * sysdeps/generic/localplt.data: ... here.
16628 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16629 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16630 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16633 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16636 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16639 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16642 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16645 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16649 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16651 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16652 PPC32 and PPC64 files.
16653 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16654 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16656 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16658 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16659 __makecontext_ret to ...
16660 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16661 ... here and call exit if uc_link is NULL. New file.
16662 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16663 __makecontext_ret.S.
16664 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16665 __makecontext_ret to ...
16666 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16667 ... here and call exit if uc_link is NULL. New file.
16668 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16669 __makecontext_ret.S.
16671 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16673 * elf/elf.h (R_390_IRELATIVE): New definition.
16674 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16675 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16676 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16677 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16678 (elf_machine_lazy_rel): Likewise.
16679 * sysdeps/s390/dl-irel.h: New file.
16680 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16681 * sysdeps/s390/s390-64/memset.S: New asm code.
16682 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16683 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16684 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16685 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16686 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16687 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16688 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16689 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16690 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16691 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16692 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16693 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16694 * sysdeps/s390/s390-32/memset.S: New asm code.
16695 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16697 2012-07-17 Marek Polacek <polacek@redhat.com>
16700 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16701 * sysdeps/s390/s390-64/configure.in: Likewise.
16702 * sysdeps/sparc/configure.in: Likewise.
16703 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16704 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16705 * sysdeps/i386/configure.in: Likewise.
16706 * sysdeps/x86_64/configure.in: Likewise.
16707 * sysdeps/sh/configure.in: Likewise.
16708 * sysdeps/s390/s390-32/configure: Regenerated.
16709 * sysdeps/s390/s390-64/configure: Likewise.
16710 * sysdeps/x86_64/configure: Likewise.
16711 * sysdeps/sh/configure: Likewise.
16712 * sysdeps/powerpc/powerpc64/configure: Likewise.
16713 * sysdeps/powerpc/powerpc32/configure: Likewise.
16714 * sysdeps/sparc/configure: Likwise.
16715 * sysdeps/i386/configure: Likewise.
16717 * elf/dl-open.c: Comment fixes.
16719 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16721 * Makefile [CXX] (check-data): Remove.
16722 [CXX] (c++-types.data): New vpath directive.
16723 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16724 vpath. Do not allow for C++ type data being missing.
16725 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16726 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16727 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16728 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16729 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16730 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16731 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16734 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16737 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16740 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16743 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16746 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16749 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16752 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16755 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16756 definitions to architecture-specific files.
16757 (TLS_IE): Likewise.
16758 (TLS_LD): Likewise.
16759 (TLS_GD): Likewise.
16760 * sysdeps/i386/tls-macros.h: New file.
16761 * sysdeps/powerpc/tls-macros.h: Likewise.
16762 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16763 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16764 * sysdeps/sh/tls-macros.h: Likewise.
16765 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16766 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16767 * sysdeps/x86_64/tls-macros.h: Likewise.
16769 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16771 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16772 zero value for regular exit case.
16774 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16775 (__start_context): Preserve zero value for regular exit case.
16777 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16778 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16780 * manual/setjmp.texi (setcontext): Clarify normal process
16781 termination when uc_link is the null pointer.
16782 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16785 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16787 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16788 preprocessor. Test for each exception mask separately.
16790 2012-07-16 Andreas Jaeger <aj@suse.de>
16792 * po/ru.po: Update from translation team.
16794 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16796 * conform/data/string.h-data (NULL): Use macro-constant. Require
16798 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16799 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16800 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16801 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16804 2012-07-13 Andreas Jaeger <aj@suse.de>
16806 * po/fr.po: Update from translation team.
16808 2012-07-12 Marek Polacek <polacek@redhat.com>
16811 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16812 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16815 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16819 Change to 2.4.1 where previously 2.4.0.
16820 * sysdeps/unix/sysv/linux/configure: Regenerated.
16821 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16822 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16824 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16825 (__ASSUME_AT_CLKTCK): Remove.
16826 (__ASSUME_AT_PAGESIZE): Likewise.
16827 (__ASSUME_AT_XID): Likewise.
16828 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16829 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16830 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16832 (HAVE_AUX_PAGESIZE): Likewise.
16833 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16834 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16835 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16837 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16841 the temporary buffer used to invoke __gethostbyname2_r,
16842 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16843 host_data / struct gaih_addrtuple.
16844 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16845 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16846 header file nss/nsswitch.h.
16847 * nss/nsswitch.h (global scope): Add definition of implementation
16848 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16849 resolv/nss_dns/dns-host.c).
16851 2012-07-11 Andreas Jaeger <aj@suse.de>
16853 * po/fr.po: Update from translation team.
16855 * po/sv.po: Update from translation team
16856 * po/fr.po: Another update from translation team.
16858 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16860 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16861 for subnormals or multiply small sinh result by itself.
16862 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16865 2012-07-11 David S. Miller <davem@davemloft.net>
16867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16869 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16872 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16873 (INTERNAL_MARK): Shift it here.
16875 2012-07-10 Marek Polacek <polacek@redhat.com>
16878 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16879 libc_cv_asm_global_directive with .globl.
16880 * configure: Regenerated.
16881 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16883 * sysdeps/i386/configure: Regenerated.
16884 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16886 * sysdeps/x86_64/configure: Regenerated.
16887 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16888 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16889 * elf/tst-unique2mod2.c: Likewise.
16890 * elf/tst-unique2mod1.c: Likewise.
16891 * elf/tst-unique1mod2.c: Likewise.
16892 * elf/tst-unique1mod1.c: Likewise.
16893 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16894 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16896 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16897 * sysdeps/mach/sysdep.h: Likewise.
16898 * sysdeps/i386/sysdep.h: Likewise.
16899 * sysdeps/i386/i386-mcount.S: Likewise.
16900 * sysdeps/x86_64/_mcount.S: Likewise.
16901 * sysdeps/x86_64/sysdep.h: Likewise.
16902 * sysdeps/sh/_mcount.S: Likewise.
16903 * sysdeps/sh/sysdep.h: Likewise.
16904 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16905 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16906 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16907 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16908 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16909 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16910 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16911 * locale/localeinfo.h: Likewise.
16912 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16913 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16915 2012-07-09 Roland McGrath <roland@hack.frob.com>
16918 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16920 * manual/message.texi (The Uniforum approach): Likewise.
16921 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16922 (glibc iconv Implementation): Likewise.
16924 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16927 * math/s_clog.c (__clog): Avoid scaling a value down where that
16928 could result in underflow.
16929 * math/s_clog10.c (__clog10): Likewise.
16930 * math/s_clog10f.c (__clog10f): Likewise.
16931 * math/s_clog10l.c (__clog10l): Likewise.
16932 * math/s_clogf.c (__clogf): Likewise.
16933 * math/s_clogl.c (__clogl): Likewise.
16934 * math/libm-test.inc (clog_test): Add more tests.
16935 (clog10_test): Likewise.
16936 * sysdeps/i386/fpu/libm-test-ulps: Update.
16937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16939 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16942 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16943 by 7 not 8 to examine high bit of fractional part.
16946 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16947 for call to __mcount_internal.
16948 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16949 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16950 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16952 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16955 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16956 approximation for values within 0x1p-13f of an odd multiple of
16958 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16959 exception. Add more tests.
16960 * sysdeps/i386/fpu/libm-test-ulps: Update.
16963 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16964 inputs and return -1 for them. Do not check for +Inf in case not
16965 reachable for +Inf.
16966 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16967 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16968 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16969 and return -1 for them. Do not check for +Inf in case not
16970 reachable for +Inf.
16971 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16974 and return -1 for them. Do not check for +Inf in case not
16975 reachable for +Inf.
16976 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16977 spurious underflow.
16978 * sysdeps/i386/fpu/libm-test-ulps: Update.
16979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16981 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16983 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16985 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16989 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16990 could result in spurious underflow. Scale down values above
16991 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16992 * math/s_csqrtf.c (__csqrtf): Likewise.
16993 * math/s_csqrtl.c (__csqrtl): Likewise.
16994 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16995 spurious underflow.
16996 * sysdeps/i386/fpu/libm-test-ulps: Update.
16997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16999 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17001 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17003 * catgets/xopen-msg.awk: New file.
17004 * catgets/xopen-msg.sed: Removed.
17006 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17008 * intl/po2test.awk: New file.
17009 * intl/po2test.sed: Removed.
17011 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17014 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17015 or multiply small sinh result by itself.
17016 * math/s_ctanf.c (__ctanf): Likewise.
17017 * math/s_ctanh.c (__ctanh): Likewise.
17018 * math/s_ctanhf.c (__ctanhf): Likewise.
17019 * math/s_ctanhl.c (__ctanhl): Likewise.
17020 * math/s_ctanl.c (__ctanl): Likewise.
17021 * math/libm-test.inc (ctan_test_tonearest): New function.
17022 (ctan_test_towardzero): Likewise.
17023 (ctan_test_downward): Likewise.
17024 (ctan_test_upward): Likewise.
17025 (ctanh_test_tonearest): Likewise.
17026 (ctanh_test_towardzero): Likewise.
17027 (ctanh_test_downward): Likewise.
17028 (ctanh_test_upward): Likewise.
17029 (main): Call these new functions.
17030 * sysdeps/i386/fpu/libm-test-ulps: Update.
17031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17033 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17035 * .gitignore: Delete /ports entry.
17037 2012-07-03 Andreas Jaeger <aj@suse.de>
17039 * po/bg.po: Update from translation team.
17040 * po/cs.po: Likewise.
17041 * po/de.po: Likewise.
17042 * po/hr.po: Likewise.
17043 * po/nl.pl: Likewise.
17044 * po/pl.po: Likewise.
17045 * po/vi.po: Likewise.
17047 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17049 * Makeconfig [!+link] (+link-before-libc): New variable.
17050 [!+link] (+link-after-libc): Likewise.
17051 [!+link] (+link-tests): Likewise.
17052 [!+link] (+link): Define in terms of $(+link-before-libc) and
17053 $(+link-after-libc).
17054 [!+link-static] (+link-static-before-libc): New variable.
17055 [!+link-static] (+link-static-after-libc): Likewise.
17056 [!+link-static] (+link-static-tests): Likewise.
17057 [!+link-static] (+link-static): Define in terms of
17058 $(+link-static-before-libc) and $(+link-static-after-libc).
17059 [build-shared] (link-libc-before-gnulib): New variable.
17060 [build-shared] (link-libc-tests): Likewise.
17061 [build-shared] (link-libc): Define in terms of
17062 $(link-libc-before-gnulib).
17063 [!build-shared] (link-libc-tests): New variable.
17064 (link-libc-static-tests): New variable.
17065 [!gnulib] (gnulib-arch): New variable.
17066 [!gnulib] (gnulib-tests): Likewise.
17067 [!gnulib] (static-gnulib-arch): Likewise.
17068 [!gnulib] (static-gnulib-tests): Likewise.
17069 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17070 Define with "=" instead of ":=".
17071 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17072 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17073 * Rules (binaries-all-notests): New variable.
17074 (binaries-all-tests): Likewise.
17075 (binaries-static-notests): Likewise.
17076 (binaries-static-tests): Likewise.
17077 (binaries-all): Define using $(binaries-all-notests) and
17078 $(binaries-all-tests).
17079 (binaries-static): Define using $(binaries-static-notests) and
17080 $(binaries-static-tests).
17081 (binaries-shared-tests): New variable.
17082 (binaries-shared-notests): Likewise.
17083 (binaries-shared): Remove variable.
17084 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17085 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17086 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17087 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17088 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17089 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17090 * elf/Makefile (sln-modules): New variable.
17091 (extra-objs): Add $(sln-modules:=.o).
17092 (ldconfig-modules): Add static-stubs.
17093 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17094 * elf/static-stubs.c: New file.
17097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17098 by 7 not 8 to examine high bit of fractional part. Use volatile
17099 variables when splitting into final array of floats if
17100 __FLT_EVAL_METHOD__ != 0.
17101 * math/libm-test.inc (cos_test): Add another test.
17102 (sin_test): Likewise.
17103 * sysdeps/i386/fpu/libm-test-ulps: Update.
17106 * math/libm-test.inc (cosh_test): Add more tests.
17108 * version.h (RELEASE): Set to "development".
17109 (VERSION): Set to "2.16.90".
17111 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17113 * NEWS: Update copyright. Remove last-updated date.
17114 Mention math library bug fixes and timezone data changes.
17115 * README: Mention GNU/Hurd, x32, and HPPA support status.
17117 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17119 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17121 2012-06-27 Andreas Jaeger <aj@suse.de>
17123 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17125 2012-06-25 Andreas Jaeger <aj@suse.de>
17127 * sysdeps/s390/fpu/libm-test-ulps: Update.
17129 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17130 Thomas Schwinge <thomas@codesourcery.com>
17132 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17133 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17137 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17139 * sysdeps/mach/start.c: Remove file.
17140 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17141 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17142 * sysdeps/sh/init-first.c: Likewise.
17144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17145 registers for frame unwinding purposes, add CFI directives.
17146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17148 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17151 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17152 __fortify_fail returning.
17153 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17155 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17156 sysdeps/sh/____longjmp_chk.S.
17157 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17158 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17159 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17160 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17162 * sysdeps/sh/abort-instr.h: New file.
17163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17164 process in case exit returns.
17166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17167 initialize the GOT register before use.
17169 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17170 calculation of ARGC > 4.
17172 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17173 meaningful names to some local labels.
17175 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17176 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17178 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17179 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17180 (__arch_compare_and_exchange_val_16_acq): Likewise.
17181 (__arch_compare_and_exchange_val_32_acq): Likewise.
17182 (atomic_exchange_and_add): Fix gUSA sequence.
17183 (atomic_add): Likewise.
17184 (atomic_add_negative): Likewise.
17185 (atomic_add_zero): Likewise.
17186 (atomic_bit_test_set): Likewise.
17188 2012-06-22 Andreas Schwab <schwab@redhat.com>
17191 * include/link.h (struct link_map): Add l_free_initfini.
17192 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17194 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17195 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17196 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17199 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17201 * configure.in: Use AC_LANG_SOURCE.
17202 * configure: Regenerate.
17204 2012-06-22 Roland McGrath <roland@hack.frob.com>
17206 * configure.in (libc_cv_localstatedir): New substituted variable.
17207 * configure: Regenerated.
17208 * config.make.in (localstatedir): New variable, substituted from
17209 libc_cv_localstatedir.
17210 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17211 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17212 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17213 * sysdeps/gnu/configure: Regenerated.
17215 2012-06-21 Jeff Law <law@redhat.com>
17218 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17219 free. Simplify list management for _LIBC case.
17221 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17224 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17225 Clear sign bit of 64-bit integer value before comparing against
17228 * sysdeps/mach/configure: Regenerated.
17230 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17233 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17235 2012-06-21 Jeff Law <law@redhat.com>
17238 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17239 uint16_t for elements in the "seen" array to avoid char overflows.
17240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17241 * elf/dl-open.c (dl_open_worker): Likewise.
17243 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17245 * scripts/list-sources.sh: Scan PORTS for translations.
17246 * po/libc.pot: Regenerated.
17248 2012-06-21 Andreas Jaeger <aj@suse.de>
17251 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17253 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17254 * bits/byteswap-16.h (__bswap_16): Likewise.
17255 * bits/byteswap.h (__bswap_constant_16): Likewise.
17257 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17260 * sysdeps/i386/fpu_control.h: Removed.
17261 * sysdeps/x86_64/fpu_control.h: Moved to ...
17262 * sysdeps/x86/fpu_control.h: Here.
17264 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17265 (_FPU_SETCW): Likewise.
17267 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17270 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17271 * sysdeps/x86/fpu/bits/mathinline.h: This.
17272 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17276 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17277 functions if __x86_64__ is defined.
17279 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17281 * string/endian.h: Add !__ASSEMBLER__ condition for including
17282 conversion interfaces.
17284 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17288 of ABS(x) in calculating zero to negative powers other than odd
17290 * math/libm-test.inc (pow_test): Add more tests.
17292 2012-06-15 Andreas Jaeger <aj@suse.de>
17294 * manual/contrib.texi (Contributors): Update entry of Liubov
17295 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17298 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17300 * string/string.h: Add __wur to GNU version of strerror_r.
17302 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17305 * string/Makefile (tests): Add tst-strtok_r.
17306 * string/tst-strtok_r.c: New file.
17307 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17308 RAX_LP/RDX_LP on SAVE_PTR.
17310 2012-06-14 Roland McGrath <roland@hack.frob.com>
17312 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17314 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17316 * libm_test.inc (csqrt_test): Allow more spurious underflow
17318 (j0_test): Likewise.
17319 (j1_test): Likewise.
17320 (y0_test): Likewise.
17321 (y1_test): Likewise.
17323 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17325 * po/Makefile (libc.pot): Use UTF-8 charset.
17327 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17330 Suppress sign-conversion warning from FD_SET.
17331 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17332 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17333 not unsigned long int.
17334 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17336 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17340 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17341 __extern_always_inline instead of __extern_inline.
17342 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17343 (__signbit): Likewise.
17344 (__signbitl): Support C++ namespace.
17345 (lrintf): New inline function.
17347 (llrintf): Likewise.
17348 (llrint): Likewise.
17358 (floorf): Likewise.
17359 (nearbyint): Likewise.
17360 (nearbyintf): Likewise.
17362 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17364 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17365 non-default versions.
17367 2012-06-11 Roland McGrath <roland@hack.frob.com>
17370 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17372 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17374 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17375 (FE_UPWARD, FE_DOWNWARD): Don't define.
17376 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17379 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17381 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17382 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17384 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17386 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17388 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17389 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17391 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17394 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17395 * sysdeps/i386/fpu/Implies: New file.
17396 * sysdeps/x86_64/fpu/Implies: Likewise.
17397 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17398 * sysdeps/x86/fpu/bits/fenv.h: This.
17400 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17403 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17406 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17407 character 0xffff that matches the last element of the
17410 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17415 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17418 values higher than 25.6283.
17420 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17423 subnormal exponent extraction and add some __builtin_expect.
17424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17425 Fix for subnormal mantissa calculation.
17427 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17429 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17430 cpu2 is -1 and errno is not ENOSYS.
17432 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17435 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17436 * sysdeps/x86/bits/string.h: This.
17437 * sysdeps/x86_64/bits/string.h: Removed.
17439 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17440 if not compiling for x86-64, but compiling for >= i486.
17442 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17443 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17445 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17446 New macro from Linux kernel 3.4.0.
17447 (FP_XSTATE_MAGIC2): Likewise.
17448 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17449 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17450 (struct _fpx_sw_bytes): New struct.
17451 (struct _xsave_hdr): Likewise.
17452 (struct _ymmh_state): Likewise.
17453 (struct _xstate): Likewise.
17455 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17456 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17457 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17458 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17459 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17460 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17462 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17463 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17464 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17465 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17466 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17467 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17469 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17472 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17473 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17474 (sysdep_headers): Include sys/platform/ppc.h.
17475 * sysdeps/powerpc/test-gettimebase.c: Test for
17476 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17477 * manual/Makefile (appendices): Include platform.texi.
17478 * manual/contrib.texi (Contributors): Update @node pointers.
17479 * manual/maint.texi (Maintenance): Likewise.
17480 (Platform): New node.
17481 * manual/platform.texi: New file. Document the new features.
17483 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17484 Jakub Jelinek <jakub@redhat.com>
17487 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17488 where __builtin_expect is unavailable.
17490 2012-06-03 David S. Miller <davem@davemloft.net>
17492 * stdlib/longlong.h: Updated from GCC.
17494 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17497 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17498 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17501 (GLIBC_2.16): Likewise.
17503 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17505 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17507 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17510 (default-abi): New variable.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17512 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17514 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17516 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17518 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17521 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17522 definition. Document in comment.
17524 2012-06-01 David S. Miller <davem@davemloft.net>
17526 * stdlib/longlong.h: Updated from GCC.
17528 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17531 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17532 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17533 sys/debugreg.h sys/io.h here.
17534 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17535 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17537 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17538 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17539 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17540 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17541 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17542 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17544 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17545 Define only if __x86_64__ is defined.
17547 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17551 Use int64_t for variable i.
17552 * math/libm-test.inc (fmod_test): Add more tests.
17554 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17555 z computation is not scheduled after fetestexcept.
17556 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17557 Use math_force_eval instead of asm to ensure calculation scheduled
17558 before exception test.
17559 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17560 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17562 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17565 computation is not scheduled after fetestexcept.
17567 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17570 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17571 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17573 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17575 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17576 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17578 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17581 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17583 (__WCHAR_MIN): Support __WORDSIZE == 64.
17584 (__WCHAR_MAX): Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17591 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17594 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17595 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17597 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17598 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17600 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17601 Defined to 1 if __x86_64__ isn't defined.
17602 (_STAT_VER_LINUX_OLD): New.
17603 (st_atime): Remove duplicate.
17604 (st_mtime): Likewise.
17605 (st_ctime): Likewise.
17607 2012-05-31 David S. Miller <davem@davemloft.net>
17609 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17612 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17614 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17618 * elf/dl-reloc.c: Include <_itoa.h>.
17619 (_dl_reloc_bad_type): Remove use of INTUSE.
17620 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17621 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17622 * stdio-common/psiginfo.c (psiginfo): Likewise.
17623 * stdio-common/psignal.c (psignal): Likewise.
17624 * string/strsignal.c (strsignal): Likewise.
17625 * include/signal.h (_sys_siglist): Declare hidden proto.
17626 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17627 INTVARDEF with libc_hidden_data_def.
17628 * stdio-common/itoa-udigits.c: Likewise.
17629 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17630 (_itoa_lower_digits_internal): Remove declaration.
17631 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17632 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17633 (_sys_sigabbrev_internal): Remove aliases.
17634 (_sys_siglist): Define hidden alias.
17636 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17641 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17644 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17645 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17647 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17648 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17649 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17650 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17652 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17654 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17655 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17656 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17658 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17666 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17670 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17671 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17673 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17674 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17675 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17677 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17678 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17680 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17681 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17685 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17687 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17688 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17690 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17692 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17693 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17694 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17696 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17698 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17700 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17702 * math/math.h (M_El): Use two more decimal places.
17703 (M_LOG2El): Likewise.
17704 (M_LOG10El): Likewise.
17705 (M_LN2l): Likewise.
17706 (M_LN10l): Likewise.
17708 (M_PI_2l): Likewise.
17709 (M_PI_4l): Likewise.
17710 (M_1_PIl): Likewise.
17711 (M_2_PIl): Likewise.
17712 (M_2_SQRTPIl): Likewise.
17713 (M_SQRT2l): Likewise.
17714 (M_SQRT1_2l): Likewise.
17716 2012-05-31 David S. Miller <davem@davemloft.net>
17718 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17719 values between float registers.
17720 * sysdeps/sparc/sparc64/memset.S: Likewise.
17721 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17723 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17725 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17726 -D_FORTIFY_SOURCE=1.
17727 (CPPFLAGS-tst-longjmp_chk.c): Define.
17728 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17729 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17730 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17731 CFLAGS-tst-wchar-h.c.
17733 2012-05-31 Marek Polacek <polacek@redhat.com>
17736 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17737 __endmntent_internal): Remove declaration.
17738 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17739 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17740 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17742 2012-05-30 David S. Miller <davem@davemloft.net>
17744 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17745 (___Q_simulate_exceptions): Use real FP ops rather than writing
17747 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17750 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17753 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17754 * sysdeps/x86/bits/xtitypes.h: This.
17756 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17757 * sysdeps/x86/bits/wordsize.h: This.
17759 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17760 * sysdeps/x86/bits/huge_vall.h: This.
17762 * sysdeps/i386/bits/select.h: Removed.
17763 * sysdeps/x86_64/bits/select.h: Renamed to ...
17764 * sysdeps/x86/bits/select.h: This.
17766 * sysdeps/i386/bits/setjmp.h: Removed.
17767 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17768 * sysdeps/x86/bits/setjmp.h: This.
17770 * sysdeps/i386/bits/mathdef.h: Removed.
17771 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17772 * sysdeps/x86/bits/mathdef.h: This.
17774 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17777 * include/sys/socket.h (__connect_internal)
17778 (__libc_sa_len_internal): Remove declaration.
17779 (__connect, __libc_sa_len): Declare hidden_proto.
17780 (SA_LEN): Remove use of INTUSE.
17781 * socket/connect.c: Add libc_hidden_def.
17782 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17783 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17784 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17786 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17787 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17788 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17789 of adding _internal alias.
17791 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17794 * sysdeps/i386/bits/link.h: Removed.
17795 * sysdeps/i386/bits/linkmap.h: Likewise.
17796 * sysdeps/x86_64/bits/link.h: Renamed to ...
17797 * sysdeps/x86/bits/link.h: This.
17798 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17799 * sysdeps/x86/bits/linkmap.h: This.
17801 * sysdeps/i386/bits/endian.h: Removed.
17802 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17803 * sysdeps/x86/bits/endian.h: This.
17805 * sysdeps/i386/bits/byteswap.h: Removed.
17806 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17807 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17808 * sysdeps/x86/bits/byteswap.h: This.
17809 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17810 * sysdeps/x86/bits/byteswap-16.h: This.
17811 * sysdeps/i386/Implies: Add x86.
17812 * sysdeps/x86_64/Implies: Likewise.
17814 2012-05-30 David S. Miller <davem@davemloft.net>
17816 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17817 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17819 (FP_TRAPPING_EXCEPTIONS): Define.
17820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17821 (FP_TRAPPING_EXCEPTIONS): Define.
17822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17823 subnormals only when inexact has been signalled or underflow
17824 exceptions are enabled.
17825 (_FP_PACK_CANONICAL): Likewise.
17827 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17831 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17833 2012-05-30 Richard Henderson <rth@twiddle.net>
17835 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17836 with #ifndef NOT_IN_libc.
17838 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17839 marked to avoid plt entry.
17841 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17844 * Makeconfig (default-abi): New macro.
17845 (abi-includes): Likewise.
17846 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17847 $(abi-$(default-abi)-lib-soname) for soname if defined.
17848 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17850 * Makefile (installed-stubs): Likewise.
17851 * include/stubs-biarch.h: Removed.
17852 * scripts/lib-names.awk: Only handle one library at a time.
17853 * scripts/soversions.awk: Remove WORDSIZE support.
17854 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17856 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17858 (syscall-list-default-condition): Likewise.
17859 (syscall-list-default-condition): Likewise.
17860 (syscall-list-includes): Likewise.
17861 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17862 syscall-list-* with abi-*. Handle undefined abi-variants.
17863 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17864 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17865 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17867 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17868 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17870 (syscall-list-32-options): Likewise.
17871 (syscall-list-32-condition): Likewise.
17872 (syscall-list-64-options): Likewise.
17873 (syscall-list-64-condition): Likewise.
17874 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17876 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17879 (abi-64-ld-soname): New macro.
17880 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17884 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17885 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17887 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17889 * sysdeps/unix/sysv/linux/kernel-features.h
17890 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17891 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17892 include <kernel-features.h>.
17893 [!__NR_ftruncate64]: Remove conditional code.
17894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17895 [__NR_ftruncate64]: Make code unconditional.
17896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17897 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17898 include <kernel-features.h>.
17899 [!__NR_ftruncate64]: Remove conditional code.
17900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17901 [__NR_ftruncate64]: Make code unconditional.
17902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17904 include <kernel-features.h>.
17905 [!__NR_ftruncate64]: Remove conditional code.
17906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17907 [__NR_ftruncate64]: Make code unconditional.
17908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17910 include <kernel-features.h>.
17911 [!__NR_ftruncate64]: Remove conditional code.
17912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17913 [__NR_ftruncate64]: Make code unconditional.
17914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17916 * configure.in (libc_cv_fpie): Weaken to a compile test using
17917 LIBC_TRY_CC_OPTION.
17918 * configure: Regenerated.
17920 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17935 2012-05-27 David S. Miller <davem@davemloft.net>
17937 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17939 (__Q_simulate_exceptions): Return void. Change to simulate
17940 exceptions by writing into the %fsr.
17941 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17942 (__Qp_handle_exceptions): Likewise.
17944 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17945 __Qp_handle_exceptions.
17946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17947 __Qp_handle_exceptions.
17948 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17949 as unused and give dummy FP_RND_NEAREST initializer.
17950 (FP_INHIBIT_RESULTS): Define.
17951 (___Q_simulate_exceptions): Update declaration.
17952 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17955 as unused and give dummy FP_RND_NEAREST initializer.
17956 (__Qp_handle_exceptions): Update declaration.
17957 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17960 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17962 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17963 the temporary FPU control word.
17964 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17965 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17966 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17967 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17968 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17969 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17970 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17972 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17973 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17974 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17976 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17978 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17981 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17983 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17984 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17985 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17986 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17988 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17989 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17992 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17994 * po/h.po: Update from translation team.
17996 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17998 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18000 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18001 handling of denormals.
18002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18003 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18004 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18011 2012-05-26 Marek Polacek <polacek@redhat.com>
18014 * math/libm-test.inc (fma_test): Don't always expect underflow
18017 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18020 * elf/tst-execstack.c: Include stackinfo.h.
18021 (do_test): Adjust test case to ensure that pthread_getattr_np
18022 behaviour remains the same after marking stack executable.
18024 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18026 * sysdeps/unix/sysv/linux/kernel-features.h
18027 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18028 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18030 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18031 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18032 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18034 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18035 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18037 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18039 * configure.in: Define the default includes to being none.
18040 * configure: Regenerated.
18042 2012-05-25 Roland McGrath <roland@hack.frob.com>
18044 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18045 * sysdeps/x86_64/setjmp.S: Likewise.
18046 * sysdeps/i386/bsd-setjmp.S: Likewise.
18047 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18048 * sysdeps/i386/setjmp.S: Likewise.
18049 * sysdeps/i386/__longjmp.S: Likewise.
18050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18051 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18053 * include/stap-probe.h: New file.
18054 * configure.in: Handle --enable-systemtap.
18055 * configure: Regenerated.
18056 * config.h.in (USE_STAP_PROBE): New #undef.
18057 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18058 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18059 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18061 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18065 to 2.4.0 where earlier.
18066 * sysdeps/unix/sysv/linux/configure: Regenerated.
18067 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18068 <kernel-features.h>.
18069 [__ASSUME_32BITUIDS]: Make code unconditional.
18070 [!__ASSUME_32BITUIDS]: Remove conditional code.
18071 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18072 <kernel-features.h>.
18073 [__ASSUME_32BITUIDS]: Make code unconditional.
18074 [!__ASSUME_32BITUIDS]: Remove conditional code.
18075 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18076 [__ASSUME_32BITUIDS]: Make code unconditional.
18077 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18078 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18079 <kernel-features.h>.
18080 [__ASSUME_32BITUIDS]: Make code unconditional.
18081 [!__ASSUME_32BITUIDS]: Remove conditional code.
18082 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18083 <kernel-features.h>.
18084 [__ASSUME_32BITUIDS]: Make code unconditional.
18085 [!__ASSUME_32BITUIDS]: Remove conditional code.
18086 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18087 <kernel-features.h>.
18088 [__ASSUME_32BITUIDS]: Make code unconditional.
18089 [!__ASSUME_32BITUIDS]: Remove conditional code.
18090 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18091 <kernel-features.h>.
18092 [__ASSUME_32BITUIDS]: Make code unconditional.
18093 [!__ASSUME_32BITUIDS]: Remove conditional code.
18094 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
18119 <kernel-features.h>.
18120 [__NR_setresgid] (__setresgid): Do not declare.
18121 [__ASSUME_32BITUIDS]: Make code unconditional.
18122 [!__ASSUME_32BITUIDS]: Remove conditional code.
18123 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18124 <kernel-features.h>.
18125 [__NR_setresuid] (__setresuid): Do not declare.
18126 [__ASSUME_32BITUIDS]: Make code unconditional.
18127 [!__ASSUME_32BITUIDS]: Remove conditional code.
18128 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18129 <kernel-features.h>.
18130 [__ASSUME_32BITUIDS]: Make code unconditional.
18131 [!__ASSUME_32BITUIDS]: Remove conditional code.
18132 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18133 <kernel-features.h>.
18134 [__ASSUME_32BITUIDS]: Make code unconditional.
18135 [!__ASSUME_32BITUIDS]: Remove conditional code.
18136 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18137 <kernel-features.h>.
18138 [__ASSUME_32BITUIDS]: Make code unconditional.
18139 [!__ASSUME_32BITUIDS]: Remove conditional code.
18140 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18141 <kernel-features.h>.
18142 [__ASSUME_32BITUIDS]: Make code unconditional.
18143 [!__ASSUME_32BITUIDS]: Remove conditional code.
18144 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18145 <kernel-features.h>.
18146 [__ASSUME_32BITUIDS]: Make code unconditional.
18147 [!__ASSUME_32BITUIDS]: Remove conditional code.
18148 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18149 <kernel-features.h>.
18150 [__ASSUME_32BITUIDS]: Make code unconditional.
18151 [!__ASSUME_32BITUIDS]: Remove conditional code.
18152 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18153 <kernel-features.h>.
18154 [__ASSUME_32BITUIDS]: Make code unconditional.
18155 [!__ASSUME_32BITUIDS]: Remove conditional code.
18156 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.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/i386/shmctl.c: Do not include
18165 <kernel-features.h>.
18166 [__ASSUME_32BITUIDS]: Make code unconditional.
18167 [!__ASSUME_32BITUIDS]: Remove conditional code.
18168 * sysdeps/unix/sysv/linux/kernel-features.h
18169 (__ASSUME_SETRESUID_SYSCALL): Remove.
18170 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18171 (__ASSUME_32BITUIDS): Likewise.
18172 (__ASSUME_LDT_WORKS): Likewise.
18173 (__ASSUME_O_DIRECTORY): Likewise.
18174 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18175 architecture but not kernel version.
18176 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18177 (__ASSUME_MMAP2_SYSCALL): Likewise.
18178 (__ASSUME_STAT64_SYSCALL): Likewise.
18179 (__ASSUME_IPC64): Likewise.
18180 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18181 <kernel-features.h>.
18182 [__ASSUME_32BITUIDS]: Make code unconditional.
18183 [!__ASSUME_32BITUIDS]: Remove conditional code.
18184 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18185 <kernel-features.h>.
18186 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18187 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18188 132096]: Remove conditional code.
18189 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18190 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18191 <kernel-features.h>.
18192 [__ASSUME_32BITUIDS]: Make code unconditional.
18193 [!__ASSUME_32BITUIDS]: Remove conditional code.
18194 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18195 <kernel-features.h>.
18196 [__ASSUME_32BITUIDS]: Make code unconditional.
18197 [!__ASSUME_32BITUIDS]: Remove conditional code.
18198 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18199 <kernel-features.h>.
18200 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18202 (__setresgid): Do not declare.
18203 [__ASSUME_32BITUIDS]: Make code unconditional.
18204 [!__ASSUME_32BITUIDS]: Remove conditional code.
18205 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18206 <kernel-features.h>.
18207 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18209 (__setresuid): Do not declare.
18210 [__ASSUME_32BITUIDS]: Make code unconditional.
18211 [!__ASSUME_32BITUIDS]: Remove conditional code.
18212 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18213 <kernel-features.h>.
18214 [__ASSUME_32BITUIDS]: Make code unconditional.
18215 [!__ASSUME_32BITUIDS]: Remove conditional code.
18216 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18217 <kernel-features.h>.
18218 [__ASSUME_32BITUIDS]: Make code unconditional.
18219 [!__ASSUME_32BITUIDS]: Remove conditional code.
18221 2012-05-25 Richard Henderson <rth@twiddle.net>
18223 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18224 dl_hwcap to ifunc resolver.
18225 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18227 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18228 dl_hwcap to ifunc resolver.
18229 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18231 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18234 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18235 for |x| <= 2**-26, not 2**-57.
18236 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18239 2012-05-24 Jeff Law <law@redhat.com>
18241 * stdio-common/Makefile (tests): Add bug25.
18242 * stdio-common/bug25.c: New test.
18244 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18247 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18248 multiple of MALLOC_ALIGNMENT in size.
18249 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18251 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18253 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18255 (FILENAME_MAX): Use macro-int-constant.
18256 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18257 (_IOFBF): Use macro-int-constant.
18258 (_IOLBF): Likewise.
18259 (_IONBF): Likewise.
18260 (SEEK_CUR): Likewise.
18261 (SEEK_END): Likewise.
18262 (SEEK_SET): Likewise.
18263 (TMP_MAX): Likewise.
18264 (EOF): Use macro-int-constant. Require < 0.
18265 (NULL): Use macro-constant. Require == 0.
18266 (stdin): Require type to be FILE *.
18267 (stdout): Likewise.
18268 (stderr): Likewise.
18269 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18270 macro-int-constant.
18271 (EXIT_SUCCESS): Likewise.
18272 (NULL): Use macro-constant. Require == 0.
18273 (RAND_MAX): Use macro-int-constant.
18274 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18275 [C99-based standards] (strtof): Require function.
18276 [C99-based standards] (strtold): Likewise.
18277 [C99-based standards] (strtoll): Likewise.
18278 [C99-based standards] (strtoull): Likewise.
18279 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18280 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18281 [ISO || ISO99 || ISO11] (math.h): Likewise.
18282 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18283 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18284 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18286 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18289 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18290 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18291 * intl/dgettext.c (DCGETTEXT): Likewise.
18292 * intl/gettext.c (DCGETTEXT): Likewise.
18293 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18294 * posix/regex_internal.h (gettext): Likewise.
18295 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18296 Remove declaration.
18297 * include/argz.h (__argz_count_internal)
18298 (__argz_stringify_internal): Remove declaration.
18299 (__argz_count, __argz_stringify): Declare hidden proto.
18300 * intl/dcgettext.c: Remove use of INTDEF.
18301 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18302 * string/argz-stringify.c: Likewise.
18303 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18304 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18305 Declare hidden proto.
18306 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18307 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18308 Declare hidden proto.
18309 * include/stdio.h (__asprintf_internal): Don't declare.
18310 (__asprintf): Don't define as macro. Declare hidden proto.
18311 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18312 (__fsetlocking): Declare hidden proto.
18313 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18314 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18316 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18317 (_IO_setlinebuf): Remove use of INTUSE.
18318 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18319 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18320 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18321 Remove declaration.
18322 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18323 (_IO_do_flush): Remove use of INTUSE.
18324 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18325 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18326 (_IO_adjust_column, _IO_least_wmarker)
18327 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18328 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18329 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18330 (_IO_default_doallocate, _IO_wdefault_doallocate)
18331 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18332 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18333 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18334 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18335 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18336 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18337 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18338 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18339 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18340 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18341 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18342 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18343 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18345 (_IO_flush_all_internal, _IO_adjust_column_internal)
18346 (_IO_default_uflow_internal, _IO_default_finish_internal)
18347 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18348 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18349 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18350 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18351 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18352 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18353 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18354 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18355 (_IO_file_close_internal, _IO_file_close_it_internal)
18356 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18357 (_IO_file_init_internal, _IO_file_attach_internal)
18358 (_IO_file_fopen_internal, _IO_file_read_internal)
18359 (_IO_file_sync_internal, _IO_file_seek_internal)
18360 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18361 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18362 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18363 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18364 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18365 (_IO_list_all_internal, _IO_link_in_internal)
18366 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18367 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18368 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18369 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18370 (_IO_do_write_internal, _IO_padn_internal)
18371 (_IO_getline_info_internal, _IO_getline_internal)
18372 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18373 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18374 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18375 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18376 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18377 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18378 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18379 with libc_hidden_ver, remove use of INTUSE.
18380 * libio/genops.c: Likewise.
18381 * libio/freopen.c: Likewise.
18382 * libio/freopen64.c: Likewise.
18383 * libio/iofclose.c: Likewise.
18384 * libio/iofdopen.c: Likewise.
18385 * libio/iofflush.c: Likewise.
18386 * libio/iofflush_u.c: Likewise.
18387 * libio/iofgets.c: Likewise.
18388 * libio/iofgets_u.c: Likewise.
18389 * libio/iofopen.c: Likewise.
18390 * libio/iofopncook.c: Likewise.
18391 * libio/iofread.c: Likewise.
18392 * libio/iofread_u.c: Likewise.
18393 * libio/ioftell.c: Likewise.
18394 * libio/iofwrite.c: Likewise.
18395 * libio/iogetline.c: Likewise.
18396 * libio/iogets.c: Likewise.
18397 * libio/iogetwline.c: Likewise.
18398 * libio/iopadn.c: Likewise.
18399 * libio/iopopen.c: Likewise.
18400 * libio/ioseekoff.c: Likewise.
18401 * libio/ioseekpos.c: Likewise.
18402 * libio/iosetbuffer.c: Likewise.
18403 * libio/iosetvbuf.c: Likewise.
18404 * libio/ioungetc.c: Likewise.
18405 * libio/ioungetwc.c: Likewise.
18406 * libio/iovdprintf.c: Likewise.
18407 * libio/iovsprintf.c: Likewise.
18408 * libio/iovsscanf.c: Likewise.
18409 * libio/memstream.c: Likewise.
18410 * libio/obprintf.c: Likewise.
18411 * libio/oldfileops.c: Likewise.
18412 * libio/oldiofclose.c: Likewise.
18413 * libio/oldiofdopen.c: Likewise.
18414 * libio/oldiofopen.c: Likewise.
18415 * libio/oldiopopen.c: Likewise.
18416 * libio/oldstdfiles.c: Likewise.
18417 * libio/putc.c: Likewise.
18418 * libio/setbuf.c: Likewise.
18419 * libio/setlinebuf.c: Likewise.
18420 * libio/stdfiles.c: Likewise.
18421 * libio/strops.c: Likewise.
18422 * libio/vasprintf.c: Likewise.
18423 * libio/vscanf.c: Likewise.
18424 * libio/vsnprintf.c: Likewise.
18425 * libio/vswprintf.c: Likewise.
18426 * libio/wfiledoalloc.c: Likewise.
18427 * libio/wfileops.c: Likewise.
18428 * libio/wgenops.c: Likewise.
18429 * libio/wmemstream.c: Likewise.
18430 * libio/wstrops.c: Likewise.
18431 * libio/__fpurge.c: Likewise.
18432 * libio/__fsetlocking.c: Likewise.
18433 * assert/assert.c: Likewise.
18434 * debug/fgets_chk.c: Likewise.
18435 * debug/fgets_u_chk.c: Likewise.
18436 * debug/fread_chk.c: Likewise.
18437 * debug/fread_u_chk.c: Likewise.
18438 * debug/gets_chk.c: Likewise.
18439 * debug/obprintf_chk.c: Likewise.
18440 * debug/vasprintf_chk.c: Likewise.
18441 * debug/vdprintf_chk.c: Likewise.
18442 * debug/vsnprintf_chk.c: Likewise.
18443 * debug/vsprintf_chk.c: Likewise.
18444 * malloc/mtrace.c: Likewise.
18445 * misc/error.c: Likewise.
18446 * misc/syslog.c: Likewise.
18447 * stdio-common/asprintf.c: Likewise.
18448 * stdio-common/fxprintf.c: Likewise.
18449 * stdio-common/getw.c: Likewise.
18450 * stdio-common/isoc99_fscanf.c: Likewise.
18451 * stdio-common/isoc99_scanf.c: Likewise.
18452 * stdio-common/isoc99_vfscanf.c: Likewise.
18453 * stdio-common/isoc99_vscanf.c: Likewise.
18454 * stdio-common/isoc99_vsscanf.c: Likewise.
18455 * stdio-common/printf-prs.c: Likewise.
18456 * stdio-common/printf_fp.c: Likewise.
18457 * stdio-common/printf_fphex.c: Likewise.
18458 * stdio-common/printf_size.c: Likewise.
18459 * stdio-common/putw.c: Likewise.
18460 * stdio-common/scanf.c: Likewise.
18461 * stdio-common/sprintf.c: Likewise.
18462 * stdio-common/tmpfile.c: Likewise.
18463 * stdio-common/vfprintf.c: Likewise.
18464 * stdio-common/vfscanf.c: Likewise.
18465 * stdlib/strfmon_l.c: Likewise.
18466 * sunrpc/openchild.c: Likewise.
18467 * sunrpc/xdr_stdio.c: Likewise.
18468 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18469 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18471 2012-05-24 Roland McGrath <roland@hack.frob.com>
18473 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18475 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18476 in the third column, to generate for the shared library an IFUNC
18477 that uses _dl_vdso_vsym.
18478 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18479 * Makeconfig (object-suffixes-noshared): New variable.
18481 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18482 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18483 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18484 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18487 * include/sys/time.h (__gettimeofday): Remove macro.
18488 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18489 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18491 (__gettimeofday): Add libc_hidden_def.
18492 (gettimeofday): Add libc_hidden_weak.
18493 * sysdeps/mach/gettimeofday.c: Likewise.
18494 * sysdeps/posix/gettimeofday.c: Likewise.
18495 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18496 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18498 (__gettimeofday_internal): Remove strong_alias.
18499 (__gettimeofday): Add libc_hidden_def.
18500 (gettimeofday): Add libc_hidden_weak.
18501 * sysdeps/unix/syscalls.list (gettimeofday):
18502 Remove __gettimeofday_internal alias.
18504 2012-05-24 Daniel Jacobowitz <drow@false.org>
18505 H.J. Lu <hongjiu.lu@intel.com>
18508 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18509 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18510 (largebin_index_32_big): New.
18511 (largebin_index): Use it for 16-byte alignment.
18512 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18513 correction with front_misalign.
18515 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18543 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18544 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18546 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18550 * math/libm-test.inc (exp_test): Add test from bug 14036.
18551 (pow_test): Add test from bug 10846.
18553 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18555 (special_function): Do not include flags in test name.
18556 (parse_args): Likewise.
18557 * sysdeps/i386/fpu/libm-test-ulps: Update.
18558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18560 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18563 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18565 * math/libm-test.inc ("Philosophy"): Update comment about
18567 (UNDERFLOW_EXCEPTION): New macro.
18568 (UNDERFLOW_EXCEPTION_OK): Likewise.
18569 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18570 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18571 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18572 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18573 (INVALID_EXCEPTION_OK): Update value.
18574 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18575 (OVERFLOW_EXCEPTION_OK): Likewise.
18576 (IGNORE_ZERO_INF_SIGN): Likewise.
18577 (test_exceptions): Handle underflow exceptions.
18578 (acos_test): Update for underflow exception expectations.
18579 (cexp_test): Likewise.
18580 (clog_test): Likewise.
18581 (clog10_test): Likewise.
18582 (csqrt_test): Likewise.
18583 (ctan_test): Likewise.
18584 (ctanh_test): Likewise.
18585 (exp_test): Likewise.
18586 (exp10_test): Likewise.
18587 (exp2_test): Likewise.
18588 (expm1_test): Likewise.
18589 (fma_test): Likewise.
18590 (j0_test): Likewise.
18591 (jn_test): Likewise.
18592 (nexttoward_test): Likewise.
18593 (pow_test): Likewise.
18594 (scalbn_test): Likewise.
18595 (scalbln_test): Likewise.
18596 (tan_test): Likewise.
18597 (y1_test): Likewise.
18598 * sysdeps/i386/fpu/libm-test-ulps: Update.
18599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18601 2012-05-23 David S. Miller <davem@davemloft.net>
18603 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18604 (__libc_sigaction): Remove unused local variables.
18606 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18608 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18610 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18612 mktime: avoid signed integer overflow
18613 * time/mktime.c (__mktime_internal): Do not mishandle the case
18614 where diff == INT_MIN.
18616 mktime: simplify computation of average
18617 * time/mktime.c (ranged_convert): Use new time_t_avg function
18618 instead of rolling our own (probably-slower) code.
18620 mktime: do not assume signed right shift propagates sign bit
18621 * time/mktime.c (isdst_differ): New static function.
18622 (__mktime_internal): No need to normalize tm_isdst now.
18623 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18626 mktime: merge another wrapv change from gnulib
18627 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18628 from some compilers.
18630 mktime: remove incorrect attempt at unusual arithmetics
18631 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18632 The code didn't really work on such machines anyway.
18633 (TYPE_MINIMUM): Assume two's complement.
18634 (twos_complement_arithmetic): Verify that long_int and time_t
18635 are two's complement (or unsigned, in the latter case).
18637 mktime: check signed shifts on long_int and time_t, too
18638 * time/mktime.c (SHR): Check that shifts work as desired
18639 on the types long_int and time_t too, as SHR is used on
18642 mktime: do not assume 'long' is wide enough
18643 * time/mktime.c (verify): Move decl up.
18644 (long_int): New type.
18645 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18646 to remove assumption in the code that 'long' is wide enough to
18647 store year values. This assumption is not true on x32 and on
18648 some non-glibc platforms.
18650 mktime: merge wrapv change from gnulib
18651 * time/mktime.c (WRAPV): New macro.
18652 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18653 (guess_time_tm, __mktime_internal): Do not assume that signed
18654 integer overflow wraps around; modern compilers generate code
18655 where this assumption is no longer valid.
18657 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18659 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18660 Replace "jmp L(pseudo_end)" with "ret".
18661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18664 2012-05-23 Andreas Jaeger <aj@suse.de>
18666 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18667 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18669 2012-05-23 Andreas Jaeger <aj@suse.de>
18670 Maximilian Attems <max@stro.at>
18672 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18675 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18677 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18678 code so that pseudo_end is just ret and the stack pointer is
18679 correct also for static library in error case.
18681 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18683 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18684 move to syscalls.list.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18690 * manual/install.texi (Running make install): Do not mention Linux
18691 kernel version for which pt_chown is not needed.
18692 (Linux): Do not mention problems with nscd with 2.0 kernels.
18693 * INSTALL: Regenerated.
18695 2012-05-23 Andreas Jaeger <aj@suse.de>
18697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18698 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18700 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18702 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18704 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18710 * sysdeps/unix/sysv/linux/bits/in.h
18711 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18713 2012-05-22 Roland McGrath <roland@hack.frob.com>
18715 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18716 (PREPARE_VERSION): Just use assert instead, it will be elided
18717 under [NDEBUG] anyway.
18719 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18721 * sysdeps/unix/sysv/linux/Makefile: Include
18722 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18723 (sysdep_routines): Remove sysctl.
18724 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18725 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18726 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18727 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18728 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18730 2012-05-22 Andreas Jaeger <aj@suse.de>
18732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18733 that pseudo_end is just ret and the stack pointer is correct also
18734 for static library in error case.
18736 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18739 * nss/nsswitch.c (defconfig_entries): New variable.
18740 (__nss_database_lookup): Don't leak defconfig entries.
18741 (nss_parse_service_list): Don't leak on error paths.
18742 (free_database_entries): New function.
18743 (free_defconfig): New function.
18744 (free_mem): Move common code to free_database_entries.
18746 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18748 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18750 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18752 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18753 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18756 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18757 (INTERNAL_SYSCALL_TYPES): Likewise.
18758 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18759 (LOAD_REGS_TYPES_[1-6]): Likewise.
18760 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18761 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18763 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18765 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18766 copysignl for GLIBC_2_0.
18767 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18768 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18770 logbl for GLIBC_2_0.
18771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18772 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18774 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18777 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18779 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18782 * time/mktime.c: Update copyright years.
18784 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18786 mktime: merge comment-quoting-style change from gnulib
18787 * time/mktime.c: Quote 'like this' in comments.
18788 The GNU coding standards suggest that we no longer quote `like this',
18789 as "`" and "'" are typically rendered asymmetrically nowadays.
18790 The typical gnulib style is to quote 'like this' when quoting
18791 code, and "like this" when quoting English.
18793 * time/mktime.c (compile-command): Add "-I.".
18795 mktime: merge mktime-internal.h change from gnulib
18796 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18798 mktime: merge time_r change from gnulib
18799 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18801 mktime: merge DEBUG change from gnulib
18802 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18803 case system <time.h> has a #define.
18805 mktime: merge <sys/types.h> change from gnulib
18806 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18807 since <time.t> is now guaranteed to define time_t.
18809 mktime: merge HAVE_CONFIG_H change from gnulib
18810 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18812 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18817 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18819 (struct rusage): Use anonymous union to pad each field to
18822 2012-05-21 David S. Miller <davem@davemloft.net>
18824 * Makefules (o-iterator): Remove .s cases.
18825 (compile-command.s): Delete.
18826 (COMPILE.s): Delete.
18827 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18829 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18831 * configure.in (libc_cv_predef_stack_protector): Only consider
18832 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18833 * configure: Regenerated.
18835 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18838 New macro. Use R*LP on int and pointer.
18839 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18840 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18841 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18842 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18844 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18845 [__WORDSIZE_TIME64_COMPAT32] instead of
18846 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18847 (struct utmp): Likewise.
18848 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18849 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18851 (__WORDSIZE_TIME64_COMPAT32): This.
18852 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18853 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18854 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18856 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18857 (__WORDSIZE_TIME64_COMPAT32): New macro.
18859 2012-05-21 Andreas Jaeger <aj@suse.de>
18861 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18862 only if [SHARED]. Add prototype for __wcschr_ia32.
18864 2012-05-21 Roland McGrath <roland@hack.frob.com>
18866 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18867 of %rbp unmolested in the jmp_buf while mangling the low bits.
18868 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18869 unmolested high bits of %rbp while demangling the low bits.
18870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18872 2012-05-21 Andreas Jaeger <aj@suse.de>
18874 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18875 * sunrpc/svc_simple.c: Use it for registerrpc.
18876 * sunrpc/xcrypt.c: Use it for passwd2des.
18878 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18880 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18882 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18883 Don't define if [__SYSCALL_WORDSIZE != 32].
18884 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18887 2012-05-21 Bruno Haible <bruno@clisp.org>
18888 Andreas Jaeger <aj@suse.de>
18890 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18891 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18892 inptr and inend for must_buffer_ch.
18893 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18894 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18895 * stdio-common/Makefile (tests): Remove bug15.
18896 (bug15-ENV): Remove macro.
18897 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18900 2012-05-19 Andreas Jaeger <aj@suse.de>
18901 Roland McGrath <roland@hack.frob.com>
18903 * manual/contrib.texi: Completely rewritten. It contains now an
18904 alphabetical list of contributors and their contributions.
18906 2012-05-21 Richard Henderson <rth@twiddle.net>
18908 * misc/getauxval.c (__getauxval): Use unsigned long int.
18909 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18910 (getauxval): Use unsigned long int.
18912 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18914 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18916 2012-05-21 Roland McGrath <roland@hack.frob.com>
18918 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18919 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18920 __alignof__ (long double).
18922 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18926 2012-05-20 Richard Henderson <rth@twiddle.net>
18928 * misc/getauxval.c: New file.
18929 * misc/sys/auxv.h: New file.
18930 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18931 (routines): Add getauxval.
18932 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18933 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18934 * elf/dl-sysdep.c (_dl_auxv): Remove.
18935 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18936 * elf/dl-support.c (_dl_auxv): New variable.
18937 (_dl_aux_init): Initialize it.
18938 * manual/startup.texi (Auxiliary Vector): New node.
18939 * sysdeps/generic/bits/hwcap.h: New file.
18940 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18941 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18942 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18943 * sysdeps/sparc/sysdep.h: ... here. Include it.
18944 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18957 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18961 2012-05-19 David S. Miller <davem@davemloft.net>
18963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18965 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18968 * math/s_ccosh.c: Include <float.h>
18969 (__ccosh): Avoid internal overflow calculating sinh and cosh
18970 values before multiplying by sin and cos values.
18971 * math/s_ccoshf.c: Likewise.
18972 * math/s_ccoshl.c: Likewise.
18973 * math/s_csin.c: Likewise.
18974 * math/s_csinf.c: Likewise.
18975 * math/s_csinl.c: Likewise.
18976 * math/s_csinh.c: Likewise.
18977 * math/s_csinhf.c: Likewise.
18978 * math/s_csinhl.c: Likewise.
18979 * math/libm-test.inc (ccos_test): Add more tests.
18980 (ccosh_test): Likewise.
18981 (csin_test): Likewise.
18982 (csinh_test): Likewise.
18983 * sysdeps/i386/fpu/libm-test-ulps: Update.
18984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18986 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18988 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18989 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18991 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18993 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18995 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18996 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18997 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18998 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18999 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19000 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19001 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19002 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19003 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19004 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19005 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19006 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19007 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19008 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19009 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19010 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19011 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19012 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19013 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19014 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19015 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19016 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19017 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19018 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19019 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19020 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19021 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19022 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19023 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19024 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19025 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19027 2012-05-18 Andreas Jaeger <aj@suse.de>
19029 * csu/.gitignore: Delete.
19031 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19033 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19034 (timex): Use __syscall_slong_t.
19036 2012-05-18 Andreas Jaeger <aj@suse.de>
19037 Carlos O'Donell <carlos_odonell@mentor.com>
19039 * manual/install.texi (Configuring and compiling): Update
19040 description about files modified in the source directory.
19041 * INSTALL: Regenerated.
19043 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19045 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19046 value. Use "or" to set return value to -1.
19047 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19048 negate return value.
19050 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19052 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19053 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19054 failure if the compiler has Graphite support disabled.
19055 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19057 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19058 CFLAGS-memmove.c): Likewise.
19059 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19062 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19064 * sysdeps/x86_64/x32/_itoa.h: New file.
19066 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19067 getdents system call only if kernel and user dirents have the
19068 same d_ino and d_off.
19070 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19071 LLONG_MAX != LONG_MAX.
19072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19073 (_fitoa_word): Likewise.
19075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19079 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19081 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19082 include <bits/wordsize.h>. Check __x86_64__ instead of
19084 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19085 if __x86_64__ is defined. Use anonymous union on fpstate.
19087 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19090 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19092 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19093 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19094 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19095 Refer to _rtld_local_ro instead of _rtld_global_ro.
19096 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19098 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19100 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19102 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19103 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19104 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19106 * sysdeps/powerpc/powerpc32/dl-machine.c
19107 (__elf_machine_runtime_setup) [PROF]: Don't reference
19110 2012-05-18 Andreas Jaeger <aj@suse.de>
19112 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19113 function only available for GCCs before 3.4 since GCC 3.4
19114 introduced a builtin.
19116 (llrintf): Likewise.
19117 (llrint): Likewise.
19124 (nearbyint): Likewise.
19125 (nearbyintf): Likewise.
19129 (floorf): Likewise.
19131 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19133 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19134 on both fields and cast pointer to __syscall_ulong_t.
19136 * bits/types.h (__fsword_t): New type.
19137 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19138 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19140 (__FSWORD_T_TYPE): Likewise.
19141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19142 (__FSWORD_T_TYPE): Likewise.
19143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19144 (__FSWORD_T_TYPE): Likewise.
19145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19146 (__FSWORD_T_TYPE): Likewise.
19147 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19148 __SWORD_TYPE with __fsword_t.
19149 (statfs64): Likewise.
19151 2012-05-17 David S. Miller <davem@davemloft.net>
19153 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19155 2012-05-17 Andreas Jaeger <aj@suse.de>
19157 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19160 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19162 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19164 2012-05-17 Andreas Jaeger <aj@suse.de>
19166 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19169 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19171 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19173 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19175 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19176 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19178 2012-05-17 Andreas Jaeger <aj@suse.de>
19179 Carlos O'Donell <carlos_odonell@mentor.com>
19182 * sysdeps/x86_64/multiarch/init-arch.h
19183 (bit_YMM_Usable): Rename to...
19184 (bit_AVX_Usable): ... this.
19185 (bit_FMA4_Usable): New macro.
19186 (bit_XMM_state): New macro.
19187 (bit_YMM_state): New macro.
19188 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19189 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19190 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19191 (CPUID_OSXSAVE): New macro.
19192 (CPUID_AVX): New macro.
19193 (CPUID_FMA4): New macro.
19194 (index_YMM_Usable): Rename to...
19195 (index_AVX_Usable): ... this.
19196 (HAS_AVX): Use HAS_ARCH_FEATURE.
19197 (HAS_FMA4): Likewise.
19198 (HAS_YMM_USABLE): Remove.
19199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19200 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19202 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19203 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19204 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19205 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19206 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19208 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19210 * math/libm-test.c: Support platforms without multiple rounding modes.
19211 * math/bug-nextafter.c: Support platforms without FP exceptions.
19212 * math/bug-nexttoward.c: Likewise.
19213 * math/test-fenv.c: Likewise.
19214 * math/test-misc.c: Likewise.
19215 * stdlib/bug-getcontext.c: Likewise.
19217 2012-05-17 Andreas Jaeger <aj@suse.de>
19219 * manual/examples/search.c (critter_cmp): Change signature to
19221 * manual/string.texi (Collation Functions): Likewise.
19223 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19225 * bits/types.h: Fold copyright years.
19226 * bits/typesizes.h: Likewise.
19227 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19231 * time/time.h: Likewise.
19233 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19236 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19237 in instead of returning them. Return void.
19238 (__libc_mallinfo): Accumulate over all arenas.
19239 (__malloc_stats): Adjust for change in int_mallinfo interface.
19241 2012-05-16 Roland McGrath <roland@hack.frob.com>
19244 * configure.in (NM): Add AC_CHECK_TOOL for it.
19245 (libc_extra_cflags): New substituted variable.
19246 Check for -fstack-protector being used implicitly.
19247 * configure: Regenerated.
19248 * config.make.in (config-extra-cflags): New variable,
19249 gets @libc_extra_cflags@.
19250 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19253 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19254 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19255 * configure: Regenerated.
19256 * config.make.in (CPPUNDEFS): New substituted variable.
19257 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19258 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19259 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19261 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19263 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19264 (mq_attr): Use __syscall_slong_t.
19266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19268 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19269 Check __x86_64__ instead of __WORDSIZE.
19270 (_STAT_VER_LINUX): Likewise.
19271 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19272 __syscall_ulong_t and __syscall_slong_t.
19273 (stat64): Likewise.
19275 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19279 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19281 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19283 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19285 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19288 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19289 include <bits/wordsize.h>. Check __x86_64__ instead of
19291 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19293 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19295 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19296 include <bits/wordsize.h>. Check __x86_64__ instead of
19298 (user_regs_struct): Use "__extension__ unsigned long long"
19299 instead of "unsigned long" if __x86_64__ is defined.
19300 (user): Likewise. Pad after pointer field if __ILP32__ is
19303 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19305 * configure.in (makeinfo): Require version 4.5 or later. Allow
19307 * configure: Regenerated.
19308 * manual/install.texi (texinfo): Increase version requirement to
19310 * INSTALL: Regenerated.
19312 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19316 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19318 * sysdeps/x86_64/x32/ffs.c: New file.
19320 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19322 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19323 defined. Use __syscall_ulong_t.
19324 (shminfo): Use __syscall_ulong_t.
19325 (shm_info): Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19330 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19332 (msgqnum_t): Use __syscall_ulong_t.
19333 (msglen_t): Likewise.
19334 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19337 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19338 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19342 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19343 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19345 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19348 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19349 include <bits/wordsize.h>. Check __x86_64__ instead of
19352 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19353 "unsigned long long int" if __x86_64__ is defined.
19354 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19357 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19358 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19360 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19362 (GET_PC): Cast to uintptr_t first.
19363 (GET_FRAME): Likewise.
19364 (GET_STACK): Likewise.
19366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19368 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19369 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19370 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19371 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19372 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19373 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19379 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19382 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19383 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19384 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19385 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19386 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19387 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19388 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19389 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19391 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19392 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19393 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19396 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19398 * Makerules (+depfiles): Also collect depfiles from .oS in
19400 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19401 .oS, $(libnldbl-routines)).
19403 * Makerules (native-compile-mkdep-flags): Define.
19404 * sunrpc/Makefile (extra-objs): Add $(addprefix
19405 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19406 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19407 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19408 calling $(make-target-directory).
19410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19412 * bits/types.h (__snseconds_t): Removed.
19413 * time/time.h (struct timespec): Replace __snseconds_t with
19415 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19416 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19419 (__SNSECONDS_T_TYPE): Likewise.
19420 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19421 (__SNSECONDS_T_TYPE): Likewise.
19422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19423 (__SNSECONDS_T_TYPE): Likewise.
19425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19427 * sysdeps/mach/hurd/bits/typesizes.h
19428 (__SYSCALL_SLONG_TYPE): New macro.
19429 (__SYSCALL_ULONG_TYPE): Likewise.
19431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19433 * bits/types.h (__syscall_slong_t): New type.
19434 (__syscall_ulong_t): Likewise.
19436 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19437 (__SYSCALL_ULONG_TYPE): Likewise.
19438 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19439 (__SYSCALL_SLONG_TYPE): Likewise.
19440 (__SYSCALL_ULONG_TYPE): Likewise.
19441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19442 (__SYSCALL_SLONG_TYPE): Likewise.
19443 (__SYSCALL_ULONG_TYPE): Likewise.
19444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19445 (__SYSCALL_SLONG_TYPE): Likewise.
19446 (__SYSCALL_ULONG_TYPE): Likewise.
19448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19450 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19451 Add sigaltstack-offsets.sym.
19452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19453 <sigaltstack-offsets.h>.
19454 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19455 longjmp_msg pointer.
19456 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19457 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19459 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19461 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19463 * elf/stackguard-macros.h: Remove file.
19464 * sysdeps/generic/stackguard-macros.h: New file.
19465 * sysdeps/i386/stackguard-macros.h: Likewise.
19466 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19467 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19468 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19469 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19470 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19471 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19472 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19473 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19474 <elf/stackguard-macros.h>.
19477 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19478 __aligned__ in attribute.
19479 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19480 (gregset_t): Likewise.
19482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19484 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19485 * sysdeps/x86_64/64/Implies-after: Here. New file.
19486 * sysdeps/x86_64/x32/Implies-after: New file.
19488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19490 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19491 and access return value for _dl_profile_fixup. Use R10_LP to
19494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19496 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19500 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19501 * sysdeps/x86_64/x32/sysdep.h: New file.
19503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19505 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19506 * sysdeps/x86_64/setjmp.S: Likewise.
19508 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19510 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19512 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19513 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19514 remove unused global constant.
19516 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19518 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19519 include of <not-cancel.h>.
19521 2012-05-15 Roland McGrath <roland@hack.frob.com>
19523 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19525 2012-05-15 Jeff Law <law@redhat.com>
19526 Andreas Jaeger <aj@suse.de>
19529 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19531 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19532 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19533 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19534 code changing __hst_map_handle.map.
19536 2012-05-15 Roland McGrath <roland@hack.frob.com>
19538 * configure.in (sysnames): Look for Implies-before and Implies-after
19540 * configure: Regenerated.
19542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19544 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19545 8-byte data alignment with LP_SIZE alignment.
19547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19549 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19554 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19559 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19560 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19562 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19566 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19567 (stackinfo_sub_sp): Likewise.
19569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19571 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19576 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19586 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19590 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19591 into R11_LP and load __x86_64_shared_cache_size_half into
19594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19596 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19599 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19608 powerpc32/power7/fpu/s_logb.c via #include.
19609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19610 powerpc32/power7/fpu/s_logbf.c via #include.
19611 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19612 powerpc32/power7/fpu/s_logbl.c via #include.
19614 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19616 * README.libm: Remove file.
19618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19620 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19621 count for x32. Use R*_LP and omit operand-size suffix.
19623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19625 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19626 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19627 * sysdeps/x86_64/x32/shlib-versions: New file.
19629 2012-05-14 Roland McGrath <roland@hack.frob.com>
19631 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19632 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19633 Use _dl_fatal_printf instead.
19635 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19637 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19638 set if not set by the user. Do not allow for being unset.
19639 * sysdeps/unix/sysv/linux/configure: Regenerated.
19641 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19643 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19644 the `q' suffix from lea and replace .quad with ASM_ADDR.
19646 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19649 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19651 (PTR_DEMANGLE): Likewise.
19653 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19655 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19657 (ASM_ADDR): Likewise.
19658 (RAX_LP): Likewise.
19659 (RBP_LP): Likewise.
19660 (RBX_LP): Likewise.
19661 (RCX_LP): Likewise.
19662 (RDI_LP): Likewise.
19663 (RSI_LP): Likewise.
19664 (RSP_LP): Likewise.
19667 (R10_LP): Likewise.
19668 (R10_LP): Likewise.
19669 (R11_LP): Likewise.
19670 (R12_LP): Likewise.
19671 (R13_LP): Likewise.
19672 (R14_LP): Likewise.
19673 (R15_LP): Likewise.
19675 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19677 * sysdeps/x86_64/x32/dl-machine.h: New file.
19679 2012-05-14 Andreas Jaeger <aj@suse.de>
19681 * manual/Makefile (subdir): Remove export of subdir.
19682 (all): Remove target.
19683 (.PHONY): Remove all from list.
19684 (mkinstalldirs): Remove.
19685 (.PHONY): Remove installdirs from list.
19686 ($(inst_infodir)/libc.info): Use make-target-directory.
19687 (installdirs): Remove.
19688 (subdir_%): Remove.
19689 (glibc-targets): Remove.
19692 ($(objpfx)stubs ../po/manual.pot): Remove.
19693 ($(objpfx)stamp%): Remove.
19694 (make-target-directory): Remove.
19695 (subdir_install): Remove.
19696 (routines): Remove.
19703 * manual/.gitignore: Remove, it's not needed anymore.
19704 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19706 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19708 (texis): Renamed to $(objpfx)texis.
19709 (texis-path): New, contains path to generated files.
19710 (chapters.%): Use texis-path for complete path, add extra argument
19712 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19713 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19714 (summary,texi, stamp-summary): Use complete path of
19715 files. Generate files in build dir.
19716 (dir-add.texi): Build in build dir.
19717 (libm-err.texi,stamp-libm-err): Likewise.
19718 (version.texi, stamp-version): Likewise.
19719 (.%c.texi): Likewise.
19720 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19721 (mostlyclean): Remove target.
19722 (realclean): Remove target.
19723 (generated): Add new variable with contents from mostlyclean and
19724 realclean, remove entries duplicated in common-mostlyclean, add
19725 stamp-libm-err and stamp-version.
19726 (generated-dirs): Add libc directory.
19727 ($(inst_infodir)/libc.info): Install files from build dir.
19729 * manual/install.texi (Configuring and compiling): Adjust since
19730 the info files are not part of the tar ball anymore.
19732 2012-05-14 Andreas Jaeger <aj@suse.de>
19734 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19737 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19741 to 2.2.0 where earlier.
19742 * sysdeps/unix/sysv/linux/configure: Regenerated.
19743 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19744 Remove conditional code.
19745 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19746 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19747 Remove conditional code.
19748 [!__NR_lchown]: Likewise.
19749 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19750 [__NR_lchown]: Likewise.
19751 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19752 comment referencing __ASSUME_LCHOWN_SYSCALL.
19753 * sysdeps/unix/sysv/linux/i386/sigaction.c
19754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19756 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19757 Remove conditional code.
19758 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19759 (__protocol_available): Remove #if 0 code.
19760 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19762 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19763 * sysdeps/unix/sysv/linux/kernel-features.h
19764 (__ASSUME_GETCWD_SYSCALL): Don't define.
19765 (__ASSUME_REALTIME_SIGNALS): Likewise.
19766 (__ASSUME_PREAD_SYSCALL): Likewise.
19767 (__ASSUME_PWRITE_SYSCALL): Likewise.
19768 (__ASSUME_POLL_SYSCALL): Likewise.
19769 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19770 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19772 (__ASSUME_SIOCGIFNAME): Don't define.
19773 (__ASSUME_MSG_NOSIGNAL): Likewise.
19774 (__ASSUME_SENDFILE): Define unconditionally.
19775 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19776 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19778 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19779 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19780 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19781 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19782 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19783 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19784 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19786 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19798 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19809 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19810 Remove conditional code.
19811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19812 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19813 Remove conditional code.
19814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19815 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19816 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19817 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19818 Remove conditional code.
19819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19820 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19821 Remove conditional code.
19822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19823 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19824 Remove conditional code.
19825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19826 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19827 Remove conditional code.
19828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19829 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19830 Remove conditional code.
19831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19832 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19833 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19835 * sysdeps/unix/sysv/linux/sigaction.c
19836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19838 * sysdeps/unix/sysv/linux/sigpending.c
19839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19841 * sysdeps/unix/sysv/linux/sigprocmask.c
19842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19844 * sysdeps/unix/sysv/linux/sigsuspend.c
19845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19847 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19848 (__libc_missing_rt_sigs): Remove.
19849 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19850 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19851 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19852 Remove conditional code.
19853 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19854 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19856 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19857 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19858 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19859 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19861 2012-05-14 Andreas Jaeger <aj@suse.de>
19863 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19864 it's not used in glibc.
19865 (__coshm1): Likewise.
19866 (__acosh1p): Likewise.
19869 * manual/string.texi (Copying and Concatenation): Add missing
19870 variable in concat example.
19871 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19877 __builtin_clzl with __builtin_clzll.
19879 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19882 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19885 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19887 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19888 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19889 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19890 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19892 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19894 * NEWS: Update ia64 info.
19896 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19898 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19901 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19903 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19904 * sysdeps/unix/syscalls.list (dup3): Likewise.
19905 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19906 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19908 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19910 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19911 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19913 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19915 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19917 (TLS_IE): Use mov/add instead of movq/addq to load thread
19919 (TLS_GD_PREFIX): New.
19922 2012-05-11 David S. Miller <davem@davemloft.net>
19924 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19925 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19926 (_FPU_SETCW): Likewise.
19928 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19930 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19931 is 32-byte aligned.
19933 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19936 * iconvdata/gb18030.c: Update tables.
19937 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19938 characters specially.
19939 (BODY for TO_LOOP): Add encoding of missing ranges.
19941 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19944 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19945 * sysdeps/mach/hurd/dup3.c: Likewise.
19946 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19947 * sysdeps/powerpc/memmove.c:: Likewise.
19949 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19952 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19954 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19956 * elf/elf.h (R_X86_64_RELATIVE64): New.
19957 (R_X86_64_NUM): Updated.
19958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19959 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19960 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19961 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19962 tst-quad1pie tst-quad2pie
19963 (modules-names): Add tst-quadmod1 tst-quadmod2.
19964 ($(objpfx)tst-quad1): New dependency.
19965 ($(objpfx)tst-quad2): Likewise.
19966 ($(objpfx)tst-quad1pie): Likewise.
19967 ($(objpfx)tst-quad2pie): Likewise.
19968 * sysdeps/x86_64/tst-quad1.c: New file.
19969 * sysdeps/x86_64/tst-quad1pie.c: New file.
19970 * sysdeps/x86_64/tst-quad2.c: Likewise.
19971 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19972 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19973 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19974 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19975 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19979 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19980 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19981 * streams/stropts.h (t_scalar_t): Define type.
19983 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19984 (_PATH_PRESERVE): Set to "/var/lib".
19985 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19987 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19990 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19991 if __dir_mkfile succeeded.
19993 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19994 checking for _hurd_dtablesize. Unlock it right after having
19995 finished _hurd_dtable allocation.
19997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19999 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20000 * sysdeps/mach/hurd/configure: Regenerated.
20001 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20002 special-casing to...
20003 * sysdeps/gnu/configure.in: ... this new file.
20004 * sysdeps/unix/sysv/linux/configure: Regenerated.
20005 * sysdeps/gnu/configure: New generated file.
20007 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20008 for Linux: use nsec instead of usec, as well as:
20009 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20010 members of type struct timespec.
20011 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20013 (struct stat64): Likewise.
20014 (_STATBUF_ST_NSEC): New macro.
20015 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20017 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20018 __strtoul_internal rather than strtoul.
20020 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20022 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20027 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20028 which preserves existing values.
20029 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20031 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20033 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20034 TIMEOUT values. Return EINVAL for NFDS values either negative or
20035 greater than FD_SETSIZE.
20037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20039 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20040 allocated, call __vm_protect to finish enabling the existing space, and
20041 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20042 allocate the remainder.
20044 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20046 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20047 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20051 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20052 sysdeps/mach/hurd/readlink.c.
20054 * posix/tst-sysconf.c (posix_options): Only use
20055 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20056 _POSIX_SYNCHRONIZED_IO when they are defined
20057 * sysdeps/mach/hurd/bits/posix_opt.h:
20058 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20059 (_XOPEN_REALTIME): Undefine macro.
20060 (_XOPEN_REALTIME_THREADS): Undefine macro.
20061 (_XOPEN_SHM): Undefine macro.
20062 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20064 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20066 (_POSIX_ASYNC_IO): Undefine macro.
20067 (_POSIX_PRIORITIZED_IO): Undefine macro.
20068 (_POSIX_SPIN_LOCKS): Define macro to -1.
20070 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20071 SA_NODEFER, SA_RESETHAND.
20072 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20073 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20078 * elf/Makefile (pldd-modules): Define unconditionally.
20080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20082 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20084 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20086 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20087 Return ENOENT when name is empty.
20088 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20092 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20094 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20098 Fix mlock in all cases except non-readable pages.
20099 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20100 instead of VM_PROT_ALL as parameter to __vm_wire function.
20102 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20103 (__mkdir): When path is `/', just fail with EEXIST.
20104 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20108 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20109 <sys/uio.h> (for writev).
20110 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20111 and <sys/param.h> (for MIN).
20113 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20115 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20116 REQUESTED_TIME. Properly set the remaining time and return EINTR
20119 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20121 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20122 Depend on against $(link-rpcuserlibs).
20124 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20126 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20127 (__libc_stack_end): Do not use attribute_relro.
20128 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20129 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20130 to libthread-provided value.
20131 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20137 * bits/libc-lock.h (__libc_once_get): New macro.
20138 * sysdeps/mach/bits/libc-lock.h: Likewise.
20139 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20141 instead of using implementation details.
20143 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20144 * libio/freopen.c: Likewise.
20145 * libio/freopen64.c: Likewise.
20146 * misc/syslog.c: Likewise.
20147 * nscd/connections.c: Likewise.
20148 * nscd/netgroupcache.c: Likewise.
20149 * sysdeps/posix/getcwd.c: Likewise.
20151 2012-05-10 Roland McGrath <roland@hack.frob.com>
20153 * math/w_ilogbf.c: Add #include <limits.h>.
20155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20157 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20158 path instead of returning without unlocking.
20160 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20161 immediate-write ioctls.
20162 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20166 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20167 __builtin_frame_address instead of making assumptions about the
20168 location of the return address relative to DATA. Force early load of
20169 the return address.
20170 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20171 __builtin_frame_address.
20174 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20175 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20176 implement dup3 and do some further code clean-ups.
20177 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20178 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20182 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20184 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20185 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20186 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20187 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20188 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20191 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20192 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20193 when handler == SIG_ERR, not when handler != SIG_ERR.
20195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20197 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20198 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20201 accept4 for GNU Hurd.
20202 * include/sys/socket.h (__libc_accept4): New prototype.
20203 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20204 to implement __libc_accept4.
20205 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20207 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20209 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20210 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20211 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20212 signal-defines.sym.
20214 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20216 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20218 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20220 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20221 assertion on O_CLOEXEC flag.
20222 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20223 * hurd/intern-fd.c: Likewise.
20224 * hurd/port2fd.c: Likewise.
20226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20229 * bits/in.h (IPV6_PKTINFO): Define new macro.
20230 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20232 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20237 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20238 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20239 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20243 * math/libm-test.inc (logb_test) : Additional logb tests.
20245 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20246 Andreas Jaeger <aj@suse.de>
20248 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20249 * configure: Regenerated.
20250 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20251 * config.make.in (link-obsolete-rpc): New substituted variable.
20252 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20253 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20254 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20255 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20256 so that libc.a contains the symbols.
20257 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20258 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20259 * sunrpc/auth_none.c: Likewise.
20260 * sunrpc/auth_unix.c: Likewise.
20261 * sunrpc/authdes_prot.c: Likewise.
20262 * sunrpc/authuxprot.c: Likewise.
20263 * sunrpc/clnt_gen.c: Likewise.
20264 * sunrpc/clnt_perr.c: Likewise.
20265 * sunrpc/clnt_raw.c: Likewise.
20266 * sunrpc/clnt_simp.c: Likewise.
20267 * sunrpc/clnt_tcp.c: Likewise.
20268 * sunrpc/clnt_udp.c: Likewise.
20269 * sunrpc/clnt_unix.c: Likewise.
20270 * sunrpc/des_crypt.c: Likewise.
20271 * sunrpc/des_soft.c: Likewise.
20272 * sunrpc/get_myaddr.c: Likewise.
20273 * sunrpc/key_call.c: Likewise.
20274 * sunrpc/key_prot.c: Likewise.
20275 * sunrpc/netname.c: Likewise.
20276 * sunrpc/pm_getmaps.c: Likewise.
20277 * sunrpc/pm_getport.c: Likewise.
20278 * sunrpc/pmap_clnt.c: Likewise.
20279 * sunrpc/pmap_prot.c: Likewise.
20280 * sunrpc/pmap_prot2.c: Likewise.
20281 * sunrpc/pmap_rmt.c: Likewise.
20282 * sunrpc/publickey.c: Likewise.
20283 * sunrpc/rpc_cmsg.c: Likewise.
20284 * sunrpc/rpc_common.c: Likewise.
20285 * sunrpc/rpc_dtable.c: Likewise.
20286 * sunrpc/rpc_prot.c: Likewise.
20287 * sunrpc/rpc_thread.c: Likewise.
20288 * sunrpc/rtime.c: Likewise.
20289 * sunrpc/svc.c: Likewise.
20290 * sunrpc/svc_auth.c: Likewise.
20291 * sunrpc/svc_raw.c: Likewise.
20292 * sunrpc/svc_run.c: Likewise.
20293 * sunrpc/svc_tcp.c: Likewise.
20294 * sunrpc/svc_udp.c: Likewise.
20295 * sunrpc/svc_unix.c: Likewise.
20296 * sunrpc/svcauth_des.c: Likewise.
20297 * sunrpc/xcrypt.c: Likewise.
20298 * sunrpc/xdr.c: Likewise.
20299 * sunrpc/xdr_array.c: Likewise.
20300 * sunrpc/xdr_float.c: Likewise.
20301 * sunrpc/xdr_intXX_t.c: Likewise.
20302 * sunrpc/xdr_mem.c: Likewise.
20303 * sunrpc/xdr_rec.c: Likewise.
20304 * sunrpc/xdr_ref.c: Likewise.
20305 * sunrpc/xdr_sizeof.c: Likewise.
20306 * sunrpc/xdr_stdio.c: Likewise.
20308 2012-05-10 Roland McGrath <roland@hack.frob.com>
20310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20311 change. Update copyright years.
20313 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20315 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20317 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20318 Joseph Myers <joseph@codesourcery.com>
20319 Paul Pluzhnikov <ppluzhnikov@google.com>
20322 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20324 [cross-compiling] (extra-libs): Likewise.
20325 [cross-compiling] (extra-libs-others): Likewise.
20326 [cross-compiling] (librpcsvc-routines): Likewise.
20327 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20328 [cross-compiling] (omit-deps): Likewise.
20329 (sunrpc-CPPFLAGS): New variable.
20330 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20331 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20332 (cross-rpcgen-objs): New variable.
20333 (extra-objs): Append $(cross-rpcgen-objs).
20334 ($(cross-rpcgen-objs)): New rule.
20335 ($(objpfx)cross-rpcgen): Likewise.
20336 (rpcgen-cmd): Define to use $(built-program-file). Expand
20338 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20339 ($(objpfx)x%.stmp): Likewise.
20340 * sunrpc/proto.h [IS_IN_build] (_): Define.
20341 [IS_IN_build] (_libc_intl_domainname): Likewise.
20343 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20346 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20347 and R_X86_64_TPOFF64.
20349 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20351 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20352 sysdeps/unix/sysv/syscalls.list.
20355 * sysdeps/unix/sysv/syscalls.list: Remove file.
20357 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20360 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20361 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20362 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20363 (__LC_IDENTIFICATION): Make these macros useful in #if
20364 expressions, as required by C99.
20366 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20368 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20369 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20372 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20374 * stdlib/longlong.h: Updated from GCC.
20376 2012-05-09 Andreas Jaeger <aj@suse.de>
20378 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20379 default is first entry.
20380 (run_mode): Set type.
20381 (main): Remove informal message about syslog.
20382 (options): Fix typo.
20385 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20388 (llrintf): Likewise.
20389 (llrint): Likewise.
20392 (nearbyint): Likewise.
20393 (nearbyintf): Likewise.
20395 2012-05-09 Andreas Jaeger <aj@suse.de>
20396 Pedro Alves <palves@redhat.com>
20398 * nscd/nscd.c (run_mode): Use enum.
20399 (main): Cleanup coding style issue.
20401 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20402 Andreas Jaeger <aj@suse.de>
20404 * nscd/nscd.c (go_background): Replaced with...
20405 (run_mode): ... this.
20406 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20407 (options): Add -F --foreground.
20408 (main): Implement it.
20409 (parse_opt): Parse it.
20411 2012-05-09 Andreas Jaeger <aj@suse.de>
20414 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20415 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20416 -Wconversion warning.
20417 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20420 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20422 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20424 (LC_ALL): Use macro-int-constant.
20425 (LC_COLLATE): Likewise.
20426 (LC_CTYPE): Likewise.
20427 (LC_MESSAGES): Likewise.
20428 (LC_MONETARY): Likewise.
20429 (LC_NUMERIC): Likewise.
20430 (LC_TIME): Likewise.
20431 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20432 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20434 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20436 [C99-based standards] (float_t): Expect type.
20437 [C99-based standards] (double_t): Expect type.
20438 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20440 [C99-based standards] (HUGE_VALL): Likewise.
20441 [C99-based standards] (INFINITY): Likewise.
20442 [C99-based standards] (NAN): Likewise.
20443 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20444 [C99-based standards] (FP_NAN): Likewise.
20445 [C99-based standards] (FP_NORMAL): Likewise.
20446 [C99-based standards] (FP_SUBNORMAL): Likewise.
20447 [C99-based standards] (FP_ZERO): Likewise.
20448 [C99-based standards] (FP_FAST_FMA): Use
20449 optional-macro-int-constant. Specify type. Require == 1.
20450 [C99-based standards] (FP_FAST_FMAF): Likewise.
20451 [C99-based standards] (FP_FAST_FMAL): Likewise.
20452 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20453 [C99-based standards] (FP_ILOGBNAN): Likewise.
20454 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20456 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20457 [C99-based standards] (math_errhandling): Specify type.
20458 [ISO99 || ISO11] (signgam): Do not allow.
20459 [non-C99-based standards] (copysignf): Do not allow.
20460 [non-C99-based standards] (exp2f): Likewise.
20461 [non-C99-based standards] (log2f): Likewise.
20462 [non-C99-based standards] (modff): Allow.
20463 [non-C99-based standards] (erff): Do not allow.
20464 [non-C99-based standards] (erfcf): Likewise.
20465 [non-C99-based standards] (gammaf): Likewise.
20466 [non-C99-based standards] (hypotf): Likewise.
20467 [non-C99-based standards] (j0f): Likewise.
20468 [non-C99-based standards] (j1f): Likewise.
20469 [non-C99-based standards] (jnf): Likewise.
20470 [non-C99-based standards] (lgammaf): Likewise.
20471 [non-C99-based standards] (tgammaf): Likewise.
20472 [non-C99-based standards] (y0f): Likewise.
20473 [non-C99-based standards] (y1f): Likewise.
20474 [non-C99-based standards] (ynf): Likewise.
20475 [non-C99-based standards] (isnanf): Likewise.
20476 [non-C99-based standards] (acoshf): Likewise.
20477 [non-C99-based standards] (asinhf): Likewise.
20478 [non-C99-based standards] (atanhf): Likewise.
20479 [non-C99-based standards] (cbrtf): Likewise.
20480 [non-C99-based standards] (expm1f): Likewise.
20481 [non-C99-based standards] (ilogbf): Likewise.
20482 [non-C99-based standards] (log1pf): Likewise.
20483 [non-C99-based standards] (logbf): Likewise.
20484 [non-C99-based standards] (nextafterf): Likewise.
20485 [non-C99-based standards] (remainderf): Likewise.
20486 [non-C99-based standards] (rintf): Likewise.
20487 [non-C99-based standards] (scalbf): Likewise.
20488 [non-C99-based standards] (copysignl): Likewise.
20489 [non-C99-based standards] (exp2l): Likewise.
20490 [non-C99-based standards] (log2l): Likewise.
20491 [non-C99-based standards] (modfl): Allow.
20492 [non-C99-based standards] (erfl): Do not allow.
20493 [non-C99-based standards] (erfcl): Likewise.
20494 [non-C99-based standards] (gammal): Likewise.
20495 [non-C99-based standards] (hypotl): Likewise.
20496 [non-C99-based standards] (j0l): Likewise.
20497 [non-C99-based standards] (j1l): Likewise.
20498 [non-C99-based standards] (jnl): Likewise.
20499 [non-C99-based standards] (lgammal): Likewise.
20500 [non-C99-based standards] (tgammal): Likewise.
20501 [non-C99-based standards] (y0l): Likewise.
20502 [non-C99-based standards] (y1l): Likewise.
20503 [non-C99-based standards] (ynl): Likewise.
20504 [non-C99-based standards] (isnanl): Likewise.
20505 [non-C99-based standards] (acoshl): Likewise.
20506 [non-C99-based standards] (asinhl): Likewise.
20507 [non-C99-based standards] (atanhl): Likewise.
20508 [non-C99-based standards] (cbrtl): Likewise.
20509 [non-C99-based standards] (expm1l): Likewise.
20510 [non-C99-based standards] (ilogbl): Likewise.
20511 [non-C99-based standards] (log1pl): Likewise.
20512 [non-C99-based standards] (logbl): Likewise.
20513 [non-C99-based standards] (nextafterl): Likewise.
20514 [non-C99-based standards] (remainderl): Likewise.
20515 [non-C99-based standards] (rintl): Likewise.
20516 [non-C99-based standards] (scalbl): Likewise.
20517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20518 [non-C99-based standards] (FP_*): Do not allow.
20519 [C99-based standards] (FP_*): Change to
20520 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20521 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20523 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20524 (SIG_ERR): Likewise.
20525 [X/Open-based standards] (SIG_HOLD): Likewise.
20526 (SIG_IGN): Likewise.
20527 (SIGABRT): Use macro-int-constant. Specify type. Require
20529 (SIGFPE): Likewise.
20530 (SIGILL): Likewise.
20531 (SIGINT): Likewise.
20532 (SIGSEGV): Likewise.
20533 (SIGTER): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20535 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20536 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20537 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20538 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20539 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20540 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20552 [X/Open-based standards] (SIGTRAP): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20557 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20560 2012-05-08 Ian Wienand <ianw@vmware.com>
20563 * time/tzset.c (__tzset_parse_tz): Update default rules for
20564 daylight time changes in the Energy Policy Act of 2005.
20566 2012-05-09 Andreas Jaeger <aj@suse.de>
20569 * elf/ldconfig.c (parse_conf): Change string to make clear that
20570 ldconfig only issued a warning if ld.so.conf does not exist.
20572 2012-05-08 David S. Miller <davem@davemloft.net>
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20575 movxtod instead of popping the value on the stack.
20577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20579 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20581 * config.h.in: Add HAVE_ARM_PCS_VFP.
20583 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20586 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20587 checking but the checks are disabled for any reason.
20589 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20591 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20592 and ELF64_R_TYPE with ELFW(R_TYPE).
20594 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20596 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20597 (ulimit): Likewise.
20599 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20600 (settimeofday): Likewise.
20602 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20604 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20605 a struct th_u2 inside the union, and move tu_block/tu_code into
20606 a new th_u3 union of tu_block/tu_code inside of that. Move
20607 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20608 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20609 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20610 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20611 (th_stuff): Change to th_u1.tu_stuff.
20613 (th_msg): Change to th_u1.th_u2.tu_data.
20615 2012-05-07 David S. Miller <davem@davemloft.net>
20617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20620 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20621 (SETUP_PIC_REG): Use it.
20622 (SETUP_PIC_REG_LEAF): Use it.
20624 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20628 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20630 (EXPL_FINITE): Likewise.
20631 (FLDLOG): Likewise.
20632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20633 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20635 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20637 (EXPL_FINITE): Likewise.
20638 (FLDLOG): Likewise.
20639 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20640 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20642 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20643 test of -max_value argument for long double.
20644 * sysdeps/i386/fpu/libm-test-ulps: Update.
20645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20647 2012-05-06 David S. Miller <davem@davemloft.net>
20649 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20650 quad soft-float symbols whose references which are compiler
20652 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20654 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20658 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20660 (EXPL_FINITE): Likewise.
20661 (FLDLOG): Likewise.
20664 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20665 Adjust comments for base varying.
20666 (__expl_finite): Change alias to EXPL_FINITE.
20667 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20669 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20670 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20671 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20672 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20673 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20675 (EXPL_FINITE): Likewise.
20676 (FLDLOG): Likewise.
20679 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20680 Adjust comments for base varying.
20681 (__expl_finite): Change alias to EXPL_FINITE.
20682 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20687 * math/libm-test.inc (check_float_internal): Correct ulp
20688 calculation for subnormal expected results.
20690 2012-05-06 Andreas Jaeger <aj@suse.de>
20692 * Makeconfig (+math-flags): New, set to -frounding-math.
20693 (+cflags): Add +math-flags so that all of glibc gets compiled with
20696 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20698 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20700 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20706 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20707 (__ieee754_expl): Allow for and saturate large arguments.
20708 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20709 (u_threshold): Likewise.
20710 (__exp): Call __ieee754_exp before checking for overflow and
20712 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20713 (u_threshold): Likewise.
20714 (__expf): Call __ieee754_expf before checking for overflow and
20716 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20717 (u_threshold): Likewise.
20718 (__expl): Call __ieee754_expl before checking for overflow and
20720 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20721 (__ieee754_expl): Allow for and saturate large arguments.
20722 * math/libm-test.inc (exp_test): Add another test. Do not allow
20723 missing overflow exception on overflow.
20724 (expm1_test): Do not allow missing overflow exception on overflow.
20726 * sysdeps/i386/fpu/e_expl.c: Move to ...
20727 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20728 rather than using inline asm.
20729 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20730 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20731 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20733 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20736 (signal): Likewise.
20740 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20742 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20743 sysdeps/unix/common/syscalls.list.
20744 (fchmod): Likewise.
20745 (fchown): Likewise.
20746 (ftruncate): Likewise.
20747 (getrusage): Likewise.
20748 (gettimeofday): Likewise.
20749 (setpgid): Likewise.
20750 (setregid): Likewise.
20751 (setreuid): Likewise.
20752 (sigaction): Likewise.
20753 (truncate): Likewise.
20754 (vhangup): Likewise.
20755 * sysdeps/unix/common/syscalls.list: Remove file.
20756 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20757 * sysdeps/unix/sysv/linux/Implies: Likewise.
20759 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20761 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20763 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20767 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20770 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20773 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20776 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20779 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20782 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20785 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20789 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20793 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20796 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20800 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20804 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20806 * sysdeps/unix/common/bits/dirent.h: Remove file.
20807 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20809 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20810 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20811 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20812 * sysdeps/unix/bsd/isatty.c: Likewise.
20813 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20814 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20815 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20817 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20821 long double comparison inaccuracies.
20822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20825 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20827 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20830 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20834 nonzero digits before rounding a hex value.
20835 * stdlib/tst-strtod.c (tests): Add another test.
20837 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20839 * sysdeps/s390/fpu/libm-test-ulps: Update.
20841 2012-05-03 Andreas Jaeger <aj@suse.de>
20843 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20844 does not get optimized out.
20845 (malloc_opt_barrier): New.
20847 2012-05-03 Andreas Jaeger <aj@suse.de>
20848 Roland McGrath <roland@hack.frob.com>
20850 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20851 intermediate file deletion.
20852 (generated): Add .symlist files.
20854 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20857 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20858 Redirect under this condition.
20859 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20860 [__USE_GNU] (__dprintf_chk): Not under this condition.
20861 [__USE_GNU] (__vdprintf_chk): Likewise.
20862 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20863 under this condition.
20864 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20865 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20866 [__USE_XOPEN2K8] (vdprintf): Likewise.
20867 [__USE_GNU] (__dprintf_chk): Not under this condition.
20868 [__USE_GNU] (__vdprintf_chk): Likewise.
20869 [__USE_GNU] (dprintf): Likewise.
20870 [__USE_GNU] (vdprintf): Likewise.
20872 2012-05-03 Roland McGrath <roland@hack.frob.com>
20874 * elf/Makefile (common-generated): Set this instead of generated for
20875 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20876 $(all-built-dso)-derived lists.
20878 2012-05-03 Andreas Jaeger <aj@suse.de>
20880 * sysdeps/i386/fpu/libm-test-ulps: Update.
20883 * FAQ.in: Likewise.
20884 * scripts/gen-FAQ.pl: Likewise.
20885 * manual/install.texi (Installation): Point to online location of
20887 * Makefile (files-for-dist): Remove FAQ.
20890 2012-05-02 Allan McRae <allan@archlinux.org>
20892 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20893 (LDFLAGS-reldepmod5.so): Likewise.
20894 (LDFLAGS-reldep6mod1.so): Likewise.
20895 (LDFLAGS-reldep6mod4.so): Likewise.
20896 (LDFLAGS-reldep8mod3.so): Likewise.
20897 (LDFLAGS-unload4mod1.so): Likewise.
20898 (LDFLAGS-unload4mod2.so): Likewise.
20899 (LDFLAGS-tst-initorder): Likewise.
20900 (LDFLAGS-tst-initordera2.so): Likewise.
20901 (LDFLAGS-tst-initordera3.so): Likewise.
20902 (LDFLAGS-tst-initordera4.so): Likewise.
20903 (LDFLAGS-tst-initorderb2.so): Likewise.
20904 (LDFLAGS-noload): Likewise.
20905 (LDFLAGS-next): Likewise.
20906 (LDFLAGS-order2mod1.so): Likewise.
20907 (LDFLAGS-order2mod2.so): Likewise.
20908 (LDFLAGS-tst-initorder2): Likewise.
20909 (LDFLAGS-tst-initorder2a.so): Likewise.
20910 (LDFLAGS-tst-initorder2b.so): Likewise.
20911 (LDFLAGS-tst-initorder2c.so): Likewise.
20912 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20914 2012-05-02 David S. Miller <davem@davemloft.net>
20916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20918 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20921 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20923 2012-05-02 Andreas Jaeger <aj@suse.de>
20925 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20926 since we manipulate rounding mode.
20927 (CPPFLAGS-test-idouble.c): Likewise.
20928 (CPPFLAGS-test-ifloat.c): Likewise.
20929 (CFLAGS-test-ldouble.c): Likewise.
20930 (CFLAGS-test-double.c): Likewise.
20931 (CFLAGS-test-float.c): Likewise.
20932 (CFLAGS-test-misc.c): Likewise.
20933 (CFLAGS-test-test-fenv.c): Likewise.
20935 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20940 comparisons to determine direction to adjust input.
20942 2012-05-01 Roland McGrath <roland@hack.frob.com>
20944 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20945 output to the target.
20947 * scripts/localplt.awk: New file.
20948 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20949 (check-localplt-CFLAGS): Variable removed.
20950 ($(all-built-dso:=.jmprel)): New static pattern rule.
20951 (generated): Add those targets.
20952 (localplt-built-dso): New variable.
20953 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20955 * elf/check-localplt.c: File removed.
20957 * scripts/check-execstack.awk: New file.
20958 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20959 (check-execstack-CFLAGS): Variable removed.
20960 ($(objpfx)check-execstack.h): Target removed.
20961 ($(objpfx)execstack-default): New target.
20962 (generated): Add that instead of check-execstack.h.
20963 ($(all-built-dso:=.phdr)): New static pattern rule.
20964 (generated): Add those targets.
20965 * elf/check-execstack.c: File removed.
20967 * scripts/check-textrel.awk: New file.
20968 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20969 (check-textrel-CFLAGS): Variable removed.
20970 (all-built-dso): Use := to define.o
20971 ($(all-built-dso:=.dyn)): New static pattern rule.
20972 (generated): Add those targets.
20973 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20974 * config.make.in (READELF): New substituted variable.
20975 * elf/check-textrel.c: File removed.
20977 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20979 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20981 * conform/data/ctype.h-data [C99-based standards] (isblank):
20983 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20984 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20986 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20987 Specify type. Require positive value.
20988 (EILSEQ): Likewise.
20989 (ERANGE): Likewise.
20990 [ISO || POSIX] (EILSEQ): Do not expect.
20991 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20992 Specify type. Require positive value.
20993 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21017 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21022 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21033 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21034 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21035 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21036 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21037 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21039 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21040 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21042 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21044 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21045 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21046 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21047 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21048 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21049 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21050 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21051 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21052 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21053 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21054 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21055 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21056 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21057 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21058 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21059 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21060 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21061 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21062 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21063 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21064 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21065 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21066 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21067 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21068 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21069 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21071 (FLT_ROUNDS): Expect as macro, not constant.
21072 (FLT_MANT_DIG): Use macro-int-constant.
21073 (DBL_MANT_DIG): Likewise.
21074 (LDBL_MANT_DIG): Likewise.
21075 (FLT_DIG): Likewise.
21076 (DBL_DIG): Likewise.
21077 (LDBL_DIG): Likewise.
21078 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21079 (DBL_MIN_EXP): Likewise.
21080 (LDBL_MIN_EXP): Likewise.
21081 (FLT_MAX_EXP): Use macro-int-constant.
21082 (DBL_MAX_EXP): Likewise.
21083 (LDBL_MAX_EXP): Likewise.
21084 (FLT_MAX_10_EXP): Likewise.
21085 (DBL_MAX_10_EXP): Likewise.
21086 (LDBL_MAX_10_EXP): Likewise.
21087 (FLT_MAX): Use macro-constant.
21088 (DBL_MAX): Likewise.
21089 (LDBL_MAX): Likewise.
21090 (FLT_EPSILON): Use macro-constant. Give upper bound.
21091 (DBL_EPSILON): Likewise.
21092 (LDBL_EPSILON): Likewise.
21093 (FLT_MIN): Likewise.
21094 (DBL_MIN): Likewise.
21095 (LDBL_MIN): Likewise.
21096 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21097 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21098 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21099 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21100 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21101 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21102 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21103 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21104 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21105 [ISO11] (FLT_TRUE_MIN): Likewise.
21106 [ISO11] (LDBL_TRUE_MIN): Likewise.
21107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21108 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21109 (SCHAR_MIN): Use macro-int-constant. Specify type.
21110 (SCHAR_MAX): Likewise.
21111 (UCHAR_MAX): Likewise.
21112 (CHAR_MIN): Likewise.
21113 (CHAR_MAX): Likewise.
21114 (MB_LEN_MAX): Use macro-int-constant.
21115 (SHRT_MIN): Use macro-int-constant. Specify type.
21116 (SHRT_MAX): Likewise.
21117 (USHRT_MAX): Likewise.
21118 (INT_MAX): Likewise.
21119 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21121 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21123 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21125 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21126 bound negative. Suffix upper bound with "L".
21127 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21129 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21131 [C99-based standards] (LLONG_MAX): Likewise.
21132 [C99-based standards] (ULLONG_MAX): Likewise.
21133 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21135 [ISO11] (max_align_t): Require type.
21136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21138 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21139 from $CFLAGS, without defining away __attribute__ calls.
21140 (checknamespace): Use $CFLAGS_namespace.
21142 * conform/conformtest.pl (@keywords): Only include C99 keywords
21143 for standards based on C99 or C11.
21145 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21147 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21150 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21151 usability of symbols in #if.
21153 * conform/conformtest.pl: If macro or constant types start
21154 "promoted:", expect the symbol to be of the following type
21155 promoted by the integer promotions.
21157 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21158 in one place. Also handle "macro-constant".
21160 * conform/conformtest.pl: Only accept expected macro values with
21161 "==". Parse all "macro" lines in one place.
21162 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21164 * conform/conformtest.pl: Handle braced types on "constant" lines
21165 instead of handling "typed-constant".
21166 * conform/data/signal.h-data: Use "constant" instead of
21169 * conform/conformtest.pl: Handle "optional-" at start of lines in
21170 one place rather than duplicating several cases. Handle each
21171 format of "macro" line with initial "optional-".
21173 * conform/conformtest.pl: Only accept expected constant or
21174 optional-constant values with "==". Parse all "constant" lines in
21175 one place. Parse all "optional-constant" lines in one place.
21176 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21177 * conform/data/fmtmsg.h-data: Likewise.
21178 * conform/data/netinet/in.h-data: Likewise.
21179 * conform/data/tar.h-data: Likewise.
21180 * conform/data/limits.h-data: Use "==" form on "constant" and
21181 "optional-constant" lines.
21183 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21184 Use -std=c99 for XOPEN2K.
21185 (@knownproblems): Remove.
21186 (newtoken): Don't check %isknown.
21188 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21189 Do not expect macro.
21190 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21195 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21196 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21202 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21203 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21208 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21209 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21213 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21214 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21215 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21217 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21218 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21219 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21220 [XPG3] (acosh): Likewise.
21221 [XPG3] (asinh): Likewise.
21222 [XPG3] (atanh): Likewise.
21223 [XPG3] (cbrt): Likewise.
21224 [XPG3] (expm1): Likewise.
21225 [XPG3] (ilogb): Likewise.
21226 [XPG3] (log1p): Likewise.
21227 [XPG3] (logb): Likewise.
21228 [XPG3] (nextafter): Likewise.
21229 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21230 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21231 [XPG3] (remainder): Likewise.
21232 [XPG3] (rint): Likewise.
21233 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21234 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21235 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21236 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21237 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21238 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21239 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21240 [UNIX98 || XOPEN2K] (scalb): Expect.
21241 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21242 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21243 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21244 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21245 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21246 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21247 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21248 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21249 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21250 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21251 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21252 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21253 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21254 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21255 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21256 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21257 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21258 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21259 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21261 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21262 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21264 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21265 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21267 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21268 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21270 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21271 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21273 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21274 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21276 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21277 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21278 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21279 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21280 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21281 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21282 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21283 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21284 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21285 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21286 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21287 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21288 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21289 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21290 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21291 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21292 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21293 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21294 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21295 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21308 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21309 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21320 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21321 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21322 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21325 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21326 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21327 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21328 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21329 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21330 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21331 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21332 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21333 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21334 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21335 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21336 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21337 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21338 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21339 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21340 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21341 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21342 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21343 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21344 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21345 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21346 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21347 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21348 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21349 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21350 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21351 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21352 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21353 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21354 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21355 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21356 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21357 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21358 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21359 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21360 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21361 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21362 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21363 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21364 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21365 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21366 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21367 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21368 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21369 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21370 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21371 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21372 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21373 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21374 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21375 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21376 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21377 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21379 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21380 _XOPEN_SOURCE_EXTENDED for XPG4.
21382 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21384 * Makeconfig (localtime): Remove variable.
21385 (inst_localtime-file): Likewise.
21387 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21408 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21412 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21413 comparisons to determine direction to adjust input.
21414 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21415 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21416 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21418 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21422 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21423 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21425 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21427 * math/libm-test.inc (nexttoward_test): Add more tests.
21429 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21432 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21433 in version GLIBC_2.1, not GLIBC_2.0.
21434 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21437 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21440 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21442 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21443 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21444 * math/libm-test.inc (acos_test): Add more tests.
21445 (asin_test): Likewise.
21446 * sysdeps/i386/fpu/libm-test-ulps: Update.
21447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21452 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21453 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21454 * math/libm-test.inc (acos_test_tonearest): New function.
21455 (acos_test_towardzero): Likewise.
21456 (acos_test_downward): Likewise.
21457 (acos_test_upward): Likewise.
21458 (asin_test_tonearest): Likewise.
21459 (asin_test_towardzero): Likewise.
21460 (asin_test_downward): Likewise.
21461 (asin_test_upward): Likewise.
21462 (main): Call the new functions.
21463 * sysdeps/i386/fpu/libm-test-ulps: Update.
21464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21468 * math/e_exp10.c: Include <float.h>.
21469 (__ieee754_exp10): Handle underflow here rather than multiplying
21470 large negative argument by M_LN10.
21471 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21473 * math/e_exp10l.c: Include <float.h>.
21474 (__ieee754_exp10l): Handle underflow here rather than multiplying
21475 large negative argument by M_LN10l.
21476 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21477 spurious overflow exception on underflow.
21479 2012-04-29 Marek Polacek <polacek@redhat.com>
21481 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21482 (__fortify_function): New macro.
21483 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21484 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21485 __extern_always_inline.
21486 * libio/bits/stdio2.h: Likewise.
21487 * libio/bits/stdio.h: Likewise.
21488 * string/string.h: Likewise.
21489 * string/bits/string3.h: Likewise.
21490 * include/stdio.h: Likewise.
21491 * stdlib/bits/stdlib.h: Likewise.
21492 * stdlib/stdlib.h: Likewise.
21493 * rt/bits/mqueue2.h: Likewise.
21494 * rt/mqueue.h: Likewise.
21495 * posix/bits/unistd.h: Likewise.
21496 * posix/unistd.h: Likewise.
21497 * io/bits/poll2.h: Likewise.
21498 * io/bits/fcntl2.h: Likewise.
21499 * io/fcntl.h: Likewise.
21500 * io/sys/poll.h: Likewise.
21501 * misc/bits/syslog.h: Likewise.
21502 * misc/bits/syslog-ldbl.h: Likewise.
21503 * misc/sys/syslog.h: Likewise.
21504 * socket/bits/socket2.h: Likewise.
21505 * socket/sys/socket.h: Likewise.
21506 * debug/tst-chk1.c: Likewise.
21507 * wcsmbs/bits/wchar2.h: Likewise.
21508 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21509 * wcsmbs/wchar.h: Likewise.
21511 2012-04-29 Andreas Jaeger <aj@suse.de>
21513 * Makerules (tests): Remove enable-check-abi protection.
21514 (check-abi-warn): Remove.
21515 (check-abi-%): Remove check-abi-warn usage.
21517 * configure.in: Remove check-abi configure option.
21518 * configure: Regenerated.
21519 * config.make.in (enable-check-abi): Remove.
21521 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21524 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21525 double functions to double *_finite functions.
21528 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21529 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21531 * stdio-common/Makefile (tests): Add tst-sprintf3.
21532 * stdio-common/tst-sprintf3.c: New file.
21534 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21535 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21537 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21539 * conform/conformtest.pl: Remove duplicate typed-constant
21542 2012-04-28 David S. Miller <davem@davemloft.net>
21544 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21545 (check-abi-%): Remove AWK script prerequisite and explicit
21547 (check-abi): Rewrite to just diff the symlist with the abilist.
21548 (config-tls, config-abi-config): Delete, no longer used.
21549 (update-abi-%): Remove AWK script and explicit abilist directory.
21550 (update-abi): Rewrite to simply compare and conditionally copy the
21551 symlist and the sysdep abilist file. Remove update-abi-config
21553 * abilist/ld.abilist: Remove.
21554 * abilist/libBrokenLocale.abilist: Remove.
21555 * abilist/libanl.abilist: Remove.
21556 * abilist/libcrypt.abilist: Remove.
21557 * abilist/libdl.abilist: Remove.
21558 * abilist/librt.abilist: Remove.
21559 * abilist/libthread_db.abilist: Remove.
21560 * abilist/libutil.abilist: Remove.
21561 * scripts/extract-abilist.awk: Remove.
21562 * scripts/merge-abilist.awk: Remove.
21563 * sysdeps/generic/libcidn.abilist: New file.
21564 * sysdeps/generic/libnss_compat.abilist: New file.
21565 * sysdeps/generic/libnss_db.abilist: New file.
21566 * sysdeps/generic/libnss_dns.abilist: New file.
21567 * sysdeps/generic/libnss_files.abilist: New file.
21568 * sysdeps/generic/libnss_hesiod.abilist: New file.
21569 * sysdeps/generic/libnss_nis.abilist: New file.
21570 * sysdeps/generic/libnss_nisplus.abilist: New file.
21571 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21572 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21573 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21575 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21576 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21577 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21578 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21579 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21580 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21581 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21582 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21583 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21585 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21586 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21587 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21588 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21590 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21591 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21592 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21593 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21594 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21595 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21597 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21598 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21599 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21601 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21704 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21705 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21706 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21709 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21710 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21711 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21712 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21713 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21714 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21715 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21716 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21717 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21769 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21771 * conform/conformtest.pl: Fix typo in handling typed-constant from
21774 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21776 * README: Cut down references to pre-2.6 Linux kernels and
21777 Linuxthreads. Update lists of configurations in libc and ports
21778 and sort alphabetically. Say "or newer" with Linux kernel version
21781 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21783 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21786 * math/libm-test.inc (logb_test_downward): New test to expose
21787 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21790 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21793 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21795 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21796 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21798 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21800 * sysdeps/unix/i386/brk.S: Remove file.
21801 * sysdeps/unix/i386/dl-brk.S: Likewise.
21802 * sysdeps/unix/i386/pipe.S: Likewise.
21803 * sysdeps/unix/i386/sigreturn.S: Likewise.
21804 * sysdeps/unix/i386/syscall.S: Likewise.
21805 * sysdeps/unix/i386/vfork.S: Likewise.
21806 * sysdeps/unix/i386/wait.S: Likewise.
21808 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21809 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21811 * configure.in (arm*-none*): Do not allow without
21812 --enable-hacker-mode.
21813 (netbsd*): Remove case setting base_os.
21814 (386bsd*): Likewise.
21815 (freebsd*): Likewise.
21818 (sunos*): Likewise.
21819 (ultrix*): Likewise.
21820 (newsos*): Likewise.
21821 (dynix*): Likewise.
21827 (minix*): Likewise.
21828 (irix4*): Likewise.
21829 (irix6*): Likewise.
21830 (solaris[2-9]*): Likewise.
21832 * configure: Regenerated.
21834 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21837 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21838 overflow or cancellation in calculating denominator.
21839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21841 down expression to avoid unexpected rounding in newer GCCs.
21842 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21844 2012-04-26 David S. Miller <davem@davemloft.net>
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21847 long-double compat symbols.
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21862 2012-04-25 David S. Miller <davem@davemloft.net>
21864 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21865 HWCAP_* values only after the memory barriers have been defined.
21866 (atomic_full_barrier): Define.
21867 (atomic_read_barrier): Define.
21868 (atomic_write_barrier): Define.
21870 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21872 * shlib-versions: Add libgcc_s version information.
21873 * sysdeps/generic/libgcc_s.h: Remove.
21874 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21876 * sysdeps/gnu/unwind-resume.c: Likewise.
21877 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21879 2012-04-25 David S. Miller <davem@davemloft.net>
21881 * sysdeps/unix/sparc/brk.S: Delete.
21882 * sysdeps/unix/sparc/dl-brk.S: Delete.
21883 * sysdeps/unix/sparc/pipe.S: Delete.
21884 * sysdeps/unix/sparc/sysdep.S: Delete.
21885 * sysdeps/unix/sparc/sysdep.h: Delete.
21886 * sysdeps/unix/sparc/vfork.S: Delete.
21887 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21888 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21889 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21890 ret_ERRVAL, r0, r1, MOVE): Define.
21891 (JUMPTARGET): Remove.
21892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21893 sysdeps/unix/sparc/sysdep.h
21894 (ENTRY, END): Remove.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21897 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21899 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21900 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21903 * timezone/README: Update upstream location and email address for
21905 * timezone/zdump.c: Update from tzcode 2012b.
21906 * timezone/zic.c: Likewise.
21908 * configure.in (libc_cv_as_needed): Remove test.
21909 * configure: Regenerated.
21910 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21911 conditional definition.
21912 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21913 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21914 * config.make.in (have-as-needed): Remove variable.
21916 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21917 Paul Pluzhnikov <ppluzhnikov@google.com>
21919 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21922 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21924 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21925 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21926 * sysdeps/sh/strlen.S: Likewise.
21928 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21930 * sysdeps/unix/fork.S: Remove file.
21931 * sysdeps/unix/i386/fork.S: Likewise.
21932 * sysdeps/unix/sparc/fork.S: Likewise.
21934 * sysdeps/unix/system.c: Remove file.
21935 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21937 * sysdeps/unix/getegid.S: Remove file.
21938 * sysdeps/unix/geteuid.S: Likewise.
21940 2012-04-24 Roland McGrath <roland@hack.frob.com>
21942 * scripts/check-localplt.awk: New file.
21943 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21945 * scripts/data/localplt-generic.data: Add a comment.
21947 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21948 NODE when __dir_mkfile failed.
21949 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21950 Reported by Ludovic Courtès <ludo@gnu.org>.
21952 2012-04-24 Andreas Jaeger <aj@suse.de>
21954 * Makerules (common-clean): Also remove gen-as-const-headers
21957 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21959 * Makerules (native-compile): Do not change working directory for
21960 build. Use $(OUTPUT_OPTION) in command.
21961 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21963 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21966 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21967 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21968 * math/libm-test.inc (floor_test): Add more tests.
21969 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21971 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21973 * sysdeps/unix/getdents.c: Remove file.
21974 * sysdeps/unix/sysv/getdents.c: Likewise.
21975 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21977 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21978 sysdeps/unix/mman/syscalls.list.
21980 (mprotect): Likewise.
21982 (munmap): Likewise.
21983 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21984 * sysdeps/unix/mman/syscalls.list: Remove.
21985 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21987 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21988 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21989 * configure: Regenerated.
21990 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21991 $(libgcc_s_suffix).
21992 * config.make.in (libgcc_s_suffix): Remove variable.
21994 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21996 * sysdeps/unix/sysv/gethostname.c: Move to ...
21997 * sysdeps/posix/gethostname.c: ... here.
21999 * sysdeps/unix/execve.S: Remove file.
22001 * sysdeps/unix/_exit.S: Remove file.
22003 2012-04-23 Andreas Jaeger <aj@suse.de>
22006 * manual/Makefile: Remove make dist support, there's no
22007 need for a stand-alone documentation tar ball.
22008 (TEXI2DVI): Define always, it's not in Makeconfig.
22011 (edition): Removed.
22012 (glibc-doc-$(edition).tar): Removed
22016 (ETAGS): Remove, it's in Makeconfig.
22017 (move-if-change): Remove, it's in Makeconfig.
22019 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22022 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22023 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22024 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22025 (strtod_l, strtof_l, strtold_l): Remove __wur.
22026 It is not necessarily an error to ignore strtol's return value.
22027 One can reliably look at the stored endptr to decide whether
22028 the number had valid syntax.
22030 2012-04-21 Andreas Jaeger <aj@suse.de>
22033 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22035 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22037 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22038 * sysdeps/unix/sysv/Versions: Remove file.
22040 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22045 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22049 version from __vm86.
22051 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22053 * sysdeps/unix/common/lxstat.c: Remove file.
22054 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22056 * sysdeps/unix/sysv/Makefile: Remove file.
22058 * sysdeps/unix/sysv/direct.h: Remove file.
22060 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22061 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22062 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22063 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22064 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22065 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22066 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22068 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22070 * sysdeps/unix/xmknod.c: Remove file.
22071 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22073 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22075 * sysdeps/unix/sysv/i386/time.S: Remove file.
22077 * sysdeps/unix/fxstat.c: Remove file.
22078 * sysdeps/unix/xstat.c: Likewise.
22079 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22081 * sysdeps/unix/sysv/sigaction.c: Remove file.
22083 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22084 (sysdep_headers): Remove variable.
22085 [termio.h not in sysdep_headers] (generated): Likewise.
22086 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22087 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22088 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22089 * sysdeps/unix/sysv/tcflow.c: Likewise.
22090 * sysdeps/unix/sysv/tcflush.c: Likewise.
22091 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22092 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22093 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22094 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22095 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22097 * sysdeps/unix/siglist.c: Remove file.
22099 * sysdeps/unix/getppid.S: Remove file.
22101 * sysdeps/unix/mkdir.c: Remove file.
22102 * sysdeps/unix/rmdir.c: Likewise.
22104 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22106 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22108 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22109 errlist-compat value.
22111 2012-04-18 David S. Miller <davem@davemloft.net>
22113 * sysdeps/generic/memcopy.h (reg_char): Delete.
22114 * debug/strcat_chk.c: Use char, not reg_char.
22115 * debug/strcpy_chk.c: Likewise.
22116 * debug/strncat_chk.c: Likewise.
22117 * debug/strncpy_chk.c: Likewise.
22118 * string/memchr.c: Likewise.
22119 * string/memrchr.c: Likewise.
22120 * string/rawmemchr.c: Likewise.
22121 * string/strcat.c: Likewise.
22122 * string/strchr.c: Likewise.
22123 * string/strchrnul.c: Likewise.
22124 * string/strcmp.c: Likewise.
22125 * string/strcpy.c: Likewise.
22126 * string/strncat.c: Likewise.
22127 * string/strncmp.c: Likewise.
22128 * string/strncpy.c: Likewise.
22130 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22132 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22133 __builtin_memcopy is called when src and dest ranges are known to not
22136 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22139 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22140 fwd_align_merge macro call.
22141 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22142 bwd_align_merge macro call.
22143 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22145 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22147 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22148 bwd_align_merge macros.
22149 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22150 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22151 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22153 2012-04-18 David S. Miller <davem@davemloft.net>
22155 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22157 2012-04-18 Andreas Jaeger <aj@suse.de>
22160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22161 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22162 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22164 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22165 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22166 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22168 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22169 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22170 Adjust for changed ldbl-128 files.
22172 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22173 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22174 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22176 2012-04-17 David S. Miller <davem@davemloft.net>
22178 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22180 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22182 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22183 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22184 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22185 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22186 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22187 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22189 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22192 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22193 * math/libm-test.inc: Add ilogb errno and exception tests.
22194 * math/w_ilogb.c: New file: ilogb wrapper.
22195 * math/w_ilogbf.c: New file: ilogbf wrapper.
22196 * math/w_ilogbl.c: New file: ilogbl wrapper.
22197 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22198 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22199 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22200 exception being thrown with 0.0 as argument.
22201 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22202 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22203 exception being thrown with 0.0 as argument.
22204 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22205 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22206 exception being thrown with 0.0 as argument.
22207 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22208 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22209 exception being thrown with 0.0 as argument.
22210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22211 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22212 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22213 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22214 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22215 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22216 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22217 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22218 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22220 2012-04-17 Petr Baudis <pasky@ucw.cz>
22222 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22225 2012-04-16 Marek Polacek <polacek@redhat.com>
22227 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22229 2012-04-16 Marek Polacek <polacek@redhat.com>
22231 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22232 operands of fdivp instruction.
22234 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22236 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22237 * elf/tst-auditmod3b.c: Likewise.
22238 * elf/tst-auditmod4b.c: Likewise.
22239 * elf/tst-auditmod5b.c: Likewise.
22240 * elf/tst-auditmod6b.c: Likewise.
22241 * elf/tst-auditmod6c.c: Likewise.
22242 * elf/tst-auditmod7b.c: Likewise.
22243 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22244 * sysdeps/x86_64/preconfigure.in: Likewise.
22245 * sysdeps/x86_64/preconfigure: Regenerated.
22247 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22249 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22252 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22255 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22257 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22260 * locale/iso-639.def: Fix gl language name. Spotted by
22263 2012-04-12 Roland McGrath <roland@hack.frob.com>
22266 * libio/libio.h (__io_write_fn): Update comment.
22268 2012-04-12 Petr Baudis <pasky@ucw.cz>
22271 * stdio.texi (Hook Functions): The user provided writer function
22272 is not allowed to return -1.
22274 2012-04-11 David S. Miller <davem@davemloft.net>
22276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22278 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22280 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22281 Add a leading slash to rtkaio.
22283 2012-04-11 Jim Meyering <meyering@redhat.com>
22286 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22287 It is not necessarily an error to ignore fwrite's return
22288 value. One can reliably use ferror to test for errors after
22291 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22293 * bits/types.h (__snseconds_t): New type.
22294 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22296 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22298 (__SNSECONDS_T_TYPE): Likewise.
22299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22300 (__SNSECONDS_T_TYPE): Likewise.
22301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22302 (__SNSECONDS_T_TYPE): Likewise.
22304 2012-04-10 Andreas Jaeger <aj@suse.de>
22307 * manual/time.texi (Processor Time): Return type of times is
22308 elapsed real time since an arbitrary point in the past.
22309 (CPU Time): Move CLK_TCK from here...
22310 (Processor Time): ...to here. Correct description.
22311 * manual/conf.texi (Constants for Sysconf): Correct description of
22314 2012-04-10 David S. Miller <davem@davemloft.net>
22317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22318 where the is a gap between DT_REL(A) and DT_JMPREL.
22320 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22322 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22326 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22328 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22329 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22330 (dl_main): Handle --inhibit-cache.
22331 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22333 * elf/dl-load.c (_dl_map_object): Use it.
22334 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22336 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22339 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22340 (__ieee754_powl): Saturate large exponents rather than testing for
22341 overflow of y*log2(x).
22342 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22343 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22347 * math/s_ctan.c: Include <float.h>.
22348 (__ctan): Avoid internal overflow or cancellation in calculating
22350 * math/s_ctanf.c: Likewise.
22351 * math/s_ctanl.c: Likewise.
22352 * math/s_ctanh.c: Likewise.
22353 * math/s_ctanhf.c: Likewise.
22354 * math/s_ctanhl.c: Likewise.
22355 * math/libm-test.inc (ctan_test): Add more tests.
22356 (ctanh_test): Likewise.
22357 * sysdeps/i386/fpu/libm-test-ulps: Update.
22358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22360 2012-04-09 Andreas Jaeger <aj@suse.de>
22363 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22364 is an optional BSD extension.
22367 * manual/stdio.texi (Opening Streams): Document additional fopen
22370 2012-04-09 Roland McGrath <roland@hack.frob.com>
22372 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22373 %eax without telling the compiler.
22375 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22378 * manual/install.texi: Use sourceware.org.
22380 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22383 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22384 (__ieee754_pow): Generate overflow and underflow using huge*huge
22385 and tiny*tiny rather than just returning constant infinity or zero
22386 for large exponents.
22387 * math/libm-test.inc (pow_test): Require overflow exceptions for
22388 applicable cases of large exponents.
22391 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22392 (__ieee754_pow): Use iterative multiplication algorithm only for
22393 integer exponents with absolute value below 1024. Check for odd
22394 integer exponents when using algorithm for real exponents.
22395 * math/libm-test.inc (pow_test): Add more tests.
22396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22398 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22401 * math/libm-test.inc (exp_test): Do not allow overflow exception
22404 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22407 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22408 instead of __kernel_standard_f.
22410 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22412 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22413 * sysdeps/x86_64/memset_chk.S: Likewise.
22415 2012-04-08 Andreas Jaeger <aj@suse.de>
22418 * manual/startup.texi (Environment Access): Describe return value
22419 for putenv and setenv.
22422 * manual/filesys.texi (Directory Entries): Add description for
22426 * manual/filesys.texi (Directory Entries): Clarify that it's file
22427 system not operating system in the description of DT_UNKNOWN.
22430 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22432 2012-04-08 Stephen Compall <s11@member.fsf.org>
22435 * manual/llio.texi (Opening and Closing Files): Add cross
22436 reference to explain mode argument.
22438 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22440 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22441 * sysdeps/x86_64/memset_chk.S: Likewise.
22443 2012-04-07 David S. Miller <davem@davemloft.net>
22445 * elf/elf.h (R_SPARC_WDISP10): Define.
22446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22449 R_SPARC_SIZE64 and R_SPARC_H34.
22451 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22453 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22454 conditions and remove no longer applicable assertion.
22456 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22458 * bits/byteswap.h: Include <features.h>.
22459 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22460 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22462 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22464 * bits/byteswap.h (__bswap_16): Removed.
22465 Include <bits/byteswap-16.h> to get __bswap_16.
22466 * sysdeps/i386/bits/byteswap.h: Likewise.
22467 * sysdeps/s390/bits/byteswap.h: Likewise.
22468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22469 * bits/byteswap-16.h: New file.
22470 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22471 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22472 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22473 * string/Makefile (headers): Add bits/byteswap-16.h.
22475 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22478 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22480 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22481 * nss/tst-nss-static.c: New.
22483 2012-04-06 Robert Millan <rmh@gnu.org>
22486 * manual/llio.texi (File Position Primitive): lseek
22487 refers to WHENCE when it really means OFFSET.
22489 2012-04-06 Andreas Jaeger <aj@suse.de>
22491 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22492 strncmp declarations.
22494 * abilist/libc.abilist: Add __poll and __ppoll.
22496 2012-04-05 David S. Miller <davem@davemloft.net>
22498 * scripts/check-local-headers.sh: Accept a host triplet in the
22499 path matched by the exclude regexp.
22501 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22503 * sysdeps/powerpc/powerpc32/dl-machine.h
22504 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22505 * sysdeps/s390/s390-32/dl-machine.h
22506 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22507 * sysdeps/sparc/sparc32/dl-machine.h
22508 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22509 * sysdeps/sparc/sparc64/dl-machine.h
22510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22512 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22514 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22515 undefined symbol errors.
22517 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22520 2012-04-05 Michael Matz <matz@suse.de>
22523 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22525 2012-04-05 Andreas Jaeger <aj@suse.de>
22528 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22533 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22534 which ROUND is no valid rounding mode.
22536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22538 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22540 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22542 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22544 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22545 an exception using FPU order intentionally.
22547 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22549 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22550 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22551 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22552 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22554 2012-04-05 Simon Josefsson <simon@josefsson.org>
22557 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22558 EINVAL when BUFLEN is too smal.
22560 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22563 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22564 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22566 2012-04-03 Andreas Jaeger <aj@suse.de>
22569 * manual/setjmp.texi (System V contexts): Fix sentence.
22572 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22573 New macro for this case.
22574 [!__GNUC__] (__bswap_64): New inline function for this case.
22575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22576 * bits/byteswap.h: Likewise.
22577 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22578 ull, guard with __GLIBC_HAVE_LONG_LONG.
22580 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22581 __GLIBC_HAVE_LONG_LONG.
22583 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22584 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22586 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22589 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22590 inptr and inend, rather than using last_ch.
22592 2012-04-02 David S. Miller <davem@davemloft.net>
22594 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22595 * stdio-common/printf-parse.h (read_int): Change return type to
22596 'int', return -1 on INT_MAX overflow.
22597 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22598 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22599 overflows INT_MAX. Check for overflow of in-format-string precision
22600 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22601 SIZE_MAX not INT_MAX for integer overflow test.
22602 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22603 skip the construct in the format string but do not record anything.
22604 * stdio-common/bug22.c: Adjust to test both width/prevision
22605 INT_MAX overflow as well as total length INT_MAX overflow. Check
22606 explicitly for proper errno values.
22608 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22610 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22612 * string/test-strcmp.c [! WIDE]: Likewise.
22613 * time/tst-mktime2.c: Likewise for INT_MAX.
22614 * string/test-string.h: #include <sys/param.h> for MIN.
22616 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22617 * sysdeps/i386/init-first.c (init): Likewise.
22618 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22619 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22620 * sysdeps/sh/init-first.c (init): Likewise.
22622 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22624 * po/ru.po: Update from translation team.
22625 * po/vi.po: Likewise.
22627 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22629 * resolv/nss_dns/dns-host.c: Merge copyright years.
22631 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22634 Optimize memcpy with prefetch if
22635 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22636 src, dst pointers have unequal 16 byte alignments.
22638 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22641 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22642 from a CNAME entry and return the minimum ttl for the query.
22643 (gaih_getanswer_slice): Likewise.
22645 2012-03-30 Jeff Law <law@redhat.com>
22647 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22649 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22650 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22652 * resolv/nss_dns/dns-host.c: Update copyright year.
22654 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22656 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22657 requests to save a system call. Fix check that all bytes are sent.
22659 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22660 comments for sendmmsg.
22662 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22665 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22666 with only 1 character between 0x0041 and 0x01b0.
22667 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22668 * wcsmbs/tst-mbsnrtowcs.c: New file.
22670 2012-03-29 David S. Miller <davem@davemloft.net>
22672 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22673 small copies by hand.
22675 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22678 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22679 _nss_compat_initgroups_dyn): Fall back to malloc/free
22680 for large group memberships.
22682 2012-03-28 David S. Miller <davem@davemloft.net>
22684 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22685 that branches into memcpy.
22686 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22689 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22692 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22693 implementation too.
22694 * sysdeps/sparc/mempcpy.S: New file.
22696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22697 the IFUNC routine in the libc case.
22698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22700 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22701 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22702 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22703 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22704 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22705 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22706 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22707 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22709 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22710 loop to 256 bytes instead of 64 bytes and fix test signedness.
22712 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22713 * sysdeps/sparc/sparc32/Makefile: rather than here...
22714 * sysdeps/sparc/sparc64/Makefile: and here.
22716 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22718 * malloc/mallocbug.c: Avoid warnings about unused variables.
22720 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22723 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22724 in the right place. Discard and retry query if response is
22725 larger than input buffer size.
22727 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22732 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22733 x for large integer exponent.
22734 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22735 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22736 sign of result as needed afterwards.
22737 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22738 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22739 result for underflowing pow the same as for overflow.
22740 (__kernel_standard_l): Handle powl overflow and underflow here
22741 rather than calling __kernel_standard.
22742 * math/libm-test.inc (pow_test): Add more tests.
22757 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22758 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22759 (__kernel_standard_l): New function.
22760 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22762 * math/w_acosl.c (__acosl): Likewise.
22763 * math/w_asinl.c (__asinl): Likewise.
22764 * math/w_atan2l.c (__atan2l): Likewise.
22765 * math/w_atanhl.c (__atanhl): Likewise.
22766 * math/w_coshl.c (__coshl): Likewise.
22767 * math/w_exp10l.c (__exp10l): Likewise.
22768 * math/w_exp2l.c (__exp2l): Likewise.
22769 * math/w_fmodl.c (__fmodl): Likewise.
22770 * math/w_hypotl.c (__hypotl): Likewise.
22771 * math/w_j0l.c (__j0l, __y0l): Likewise.
22772 * math/w_j1l.c (__j1l, __y1l): Likewise.
22773 * math/w_jnl.c (__jnl, __ynl): Likewise.
22774 * math/w_lgammal.c (__lgammal): Likewise.
22775 * math/w_log10l.c (__log10l): Likewise.
22776 * math/w_log2l.c (__log2l): Likewise.
22777 * math/w_logl.c (__logl): Likewise.
22778 * math/w_powl.c (__powl): Likewise.
22779 * math/w_remainderl.c (__remainderl): Likewise.
22780 * math/w_scalbl.c (sysv_scalbl): Likewise.
22781 * math/w_sinhl.c (__sinhl): Likewise.
22782 * math/w_sqrtl.c (__sqrtl): Likewise.
22783 * math/w_tgammal.c (__tgammal): Likewise.
22784 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22785 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22786 * math/libm-test.inc (acos_test): Add more tests.
22787 (acosh_test): Likewise.
22788 (asin_test): Likewise.
22789 (atanh_test): Likewise.
22790 (exp_test): Likewise.
22791 (exp10_test): Likewise.
22792 (exp2_test): Likewise.
22793 (expm1_test): Likewise.
22794 (lgamma_test): Likewise.
22795 (log_test): Likewise.
22796 (log10_test): Likewise.
22797 (log1p_test): Likewise.
22798 (log2_test): Likewise.
22799 (pow_test): Do not allow some spurious overflow exceptions.
22800 (sqrt_test): Add more tests.
22801 (tgamma_test): Likewise.
22802 (y0_test): Likewise.
22803 (y1_test): Likewise.
22804 (yn_test): Likewise.
22806 2012-03-27 Anton Blanchard <anton@samba.org>
22808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22810 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22811 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22814 2012-03-27 David S. Miller <davem@davemloft.net>
22816 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22818 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22819 have-as-vis3 check.
22821 2012-03-27 Andreas Jaeger <aj@suse.de>
22823 * sysdeps/x86_64/elf/configure.in: Moved to ...
22824 * sysdeps/x86_64/configure.in: ... here.
22825 * sysdeps/x86_64/elf/start.S: Moved to ...
22826 * sysdeps/x86_64/start.S: ... here.
22827 * sysdeps/x86_64/elf/configure: Delete.
22829 * sysdeps/x86_64/configure.in: Merge contents from
22830 sysdeps/i386/configure.in (without i686 check).
22832 * sysdeps/i386/elf/Versions: Merge into ...
22833 * sysdeps/i386/Versions: ... this.
22834 * sysdeps/i386/elf/Versions: Delete file.
22835 * sysdeps/i386/elf/start.S: Moved to ...
22836 * sysdeps/i386/start.S: ...here.
22837 * sysdeps/i386/elf/configure.in: Merge into...
22838 * sysdeps/i386/configure.in: ...here.
22839 * sysdeps/i386/elf/configure.in: Delete file.
22840 * sysdeps/i386/elf/configure: Delete file.
22842 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22843 * debug/backtracesyms.c: ... here.
22844 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22845 * debug/backtracesymsfd.c: ... here.
22846 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22847 * sysdeps/generic/ifunc-sel.h: ... here.
22849 * sysdeps/unix/i386/start.c: Delete file.
22850 * sysdeps/unix/sparc/start.c: Delete file.
22851 * sysdeps/unix/start.c: Delete file.
22853 * sysdeps/sh/elf/configure.in: Moved to ...
22854 * sysdeps/sh/configure.in: ... here.
22855 * sysdeps/sh/elf/start.S: Moved to ...
22856 * sysdeps/sh/start.S: ... here.
22857 * sysdeps/sh/elf/configure: Delete file.
22859 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22860 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22861 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22862 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22863 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22864 * sysdeps/powerpc/powerpc64/start.S: here.
22865 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22866 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22867 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22868 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22869 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22871 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22872 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22873 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22874 * sysdeps/powerpc/powerpc32/start.S: ... here.
22875 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22876 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22877 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22879 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22880 * sysdeps/powerpc/ifunc-sel.h: ... here.
22881 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22882 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22884 * sysdeps/sparc/elf/configure.in: Moved to ...
22885 * sysdeps/sparc/configure.in: ... here.
22886 * sysdeps/sparc/elf/configure: Delete file.
22887 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22888 * sysdeps/sparc/sparc32/start.S: ... here.
22889 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22890 * sysdeps/sparc/sparc64/start.S: ... here.
22891 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22892 * sysdeps/sparc/sparc32/Makefile: ... this.
22893 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22894 * sysdeps/sparc/sparc64/Makefile: ... this.
22896 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22897 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22898 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22899 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22900 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22901 * sysdeps/s390/s390-32/setjmp.S: ... here.
22902 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22903 * sysdeps/s390/s390-32/configure.in: ... here.
22904 * sysdeps/s390/s390-32/elf/configure: Delete file.
22905 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22906 * sysdeps/s390/s390-32/start.S: ... here.
22908 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22909 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22910 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22911 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22912 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22913 * sysdeps/s390/s390-64/setjmp.S: ... here.
22914 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22915 * sysdeps/s390/s390-64/configure.in: ... here
22916 * sysdeps/s390/s390-64/elf/configure: Delete file.
22917 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22918 * sysdeps/s390/s390-64/start.S: ... here.
22919 * sysdeps/s390/s390-64/elf/configure: Delete.
22921 * configure.in: Remove support for elf directories in sysdeps.
22923 * configure: Regenerated.
22924 * sysdeps/i386/configure: Regenerated.
22925 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22926 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22927 * sysdeps/s390/s390-32/configure: Regenerated.
22928 * sysdeps/s390/s390-64/configure: Regenerated.
22929 * sysdeps/sh/configure: Regenerated.
22930 * sysdeps/sparc/configure: Regenerated.
22931 * sysdeps/x86_64/configure: Regenerated.
22933 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22938 denormal result into account.
22940 2012-03-25 Roland McGrath <roland@hack.frob.com>
22942 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22943 Reported by Allan McRae <allan@archlinux.org>.
22945 2012-03-23 Jeff Law <law@redhat.com>
22947 * nss/getnssent.c (__nss_getent): Fix typo.
22949 2012-03-23 David S. Miller <davem@davemloft.net>
22951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22953 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22955 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22956 to pad to uint64_t for each field.
22957 (dl_tls_index): Replace unsigned long with uint64_t.
22959 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22960 Paul Pluzhnikov <ppluzhnikov@google.com>
22963 * grp/Makefile (otherlibs): Don't set it.
22964 * inet/Makefile (otherlibs): Likewise.
22965 * login/Makefile (otherlibs): Likewise.
22966 * nscd/Makefile (otherlibs): Likewise.
22967 * posix/Makefile (otherlibs): Likewise.
22968 * pwd/Makefile (otherlibs): Likewise.
22969 * rt/Makefile (otherlibs): Likewise.
22970 * sunrpc/Makefile (otherlibs): Likewise.
22971 * nss/Makefile (otherlibs): Likewise.
22972 Add libnss_files to routines and static-only-routines.
22973 ($(objpfx)getent): Remove rule.
22974 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22975 static-only-routines.
22977 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22980 * math/s_cexp.c: Include <float.h>.
22981 (__cexp): Handle exp result overflowing not necessarily
22982 overflowing both real and imaginary parts of result.
22983 * math/s_cexpf.c: Likewise.
22984 * math/s_cexpl.c: Likewise.
22985 * math/libm-test.inc (cexp_test): Add more tests.
22986 * sysdeps/i386/fpu/libm-test-ulps: Update.
22987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22991 * include/link.h (ELFW): New macro.
22992 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22993 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22995 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22997 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23000 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23002 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23004 (struct La_x32_retval): Likewise.
23006 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23008 * sysdeps/x86_64/preconfigure.in: New file.
23009 * sysdeps/x86_64/preconfigure: New generated file.
23011 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23014 * math/e_exp2l.c: Include <float.h>.
23015 (__ieee754_exp2l): Handle overflow and underflow cases
23016 separately. Only pass fractional part of argument to
23018 * math/libm-test.inc (exp2_test): Add more tests.
23020 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23021 negating x to take absolute value.
23022 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23024 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23027 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23028 computing low part if x was negated.
23029 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23031 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23033 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23034 la_x32_gnu_pltexit.
23035 (pltexit): Cast int_retval to ptrdiff_t.
23036 * elf/tst-auditmod3b.c: Likewise.
23037 * elf/tst-auditmod4b.c: Likewise.
23038 * elf/tst-auditmod5b.c: Likewise.
23039 * elf/tst-auditmod6b.c: Likewise.
23040 * elf/tst-auditmod6c.c: Likewise.
23041 * elf/tst-auditmod7b.c: Likewise.
23043 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23044 and x32_gnu_pltexit.
23046 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23047 __ELF_NATIVE_CLASS.
23048 (La_x32_regs): New macro.
23049 (La_x32_retval): Likewise.
23050 (la_x32_gnu_pltenter): New function prototype.
23051 (la_x32_gnu_pltexit): Likewise.
23053 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23055 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23060 * configure.in (libc_cv_cc_nofma): Check for option to disable
23061 generation of FMA instructions.
23062 * configure: Regenerate.
23063 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23064 * sysdeps/ieee754/dbl-64/Makefile: New file.
23065 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23066 Remove brandred-fma4.
23067 (CFLAGS-brandred-fma4.c): Remove.
23068 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23069 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23071 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23074 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23076 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23077 LLONG_MAX != LONG_MAX.
23078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23079 (_fitoa_word): Likewise.
23080 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23081 LLONG_MAX != LONG_MAX.
23082 * stdio-common/_itowa.h: Include <_itoa.h>.
23083 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23084 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23085 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23086 only if not defined.
23087 (_ITOA_WORD_TYPE): Likewise.
23088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23089 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23091 2012-03-21 David S. Miller <davem@davemloft.net>
23093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23095 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23097 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23098 of x86_64 when setting libc_cv_slibdir, libdir and
23100 * sysdeps/unix/sysv/linux/configure: Regenerated.
23102 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23104 * manual/lang.texi (Old Varargs): Remove section.
23105 (How Variadic): Update menu.
23106 (va_start): Do not mention varargs.h.
23108 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23109 Joseph Myers <joseph@codesourcery.com>
23111 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23113 * configure: Regenerated.
23115 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23117 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23118 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23121 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23124 * Makefile (files-for-dist): Remove NOTES.
23125 (NOTES): Remove rule.
23126 * README: Don't refer to NOTES.
23127 * manual/creature.texi: Don't include macros.texi.
23128 * manual/intro.texi (creature.texi): Remove comment referring to
23131 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23132 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23133 * configure: Regenerated.
23134 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23135 LIBC_TRY_CC_OPTION.
23136 (libc_cv_as_i686): Likewise.
23137 (libc_cv_cc_avx): Likewise.
23138 (libc_cv_cc_sse2avx): Likewise.
23139 (libc_cv_cc_fma4): Likewise.
23140 (libc_cv_cc_novzeroupper): Likewise.
23141 * sysdeps/i386/configure: Regenerated.
23144 * sysdeps/i386/fpu/s_cexp.S: Remove.
23145 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23146 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23147 * math/libm-test.inc (cexp_test): Add more tests.
23148 * sysdeps/i386/fpu/libm-test-ulps: Update.
23149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23151 2012-03-21 Allan McRae <allan@archlinux.org>
23153 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23155 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23158 * math/w_exp2.c: Do not include <float.h>.
23159 (o_threshold, u_threshold): Remove.
23160 (__exp2): Calculate result before checking finiteness and calling
23162 * math/w_exp2f.c: Likewise.
23163 * math/w_exp2l.c: Likewise.
23164 * math/libm-test.inc (exp2_test): Require overflow exception for
23168 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23169 range of signed 64-bit integers before using fistpll. Remove
23170 checks for whether integers fit in mantissa bits.
23171 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23172 the range of signed 32-bit integers before using fistpl. Remove
23173 checks for whether integers fit in mantissa bits.
23174 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23175 (__ieee754_powl): Test for y outside the range of signed 64-bit
23176 integers before using fistpll. Reduce 64-bit values to 63-bit
23178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23179 divide-by-zero is raised for zero to large negative powers.
23180 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23181 (__ieee754_powl): Test for y outside the range of signed 64-bit
23182 integers before using fistpll. Reduce 64-bit values to 63-bit
23184 * math/libm-test.inc (pow_test): Add more tests.
23186 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23188 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23189 <stdio-common/_itoa.h>.
23190 * debug/segfault.c: Likewise.
23191 * elf/dl-cache.c: Likewise.
23192 * elf/dl-minimal.c: Likewise.
23193 * elf/dl-misc.c: Likewise.
23194 * elf/dl-sysdep.c: Likewise.
23195 * elf/dl-version.c: Likewise.
23196 * elf/rtld.c: Likewise.
23197 * hurd/hurdsock.c: Likewise.
23198 * hurd/lookup-retry.c: Likewise.
23199 * malloc/malloc.c: Likewise.
23200 * malloc/mtrace.c: Likewise.
23201 * nscd/nscd_getgr_r.c: Likewise.
23202 * nscd/nscd_getpw_r.c: Likewise.
23203 * nscd/nscd_getserv_r.c: Likewise.
23204 * posix/getopt_init.c: Likewise.
23205 * posix/wordexp.c: Likewise.
23206 * stdio-common/_itoa.c: Likewise.
23207 * stdio-common/printf_fphex.c: Likewise.
23208 * stdio-common/vfprintf.c: Likewise.
23209 * string/_strerror.c: Likewise.
23210 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23211 * sysdeps/i386/i686/hp-timing.h: Likewise.
23212 * sysdeps/mach/_strerror.c: Likewise.
23213 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23214 * sysdeps/mach/hurd/sethostid.c: Likewise.
23215 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23216 * sysdeps/mach/xpg-strerror.c: Likewise.
23217 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23218 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23219 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23220 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23221 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23222 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23223 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23224 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23225 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23226 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23227 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23228 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23229 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23230 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23231 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23233 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23234 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23235 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23236 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23237 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23239 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23241 * stdio-common/_itoa.h: Moved to ...
23242 * sysdeps/generic/_itoa.h: Here.
23244 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23246 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23247 instead of "_itoa.h" and "_itowa.h".
23248 * stdio-common/vfprintf.: Likewise.
23250 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23252 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23254 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23255 (__signbit): Likwise.
23256 (llrintf): Likwise.
23259 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23261 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23264 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23266 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23267 OVERFLOW_EXCEPTION_OK.
23268 * math/libm-test.inc ("Philosophy"): Update comment about
23270 (OVERFLOW_EXCEPTION): Define.
23271 (OVERFLOW_EXCEPTION_OK): Likewise.
23272 (INVALID_EXCEPTION_OK): Renumber.
23273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23274 (IGNORE_ZERO_INF_SIGN): Likewise.
23275 (test_exceptions): Handle FE_OVERFLOW.
23276 (exp10_test): Expect overflow exceptions.
23277 (exp2_test): Likewise.
23278 (expm1_test): Likewise.
23279 (nextafter_test): Likewise.
23280 (pow_test): Likewise.
23281 (scalbn_test): Likewise.
23282 (scalbln_test): Likewise.
23284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23286 * sysdeps/x86_64/bits/atomic.h
23287 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23289 (atomic_exchange_acq): Likewise.
23290 (__arch_exchange_and_add_body): Likewise.
23291 (__arch_add_body): Likewise.
23292 (atomic_add_negative): Likewise.
23293 (atomic_add_zero): Likewise.
23295 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23297 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23298 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23300 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23302 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23303 Check __x86_64__ instead of __WORDSIZE.
23305 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23307 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23309 2012-03-19 David S. Miller <davem@davemloft.net>
23311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23313 * sysdeps/sparc/fpu/fenv_private.h: New file.
23314 * sysdeps/sparc/fpu/math_private.h: Use it.
23315 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23317 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23318 (libc_feholdexcept_setroundl): Remove.
23319 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23321 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23322 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23326 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23327 int64_t instead of long int.
23328 (INSERT_WORDS64): Likwise.
23330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23332 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23333 _Unwind_GetCFA return to _Unwind_Ptr first.
23335 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23338 * math/s_clog.c: Include <float.h>.
23339 (__clog): Scale large or subnormal inputs.
23340 * math/s_clogf.c: Likewise.
23341 * math/s_clogl.c: Likewise.
23342 * math/s_clog10.c: Include <float.h>.
23343 (M_LOG10_2): Define.
23344 (__clog10): Scale large or subnormal inputs.
23345 * math/s_clog10f.c: Likewise.
23346 * math/s_clog10l.c: Likewise.
23347 * math/libm-test.inc (clog_test): Add more tests.
23348 (clog10_test): Likewise.
23349 * sysdeps/i386/fpu/libm-test-ulps: Update.
23350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23353 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23355 * math/libm-test.inc (atan2_test): Add another test.
23357 * Makerules (common-objdir-compile): Remove.
23358 * sysdeps/unix/Makefile (config-generated): Do not add
23359 $(unix-generated) to variable.
23360 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23361 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23363 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23365 [generic bits/local_lim.h] (before-compile): Do not append to
23367 [generic bits/local_lim.h] (common-generated): Likewise.
23368 [generic sys/param.h] (before-compile): Do not append to variable.
23369 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23370 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23371 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23372 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23374 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23375 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23376 [generic sys/param.h] ($(addprefix
23377 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23378 [generic sys/param.h] (common-generated): Do not append to
23380 [generic sys/param.h] (sysdep_headers): Likewise.
23381 [generic bits/errno.h] (before-compile): Do not append to
23383 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23385 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23386 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23387 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23388 [generic bits/errno.h] (common-generated): Do not append to
23390 [generic bits/ioctls.h] (before-compile): Do not append to
23392 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23394 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23395 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23396 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23398 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23399 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23400 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23401 [generic bits/ioctls.h] (common-generated): Do not append to
23403 [generic sys/syscall.h] (syscall.h): Remove variable.
23404 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23406 [generic sys/syscall.h] (before-compile): Do not append to
23408 [generic sys/syscall.h] (common-generated): Likewise.
23409 * sysdeps/unix/errnos-tmpl.c: Remove file.
23410 * sysdeps/unix/errnos.awk: Likewise.
23411 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23412 * sysdeps/unix/ioctls.awk: Likewise.
23413 * sysdeps/unix/mk-local_lim.c: Likewise.
23414 * sysdeps/unix/snarf-ioctls: Likewise.
23416 2012-03-19 Richard Henderson <rth@twiddle.net>
23418 * sysdeps/i386/fpu/fenv_private.h: New file.
23419 * sysdeps/i386/fpu/math_private.h: Use it.
23420 (math_opt_barrier, math_force_eval): Remove.
23421 (libc_feholdexcept_setround_53bit): Remove.
23422 (libc_feupdateenv_53bit): Remove.
23423 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23424 (math_opt_barrier, math_force_eval): Remove.
23425 (libc_feholdexcept): Remove.
23426 (libc_feholdexcept_setround): Remove.
23427 (libc_fetestexcept, libc_fesetenv): Remove.
23428 (libc_feupdateenv_test): Remove.
23429 (libc_feupdateenv, libc_feholdsetround): Remove.
23430 (libc_feresetround): Remove.
23432 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23433 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23435 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23436 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23437 (libc_feupdateenv_testl): New.
23438 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23439 (libc_feupdateenv_testf): New.
23440 (libc_feupdateenv): Use libc_feupdateenv_test.
23441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23444 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23445 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23446 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23447 (libc_feresetround_noex): New.
23448 (libc_feresetround_noexf): New.
23449 (libc_feresetround_noexl): New.
23450 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23451 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23452 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23453 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23456 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23458 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23459 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23460 SET_RESTORE_ROUND_NOEX.
23461 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23462 SET_RESTORE_ROUND_NOEXF.
23463 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23464 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23465 (libc_feholdsetroundf): New.
23466 (libc_feresetround, libc_feresetroundf): New.
23468 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23469 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23470 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23472 * sysdeps/generic/math_private.h: Include <fenv.h>.
23473 (default_libc_feholdexcept): New.
23474 (default_libc_feholdexcept_setround): New.
23475 (default_libc_fesetenv, default_libc_feupdateenv): New.
23476 (libc_feholdexcept): Only define if undefined.
23477 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23478 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23479 (libc_feholdexcept_setroundl): Likewise.
23480 (libc_feholdexcept_setround_53bit): Likewise.
23481 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23482 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23483 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23484 (libc_feupdateenv_53bit): Likewise.
23485 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23486 (libc_feholdexcept): Convert from macro to inline function.
23487 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23488 (libc_fesetenv, libc_feupdateenv): Likewise.
23490 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23491 not previously defined.
23492 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23493 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23494 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23495 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23496 * sysdeps/ieee754/flt-32/math_private.h: New file.
23497 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23498 math_private.h below SET_FLOAT_WORD.
23499 (__isnan, __isinf_ns, __finite): Remove.
23500 (__isnanf, __isinf_nsf, __finitef): Remove.
23502 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23506 2012-03-17 David S. Miller <davem@davemloft.net>
23509 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23512 2012-03-16 David S. Miller <davem@davemloft.net>
23514 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23518 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23520 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23521 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23522 sysdep_routines when subdir is sysvipc.
23523 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23524 __getshmlba helper.
23526 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23528 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23530 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23535 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23536 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23537 (__lround): Renamed to ...
23538 (__llround): This. Replace long int with long long int.
23539 Define lround functions as aliases of llround functions.
23540 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23544 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23545 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23546 adresses to uintptr_t. Replace "long int" and "unsigned long
23547 int" with "greg_t" on va_arg.
23549 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23551 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23552 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23554 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23555 Move e_machine check before EI_CLASS check. Handle x32
23556 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23557 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23558 SKIP_EM_IA_64 and include
23559 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23561 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23562 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23563 (add_system_dir): New macro.
23565 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23566 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23568 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23579 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23581 * math/w_j0f.c (j0f): Likewise.
23583 * math/w_j0l.c (__j0l): Likewise.
23585 * math/w_j1.c (j1): Likewise.
23587 * math/w_j1f.c (j1f): Likewise.
23589 * math/w_j1l.c (__j1l): Likewise.
23591 * math/w_jn.c (jn): Likewise.
23593 * math/w_jnf.c (jnf): Likewise.
23595 * math/w_jnl.c (__jnl): Likewise.
23597 * math/libm-test.inc (j0_test): Add more tests.
23598 (j1_test): Likewise.
23599 (jn_test): Likewise. Add trailing semicolon to existing test.
23600 (y0_test): Likewise.
23601 (y1_test): Likewise.
23602 * sysdeps/i386/fpu/libm-test-ulps: Update.
23603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23607 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23608 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23609 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23611 (__tanl): Set errno for infinite argument.
23612 * sysdeps/i386/fpu/mptan.c: Remove.
23613 * sysdeps/i386/fpu/s_tan.S: Likewise.
23614 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23615 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23616 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23617 * math/libm-test.inc (tan_test): Add more tests and enable more
23618 tests for double and long double.
23619 * sysdeps/i386/fpu/libm-test-ulps: Update.
23620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23622 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23624 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23625 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23627 2012-03-16 Roland McGrath <roland@hack.frob.com>
23629 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23630 * configure.in: Use it for both main tree and add-ons.
23631 * configure: Regenerated.
23633 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23635 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23637 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23643 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23644 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23649 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23651 != 0 for prec == 2.
23652 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23653 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23654 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23655 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23656 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23657 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23658 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23659 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23660 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23661 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23662 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23663 * math/libm-test.inc (cos_test): Add more tests and enable more
23664 tests for long double.
23665 (sin_test): Likewise.
23666 (sincos_test): Likewise.
23667 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23670 2012-03-16 David S. Miller <davem@davemloft.net>
23672 * sysdeps/sparc/fpu/math_private.h: New file.
23674 2012-03-15 David S. Miller <davem@davemloft.net>
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23690 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23691 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23693 * sysdeps/sparc/sparc-ifunc.h: New file.
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23739 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23741 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23745 2012-03-15 Andreas Jaeger <aj@suse.de>
23748 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23749 ieee754/flt-32 implementation for sin, cos and sincos.
23750 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23751 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23752 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23753 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23754 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23755 ieee754/flt-32 implementation for tan.
23757 * math/libm-test.inc (cos_test): Enable some large input tests for
23759 (sin_test): Likewise.
23760 (sincos_test): Likewise.
23761 (tan_test): Add tests for large input.
23763 * sysdeps/i386/fpu/libm-test-ulps: Update.
23765 2012-03-15 Andreas Jaeger <aj@suse.de>
23768 * math/libm-test.inc (cos_test): Add more test cases.
23769 (sin_test): Likewise.
23770 (sincos_test): Likewise.
23772 2012-03-15 Andreas Jaeger <aj@suse.de>
23775 * math/libm-test.inc (cos_test): Add a test case for large input
23777 (sin_test): Likewise.
23778 (sincos_test): Likewise.
23780 2012-03-15 Andreas Jaeger <aj@suse.de>,
23781 Joseph Myers <joseph@codesourcery.com>
23784 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23785 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23786 * sysdeps/i386/fpu/branred.c: Likewise.
23787 * sysdeps/i386/fpu/dosincos.c: Likewise.
23788 * sysdeps/i386/fpu/mpa.c: Likewise.
23789 * sysdeps/i386/fpu/s_cos.S: Likewise.
23790 * sysdeps/i386/fpu/s_sin.S: Likewise.
23791 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23792 * sysdeps/i386/fpu/sincos32.c: Likewise.
23794 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23796 (libc_feupdateenv_53bit): Define.
23797 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23799 (libc_feupdateenv_53bit): Define.
23801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23802 53 bit (without extend i386 double precision).
23804 * math/libm-test.inc (sincos_test): Add tests for large input.
23808 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23810 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23814 2012-03-15 David S. Miller <davem@davemloft.net>
23816 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23817 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23818 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23819 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23844 fmin/fmax sysdep routines.
23845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23847 2012-03-14 David S. Miller <davem@davemloft.net>
23849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23921 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23926 * sysdeps/sparc/configure.in: New file.
23927 * sysdeps/sparc/configure: Generate.
23928 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23929 * configure: Regenerate.
23930 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23931 * config.make.in (have-as-vis3): New.
23932 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23933 available use -Av9d instead of -Av9a.
23934 * sysdeps/sparc/sparc64/Makefile: Likewise.
23935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23950 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23951 fzeros/fnegs to load 0x80000000 into a float register instead of
23953 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23955 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23959 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23960 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23961 ($(inst_includedir)/bits/syscall.h): Remove rule.
23962 ($(objpfx)bits/syscall.d): Include instead of
23963 $(objpfx)syscall-list.d.
23964 (generated): Change syscall-list.h and syscall-list.d to
23965 bits/syscall.h and bits/syscall.d.
23967 2012-03-14 Roland McGrath <roland@hack.frob.com>
23970 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23972 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23975 * math/s_csqrt.c: Include <float.h>.
23976 (__csqrt): Scale large or subnormal inputs.
23977 * math/s_csqrtf.c: Likewise.
23978 * math/s_csqrtl.c: Likewise.
23979 * math/libm-test.inc (csqrt_test): Add more tests.
23980 * sysdeps/i386/fpu/libm-test-ulps: Update.
23981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23984 * math/libm-test.inc (hypot_test): Add more tests.
23986 2012-03-13 David S. Miller <davem@davemloft.net>
23989 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23990 double-precision for the calculation instead of scaling.
23992 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23994 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23995 manipulate bits before adding and subtracting TWO52[sx].
23996 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23999 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24001 2012-03-13 David S. Miller <davem@davemloft.net>
24003 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24004 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24006 rtld-global-offsets.h
24007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24009 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24012 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24014 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24015 'err' in the ifdef scope in which it is actually used.
24017 * nss/nss_db/db-init.c: Include string.h
24019 2012-03-12 David S. Miller <davem@davemloft.net>
24021 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24022 masking out of the most significant byte of random value used.
24023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24024 Fix coding style in previous change.
24026 * sysdeps/unix/sysv/linux/kernel-features.h
24027 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24028 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24030 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24033 2012-03-11 David S. Miller <davem@davemloft.net>
24035 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24036 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24038 for 'resultvar' otherwise things get truncated on 64-bit.
24040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24041 Fix masking out of the most significant byte of random value used.
24043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24045 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24049 2012-03-09 David S. Miller <davem@davemloft.net>
24051 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24052 variables with appropriate CPP guards.
24053 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24054 frame pointer, not the stack pointer. Correct layout comments. Fix test
24055 on resulting framesize and the management of the outregs buffer for pltexit.
24056 Preserve floating point return values across _dl_call_pltexit call.
24057 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24058 framesize and the management of the outregs buffer for pltexit.
24059 Preserve floating point return values across _dl_call_pltexit
24061 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24062 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24063 (print_exit): Fix format string for return register value.
24065 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24067 * sunrpc/Makefile (others): Add rpcgen.
24068 ($(objpfx)rpcgen): Remove special build rule and dependency on
24070 * sunrpc/rpcgen.c: New file.
24072 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24075 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24076 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24077 * sysdeps/i386/crti.S: Likewise.
24078 * sysdeps/i386/crtn.S: Likewise.
24079 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24080 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24081 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24082 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24083 * sysdeps/sh/crti.S: Likewise.
24084 * sysdeps/sh/crtn.S: Likewise.
24085 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24088 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24090 * locale/programs/locfile-kw.gperf: Likewise.
24091 * locale/programs/charmap-kw.h: Regenerated.
24092 * locale/programs/locfile-kw.h: Likewise.
24095 * intl/plural.y: Replace FSF snail mail address with URL.
24096 * intl/plural.c: Regenerated.
24098 2012-03-09 Richard Henderson <rth@twiddle.net>
24100 * include/math_private.h: Remove file.
24101 * math/math_private.h: Move file ...
24102 * sysdeps/generic/math_private.h: ... here.
24104 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24105 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24106 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24108 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24109 and <math_private.h>.
24110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24131 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24161 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24162 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24165 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24166 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24167 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24168 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24169 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24170 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24171 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24173 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24174 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24175 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24190 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24191 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24192 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24193 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24194 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24197 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24202 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24203 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24205 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24207 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24209 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24210 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24211 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24212 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24213 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24214 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24218 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24220 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24221 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24222 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24224 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24226 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24227 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24228 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24229 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24230 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24231 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24232 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24233 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24234 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24235 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24237 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24238 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24239 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24240 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24241 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24242 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24243 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24244 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24246 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24247 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24248 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24249 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24250 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24251 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24252 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24253 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24254 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24255 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24256 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24257 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24258 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24259 * sysdeps/ieee754/k_standard.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24273 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24274 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24351 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24353 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24365 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24366 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24379 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24382 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24387 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24392 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24393 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24397 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24399 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24408 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24409 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24410 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24411 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24414 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24415 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24416 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24417 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24418 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24420 * sysdeps/ieee754/s_lib_version.c: Likewise.
24421 * sysdeps/ieee754/s_matherr.c: Likewise.
24422 * sysdeps/ieee754/s_signgam.c: Likewise.
24423 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24424 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24425 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24426 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24427 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24428 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24429 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24430 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24431 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24432 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24433 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24434 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24435 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24436 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24437 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24438 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24439 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24440 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24445 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24447 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24448 * sunrpc/rpc_main.c: Likewise.
24449 * sunrpc/rpc_svcout.c: Likewise.
24451 2012-03-09 David S. Miller <davem@davemloft.net>
24453 * include/math_private.h: New file.
24455 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24457 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24458 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24459 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24460 from <bits/socket_type.h>.
24461 (enum __socket_type): Don't define here.
24462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24464 bits/socket_type.h.
24467 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24468 checking __USE_GNU.
24470 * Makerules ($(inst_includedir)/%.h): New rule.
24471 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24472 (install-others): Remove variable setting.
24473 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24475 2012-03-08 Richard Henderson <rth@twiddle.net>
24477 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24478 from macro to inline function; merge with the
24479 !__LIBC_INTERNAL_MATH_INLINES version.
24480 (__ieee754_sqrtf): Likewise.
24482 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24483 to inline function.
24484 (__rintf, __floor, __floorf): Likewise.
24486 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24487 macro to inline function.
24488 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24491 not <math/math_private.h>.
24493 2012-03-08 David S. Miller <davem@davemloft.net>
24495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24497 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24499 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24501 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24503 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24504 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24506 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24508 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24509 be defined individually, they must be defined as a block. Define
24510 S for printing a string instead of hidint the different by using a
24511 macro for adding the 'l'.
24512 * stdio-common/tst-fphex-wide.c: Adjust.
24514 2012-03-07 Marek Polacek <polacek@redhat.com>
24516 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24518 2012-03-08 Marek Polacek <polacek@redhat.com>
24521 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24522 * stdio-common/tst-fphex.c: Define a few macros to make the
24523 test reusable. Use them.
24524 * stdio-common/tst-fphex-wide.c: New file.
24526 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24529 * manual/macros.texi (gnusystems): New macro.
24530 (nongnusystems): Likewise.
24531 (gnulinuxhurdsystems): Likewise.
24532 (gnuhurdsystems): Likewise..
24533 (gnulinuxsystems): Likewise.
24534 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24535 variants of the GNU system, not "GNU system".
24536 * manual/conf.texi: Likewise.
24537 * manual/errno.texi: Likewise. Update example of errno macro
24539 * manual/filesys.texi: Likewise.
24540 (getumask): Document as specific to GNU/Hurd.
24541 * manual/install.texi: Likewise. Reword some references to
24543 * manual/intro.texi: Likewise.
24544 * manual/io.texi: Likewise.
24545 (File Name Portability): Detail which constraints are inapplicable
24546 to all GNU systems and which are only inapplicable to GNU/Hurd.
24547 * manual/job.texi: Likewise.
24548 * manual/llio.texi: Likewise.
24549 (O_NOCTTY): Document as present on GNU/Linux.
24550 * manual/maint.texi: Likewise.
24551 * manual/memory.texi: Likewise.
24552 * manual/pattern.texi: Likewise.
24553 * manual/pipe.texi: Likewise.
24554 * manual/process.texi: Likewise.
24555 * manual/resource.texi: Likewise.
24556 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24558 * manual/setjmp.texi: Likewise.
24559 * manual/signal.texi: Likewise.
24560 * manual/startup.texi: Likewise.
24561 * manual/stdio.texi: Likewise.
24562 * manual/terminal.texi: Likewise.
24563 (ONLCR): Document as POSIX.
24564 (OXTABS): Document availability on GNU/Linux as XTABS.
24565 (ONOEOT): Document availability separately from other bits.
24566 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24567 * manual/time.texi: Likewise.
24568 * manual/users.texi: Likewise.
24569 * INSTALL: Regenerated.
24570 * sysdeps/gnu/errlist.c: Regenerated.
24572 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24573 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24574 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24576 * configure: Regenerated.
24578 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24580 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24581 default includes instead of AC_HEADER_CHECK.
24582 * sysdeps/i386/configure: Regenerated.
24585 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24586 * math/s_cacoshf.c (__cacoshf): Likewise.
24587 * math/s_cacoshl.c (__cacoshl): Likewise.
24588 * math/s_casinh.c (__casinh): Set signs of result from argument.
24589 * math/s_casinhf.c (__casinhf): Likewise.
24590 * math/s_casinhl.c (__casinhl): Likewise.
24591 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24592 (casinh_test): Add more tests.
24593 * sysdeps/i386/fpu/libm-test-ulps: Update.
24594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24596 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24598 * po/zh_TW.po: Update from translation team.
24600 * login/Makefile (distribute): Remove variable.
24601 * catgets/Makefile: Likewise.
24602 * mach/Makefile: Likewise.
24603 * malloc/Makefile: Likewise.
24604 * misc/Makefile: Likewise.
24605 * iconv/Makefile: Likewise.
24606 * nscd/Makefile: Likewise.
24607 * hurd/Makefile: Likewise.
24608 * manual/Makefile: Likewise.
24609 * locale/Makefile: Likewise.
24610 * intl/Makefile: Likewise.
24611 * conform/Makefile: Likewise.
24612 * nss/Makefile: Likewise.
24613 * time/Makefile: Likewise.
24614 * soft-fp/Makefile: Likewise.
24615 * dirent/Makefile: Likewise.
24616 * gmon/Makefile: Likewise.
24617 * po/Makefile: Likewise.
24618 * rt/Makefile: Likewise.
24619 * socket/Makefile: Likewise.
24620 * math/Makefile: Likewise.
24621 * signal/Makefile: Likewise.
24622 * debug/Makefile: Likewise.
24623 * elf/Makefile: Likewise.
24624 * timezone/Makefile: Likewise.
24625 * stdlib/Makefile: Likewise.
24626 * iconvdata/Makefile: Likewise.
24627 * sunrpc/Makefile: Likewise.
24628 * io/Makefile: Likewise.
24629 * argp/Makefile: Likewise.
24630 * inet/Makefile: Likewise.
24631 * hesiod/Makefile: Likewise.
24632 * grp/Makefile: Likewise.
24633 * csu/Makefile: Likewise.
24634 * wctype/Makefile: Likewise.
24635 * crypt/Makefile: Likewise.
24636 * libio/Makefile: Likewise.
24637 * string/Makefile: Likewise.
24638 * nis/Makefile: Likewise.
24639 * resolv/Makefile: Likewise.
24640 * stdio-common/Makefile: Likewise.
24641 * wcsmbs/Makefile: Likewise.
24642 * dlfcn/Makefile: Likewise.
24643 * posix/Makefile: Likewise.
24646 * timezone/Makefile: Don't install timezone files, just the programs
24649 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24651 * nss/databases.def: Add missing gshadow entry.
24653 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24655 2012-03-06 Marek Polacek <polacek@redhat.com>
24658 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24659 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24660 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24661 * stdio-common/tst-long-dbl-fphex.c: New file.
24663 2012-03-06 David S. Miller <davem@davemloft.net>
24665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24666 (set_obp_int): New function.
24667 (get_obp_int): New function.
24668 (__get_clockfreq_via_dev_openprom): Likewise.
24669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24670 Avoid unused variable warnings on 'val' and use builtin_expect.
24671 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24673 (INLINE_CLONE_SYSCALL): Likewise.
24675 2012-03-05 David S. Miller <davem@davemloft.net>
24677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24679 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24684 only for |x| >= 40.
24685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24687 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24690 Replace gettimeofday with __vdso_gettimeofday.
24692 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24693 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24694 __vdso_clock_gettime and __vdso_getcpu.
24696 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24697 time with __vdso_time.
24699 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24701 * manual/lang.texi (size_t): Note types to which size_t may be
24702 equivalent with the GNU C Library, but do not describe when
24703 differences between them are significant.
24705 2012-03-05 Andreas Jaeger <aj@suse.de>
24707 * sysdeps/i386/fpu/libm-test-ulps: Update.
24709 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24712 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24713 (__ieee754_pow): Save and restore rounding mode and use
24714 round-to-nearest for main computations.
24715 * math/libm-test.inc (pow_test_tonearest): New function.
24716 (pow_test_towardzero): Likewise.
24717 (pow_test_downward): Likewise.
24718 (pow_test_upward): Likewise.
24719 (main): Call the new functions.
24720 * sysdeps/i386/fpu/libm-test-ulps: Update.
24721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24724 * math/libm-test.inc (cosh_test_tonearest): New function.
24725 (cosh_test_towardzero): Likewise.
24726 (cosh_test_downward): Likewise.
24727 (cosh_test_upward): Likewise.
24728 (sinh_test_tonearest): Likewise.
24729 (sinh_test_towardzero): Likewise.
24730 (sinh_test_downward): Likewise.
24731 (sinh_test_upward): Likewise.
24732 (main): Call the new functions.
24733 * sysdeps/i386/fpu/libm-test-ulps: Update.
24734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24736 2012-03-05 Tom de Vries <tom@codesourcery.com>
24738 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24739 default stack guard is set in last bytes.
24740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24742 2012-03-05 Kees Cook <keescook@chromium.org>
24744 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24747 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24748 possibly allocate from heap instead of stack.
24749 * stdio-common/bug-vfprintf-nargs.c: New file.
24750 * stdio-common/Makefile (tests): Add nargs overflow test.
24752 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24756 2012-03-03 Marek Polacek <polacek@redhat.com>
24758 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24759 * math/math_private.h: Likewise.
24760 * stdlib/tst-strtod.c: Likewise.
24761 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24762 * sysdeps/x86_64/bits/atomic.h: Likewise.
24764 2012-03-02 David S. Miller <davem@davemloft.net>
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24770 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24771 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24772 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24773 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24775 2012-03-02 Roland McGrath <roland@hack.frob.com>
24778 * manual/examples/README: New file, says the example source files
24779 can be used under GPL>=2.
24780 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24781 line containing just "*/".
24782 * manual/examples/add.c: Add copyright header (GPL>=2).
24783 * manual/examples/argp-ex1.c: Likewise.
24784 * manual/examples/argp-ex2.c: Likewise.
24785 * manual/examples/argp-ex3.c: Likewise.
24786 * manual/examples/argp-ex4.c: Likewise.
24787 * manual/examples/atexit.c: Likewise.
24788 * manual/examples/db.c: Likewise.
24789 * manual/examples/dir.c: Likewise.
24790 * manual/examples/dir2.c: Likewise.
24791 * manual/examples/execinfo.c: Likewise.
24792 * manual/examples/filecli.c: Likewise.
24793 * manual/examples/filesrv.c: Likewise.
24794 * manual/examples/fmtmsgexpl.c: Likewise.
24795 * manual/examples/genpass.c: Likewise.
24796 * manual/examples/inetcli.c: Likewise.
24797 * manual/examples/inetsrv.c: Likewise.
24798 * manual/examples/isockad.c: Likewise.
24799 * manual/examples/longopt.c: Likewise.
24800 * manual/examples/memopen.c: Likewise.
24801 * manual/examples/memstrm.c: Likewise.
24802 * manual/examples/mkfsock.c: Likewise.
24803 * manual/examples/mkisock.c: Likewise.
24804 * manual/examples/mygetpass.c: Likewise.
24805 * manual/examples/pipe.c: Likewise.
24806 * manual/examples/popen.c: Likewise.
24807 * manual/examples/rprintf.c: Likewise.
24808 * manual/examples/search.c: Likewise.
24809 * manual/examples/select.c: Likewise.
24810 * manual/examples/setjmp.c: Likewise.
24811 * manual/examples/sigh1.c: Likewise.
24812 * manual/examples/sigusr.c: Likewise.
24813 * manual/examples/stpcpy.c: Likewise.
24814 * manual/examples/strdupa.c: Likewise.
24815 * manual/examples/strftim.c: Likewise.
24816 * manual/examples/strncat.c: Likewise.
24817 * manual/examples/subopt.c: Likewise.
24818 * manual/examples/swapcontext.c: Likewise.
24819 * manual/examples/termios.c: Likewise.
24820 * manual/examples/testopt.c: Likewise.
24821 * manual/examples/testpass.c: Likewise.
24822 * manual/examples/timeval_subtract.c: Likewise.
24825 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24827 * manual/timeval_subtract.c.texi: ... here, new file.
24829 2012-03-02 David S. Miller <davem@davemloft.net>
24831 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24833 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24836 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24837 (__sin): Save and restore rounding mode and use round-to-nearest
24838 for all computations.
24839 (__cos): Save and restore rounding mode and use round-to-nearest
24840 for all computations.
24841 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24843 (tan): Save and restore rounding mode and use round-to-nearest for
24845 * math/libm-test.inc (cos_test_tonearest): New function.
24846 (cos_test_towardzero): Likewise.
24847 (cos_test_downward): Likewise.
24848 (cos_test_upward): Likewise.
24849 (sin_test_tonearest): Likewise.
24850 (sin_test_towardzero): Likewise.
24851 (sin_test_downward): Likewise.
24852 (sin_test_upward): Likewise.
24853 (tan_test_tonearest): Likewise.
24854 (tan_test_towardzero): Likewise.
24855 (tan_test_downward): Likewise.
24856 (tan_test_upward): Likewise.
24857 (main): Call the new functions.
24858 * sysdeps/i386/fpu/libm-test-ulps: Update.
24859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24862 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24863 small n, then large n, before computing and testing k+n.
24864 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24869 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24870 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24877 * math/libm-test.inc (scalbn_test): Add more tests.
24878 (scalbln_test): Likewise.
24880 * manual/filesys.texi (mode_t): Describe constraints on size and
24881 signedness, not exact equivalence to a particular type.
24883 (ino64_t): Likewise.
24885 (nlink_t): Likewise.
24886 (blkcnt_t): Likewise.
24887 (blkcnt64_t): Likewise.
24888 * manual/llio.texi (off_t): Likewise.
24891 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24892 (__ieee754_exp): Save and restore rounding mode and use
24893 round-to-nearest for all computations.
24894 * math/libm-test.inc (exp_test_tonearest): New function.
24895 (exp_test_towardzero): Likewise.
24896 (exp_test_downward): Likewise.
24897 (exp_test_upward): Likewise.
24898 (main): Call the new functions.
24899 * sysdeps/i386/fpu/libm-test-ulps: Update.
24900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24902 2012-03-01 Chris Demetriou <cgd@google.com>
24904 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24905 have predictable order.
24907 2012-03-01 David S. Miller <davem@davemloft.net>
24909 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24911 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24912 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24913 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24914 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24916 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24917 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24918 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24920 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24921 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24922 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24923 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24924 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24929 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24930 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24932 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24933 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24934 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24935 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24936 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24939 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24940 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24941 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24942 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24943 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24948 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24949 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24950 * sysdeps/sparc/elf/configure: Regenerated.
24952 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24954 * configure.in (AS, LD): Require binutils 2.20 or later.
24955 * configure: Regenerated.
24956 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24957 as required minimum version.
24958 * INSTALL: Regenerated.
24962 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24963 before squaring exponent.
24964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24965 bottom long double and 27 bits of top long double before squaring
24967 * math/libm-test.inc (erfc_test): Add more tests.
24968 * sysdeps/i386/fpu/libm-test-ulps: Update.
24969 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972 2012-03-01 Kai Tietz <ktietz@redhat.com>
24974 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24975 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24976 containing bit-fields.
24977 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24978 * soft-fp/single.h (_FP_UNION_S): Likewise.
24979 * soft-fp/double.h (_FP_UNION_D): Likewise.
24981 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24984 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24985 not include ../strcmp.S.
24986 [USE_AS_STRNCASECMP_L]: Likewise.
24987 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24988 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24989 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24990 (__strncasecmp_l_ia32): Define as alias to
24991 __strncasecmp_l_nonascii.
24994 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24995 * sysdeps/i386/fpu/libm-test-ulps: Update.
24996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24998 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25001 2012-02-29 Jeff Law <law@redhat.com>
25003 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25004 out of bounds read.
25006 2012-02-29 Marek Polacek <polacek@redhat.com>
25009 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25010 * elf/Makefile: Add rules to run tst-unused-dep.out.
25012 2012-02-28 David S. Miller <davem@davemloft.net>
25014 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25015 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25016 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25018 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25019 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25021 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25023 * math/libm-test.inc (llround_test): Move one test from
25024 lround_test. Use TEST_f_L in moved test.
25025 (lround_test): Move misplaced test to llround_test. Add testcase
25028 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25030 * sysdeps/x86_64/fpu/e_expf.S: New file.
25031 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25033 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25036 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25037 of remain_len that may cause incomplete multi-byte character and
25039 * posix/bug-regex33.c: New file.
25040 * posix/Makefile (tests): Add bug-regex33.
25042 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25044 * manual/macros.texi: New file.
25045 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25046 * manual/libc.texinfo: Include macros.texi.
25047 * manual/creatute.texi: Likewise.
25048 * manual/install.texi: Likewise.
25049 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25050 @glibcadj{} in references to the GNU C Library.
25051 * manual/charset.texi: Likewise.
25052 * manual/conf.texi: Likewise.
25053 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25054 when not using those macros.
25055 * manual/creature.texi: Likewise.
25056 * manual/crypt.texi: Likewise.
25057 * manual/errno.texi: Likewise.
25058 * manual/filesys.texi: Likewise.
25059 * manual/header.texi: Likewise.
25060 * manual/install.texi: Likewise.
25061 * manual/intro.texi: Likewise.
25062 * manual/io.texi: Likewise.
25063 * manual/job.texi: Likewise.
25064 * manual/lang.texi: Likewise.
25065 * manual/libc.texiinfo: Likewise.
25066 * manual/llio.texi: Likewise.
25067 * manual/locale.texi: Likewise.
25068 * manual/maint.texi: Likewise.
25069 * manual/math.texi: Likewise.
25070 * manual/memory.texi: Likewise.
25071 * manual/message.texi: Likewise.
25072 * manual/nss.texi: Likewise.
25073 * manual/pattern.texi: Likewise.
25074 * manual/process.texi: Likewise.
25075 * manual/resource.texi: Likewise.
25076 * manual/search.texi: Likewise.
25077 * manual/setjmp.texi: Likewise.
25078 * manual/signal.texi: Likewise.
25079 * manual/socket.texi: Likewise.
25080 * manual/startup.texi: Likewise.
25081 * manual/stdio.texi: Likewise.
25082 * manual/string.texi: Likewise.
25083 * manual/sysinfo.texi: Likewise.
25084 * manual/syslog.texi: Likewise.
25085 * manual/terminal.texi: Likewise.
25086 * manual/time.texi: Likewise.
25087 * manual/users.texi: Likewise.
25088 * INSTALL: Regenerated.
25089 * NOTES: Regenerated.
25090 * sysdeps/gnu/errlist.c: Regenerated.
25092 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25094 * include/dirent.h: Include <dirstream.h> before
25097 2012-02-28 David S. Miller <davem@davemloft.net>
25099 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25100 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25101 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25102 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25104 2012-02-27 David S. Miller <davem@davemloft.net>
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25108 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25109 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25112 frame pointer instead of stack pointer relative arg slot.
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25117 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25120 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25122 2012-02-27 David S. Miller <davem@davemloft.net>
25124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25130 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25133 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25135 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25136 later. Allow versions 5-9.
25137 * configure: Regenerated.
25138 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25139 required minimum version and 4.6 as recommended version. Do not
25140 mention bugs in GCC 2.7 and 2.8.
25141 * INSTALL: Regenerated.
25143 2012-02-27 David S. Miller <davem@davemloft.net>
25145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25149 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25150 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25151 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25152 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25155 manipulate bits before adding and subtracting TWO112[sx].
25156 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25158 2012-02-27 Roland McGrath <roland@hack.frob.com>
25161 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25162 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25163 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25164 being in POSIX, because they are in 1003.1-2008.
25166 * rt/tst-aio.c: Include <fcntl.h>.
25167 * rt/tst-aio7.c: Likewise.
25168 * rt/tst-aio64.c: Likewise.
25170 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25172 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25174 * manual/install.texi (--with-headers): Describe headers as
25175 interface headers, not private headers.
25176 (Specific advice for GNU/Linux systems): Describe use of headers
25177 from "make headers_install", not private headers from older
25179 * INSTALL: Regenerated.
25180 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25182 * sysdeps/unix/sysv/linux/configure: Regenerated.
25184 * manual/llio.texi (fclean): Remove documentation.
25186 * manual/Makefile (libc-texi-generated): New variable. Include
25188 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25189 $(libc-texi-generated), not duplicated list of files.
25190 (version.texi, stamp-version): New rules.
25191 (realclean): Remove $(libc-texi-generated), not individual files
25192 from that list. Do not remove dir-add.texinfo.
25193 * manual/libc.texinfo: Comment out uses of edition numbers and
25194 references to printed manual. Remove last-updated dates.
25195 (EDITION): Comment out.
25197 (VERSION, UPDATED): Remove.
25198 (version.texi): Include.
25200 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25202 * sysdeps/posix/spawni.c: Include <signal.h>.
25203 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25204 * sysdeps/pthread/aio_fsync.c: Likewise.
25206 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25208 * conform/Makefile (tests): Run only when not cross-compiling and
25209 when fast-check is not defined.
25211 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25212 * conform/data/limits.h-data: Fixes for POSIX2008.
25213 * conform/run-conformtest.sh: Run all tests.
25214 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25216 * include/bits/dlfcn.h: Likewise.
25217 * include/langinfo.h: Likewise.
25218 * include/monetary.h: Likewise.
25219 * include/sys/poll.h: Likewise.
25221 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25223 * posix/spawn.h: Define __need_sigset_t.
25224 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25225 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25226 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25227 to get sigevent_t only.
25228 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25229 only for __USE_GNU.
25230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25231 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25232 process_vm_writev only for __USE_GNU.
25233 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25235 * conform/Makefile: For now ignore errors from run-conformtest.
25236 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25237 POSIX to avoid namespace pollution. Don't prepend headers.
25238 * conform/data/aio.h-data: Fixes for POSIX testing.
25239 * conform/data/fcntl.h-data: Likewise.
25240 * conform/data/glob.h-data: Likewise.
25241 * conform/data/grp.h-data: Likewise.
25242 * conform/data/pthread.h-data: Likewise.
25243 * conform/data/pwd.h-data: Likewise.
25244 * conform/data/signal.h-data: Likewise.
25245 * conform/data/spawn.h-data: Likewise.
25246 * conform/data/stdio.h-data: Likewise.
25247 * conform/data/stdlib.h-data: Likewise.
25248 * conform/data/stropts.h-data: Likewise.
25249 * conform/data/sys/mman.h-data: Likewise.
25250 * conform/data/sys/stat.h-data: Likewise.
25251 * conform/data/sys/types.h-data: Likewise.
25252 * conform/data/sys/wait.h-data: Likewise.
25253 * conform/data/time.h-data: Likewise.
25254 * conform/data/unistd.h-data: Likewise.
25255 * conform/data/utime.h-data: Likewise.
25257 * io/sys/stat.h: fchmod was always in POSIX.
25258 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25259 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25260 * rt/aio.h: Define __need_timespec before including <time.h>.
25261 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25262 struct. Add forward declaration of pthread_attr_t and use it in
25264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25266 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25267 always remove CLK_TCK definition.
25269 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25271 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25273 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25275 * conform/run-conformtest.sh: New file.
25276 * conform/Makefile: Run run-conformtest for tests.
25277 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25280 * conform/data/uchar.h-data: New file.
25281 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25282 * conform/data/arpa/inet.h-data: Likewise.
25283 * conform/data/assert.h-data: Likewise.
25284 * conform/data/complex.h-data: Likewise.
25285 * conform/data/cpio.h-data: Likewise.
25286 * conform/data/ctype.h-data: Likewise.
25287 * conform/data/dirent.h-data: Likewise.
25288 * conform/data/dlfcn.h-data: Likewise.
25289 * conform/data/errno.h-data: Likewise.
25290 * conform/data/fcntl.h-data: Likewise.
25291 * conform/data/float.h-data: Likewise.
25292 * conform/data/fmtmsg.h-data: Likewise.
25293 * conform/data/fnmatch.h-data: Likewise.
25294 * conform/data/ftw.h-data: Likewise.
25295 * conform/data/glob.h-data: Likewise.
25296 * conform/data/grp.h-data: Likewise.
25297 * conform/data/iconv.h-data: Likewise.
25298 * conform/data/inttypes.h-data: Likewise.
25299 * conform/data/langinfo.h-data: Likewise.
25300 * conform/data/libgen.h-data: Likewise.
25301 * conform/data/limits.h-data: Likewise.
25302 * conform/data/locale.h-data: Likewise.
25303 * conform/data/math.h-data: Likewise.
25304 * conform/data/monetary.h-data: Likewise.
25305 * conform/data/mqueue.h-data: Likewise.
25306 * conform/data/ndbm.h-data: Likewise.
25307 * conform/data/net/if.h-data: Likewise.
25308 * conform/data/netdb.h-data: Likewise.
25309 * conform/data/netinet/in.h-data: Likewise.
25310 * conform/data/nl_types.h-data: Likewise.
25311 * conform/data/poll.h-data: Likewise.
25312 * conform/data/pthread.h-data: Likewise.
25313 * conform/data/pwd.h-data: Likewise.
25314 * conform/data/regex.h-data: Likewise.
25315 * conform/data/sched.h-data: Likewise.
25316 * conform/data/search.h-data: Likewise.
25317 * conform/data/semaphore.h-data: Likewise.
25318 * conform/data/setjmp.h-data: Likewise.
25319 * conform/data/signal.h-data: Likewise.
25320 * conform/data/spawn.h-data: Likewise.
25321 * conform/data/stdarg.h-data: Likewise.
25322 * conform/data/stdio.h-data: Likewise.
25323 * conform/data/stdlib.h-data: Likewise.
25324 * conform/data/string.h-data: Likewise.
25325 * conform/data/strings.h-data: Likewise.
25326 * conform/data/stropts.h-data: Likewise.
25327 * conform/data/sys/ipc.h-data: Likewise.
25328 * conform/data/sys/mman.h-data: Likewise.
25329 * conform/data/sys/msg.h-data: Likewise.
25330 * conform/data/sys/resource.h-data: Likewise.
25331 * conform/data/sys/select.h-data: Likewise.
25332 * conform/data/sys/sem.h-data: Likewise.
25333 * conform/data/sys/shm.h-data: Likewise.
25334 * conform/data/sys/socket.h-data: Likewise.
25335 * conform/data/sys/stat.h-data: Likewise.
25336 * conform/data/sys/statvfs.h-data: Likewise.
25337 * conform/data/sys/time.h-data: Likewise.
25338 * conform/data/sys/timeb.h-data: Likewise.
25339 * conform/data/sys/times.h-data: Likewise.
25340 * conform/data/sys/types.h-data: Likewise.
25341 * conform/data/sys/uio.h-data: Likewise.
25342 * conform/data/sys/un.h-data: Likewise.
25343 * conform/data/sys/utsname.h-data: Likewise.
25344 * conform/data/sys/wait.h-data: Likewise.
25345 * conform/data/syslog.h-data: Likewise.
25346 * conform/data/tar.h-data: Likewise.
25347 * conform/data/termios.h-data: Likewise.
25348 * conform/data/utime.h-data: Likewise.
25349 * conform/data/utmpx.h-data: Likewise.
25350 * conform/data/varargs.h-data: Likewise.
25351 * conform/data/wchar.h-data: Likewise.
25352 * conform/data/wctype.h-data: Likewise.
25353 * conform/data/wordexp.h-data: Likewise.
25355 * include/stropts.h: New file.
25356 * include/uchar.h: New file.
25357 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25358 * include/assert.h: Likewise.
25359 * include/ctype.h: Likewise.
25360 * include/dirent.h: Likewise.
25361 * include/dlfcn.h: Likewise.
25362 * include/fcntl.h: Likewise.
25363 * include/fnmatch.h: Likewise.
25364 * include/glob.h: Likewise.
25365 * include/grp.h: Likewise.
25366 * include/libio.h: Likewise.
25367 * include/locale.h: Likewise.
25368 * include/math.h: Likewise.
25369 * include/net/if.h: Likewise.
25370 * include/netdb.h: Likewise.
25371 * include/netinet/in.h: Likewise.
25372 * include/pthread.h: Likewise.
25373 * include/pwd.h: Likewise.
25374 * include/regex.h: Likewise.
25375 * include/sched.h: Likewise.
25376 * include/search.h: Likewise.
25377 * include/setjmp.h: Likewise.
25378 * include/signal.h: Likewise.
25379 * include/stdio.h: Likewise.
25380 * include/stdlib.h: Likewise.
25381 * include/string.h: Likewise.
25382 * include/sys/cdefs.h: Likewise.
25383 * include/sys/mman.h: Likewise.
25384 * include/sys/msg.h: Likewise.
25385 * include/sys/resource.h: Likewise.
25386 * include/sys/select.h: Likewise.
25387 * include/sys/socket.h: Likewise.
25388 * include/sys/stat.h: Likewise.
25389 * include/sys/statvfs.h: Likewise.
25390 * include/sys/time.h: Likewise.
25391 * include/sys/times.h: Likewise.
25392 * include/sys/uio.h: Likewise.
25393 * include/sys/utsname.h: Likewise.
25394 * include/sys/wait.h: Likewise.
25395 * include/termios.h: Likewise.
25396 * include/time.h: Likewise.
25397 * include/ulimit.h: Likewise.
25398 * include/unistd.h: Likewise.
25399 * include/utime.h: Likewise.
25400 * include/wchar.h: Likewise.
25401 * include/wctype.h: Likewise.
25402 * include/wordexp.h: Likewise.
25404 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25406 * time/time.h: TIME_UTC must be a macro.
25407 Make timespec_get available for ISO C11 only as well.
25409 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25411 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25412 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25414 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25416 * configure.in: Use -o not -a in test for unsupported multi-arch.
25418 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25420 * manual/texinfo.tex: Update to version 2012-01-19.16.
25422 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25424 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25426 2012-02-24 Roland McGrath <roland@hack.frob.com>
25429 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25430 * manual/fdl-1.3.texi: New file.
25431 * manual/fdl-1.1.texi: File removed.
25434 * manual/libc.texinfo (FDL_VERSION): New @set.
25435 Use it for mention of FDL in cover text.
25436 (Documentation License): Use it in @include file name.
25438 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25439 Roland McGrath <roland@hack.frob.com>
25442 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25443 not LONG_LONG_MAX and LONG_LONG_MIN.
25444 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25445 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25447 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25449 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25453 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25454 manipulate bits before adding and subtracting TWO23[sx].
25455 * math/libm-test.inc (nearbyint_test): Add more tests.
25457 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25460 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25461 bits before adding and subtracting TWO23[sx].
25462 * math/libm-test.inc (rint_test): Add more tests.
25463 (rint_test_tonearest): Likewise.
25464 (rint_test_towardzero): Likewise.
25465 (rint_test_downward): Likewise.
25466 (rint_test_upward: Likewise.
25468 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25471 * include/stdc-predef.h: New file. Extracted from features.h.
25472 * include/features.h: Include stdc-predef.h.
25473 * Makefile (headers): Add stdc-predef.h.
25474 * CONFORMANCE (Compiler limitations): Update.
25476 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25478 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25480 2012-02-21 David S. Miller <davem@davemloft.net>
25482 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25485 2012-02-20 David S. Miller <davem@davemloft.net>
25487 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25488 using a normal save/restore sequence, rather than allocating a
25489 dummy stack frame just to store a frame pointer and restore.
25490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25492 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25494 * manual/install.texi: Fix stray word in line-wrapped comment.
25496 2012-02-20 David S. Miller <davem@davemloft.net>
25498 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25499 both binutils and gcc support GOTDATA.
25501 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25502 "rd %pc" in the PIC register setup sequences.
25504 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25505 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25506 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25507 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25508 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25513 (SYSCALL_ERROR_HANDLER): Likewise.
25514 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25515 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25517 (SYSCALL_ERROR_HANDLER): Likewise.
25519 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25520 (HAVE_GCC_GOTDATA): New.
25521 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25522 relocation support in both binutils and gcc.
25523 * sysdeps/sparc/elf/configure: Regenerate.
25525 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25526 * sysdeps/sparc/sparc32/elf/configure: Delete.
25527 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25528 * sysdeps/sparc/sparc64/elf/configure: Delete.
25529 * sysdeps/sparc/elf/configure.in: New file.
25530 * sysdeps/sparc/elf/configure: Generate.
25532 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25533 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25534 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25535 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25536 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25540 * manual/install.texi: Do not mention specific glibc version
25542 * manual/libc.texinfo (VERSION, UPDATED): Update.
25543 (@copying): Use @copyright{} and range of years.
25545 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25548 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25549 [crti.S not in sysdirs] (generated): Do not append.
25550 [crti.S not in sysdirs] (omit-deps): Likewise.
25551 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25552 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25553 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25554 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25555 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25557 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25558 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25559 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25560 * csu/defs.awk: Remove file.
25561 * sysdeps/generic/initfini.c: Likewise.
25562 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25564 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25567 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25569 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25570 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25571 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25573 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25574 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25576 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25577 (__EPOLL_PACKED): Define to empty if not defined by
25579 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25583 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25585 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25586 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25587 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25588 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25590 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25594 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25596 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25599 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25600 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25603 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25608 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25610 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25611 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25613 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25615 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25618 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25620 * math/w_acos.c: Use non-signaling floating-point comparisons.
25621 * math/w_acosf.c: Likewise.
25622 * math/w_acosh.c: Likewise.
25623 * math/w_acoshf.c: Likewise.
25624 * math/w_acoshl.c: Likewise.
25625 * math/w_acosl.c: Likewise.
25626 * math/w_asin.c: Likewise.
25627 * math/w_asinf.c: Likewise.
25628 * math/w_asinl.c: Likewise.
25629 * math/w_atanh.c: Likewise.
25630 * math/w_atanhf.c: Likewise.
25631 * math/w_atanhl.c: Likewise.
25632 * math/w_exp2.c: Likewise.
25633 * math/w_exp2f.c: Likewise.
25634 * math/w_exp2l.c: Likewise.
25635 * math/w_j0.c: Likewise.
25636 * math/w_j0f.c: Likewise.
25637 * math/w_j0l.c: Likewise.
25638 * math/w_j1.c: Likewise.
25639 * math/w_j1f.c: Likewise.
25640 * math/w_j1l.c: Likewise.
25641 * math/w_jn.c: Likewise.
25642 * math/w_jnf.c: Likewise.
25643 * math/w_log.c: Likewise.
25644 * math/w_log10.c: Likewise.
25645 * math/w_log10f.c: Likewise.
25646 * math/w_log10l.c: Likewise.
25647 * math/w_log2.c: Likewise.
25648 * math/w_log2f.c: Likewise.
25649 * math/w_log2l.c: Likewise.
25650 * math/w_logf.c: Likewise.
25651 * math/w_logl.c: Likewise.
25652 * math/w_sqrt.c: Likewise.
25653 * math/w_sqrtf.c: Likewise.
25654 * math/w_sqrtl.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25658 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25659 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25661 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25664 * manual/string.texi (strnlen): Use correct parameter name in
25665 equivalent expression.
25667 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25670 * manual/users.texi (seteuid): Consistently use neweuid for
25673 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25676 * manual/nss.texi (Services in the NSS configuration): Correct
25677 list of services in example configuration file.
25679 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25682 * manual/arith.texi: Remove statements about negative zero
25683 behaving identically to zero.
25685 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25688 * manual/install.texi: Do not document upgrading from libc5.
25690 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25693 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25695 2012-02-18 David S. Miller <davem@davemloft.net>
25697 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25698 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25699 %o7 across the call.
25700 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25703 SETUP_PIC_REG_LEAF.
25704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25705 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25706 * sysdeps/sparc/crtn.S: Likewise.
25708 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25710 * aout/Makefile: Remove.
25712 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25715 * manual/examples/argp-ex1.c (main): Format definition in GNU
25717 * manual/examples/argp-ex2.c (main): Likewise.
25718 * manual/examples/argp-ex3.c (main): Likewise.
25719 * manual/examples/argp-ex4.c (main): Likewise.
25720 * manual/examples/longopt.c (main): Use new-style prototype
25722 * manual/examples/strncat.c (main): Specify return type and use
25723 (void) for arguments.
25724 * manual/examples/subopt.c (main): Use char **argv argument.
25726 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25729 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25732 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25735 * manual/string.texi (strchr): Change when strchrnul is
25738 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25741 * manual/locale.texi (setlocale): Document LOCPATH.
25743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25746 * manual/process.texi (execle): Move @dots{} before last argument.
25748 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25751 * manual/charset.texi (Generic Charset Conversion): Fix typo
25752 (LC_TYPE -> LC_CTYPE).
25754 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25757 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25758 (scalbnf): Likewise.
25759 (scalbnl): Likewise.
25760 (scalbln): Likewise.
25761 (scalblnf): Likewise.
25762 (scalblnl): Likewise.
25763 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25764 (vwarnx): Likewise.
25767 * manual/filesys.texi (telldir): Use braces around return type.
25768 * manual/llio.texi (mmap): Add space after comma.
25769 (mmap64): Likewise.
25770 * manual/math.texi (jn): Use @var{} on parameter names.
25776 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25778 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25780 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25781 (sched_get_priority_max): Likewise.
25782 * manual/signal.texi (sigvec): Add space after comma.
25783 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25785 (if_indextoname): Likewise.
25786 (if_freenameindex): Likewise.
25787 (sendto): Use ',' instead of '.' in prototype.
25788 * manual/startup.texi (syscall): Use @dots{} instead of literal
25790 * manual/stdio.texi (__fpending): Separate initial words of
25791 paragraph from @deftypefun line.
25792 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25794 (vsyslog): Use @var{} on parameter names.
25795 * manual/terminal.texi (stty): Use @var{} on parameter names.
25796 * manual/users.texi (getutmp): Use @var{} on parameter names.
25797 (getutmpx): Likewise.
25799 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25802 * manual/stdio.texi (fopen): Fix typos in description of
25805 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25808 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25809 get clock_id definition.
25811 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25814 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25815 (madvise): Cast every argument to void on its own.
25817 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25820 * manual/startup.texi (Exit Status): Fix typo.
25822 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25825 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25826 * manual/examples/argp-ex2.c: Likewise.
25827 * manual/examples/argp-ex3.c: Likewise.
25829 2012-02-16 Richard Henderson <rth@redhat.com>
25831 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25832 * sysdeps/s390/s390-32/initfini.c: Remove.
25833 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25834 * sysdeps/s390/s390-64/initfini.c: Remove.
25836 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25838 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25839 compiler output for sysdeps/generic/initfini.c.
25840 * sysdeps/sh/elf/initfini.c: Remove file.
25842 2012-02-16 David S. Miller <davem@davemloft.net>
25845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25847 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25848 * sysdeps/sparc/crti.S: New file.
25849 * sysdeps/sparc/crtn.S: New file.
25850 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25851 * sysdeps/sparc/sparc64/Makefile: Likewise.
25853 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25856 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25858 2012-02-15 Roland McGrath <roland@hack.frob.com>
25861 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25863 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25864 (write, read, close): Likewise.
25865 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25867 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25869 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25870 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25871 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25872 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25874 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25878 2012-02-14 Marek Polacek <polacek@redhat.com>
25880 * sysdeps/x86_64/crti.S: New file.
25881 * sysdeps/x86_64/crtn.S: New file.
25882 * sysdeps/x86_64/elf/initfini.c: Remove file.
25884 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25886 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25887 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25888 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25889 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25891 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25895 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25897 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25898 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25899 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25900 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25902 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25906 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25908 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25909 __feraiseexcept instead of feraiseexcept.
25911 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25912 nanosleep invocations.
25913 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25914 strings, and add error checking for a nanosleep invocations.
25916 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25918 Replace FSF snail mail address with URLs, as per GNU coding standards.
25919 Most of the snail mail addresses were wrong anyway, and omitting
25920 them makes the source code easier to maintain. Almost all of the
25921 changes are to license notices and to locale LC_IDENTIFICATION
25922 addresses, except for this one:
25923 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25924 not its snail mail address.
25926 2012-02-09 Richard Henderson <rth@twiddle.net>
25928 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25929 of kernel-features.h.
25931 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25933 2012-02-08 Marek Polacek <polacek@redhat.com>
25935 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25936 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25937 * sysdeps/gnu/_G_config.h: Likewise.
25938 * sysdeps/generic/_G_config.h: Likewise.
25940 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25942 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25946 * sysdeps/powerpc/powerpc32/crti.S: New file.
25947 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25948 * sysdeps/powerpc/powerpc64/crti.S: New file.
25949 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25951 * Makeconfig (have-initfini): Don't set.
25952 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25953 * configure.in (nopic_initfini): Don't substitute.
25954 * config.h.in (HAVE_INITFINI): Don't #undef.
25955 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25956 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25958 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25960 Support crti.S and crtn.S provided directly by architectures.
25961 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25962 [crti.S in sysdirs] (omit-deps): Likewise.
25963 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25964 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25965 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25966 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25967 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25968 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25969 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25970 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25971 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25972 compiler output for sysdeps/generic/initfini.c.
25973 * sysdeps/i386/elf/Makefile: Remove file.
25974 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25976 2012-02-07 Marek Polacek <polacek@redhat.com>
25978 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25979 * sysdeps/gnu/_G_config.h: Likewise.
25980 * sysdeps/mach/hurd/_G_config.h: Likewise.
25982 2012-02-07 Marek Polacek <polacek@redhat.com>
25984 * math/Makefile (tests): Add tst-CMPLX2.
25985 * math/tst-CMPLX2.c: New file.
25987 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25989 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25991 * math/libm-test.inc (jn_test): Add missing L suffix.
25993 2012-02-06 Marek Polacek <polacek@redhat.com>
25995 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25996 * sysdeps/i386/fpu/e_powf.S: Likewise.
25997 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25998 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26000 * sysdeps/i386/fpu/e_pow.S: Likewise.
26001 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26003 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26004 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26005 * sysdeps/i386/fpu/e_log2.S: Likewise.
26006 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26008 * sysdeps/i386/fpu/e_powl.S: Likewise.
26009 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26011 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26012 * sysdeps/i386/fpu/e_logl.S: Likewise.
26013 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26014 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26015 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26016 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26017 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26018 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26019 * sysdeps/i386/fpu/e_log.S: Likewise.
26020 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26022 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26023 * sysdeps/i386/fpu/e_logf.S: Likewise.
26024 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26026 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26027 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26028 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26029 * sysdeps/i386/fpu/e_log10.S: Likewise.
26030 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26031 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26032 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26033 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26034 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26035 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26036 * sysdeps/i386/asm-syntax.h: Likewise.
26037 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26038 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26039 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26040 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26041 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26042 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26043 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26044 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26045 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26046 * sysdeps/powerpc/sysdep.h: Likewise.
26047 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26048 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26050 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26053 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26055 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26057 * sysdeps/i386/sysdep.h: Include <features.h>.
26058 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26061 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26065 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26068 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26070 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26071 (SETUP_PIC_REG): Use GET_PC_THUNK.
26072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26075 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26078 for non-PIC compilation.
26079 (SETUP_PIC_REG): Add .p2align directive.
26080 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26081 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26085 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26086 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26087 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26089 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26090 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26093 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26097 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26098 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26107 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26108 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26109 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26110 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26112 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26115 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26116 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26117 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26118 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26119 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26122 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26124 * math/tst-CMPLX.c: Include <stdio.h>.
26126 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26128 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26130 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26131 * sysdeps/sparc/bits/mathdef.h: Likewise.
26133 2012-01-31 Marek Polacek <polacek@redhat.com>
26135 * libio/libio.h: Don't define _PARAMS.
26136 * locale/programs/config.h: Don't define PARAMS.
26137 * stdlib/strtol_l.c: Likewise.
26138 (__strtol_l): Remove PARAMS from the prototype.
26140 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26142 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26143 names. Just use the correct names. Remove unnecessary wrapper
26145 * malloc/arena.c: Likewise.
26146 * malloc/hooks.c: Likewise.
26148 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26149 ARENA_TEST says not to. Simplify test for creation of a new arena.
26150 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26152 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26154 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26156 (update_get_addr): New function.
26157 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26158 GET_ADDR_MODULE parameter.
26160 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26162 * crypt/cert.c: Remove __STDC__ conditionals.
26163 * crypt/crypt-entry.c: Likewise.
26164 * crypt/crypt_util.c: Likewise.
26165 * libio/filedoalloc.c: Likewise.
26166 * libio/fileops.c: Likewise.
26167 * libio/genops.c: Likewise.
26168 * libio/iofclose.c: Likewise.
26169 * libio/iofdopen.c: Likewise.
26170 * libio/iofopen.c: Likewise.
26171 * libio/iofopen64.c: Likewise.
26172 * libio/iogetdelim.c: Likewise.
26173 * libio/iopopen.c: Likewise.
26174 * libio/obprintf.c: Likewise.
26175 * libio/oldfileops.c: Likewise.
26176 * libio/oldiofclose.c: Likewise.
26177 * libio/oldiofdopen.c: Likewise.
26178 * libio/oldiofopen.c: Likewise.
26179 * libio/oldiopopen.c: Likewise.
26180 * libio/wfiledoalloc.c: Likewise.
26181 * libio/wgenops.c: Likewise.
26182 * locale/programs/xmalloc.c: Likewise.
26183 * misc/syslog.c: Likewise.
26184 * stdio-common/xbug.c: Likewise.
26185 * string/memchr.c: Likewise.
26186 * string/memcmp.c: Likewise.
26187 * string/memrchr.c: Likewise.
26188 * string/rawmemchr.c: Likewise.
26189 * sysdeps/posix/getcwd.c: Likewise.
26190 * time/strftime_l.c: Likewise.
26192 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26194 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26195 * config.make.in (config-cflags-sse2avx): Define.
26196 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26199 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26201 * scripts/config.guess: Update from upstream config git repository.
26202 * scripts/config.sub: Likewise.
26204 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26206 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26208 (R_TILEPRO_*, R_TILEGX_*): New macros.
26210 * scripts/firstversions.awk: Fix bug in version range handling.
26212 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26214 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26216 * include/sys/epoll.h: New file.
26217 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26220 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26222 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26223 Avoid unnecessary __WORDSIZE == 64 test.
26224 (fmaxf): Use VEX format if possible.
26229 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26230 * math/math_private.h: Remove libc_fegetround* and
26232 * sysdeps/i386/configure.in: Check for -msse2avx.
26233 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26234 also if SSE2AVX is defined.
26235 Remove libc_fegetround* and libc_fesetround*.
26236 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26237 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26241 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26242 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26246 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26248 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26250 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26252 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26254 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26257 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26259 * Makeconfig (libm): Define.
26260 * elf/Makefile: Add rules to build and run tst-relsort1.
26261 * elf/tst-relsort1.c: New file.
26262 * elf/tst-relsort1mod1.c: New file.
26263 * elf/tst-relsort1mod2.c: New file.
26265 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26267 * math/s_ldexp.c: Remove __STDC__ conditionals.
26268 * math/s_ldexpf.c: Likewise.
26269 * math/s_ldexpl.c: Likewise.
26270 * math/s_nextafter.c: Likewise.
26271 * math/s_nexttowardf.c: Likewise.
26272 * math/s_significand.c: Likewise.
26273 * math/s_significandf.c: Likewise.
26274 * math/s_significandl.c: Likewise.
26275 * math/w_jnl.c: Likewise.
26276 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26277 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26278 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26279 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26280 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26282 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26285 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26289 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26290 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26293 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26298 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26299 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26300 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26301 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26302 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26303 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26304 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26305 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26306 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26307 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26308 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26309 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26310 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26311 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26312 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26313 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26314 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26315 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26316 * sysdeps/ieee754/k_standard.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26375 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26392 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26396 * sysdeps/ieee754/s_matherr.c: Likewise.
26397 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26398 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26402 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26404 * crypt/md5.h: Remove __STDC__ conditionals.
26405 * libio/libioP.h: Likewise.
26406 * locale/programs/config.h: Likewise.
26407 * sysdeps/generic/sysdep.h: Likewise.
26408 * sysdeps/i386/asm-syntax.h: Likewise.
26409 * sysdeps/s390/asm-syntax.h: Likewise.
26410 * sysdeps/unix/sysdep.h: Likewise.
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26414 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26416 * libio/libio.h: Remove __STDC__ conditionals.
26417 * malloc/obstack.h: Likewise.
26418 * math/complex.h: Likewise.
26419 * math/math.h: Likewise.
26420 * sysdeps/generic/_G_config.h: Likewise.
26421 * sysdeps/gnu/_G_config.h: Likewise.
26422 * sysdeps/mach/hurd/_G_config.h: Likewise.
26423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26424 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26425 * sysdeps/sparc/bits/mathdef.h: Likewise.
26427 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26430 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26431 Clean up HAS_* macros.
26432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26433 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26437 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26438 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26440 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26441 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26443 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26445 * elf/tst-unique3.cc (gets): Remove declaration.
26446 * elf/tst-unique3lib.cc (gets): Likewise.
26447 * elf/tst-unique3lib2.cc (gets): Likewise.
26448 * elf/tst-unique4.cc (gets): Likewise.
26450 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26452 * include/stdio.h: Add C++ protection. Add gets declarations and
26454 * debug/tst-chk1.c: Don't declare gets here.
26455 * stdio-common/tst-gets.c: Likewise.
26457 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26459 * posix/glob: Remove directory.
26461 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26463 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26465 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26467 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26468 of the non-standard EPFNOSUPPORT.
26470 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26472 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26473 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26474 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26476 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26478 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26480 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26482 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26484 * nscd/grpcache.c (cache_addgr): Likewise.
26485 * nscd/hstcache.c (cache_addhst): Likewise.
26486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26487 * nscd/pwdcache.c (cache_addpw): Likewise.
26488 * nscd/servicescache.c (cache_addserv): Likewise.
26490 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26492 * malloc/malloc.c: Various cleanups.
26493 * malloc/hooks.c: Likewise.
26495 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26496 * stdlib/bug-fmtmsg1.c: New file.
26498 * stdlib/fmtmsg.c (init): Add missing unlock.
26499 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26501 2012-01-12 Marek Polacek <polacek@redhat.com>
26503 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26506 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26508 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26509 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26510 macro to ensure uniqueness of label name.
26511 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26512 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26514 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26516 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26518 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26519 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26523 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26527 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26528 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26529 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26531 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26534 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26535 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26538 * math/bits/math-finite.h: Add ldexp support.
26540 2012-01-10 Marek Polacek <polacek@redhat.com>
26542 * locale/programs/localedef.h (show_archive_content): Add noreturn
26545 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26547 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26551 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26553 * io/Makefile (headers): Add bits/poll2.h.
26555 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26558 typo #include statement.
26560 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26562 * include/sys/cdefs.h: Define __attribute_alloc_size.
26563 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26564 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26565 * elf/pldd.c: Likewise.
26566 * iconv/iconv_charmap.c: Likewise.
26567 * iconv/iconvconfig.c: Likewise.
26568 * iconv/strtab.c: Likewise.
26569 * locale/programs/locale.c: Likewise.
26570 * locale/programs/localedef.h: Likewise.
26571 * locale/programs/simple-hash.c: Likewise.
26572 * nscd/nscd.h: Likewise.
26573 * nss/makedb.c: Likewise.
26574 * sysdeps/generic/ldconfig.h: Likewise.
26575 * locale/programs/localedef.c: Remove xmalloc prototype.
26576 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26578 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26583 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26585 * math/Makefile (tests): Add tst-CMPLX.
26586 * math/tst-CMPLX.c: New file.
26588 * math/complex.h (CMPLXL): Fix typo.
26590 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26591 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26593 * debug/tst-chk1.c: Add poll and ppoll tests.
26594 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26595 * include/sys/poll.h: Add hidden proto for ppoll.
26596 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26597 * sysdeps/mach/hurd/ppoll.c: Likewise.
26598 * io/ppoll.c: Likewise.
26599 * debug/poll_chk.c: New file.
26600 * debug/ppoll_chk.c: New file.
26601 * include/bits/poll2.h: New file.
26602 * io/bits/poll2.h: New file.
26605 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26607 * configure.in: static is always set to yes. Remove.
26608 * config.make.in: Don't set build-static.
26609 * Makeconfig: Remove use of build-static.
26610 * dlfcn/Makefile: Likewise.
26611 * elf/Makefile: Likewise.
26612 * math/Makefile: Likewise.
26613 * misc/Makefile: Likewise.
26614 * nptl/Makefile: Likewise.
26615 * sysdeps/mach/hurd/Makefile: Likewise.
26617 * configure.in: PWD_P is not used anymore.
26618 * config.make.in: Remove PWD_P entry.
26620 * configure.in: Remove last remnants of RANLIB.
26621 No need to check for signed size_t anymore.
26622 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26624 Remove __builtin_expect test because we require at least gcc 3.4.
26625 * aclocal.m4: Likewise.
26627 * wcsmbs/mbrtoc16.c: Implement using towc function.
26628 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26629 * wcsmbs/wcsmbsload.c: Likewise.
26630 * iconv/gconv_simple.c: Likewise.
26631 * iconv/gconv_int.h: Likewise.
26632 * iconv/gconv_builtin.h: Likewise.
26633 * iconv/iconv_prog.c: Remove CHAR16 handling.
26635 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26637 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26639 * configure.in: Remove --with-elf and --enable-bounded options.
26640 Dont set base_machine for ia64. More non-ELF conditions removed.
26641 Remove testing and setting of leading underscore information.
26642 * config.make.in (build-bounded): Set to no.
26643 * config.h.in: Remove NO_UNDERSCORES entry.
26644 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26646 * csu/start.c: Remove !NO_UNDERSCORE code.
26647 * locale/localeinfo.h: Likewise.
26648 * sysdeps/generic/machine-gmon.h: Likewise.
26649 * sysdeps/generic/sysdep.h: Likewise.
26650 * sysdeps/i386/sysdep.h: Likewise.
26651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26652 * sysdeps/mach/sysdep.h: Likewise.
26653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26654 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26655 * sysdeps/sh/sysdep.h: Likewise.
26656 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26657 * sysdeps/unix/i386/sysdep.S: Likewise.
26658 * sysdeps/unix/sparc/start.c: Likewise.
26659 * sysdeps/unix/sparc/sysdep.S: Likewise.
26660 * sysdeps/unix/sparc/sysdep.h: Likewise.
26661 * sysdeps/unix/start.c: Likewise.
26662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26663 * sysdeps/x86_64/sysdep.h: Likewise.
26665 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26668 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26670 * argp/argp-fmtstream.h: Use const instead __const.
26671 * argp/argp.h: Likewise.
26672 * assert/assert.h: Likewise.
26673 * bits/fenv.h: Likewise.
26674 * bits/sched.h: Likewise.
26675 * bits/sigset.h: Likewise.
26676 * bits/sigthread.h: Likewise.
26677 * catgets/nl_types.h: Likewise.
26678 * conform/data/pthread.h-data: Likewise.
26679 * crypt/crypt-private.h: Likewise.
26680 * crypt/crypt.h: Likewise.
26681 * crypt/crypt_util.c: Likewise.
26682 * ctype/ctype.h: Likewise.
26683 * debug/execinfo.h: Likewise.
26684 * debug/mbsnrtowcs_chk.c: Likewise.
26685 * debug/mbsrtowcs_chk.c: Likewise.
26686 * debug/wcsnrtombs_chk.c: Likewise.
26687 * debug/wcsrtombs_chk.c: Likewise.
26688 * debug/wcstombs_chk.c: Likewise.
26689 * dirent/dirent.h: Likewise.
26690 * dlfcn/dlfcn.h: Likewise.
26691 * elf/neededtest4.c: Likewise.
26692 * grp/grp.h: Likewise.
26693 * gshadow/gshadow.h: Likewise.
26694 * iconv/gconv.h: Likewise.
26695 * iconv/gconv_int.h: Likewise.
26696 * iconv/gconv_simple.c: Likewise.
26697 * iconv/iconv.h: Likewise.
26698 * iconv/loop.c: Likewise.
26699 * iconv/skeleton.c: Likewise.
26700 * include/aio.h: Likewise.
26701 * include/aliases.h: Likewise.
26702 * include/argz.h: Likewise.
26703 * include/arpa/inet.h: Likewise.
26704 * include/assert.h: Likewise.
26705 * include/dirent.h: Likewise.
26706 * include/dlfcn.h: Likewise.
26707 * include/execinfo.h: Likewise.
26708 * include/fcntl.h: Likewise.
26709 * include/fenv.h: Likewise.
26710 * include/glob.h: Likewise.
26711 * include/grp.h: Likewise.
26712 * include/libintl.h: Likewise.
26713 * include/mntent.h: Likewise.
26714 * include/netdb.h: Likewise.
26715 * include/pwd.h: Likewise.
26716 * include/rpc/netdb.h: Likewise.
26717 * include/sched.h: Likewise.
26718 * include/search.h: Likewise.
26719 * include/shadow.h: Likewise.
26720 * include/signal.h: Likewise.
26721 * include/stdio.h: Likewise.
26722 * include/stdlib.h: Likewise.
26723 * include/string.h: Likewise.
26724 * include/sys/socket.h: Likewise.
26725 * include/sys/stat.h: Likewise.
26726 * include/sys/statfs.h: Likewise.
26727 * include/sys/statvfs.h: Likewise.
26728 * include/sys/syslog.h: Likewise.
26729 * include/sys/time.h: Likewise.
26730 * include/sys/uio.h: Likewise.
26731 * include/time.h: Likewise.
26732 * include/unistd.h: Likewise.
26733 * include/utmp.h: Likewise.
26734 * include/wchar.h: Likewise.
26735 * include/wctype.h: Likewise.
26736 * inet/aliases.h: Likewise.
26737 * inet/arpa/inet.h: Likewise.
26738 * inet/netinet/ether.h: Likewise.
26739 * inet/netinet/in.h: Likewise.
26740 * intl/libintl.h: Likewise.
26741 * io/bits/fcntl2.h: Likewise.
26742 * io/fcntl.h: Likewise.
26743 * io/ftw.h: Likewise.
26744 * io/sys/poll.h: Likewise.
26745 * io/sys/stat.h: Likewise.
26746 * io/sys/statfs.h: Likewise.
26747 * io/sys/statvfs.h: Likewise.
26748 * io/utime.h: Likewise.
26749 * libio/bits/stdio.h: Likewise.
26750 * libio/bits/stdio2.h: Likewise.
26751 * libio/libio.h: Likewise.
26752 * libio/libioP.h: Likewise.
26753 * libio/stdio.h: Likewise.
26754 * locale/lc-ctype.c: Likewise.
26755 * locale/locale.h: Likewise.
26756 * login/utmp.h: Likewise.
26757 * malloc/arena.c: Likewise.
26758 * malloc/malloc.c: Likewise.
26759 * malloc/malloc.h: Likewise.
26760 * malloc/mcheck.c: Likewise.
26761 * malloc/mtrace.c: Likewise.
26762 * math/bits/mathcalls.h: Likewise.
26763 * math/fenv.h: Likewise.
26764 * math/math_private.h: Likewise.
26765 * misc/bits/error.h: Likewise.
26766 * misc/bits/syslog.h: Likewise.
26767 * misc/err.h: Likewise.
26768 * misc/error.h: Likewise.
26769 * misc/fstab.h: Likewise.
26770 * misc/mntent.h: Likewise.
26771 * misc/regexp.h: Likewise.
26772 * misc/search.h: Likewise.
26773 * misc/sgtty.h: Likewise.
26774 * misc/sys/mman.h: Likewise.
26775 * misc/sys/syslog.h: Likewise.
26776 * misc/sys/uio.h: Likewise.
26777 * misc/sys/xattr.h: Likewise.
26778 * misc/ttyent.h: Likewise.
26779 * nis/rpcsvc/ypclnt.h: Likewise.
26780 * nss/nss.h: Likewise.
26781 * posix/bits/unistd.h: Likewise.
26782 * posix/fnmatch.h: Likewise.
26783 * posix/glob.h: Likewise.
26784 * posix/sched.h: Likewise.
26785 * posix/spawn.h: Likewise.
26786 * posix/sys/wait.h: Likewise.
26787 * posix/unistd.h: Likewise.
26788 * posix/wordexp.h: Likewise.
26789 * pwd/pwd.h: Likewise.
26790 * resolv/netdb.h: Likewise.
26791 * resource/sys/resource.h: Likewise.
26792 * rt/aio.h: Likewise.
26793 * rt/bits/mqueue2.h: Likewise.
26794 * rt/mqueue.h: Likewise.
26795 * shadow/shadow.h: Likewise.
26796 * signal/signal.h: Likewise.
26797 * socket/send.c: Likewise.
26798 * socket/sendto.c: Likewise.
26799 * socket/sys/socket.h: Likewise.
26800 * stdio-common/printf.h: Likewise.
26801 * stdlib/bits/stdlib.h: Likewise.
26802 * stdlib/fmtmsg.h: Likewise.
26803 * stdlib/monetary.h: Likewise.
26804 * stdlib/stdlib.h: Likewise.
26805 * stdlib/ucontext.h: Likewise.
26806 * streams/stropts.h: Likewise.
26807 * string/argz.h: Likewise.
26808 * string/bits/string2.h: Likewise.
26809 * string/string.h: Likewise.
26810 * string/strings.h: Likewise.
26811 * sunrpc/rpc/auth.h: Likewise.
26812 * sunrpc/rpc/auth_des.h: Likewise.
26813 * sunrpc/rpc/clnt.h: Likewise.
26814 * sunrpc/rpc/netdb.h: Likewise.
26815 * sunrpc/rpc/pmap_clnt.h: Likewise.
26816 * sunrpc/rpc/xdr.h: Likewise.
26817 * sysdeps/generic/inttypes.h: Likewise.
26818 * sysdeps/generic/net/if.h: Likewise.
26819 * sysdeps/generic/sys/swap.h: Likewise.
26820 * sysdeps/gnu/net/if.h: Likewise.
26821 * sysdeps/gnu/utmpx.h: Likewise.
26822 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26823 * sysdeps/i386/i486/bits/string.h: Likewise.
26824 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26825 * sysdeps/s390/bits/string.h: Likewise.
26826 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26827 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26828 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26829 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26830 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26831 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26832 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26833 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26834 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26835 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26836 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26837 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26838 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26839 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26840 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26841 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26842 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26846 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26847 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26848 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26849 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26850 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26851 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26852 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26853 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26854 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26856 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26857 * sysvipc/sys/ipc.h: Likewise.
26858 * sysvipc/sys/msg.h: Likewise.
26859 * sysvipc/sys/sem.h: Likewise.
26860 * sysvipc/sys/shm.h: Likewise.
26861 * termios/termios.h: Likewise.
26862 * time/sys/time.h: Likewise.
26863 * time/time.h: Likewise.
26864 * wcsmbs/bits/wchar2.h: Likewise.
26865 * wcsmbs/uchar.h: Likewise.
26866 * wcsmbs/wchar.h: Likewise.
26867 * wctype/wctype.h: Likewise.
26870 * Makeconfig: Remove all but ELF support including AIX support.
26871 * Makerules: Likewise.
26872 * config.h.in: Likewise.
26873 * config.make.in: Likewise.
26874 * configure: Likewise.
26875 * configure.in: Likewise.
26876 * csu/Makefile: Likewise.
26877 * csu/version.c: Likewise.
26878 * debug/Makefile: Likewise.
26879 * dlfcn/Makefile: Likewise.
26880 * elf/Makefile: Likewise.
26881 * extra-lib.mk: Likewise.
26882 * iconv/Makefile: Likewise.
26883 * include/libc-symbols.h: Likewise.
26884 * include/shlib-compat.h: Likewise.
26885 * resolv/Makefile: Likewise.
26886 * resolv/res_libc.c: Likewise.
26887 * rt/Makefile: Likewise.
26888 * sysdeps/i386/asm-syntax.h: Likewise.
26889 * sysdeps/i386/sysdep.h: Likewise.
26890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26891 * sysdeps/mach/sysdep.h: Likewise.
26892 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26893 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26894 * sysdeps/s390/asm-syntax.h: Likewise.
26895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26897 * sysdeps/sh/sysdep.h: Likewise.
26898 * sysdeps/unix/sparc/sysdep.h: Likewise.
26899 * sysdeps/wordsize-32/divdi3.c: Likewise.
26900 * sysdeps/x86_64/sysdep.h: Likewise.
26902 * argp/Versions: Remove _argp_unlock_xxx.
26905 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26906 * abilist/libBrokenLocale.abilist: Likewise.
26907 * abilist/libanl.abilist: Likewise.
26908 * abilist/libc.abilist: Likewise.
26909 * abilist/libcrypt.abilist: Likewise.
26910 * abilist/libdl.abilist: Likewise.
26911 * abilist/libm.abilist: Likewise.
26912 * abilist/libnsl.abilist: Likewise.
26913 * abilist/libpthread.abilist: Likewise.
26914 * abilist/libresolv.abilist: Likewise.
26915 * abilist/librt.abilist: Likewise.
26916 * abilist/libthread_db.abilist: Likewise.
26917 * abilist/libutil.abilist: Likewise.
26918 * abilist/libnss_db.abilist: New file.
26920 * scripts/abilist.awk: Add support for indirect functions.
26922 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26924 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26926 * shlib-versions: Remove entries for ports architectures.
26928 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26930 * elf/stackguard-macros.h: Remove support for IA-64.
26931 * elf/tst-auditmod1.c: Likewise.
26932 * sysdeps/generic/ldsodefs.h: Likewise.
26934 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26935 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26939 * configure.in: Remove --enable-omitfp support.
26941 * config.make.in: Likewise.
26942 * Makeconfig: Likewise.
26943 * manual/install.texi: Likewise.
26945 In case anyone cares, the IA-64 architecture could move to ports.
26946 * sysdeps/ia64/*: Removed.
26947 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26948 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26951 * configure.in: Remove entries for unsupported architectures.
26954 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26955 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26957 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26958 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26959 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26960 fall back to using wcrtomb.
26961 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26962 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26964 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26965 * wcsmbs/tst-c16c32-1.c: New file.
26967 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26970 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26972 * elf/tst-unique3.cc: Add explicit declaration of gets.
26973 * elf/tst-unique3lib.cc: Likewise.
26974 * elf/tst-unique3lib2.cc: Likewise.
26975 * elf/tst-unique4.cc: Likewise.
26977 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26979 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26982 * assert/assert.h (static_assert): Don't define for C++.
26983 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26984 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26986 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26988 * iconv/loop.c (single loop): Fix assertion in storing of
26991 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26993 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26995 * posix/getconf.c: Update copyright year.
26996 * nss/getent.c: Likewise.
26997 * nss/makedb.c: Likewise.
26998 * iconv/iconvconfig.c: Likewise.
26999 * iconv/iconv_prog.c: Likewise.
27000 * elf/ldconfig.c: Likewise.
27001 * elf/pldd.c: Likewise.
27002 * elf/sotruss.ksh: Likewise.
27003 * catgets/gencat.c: Likewise.
27004 * csu/version.c: Likewise.
27005 * elf/ldd.bash.in: Likewise.
27006 * elf/sprof.c (print_version): Likewise.
27007 * locale/programs/locale.c: Likewise.
27008 * locale/programs/localedef.c: Likewise.
27009 * login/programs/pt_chown.c: Likewise.
27010 * nscd/nscd.c (print_version): Likewise.
27011 * debug/xtrace.sh: Likewise.
27012 * malloc/memusage.sh: Likewise.
27013 * malloc/mtrace.pl: Likewise.
27014 * debug/catchsegv.sh: Likewise.
27016 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27018 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27021 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27024 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27025 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27027 * iconv/gconv_int.h: Likewise.
27028 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27029 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27030 from libc for GLIBC_2.16.
27031 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27032 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27033 * wcsmbs/uchar.h: Really define mbstate_t.
27034 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27035 * wcsmbs/c16rtomb.c: New file.
27036 * wcsmbs/mbrtoc16.c: New file.
27037 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27038 for C/POSIX locale.
27039 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27040 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27042 * wcsmbs/wchar.h: Add missing __restrict.
27044 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27047 * time/Makefile (routines): Add timespec_get.
27048 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27049 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27050 timespec for ISO C11.
27051 * time/timespec_get.c: New file.
27052 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27053 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27056 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27057 * stdlib/stdlib.h: Declare aligned_alloc.
27058 * Versions.def: Add GLIBC_2.16 for libc.
27059 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27062 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27065 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27069 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27072 * assert/assert.h (static_assert): Define.
27074 * version.h: Update for 2.16 development version.
27077 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27080 * version.h (RELEASE): Bump for 2.15 release.
27081 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27083 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27084 Patch by Marek Polacek <mpolacek@redhat.com>.
27086 * bits/byteswap.h: Protect long long constants with __extension__.
27087 * sysdeps/i386/bits/byteswap.h: Likewise.
27088 * sysdeps/ia64/bits/byteswap.h: Likewise.
27089 * sysdeps/s390/bits/byteswap.h: Likewise.
27090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27092 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27096 destination buffer.
27097 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27099 2011-12-23 Marek Polacek <polacek@redhat.com>
27101 * elf/dl-addr.c (determine_info): Add inline keyword.
27102 * elf/tst-auditmod4b.c (check_avx): Likewise.
27103 * elf/tst-auditmod6b.c (check_avx): Likewise.
27104 * elf/tst-auditmod6c.c (check_avx): Likewise.
27105 * elf/tst-auditmod7b.c (check_avx): Likewise.
27107 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27109 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27112 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27115 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27116 processing for last bytes.
27118 2011-08-06 Bruno Haible <bruno@clisp.org>
27121 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27122 U+0385, not to U+1FEE.
27125 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27126 entry for U+00A5 U+0301.
27128 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27131 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27132 buffer for the output is too small.
27134 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27138 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27139 SSE flags if possible.
27141 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27145 processing for last bytes.
27147 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27149 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27150 (syscall-list-default-options, syscall-list-default-condition)
27151 (syscall-list-includes): Define.
27152 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27153 list of ABIs and options and #if conditions for each ABI. Do not
27154 handle common syscalls between ABIs specially.
27155 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27157 (syscall-list-variants, syscall-list-32bit-options)
27158 (syscall-list-32bit-condition, syscall-list-64bit-options)
27159 (syscall-list-64bit-condition): Define.
27160 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27161 (syscall-list-variants, syscall-list-32bit-options)
27162 (syscall-list-32bit-condition, syscall-list-64bit-options)
27163 (syscall-list-64bit-condition): Define.
27164 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27166 (syscall-list-variants, syscall-list-32bit-options)
27167 (syscall-list-32bit-condition, syscall-list-64bit-options)
27168 (syscall-list-64bit-condition): Define.
27169 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27171 (syscall-list-variants, syscall-list-32bit-options)
27172 (syscall-list-32bit-condition, syscall-list-64bit-options)
27173 (syscall-list-64bit-condition): Define.
27175 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27177 * locale/iso-639.def: Add brx entry.
27180 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27181 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27183 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27184 __feraiseexcept_renamed.
27186 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27189 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27190 EPOLLET with unsigned values.
27191 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27194 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27195 to large cancellation.
27196 * math/s_cacoshf.c: Likewise.
27197 * math/s_cacoshl.c: Likewise.
27199 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27203 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27204 * math/s_cacoshf.c: Likewise.
27205 * math/s_cacoshl.c: Likewise.
27207 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27210 * iconv/gconv.h: Define __GCONV_SWAP.
27211 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27212 * iconvdata/utf-16.c: Likewise.
27213 * iconvdata/utf-32.c: Likewise.
27215 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27219 numerator after shifting it by one limb.
27221 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27224 under [__USE_EXTERN_INLINES].
27226 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27229 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27231 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27233 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27234 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27236 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27237 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27238 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27239 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27240 for strncasecmp/strncasecmp_l compilation.
27241 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27242 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27244 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27247 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27250 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27253 * time/tzfile.c (__tzfile_read): Check values from file header.
27255 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27257 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27258 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27259 * powerpc/powerpc32/dl-start.S: Likewise.
27260 * powerpc/powerpc32/elf/start.S: Likewise.
27261 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27262 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27263 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27264 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27265 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27266 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27267 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27268 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27269 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27270 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27271 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27272 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27273 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27274 * powerpc/powerpc32/memset.S: Likewise.
27275 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27276 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27277 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27278 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27279 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27280 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27281 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27282 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27283 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27284 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27285 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27286 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27287 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27289 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27291 * math/libm-test.inc: Added more nearbyint tests.
27292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27297 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27299 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27302 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27304 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27305 Add wcscpy-ssse3 wcscpy-c.
27306 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27307 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27308 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27309 * sysdeps/x86_64/wcschr.S: New file.
27310 * sysdeps/x86_64/wcsrchr.S: New file.
27311 * string/test-strcmp.c: Remove checking of wcscmp function for
27313 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27314 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27315 wcsrchr-sse2 wcsrchr-c.
27316 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27317 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27318 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27319 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27320 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27321 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27322 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27323 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27324 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27325 * wcsmbc/wcschr.c (WCSCHR): New macro.
27327 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27329 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27330 * wcsmbs/test-wcsrchr.c: New file.
27331 * string/test-strrchr.c: Add wcsrchr support.
27333 * wcsmbs/test-wcscpy.c: New file.
27334 * string/test-strcpy.c: Add wcscpy support.
27337 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27342 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27345 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27347 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27350 Minor optimizations.
27352 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27353 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27354 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27356 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27358 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27359 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27360 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27361 for gcc to avoid warnings.
27362 * inet/Makefile (tests): Add tst-checks.
27363 * inet/tst-checks.c: New file.
27365 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27368 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27371 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27372 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27374 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27376 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27378 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27381 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27383 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27385 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27386 conditional on GCC version.
27387 (__arch_compare_and_exchange_val_8_acq)
27388 (__arch_compare_and_exchange_val_16_acq)
27389 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27390 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27391 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27393 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27395 * sysdeps/sh/backtrace.c: New file.
27397 2011-12-02 Andreas Schwab <schwab@redhat.com>
27399 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27402 2011-12-01 Andreas Schwab <schwab@redhat.com>
27404 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27405 falling back to utime.
27407 2011-11-30 Andreas Schwab <schwab@redhat.com>
27409 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27410 expectations for float.
27412 2011-11-29 Andreas Schwab <schwab@redhat.com>
27414 * locale/weight.h (findidx): Add parameter len.
27415 * locale/weightwc.h (findidx): Likewise.
27416 * posix/fnmatch_loop.c (FCT): Adjust caller.
27417 * posix/regcomp.c (build_equiv_class): Likewise.
27418 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27419 * posix/regexec.c (check_node_accept_bytes): Likewise.
27420 * string/strcoll_l.c (STRCOLL): Likewise.
27421 * string/strxfrm_l.c (STRXFRM): Likewise.
27423 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27425 * Makefile.in: Remove CVSOPT handling.
27426 * configure.in: Remove use of AC_REVISION.
27427 * iconvdata/Makefile (distribute): No need to filter out CVS.
27428 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27431 2011-11-16 Andreas Schwab <schwab@redhat.com>
27433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27434 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27435 [USE_AS_STRNCASECMP_L]: Likewise.
27436 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27437 NO_TLS_DIRECT_SEG_REFS.
27438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27439 Fix argument offsets for non-PIC.
27440 [USE_AS_STRNCASECMP_L]: Likewise.
27441 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27442 NO_TLS_DIRECT_SEG_REFS.
27444 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27446 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27448 * locale/loadlocale.c (_nl_load_locale): Likewise.
27450 2011-11-15 Andreas Schwab <schwab@redhat.com>
27452 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27453 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27454 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27455 (SYSCALL_GETTIME): Set errno on error.
27457 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27458 count references to noai6ai_cached.
27460 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27462 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27464 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27465 FD_CLOEXEC for /proc/self/maps.
27467 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27468 FD_CLOEXEC for /proc/meminfo.
27470 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27473 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27474 FD_CLOEXEC for given file.
27476 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27478 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27479 FD_CLOEXEC for /etc/hosts.
27480 (_gethtent): Likewise.
27482 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27484 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27485 cancellation and set FD_CLOEXEC for /etc/netgroup.
27487 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27488 reading /etc/publickey.
27490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27491 allow cancellation when reading /etc/group.
27493 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27495 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27497 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27498 when using data file.
27500 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27502 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27503 (write_nis_obj): Use "c" and "e" in fopen.
27505 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27507 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27509 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27511 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27513 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27516 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27518 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27520 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27522 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27523 file parsing and set FD_CLOEXEC.
27525 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27527 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27529 2011-11-14 Andreas Schwab <schwab@redhat.com>
27531 * malloc/arena.c (arena_get2): Don't call reused_arena when
27532 _int_new_arena failed.
27534 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27537 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27541 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27542 to compile strcasecmp and strncasecmp.
27543 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27544 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27548 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27550 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27551 locale-defines.sym to gen-as-const-headers.
27552 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27553 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27555 to compile strcasecmp and strncasecmp.
27556 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27557 strcasecmp_l and strncasecmp_l.
27558 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27559 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27560 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27561 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27562 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27563 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27564 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27565 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27566 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27567 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27568 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27570 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27572 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27573 result of SYSDEP_GETTIME_CPU to retval.
27574 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27575 parameter list to macro. Remove trailing semicolon. Adjust users.
27577 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27580 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27582 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27584 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27585 from unused variable.
27587 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27589 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27592 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27595 * sunrpc/rpc_prot.c (rejected): Fix case value.
27597 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27598 unsigned long long int to avoid warnings in shift.
27600 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27602 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27605 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27606 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27607 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27609 * nis/nis_table.c (nis_list): Use variable of correct type for
27610 result of __follow_path call.
27612 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27614 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27615 of math functions ceil, trunc, floor, round, and sqrt, when
27616 avaliable on the platform.
27617 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27619 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27620 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27621 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27623 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27625 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27626 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27628 2011-11-11 Roland McGrath <roland@hack.frob.com>
27630 * include/unistd.h: Fix __readlink return type.
27631 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27633 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27635 * stdlib/ucontext.h: Undo last change for makecontext.
27637 2011-11-11 Andreas Schwab <schwab@redhat.com>
27639 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27641 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27642 * setjmp/setjmp.h: Mark functions as non-leaf.
27643 * setjmp/bits/setjmp2.h: Likewise.
27644 * stdlib/ucontext.h: Likewise.
27646 2011-11-10 Andreas Schwab <schwab@redhat.com>
27648 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27649 (reused_arena): Don't check arena limit.
27650 (arena_get2): Atomically check arena limit.
27652 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27654 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27655 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27660 2011-11-07 Andreas Schwab <schwab@redhat.com>
27662 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27663 handler when locking.
27665 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27666 Fix size of allocated buffer.
27668 2011-11-04 Andreas Schwab <schwab@redhat.com>
27671 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27672 declarations for long double functions.
27673 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27675 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27677 2011-11-03 Andreas Schwab <schwab@redhat.com>
27679 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27682 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27685 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27687 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27689 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27691 * include/alloca.h (stackinfo_alloca_round): Define.
27692 (extend_alloca): Use it.
27693 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27694 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27697 * scripts/check-local-headers.sh: Ignore libaudit.h.
27699 * nscd/Makefile (extra-objs): Make recursively expanded.
27701 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27703 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27706 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27707 * posix/tst-rfc3484-2.c: Likewise.
27708 * posix/tst-rfc3484-3.c: Likewise.
27710 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27712 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27714 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27715 process_vm_writev from libc using GLIBC_2.15 version.
27717 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27719 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27721 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27724 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27727 * nss/getent.c (initgroups_keys): Show error message in case no group
27730 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27731 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27732 __bump_nl_timestamp.
27733 * nscd/connections (nscd_init): When host database is served open
27734 netlink socket and request notification about configuration changes.
27735 (main_loop_poll): Track netlink file descriptor and bump timestamp
27736 in case data becomes available.
27737 (main_loop_epoll): Likewise.
27738 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27739 (database_pers_head): Add extra_data fileds.
27740 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27741 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27742 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27745 in6ai data, call __free_in6ai.
27746 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27747 Add -DHAVE_NETLINK.
27748 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27749 interface information. Reuse previous data if netlink timestamp
27751 (__bump_nl_timestamp): New function.
27752 (__free_in6ai): New function.
27754 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27756 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27757 close_not_cancel_no_status here.
27758 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27760 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27763 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27766 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27767 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27768 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27770 2011-07-03 Andreas Jaeger <aj@suse.de>
27773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27774 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27775 * math/libm-test.inc (sin_test): Add test case.
27777 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27780 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27781 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27783 * elf/chroot_canon.c (chroot_canon): Cleanups.
27785 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27788 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27789 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27791 * string/test-strchr.c: Make usable for strchrnul testing.
27792 * string/test-strchrnul.c: New file.
27793 * string/Makefile (strop-tests): Add strchrnul.
27795 * po/it.po: Update from translation team.
27796 * po/es.po: Likewise.
27798 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27801 the three constants needed as parameters. Drop the others.
27802 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27803 __m128i_strloadu_tolower.
27804 Create and initialize variable zero and use it in all the places
27805 where _mm_setzero_si128 was used.
27807 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27808 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27809 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27812 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27813 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27814 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27815 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27817 __mpranred, __mptan.
27818 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27819 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27820 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27821 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27825 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27826 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27828 2011-10-28 Andreas Schwab <schwab@redhat.com>
27830 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27831 redefine if SHARED.
27832 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27835 wide char related routines to wcsmbs subdir.
27837 2011-10-27 Andreas Schwab <schwab@redhat.com>
27840 * misc/sys/cdefs.h (__THROWNL): Define.
27841 * posix/unistd.h: Use __THREADNL instead of __THREAD
27842 for memory synchronization functions.
27844 2011-10-26 Roland McGrath <roland@hack.frob.com>
27847 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27849 * manual/stdio.texi (Obstack Streams): Node removed.
27851 2011-10-26 Andreas Schwab <schwab@redhat.com>
27853 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27855 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27857 * math/math_private.h (math_force_eval): Allow non-addressable
27859 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27861 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27864 file is not needed.
27866 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27867 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27873 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27875 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27876 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27877 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27878 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27879 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27880 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27881 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27883 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27884 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27885 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27886 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27888 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27889 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27890 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27891 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27892 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27893 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27895 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27896 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27899 place. Use VEX encoding when compiling for AVX.
27901 2011-10-25 Andreas Schwab <schwab@redhat.com>
27903 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27904 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27906 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27908 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27910 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27911 useless if() expression.
27912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27921 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27922 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27923 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27924 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27926 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27927 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27932 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27934 2011-10-25 Andreas Schwab <schwab@redhat.com>
27936 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27938 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27940 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27942 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27943 .text section. Avoid duplicate constants.
27944 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27946 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27954 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27956 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27959 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27961 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27968 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27973 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27984 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27985 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27986 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27990 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27992 * sysdeps/x86_64/dla.h: Move to ...
27993 * sysdeps/x86_64/fpu/dla.h: ...here.
27994 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27995 situations. Use __builtin_fma only for gcc 4.6 and up.
27997 * config.make.in: Add have-mfma4 entry.
27998 * configure.in: Substitute libc_cv_cc_fma4.
27999 * math/Makefile (dbl-only-routines): Add sincostab.
28000 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28001 Use __sincostab not sincos.
28002 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28009 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28010 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28011 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28012 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28015 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28017 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28018 define aliases when function name is a macro.
28019 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28020 sysdeps/ieee754/dbl-64/sincos.tbl.
28021 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28022 fma4-enabled routines.
28023 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28024 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28025 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28026 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28027 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28028 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28032 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28033 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28035 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28036 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28037 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28038 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28039 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28040 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28041 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28042 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28043 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28044 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28047 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28050 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28052 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28054 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28065 2011-10-24 Andreas Schwab <schwab@redhat.com>
28067 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28069 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28073 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28075 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28077 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28078 Remove unused variable magic_bits.
28079 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28081 * string/strnlen.c: Define and use STRNLEN macro.
28082 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28083 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28085 * wcsmbs/wcslen.c: Define and use WCSLEN.
28086 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28087 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28088 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28089 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28090 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28091 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28092 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28094 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28097 strnlen-sse2-no-bsf.
28098 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28100 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28101 Add strnlen support.
28102 (USE_AS_STRNLEN): New macro.
28103 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28104 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28105 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28106 * sysdeps/x86_64/wcslen.S: New file.
28108 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28111 XMM-moves are used for copying on small sizes.
28113 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28115 * wcsmbs/Makefile (strop-tests): Add wcschr.
28116 * wcsmbs/test-wcschr.c: New file.
28117 * string/test-strchr.c: Update.
28118 Add wcschr support.
28121 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28123 * wcsmbs/Makefile (strop-tests): Add wcslen.
28124 * wcsmbs/test-wcslen.c: New file.
28125 * string/test-strlen.c: Update.
28126 Add wcslen support.
28129 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28131 * po/it.po: Update from translation team.
28133 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28135 * sysdeps/x86_64/wcscmp.S: Update.
28136 Fix wrong comparison semantics.
28137 wcscmp shall use signed comparison not unsigned.
28138 Don't use substraction to avoid overflow bug.
28139 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28140 * wcsmbc/wcscmp.c: Likewise.
28141 * string/test-strcmp.c: Likewise.
28142 Add new tests to check cases with negative values.
28144 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28146 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28147 * sysdeps/x86_64/dla.h: ...here. New file.
28148 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28158 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28161 __ynl_finite aliases.
28163 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28167 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28169 [DLA_FMA] (EMULV): Use DLA_FMA.
28170 [DLA_FMA] (MUL12): Use EMULV.
28171 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28172 that are not needed.
28173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28181 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28183 * math/s_nan.c: Undef __nan.
28184 * math/s_nanf.c: Undef __nanf.
28185 * math/s_nanl.c: Undef __nanl.
28186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28189 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28191 * math/s_catan.c: Add branch predictions.
28192 * math/s_catanf.c: Likewise.
28193 * math/s_catanh.c: Likewise.
28194 * math/s_catanhf.c: Likewise.
28195 * math/s_catanhl.c: Likewise.
28196 * math/s_catanl.c: Likewise.
28197 * math/s_cexp.c: Likewise.
28198 * math/s_cexpf.c: Likewise.
28199 * math/s_cexpl.c: Likewise.
28200 * math/s_clog.c: Likewise.
28201 * math/s_clog10.c: Likewise.
28202 * math/s_clog10f.c: Likewise.
28203 * math/s_clog10l.c: Likewise.
28204 * math/s_clogf.c: Likewise.
28205 * math/s_clogl.c: Likewise.
28206 * math/s_csqrt.c: Likewise.
28207 * math/s_csqrtf.c: Likewise.
28208 * math/s_csqrtl.c: Likewise.
28209 * math/s_ctanf.c: Likewise.
28210 * math/s_ctanh.c: Likewise.
28211 * math/s_ctanhf.c: Likewise.
28212 * math/s_ctanhl.c: Likewise.
28213 * math/s_ctanl.c: Likewise.
28215 * math/math_private.h: Define __nan, __nanf, __nanl.
28216 * math/s_cacosh.c: Include <math_private.h>.
28217 * math/s_cacoshl.c: Likewise.
28218 * math/s_casinh.c: Likewise.
28219 * math/s_casinhf.c: Likewise.
28220 * math/s_casinhl.c: Likewise.
28221 * math/s_ccos.c: Rely entire on ccosh.
28222 * math/s_ccosf.c: Rely entire on ccoshf.
28223 * math/s_ccosl.c: Rely entirely on ccoshl.
28224 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28225 Remove tests for FE_INVALID.
28226 * math/s_ccoshf.c: Likewise.
28227 * math/s_ccoshl.c: Likewise.
28228 * math/s_csin.c: Likewise.
28229 * math/s_csinf.c: Likewise.
28230 * math/s_csinh.c Likewise.
28231 * math/s_csinhf.c: Likewise.
28232 * math/s_csinhl.c: Likewise.
28233 * math/s_csinl.c: Likewise.
28234 * math/s_ctan.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28236 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28239 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28242 compilation problems.
28244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28247 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28249 * sysdeps/i386/configure.in: Test for -mfma4 option.
28250 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28251 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28252 COMMON_CPUID_INDEX_80000001.
28253 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28254 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28255 use it if FMA3 is not supported.
28256 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28258 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28259 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28261 2011-10-20 Andreas Schwab <schwab@redhat.com>
28264 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28265 it would create a cycle with a link time dependency.
28267 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28269 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28271 * string/Makefile (strop-tests): Add rawmemchr.
28272 * string/test-rawmemchr.c: New file.
28274 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28276 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28277 when compiling str{,n}casecmp and when AVX is available. Hook up
28278 new optimized code in initializers.
28280 2011-10-19 Andreas Schwab <schwab@redhat.com>
28282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28283 __feraiseexcept instead of feraiseexcept.
28285 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28287 * math/math_private.h: Define defaults for libc_fetestexcept and
28289 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28290 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28291 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28294 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28295 libc_fetestexcept and libc_feupdateenv.
28297 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28298 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28299 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28300 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28301 libc_feholdexcept_setround.
28303 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28304 Add s_nearbyint-c and s_nearbyintf-c.
28305 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28306 nearbyintf inlines.
28307 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28309 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28312 * math/math_private.h: Define defaults for libc_fegetround,
28313 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28314 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28315 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28316 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28317 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28318 standard functions.
28319 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28320 Remove comments and hacks for old compiler versions.
28321 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28322 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28323 libc_feholdexceptl.
28325 2011-10-18 Andreas Schwab <schwab@redhat.com>
28327 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28328 (__feraiseexcept_renamed): Add __NTH.
28329 (feraiseexcept): Add __NTH. Rename local variables to fix
28330 namespace violations.
28332 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28334 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28336 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28338 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28339 recently added interfaces.
28340 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28342 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28343 about macro parameter expansion.
28345 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28346 __NO_MATH_INLINES is defined. Cleanups.
28348 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28349 and __floorf is target has SSE4.1.
28350 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28351 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28352 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28353 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28355 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28357 (floorf): Likewise.
28359 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28361 2011-10-17 Andreas Schwab <schwab@redhat.com>
28363 * misc/sys/cdefs.h: Fix last change.
28365 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28368 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28370 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28372 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28380 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28381 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28382 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28383 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28384 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28385 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28386 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28387 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28388 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28389 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28390 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28391 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28392 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28393 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28395 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28396 ceil, ceilf, floor, floorf.
28398 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28399 Perform IRELATIVE relocations last.
28401 * elf/do-rel.h: Add another parameter nrelative, replacing the
28402 local variable with the same name. Change name of the function
28403 to end in Rel or Rela (uppercase).
28404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28405 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28406 elf_dynamic_do_##reloc function.
28408 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28410 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28411 is sufficient, at least on modern CPUs.
28413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28415 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28416 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28418 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28420 * math/bits/math-finite.h: Add entries for exp.
28421 * math/e_expl.c: Add __*_finite alias.
28422 * sysdeps/i386/fpu/e_exp.S: Likewise.
28423 * sysdeps/i386/fpu/e_expf.S: Likewise.
28424 * sysdeps/i386/fpu/e_expl.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28426 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28430 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28431 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28433 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28434 is sufficient, at least on modern CPUs.
28436 * ctype/ctype-info.c (__ctype_init): Define.
28437 * include/ctype.h (__ctype_init): Declare.
28438 (__ctype_b_loc): The variable is always initialized.
28439 (__ctype_toupper_loc): Likewise.
28440 (__ctype_tolower_loc): Likewise.
28441 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28442 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28444 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28446 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28448 * configure.in: Also look in $cxxmachine/include for C++ system
28451 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28453 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28454 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28455 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28456 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28457 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28458 (USE_AS_WMEMCMP): New macro.
28460 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28461 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28462 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28463 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28465 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28466 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28468 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28469 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28471 (USE_AS_WMEMCMP): New macro.
28472 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28473 * sysdeps/string/test-memcmp.c: Update.
28474 Fix simple_wmemcmp.
28476 * wcsmbs/wmemcmp.c: Update.
28477 (WMEMCMP): New macro.
28480 2011-10-12 Andreas Jaeger <aj@suse.de>
28483 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28485 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28487 * libio/iofwide.c (do_length): Avoid warning.
28489 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28491 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28493 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28495 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28496 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28497 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28498 * sysdeps/i386/i686/fpu/e_log.S: New file.
28499 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28500 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28502 * ctype/ctype.h: Add support for inlined isXXX functions when
28503 compiling C++ code.
28505 2011-10-14 Andreas Schwab <schwab@redhat.com>
28507 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28511 2011-10-13 Roland McGrath <roland@hack.frob.com>
28514 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28516 2011-10-13 Andreas Schwab <schwab@redhat.com>
28518 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28519 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28522 * sysdeps/x86_64/memrchr.S: Check for zero size.
28524 * string/stratcliff.c: Add memrchr tests.
28526 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28529 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28530 rawmemchr-sse2 rawmemchr-sse2-bsf.
28531 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28532 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28533 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28534 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28535 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28536 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28537 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28538 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28539 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28541 * string/memrchr.c (MEMRCHR): New macro.
28543 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28545 Add integration with gcc's -ffinite-math-only and optimize wrapper
28547 * Versions.def: Define GLIBC_2.15 version for libm.
28548 * math/Makefile (headers): Add bits/math-finite.h.
28549 * math/bits/math-finite.h: New file.
28550 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28551 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28552 * math/e_acoshl.c: Add __*_finite alias.
28553 * math/e_acosl.c: Likewise.
28554 * math/e_asinl.c: Likewise.
28555 * math/e_atan2l.c: Likewise.
28556 * math/e_atanhl.c: Likewise.
28557 * math/e_coshl.c: Likewise.
28558 * math/e_exp10.c: Likewise.
28559 * math/e_exp10f.c: Likewise.
28560 * math/e_exp10l.c: Likewise.
28561 * math/e_exp2l.c: Likewise.
28562 * math/e_fmodl.c: Likewise.
28563 * math/e_gammal_r.c: Likewise.
28564 * math/e_hypotl.c: Likewise.
28565 * math/e_j0l.c: Likewise.
28566 * math/e_j1l.c: Likewise.
28567 * math/e_jnl.c: Likewise.
28568 * math/e_lgammal_r.c: Likewise.
28569 * math/e_log10l.c: Likewise.
28570 * math/e_log2l.c: Likewise.
28571 * math/e_logl.c: Likewise.
28572 * math/e_powl.c: Likewise.
28573 * math/e_sinhl.c: Likewise.
28574 * math/e_sqrtl.c: Likewise.
28575 * math/e_scalb.c: Completely rewritten and optimized.
28576 * math/e_scalbf.c: Likewise.
28577 * math/e_scalbl.c: Likewise.
28578 * math/w_acos.c: Likewise.
28579 * math/w_acosf.c: Likewise.
28580 * math/w_acosl.c: Likewise.
28581 * math/w_acosh.c: Likewise.
28582 * math/w_acoshf.c: Likewise.
28583 * math/w_acoshl.c: Likewise.
28584 * math/w_asin.c: Likewise.
28585 * math/w_asinf.c: Likewise.
28586 * math/w_asinl.c: Likewise.
28587 * math/w_atan2.c: Likewise.
28588 * math/w_atan2f.c: Likewise.
28589 * math/w_atan2l.c: Likewise.
28590 * math/w_atanh.c: Likewise.
28591 * math/w_atanhf.c: Likewise.
28592 * math/w_atanhl.c: Likewise.
28593 * math/w_exp10.c: Likewise.
28594 * math/w_exp10f.c: Likewise.
28595 * math/w_exp10l.c: Likewise.
28596 * math/w_fmod.c: Likewise.
28597 * math/w_fmodf.c: Likewise.
28598 * math/w_fmodl.c: Likewise.
28599 * math/w_j0.c: Likewise.
28600 * math/w_j0f.c: Likewise.
28601 * math/w_j0l.c: Likewise.
28602 * math/w_j1.c: Likewise.
28603 * math/w_j1f.c: Likewise.
28604 * math/w_j1l.c: Likewise.
28605 * math/w_jn.c: Likewise.
28606 * math/w_jnf.c: Likewise.
28607 * math/w_log.c: Likewise.
28608 * math/w_logf.c: Likewise.
28609 * math/w_logl.c: Likewise.
28610 * math/w_log10.c: Likewise.
28611 * math/w_log10f.c: Likewise.
28612 * math/w_log10l.c: Likewise.
28613 * math/w_log2.c: Likewise.
28614 * math/w_log2f.c: Likewise.
28615 * math/w_log2l.c: Likewise.
28616 * math/w_pow.c: Likewise.
28617 * math/w_powf.c: Likewise.
28618 * math/w_powl.c: Likewise.
28619 * math/w_remainder.c: Likewise.
28620 * math/w_remainderf.c: Likewise.
28621 * math/w_remainderl.c: Likewise.
28622 * math/w_scalb.c: Likewise.
28623 * math/w_scalbf.c: Likewise.
28624 * math/w_scalbl.c: Likewise.
28625 * math/w_sqrt.c: Likewise.
28626 * math/w_sqrtf.c: Likewise.
28627 * math/w_sqrtl.c: Likewise.
28628 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28629 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28631 * math/math_private.h: Declare __kernel_standard_f.
28632 * math/w_cosh.c: Remove cruft and optimize a bit.
28633 * math/w_coshf.c: Likewise.
28634 * math/w_coshl.c: Likewise.
28635 * math/w_exp2.c: Likewise.
28636 * math/w_exp2f.c: Likewise.
28637 * math/w_exp2l.c: Likewise.
28638 * math/w_hypot.c: Likewise.
28639 * math/w_hypotf.c: Likewise.
28640 * math/w_hypotl.c: Likewise.
28641 * math/w_lgamma.c: Likewise.
28642 * math/w_lgamma_r.c: Likewise.
28643 * math/w_lgammaf.c: Likewise.
28644 * math/w_lgammaf_r.c: Likewise.
28645 * math/w_lgammal.c: Likewise.
28646 * math/w_lgammal_r.c: Likewise.
28647 * math/w_sinh.c: Likewise.
28648 * math/w_sinhf.c: Likewise.
28649 * math/w_sinhl.c: Likewise.
28650 * math/w_tgamma.c: Likewise.
28651 * math/w_tgammaf.c: Likewise.
28652 * math/w_tgammal.c: Likewise.
28653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28655 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28656 Minor optimizations. Pretty printing. Remove cruft.
28657 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28658 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28659 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28661 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28662 * sysdeps/i386/fpu/e_asin.S: Likewise.
28663 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28664 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28665 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28666 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28667 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28668 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28670 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28671 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28672 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28673 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28674 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28675 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28676 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28677 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28678 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28679 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28680 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28681 * sysdeps/i386/fpu/e_log.S: Likewise.
28682 * sysdeps/i386/fpu/e_log10.S: Likewise.
28683 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28685 * sysdeps/i386/fpu/e_log2.S: Likewise.
28686 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28688 * sysdeps/i386/fpu/e_logf.S: Likewise.
28689 * sysdeps/i386/fpu/e_logl.S: Likewise.
28690 * sysdeps/i386/fpu/e_pow.S: Likewise.
28691 * sysdeps/i386/fpu/e_powf.S: Likewise.
28692 * sysdeps/i386/fpu/e_powl.S: Likewise.
28693 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28694 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28695 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28697 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28698 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28699 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28700 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28701 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28702 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28705 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28707 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28708 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28709 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28713 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28716 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28718 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28723 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28724 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28725 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28726 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28727 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28728 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28729 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28730 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28731 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28732 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28733 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28736 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28737 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28738 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28739 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28740 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28741 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28742 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28782 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28787 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28790 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28793 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28795 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28796 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28797 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28798 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28799 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28800 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28801 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28802 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28803 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28804 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28805 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28807 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28810 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28812 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28813 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28814 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28815 (__isnanf): Likewise.
28816 (__isinf_ns): Likewise.
28817 (__isinf_nsf): Likewise.
28818 (__finite): Likewise.
28819 (__finitef): Likewise.
28820 (__ieee754_sqrt): Define as macro.
28821 (__ieee754_sqrtf): Define as macro.
28822 (__ieee754_sqrtl): Define as macro.
28823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28825 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28826 __FINITE_MATH_ONLY__ consistent.
28827 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28829 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28831 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28834 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28836 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28838 * po/ja.po: Update from translation team.
28840 2011-10-08 Roland McGrath <roland@hack.frob.com>
28842 * locale/programs/locarchive.c (prepare_address_space): New function.
28843 (create_archive, enlarge_archive, open_archive): Use it.
28845 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28846 inside [SHARED], where it is used.
28848 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28850 * nss/getent.c (netgroup_keys): Remove unused variable.
28851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28853 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28855 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28856 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28858 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28859 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28860 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28861 * math/Makefile (libm-calls): Add s_isinf_ns.
28862 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28863 * math/multc3.c: Likewise.
28864 * math/s_casin.c: Likewise.
28865 * math/s_casinf.c: Likewise.
28866 * math/s_casinl.c: Likewise.
28867 * math/s_ccos.c: Likewise.
28868 * math/s_ccosf.c: Likewise.
28869 * math/s_ccosl.c: Likewise.
28870 * math/s_ctan.c: Likewise.
28871 * math/s_ctanf.c: Likewise.
28872 * math/s_ctanh.c: Likewise.
28873 * math/s_ctanhf.c: Likewise.
28874 * math/s_ctanhl.c: Likewise.
28875 * math/s_ctanl.c: Likewise.
28876 * math/w_fmod.c: Likewise.
28877 * math/w_fmodf.c: Likewise.
28878 * math/w_fmodl.c: Likewise.
28879 * math/w_remainder.c: Likewise.
28880 * math/w_remainderf.c: Likewise.
28881 * math/w_remainderl.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28883 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28884 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28886 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28887 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28888 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28889 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28891 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28893 * stdio-common/printf_fphex.c: Likewise.
28894 * stdio-common/printf_size.c: Likewise.
28896 * math/e_exp10.c: Include math_private.h using <...> not "...".
28897 * math/e_exp10f.c: Likewise.
28898 * math/e_exp10l.c: Likewise.
28899 * math/e_exp2l.c: Likewise.
28900 * math/e_j0l.c: Likewise.
28901 * math/e_j1l.c: Likewise.
28902 * math/e_jnl.c: Likewise.
28903 * math/e_lgammal_r.c: Likewise.
28904 * math/e_rem_pio2l.c: Likewise.
28905 * math/e_scalb.c: Likewise.
28906 * math/e_scalbf.c: Likewise.
28907 * math/e_scalbl.c: Likewise.
28908 * math/k_cosl.c: Likewise.
28909 * math/k_sinl.c: Likewise.
28910 * math/k_tanl.c: Likewise.
28911 * math/s_cacoshf.c: Likewise.
28912 * math/s_catan.c: Likewise.
28913 * math/s_catanf.c: Likewise.
28914 * math/s_catanh.c: Likewise.
28915 * math/s_catanhf.c: Likewise.
28916 * math/s_catanhl.c: Likewise.
28917 * math/s_catanl.c: Likewise.
28918 * math/s_ccosh.c: Likewise.
28919 * math/s_ccoshf.c: Likewise.
28920 * math/s_ccoshl.c: Likewise.
28921 * math/s_cexp.c: Likewise.
28922 * math/s_cexpf.c: Likewise.
28923 * math/s_cexpl.c: Likewise.
28924 * math/s_clog.c: Likewise.
28925 * math/s_clog10.c: Likewise.
28926 * math/s_clog10f.c: Likewise.
28927 * math/s_clog10l.c: Likewise.
28928 * math/s_clogf.c: Likewise.
28929 * math/s_clogl.c: Likewise.
28930 * math/s_csin.c: Likewise.
28931 * math/s_csinf.c: Likewise.
28932 * math/s_csinh.c: Likewise.
28933 * math/s_csinhf.c: Likewise.
28934 * math/s_csinhl.c: Likewise.
28935 * math/s_csinl.c: Likewise.
28936 * math/s_csqrt.c: Likewise.
28937 * math/s_csqrtf.c: Likewise.
28938 * math/s_csqrtl.c: Likewise.
28939 * math/s_ctan.c: Likewise.
28940 * math/s_ctanf.c: Likewise.
28941 * math/s_ctanh.c: Likewise.
28942 * math/s_ctanhf.c: Likewise.
28943 * math/s_ctanhl.c: Likewise.
28944 * math/s_ctanl.c: Likewise.
28945 * math/s_ldexp.c: Likewise.
28946 * math/s_ldexpf.c: Likewise.
28947 * math/s_ldexpl.c: Likewise.
28948 * math/s_significand.c: Likewise.
28949 * math/s_significandf.c: Likewise.
28950 * math/s_significandl.c: Likewise.
28951 * math/w_acos.c: Likewise.
28952 * math/w_acosf.c: Likewise.
28953 * math/w_acosh.c: Likewise.
28954 * math/w_acoshf.c: Likewise.
28955 * math/w_acoshl.c: Likewise.
28956 * math/w_acosl.c: Likewise.
28957 * math/w_asin.c: Likewise.
28958 * math/w_asinf.c: Likewise.
28959 * math/w_asinl.c: Likewise.
28960 * math/w_atan2.c: Likewise.
28961 * math/w_atan2f.c: Likewise.
28962 * math/w_atan2l.c: Likewise.
28963 * math/w_atanh.c: Likewise.
28964 * math/w_atanhf.c: Likewise.
28965 * math/w_atanhl.c: Likewise.
28966 * math/w_cosh.c: Likewise.
28967 * math/w_coshf.c: Likewise.
28968 * math/w_coshl.c: Likewise.
28969 * math/w_dremf.c: Likewise.
28970 * math/w_exp10.c: Likewise.
28971 * math/w_exp10f.c: Likewise.
28972 * math/w_exp10l.c: Likewise.
28973 * math/w_exp2.c: Likewise.
28974 * math/w_exp2f.c: Likewise.
28975 * math/w_fmod.c: Likewise.
28976 * math/w_fmodf.c: Likewise.
28977 * math/w_fmodl.c: Likewise.
28978 * math/w_hypot.c: Likewise.
28979 * math/w_hypotf.c: Likewise.
28980 * math/w_hypotl.c: Likewise.
28981 * math/w_j0.c: Likewise.
28982 * math/w_j0f.c: Likewise.
28983 * math/w_j0l.c: Likewise.
28984 * math/w_j1.c: Likewise.
28985 * math/w_j1f.c: Likewise.
28986 * math/w_j1l.c: Likewise.
28987 * math/w_jn.c: Likewise.
28988 * math/w_jnf.c: Likewise.
28989 * math/w_jnl.c: Likewise.
28990 * math/w_lgamma.c: Likewise.
28991 * math/w_lgamma_r.c: Likewise.
28992 * math/w_lgammaf.c: Likewise.
28993 * math/w_lgammaf_r.c: Likewise.
28994 * math/w_lgammal.c: Likewise.
28995 * math/w_lgammal_r.c: Likewise.
28996 * math/w_log.c: Likewise.
28997 * math/w_log10.c: Likewise.
28998 * math/w_log10f.c: Likewise.
28999 * math/w_log10l.c: Likewise.
29000 * math/w_log2.c: Likewise.
29001 * math/w_log2f.c: Likewise.
29002 * math/w_log2l.c: Likewise.
29003 * math/w_logf.c: Likewise.
29004 * math/w_logl.c: Likewise.
29005 * math/w_pow.c: Likewise.
29006 * math/w_powf.c: Likewise.
29007 * math/w_powl.c: Likewise.
29008 * math/w_remainder.c: Likewise.
29009 * math/w_remainderf.c: Likewise.
29010 * math/w_remainderl.c: Likewise.
29011 * math/w_scalb.c: Likewise.
29012 * math/w_scalbf.c: Likewise.
29013 * math/w_scalbl.c: Likewise.
29014 * math/w_sinh.c: Likewise.
29015 * math/w_sinhf.c: Likewise.
29016 * math/w_sinhl.c: Likewise.
29017 * math/w_sqrt.c: Likewise.
29018 * math/w_sqrtf.c: Likewise.
29019 * math/w_sqrtl.c: Likewise.
29020 * math/w_tgamma.c: Likewise.
29021 * math/w_tgammaf.c: Likewise.
29022 * math/w_tgammal.c: Likewise.
29024 * po/ja.po: Update from translation team.
29026 2011-09-29 Andreas Jaeger <aj@suse.de>
29029 * sunrpc/netname.c (netname2host): Fix logic.
29033 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29035 * math/w_remainder.c (__remainder): Likewise.
29036 * math/w_remainderf.c (__remainderf): Likewise.
29037 * math/libm-test.inc (remainder_test): Add test cases.
29039 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29041 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29044 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29046 * string/test-memcmp.c: Avoid unncessary #defines.
29047 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29049 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29051 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29052 Use new sse2 version for core i3 - i7 as it's faster
29053 than sse42 version.
29054 (bit_Prefer_PMINUB_for_stringop): New.
29055 * sysdeps/x86_64/rawmemchr.S: Update.
29056 Replace with faster SSE2 version.
29057 * sysdeps/x86_64/memrchr.S: New file.
29058 * sysdeps/x86_64/memchr.S: Update.
29059 Replace with faster SSE2 version.
29061 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29063 * elf/dl-load.c (lose): Add cast to avoid warning.
29065 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29067 * po/ca.po: Update from translation team.
29069 * inet/getnetgrent_r.c: Hook up nscd.
29070 * nscd/Makefile (routines): Add nscd_netgroup.
29071 (nscd-modules): Add netgroupcache.
29072 (CFLAGS-netgroupcache.c): Define.
29073 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29074 (cache_search): Add const to second parameter.
29075 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29077 (dbs): Add netgrdb entry.
29078 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29079 (verify_persistent_db): Handle netgrdb.
29080 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29081 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29083 (netgroup_response_header): Define.
29084 (innetgroup_response_header): Define.
29085 (datahead): Add netgroup_response_header and innetgroup_response_header
29087 * nscd/nscd.conf: Add entries for netgroup cache.
29088 * nscd/nscd.h (dbtype): Add netgrdb.
29089 (_PATH_NSCD_NETGROUP_DB): Define.
29090 (netgroup_iov_disabled): Declare.
29091 (xmalloc, xcalloc, xrealloc): Move declarations here.
29092 (cache_search): Adjust prototype.
29093 Add netgroup-related prototypes.
29094 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29095 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29096 (__nscd_innetgr): Declare.
29097 * nscd/selinux.c (perms): Use access_vector_t as element type and
29098 add netgroup-related initializers.
29099 * nscd/netgroupcache.c: New file.
29100 * nscd/nscd_netgroup.c: New file.
29101 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29102 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29103 For four parameters use innetgr.
29104 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29105 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29106 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29107 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29109 * nscd/connections.c (register_traced_file): Don't register file
29110 for disabled databases.
29112 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29114 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29116 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29117 from tree and freeing node.
29119 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29121 * nss/nsswitch.c (__nss_database_lookup): Handle
29122 nss_parse_service_list out of memory case.
29124 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29126 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29127 out of memory case.
29129 2011-10-04 Andreas Schwab <schwab@redhat.com>
29131 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29132 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29134 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29135 elf_machine_rela, elf_machine_lazy_rel.
29136 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29137 (ELF_DYNAMIC_DO_REL): Likewise.
29138 (ELF_DYNAMIC_DO_RELA): Likewise.
29139 (ELF_DYNAMIC_RELOCATE): Likewise.
29140 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29141 to ELF_DYNAMIC_DO_REL.
29142 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29143 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29144 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29147 skip_ifunc, don't call ifunc function if non-zero.
29148 (elf_machine_rela): Likewise.
29149 (elf_machine_lazy_rel): Likewise.
29150 (elf_machine_lazy_rela): Likewise.
29151 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29152 (elf_machine_lazy_rel): Likewise.
29153 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29155 (elf_machine_lazy_rel): Likewise.
29156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29158 (elf_machine_lazy_rel): Likewise.
29159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29160 (elf_machine_lazy_rel): Likewise.
29161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29162 (elf_machine_lazy_rel): Likewise.
29163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29164 (elf_machine_lazy_rel): Likewise.
29165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29166 (elf_machine_lazy_rel): Likewise.
29167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29168 (elf_machine_lazy_rel): Likewise.
29169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29170 (elf_machine_lazy_rel): Likewise.
29172 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29174 * nss/nss_files/files-init.c (_nss_files_init): Use static
29175 initialization for all the *_traced_file variables.
29177 2011-09-28 Andreas Schwab <schwab@redhat.com>
29179 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29181 2011-09-27 Roland McGrath <roland@hack.frob.com>
29184 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29186 2011-09-27 Andreas Schwab <schwab@redhat.com>
29188 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29189 Reread the line before reparsing it.
29191 2011-09-26 Andreas Schwab <schwab@redhat.com>
29193 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29195 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29196 Maxim Kuvyrkov <maxim@codesourcery.com>
29197 Joseph Myers <joseph@codesourcery.com>
29199 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29200 if needed for __stack_chk_guard.
29202 2011-09-19 Roland McGrath <roland@hack.frob.com>
29204 * sysdeps/posix/spawni.c (script_execute): Always define it.
29205 It will be optimized away if unused.
29206 (maybe_script_execute): New function.
29207 (__spawni): Call it.
29209 * Makerules: Don't include tls.make.
29210 (config-tls): Always set to thread.
29211 * tls.make.c: File removed.
29213 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29215 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29216 * config.make.in (CPPFLAGS-config): New substituted variable.
29218 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29223 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29224 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29226 2011-09-15 Roland McGrath <roland@hack.frob.com>
29228 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29229 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29231 (CALL_FAIL): Likewise.
29232 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29233 (CALL_FAIL): Macro removed.
29234 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29236 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29238 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29239 for __FINITE_MATH_ONLY__ == 1.
29241 2011-09-15 Andreas Schwab <schwab@redhat.com>
29243 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29244 __ieee754_sqrt instead of sqrt.
29245 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29246 __ieee754_sqrtf instead of sqrtf.
29247 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29248 __floorf instead of floorf.
29249 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29250 __floorf, __truncf instead of floorf, truncf.
29252 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29254 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29256 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29257 __extern_always_inline.
29258 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29261 2011-09-14 Andreas Schwab <schwab@redhat.com>
29263 * elf/rtld.c (dl_main): Also relocate in dependency order when
29264 doing symbol dependency testing.
29266 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29269 Always define `refsym'.
29271 2011-09-13 Andreas Schwab <schwab@redhat.com>
29273 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29274 (__FD_ELT): Renamed from __FDELT.
29275 * misc/bits/select2.h (__FD_ELT): Likewise.
29276 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29277 __FD_MASK instead of __FDELT, __FDMASK.
29278 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29280 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29283 * elf/Makefile (gen-ldd): Fix pattern.
29285 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29286 (init_tls): Likewise.
29288 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29292 2011-09-12 Andreas Schwab <schwab@redhat.com>
29294 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29295 `struct cmsghdr *' instead of `void *'.
29296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29299 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29301 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29303 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29304 ldd_rewrite_script.
29306 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29308 * configure.in: Remove --with-tls option.
29309 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29310 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29311 out in case it is missing.
29312 * sysdeps/ia64/elf/configure.in: Likewise.
29313 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29314 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29315 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29316 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29317 * sysdeps/sh/elf/configure.in: Likewise.
29318 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29319 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29320 * sysdeps/x86_64/elf/configure.in: Likewise.
29321 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29322 * sysdeps/mach/hurd/tls.h: Likewise.
29325 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29328 * configure.in: Fix use of AC_INIT.
29330 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29332 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29334 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29336 * malloc/hooks.c: Likewise.
29339 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29340 variables statically.
29341 (narenas): Initialize.
29342 (list_lock): Initialize.
29343 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29344 initializtion of main_arena and list_lock. Small cleanups.
29345 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29346 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29347 Add initializers to main_arena and mp_.
29348 (malloc_state): Remove pagesize member. Change all users to use
29351 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29352 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29353 is always initialized.
29355 * malloc/malloc.c: Removed unused configurations and dead code.
29356 * malloc/arena.c: Likewise.
29357 * malloc/hooks.c: Likewise.
29358 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29360 * include/tls.h: Removed. USE___THREAD must always be defined.
29361 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29362 * elf/dl-libc.c: Likewise.
29363 * elf/dl-tsd.c: Likewise.
29364 * include/errno.h: Likewise.
29365 * include/netdb.h: Likewise.
29366 * include/resolv.h: Likewise.
29367 * inet/herrno-loc.c: Likewise.
29368 * inet/herrno.c: Likewise.
29369 * malloc/arena.c: Likewise.
29370 * malloc/hooks.c: Likewise.
29371 * malloc/malloc.c: Likewise.
29372 * resolv/res-state.c: Likewise.
29373 * resolv/res_libc.c: Likewise.
29374 * sysdeps/i386/dl-machine.h: Likewise.
29375 * sysdeps/ia64/dl-machine.h: Likewise.
29376 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29377 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29378 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29379 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29380 * sysdeps/sh/dl-machine.h: Likewise.
29381 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29383 * sysdeps/unix/i386/sysdep.S: Likewise.
29384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29385 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29390 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29394 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29395 * sysdeps/x86_64/dl-machine.h: Likewise.
29396 * tls.make.c: Likewise.
29398 * configure.in: Remove --with-__thread option. Make tests for
29399 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29400 tls_model attribute fail if no support is available. Remove
29402 * Makeconfig: Adjust for dropped configure option. All features are
29404 * Makerules: Likewise.
29405 * Versions.def: Likewise.
29406 * argp/argp-fmtstream.c: Likewise.
29407 * argp/argp-fmtstream.h: Likewise.
29408 * argp/argp-help.c: Likewise.
29409 * assert/assert.c: Likewise.
29410 * config.h.in: Likewise.
29411 * config.make.in: Likewise.
29412 * configure: Likewise.
29413 * configure.in: Likewise.
29414 * csu/Versions: Likewise.
29415 * csu/init.c: Likewise.
29416 * elf/tst-audit2.c: Likewise.
29417 * elf/tst-tls10.c: Likewise.
29418 * elf/tst-tls10.h: Likewise.
29419 * elf/tst-tls11.c: Likewise.
29420 * elf/tst-tls12.c: Likewise.
29421 * elf/tst-tls14.c: Likewise.
29422 * elf/tst-tlsmod11.c: Likewise.
29423 * elf/tst-tlsmod12.c: Likewise.
29424 * elf/tst-tlsmod13.c: Likewise.
29425 * elf/tst-tlsmod13a.c: Likewise.
29426 * elf/tst-tlsmod14a.c: Likewise.
29427 * elf/tst-tlsmod15b.c: Likewise.
29428 * elf/tst-tlsmod16a.c: Likewise.
29429 * elf/tst-tlsmod16b.c: Likewise.
29430 * elf/tst-tlsmod7.c: Likewise.
29431 * elf/tst-tlsmod8.c: Likewise.
29432 * elf/tst-tlsmod9.c: Likewise.
29433 * gmon/gmon.c: Likewise.
29434 * grp/fgetgrent_r.c: Likewise.
29435 * grp/putgrent.c: Likewise.
29436 * hurd/fopenport.c: Likewise.
29437 * include/libc-symbols.h: Likewise.
29438 * include/tls.h: Likewise.
29439 * intl/gettextP.h: Likewise.
29440 * intl/loadinfo.h: Likewise.
29441 * locale/global-locale.c: Likewise.
29442 * locale/localeinfo.h: Likewise.
29443 * mach/devstream.c: Likewise.
29444 * malloc/arena.c: Likewise.
29445 * malloc/set-freeres.c: Likewise.
29446 * misc/err.c: Likewise.
29447 * misc/getttyent.c: Likewise.
29448 * misc/mntent_r.c: Likewise.
29449 * posix/getopt.c: Likewise.
29450 * posix/wordexp.c: Likewise.
29451 * pwd/fgetpwent_r.c: Likewise.
29452 * resolv/Versions: Likewise.
29453 * resolv/res_hconf.c: Likewise.
29454 * shadow/fgetspent_r.c: Likewise.
29455 * shadow/putspent.c: Likewise.
29456 * stdio-common/printf_fphex.c: Likewise.
29457 * stdio-common/tmpfile.c: Likewise.
29458 * stdlib/abort.c: Likewise.
29459 * stdlib/fmtmsg.c: Likewise.
29460 * sunrpc/auth_unix.c: Likewise.
29461 * sunrpc/clnt_perr.c: Likewise.
29462 * sunrpc/clnt_tcp.c: Likewise.
29463 * sunrpc/clnt_udp.c: Likewise.
29464 * sunrpc/clnt_unix.c: Likewise.
29465 * sunrpc/openchild.c: Likewise.
29466 * sunrpc/svc_simple.c: Likewise.
29467 * sunrpc/svc_tcp.c: Likewise.
29468 * sunrpc/svc_udp.c: Likewise.
29469 * sunrpc/svc_unix.c: Likewise.
29470 * sunrpc/xdr.c: Likewise.
29471 * sunrpc/xdr_array.c: Likewise.
29472 * sunrpc/xdr_rec.c: Likewise.
29473 * sunrpc/xdr_ref.c: Likewise.
29474 * sunrpc/xdr_stdio.c: Likewise.
29476 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29478 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29480 2011-07-03 Andreas Jaeger <aj@suse.de>
29482 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29483 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29484 regenerate with gen-libm-tests.pl.
29486 2010-05-12 Petr Baudis <pasky@suse.cz>
29489 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29490 around j0() zero points by switching to j1().
29491 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29496 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29498 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29500 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29503 Patch in part by Pavel Roskin <proski@gnu.org>.
29506 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29508 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29509 Free memory block if necessary.
29512 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29513 be NULL. Don't lock in this case.
29515 2011-09-09 Roland McGrath <roland@hack.frob.com>
29517 * elf/elf.h (ELFOSABI_GNU): New macro.
29518 (ELFOSABI_LINUX): Define to that.
29520 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29522 * string/strncat.c (strncat): Undef the symbol in case it has been
29523 defined in bits/string.h.
29525 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29527 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29529 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29532 2011-08-17 Andreas Jaeger <aj@suse.de>
29534 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29536 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29537 Ian Lance Taylor <iant@google.com>
29539 * math/libm-test.inc (lround_test): New testcase.
29540 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29542 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29544 * Makefile: Remove support for automatic cvs check-ins.
29545 * Makerules: Likewise.
29546 * config.make.in: Likewise.
29547 * configure.in: Likewise.
29548 * intl/Makefile: Likewise.
29549 * locale/Makefile: Likewise.
29550 * po/Makefile: Likewise.
29551 * posix/Makefile: Likewise.
29552 * sysdeps/gnu/Makefile: Likewise.
29553 * sysdeps/mach/hurd/Makefile: Likewise.
29554 * sysdeps/sparc/sparc32/Makefile: Likewise.
29557 * posix/Makefile (bug-regex32-ENV): Define.
29558 Patch by John Stanley <jpsinthemix@verizon.net>.
29560 * misc/Makefile (headers): Add bits/select2.h.
29561 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29562 * misc/bits/select2.h: New file.
29563 * include/bits/select2.h: New file.
29564 * debug/Makefile (routines): Add fdelt_chk.
29565 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29566 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29568 * debug/fdelt_chk.c: New file.
29570 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29571 * wcsmbs/test-wmemcmp.c: Likewise.
29572 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29573 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29575 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29577 * string/Makefile (strop-tests): Add memcmp.
29578 * string/test-wmemcmp.c: New file.
29579 * string/test-memcmp.c: Add wmemcmp support.
29581 2011-09-08 Roland McGrath <roland@hack.frob.com>
29584 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29587 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29588 garbage value in a __mach_port_mod_refs call in the cases of the
29589 task-self and thread-self ports.
29591 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29593 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29595 2011-09-08 Andreas Schwab <schwab@redhat.com>
29597 * elf/dl-load.c (lose): Check for non-null L.
29599 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29601 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29603 * elf/dl-libc.c (dlerror_run): Pass back error code from
29607 * elf/dl-load.c (lose): Free l_origin if it is valid.
29609 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29612 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29615 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29616 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29618 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29620 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29621 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29622 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29623 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29624 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29625 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29626 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29627 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29628 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29629 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29631 2011-08-15 Alan Modra <amodra@gmail.com>
29634 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29635 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29636 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29637 ppc_mcount to static-only-routines.
29638 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29640 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29641 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29643 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29645 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29646 for finite and infinity parameters.
29648 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29650 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29651 and add nop instructions for throughput optimization.
29652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29654 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29657 aligned copy for power7 with vector-scalar instructions.
29658 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29660 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29665 2011-09-07 Andreas Schwab <schwab@redhat.com>
29668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29671 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29673 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29674 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29675 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29676 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29679 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29682 Forgot to demangle the pointer.
29684 * sysdeps/i386/sysdep.h: Define atom_text_section.
29685 * sysdeps/x86_64/sysdep.h: Likewise.
29686 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29687 section with atom_text_section.
29688 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29690 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29692 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29694 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29696 already be defined. Change to take two parameters and don't assign
29697 result to variable. Adjust all users.
29698 Define INTERNAL_GETTIME if not already defined.
29699 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29702 HAVE_CLOCK_GETTIME_VSYSCALL.
29703 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29706 gettimeofday vsyscall, just use time.
29708 2011-09-06 Andreas Schwab <schwab@redhat.com>
29710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29713 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29715 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29717 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29719 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29721 syscall if possible.
29723 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29725 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29726 e_ident. Don't pass to find_mapsXX.
29727 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29729 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29732 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29733 * sysdeps/x86_64/multiarch/strchr.S: Update.
29734 Check bit_slow_BSF bit.
29735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29737 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29739 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29742 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29744 (tryshell): Define.
29745 (__spawni): Change last parameter to be flag. Test
29746 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29747 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29748 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29749 * posix/spawni.c: Likewise.
29750 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29751 * posix/spawnp.c: Likewise. Change normal version to use
29752 SPAWN_XFLAGS_USE_PATH.
29753 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29754 SPAWN_XFLAGS_TRY_SHELL.
29757 * posix/glob.h: Remove gcc 1.x support.
29760 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29762 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29765 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29767 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29768 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29769 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29770 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29771 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29772 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29774 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29776 * sysdeps/x86_64/wcscmp.S: New file.
29778 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29779 wcscmp-c wcscmp-sse2
29780 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29781 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29782 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29783 * wcsmbs/wcscmp.c: Allow renaming.
29785 2011-09-05 David S. Miller <davem@davemloft.net>
29787 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29788 stack slot, rather than the struct return pointer slot.
29789 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29790 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29792 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29794 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29796 * po/ja.po: Update from translation team.
29799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29800 kernel in 64-bit binaries.
29802 2011-09-01 David S. Miller <davem@davemloft.net>
29804 * elf/elf.h (HWCAP_SPARC_*): Move to..
29805 * sysdeps/sparc/sysdep.h: this new file and add new values.
29806 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29807 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29808 _DL_HWCAP_COUNT to 24.
29809 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29811 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29812 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29813 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29815 instead of magic constants.
29816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29818 2011-08-31 David S. Miller <davem@davemloft.net>
29820 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29822 Reimplement to do errno handling inline.
29823 (SYSCALL_ERROR_HANDLER): New macro.
29824 (__SYSCALL_STRING): Do not do errno handling in asm.
29825 (__CLONE_SYSCALL_STRING): Delete.
29826 (__INTERNAL_SYSCALL_STRING): Delete.
29827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29828 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29829 (PSEUDO): Reimplement to do errno handling inline.
29830 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29831 (SYSCALL_ERROR_HANDLER): New macro.
29832 (__SYSCALL_STRING): Do not do errno handling in asm.
29833 (__CLONE_SYSCALL_STRING): Delete.
29834 (__INTERNAL_SYSCALL_STRING): Delete.
29835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29836 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29838 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29839 (inline_syscall*): Add 'err' argument.
29840 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29841 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29842 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29843 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29845 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29846 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29848 2011-08-30 Andreas Schwab <schwab@redhat.com>
29850 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29852 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29854 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29857 2011-08-24 David S. Miller <davem@davemloft.net>
29859 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29861 2011-08-24 Andreas Schwab <schwab@redhat.com>
29863 * elf/Makefile: Add rules to build and run unload8 test.
29864 * elf/unload8.c: New file.
29865 * elf/unload8mod1.c: New file.
29866 * elf/unload8mod1x.c: New file.
29867 * elf/unload8mod2.c: New file.
29868 * elf/unload8mod3.c: New file.
29870 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29873 2011-08-23 David S. Miller <davem@davemloft.net>
29875 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29876 subtract stack bias.
29877 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29878 %sp not %fp in calculations.
29879 (_JMPBUF_UNWINDS_ADJ): Likewise.
29881 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29882 (aio_suspend): Call it to force an exception region around the
29883 AIO_MISC_WAIT() invocation.
29885 2011-08-23 Andreas Schwab <schwab@redhat.com>
29887 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29890 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29892 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29894 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29895 and <dl-machine.h>.
29896 (Elf64_FuncDesc): Remove.
29898 2011-08-22 David S. Miller <davem@davemloft.net>
29900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29901 sigaltstack check, add missing cfi directives.
29902 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29903 missing cfi directives, and sigaltstack handling.
29905 2011-08-16 Andreas Schwab <schwab@redhat.com>
29908 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29909 object is seen twice.
29910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29912 * elf/Makefile (distribute): Add tst-initorder2.c.
29913 (tests): Add tst-initorder2.
29914 (modules-names): Add tst-initorder2a tst-initorder2b
29915 tst-initorder2c tst-initorder2d. Add rules to build them.
29916 ($(objpfx)tst-initorder2.out): New rule.
29917 * elf/tst-initorder2.c: New file.
29918 * elf/tst-initorder2.exp: New file.
29920 2011-08-22 Andreas Schwab <schwab@redhat.com>
29922 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29924 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29925 dependencies back to end of function.
29927 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29928 $(elfobjdir)/ld.so.
29930 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29933 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29935 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29936 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29937 of __vdso_gettimeofday.
29938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29939 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29941 (_libc_vdso_platform_setup): Remove initialization of
29942 __vdso_gettimeofday and __vdso_time.
29944 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29946 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29947 and fgetc_unlocked.
29948 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29951 * elf/dl-open.c (add_to_global): Report additions to the global scope
29952 for LD_DEBUG=scopes.
29953 (dl_open_worker): Also print scope of newly loaded dependencies.
29954 (_dl_show_scope): Indicate if there is no scope.
29957 * stdio-common/Makefile (tests): Add bug24.
29958 * stdio-common/bug24.c: New file.
29960 2011-08-19 Andreas Jaeger <aj@suse.de>
29963 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29964 non-existant file when using close-on-exec mode.
29966 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29969 the very first instruction.
29971 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29972 the CFI state in the end.
29973 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29974 inclusion of dl-trampoline.h.
29975 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29977 2011-08-19 Andreas Schwab <schwab@redhat.com>
29979 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29980 expectations for long double.
29982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29983 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29985 2011-08-14 David S. Miller <davem@davemloft.net>
29987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29988 artificual limit depends upon the system page size.
29990 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29992 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29993 * resolv/Makefile: Define CFLAGS-libresolv.
29995 2011-08-17 Andreas Schwab <schwab@redhat.com>
29997 * nss/makedb.c (compute_tables): Make variables used in nested
30000 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30002 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30003 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30004 if buffer was too small.
30006 * elf/pldd.c (main): Attach to all threads in the process.
30007 Rewrite /proc handling to use *at functions.
30009 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30011 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30012 specifies first scope to show.
30013 (dl_open_worker): Update callers. Move printing scope of new
30014 object to before the relocation.
30015 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30016 * sysdeps/generic/ldsodefs.h: Update declaration.
30018 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30019 string for the scope number.
30021 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30023 * nscd/servicescache.c (cache_addserv): Make sure written is always
30026 2011-08-14 Roland McGrath <roland@hack.frob.com>
30028 * sysdeps/i386/i486/bits/atomic.h
30029 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30030 statement expression, so as to suppress "set but not used" warning.
30031 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30033 * string/strncat.c (STRNCAT): Use prototype definition.
30035 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30036 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30038 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30039 (localedef-modules): Add localedef.
30040 (locale-modules): Add locale.
30042 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30043 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30044 to avoid a warning.
30046 2011-08-14 David S. Miller <davem@davemloft.net>
30048 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30049 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30051 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30053 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30054 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30055 * elf/rtld.c (dl_main): Set l_name of vDSO.
30056 Call _dl_show_scope when DL_DEBUG_SCOPES.
30057 (process_dl_debug): Recognize scopes flag and also set it for all.
30058 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30059 Declare _dl_show_scope.
30061 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30062 (do_dlopen): Pass caller_dlopen to dl_open.
30063 (__libc_dlopen_mode): Initialize caller_dlopen.
30065 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30066 of libc. Make tolower call locale-independent. Optimize a bit by
30067 using isdigit instead of isalnum.
30068 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30070 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30072 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30073 was a dependency or dynamically loaded.
30075 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30077 * intl/l10nflist.c: Allow architecture-specific pop function.
30078 * sysdeps/x86_64/l10nflist.c: New file.
30080 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30083 2011-08-10 Andreas Schwab <schwab@redhat.com>
30085 * include/dirent.h: Add libc_hidden_proto for scandirat and
30086 scandirat64. Don't declare __scandirat64.
30087 * dirent/scandirat.c: Add libc_hidden_def.
30088 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30089 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30091 2011-08-10 David S. Miller <davem@davemloft.net>
30093 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30099 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30101 * Versions.def [libc]: Add GLIBC_2.15.
30102 * dirent/Makefile (routines): Add scandirat and scandirat64.
30103 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30105 * dirent/dirent.h: Declare scandirat and scandirat64.
30106 * dirent/scandirat.c: New file.
30107 * dirent/scandirat64.c: New file.
30108 * sysdeps/wordsize-64/scandirat.c: New file.
30109 * sysdeps/wordsize-64/scandirat64.c: New file.
30110 * dirent/opendir.c: Define opendirat.
30111 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30113 * dirent/scandir64.c: Adjust for scandir.c change.
30114 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30115 __scandirat64, and __scandir_cancel_handler.
30116 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30117 additional parameter and use openat instead of open (outside of ld.so).
30118 Add new __opendir as wrapper around __opendirat.
30119 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30120 here without requiring old scandirat implementation.
30122 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30124 * dirent/scandir.c (cancel_handler): Renamed to
30125 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30126 defined. Adjust users.
30127 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30128 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30130 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30132 * string/test-string.h (IMPL): Use __STRING to expand name and then
30135 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30138 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30140 * string/Makefile: Update.
30141 (strop-tests): Append strncat.
30142 * string/test-wcscmp.c: New file.
30143 New comprehensive test for wcscmp.
30144 * string/test-strcmp.c: Update.
30145 (WIDE): New define.
30147 2011-07-22 Andreas Schwab <schwab@redhat.com>
30149 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30152 2011-07-26 Andreas Schwab <schwab@redhat.com>
30154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30155 encoding to ACE if AI_IDN.
30157 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30160 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30162 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30165 Fix overflow bug in strncat.
30166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30168 * string/test-strncat.c: Update.
30169 Add new tests for checking overflow bugs.
30171 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30174 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30175 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30176 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30177 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30178 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30179 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30180 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30181 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30184 (USE_AS_STRCAT): Define.
30185 Add strcat and strncat support.
30186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30188 2011-07-25 Andreas Schwab <schwab@redhat.com>
30190 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30191 __n bigger than INT_MAX+1.
30192 (__strncmp_g): Likewise.
30194 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30196 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30197 * libio/stido.h: Likewise.
30199 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30204 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30207 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30211 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30216 (_dl_x86_64_save_sse): Likewise.
30218 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30222 (_dl_x86_64_save_sse): Likewise.
30224 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30226 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30228 2011-07-21 Andreas Schwab <schwab@redhat.com>
30230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30232 (_dl_x86_64_save_sse): Use correct AVX check.
30234 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30237 bug in strncpy/strncat.
30238 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30240 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30242 * string/tester.c (test_strcat): Add tests for different alignments
30243 of source and destination.
30244 (test_strncat): Likewise.
30246 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30249 * posix/glob.c (glob): Check passed in values before using them in
30250 expressions to avoid some overflows.
30251 (glob_in_dir): Likewise.
30254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30255 check for AVX enablement so that we don't crash with old kernels and
30257 * elf/tst-audit4.c: Add same checks here.
30258 * elf/tst-audit6.c: Likewise.
30260 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30262 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30264 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30266 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30268 * po/cs.po: Update from translation team.
30269 * po/bg.po: Likewise.
30271 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30273 * misc/sys/cdefs.h: Add support for const attribute.
30274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30275 to gnu_dev_{major,minor,makedev} functions.
30277 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30279 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30281 2011-07-20 Andreas Schwab <schwab@redhat.com>
30283 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30286 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30289 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30290 register in order to avoid conflicts with the soft frame pointer
30291 being held in r11 when necessary.
30292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30293 (INTERNAL_VSYSCALL_NCS): Likewise.
30295 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30297 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30298 * elf/dl-fini.c (_dl_fini): Adjust caller.
30299 * elf/dl-close.c (_dl_close_worker): Likewise.
30300 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30302 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30304 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30305 "aux_cache->nlibs < 0".
30307 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30308 in the reload-count case.
30310 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30313 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30314 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30315 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30316 * sysdeps/x86_64/multiarch/strcat.S: New file.
30317 * sysdeps/x86_64/multiarch/strncat.S: New file.
30318 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30319 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30320 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30321 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30323 (USE_AS_STRCAT): Define.
30324 Add strcat and strncat support.
30325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30327 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30328 * string/strncat.c: Update.
30329 (USE_AS_STRNCAT): Define.
30330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30331 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30333 * sysdeps/x86_64/multiarch/init-arch.h
30334 (bit_Prefer_PMINUB_for_stringop): New.
30335 (index_Prefer_PMINUB_for_stringop): Likewise.
30336 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30337 bit_Prefer_PMINUB_for_stringop.
30339 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30341 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30343 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30344 of casting of buffer.
30345 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30346 buffer32 and buffer64.
30347 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30348 writes instead of casting of buffer.
30349 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30351 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30354 2011-07-19 Andreas Schwab <schwab@redhat.com>
30356 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30358 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30360 * nscd/nscd.c (termination_handler): Don't do anything for a database
30361 if it has not yet been initialized.
30363 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30365 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30367 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30369 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30371 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30373 * po/nl.po: Update from translation team.
30374 * po/sv.po: Likewise.
30376 2011-07-16 Roland McGrath <roland@hack.frob.com>
30378 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30379 now disallowed by GCC.
30381 * configure.in (use-default-link): Default to yes if a test -shared
30382 link meets our qualifications.
30383 * configure: Regenerated.
30385 * config.make.in (output-format): New variable.
30386 * configure.in: Check for ld --print-output-format support.
30387 * configure: Regenerated.
30388 * Makerules ($(common-objpfx)format.lds)
30389 [$(output-format) != unknown]: Just use $(output-format),
30390 instead of the linker-script munging.
30392 2011-07-14 Roland McGrath <roland@hack.frob.com>
30394 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30395 of $(common-objpfx)shlib.lds.
30396 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30398 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30399 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30401 * configure.in (-z relro check): Adjust test code to add a large
30402 writable data section after it.
30403 * configure: Regenerated.
30405 2011-07-11 Roland McGrath <roland@hack.frob.com>
30407 * configure.in (-z relro check): Fix test code to make the variable
30409 * configure: Regenerated.
30411 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30413 * nscd/nscd.h (struct traced_file): Define.
30414 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30415 elements. Add traced_files.
30416 (inotify_fd): Declare.
30417 (register_traced_file): Declare.
30418 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30419 (inotify_fd): Export.
30420 (resolv_conf_descr): Remove.
30421 (nscd_init): Move inotify descriptor creation to main.
30422 Don't register files for notification here.
30423 (register_traced_file): New function.
30424 (invalidate_cache): Don't use reset_res to determine whether to call
30425 res_init, go through the list of registered files.
30426 (main_loop_poll): The inotify descriptors are now stored in the
30427 structures for the traced files.
30428 (main_loop_epoll): Likewise
30429 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30430 to __nss_disable_nscd.
30431 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30432 for a database anymore. Check the records for all the registered
30434 * nss/Makefile (libnss_files-routines): Add files-init.
30435 (libnss_db-routines): Add db-init.
30436 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30437 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30438 * nss/nss_db/db-init.c: New file.
30439 * nss/nss_files/files-init.c: New file.
30440 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30441 __nss_lookup_function.
30442 (__nss_lookup_function): Call nss_load_library.
30443 (nss_load_all_libraries): New function.
30444 (__nss_disable_nscd): Take parameter with callback function for files
30445 to register. Set is_nscd. Load all the DSOs for the NSS modules
30446 used for the cached services.
30447 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30448 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30449 options for features to all the files in nscd.
30451 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30453 2011-07-10 Roland McGrath <roland@hack.frob.com>
30455 * csu/elf-init.c (__libc_csu_init): Comment typo.
30457 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30459 * po/pl.po: Update from translation team.
30460 * po/ja.po: Likewise.
30461 * po/ru.po: Likewise.
30462 * po/ko.po: Likewise.
30463 * po/fr.po: Likewise.
30465 2011-07-09 Roland McGrath <roland@hack.frob.com>
30467 * configure.in (.ctors/.dtors header and trailer check):
30468 Use an empirical test on a built program.
30469 * configure: Regenerated.
30471 * configure.in (-z relro check): Use an empirical test on a built DSO.
30472 Detect, but do not require, on ia64.
30473 * configure: Regenerated.
30475 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30476 Update tests that use readelf to use $READELF instead.
30477 * configure: Regenerated.
30479 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30481 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30482 if the result is not used.
30484 2011-07-05 Andreas Jaeger <aj@suse.de>
30487 * stdlib/tst-strtod.c: Add testcase.
30489 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30491 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30492 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30493 The latter has a higher limit. Take additional parameter to pass to
30495 (__pathconf): Pass file to __statfs_link_max.
30496 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30498 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30502 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30503 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30506 (__statfs_filesize_max): Likewise.
30507 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30509 2011-07-05 Andreas Jaeger <aj@suse.de>
30511 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30513 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30515 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30517 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30520 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30522 * Makefile (strop-tests): Add strncat.
30523 * string/test-strncat.c: New file.
30525 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30527 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30529 2011-06-21 Andreas Jaeger <aj@suse.de>
30531 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30532 Copy rule from iconvdata/Makefile.
30534 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30537 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30538 but no long options are defined, just return 'W'.
30540 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30543 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30545 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30547 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30549 (innetgr): Likewise.
30551 2011-07-05 Roland McGrath <roland@hack.frob.com>
30553 * config.make.in (install_root): Default to $(DESTDIR).
30555 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30559 2011-07-02 Roland McGrath <roland@hack.frob.com>
30561 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30563 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30564 containing directory rather than embedding absolute directory names.
30566 * scripts/check-local-headers.sh: Rewritten using awk.
30567 Match by word, not by line. Print error messages for matches.
30568 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30570 * Makerules [shlib-lds-flags empty]:
30571 ($(common-objpfx)libc_pic.opts): New target.
30572 ($(common-objpfx)libc_pic.os.clean): New target.
30573 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30575 * config.make.in (OBJCOPY): New variable.
30576 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30577 * configure: Regenerated.
30579 * config.make.in (use-default-link): New variable.
30580 * configure.in (use_default_link): Grok --with-default-link to set it.
30581 * configure: Regenerated.
30582 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30583 (shlib-lds, shlib-lds-flags): Define to empty.
30585 * Makerules (shlib-lds): New variable.
30586 (shlib-lds-flags): New variable.
30587 (build-shlib, build-moduile, build-module-asneeded): Use it.
30588 ($(common-objpfx)libc.so): Use $(shlib-lds).
30589 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30590 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30592 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30593 DT_FLAGS/DT_FLAGS_1 with zero flags.
30595 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30596 linker script munging.
30598 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30600 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30602 * crypt/sha512.c (sha512_process_block): Perform total addition using
30603 128-bit if possible.
30604 (__sha512_finish_ctx): Likewise.
30605 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30607 * crypt/sha256.c (SWAP64): Define.
30608 (sha256_process_block): Perform total addition using 64-bit if
30610 (__sha256_finish_ctx): Likewise.
30612 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30614 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30616 * nscd/hstcache.c (cache_addhst): Likewise.
30617 * nscd/grpcache.c (cache_addgr): Likewise.
30618 * nscd/aicache.c (addhstaiX): Likewise
30619 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30621 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30623 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30625 * nscd/hstcache.c (cache_addhst): Likewise.
30626 * nscd/grpcache.c (cache_addgr): Likewise.
30627 * nscd/aicache.c (addhstaiX): Likewise
30629 2011-07-01 Andreas Schwab <schwab@redhat.com>
30631 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30632 domain only when needed.
30634 2011-06-30 Andreas Schwab <schwab@redhat.com>
30636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30637 is always restored.
30639 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30641 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30642 are re-adding the entry.
30643 * nscd/servicescache.c (cache_addserv): Likewise.
30645 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30647 * sysdeps/generic/dl-irel.h: fix protection against multiple
30649 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30651 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30654 * malloc/memusage.sh: Fix quoting in message.
30655 * debug/xtrace.sh: Likewise.
30657 * configure.in: Remove support for --experimental-malloc option, make
30659 * config.make.in: Likewise.
30660 * malloc/Makefile: Likewise.
30662 2011-06-27 Andreas Schwab <schwab@redhat.com>
30664 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30665 two-byte characters.
30667 2011-06-27 Roland McGrath <roland@hack.frob.com>
30669 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30670 AC_CACHE_CHECK invocation.
30671 * configure: Regenerated.
30673 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30675 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30678 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30679 bit from old_res_options.
30681 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30683 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30684 value type for setfct.
30686 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30689 __gettimeofday instead of gettimeofday.
30691 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30693 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30695 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30702 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30705 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30706 strcpy-sse2-unaligned strncpy-sse2-unaligned
30707 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30708 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30709 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30710 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30711 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30714 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30715 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30716 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30717 (STRCPY): Support SSE2 and SSSE3 versions.
30719 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30723 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30724 kernels which artificially limit size of requests.
30726 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30729 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30730 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30731 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30732 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30733 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30734 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30735 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30736 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30738 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30739 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30740 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30741 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30742 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30744 Enable unaligned load optimization for Intel Core i3, i5 and i7
30746 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30748 (index_Fast_Unaligned_Load): Define.
30749 (HAS_FAST_UNALIGNED_LOAD): Define.
30751 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30753 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30755 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30759 until it is clear that the information is realy needed.
30760 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30762 2011-06-22 Andreas Schwab <schwab@redhat.com>
30764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30766 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30769 /sys/devices/system/cpu/online if it is usable.
30771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30772 reading the information from the /proc filesystem to once a second.
30774 2011-06-21 Andreas Jaeger <aj@suse.de>
30776 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30777 NULL after inclusion of kernel headers.
30779 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30781 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30782 calls to internal_setent.
30785 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30786 addresses using gethostbyname4_r ignore IPv4 addresses.
30788 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30789 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30791 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30793 2011-06-20 David S. Miller <davem@davemloft.net>
30795 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30797 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30799 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30800 (elf_irel): Use it.
30801 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30802 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30803 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30804 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30805 * sysdeps/x86_64/dl-irel.h: Likewise.
30807 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30808 * elf/dl-sym.c: Likewise.
30810 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30812 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30813 need to dereference resplen2.
30815 2011-06-14 Andreas Schwab <schwab@redhat.com>
30817 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30819 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30821 * Makeconfig: Define vardbdir and inst_vardbdir.
30822 * nss/Makefile: Add rules to install db-Makefile.
30824 * nss/nss_db/db-XXX.c: Cleanup.
30826 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30827 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30829 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30830 * nss/makedb.c: Implement -g option to specify that value strings
30831 are generated and should not be added to table iterated over for
30833 * nss/nss_db/db-initgroups.c: New file.
30835 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30838 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30839 (internal_getgrouplist): Adjust to name change.
30840 Update use_initgroups_entry if this is not the first call.
30841 * nss/databases.def: Add initgroups entry.
30843 * nss/makedb.c (compute_tables): Check result of multiple hash table
30844 sizes to minimize maximum chain length.
30846 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30848 * Versions.def: Add entry for libnss_db.
30849 * shlib-versions: Likewise.
30850 * nss/Makefile: Add rules to build libnss_db.
30851 * nss/Versions: Add libnss_db information. Organize libnss_files
30853 * nss/db-Makefile: Add gshadow support. Change rules for the new
30854 makedb progra. Some minor improvements to generate smaller files.
30855 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30857 * nss/makedb.c: ...here.
30858 Improve database format to be smaller and require less memory at
30860 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30862 * nss/nss_db/db-netgrp.c: Likewise.
30863 * nss/nss_db/db-open.c: Likewise.
30864 * nss/nss_files/flies-XXX.x: Adjust comments.
30865 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30866 * nss/nss_files/files-grp.c: Likewise.
30867 * nss/nss_files/files-hosts.c: Likewise.
30868 * nss/nss_files/files-network.c: Likewise.
30869 * nss/nss_files/files-proto.c: Likewise.
30870 * nss/nss_files/files-pwd.c: Likewise.
30871 * nss/nss_files/files-rpc.c: Likewise.
30872 * nss/nss_files/files-service.c: Likewise.
30873 * nss/nss_files/files-sgrp.c: Likewise.
30874 * nss/nss_files/files-spwd.c: Likewise.
30875 * nss/nss_db/db-alias.c: Removed.
30876 * nss/nss_db/dummy-db.h: Removed.
30878 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30880 * nss/makedb.c: Rewritten to not use database library.
30881 * nss/Makefile: Update to build new makedb program.
30883 2011-06-14 Andreas Jaeger <aj@suse.de>
30885 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30886 memset declaration.
30888 2011-06-10 Andreas Schwab <schwab@redhat.com>
30890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30893 2011-06-10 Roland McGrath <roland@hack.frob.com>
30895 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30896 * elf/Makefile ($(objpfx)ld.so): Likewise.
30898 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30899 Don't list ld.so twice in dependencies.
30901 * posix/bug-regex31.c: Include <stdlib.h>.
30903 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30905 * nis/nss_compat/compat-spwd.c
30906 (getspent_next_nss_netgr): Remove unused variable.
30907 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30909 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30910 nonmembers" output to use the right array.
30912 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30914 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30916 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30917 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30918 * catgets/gencat.c (read_input_file): Likewise.
30919 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30921 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30922 variable definition inside #if's controlling its use.
30924 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30926 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30928 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30930 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30933 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30935 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30936 * configure: Regenerated.
30938 * Makerules: Revert last change.
30939 * elf/Makefile: Likewise.
30941 2011-06-09 Roland McGrath <roland@hack.frob.com>
30943 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30944 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30945 (reloc-link): Likewise.
30947 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30949 * elf/Makefile: Add rules to build pldd.
30950 * elf/pldd.c: New file.
30951 * elf/pldd-xx.c: New file.
30953 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30955 * version.h: Update for 2.15 development version.
30957 2011-06-07 David S. Miller <davem@davemloft.net>
30959 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30962 elf_machine_lazy_rel): Likewise.
30963 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30964 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30965 elf_machine_lazy_rel): Likewise.
30966 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30967 dl_hwcap via passed in argument.
30968 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30971 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30973 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30975 2011-06-06 Roland McGrath <roland@hack.frob.com>
30978 * manual/fdl-1.1.texi: New file, verbatim from:
30979 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30980 * manual/lgpl-2.1.texi: New file, verbatim from:
30981 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30982 * manual/Makefile (licenses): New variable, list those new file names.
30984 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30986 * manual/fdl.texi: File removed.
30987 * manual/lesser.texi: File removed.
30988 * manual/libc.texinfo (Copying, Documentation License):
30989 Use new @include file names, put @appendix directive before @include.
30991 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30994 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30995 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30996 (mq_open): Add __NTH.
30998 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31001 Assume Intel Core i3/i5/i7 processor if AVX is available.
31003 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31008 2011-05-31 Andreas Schwab <schwab@redhat.com>
31010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31011 memory. Use alloca_account. Fix memory leak when retrying.
31013 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31015 * version.h (RELEASE): Bump for 2.14 release.
31016 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31018 * config.make.in (RANLIB): Remove entry.
31020 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31022 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31023 (libc.pot): Work around missing support for .ksh extension in xgettext.
31026 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31027 if both request failed.
31028 (send_dg): In case of server errors clear resplen or *resplen2.
31031 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31032 when there are multiple maps.
31033 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31034 (_dl_fini): Remove test here.
31036 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31038 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31041 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31042 bit from old_res_options.
31043 (gaih_inet): Likewise.
31046 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31049 * resolv/res_init.c (res_setoptions): Make the code more compact.
31052 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31056 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31058 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31061 * malloc/malloc.h: Declare malloc hook variables as volatile.
31063 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31067 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31068 raise in the comment.
31069 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31071 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31073 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31076 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31077 grow the buffers more if it already has to be sufficient.
31078 (build_wcs_upper_buffer): Likewise.
31079 * posix/regexec.c (check_matching): Likewise.
31080 (clean_state_log_if_needed): Likewise.
31081 (extend_buffers): Don't enlarge buffers beyond size of the input
31083 Patches mostly by Emil Wojak <emil@wojak.eu>.
31084 * posix/bug-regex32.c: New file.
31085 * posix/Makefile (tests): Add bug-regex32.
31087 * locale/findlocale.c (_nl_find_locale): Return right away if
31088 _nl_explode_name failed.
31089 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31091 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31093 * debug/xtrace.sh: Unify messages.
31094 * malloc/memusage.sh: Likewise.
31097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31098 time symbol from vDSO. Substitute with vsyscall if not available.
31099 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31102 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31103 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31104 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31105 Add sendmmsg and internal_sendmmsg.
31106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31107 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31108 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31110 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31111 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31114 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31117 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31118 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31120 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31124 * iconvdata/Makefile (tests): Add bug-iconv9.
31125 * iconvdata/bug-iconv9.c: New file.
31127 2011-05-27 Andreas Schwab <schwab@redhat.com>
31130 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31132 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31135 (struct user_regs_struct): Change intcs field back to cs.
31137 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31139 * po/ja.po: Update from translation team.
31141 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31144 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31145 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31147 2011-05-20 Andreas Schwab <schwab@redhat.com>
31149 * stdlib/longlong.h: Update from GCC.
31151 2011-05-23 Andreas Schwab <schwab@redhat.com>
31153 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31155 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31156 Add parameter name.
31157 (__sysconf): Pass it down.
31159 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31162 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31164 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31165 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31166 add in in __libc_use_alloca calls. Adjust callers.
31167 (glob): Use malloc in some situations.
31169 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31170 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31173 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31175 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31176 and CLOCK_BOOTTIME_ALARM.
31179 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31182 * string/_strerror.c (__strerror_r): Print negative errors as signed
31186 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31187 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31188 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31190 * configure.in: Fix typo in redirection and correct removal of test
31191 files in two cases.
31194 * locale/setlocale.c (new_composite_name): Fix test to check for
31195 identical name of all categories.
31198 * libio/filedoalloc.c (local_isatty): New function.
31199 (_IO_file_doallocate): Use local_isatty.
31200 * stdio-common/perror.c (perror): In case a new stream is used
31201 forward the stream error.
31202 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31205 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31210 * include/alloca.h (extend_alloca_account): Define.
31213 * posix/regex.h: Fix comments with documentation of user-accessible
31214 fields after compilation and describe correct free'ing of pattern
31215 after re_compile_pattern.
31216 Patch by Reuben Thomas <rrt@sc3d.org>.
31218 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31220 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31221 and -mno-altivec to prevent the compiler from using Altivec and/or
31222 VSX instructions when the corresponding registers are not available.
31224 2011-05-19 Andreas Schwab <schwab@redhat.com>
31226 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31228 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31230 * libio/freopen.c (freopen): Use __dup2, not dup2.
31231 * libio/freopen64.c (freopen64): Likewise.
31233 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31236 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31237 * math/Makefile (tests): Add test-powl.
31238 (CFLAGS-test-powl.c): Define.
31239 * math/test-powl.c: New file.
31241 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31243 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31245 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31248 * iconvdata/gb18030.c: Update to GB18020-2005.
31250 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31252 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31253 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31254 Patch by Aharon Robbins <arnold@skeeve.com>.
31257 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31261 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31262 through underflows.
31265 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31266 point to strings before performing equality test for error_one_per_line
31270 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31274 (struct user_fpregs_struct): Avoid __uint*_t types.
31277 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31278 symbol info. Use it instead of calling _dl_addr locally.
31279 (lock_and_info): New function.
31280 (tr_freehook): Call lock_and_info and pass symbol info as additional
31281 parameter to tr_where.
31282 (tr_mallochook): Likewise.
31283 (tr_reallochook): Likewise.
31284 (tr_memalignhook): Likewise.
31286 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31287 used and couldn't be at all thread-safe.
31289 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31291 * libio/freopen.c (freopen): Don't close old file descriptor
31292 before the new one is opened. Instead dup the new file descriptor
31293 to the old one after the new stream is created.
31294 * libio/freopen64.c (freopen64): Likewise.
31295 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31296 * libio/fileops.c (_IO_new_file_close_it): Handle new
31297 _IO_FLAGS2_NOCLOSE flag.
31298 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31299 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31300 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31301 _IO_FLAGS2_NOCLOSE flag.
31302 * include/unistd.h: Add hidden_proto for dup3.
31303 Define __have_dup3.
31304 * io/dup3.c: Define hidden symbol.
31305 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31308 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31309 when an incomplete long option is used.
31310 * posix/tst-getopt_long1.c: New file.
31311 * posix/Makefile (tests): Add tst-getopt_long1.
31314 * scripts/config.guess: Update from autoconf-2.68.
31315 * scripts/config.sub: Likewise.
31318 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31320 (has_cpuclock): ...this. New function.
31321 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31322 macro here based on has_cpuclock code.
31325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31326 First byte (not low byte) is now always NUL.
31327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31330 Use non-cancelable interfaces.
31333 * locale/iso-639.def: Add entry for Sorani.
31336 * include/stdlib.h: Move include protection to the right place.
31337 Define abort_msg_s. Declare __abort_msg with it.
31338 * stdlib/abort.c (__abort_msg): Adjust type.
31339 * assert/assert.c (__assert_fail_base): New function. Majority
31340 of code from __assert_fail. Allocate memory for __abort_msg with
31342 (__assert_fail): Now call __assert_fail_base.
31343 * assert/assert-perr.c: Remove bulk of implementation. Use
31344 __assert_fail_base.
31345 * include/assert.hL Declare __assert_fail_base.
31346 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31348 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31350 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31354 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31355 until all modules are registered in the DTV.
31356 * elf/Makefile: Add rules to build and run tst-tls19.
31357 * elf/tst-tls19.c: New file.
31358 * elf/tst-tls19mod1.c: New file.
31359 * elf/tst-tls19mod2.c: New file.
31360 * elf/tst-tls19mod3.c: New file.
31361 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31364 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31368 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31369 two-byte sequence errors.
31370 * iconvdata/Makefile (tests): Add bug-iconv8.
31371 * iconvdata/bug-iconv8.c: New file.
31374 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31377 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31380 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31381 (dummy_getcfa): New function.
31382 (init): Get _Unwind_GetCFA address, use dummy if not found.
31383 (backtrace_helper): In recursion check, also check whether CFA changes.
31384 (__backtrace): Completely initialize arg.
31386 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31387 storing incomplete byte sequence in state object. Avoid testing for
31388 guaranteed too small input if we know there is enough data available.
31390 2011-05-11 Andreas Schwab <schwab@redhat.com>
31392 * Makeconfig (+link-pie): Indent.
31393 * Rules (binaries-pie): Define if $(have-fpie) and
31395 (binaries-shared): Also filter out $(binaries-pie).
31396 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31397 * nscd/Makefile (others-pie): Add nscd.
31398 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31399 ($(objpfx)nscd): Remove command override.
31400 * login/Makefile (others-pie): Add pt_chown.
31401 ($(objpfx)pt_chown): Remove command override.
31402 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31403 remove command overrides.
31405 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31407 * libio/tst_putwc.c: Fix error messages.
31410 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31411 currently writing and seek to current position when not.
31412 * libio/Makefile (tests): Add bug-fclose1.
31413 * libio/bug-fclose1.c: New file.
31415 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31418 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31419 don't set DF_1_NODELETE here.
31420 (do_lookup_x): When entering new entry test for copy relocation
31421 and if necessary set DF_1_NODELETE flag.
31422 * elf/tst-unique4.cc: New file.
31423 * elf/tst-unique4.h: New file.
31424 * elf/tst-unique4lib.cc: New file.
31425 * elf/Makefile: Add rules to build and run tst-unique4.
31426 Patch by Piotr Bury <pbury@goahead.com>.
31428 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31431 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31434 * misc/mntent_r.c (addmntent): Flush the stream after the output
31437 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31438 (is_trusted_path_normalize): Skip initial colon. Append slash
31439 to empty buffer. Duplicate is_trusted_path code but allow
31440 constructed patch to be prefix.
31441 (is_dst): Allow $ORIGIN followed by /.
31442 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31443 Correct testing of result of is_trusted_path_normalize
31444 (decompose_rpath): Fix warning.
31446 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31449 * grp/initgroups.c (internal_getgrouplist): When we found the service
31450 list through the initgroups entry in nsswitch.conf do not always
31451 continue on a successful lookup. Don't always use the
31452 __nss_group_database value if it is set.
31453 * nss/nsswitch.conf (initgroups): Change action for successful db
31454 lookup to continue for compatibility.
31456 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31459 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31461 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31463 * iconvdata/tst-tables.sh: Likewise.
31464 * iconvdata/cp770.c: New file.
31465 * iconvdata/cp771.c: New file.
31466 * iconvdata/cp772.c: New file.
31467 * iconvdata/cp773.c: New file.
31468 * iconvdata/cp774.c: New file.
31469 * iconvdata/testdata/CP770: New file.
31470 * iconvdata/testdata/CP770..UTF8: New file.
31471 * iconvdata/testdata/CP771: New file.
31472 * iconvdata/testdata/CP771..UTF8: New file.
31473 * iconvdata/testdata/CP772: New file.
31474 * iconvdata/testdata/CP772..UTF8: New file.
31475 * iconvdata/testdata/CP773: New file.
31476 * iconvdata/testdata/CP773..UTF8: New file.
31477 * iconvdata/testdata/CP774: New file.
31478 * iconvdata/testdata/CP774..UTF8: New file.
31480 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31482 * iconvdata/gen-8bit-gap.sh: Likewise.
31483 * iconvdata/gen-8bit.sh: Likewise.
31485 * locale/iso-639.def: Add ary entry.
31488 * locale/C-translit.h.in: Add U20A1 transliteration.
31491 * locale/iso-639.def: Add wae entry.
31492 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31495 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31499 * locale/C-translit.h.in: Add entry for U20B9.
31500 Patch by pravin.d.s@gmail.com.
31502 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31505 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31506 ENAMETOOLONG use generic getcwd.
31507 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31508 in rtld. Use *stat64.
31509 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31510 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31511 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31512 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31513 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31514 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31515 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31516 __fstatat64 macros.
31517 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31518 * dirent/rewinddir.c: Add libc_hidden_def.
31519 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31520 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31522 * include/dirent.h (__alloc_dir): Add flags parameter.
31523 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31524 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31526 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31527 from fdopendir if O_CLOEXEC is already set.
31529 2011-03-15 Alan Modra <amodra@gmail.com>
31531 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31532 l_tls_firstbyte_offset non-zero. Save padding offset in
31533 l_tls_firstbyte_offset for later use.
31534 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31535 freeing static tls block.
31537 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31539 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31540 where #ifdef was intended. The intent is to prevent ARG_MAX from
31541 being defined by the kernel headers.
31543 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31546 * resolv/resolv.h: Define RES_NOTLDQUERY.
31547 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31548 no-tld-query and set RES_NOTLDQUERY.
31549 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31550 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31551 modern BIND to search name as TLD unless forbidden.
31553 2011-05-07 Petr Baudis <pasky@suse.cz>
31554 Ulrich Drepper <drepper@gmail.com>
31557 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31558 (is_trusted_path): ...to here.
31559 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31560 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31561 using is_trusted_path_normalize() in setuid scripts.
31563 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31565 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31566 __BEGIN/__END_DECLS.
31568 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31571 NSS_STATUS_NOTFOUND if no record was found.
31573 2011-05-05 Andreas Schwab <schwab@redhat.com>
31575 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31576 (headers-not-in-tirpc): Remove rpc/netdb.h
31577 * resolv/netdb.h: Revert last change.
31579 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31581 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31582 circular dependency between libgcc.a and libc.a.
31584 2011-05-05 Andreas Schwab <schwab@redhat.com>
31586 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31587 * nis/Makefile: Don't install rpcsvc/*.
31588 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31589 instead of <rpc/types.h>.
31590 (MAXHOSTNAMELEN): Define.
31592 2011-05-03 Andreas Schwab <schwab@redhat.com>
31594 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31596 2011-04-28 Maciej Babinski <mbabinski@google.com>
31599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31600 gethostbyname4_r when IPv6 results are possible.
31602 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31605 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31606 _PC_PIPE_BUF handling.
31608 2011-04-30 Bruno Haible <bruno@clisp.org>
31611 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31612 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31614 * inet/getnameinfo.c (getnameinfo): Likewise.
31616 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31618 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31619 to groups setting in database lookup.
31620 * nss/nsswitch.conf: Add initgroups entry.
31622 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31625 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31627 Patch by Eric Blake <eblake@redhat.com>.
31629 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31631 * sunrpc/Makefile (need-export-routines): Add svc_run.
31632 (routines): Remove svc_run.
31633 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31634 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31635 * sunrpc/svc_run.c (svc_run): Likewise.
31636 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31638 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31641 problem in reallocation in last patch.
31643 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31645 * sunrpc/Makefile: Move inclusion of Rules.
31647 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31649 * nss/nss_files/files-initgroups.c: New file.
31650 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31651 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31652 _nss_files_initgroups_dyn.
31654 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31656 * elf/elf.h (R_ARM_IRELATIVE): Define.
31658 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31660 * po/ru.po: Update from translation team.
31662 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31664 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31667 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31670 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31671 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31672 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31674 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31676 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31678 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31680 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31682 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31684 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31689 * stdlib/bug-getcontext.c: New file.
31690 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31692 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31694 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31695 instructions into .machine "z9-109".
31696 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31697 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31699 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31701 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31702 between environment variables and auxiliary vector.
31704 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31706 * Makefile: Add rules to build linkobj/libc.so.
31707 * include/libc-symbols.h: Define libc_hidden_nolink.
31708 * include/rpc/auth.h: Mark functions which are to be hidden.
31709 * include/rpc/auth_des.h: Likewise.
31710 * include/rpc/auth_unix.h: Likewise.
31711 * include/rpc/clnt.h: Likewise.
31712 * include/rpc/des_crypt.h: Likewise.
31713 * include/rpc/key_prot.h: Likewise.
31714 * include/rpc/pmap_clnt.h: Likewise.
31715 * include/rpc/pmap_prot.h: Likewise.
31716 * include/rpc/pmap_rmt.h: Likewise.
31717 * include/rpc/rpc_msg.h: Likewise.
31718 * include/rpc/svc.h: Likewise.
31719 * include/rpc/svc_auth.h: Likewise.
31720 * include/rpc/xdr.h: Likewise.
31721 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31722 * nss/Makefile: Likewise.
31723 * sunrpc/Makefile: Don't install headers. Build library with normal
31724 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31725 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31726 for the compat linking library. Remove use of INTDEF/INTUSE.
31727 * sunrpc/auth_none.c: Likewise.
31728 * sunrpc/auth_unix.c: Likewise.
31729 * sunrpc/authdes_prot.c: Likewise.
31730 * sunrpc/authuxprot.c: Likewise.
31731 * sunrpc/clnt_gen.c: Likewise.
31732 * sunrpc/clnt_perr.c: Likewise.
31733 * sunrpc/clnt_raw.c: Likewise.
31734 * sunrpc/clnt_simp.c: Likewise.
31735 * sunrpc/clnt_tcp.c: Likewise.
31736 * sunrpc/clnt_udp.c: Likewise.
31737 * sunrpc/clnt_unix.c: Likewise.
31738 * sunrpc/des_crypt.c: Likewise.
31739 * sunrpc/des_soft.c: Likewise.
31740 * sunrpc/get_myaddr.c: Likewise.
31741 * sunrpc/key_call.c: Likewise.
31742 * sunrpc/key_prot.c: Likewise.
31743 * sunrpc/netname.c: Likewise.
31744 * sunrpc/pm_getmaps.c: Likewise.
31745 * sunrpc/pm_getport.c: Likewise.
31746 * sunrpc/pmap_clnt.c: Likewise.
31747 * sunrpc/pmap_prot.c: Likewise.
31748 * sunrpc/pmap_prot2.c: Likewise.
31749 * sunrpc/pmap_rmt.c: Likewise.
31750 * sunrpc/publickey.c: Likewise.
31751 * sunrpc/rpc_cmsg.c: Likewise.
31752 * sunrpc/rpc_common.c: Likewise.
31753 * sunrpc/rpc_dtable.c: Likewise.
31754 * sunrpc/rpc_prot.c: Likewise.
31755 * sunrpc/rpc_thread.c: Likewise.
31756 * sunrpc/rtime.c: Likewise.
31757 * sunrpc/svc.c: Likewise.
31758 * sunrpc/svc_auth.c: Likewise.
31759 * sunrpc/svc_authux.c: Likewise.
31760 * sunrpc/svc_raw.c: Likewise.
31761 * sunrpc/svc_run.c: Likewise.
31762 * sunrpc/svc_simple.c: Likewise.
31763 * sunrpc/svc_tcp.c: Likewise.
31764 * sunrpc/svc_udp.c: Likewise.
31765 * sunrpc/svc_unix.c: Likewise.
31766 * sunrpc/svcauth_des.c: Likewise.
31767 * sunrpc/xcrypt.c: Likewise.
31768 * sunrpc/xdr.c: Likewise.
31769 * sunrpc/xdr_array.c: Likewise.
31770 * sunrpc/xdr_float.c: Likewise.
31771 * sunrpc/xdr_intXX_t.c: Likewise.
31772 * sunrpc/xdr_mem.c: Likewise.
31773 * sunrpc/xdr_rec.c: Likewise.
31774 * sunrpc/xdr_ref.c: Likewise.
31775 * sunrpc/xdr_sizeof.c: Likewise.
31776 * sunrpc/xdr_stdio.c: Likewise.
31778 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31781 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31782 * sysdeps/ia64/dl-tls.h: Likewise.
31783 * sysdeps/powerpc/dl-tls.h: Likewise.
31784 * sysdeps/s390/dl-tls.h: Likewise.
31785 * sysdeps/sh/dl-tls.h: Likewise.
31786 * sysdeps/sparc/dl-tls.h: Likewise.
31787 * sysdeps/x86_64/dl-tls.h: Likewise.
31788 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31790 2011-03-14 Andreas Schwab <schwab@redhat.com>
31792 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31793 rpath element also skip the following colon.
31794 (expand_dynamic_string_token): Add is_path parameter and pass
31795 down to DL_DST_REQUIRED and _dl_dst_substitute.
31796 (decompose_rpath): Call expand_dynamic_string_token with
31797 non-zero is_path. Ignore empty rpaths.
31798 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31801 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31806 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31809 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31810 Patch by Filipe David Manana <fdmanana@apache.org>.
31812 2011-04-07 Andreas Schwab <schwab@redhat.com>
31814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31815 Maintain aligned stack.
31816 (CHECK_RSP): Remove unused macro.
31818 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31820 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31821 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31823 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31825 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31827 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31829 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31832 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31833 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31834 * sysdeps/x86_64/memmove.c: New file.
31835 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31836 (memcpy): Renamed to ...
31837 (__new_memcpy): This.
31838 (memcpy): Provide GLIBC_2_14 memcpy.
31839 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31840 (memcpy): Provide GLIBC_2_2_5 memcpy.
31842 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31845 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31847 2011-03-30 Andreas Schwab <schwab@redhat.com>
31849 * misc/syncfs.c: New file.
31850 * misc/Makefile (routines): Add syncfs.
31851 * posix/unistd.h: Declare syncfs.
31852 * sysdeps/unix/syscalls.list: Add syncfs.
31854 2011-04-01 Andreas Schwab <schwab@redhat.com>
31856 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31863 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31866 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31869 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31870 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31872 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31876 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31877 sync_file_range.c with -fexceptions.
31878 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31879 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31880 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31881 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31882 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31883 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31885 sync_file_range as cancellation point
31886 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31887 now a wrapper around __call_sync_file_range with cancellation handling.
31888 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31889 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31890 function name to __call_sync_file_range.
31891 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31892 Add call_sync_file_range.
31894 2011-04-01 Andreas Schwab <schwab@redhat.com>
31896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31899 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31901 * iconv/iconv.h: Fix typo in comment.
31902 * io/fcntl.h: Likewise.
31903 * libio/stdio.h: Likewise.
31904 * posix/spawn.h: Likewise.
31905 * posix/unistd.h: Likewise.
31906 * stdlib/stdlib.h: Likewise.
31907 * time/time.h: Likewise.
31908 * wcsmbs/wchar.h: Likewise.
31910 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31911 open_by_handle): Add.
31912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31913 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31914 Augment a few comments.
31915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31917 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31920 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31923 * io/fcntl.h (AT_EMPTY_PATH): Define.
31925 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31927 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31928 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31929 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31931 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31932 * Versions.def: Add GLIBC_2.14.
31933 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31936 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31938 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31940 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31942 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31945 * string/test-strncmp.c (do_page_test): New function.
31946 (check2): Likewise.
31947 (test_main): Call check2.
31948 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31950 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31954 Handle cache information in CPU leaf 4.
31955 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31957 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31960 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31961 character representation.
31962 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31964 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31966 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31967 END(__isnan) to END(__isnanf) to match function entry point/label
31968 EALIGN(__isnanf,...).
31970 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31972 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31974 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31977 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31978 copy from the symbol referenced in the relocation to initialize the
31980 Patch by Piotr Bury <pbury@goahead.com>.
31981 * elf/Makefile: Add rules to build and tst-unique3.
31982 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31983 * elf/tst-unique3.cc: New file.
31984 * elf/tst-unique3.h: New file.
31985 * elf/tst-unique3lib.cc: New file.
31986 * elf/tst-unique3lib2.cc: New file.
31988 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31990 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31992 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31993 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31996 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31998 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31999 to-be-loaded object along a path to loader is ld.so.
32001 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32002 Ulrich Drepper <drepper@gmail.com>
32004 * sysdeps/x86_64/memset.S: After aligning destination, code
32005 branches to different locations depending on the value of
32006 misalignment, when multiarch is enabled. Fix this.
32008 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32010 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32011 Set _x86_64_preferred_memory_instruction for AMD processsors.
32012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32013 Set bit_Prefer_SSE_for_memop for AMD processors.
32015 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32017 * libio/fmemopen.c (fmemopen): Optimize a bit.
32019 2011-03-03 Andreas Schwab <schwab@redhat.com>
32021 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32023 2011-03-03 Roland McGrath <roland@redhat.com>
32025 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32027 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32029 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32030 __bzero_ultra1 instead of __memset_ultra1.
32032 2011-02-23 Andreas Schwab <schwab@redhat.com>
32033 Ulrich Drepper <drepper@gmail.com>
32036 * include/link.h (struct link_map): Add l_orig_initfini.
32037 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32038 returning unsuccessfully.
32039 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32040 close of a file loaded at startup, restore the original l_initfini
32042 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32043 list, store the pointer.
32044 * elf/Makefile ($(objpfx)noload-mem): New rule.
32045 (noload-ENV): Define.
32046 (tests): Add $(objpfx)noload-mem.
32047 * elf/noload.c: Include <memcheck.h>.
32048 (main): Call mtrace. Close all opened handles.
32050 2011-02-17 Andreas Schwab <schwab@redhat.com>
32053 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32054 dependencies are missing.
32056 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32058 Fix __if_freereq crash: Unlike the generic version which uses free,
32060 * sysdeps/mach/hurd/ifreq.h: New file.
32062 2011-01-27 Petr Baudis <pasky@suse.cz>
32063 Ulrich Drepper <drepper@gmail.com>
32066 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32067 to extend_alloca().
32068 * stdio-common/bug23.c: New file.
32069 * stdio-common/Makefile (tests): Add bug23.
32071 2010-09-28 Andreas Schwab <schwab@redhat.com>
32072 Ulrich Drepper <drepper@gmail.com>
32075 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32076 before performing relro protection. At old place add assertion
32077 to make sure nothing changed.
32079 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32080 Glauber de Oliveira Costa <glommer@gmail.com>
32082 * elf/elf.h: Add new ARM TLS relocs.
32084 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32087 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32089 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32091 * sysdeps/wordsize-64/tst-writev.c: New file.
32093 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32095 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32096 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32097 insns in _dl_start to prevent a TOC reference before relocs are
32100 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32103 * Makeconfig: Remove RANLIB definition.
32104 * Makerules: Don't use RANLIB.
32105 * aclocal.m4: Remove ranlib test.
32106 * configure.in: No need to check for ranlib.
32107 * elf/rtld-Rules: Don't use RANLIB.
32109 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32111 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32113 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32114 inclusion protection macro.
32116 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32117 SIGRTMIN and SIGRTMAX and print information in that case only when
32118 SIGRTMIN is defined.
32120 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32122 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32123 arginfo fn returning -1.
32125 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32126 and thousands string is zero terminated.
32128 2011-02-03 Andreas Schwab <schwab@redhat.com>
32130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32131 sysdeps/unix/sysv/linux/bits/socket.h.
32133 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32135 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32136 (__CPU_COUNT): Remove old macros.
32137 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32138 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32139 (__CPU_ALLOC, __CPU_FREE): Add macros.
32140 (__sched_cpualloc, __sched_cpufree): Add declarations.
32142 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32144 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32145 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32146 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32147 (readdhstai): Return value of addhstaiX call.
32148 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32149 (addgrbyX): Return value returned by cache_addgr.
32150 (readdgrbyname): Return value returned by addgrbyX.
32151 (readdgrbygid): Likewise.
32152 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32153 (addpwbyX): Return value returned by cache_addpw.
32154 (readdpwbyname): Return value returned by addhstbyX.
32155 (readdpwbyuid): Likewise.
32156 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32157 (addservbyX): Return value returned by cache_addserv.
32158 (readdservbyname): Return value returned by addservbyX:
32159 (readdservbyport): Likewise.
32160 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32161 (addhstbyX): Return value returned by cache_addhst.
32162 (readdhstbyname): Return value returned by addhstbyX.
32163 (readdhstbyaddr): Likewise.
32164 (readdhstbynamev6): Likewise.
32165 (readdhstbyaddrv6): Likewise.
32166 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32167 (readdinitgroups): Return value returned by addinitgroupsX.
32168 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32169 (prune_cache): Keep track of timeout value of re-added entries.
32170 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32171 * nscd/nscd.h: Adjust prototypes of readd* functions.
32173 2011-02-04 Roland McGrath <roland@redhat.com>
32175 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32176 (nis_stats): Likewise.
32177 * nis/nis_modify.c (nis_modify): Likewise.
32178 * nis/nis_remove.c (nis_remove): Likewise.
32179 * nis/nis_add.c (nis_add): Likewise.
32181 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32183 * posix/fnmatch_loop.c: Add some consts.
32185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32187 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32190 * config.make.in (config-cflags-novzeroupper): Define.
32191 * configure.in: Substitute libc_cv_cc_novzeroupper.
32192 * elf/Makefile (AVX-CFLAGS): Define.
32193 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32194 (CFLAGS-tst-auditmod4a.c): Likewise.
32195 (CFLAGS-tst-auditmod4b.c): Likewise.
32196 (CFLAGS-tst-auditmod6b.c): Likewise.
32197 (CFLAGS-tst-auditmod6c.c): Likewise.
32198 (CFLAGS-tst-auditmod7b.c): Likewise.
32199 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32201 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32203 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32204 function to the callback.
32205 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32207 2011-02-02 Andreas Schwab <schwab@redhat.com>
32209 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32212 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32215 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32217 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32219 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32222 * elf/Makefile: Add rules to build and run new test.
32223 * elf/tst-initorder.c: New file.
32224 * elf/tst-initorder.exp: New file.
32225 * elf/tst-initordera1.c: New file.
32226 * elf/tst-initordera2.c: New file.
32227 * elf/tst-initordera3.c: New file.
32228 * elf/tst-initordera4.c: New file.
32229 * elf/tst-initorderb1.c: New file.
32230 * elf/tst-initorderb2.c: New file.
32231 * elf/tst-order-a1.c: New file.
32232 * elf/tst-order-a2.c: New file.
32233 * elf/tst-order-a3.c: New file.
32234 * elf/tst-order-a4.c: New file.
32235 * elf/tst-order-b1.c: New file.
32236 * elf/tst-order-b2.c: New file.
32237 * elf/tst-order-main.c: New file.
32238 New test case by George Gensure <werkt0@gmail.com>.
32240 2010-10-01 Andreas Schwab <schwab@redhat.com>
32242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32243 decoding ACE if AI_CANONIDN.
32245 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32247 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32249 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32251 * version.h (RELEASE): Bump for 2.13 release.
32252 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32254 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32256 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32258 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32259 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32263 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32265 * posix/getconf.c: Update copyright year.
32266 * catgets/gencat.c: Likewise.
32267 * csu/version.c: Likewise.
32268 * debug/catchsegv.sh: Likewise.
32269 * debug/xtrace.sh: Likewise.
32270 * elf/ldconfig.c: Likewise.
32271 * elf/ldd.bash.in: Likewise.
32272 * elf/sprof.c (print_version): Likewise.
32273 * iconv/iconv_prog.c: Likewise.
32274 * iconv/iconvconfig.c: Likewise.
32275 * locale/programs/locale.c: Likewise.
32276 * locale/programs/localedef.c: Likewise.
32277 * malloc/memusage.sh: Likewise.
32278 * malloc/mtrace.pl: Likewise.
32279 * nscd/nscd.c (print_version): Likewise.
32280 * nss/getent.c: Likewise.
32282 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32283 PF_CAIF, and PF_ALG.
32284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32286 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32288 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32289 (modules-names): Use them.
32290 (ifunc-test-modules, ifunc-pie-tests): Define.
32291 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32292 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32293 (test-extras): Likewise.
32294 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32295 $(compile-command.c).
32296 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32297 (all-built-dso): Define.
32298 (check-textrel.out, check-execstack.out): Depend on it.
32300 * configure.in: Don't override --enable-multi-arch.
32302 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32305 * nscd/hstcache.c (tryagain): Define.
32306 (cache_addhst): Return tryagain not notfound for temporary errors.
32307 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32310 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32313 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32314 to make the syscall.
32315 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32318 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32319 and fall back to matching as normal character if the string ends before
32320 the matching ']' is found. This is what POSIX requires.
32321 * posix/testfnm.c: Adjust test result.
32322 * posix/globtest.sh: Adjust test result. Add new test.
32323 * posix/tst-fnmatch.input: Likewise.
32324 * posix/tst-fnmatch2.c: Add new test.
32326 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32328 * elf/Makefile (check-execstack): Revert last change. Depend on
32330 (check-execstack.h): New target.
32331 (generated): Add check-execstack.h.
32332 * elf/check-execstack.c: Include "check-execstack.h".
32333 (main): Revert last change.
32334 (handle_file): Return zero if GNU_STACK is absent and
32335 DEFAULT_STACK_PERMS doesn't include PF_X.
32337 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32339 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32340 in child fails because the descriptor is already closed.
32341 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32342 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32343 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32346 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32350 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32351 temporary buffer used to handle multi lookups locally.
32352 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32354 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32356 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32359 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32361 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32362 alignment for SSE2.
32364 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32367 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32368 characters. When rounding increased number of integer digits recompute
32370 * stdio-common/tst-grouping.c: New file.
32371 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32373 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32375 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32376 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32378 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32380 * bits/select.h: Likewise.
32382 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32384 * po/ja.po: Update from translation team.
32386 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32389 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32390 implementation just like for lxstat, fxstatat, et al.
32392 2010-12-27 Jim Meyering <meyering@redhat.com>
32395 * posix/regexec.c (build_trtable): Return failure indication upon
32396 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32398 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32401 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32402 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32403 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32404 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32407 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32410 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32411 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32413 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32415 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32416 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32417 script has SORT_BY_INIT_PRIORITY.
32418 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32419 NO_CTORS_DTORS_SECTIONS is defined.
32420 * elf/soinit.c: Likewise.
32421 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32422 NO_CTORS_DTORS_SECTIONS is defined.
32423 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32424 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32425 * sysdeps/sh/init-first.c: Likewise.
32426 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32428 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32430 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32431 always use the slow path.
32433 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32435 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32436 similar rule which adds the sysdep directories to the header search in
32437 order to pick up the correct platform stackinfo.h.
32438 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32439 perform test if it is, otherwise return successfully without testing.
32440 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32441 DEFAULT_STACK_PERMS define in stackinfo.h.
32442 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32443 defined in stackinfo.h.
32444 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32445 DEFAULT_STACK_PERMS defined in stackinfo.h.
32446 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32447 * sysdeps/ia64/stackinfo.h: Likewise.
32448 * sysdeps/s390/stackinfo.h: Likewise.
32449 * sysdeps/sh/stackinfo.h: Likewise.
32450 * sysdeps/sparc/stackinfo.h: Likewise.
32451 * sysdeps/x86_64/stackinfo.h: Likewise.
32452 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32453 PF_X for powerpc64. Retain PF_X for powerpc32.
32455 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32457 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32459 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32460 GETDENTS_64BIT_ALIGNED.
32462 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32464 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32466 2010-12-10 Andreas Schwab <schwab@redhat.com>
32468 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32471 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32472 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32474 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32475 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32477 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32480 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32483 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32485 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32487 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32489 * po/it.po: Update from translation team.
32491 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32496 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32498 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32500 2010-11-24 Andreas Schwab <schwab@redhat.com>
32502 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32504 (gaih_getanswer_slice): Likewise.
32506 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32510 2010-05-31 Petr Baudis <pasky@suse.cz>
32513 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32514 silently even in the chroot mode.
32516 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32519 last patch a bit. Pretty printing
32521 2010-05-31 Petr Baudis <pasky@suse.cz>
32524 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32525 initialization of skip_initgroups_dyn.
32527 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32529 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32530 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32532 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32534 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32536 2010-11-11 Andreas Schwab <schwab@redhat.com>
32538 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32539 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32540 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32541 ($(objpfx)tst-fnmatch-mem): New rule.
32542 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32543 * posix/tst-fnmatch.c (main): Call mtrace.
32545 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32548 Support Intel processor model 6 and model 0x2c.
32550 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32552 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32555 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32558 * string/test-strncasecmp.c (check_result): New function.
32559 (do_one_test): Use it.
32560 (check1): New function.
32561 (test_main): Use it.
32562 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32563 Support strcasecmp and strncasecmp.
32565 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32568 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32571 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32573 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32577 * sysdeps/x86_64/multiarch/bzero.S: New file.
32578 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32579 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32580 * sysdeps/x86_64/multiarch/memset.S: New file.
32581 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32583 Set bit_Prefer_SSE_for_memop for Intel processors.
32584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32586 (index_Prefer_SSE_for_memop): Define.
32587 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32589 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32591 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32592 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32594 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32598 (__x86_64_raw_data_cache_size_half): Likewise.
32599 (__x86_64_raw_shared_cache_size): Likewise.
32600 (__x86_64_raw_shared_cache_size_half): Likewise.
32602 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32603 (__x86_64_raw_data_cache_size_half): Likewise.
32604 (__x86_64_raw_shared_cache_size): Likewise.
32605 (__x86_64_raw_shared_cache_size_half): Likewise.
32606 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32607 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32608 and __x86_64_raw_shared_cache_size_half. Round
32609 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32610 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32611 to multiple of 256 bytes.
32613 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32617 of inacessible symlinks. Verify result of symlink before returning it.
32618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32619 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32621 2010-10-28 Erich Ritz <erichritz@gmail.com>
32623 * math/math.h (isinf): Fix typo in comment.
32625 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32627 * po/da.po: Update from translation team.
32629 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32631 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32632 is added to the list.
32634 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32635 Ulrich Drepper <drepper@gmail.com>
32637 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32638 the global list here. Move code to...
32639 (_dl_add_to_namespace_list): ...here. New function.
32640 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32641 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32642 * elf/dl-load.c (lose): Don't remove the element from the list.
32643 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32644 (_dl_map_object): Likewise.
32646 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32649 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32650 into all bytes of SSE register.
32651 Patch by Richard Li <richardpku@gmail.com>.
32653 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32656 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32659 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32661 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32662 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32663 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32669 2010-10-22 Andreas Schwab <schwab@redhat.com>
32671 * include/dlfcn.h (__RTLD_SECURE): Define.
32672 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32673 mode & __RTLD_SECURE instead.
32674 (open_path): Rename preloaded parameter to secure.
32675 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32676 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32677 * elf/dl-deps.c (openaux): Likewise.
32678 * elf/rtld.c (struct map_args): Remove is_preloaded.
32679 (map_doit): Don't use it.
32680 (dl_main): Likewise.
32681 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32682 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32684 2010-09-09 Andreas Schwab <schwab@redhat.com>
32686 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32687 (sysd-rules-targets): Remove duplicates.
32688 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32689 rtld-%.$o dependency.
32691 2010-10-18 Andreas Schwab <schwab@redhat.com>
32693 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32694 _dl_map_object do it.
32696 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32698 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32699 fast fma builtins, define the macros in the C99 standard.
32700 (FP_FAST_FMAF): Likewise.
32701 (FP_FAST_FMAL): Likewise.
32702 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32704 * bits/mathdef.h: Update copyright year.
32705 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32707 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32709 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32710 builtins, define the macros in the C99 standard.
32711 (FP_FAST_FMAF): Likewise.
32712 (FP_FAST_FMAL): Likewise.
32713 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32715 (FP_FAST_FMAF): Likewise.
32717 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32720 * math/libm-test.inc (fma_test): Some new testcases.
32721 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32723 y and infinite z. Do multiplication by C already in long double.
32724 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32726 y and infinite z. Do bitwise or of inexact bit into u.d.
32727 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32728 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32729 * sysdeps/i386/fpu/s_fma.S: Removed.
32730 * sysdeps/i386/fpu/s_fmal.S: Removed.
32732 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32735 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32737 computation is not scheduled after fetestexcept. Fix value
32738 of minimum denormal long double.
32740 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32743 * math/libm-test.inc (fma_test): Add some more tests.
32744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32747 2010-10-15 Andreas Schwab <schwab@redhat.com>
32749 * scripts/data/localplt-s390-linux-gnu.data: New file.
32750 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32752 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32755 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32756 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32758 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32760 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32762 if one of x and y is very large and the other is subnormal.
32763 * sysdeps/s390/fpu/s_fmaf.c: New file.
32764 * sysdeps/s390/fpu/s_fma.c: New file.
32765 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32766 * sysdeps/powerpc/fpu/s_fma.S: New file.
32767 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32768 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32769 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32771 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32774 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32777 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32778 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32779 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32780 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32781 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32784 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32787 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32788 * posix/bug-regex31.input: Add test case.
32790 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32792 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32793 * posix/bug-regex31.input: New file.
32796 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32797 (parse_sub_exp): Fix last change, use postorder.
32799 * posix/bug-regex31.c: New file.
32800 * posix/Makefile: Add rules to build and run bug-regex31.
32802 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32805 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32808 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32809 to have entries in sys_siglist.
32812 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32815 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32818 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32819 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32820 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32821 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32822 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32823 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32824 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32825 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32826 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32827 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32828 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32829 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32830 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32831 * math/ftestexcept.c (fetestexcept): Likewise.
32832 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32833 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32834 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32835 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32836 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32837 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32840 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32843 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32846 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32848 * string/bug-strstr1.c: New file.
32849 * string/Makefile: Add rules to build and run bug-strstr1.
32851 2010-10-05 Eric Blake <eblake@redhat.com>
32854 * string/str-two-way.h (two_way_long_needle): Always clear memory
32855 when skipping input due to the shift table.
32857 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32860 * malloc/mcheck.c: Handle large requests.
32863 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32864 for strncmp and strncasecmp.
32865 * string/stratcliff.c: Add tests for strcmp and strncmp.
32866 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32868 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32870 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32873 2010-09-30 Andreas Jaeger <aj@suse.de>
32875 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32876 (CGROUP_SUPER_MAGIC): Define.
32877 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32878 Handle btrfs and cgroup file systems.
32879 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32882 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32884 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32885 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32887 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32890 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32891 trying to locate the ELF header.
32893 2010-09-27 Andreas Schwab <schwab@redhat.com>
32896 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32897 Mask out sign-bit copies when constructing f_fsid.
32899 2010-09-24 Petr Baudis <pasky@suse.cz>
32901 * debug/stack_chk_fail_local.c: Add missing licence exception.
32902 * debug/warning-nop.c: Likewise.
32904 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32906 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32907 implementing getdents64 using getdents syscall, set d_type if
32908 __ASSUME_GETDENTS32_D_TYPE.
32910 2010-09-16 Andreas Schwab <schwab@redhat.com>
32912 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32913 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32915 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32918 * posix/unistd.h: Undo change of feature selection for ftruncate from
32921 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32923 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32926 2010-09-20 Andreas Schwab <schwab@redhat.com>
32928 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32930 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32932 2010-09-14 Andreas Schwab <schwab@redhat.com>
32934 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32935 variables after CHECK_SP call.
32936 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32938 2010-09-13 Andreas Schwab <schwab@redhat.com>
32939 Ulrich Drepper <drepper@redhat.com>
32941 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32942 re-relocationg ld.so.
32943 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32944 _dl_init_paths call.
32945 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32948 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32950 * resolv/res_init.c (__res_vinit): Count the default server we added.
32952 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32953 Ulrich Drepper <drepper@redhat.com>
32956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32957 (____longjmp_chk): Use %ebx for saving value across system call.
32960 2010-09-06 Andreas Schwab <schwab@redhat.com>
32962 * manual/Makefile: Don't mix pattern rules with normal rules.
32964 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32966 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32968 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32969 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32970 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32971 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32975 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32978 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32979 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32981 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32983 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32984 * sysdeps/x86_64/addmul_1.S: Likewise.
32985 * sysdeps/x86_64/lshift.S: Likewise.
32986 * sysdeps/x86_64/mul_1.S: Likewise.
32987 * sysdeps/x86_64/rshift.S: Likewise.
32988 * sysdeps/x86_64/sub_n.S: Likewise.
32989 * sysdeps/x86_64/submul_1.S: Likewise.
32991 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32993 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32994 Define __sched_param instead of SCHED_* and sched_param when
32995 <bits/sched.h> is included with __need_schedparam defined.
32996 * bits/sched.h [__need_schedparam]
32997 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32998 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32999 (__defined_schedparam): Define to 1.
33000 (__sched_param): New structure, identical to sched_param.
33001 (__need_schedparam): Undefine.
33003 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33006 (epoll_create1): Declare.
33008 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33010 2010-08-31 Andreas Schwab <schwab@redhat.com>
33013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33014 shifting retval into place.
33016 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33018 * nis/rpcsvc/nis.h: Update copyright notice.
33019 * nis/rpcsvc/nis.x: Likewise.
33020 * nis/rpcsvc/nis_callback.h: Likewise.
33021 * nis/rpcsvc/nis_callback.x: Likewise.
33022 * nis/rpcsvc/nis_object.x: Likewise.
33023 * nis/rpcsvc/nis_tags.h: Likewise.
33024 * nis/rpcsvc/yp.h: Likewise.
33025 * nis/rpcsvc/yp.x: Likewise.
33026 * nis/rpcsvc/ypupd.h: Likewise.
33027 * nis/yp_xdr.c: Likewise.
33028 * nis/ypupdate_xdr.c: Likewise.
33030 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33031 mainly the body of pmap_getport. Add parameters to specify timeouts.
33032 (pmap_getport): Use __libc_rpc_getport.
33033 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33034 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33035 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33037 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33042 2010-08-27 Roland McGrath <roland@redhat.com>
33044 * sysdeps/i386/i686/multiarch/Makefile
33045 (CFLAGS-varshift.c): New variable.
33047 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33049 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33050 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33052 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33054 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33056 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33058 * sysdeps/x86_64/strlen.S: Unroll the loop.
33059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33060 strlen-sse2 strlen-sse2-bsf.
33061 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33062 __strlen_no_bsf if bit_Slow_BSF is set.
33063 (__strlen_sse42): Removed.
33064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33065 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33067 2010-08-25 Roland McGrath <roland@redhat.com>
33069 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33070 * sysdeps/x86_64/multiarch/varshift.c: New file.
33071 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33072 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33073 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33074 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33076 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33079 strlen-sse2 strlen-sse2-bsf.
33080 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33081 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33082 (__strlen_sse2): Removed.
33083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33086 bit_Slow_BSF for Atom.
33087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33088 (index_Slow_BSF): Define.
33089 (HAS_SLOW_BSF): Define.
33091 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33094 * resolv/res_init.c (__res_vinit): When no server address at all
33095 is given default to loopback.
33097 2010-08-24 Roland McGrath <roland@redhat.com>
33099 * configure.in: Remove config-name.h generation.
33100 * configure: Regenerated.
33101 * config-name.in: File removed.
33102 * scripts/config-uname.sh: New file.
33103 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33104 ($(objdir)config-name.h): New target.
33106 * sunrpc/rpc_parse.h: Avoid nested comment.
33108 2010-08-24 Richard Henderson <rth@redhat.com>
33109 Ulrich Drepper <drepper@redhat.com>
33110 H.J. Lu <hongjiu.lu@intel.com>
33112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33114 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33115 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33116 _mm_alignr_epi8 with _mm_loadu_si128.
33117 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33118 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33119 (__m128i_shift_right): Removed.
33120 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33121 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33122 * sysdeps/x86_64/multiarch/varshift.h: New file.
33123 * sysdeps/x86_64/multiarch/varshift.S: New file.
33125 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33127 * configure.in: Move assembler checks to before sysdep dir checking.
33129 2010-08-20 Petr Baudis <pasky@suse.cz>
33131 * LICENSES: Sync the sunrpc license.
33133 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33135 * sunrpc/auth_des.c: Update copyright notice once again.
33136 * sunrpc/auth_none.c: Likewise.
33137 * sunrpc/auth_unix.c: Likewise.
33138 * sunrpc/authdes_prot.c: Likewise.
33139 * sunrpc/authuxprot.c: Likewise.
33140 * sunrpc/bindrsvprt.c: Likewise.
33141 * sunrpc/clnt_gen.c: Likewise.
33142 * sunrpc/clnt_perr.c: Likewise.
33143 * sunrpc/clnt_raw.c: Likewise.
33144 * sunrpc/clnt_simp.c: Likewise.
33145 * sunrpc/clnt_tcp.c: Likewise.
33146 * sunrpc/clnt_udp.c: Likewise.
33147 * sunrpc/clnt_unix.c: Likewise.
33148 * sunrpc/des_crypt.c: Likewise.
33149 * sunrpc/des_soft.c: Likewise.
33150 * sunrpc/get_myaddr.c: Likewise.
33151 * sunrpc/getrpcport.c: Likewise.
33152 * sunrpc/key_call.c: Likewise.
33153 * sunrpc/key_prot.c: Likewise.
33154 * sunrpc/openchild.c: Likewise.
33155 * sunrpc/pm_getmaps.c: Likewise.
33156 * sunrpc/pm_getport.c: Likewise.
33157 * sunrpc/pmap_clnt.c: Likewise.
33158 * sunrpc/pmap_prot.c: Likewise.
33159 * sunrpc/pmap_prot2.c: Likewise.
33160 * sunrpc/pmap_rmt.c: Likewise.
33161 * sunrpc/rpc/auth.h: Likewise.
33162 * sunrpc/rpc/auth_unix.h: Likewise.
33163 * sunrpc/rpc/clnt.h: Likewise.
33164 * sunrpc/rpc/des_crypt.h: Likewise.
33165 * sunrpc/rpc/key_prot.h: Likewise.
33166 * sunrpc/rpc/netdb.h: Likewise.
33167 * sunrpc/rpc/pmap_clnt.h: Likewise.
33168 * sunrpc/rpc/pmap_prot.h: Likewise.
33169 * sunrpc/rpc/pmap_rmt.h: Likewise.
33170 * sunrpc/rpc/rpc.h: Likewise.
33171 * sunrpc/rpc/rpc_des.h: Likewise.
33172 * sunrpc/rpc/rpc_msg.h: Likewise.
33173 * sunrpc/rpc/svc.h: Likewise.
33174 * sunrpc/rpc/svc_auth.h: Likewise.
33175 * sunrpc/rpc/types.h: Likewise.
33176 * sunrpc/rpc/xdr.h: Likewise.
33177 * sunrpc/rpc_clntout.c: Likewise.
33178 * sunrpc/rpc_cmsg.c: Likewise.
33179 * sunrpc/rpc_common.c: Likewise.
33180 * sunrpc/rpc_cout.c: Likewise.
33181 * sunrpc/rpc_dtable.c: Likewise.
33182 * sunrpc/rpc_hout.c: Likewise.
33183 * sunrpc/rpc_main.c: Likewise.
33184 * sunrpc/rpc_parse.c: Likewise.
33185 * sunrpc/rpc_parse.h: Likewise.
33186 * sunrpc/rpc_prot.c: Likewise.
33187 * sunrpc/rpc_sample.c: Likewise.
33188 * sunrpc/rpc_scan.c: Likewise.
33189 * sunrpc/rpc_scan.h: Likewise.
33190 * sunrpc/rpc_svcout.c: Likewise.
33191 * sunrpc/rpc_tblout.c: Likewise.
33192 * sunrpc/rpc_util.c: Likewise.
33193 * sunrpc/rpc_util.h: Likewise.
33194 * sunrpc/rpcinfo.c: Likewise.
33195 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33196 * sunrpc/rpcsvc/key_prot.x: Likewise.
33197 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33198 * sunrpc/rpcsvc/mount.x: Likewise.
33199 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33200 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33201 * sunrpc/rpcsvc/rex.x: Likewise.
33202 * sunrpc/rpcsvc/rstat.x: Likewise.
33203 * sunrpc/rpcsvc/rusers.x: Likewise.
33204 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33205 * sunrpc/rpcsvc/spray.x: Likewise.
33206 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33207 * sunrpc/rtime.c: Likewise.
33208 * sunrpc/svc.c: Likewise.
33209 * sunrpc/svc_auth.c: Likewise.
33210 * sunrpc/svc_authux.c: Likewise.
33211 * sunrpc/svc_raw.c: Likewise.
33212 * sunrpc/svc_run.c: Likewise.
33213 * sunrpc/svc_simple.c: Likewise.
33214 * sunrpc/svc_tcp.c: Likewise.
33215 * sunrpc/svc_udp.c: Likewise.
33216 * sunrpc/svc_unix.c: Likewise.
33217 * sunrpc/svcauth_des.c: Likewise.
33218 * sunrpc/xcrypt.c: Likewise.
33219 * sunrpc/xdr.c: Likewise.
33220 * sunrpc/xdr_array.c: Likewise.
33221 * sunrpc/xdr_float.c: Likewise.
33222 * sunrpc/xdr_mem.c: Likewise.
33223 * sunrpc/xdr_rec.c: Likewise.
33224 * sunrpc/xdr_ref.c: Likewise.
33225 * sunrpc/xdr_sizeof.c: Likewise.
33226 * sunrpc/xdr_stdio.c: Likewise.
33228 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33231 2010-08-19 Andreas Schwab <schwab@redhat.com>
33233 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33235 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33237 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33238 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33240 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33241 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33242 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33243 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33244 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33245 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33246 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33247 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33248 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33249 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33250 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33252 2010-07-26 Anton Blanchard <anton@samba.org>
33254 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33255 * malloc/arena.c (heap_trim): Likewise.
33257 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33259 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33261 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33262 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33264 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33266 * sysdeps/i386/elf/Makefile: New file.
33268 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33270 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33271 from fanotify_init.
33272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33275 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33277 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33279 * sysdeps/multiarch/strcmp.S: Likewise.
33281 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33283 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33284 strncase_l-nonascii.
33285 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33286 Add strncase_l-ssse3.
33287 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33288 * sysdeps/x86_64/strcmp.S: Likewise.
33289 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33290 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33291 * sysdeps/x86_64/strncase.S: New file.
33292 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33293 * sysdeps/x86_64/strncase_l.S: New file.
33294 * string/Makefile (strop-tests): Add strncasecmp.
33295 * string/test-strncasecmp.c: New file.
33297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33300 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33301 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33303 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33305 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33307 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33309 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33310 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33311 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33313 2010-05-01 Alan Modra <amodra@gmail.com>
33315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33316 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33317 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33318 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33319 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33320 tidying. Don't tail-call __sigjmp_save for static lib.
33321 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33323 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33324 (CALL_MCOUNT): Add eh info, and nop after bl.
33325 (TAIL_CALL_SYSCALL_ERROR): New macro.
33326 (PSEUDO_RET): Use it.
33327 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33328 Correct save location of integer regs and cr.
33329 (_dl_profile_resolve): Correct cr save location. Delete nops
33330 after bl when SHARED. Reduce cfi size a little by better
33331 placement of cfi directives.
33332 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33333 make a stack frame. Instead use parm save area as a temp.
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33335 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33337 Don't make a stack frame for parent, use parm save area.
33338 Increase child stack frame to 112 bytes. Don't save unused reg,
33339 and adjust reg usage. Set up cfi on error recovery and
33340 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33342 (__makecontext): Add dummy nop after jump to exit.
33343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33344 Use correct parm save area and cr save, reduce stack frame.
33345 Correct cfi for possible PSEUDO_RET frame setup.
33346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33347 Branch to local label emitted by PSEUDO_RET rather than
33350 2010-08-12 Andreas Schwab <schwab@redhat.com>
33353 * locale/programs/locale.c (print_assignment): New function.
33354 (show_locale_vars): Use it.
33356 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33358 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33360 (struct statfs64): Likewise.
33361 (_STATFS_F_FLAGS): Define.
33362 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33364 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33365 (ST_VALID): Define locally.
33366 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33367 __statvfs_getflags, use the provided value.
33368 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33369 __ASSUME_STATFS_F_FLAGS.
33371 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33373 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33374 Add sys/fanotify.h.
33375 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33376 fanotify_mask for GLIBC_2.13.
33377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33378 fanotify_init and fanotify_mark.
33379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33380 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33382 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33384 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33385 prlimit64 for GLIBC_2.13.
33386 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33391 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33392 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33396 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33399 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33400 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33402 * nss/Makefile: Add rules to build and run tst-nss-test1.
33403 * shlib-versions: Add entry for libnss_test1.
33404 * nss/nss_test1.c: New file.
33405 * nss/tst-nss-test1.c: New file.
33407 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33408 (__nss_configure_lookup): Set appropriate entry in
33409 __nss_configure_lookup to true.
33410 * nss/nsswitch.h: Define enum with indeces of databases in
33411 databases and __nss_database_custom arrays. Declare
33412 __nss_database_custom.
33413 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33414 to avoid using nscd when custom rules are installed.
33415 * nss/getXXbyYY_r.c: Likewise.
33416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33418 * nss/nss_files/files-parse.c: Whitespace fixes.
33420 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33423 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33424 * posix/fnmatch_loop.c: Likewise.
33426 2010-07-17 Andi Kleen <ak@linux.intel.com>
33428 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33429 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33430 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33431 * Versions.def [GLIBC_2.13]: Add.
33433 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33436 Also fail if tpwd after pwuid call is NULL.
33438 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33440 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33441 when converting to ms.
33443 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33445 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33446 EOPNOTSUPP errors with ENOTTY.
33447 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33448 EOPNOTSUPP errors with ENOTTY.
33450 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33452 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33453 Add strcasecmp_l-ssse3.
33454 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33456 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33457 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33458 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33460 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33462 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33464 * string/Makefile (strop-tests): Add strcasecmp.
33465 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33466 strcasecmp_l-nonascii.
33467 (gen-as-const-headers): Add locale-defines.sym.
33468 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33469 * sysdeps/x86_64/strcasecmp.S: New file.
33470 * sysdeps/x86_64/strcasecmp_l.S: New file.
33471 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33472 * sysdeps/x86_64/locale-defines.sym: New file.
33473 * string/test-strcasecmp.c: New file.
33475 * string/test-strcasestr.c: Test both ends of the range of characters.
33476 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33478 2010-07-29 Roland McGrath <roland@redhat.com>
33481 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33483 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33485 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33488 2010-07-27 Andreas Schwab <schwab@redhat.com>
33490 * manual/memory.texi (Malloc Tunable Parameters): Document
33493 2010-07-26 Roland McGrath <roland@redhat.com>
33496 * configure.in (-fgnu89-inline check): Set and substitute
33497 gnu89_inline, not libc_cv_gnu89_inline.
33498 * configure: Regenerated.
33499 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33501 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33503 * string/test-strnlen.c: New file.
33504 * string/Makefile (strop-tests): Add strnlen.
33505 * string/tester.c (test_strnlen): Add a few more test cases.
33506 * string/tst-strlen.c: Better error reporting.
33508 * sysdeps/x86_64/strnlen.S: New file.
33510 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33513 lower-latency instructions.
33515 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33517 * string/test-strcasestr.c: New file.
33518 * string/test-strstr.c: New file.
33519 * string/Makefile (strop-tests): Add strstr and strcasestr.
33520 * string/str-two-way.h: Don't undefine MAX.
33521 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33523 2010-07-21 Andreas Schwab <schwab@redhat.com>
33525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33526 strcasestr-nonascii.
33527 (CFLAGS-strcasestr-nonascii.c): Define.
33528 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33529 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33530 Remove unused attribute.
33532 2010-07-20 Roland McGrath <roland@redhat.com>
33534 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33535 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33536 ld.so.cache was broken. With it, there is no way to disable dsocaps
33537 like LD_HWCAP_MASK can disable hwcaps.
33539 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33541 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33543 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33545 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33546 call in strcasestr.
33547 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33548 __strcasestr_sse42_nonascii.
33549 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33550 strcasestr-nonascii.c.
33551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33553 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33555 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33560 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33565 2010-07-06 Andreas Schwab <schwab@redhat.com>
33568 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33571 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33574 _PC_PIPE_BUF using F_GETPIPE_SZ.
33576 2010-07-05 Roland McGrath <roland@redhat.com>
33578 * manual/arith.texi (Rounding Functions): Fix rint description
33579 implicit in round description.
33581 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33583 * elf/Makefile: Fix linking for a few tests to make recent linker
33586 2010-06-30 Andreas Schwab <schwab@redhat.com>
33588 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33589 $(common-objpfx)libc_nonshared.a.
33591 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33593 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33594 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33595 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33596 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33597 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33598 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33599 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33600 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33615 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33616 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33617 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33618 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33619 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33620 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33621 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33622 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33623 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33624 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33625 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33626 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33642 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33644 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33645 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33646 * string/memmove.c (memmove): Renamed to ...
33647 (MEMMOVE): ...this. Default to memmove.
33648 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33649 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33652 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33653 mempcpy-ssse3-back memmove-ssse3-back.
33654 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33655 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33657 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33658 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33659 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33660 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33661 * sysdeps/x86_64/multiarch/memmove.c: New file.
33662 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33663 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33664 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33665 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33666 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33669 (index_Fast_Copy_Backward): Define.
33670 (HAS_ARCH_FEATURE): Define.
33671 (HAS_FAST_REP_STRING): Define.
33672 (HAS_FAST_COPY_BACKWARD): Define.
33674 2010-06-21 Andreas Schwab <schwab@redhat.com>
33676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33677 Restore proper fallback handling.
33679 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33682 * posix/group_member.c (__group_member): Correct checking loop.
33684 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33685 OOM in getpwuid_r correctly. Return error number when the caller
33686 should return, otherwise -1.
33687 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33688 call returning > 0 value.
33689 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33691 2010-06-07 Andreas Schwab <schwab@redhat.com>
33693 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33694 libc_nonshared.a from targets in modules-names.
33696 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33698 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33701 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33704 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33708 2010-06-02 Andreas Schwab <schwab@redhat.com>
33710 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33712 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33714 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33723 2010-06-14 Roland McGrath <roland@redhat.com>
33725 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33727 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33729 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33730 __REDIRECT followed by __THROW.
33731 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33732 * posix/getopt.h (getopt): Likewise.
33734 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33736 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33737 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33738 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33740 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33741 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33743 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33747 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33751 Properly check family and model.
33753 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33755 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33757 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33759 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33761 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33763 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33766 2010-05-19 Andreas Schwab <schwab@redhat.com>
33768 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33771 2010-05-21 Andreas Schwab <schwab@redhat.com>
33773 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33774 and internal_recvmmsg.
33775 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33776 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33777 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33778 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33780 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33781 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33782 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33784 2010-05-20 Andreas Schwab <schwab@redhat.com>
33786 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33788 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33790 POWER7 optimizations.
33791 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33792 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33794 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33796 * version.h: Update for 2.13 development version.
33798 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33800 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33801 exceptions. Return 0.
33803 2010-05-07 Roland McGrath <roland@redhat.com>
33805 * elf/ldconfig.c (main): Add a const.
33807 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33809 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33810 (args_options): Add no-idn option.
33811 (ahosts_keys_int): Add idn_flags to ai_flags.
33812 (parse_option): Handle 'i' option to clear idn_flags.
33814 * malloc/malloc.c (_int_free): Possible race in the most recently
33815 added check. Only act on the data if no current modification
33818 See ChangeLog.17 for earlier changes.