1 2013-10-04 Alan Modra <amodra@gmail.com>
3 * string/tester.c (test_memrchr): Increment reported test cycle.
5 2013-10-04 Alan Modra <amodra@gmail.com>
7 * string/test-memcpy.c (do_one_test): When reporting errors, print
8 string address and don't overrun end of string.
10 2013-10-04 Alan Modra <amodra@gmail.com>
12 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13 insrdi. Make better use of reg selection to speed exit slightly.
14 Schedule entry path a little better. Remove useless "are we done"
15 checks on entry to main loop. Handle wrapping around zero address.
16 Correct main loop count. Handle single left-over word from main
17 loop inline rather than by using loop_small. Remove extra word
18 case in loop_small caused by wrong loop count. Add little-endian
20 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25 support. Avoid rlwimi.
26 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28 2013-10-04 Alan Modra <amodra@gmail.com>
30 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
33 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39 2013-10-04 Alan Modra <amodra@gmail.com>
41 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
50 use of regs. Use power7 mtocrf. Tidy function tails.
52 2013-10-04 Alan Modra <amodra@gmail.com>
54 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55 Formatting. Consistently use rXXX register defines or rN defines.
56 Use early exit labels that avoid restoring unused non-volatile regs.
57 Make cr field use more consistent with rWORDn compares. Rename
58 regs used as shift registers for unaligned loop, using rN defines
59 for short lifetime/multiple use regs.
60 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62 addi 1,1,64 to pop stack frame. Simplify return value code.
63 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65 2013-10-04 Alan Modra <amodra@gmail.com>
67 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
68 support. Correct typos, formatting. Optimize tail. Use insrdi
70 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
71 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
72 little-endian support. Correct typos.
73 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
75 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
76 in loop and entry code to keep "and." results.
77 (strchr): Add little-endian support. Comment. Move cntlzd
79 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
81 2013-10-04 Alan Modra <amodra@gmail.com>
83 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
84 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
85 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
86 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
88 2013-10-04 Alan Modra <amodra@gmail.com>
90 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
91 (rTMP): Define as r11.
92 (strcmp): Add little-endian support. Optimise tail.
93 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
94 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
95 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
96 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
97 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
98 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
99 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
101 2013-10-04 Alan Modra <amodra@gmail.com>
103 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
104 little-endian support. Remove unnecessary "are we done" tests.
105 Handle "s" wrapping around zero and extremely large "size".
106 Correct main loop count. Handle single left-over word from main
107 loop inline rather than by using small_loop. Correct comments.
108 Delete "zero" tail, use "end_max" instead.
109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
111 2013-10-04 Alan Modra <amodra@gmail.com>
113 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
114 support. Don't branch over align.
115 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
116 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
117 support. Rearrange tmp reg use to suit. Comment.
118 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
120 2013-10-04 Alan Modra <amodra@gmail.com>
122 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
124 2013-10-04 Alan Modra <amodra@gmail.com>
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
127 conditional form of branch and link when obtaining pc.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
130 2013-10-04 Alan Modra <amodra@gmail.com>
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
137 2013-10-04 Alan Modra <amodra@gmail.com>
139 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
140 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
141 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
142 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
143 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
144 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
145 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
146 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
147 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
148 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
150 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
151 Alistair Popple <alistair@ozlabs.au.ibm.com>
152 Alan Modra <amodra@gmail.com>
155 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
157 _dl_hwcap access for little-endian.
158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
159 destroy vmx regs when saving unaligned.
160 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
161 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
162 destroy vmx regs when saving unaligned.
164 2013-10-04 Alan Modra <amodra@gmail.com>
166 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
167 Don't use a union to pack hi/low value.
169 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
171 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
173 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
175 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
176 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
177 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
179 2013-10-04 Alan Modra <amodra@gmail.com>
181 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
182 constants to usual value for .cst8 section, and remove redundant
184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
185 constant for 0x1p52. Load little-endian words of double from
186 correct stack offsets.
188 2013-10-04 Alan Modra <amodra@gmail.com>
190 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
191 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
192 words of double from correct stack offsets.
193 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
194 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
195 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
197 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
200 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
201 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
204 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
206 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
207 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
208 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
209 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
211 2013-10-04 Alan Modra <amodra@gmail.com>
213 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
214 64-bit int/double union.
215 (_FPU_SETCW): Likewise.
216 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
217 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
219 2013-10-04 Alan Modra <amodra@gmail.com>
221 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
222 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
224 2013-10-04 Alan Modra <amodra@gmail.com>
226 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
227 use vector int constants.
228 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
230 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
232 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
233 array with long long.
234 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
235 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
236 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
237 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
238 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
239 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
240 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
241 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
242 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
243 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
244 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
245 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
246 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
248 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
250 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
251 (__signbit): Likewise. Correct for little-endian.
252 (__signbitl): Call __signbit.
253 (lrint): Correct for little-endian.
254 (lrintf): Call lrint.
256 2013-10-04 Alan Modra <amodra@gmail.com>
258 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
259 union 32-bit int array member with 64-bit int array.
260 (t515, tm256): Double rather than long double.
261 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
263 2013-10-04 Alan Modra <amodra@gmail.com>
265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
267 (IEEE854_LONG_DOUBLE_BIAS): Delete.
268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
269 version of math_ldbl.h.
271 2013-10-04 Alan Modra <amodra@gmail.com>
273 [BZ #15734], [BZ #15735]
274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
275 all uses of ieee875 long double macros and unions. Simplify test
276 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
277 ldbl_extract_mantissa value for ix,iy exponents. Properly
278 normalize after ldbl_extract_mantissa, and don't add hidden bit
279 already handled. Don't treat low word of ieee854 mantissa like
280 low word of IBM long double and mask off bit when testing for
282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
283 all uses of ieee875 long double macros and unions. Simplify tests
284 for 0.0L and inf. Correct double adjustment of k. Delete dead code
285 adjusting ha,hb. Simplify code setting kld. Delete two600 and
286 two1022, instead use their values. Recognise that tests for large
287 "a" and small "b" are mutually exclusive. Rename vars. Comment.
288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
289 Rewrite all uses of ieee875 long double macros and unions. Simplify
290 test for 0.0L and nan. Correct negation.
291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
292 ieee875 long double macros and unions. Correct output for large
293 magnitude x. Correct absolute value calculation.
295 * math/libm-test.inc: Add tests for errors discovered in IBM long
296 double versions of fmodl, remainderl, erfl and erfcl.
298 2013-10-04 Alan Modra <amodra@gmail.com>
300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
301 all uses of ieee854 long double macros and unions. Simplify tests
302 for long doubles that are fully specified by the high double.
303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
305 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
306 Remove dead code too.
307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
308 (__ieee754_ynl): Likewise.
309 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
310 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
311 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
312 Remove dead code too.
313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
323 Comment on variable precision.
324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
327 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
331 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
333 2013-10-04 Alan Modra <amodra@gmail.com>
335 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
336 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
337 all uses of ieee854 long double macros and unions.
338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
340 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
341 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
343 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
348 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
351 Simplify sign and nan test too.
352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
357 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
358 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
361 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
362 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
367 2013-10-04 Alan Modra <amodra@gmail.com>
369 * stdio-common/printf_size.c (__printf_size): Don't use
370 union ieee854_long_double in fpnum union.
371 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
372 signbit macro to retrieve sign from long double.
373 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
374 retrieve sign from long double.
375 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
376 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
377 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
378 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
379 * math/test-misc.c (main): Don't use union ieee854_long_double.
381 2013-10-04 Alan Modra <amodra@gmail.com>
384 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
385 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
386 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
387 calculation. Remove unnecessary test for denormal exponent.
388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
389 Correct handling of denormals. Avoid undefined shift behaviour.
390 Correct normalisation of low mantissa when low double is denormal.
391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
392 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
393 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
394 Correct normalisation of low mantissa. Test for overflow of high
395 mantissa and normalise.
396 (ldbl_nearbyint): Use more readable constant for two52.
397 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
398 (__mpn_construct_long_double): Fix test for overflow of high
399 mantissa and correct normalisation. Avoid undefined shift.
401 2013-10-04 Alan Modra <amodra@gmail.com>
403 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
404 (union ibm_extended_long_double): Define as an array of ieee754_double.
405 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
406 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
407 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
408 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
412 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
415 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
417 2013-10-03 Joseph Myers <joseph@codesourcery.com>
419 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
420 page size instead of calling getpagesize.
422 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
423 (LOCFILE_ALIGN_MASK): Likewise.
424 (LOCFILE_ALIGN_UP): Likewise.
425 (LOCFILE_ALIGNED_P): Likewise.
426 * locale/programs/ld-collate.c (collate_output): Use the new
427 macros instead of __alignof__ (int32_t).
428 * locale/weight.h (findidx): Likewise.
430 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
433 * manual/string.texi: Fix strncat and wcsncat.
435 2013-10-03 Brooks Moses <bmoses@google.com>
438 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
439 * Makerules: ...here, and adjust associated comments.
441 2013-10-02 Will Newton <will.newton@linaro.org>
443 * malloc/Makefile: Add tst-pvalloc.
444 * malloc/tst-pvalloc.c: New file.
446 2013-10-02 Will Newton <will.newton@linaro.org>
448 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
449 improve test coverage.
451 2013-10-02 Will Newton <will.newton@linaro.org>
453 * malloc/Makefile: Add tst-posix_memalign.
454 * malloc/tst-posix_memalign.c: New file.
456 2013-10-01 Eric Blake <eblake@redhat.com>
458 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
459 Use __THROWNL rather than __THROW on static functions.
461 2013-09-30 Petr Machata <pmachata@redhat.com>
463 * elf/elf.h (R_AARCH64_ABS16): New macro.
464 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
465 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
466 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
467 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
468 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
469 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
470 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
471 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
472 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
473 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
474 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
475 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
476 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
477 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
478 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
479 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
480 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
481 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
482 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
483 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
484 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
485 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
486 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
487 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
488 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
489 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
490 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
491 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
492 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
493 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
494 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
495 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
496 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
497 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
498 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
499 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
500 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
501 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
502 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
503 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
504 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
505 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
506 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
507 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
508 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
509 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
510 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
511 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
512 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
513 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
514 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
515 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
516 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
517 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
518 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
519 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
520 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
521 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
522 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
523 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
524 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
525 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
526 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
527 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
528 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
529 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
530 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
531 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
532 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
533 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
534 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
535 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
536 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
537 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
538 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
539 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
540 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
541 (R_AARCH64_TLSDESC_LDR): Likewise.
542 (R_AARCH64_TLSDESC_ADD): Likewise.
543 (R_AARCH64_TLSDESC_CALL): Likewise.
545 2013-09-30 Andreas Schwab <schwab@suse.de>
548 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
549 the nss database lookup.
550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
553 2013-09-28 Mike Frysinger <vapier@gentoo.org>
555 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
557 2013-09-28 P. J. McDermott <pj@pehjota.net>
559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
560 ${Bash-specific parameter/pattern/string} parameter expansion.
561 * sysdeps/unix/make-syscalls.sh: Likewise.
563 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
565 * sysdeps/sh/stackguard-macros.h: New file.
567 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
571 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
573 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
574 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
576 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
579 Fix thread ID register.
581 2013-09-25 Joseph Myers <joseph@codesourcery.com>
583 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
584 [POSIX || UNIX98]: Require rather than permitting all symbols from
586 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
587 element of struct sched_param.
588 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
589 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
590 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
591 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
594 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
596 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
597 argument calculation.
599 2013-09-24 Joseph Myers <joseph@codesourcery.com>
601 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
603 [POSIX] (pthread_attr_t): Do not require type.
604 [POSIX] (pthread_cond_t): Likewise.
605 [POSIX] (pthread_condattr_t): Likewise.
606 [POSIX] (pthread_key_t): Likewise.
607 [POSIX] (pthread_mutex_t): Likewise.
608 [POSIX] (pthread_mutexattr_t): Likewise.
609 [POSIX] (pthread_once_t): Likewise.
610 [POSIX] (pthread_t): Likewise.
611 [POSIX-based standards] (pthread_atfork): Expect function.
613 2013-09-24 Joseph Myers <joseph@codesourcery.com>
614 Richard Sandiford <richard@codesourcery.com>
616 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
617 (swap_endianness_p): New extern variable.
618 (set_big_endian): New inline function.
619 (maybe_swap_uint32): Likewise.
620 (maybe_swap_uint32_array): Likewise.
621 (maybe_swap_uint32_obstack): Likewise.
622 * locale/programs/locfile.c: Include <stdbool.h>.
623 (swap_endianness_p): New variable.
624 (add_locale_uint32): Call maybe_swap_uint32.
625 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
626 (write_locale_data): Call maybe_swap_uint32_array.
627 * locale/programs/ld-collate.c (obstack_int32_grow): Call
629 (obstack_int32_grow_fast): Likewise.
630 (output_weightwc): Call maybe_swap_uint32_obstack.
631 (collate_output): Likewise.
632 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
633 (OPT_LITTLE_ENDIAN): Likewise.
634 (options): Add --little-endian and --big-endian options.
635 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
636 * locale/programs/locarchive.c: Include "locfile.h".
640 (create_archive): Use the new macros to access fields of
641 structures directly mapped from or written to locale archives.
642 (oldlocrecentcmp): Likewise.
643 (enlarge_archive): Likewise.
644 (insert_name): Likewise.
645 (add_alias): Likewise.
646 (add_locale): Likewise.
647 (delete_locales_from_archive): Likewise.
648 (show_archive_content): Likewise.
649 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
652 2013-09-24 Roland McGrath <roland@hack.frob.com>
654 * manual/freemanuals.texi: Updated from (newly) canonical copy at
655 http://www.gnu.org/doc/freemanuals.texi.
656 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
658 2013-09-24 Will Newton <will.newton@linaro.org>
660 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
663 2013-09-23 Joseph Myers <joseph@codesourcery.com>
665 * locale/hashval.h (compute_hashval): Interpret bytes of key as
668 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
670 * manual/threads.texi (POSIX Threads): Fix a typo.
672 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
675 * string/tst-strcoll-overflow.c: New test case.
676 * string/Makefile (xtests): Add tst-strcoll-overflow.
677 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
678 cache if string sizes may cause integer overflow.
681 * string/strcoll_l.c (coll_seq): New members rule, idx,
682 save_idx and back_us.
683 (get_next_seq_nocache): New function.
684 (do_compare_nocache): New function.
685 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
688 2013-09-23 Carlos O'Donell <carlos@redhat.com>
691 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
692 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
693 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
696 * elf/Makefile (tests): Add tst-ptrguard1.
697 (tests-static): Add tst-ptrguard1-static.
698 (tst-ptrguard1-ARGS): Define.
699 (tst-ptrguard1-static-ARGS): Define.
700 * elf/tst-ptrguard1.c: New file.
701 * elf/tst-ptrguard1-static.c: New file.
702 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
703 * sysdeps/i386/stackguard-macros.h: Likewise.
704 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
705 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
706 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
707 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
708 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
709 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
711 2013-09-23 Hector Marco <hecmargi@upv.es>
712 Ismael Ripoll <iripoll@disca.upv.es>
713 Carlos O'Donell <carlos@redhat.com>
716 * sysdeps/generic/stackguard-macros.h: Define
717 __pointer_chk_guard_local and POINTER_CHK_GUARD.
718 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
719 Define __pointer_chk_guard_local.
720 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
721 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
723 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
726 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
728 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
730 * include/string.h (__ffs): Declare as hidden.
731 * string/ffs.c (__ffs): Define as hidden.
732 * sysdeps/i386/ffs.c (__ffs): Likewise.
733 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
734 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
735 * sysdeps/s390/ffs.c (__ffs): Likewise.
736 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
738 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
740 * NEWS: Mention malloc probes.
742 * malloc/arena.c (new_heap): New memory_heap_new probe.
743 (grow_heap): New memory_heap_more probe.
744 (shrink_heap): New memory_heap_less probe.
745 (heap_trim): New memory_heap_free probe.
746 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
747 (systrim): New memory_sbrk_less probe.
748 * manual/probes.texi: Document them.
750 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
751 * manual/probes.texi: Document it.
753 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
754 (__libc_realloc): Add memory_realloc_retry probe.
755 (__libc_memalign): Add memory_memalign_retry probe.
756 (__libc_valloc): Add memory_valloc_retry probe.
757 (__libc_pvalloc): Add memory_pvalloc_retry probe.
758 (__libc_calloc): Add memory_calloc_retry probe.
759 * manual/probes.texi: Document them.
761 * malloc/arena.c (get_free_list): Add probe
762 memory_arena_reuse_free_list.
763 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
764 and memory_arena_reuse.
765 (arena_get2) [!PER_THREAD]: Likewise.
766 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
767 memory_arena_reuse_realloc.
768 * manual/probes.texi: Document them.
770 * malloc/malloc.c (__libc_free): Add
771 memory_mallopt_free_dyn_thresholds probe.
772 (__libc_mallopt): Add multiple memory_mallopt probes.
773 * manual/probes.texi: Document them.
775 * malloc/malloc.c: Include stap-probe.h.
776 (__libc_mallopt): Add memory_mallopt probe.
777 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
778 * manual/probes.texi: New.
779 * manual/Makefile (chapters): Add probes.
780 * manual/threads.texi: Set next node.
782 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
785 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
786 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
787 Add `Chinese' to `nan' entry name.
789 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
791 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
792 (POLYNOMIAL): Likewise.
793 (TAYLOR_SINCOS): Likewise.
794 (TAYLOR_SLOW): Likewise.
795 (__sin): Use TAYLOR_SINCOS.
797 (slow): Use TAYLOR_SLOW.
802 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
804 * stdlib/strtod_l.c: Fix buffer overrun.
806 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
808 * benchtests/Makefile (bench): Add sincos.
809 * benchtests/bench-sincos.c: New file.
811 * math/libm-test.inc (cos_test_data): New test inputs.
812 (sin_test_data): Likewise.
814 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
828 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
837 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
839 * config.h.in (HAVE_MIPS_NAN2008): New macro.
840 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
841 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
842 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
843 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
844 * elf/cache.c (print_entry): Handle the new cache flags.
846 2013-09-18 Joseph Myers <joseph@codesourcery.com>
847 Aldy Hernandez <aldyh@redhat.com>
849 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
850 Change condition to [_SOFT_FLOAT].
851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
863 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
866 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
869 2013-09-18 Joseph Myers <joseph@codesourcery.com>
871 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
872 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
873 (__longjmp): Use LOAD_GP to load saved GPRs.
874 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
875 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
876 (__sigsetjmp): Use SAVE_GP to save GPRs.
878 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
879 Do not append -msoft-float.
880 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
882 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
884 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
886 2013-09-17 Joseph Myers <joseph@codesourcery.com>
889 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
890 (_FPU_GETCW): Use initial "__" on variable and field names but not
891 on macro parameter name.
892 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
893 parentheses around reference to macro parameter.
895 2013-09-13 Richard Sandiford <richard@codesourcery.com>
897 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
899 (ctype_startup): Use uint32_t in cast and sizeof for
902 2013-09-11 Jia Liu <proljc@gmail.com>
904 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
906 [__FreeBSD__]: Likewise.
908 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
911 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
912 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
913 (strchr): Remove __strchr_sse42 ifunc selection.
914 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
915 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
917 2013-09-11 Will Newton <will.newton@linaro.org>
919 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
920 parameter to RES. Remove hardcoded 1000 value.
921 * benchtests/bench-skeleton.c (main): Pass RES parameter
922 to TIMING_INIT and multiply result by 1000.
924 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
928 2013-09-11 Andreas Schwab <schwab@suse.de>
930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
932 (O_TMPFILE) [__USE_GNU]: Define.
933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
936 2013-09-11 Will Newton <will.newton@linaro.org>
939 * malloc/malloc.c (__libc_memalign): Check the value of bytes
942 2013-09-11 Will Newton <will.newton@linaro.org>
945 * malloc/malloc.c (__libc_valloc): Check the value of bytes
948 2013-09-11 Will Newton <will.newton@linaro.org>
951 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
954 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
956 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
959 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
962 2013-09-10 Allan McRae <allan@archlinux.org>
965 * manual/arith.texi (Parsing of Floats): Clarify
969 * manual/install.texi (Running make install): Mention
971 * INSTALL: Regenerated.
973 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
975 * csu/init-first.c (_init): Remove the !SHARED condition around
976 FPU control word initialization.
977 * elf/dl-support.c (_dl_fpu_control): New variable.
978 (_dl_aux_init) <AT_FPUCW>: Initialize it.
979 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
980 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
981 * math/test-fpucw-static.c: New file.
982 * math/test-fpucw-ieee.c: New file.
983 * math/test-fpucw-ieee-static.c: New file.
984 * math/Makefile (tests): Add `test-fpucw-ieee' and
986 (tests-static): New variable.
987 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
989 [($(build-shared),yes)]
990 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
992 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
995 2013-09-09 Allan McRae <allan@archlinux.org>
998 * manual/string.texi (Collation Functions): Fix typo in
1000 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1003 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1006 * libio/memstream.c (open_memstream): Fix memory leak.
1007 * libio/wmemstream.c (open_wmemstream): Likewise.
1010 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1012 2013-09-09 Will Newton <will.newton@linaro.org>
1014 * malloc/Makefile: Add tst-realloc to tests.
1015 * malloc/tst-realloc.c: New file.
1017 2013-09-09 Allan McRae <allan@archlinux.org>
1020 * COPYING: Update from GNU website to fix FSF address.
1021 * COPYING.LIB: Likewise.
1023 2013-09-06 David S. Miller <davem@davemloft.net>
1025 * po/zh_TW.po: Update Chinese (traditional) translation from
1026 translation project.
1028 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1029 Joseph Myers <joseph@codesourcery.com>
1031 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1033 (obstack_chunk_alloc): New macro.
1034 (obstack_chunk_free): Likewise.
1035 (record_offset): New function.
1036 (init_locale_data): Likewise.
1037 (align_locale_data): Likewise.
1038 (add_locale_empty): Likewise.
1039 (add_locale_raw_data): Likewise.
1040 (add_locale_raw_obstack): Likewise.
1041 (add_locale_string): Likewise.
1042 (add_locale_wstring): Likewise.
1043 (add_locale_uint32): Likewise.
1044 (add_locale_uint32_array): Likewise.
1045 (add_locale_char): Likewise.
1046 (start_locale_structure): Likewise.
1047 (end_locale_structure): Likewise.
1048 (start_locale_prelude): Likewise.
1049 (end_locale_prelude): Likewise.
1050 (write_locale_data): Take locale_file structure rather than an
1052 * locale/programs/locfile.h: Include "obstack.h".
1053 (struct locale_file): Change to store locale file contents instead
1055 (init_locale_data): New prototype.
1056 (align_locale_data): Likewise.
1057 (add_locale_empty): Likewise.
1058 (add_locale_raw_data): Likewise.
1059 (add_locale_raw_obstack): Likewise.
1060 (add_locale_string): Likewise.
1061 (add_locale_wstring): Likewise.
1062 (add_locale_uint32): Likewise.
1063 (add_locale_uint32_array): Likewise.
1064 (add_locale_char): Likewise.
1065 (start_locale_structure): Likewise.
1066 (end_locale_structure): Likewise.
1067 (start_locale_prelude): Likewise.
1068 (end_locale_prelude): Likewise.
1069 (write_locale_data): Update prototype.
1070 * locale/programs/3level.h (struct TABLE): Remove result field.
1071 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1072 Use new locale_file interface.
1073 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1074 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1075 * locale/programs/ld-address.c (address_output): Use new
1076 locale_file interface.
1077 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1079 (collate_finish): Don't call collseq_table_finalize.
1080 (collate_output): Use new locale_file interface.
1081 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1083 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1084 (TABLE): Move defines earlier in file.
1085 (ELEMENT): Likewise.
1086 (DEFAULT): Likewise.
1087 (wctrans_table_add): Move macro and inline function earlier in
1089 (struct wctype_table): Move type earlier in file.
1090 (add_locale_wctype_table): New static prototype.
1091 (struct locale_ctype_t): Use logical types instead of struct iovec
1092 pointers for members.
1093 (ctype_output): Use new locale_file interface.
1094 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1095 new locale_file interface.
1096 (allocate_arrays): Update for use of new locale_file interface.
1097 * locale/programs/ld-identification.c (identification_output): Use
1098 new locale_file interface.
1099 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1100 * locale/programs/ld-messages.c (messages_output): Likewise.
1101 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1102 * locale/programs/ld-name.c (name_output): Likewise.
1103 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1104 * locale/programs/ld-paper.c (paper_output): Likewise.
1105 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1106 * locale/programs/ld-time.c (time_output): Likewise.
1108 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * benchtests/Makefile: Add memrchr benchmark.
1111 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1112 benchmark as memrchr.
1113 * benchtests/bench-memrchr-ifunc.c: New file.
1114 * benchtests/bench-memrchr.c: New file.
1116 2013-09-06 Will Newton <will.newton@linaro.org>
1118 * benchtests/Makefile (string-bench): Add memcpy.
1120 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1121 Cong Wang <amwang@redhat.com>
1123 * sysdeps/unix/sysv/linux/bits/in.h
1124 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1125 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1126 before __USE_KERNEL_IPV6_DEFS uses.
1127 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1129 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1130 sockaddr_in6, or ipv6_mreq.
1132 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1135 memory access for final bytes in some large inputs.
1136 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1138 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140 * string/test-memrchr.c: New file.
1141 * string/test-memrchr-ifunc.c: New file.
1142 * string/Makefile: Add new memrchr testcase.
1144 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1146 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1147 fanotify_init returns EPERM.
1149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1151 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1153 (top level): Treat second token from macro or constant entries for
1154 allowed headers as allowed.
1155 * include/complex.h: Condition internal declarations on
1157 * include/fenv.h: Condition include of <stdbool.h> and internal
1158 declarations on [!_ISOMAC].
1160 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1163 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1165 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1167 * configure.in (--enable-versioning): Remove configure option.
1168 (libc_cv_asm_symver_directive): Remove configure test.
1169 (libc_cv_ld_version_script_option): Likewise.
1170 (VERSIONING): Remove variable and AC_SUBST.
1171 (DO_VERSIONING): Remove AC_DEFINE.
1172 * configure: Regenerated.
1173 * config.h.in (DO_VERSIONING): Remove macro.
1174 * Makerules [$(versioning) = yes]: Change conditionals to
1175 [$(build-shared) = yes].
1176 * config.make.in (versioning): Remove variable.
1177 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1178 [$(build-shared) = yes].
1179 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1180 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1181 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1182 [$(build-shared) = yes].
1183 * extra-lib.mk [$(versioning) = yes]: Likewise.
1184 * hurd/Makefile [$(versioning) = yes]: Likewise.
1185 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1187 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1190 [SHARED && !NO_HIDDEN].
1191 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1193 [SHARED && DO_VERSIONING]: Likewise..
1194 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1195 [$(build-shared) = yes].
1196 * manual/install.texi (--disable-versioning): Remove
1198 * INSTALL: Regenerated.
1199 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1201 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1202 [$(build-shared) = yes].
1203 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1204 * sysdeps/i386/i686/multiarch/strstr-c.c
1205 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1206 [SHARED && !NO_HIDDEN].
1207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1208 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1209 * sysdeps/powerpc/powerpc32/dl-machine.c
1210 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1211 * sysdeps/powerpc/powerpc32/sysdep.h
1212 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1213 to [SHARED && PIC && !NO_HIDDEN].
1214 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1215 conditional to [SHARED].
1217 2013-09-04 Will Newton <will.newton@linaro.org>
1219 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1220 * benchtests/bench-string.h: Include bench-timing.h instead
1221 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1222 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1223 call to HP_TIMING_DIFF_INIT.
1224 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1225 instead of hp-timing.h macros.
1226 * benchtests/bench-memchr.c: Likewise.
1227 * benchtests/bench-memcmp.c: Likewise.
1228 * benchtests/bench-memcpy.c: Likewise.
1229 * benchtests/bench-memmem.c: Likewise.
1230 * benchtests/bench-memmove.c: Likewise.
1231 * benchtests/bench-memset.c: Likewise.
1232 * benchtests/bench-rawmemchr.c: Likewise.
1233 * benchtests/bench-strcasecmp.c: Likewise.
1234 * benchtests/bench-strcasestr.c: Likewise.
1235 * benchtests/bench-strcat.c: Likewise.
1236 * benchtests/bench-strchr.c: Likewise.
1237 * benchtests/bench-strcmp.c: Likewise.
1238 * benchtests/bench-strcpy.c: Likewise.
1239 * benchtests/bench-strcpy_chk.c: Likewise.
1240 * benchtests/bench-strlen.c: Likewise.
1241 * benchtests/bench-strncasecmp.c: Likewise.
1242 * benchtests/bench-strncat.c: Likewise.
1243 * benchtests/bench-strncmp.c: Likewise.
1244 * benchtests/bench-strncpy.c: Likewise.
1245 * benchtests/bench-strnlen.c: Likewise.
1246 * benchtests/bench-strpbrk.c: Likewise.
1247 * benchtests/bench-strrchr.c: Likewise.
1248 * benchtests/bench-strspn.c: Likewise.
1249 * benchtests/bench-strstr.c: Likewise.
1251 2013-09-04 Will Newton <will.newton@linaro.org>
1253 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1255 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1259 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1260 * math/libm-test.inc (lgamma_test_data): Add more tests.
1261 * sysdeps/i386/fpu/libm-test-ulps: Update.
1262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1264 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1266 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1270 Add strcmp-sse2-unaligned
1271 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1273 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1275 * Versions.def (libc): Add GLIBC_2.19.
1277 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1279 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1280 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1282 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1286 intermediate calculations in recurrence.
1287 (__ieee754_ynf): Likewise.
1288 * math/libm-test.inc (jn_test_data): Do not allow spurious
1289 underflow exception. Add more tests.
1290 (yn_test_data): Add more tests.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1294 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1300 * csu/init-first.c: Fix then/than typos.
1301 * locale/programs/ld-collate.c: Likewise.
1302 * locale/programs/linereader.h: Likewise.
1303 * manual/charset.texi: Likewise.
1304 * manual/filesys.texi: Likewise.
1305 * manual/stdio.texi: Likewise.
1306 * manual/string.texi: Likewise.
1307 * stdlib/fmtmsg.c: Likewise.
1308 * sysdeps/i386/stpncpy.S: Likewise.
1309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1314 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1316 * elf/dl-open.c: Fix typos.
1317 * iconvdata/gbbig5.c: Likewise.
1318 * iconvdata/iso-2022-jp.c: Likewise.
1319 * iconv/gconv_int.h: Likewise.
1320 * iconv/loop.c: Likewise.
1321 * nis/rpcsvc/nis.h: Likewise.
1322 * resolv/ns_name.c: Likewise.
1323 * stdio-common/vfscanf.c: Likewise.
1324 * streams/stropts.h: Likewise.
1325 * sunrpc/rpc_thread.c: Likewise.
1326 * sysdeps/i386/strpbrk.S: Likewise.
1327 * sysdeps/ieee754/k_standard.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1330 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1331 * sysdeps/mach/hurd/profil.c: Likewise.
1332 * sysdeps/s390/dl-procinfo.h: Likewise.
1333 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1336 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1339 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1341 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1344 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1357 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1358 Roland McGrath <roland@hack.frob.com>
1360 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1363 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1365 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1366 __executable_start symbol instead of _start.
1368 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1370 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1371 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1373 * sysdeps/gnu/ldsodefs.h: ... this new file.
1375 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1376 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1377 instead of ELFOSABI_LINUX.
1379 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1380 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1381 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1382 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1384 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1385 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1388 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1389 (ibm_extended_long_double): Add ieee_nan member.
1390 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1391 (do_test): New function.
1393 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1395 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1396 functions, renamed from truncdfsf_test, trunctfsf_test,
1398 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1400 (do_test): Run all these.
1402 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1404 * argp/argp-help.c: Fix typos.
1405 * argp/argp-parse.c: Likewise.
1406 * debug/backtracesyms.c: Likewise.
1407 * elf/elf.h: Likewise.
1408 * malloc/malloc.c: Likewise.
1409 * nis/nis_print.c: Likewise.
1410 * resolv/res_comp.c: Likewise.
1411 * stdlib/stdlib.h: Likewise.
1412 * sunrpc/clnt_tcp.c: Likewise.
1413 * sunrpc/clnt_udp.c: Likewise.
1414 * sunrpc/clnt_unix.c: Likewise.
1415 * sysdeps/unix/bsd/ptsname.c: Likewise.
1416 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1426 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1431 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1434 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1435 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1436 ($(objpfx)bug-dl-leaf): New rule.
1437 ($(objpfx)bug-dl-leaf.so): Likewise.
1438 ($(objpfx)bug-dl-leaf.out): Likewise.
1439 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1440 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1441 * dlfcn/bug-dl-leaf.c: New test.
1442 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1443 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1444 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1445 (dlclose): Likewise.
1446 (dlmopen): Likewise.
1448 2013-08-27 Roland McGrath <roland@hack.frob.com>
1450 * include/netdb.h [!_ISOMAC]:
1451 Don't include <tls.h>.
1452 (h_errno, __libc_h_errno): Move declaration and macros out of
1455 * include/resolv.h [_RESOLV_H_]:
1456 Don't include <tls.h>.
1457 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1458 * resolv/res_libc.c: Don't include <tls.h>.
1459 (_res): Use __attribute__ ((nocommon)) in place of
1460 __attribute__ ((section (".bss"))).
1462 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1463 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1465 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1467 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1468 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1470 * resolv/res_mkquery.c: Include <sys/time.h>.
1472 * inet/ifreq.c: Moved to ...
1473 * sysdeps/unix/ifreq.c: ... here.
1474 * inet/ifreq.c: New file, true stub version.
1476 * socket/sa_len.c: New file.
1477 * socket/Makefile (aux): Add it.
1478 * sysdeps/unix/sysv/linux/Makefile
1479 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1480 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1481 and #include <socket/sa_len.c>.
1482 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1483 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1486 * bits/socket.h: ... here.
1488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1489 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1490 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1492 2013-08-27 Andreas Schwab <schwab@suse.de>
1495 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1496 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1497 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1498 * string/test-strcasecmp.c (test_main): Run tests in several
1500 * string/test-strncasecmp.c (test_main): Likewise.
1502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1503 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1504 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1506 (__strncasecmp_ssse3) [PIC]: Likewise.
1508 2013-08-26 Roland McGrath <roland@hack.frob.com>
1510 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1512 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1513 instead of explicitly declaring xdecrypt.
1514 * nis/nss_nis/nis-publickey.c: Likewise.
1516 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1519 * nscd/aicache.c: Include res_hconf.h.
1520 (addhstaiX): Initialize res_hconf.
1522 2013-08-26 Andreas Schwab <schwab@suse.de>
1524 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1525 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1527 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1529 * nscd/aicache.c (addhstaiX): Fix indentation.
1531 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1533 * configure.ac: Quote $build_pt_chown test.
1534 * configure: Regenerated.
1536 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1539 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1540 * math/s_cexpf.c (__cexpf): Likewise.
1541 * math/s_cexpl.c (__cexpl): Likewise.
1542 * math/libm-test.inc (cexp_test_data): Correct expected return
1543 value for NaN + i0. Add another test.
1545 2013-08-22 David S. Miller <davem@davemloft.net>
1547 * po/ca.po: Update Catalan translation from translation project.
1548 * po/uk.po: Add Ukrainian translations from translation project.
1550 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1553 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1554 is infinite, not alongside NaN test.
1555 * math/s_fdimf.c (__fdimf): Likewise.
1556 * math/s_fdiml.c (__fdiml): Likewise.
1557 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1560 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1562 * argp/argp-help.c: Fix typos.
1563 * crypt/speeds.c: Likewise.
1564 * csu/check_fds.c: Likewise.
1565 * elf/dl-load.c: Likewise.
1566 * elf/dl-open.c: Likewise.
1567 * elf/reldep3.c: Likewise.
1568 * elf/reldep.c: Likewise.
1569 * elf/sprof.c: Likewise.
1570 * iconv/iconv_charmap.c: Likewise.
1571 * iconv/skeleton.c: Likewise.
1572 * iconv/strtab.c: Likewise.
1573 * io/lockf64.c: Likewise.
1574 * libio/libioP.h: Likewise.
1575 * resolv/gai_notify.c: Likewise.
1576 * resolv/ns_name.c: Likewise.
1577 * resolv/ns_samedomain.c: Likewise.
1578 * resolv/res_send.c: Likewise.
1579 * stdlib/random.c: Likewise.
1580 * sunrpc/rpc/xdr.h: Likewise.
1581 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1589 * sysdeps/mach/hurd/check_fds.c: Likewise.
1590 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1592 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1596 * sysdeps/pthread/aio_notify.c: Likewise.
1597 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1598 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1601 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1603 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1605 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1606 version if bit_Slow_SSE4_2 is set.
1607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1610 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1613 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1614 trampoline stack frame information.
1615 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1617 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1618 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1619 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1620 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1621 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1622 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1624 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1625 interrupting a syscall and set with option SA_SIGINFO.
1627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1630 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1631 argument is infinite.
1632 * math/s_cprojf.c (__cprojf): Likewise.
1633 * math/s_cprojl.c (__cprojl): Likewise.
1634 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1635 * math/libm-test.inc (cproj_test_data): Add more tests.
1637 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1639 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1640 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1641 size. Use __ffs to determine corresponding shift.
1643 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1644 Roland McGrath <roland@hack.frob.com>
1646 * Makefile (INSTALL): Remove trailing blank lines from output of
1649 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1651 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1652 Align 32 bit compat elf_greg to 8 bytes.
1654 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1656 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1658 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1660 * string/strcoll_l.c (coll_seq): New structure.
1661 (get_next_seq_cached): New function.
1662 (get_next_seq): New function.
1663 (do_compare): New function.
1664 (STRCOLL): Use GNU style definition. Simplify implementation
1665 by using get_next_seq, get_next_seq_cached and do_compare.
1667 2013-08-16 Florian Weimer <fweimer@redhat.com>
1671 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1673 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1675 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1676 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1677 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1679 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1680 GETDENTS_64BIT_ALIGNED.
1681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1682 * manual/filesys.texi (Reading/Closing Directory): Document
1683 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1685 * manual/conf.texi (Limits for Files): Add portability note to
1687 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1689 2013-08-13 Andreas Schwab <schwab@suse.de>
1692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1694 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1695 LDBL_MAX_EXP >= 16384]: Add tests for it.
1697 2013-08-12 David S. Miller <davem@davemloft.net>
1699 * version.h (RELEASE): Set to "development".
1700 (VERSION): Set to "2.18.90".
1701 * NEWS: Add 2.19 section.
1703 2013-08-03 David S. Miller <davem@davemloft.net>
1705 * po/ko.po: Update Korean translation from translation project.
1707 2013-08-01 David S. Miller <davem@davemloft.net>
1709 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1710 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1713 2013-07-30 David S. Miller <davem@davemloft.net>
1715 * po/fr.po: Update French translation from translation project.
1717 2013-07-28 David S. Miller <davem@davemloft.net>
1719 * po/cs.po: Update Czech translation from translation project.
1721 * po/sv.po: Update Swedish translation from translation project.
1723 2013-07-27 David S. Miller <davem@davemloft.net>
1725 * po/eo.po: Update Esperanto translation from translation project.
1727 * po/vi.po: Update Vietnamese translation from translation project.
1729 * po/de.po: Update German translation from translation project.
1731 2013-07-26 David S. Miller <davem@davemloft.net>
1733 * po/bg.po: Update Bulgarian translation from translation project.
1735 * po/nl.po: Update Dutch translation from translation project.
1736 * po/pl.po: Update Polish translation from translation project.
1737 * po/ru.po: Update Russian translation from translation project.
1739 2013-07-24 David S. Miller <davem@davemloft.net>
1741 * po/libc.pot: Update.
1743 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1745 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1747 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1748 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1749 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1751 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1753 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1755 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1756 Andreas Schwab <schwab@suse.de>
1757 Roland McGrath <roland@hack.frob.com>
1758 Joseph Myers <joseph@codesourcery.com>
1759 Carlos O'Donell <carlos@redhat.com>
1762 * config.h.in: Define HAVE_PT_CHOWN.
1763 * config.make.in (build-pt-chown): New variable.
1764 * configure.in (--enable-pt_chown): New configure option.
1765 * configure: Regenerate.
1766 * login/Makefile: Include Makeconfig. Build pt_chown only if
1767 build-pt-chown is enabled.
1768 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1769 pt_chown to fix pty ownership.
1770 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1772 * manual/install.texi (Configuring and compiling): Mention
1773 --enable-pt_chown. Add @findex for grantpt.
1774 * INSTALL: Regenerate.
1776 2013-07-20 David S. Miller <davem@davemloft.net>
1778 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1779 difference between 32-bit and 64-bit.
1781 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1784 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1785 Avoid system header dependency with -ffreestanding.
1786 ($(objpfx)bits/syscall%d): Likewise.
1788 2013-07-13 David S. Miller <davem@davemloft.net>
1790 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1791 underflows from atanl/atan2l due to bug 15319.
1792 (casinh_test_data): Likewise.
1794 2013-07-07 David S. Miller <davem@davemloft.net>
1796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1798 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1800 * sysdeps/i386/fpu/libm-test-ulps: Update.
1801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1803 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1805 * configure.in (--enable-lock-elision): Fix message text.
1806 * INSTALL: Regenerate.
1807 * configure: Regenerate.
1809 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1813 2013-07-03 Andreas Jaeger <aj@suse.de>
1815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1817 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1818 (ptrace_peeksiginfo_args): Add.
1819 (__ptrace_peeksiginfo_flags): Add.
1820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1824 2013-07-03 Allan McRae <allan@archlinux.org>
1826 * sysdeps/i386/fpu/libm-test-ulps: Update.
1828 2013-07-02 David S. Miller <davem@davemloft.net>
1830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1832 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1836 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1841 2013-07-02 Andi Kleen <ak@linux.intel.com>
1843 * config.h.in (ENABLE_LOCK_ELISION): Add.
1844 * configure.in (--enable-lock-elision): Add option.
1845 * manual/install.texi: Document --enable lock elision.
1846 * configure: Regenerate
1847 * INSTALL: Regenerate.
1849 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1851 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1852 SSE4.2 strcasecmp for libc.a.
1853 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1855 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1858 * soft-fp/op-common.h (_FP_FMA): New macro.
1859 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1860 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1861 (_FP_MUL_MEAT_1_imm): ... here.
1862 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1863 (_FP_MUL_MEAT_1_wide): ... here.
1864 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1865 (_FP_MUL_MEAT_1_hard): ... here.
1866 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1867 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1868 (_FP_MUL_MEAT_2_wide): ... here.
1869 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1870 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1871 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1872 (_FP_MUL_MEAT_2_gmp): ... here.
1873 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1874 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1875 (_FP_MUL_MEAT_4_wide): ... here.
1876 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1877 (_FP_MUL_MEAT_4_gmp): ... here.
1878 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1879 (_FP_WFRACBITS_DW_S): Likewise.
1880 (_FP_WFRACXBITS_DW_S): Likewise.
1881 (_FP_HIGHBIT_DW_S): Likewise.
1882 (FP_FMA_S): Likewise.
1883 (_FP_FRAC_HIGH_DW_S): Likewise.
1884 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1885 (_FP_WFRACBITS_DW_D): Likewise.
1886 (_FP_WFRACXBITS_DW_D): Likewise.
1887 (_FP_HIGHBIT_DW_D): Likewise.
1888 (FP_FMA_D): Likewise.
1889 (_FP_FRAC_HIGH_DW_D): Likewise.
1890 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1891 (_FP_WFRACBITS_DW_E): Likewise.
1892 (_FP_WFRACXBITS_DW_E): Likewise.
1893 (_FP_HIGHBIT_DW_E): Likewise.
1894 (FP_FMA_E): Likewise.
1895 (_FP_FRAC_HIGH_DW_E): Likewise.
1896 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1897 (_FP_WFRACBITS_DW_Q): Likewise.
1898 (_FP_WFRACXBITS_DW_Q): Likewise.
1899 (_FP_HIGHBIT_DW_Q): Likewise.
1900 (FP_FMA_Q): Likewise.
1901 (_FP_FRAC_HIGH_DW_Q): Likewise.
1902 * soft-fp/fmasf4.c: New file.
1903 * soft-fp/fmadf4.c: Likewise.
1904 * soft-fp/fmatf4.c: Likewise.
1906 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1909 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1913 (index_Slow_SSE4_2): Likewise.
1914 (index_Prefer_PMINUB_for_stringop): Likewise.
1915 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1916 bit_Slow_SSE4_2 is set.
1917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1920 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1922 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1923 rtld_global._dl_hwcap2.
1924 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1927 POWER8 feature descriptions defined in _dl_hwcap2.
1928 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1929 string handling for POWER8 feature bits.
1930 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1931 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1932 _dl_powerpc_cap_flags.
1933 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1934 * sysdeps/powerpc/rtld-global-offsets.sym
1935 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1936 _dl_hwcap2 in the rtld_global_ro structure.
1938 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1940 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1941 hardware capabilities in support of AT_HWCAP2.
1942 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1943 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1945 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1946 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1947 explicitly the unknown a_type display mechanism is used.
1948 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1949 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1951 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1952 to macro prototype for AT_HWCAP2 support.
1953 * sysdeps/i386/dl-procinfo.h: Likewise.
1954 * sysdeps/s390/dl-procinfo.h: Likewise.
1955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1956 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1957 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1958 return -1 for unknown a_type display fallback.
1959 * sysdeps/sparc/dl-procinfo.h: Likewise.
1960 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1961 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1963 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1966 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1968 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1971 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1972 mprotect making __stack_prot writable.
1974 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1975 Joseph Myers <joseph@codesourcery.com>
1977 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1978 as being properly aligned.
1980 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1982 * dlfcn/modstatic5.c: New file.
1983 * dlfcn/tststatic5.c: New file.
1984 * dlfcn/Makefile (tests): Add tststatic5.
1985 (tests-static): Likewise.
1986 (modules-names): Add modstatic5.
1987 (tststatic5-ENV): New variable.
1988 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1991 * elf/dl-support.c (_dl_main_map): New variable.
1992 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1993 (_dl_nns, _dl_load_adds): Set to 1.
1994 (_dl_initial_searchlist): Refer to _dl_main_map.
1995 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1996 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1997 call to _dl_get_origin.
1998 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2000 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2001 * dlfcn/modstatic3.c: New file.
2002 * dlfcn/tststatic3.c: New file.
2003 * dlfcn/tststatic4.c: New file.
2004 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2005 (tests-static): Likewise.
2006 (modules-names): Add modstatic3.
2007 (tststatic3-ENV, tststatic4-ENV): New variables.
2008 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2009 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2011 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2013 * configure.in (CC): Require GCC version 4.4 or later.
2014 * configure: Regenerated.
2015 * manual/install.texi (Tools for Compilation): Update GCC version
2017 * INSTALL: Regenerated.
2019 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2022 * string/test-memcmp.c (check2): New.
2023 (main): Call check2.
2025 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2027 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2030 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2032 (dl_open_worker) [!SHARED]: ... here.
2034 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2036 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2038 2013-06-25 Richard Henderson <rth@redhat.com>
2040 * locale/programs/locarchive.c: Include <libc-internal.h>
2042 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2044 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2045 trailing whitespace removed.
2047 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2050 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2051 * locale/programs/locarchive.c: Include libc-mmap.h.
2052 (prepare_address_space): Take two new outputs (the mmap base and len).
2053 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2055 (create_archive): Declare new mmap base and len values for
2056 prepare_address_space, and store the result in ah.
2057 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2058 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2060 Declare new mmap base and len values for
2061 prepare_address_space, and store the result in new_ah.
2062 (open_archive): Declare new mmap base and len values for
2063 prepare_address_space, and store the result in ah.
2064 (close_archive): If ah->mmap_base is not NULL, use that and
2065 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2066 * sysdeps/generic/libc-mmap.h: New file.
2068 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2070 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2071 (ALIGN_UP): Likewise.
2072 (PTR_ALIGN_DOWN): Likewise.
2073 (PTR_ALIGN_UP): Likewise.
2075 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2077 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2078 entry mapped to PPC_PLATFORM_POWER8.
2079 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2081 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2082 (_dl_string_platform): Add case for exporting platform position for
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2085 search path to sysdeps/powerpc/powerpc32/power8 directory.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2087 search path to sysdeps/powerpc/powerpc64/power8 directory.
2088 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2090 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2093 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2095 * INSTALL: Regenerate.
2097 * nscd/connections.c (nscd_init): Fix comment.
2099 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2101 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2104 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2105 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2107 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2109 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2111 (DL_DST_REQ_STATIC): Remove macro.
2113 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2116 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2117 with a shift of 0 bits.
2119 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2121 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2124 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2127 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2129 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2132 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2133 accepts -fno-tree-loop-distribute-patterns.
2134 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2135 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2137 * string/memset.c (memset): Likewise.
2138 * string/test-memmove.c (simple_memmove): Disable loop transformation
2140 * string/test-memset.c (simple_memset): Likewise.
2141 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2142 * benchtests/bench-memset.c (simple_memset): Likewise.
2143 * configure: Regenerated.
2145 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2147 * math/test-misc.c (main): Ignore fesetround failure when failures
2148 of subsequent rounding tests would be ignored.
2151 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2152 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2153 * math/fegetenv.c (__fegetenv): Return 0.
2154 * math/fegetexcept.c (fegetexcept): Return 0.
2155 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2157 * math/feholdexcpt.c (feholdexcept): Return 0.
2158 * math/fesetenv.c (__fesetenv): Return 0.
2159 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2160 argument FE_TONEAREST.
2161 * math/feupdateenv.c (__feupdateenv): Return 0.
2162 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2164 2013-06-18 Roland McGrath <roland@hack.frob.com>
2166 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2167 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2168 ($(objpfx)rtld-%.os rules): Use them.
2170 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2175 2013-06-17 Roland McGrath <roland@hack.frob.com>
2177 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2178 length of target pattern, then descending length of dependency pattern.
2179 * configure.in (AWK): Require gawk 3.1.2 or newer.
2180 * manual/install.texi (Tools for Compilation): Say that we do.
2181 * configure: Regenerated.
2183 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2184 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2185 * scripts/sysd-rules.awk: ... this new script.
2186 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2187 than a glob-style pattern.
2189 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2191 * math/test-misc.c (main): Do not treat incorrectly rounded
2192 conversions as failure unless ROUNDING_TESTS passes.
2194 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2198 restore exception state around main square root computation, then
2199 check for inexactness explicitly.
2201 * math/libm-test.inc (fma_test_data): Add another test.
2203 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2205 * manual/threads.texi (Non-POSIX Extensions): New document
2206 node. Document pthread_getattr_default_np and
2207 pthread_setattr_default_np.
2209 * Versions.def (libpthread): Add GLIBC_2.18.
2210 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2219 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2230 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2233 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2235 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2236 H.J. Lu <hjl.tools@gmail.com>
2239 * sysdeps/x86_64/rtld-memset.c: Remove file.
2240 * sysdeps/x86_64/rtld-memset.S: New file.
2242 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2244 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2245 (test_in_one_mode): Take arguments for whether the rounding mode
2246 is supported for each floating-point type.
2247 (do_test): Pass new arguments to test_in_one_mode using
2250 2013-06-13 Roland McGrath <roland@hack.frob.com>
2252 * posix/tst-waitid.c (do_test): Distinguish different instances of
2253 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2254 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2255 before entering the kernel for waitpid.
2257 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2259 * NEWS: Fix note on clock function precision. Text by Roland
2262 2013-06-13 Roland McGrath <roland@hack.frob.com>
2264 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2265 it into place only when and if the sanity check passes.
2267 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2269 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2270 output for whether conversion result is exact. Take argument
2271 indicating whether type is IBM long double.
2272 (round_for_all): Change need_exact field to ibm_ld.
2273 * stdlib/tst-strtod-round.c (struct exactness): New type.
2274 (struct test): Change bool ld_ok field to struct exactness exact.
2275 (TEST): Update all definitions for change to field.
2276 (tests): Regenerate array contents.
2277 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2278 field value. Check for IBM long double here.
2279 (do_test): Update calls to test_in_one_mode.
2281 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2284 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2285 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2287 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2291 generated by the compiler on loop optimizations.
2292 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2293 general definitions.
2295 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2297 * math/bug-nextafter.c: Include <math-tests.h>.
2298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2300 * math/bug-nexttoward.c: Include <math-tests.h>.
2301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2303 * math/test-misc.c: Include <math-tests.h>.
2304 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2307 2013-06-12 Andreas Jaeger <aj@suse.de>
2309 * po/ia.po: Update Interlingua translation from translation
2312 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2314 * include/fenv.h: Include stdbool.h.
2315 (struct rm_ctx): New structure.
2316 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2318 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2319 (SET_RESTORE_ROUNDF): Likewise.
2320 (SET_RESTORE_ROUNDL): Likewise.
2321 (SET_RESTORE_ROUND_NOEX): Likewise.
2322 (SET_RESTORE_ROUND_NOEXF): Likewise.
2323 (SET_RESTORE_ROUND_NOEXL): Likewise.
2324 (SET_RESTORE_ROUND_53BIT): Likewise.
2325 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2326 (libc_feresetround_noexf_ctx): Likewise.
2327 (libc_feresetround_noexl_ctx): Likewise.
2328 (libc_feholdsetround_53bit_ctx): Likewise.
2329 (libc_feresetround_53bit_ctx): Likewise.
2330 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2331 (libc_feholdexcept_setround_sse_ctx): New function.
2332 (libc_fesetenv_sse_ctx): Likewise.
2333 (libc_feupdateenv_sse_ctx): Likewise.
2334 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2335 (libc_feholdexcept_setround_387_ctx): Likewise.
2336 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2337 (libc_feholdsetround_387_prec_ctx): Likewise.
2338 (libc_feholdsetround_387_ctx): Likewise.
2339 (libc_feholdsetround_387_53bit_ctx): Likewise.
2340 (libc_feholdsetround_sse_ctx): Likewise.
2341 (libc_feresetround_sse_ctx): Likewise.
2342 (libc_feresetround_387_ctx): Likewise.
2343 (libc_feupdateenv_387_ctx): Likewise.
2344 (libc_feholdexcept_setroundf_ctx): Define macro.
2345 (libc_fesetenvf_ctx): Likewise.
2346 (libc_feupdateenvf_ctx): Likewise.
2347 (libc_feholdsetroundf_ctx): Likewise.
2348 (libc_feresetroundf_ctx): Likewise.
2349 (libc_feholdexcept_setround_ctx): Likewise.
2350 (libc_fesetenv_ctx): Likewise.
2351 (libc_feupdateenv_ctx): Likewise.
2352 (libc_feholdsetround_ctx): Likewise.
2353 (libc_feresetround_ctx): Likewise.
2354 (libc_feholdexcept_setroundl_ctx): Likewise.
2355 (libc_feupdateenvl_ctx): Likewise.
2356 (libc_feholdsetroundl_ctx): Likewise.
2357 (libc_feresetroundl_ctx): Likewise.
2358 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2359 (libc_feresetround_53bit_ctx): Likewise.
2361 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2363 * locale/iso-639.def: Convert to UTF-8.
2365 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2367 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2368 (EXCEPTION_TESTS_double): Likewise.
2369 (EXCEPTION_TESTS_long_double): Likewise.
2370 (EXCEPTION_TESTS): Likewise.
2371 * math/libm-test.inc (test_exceptions): Only test exceptions if
2372 EXCEPTION_TESTS (FLOAT).
2374 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2376 * benchtests/Makefile (string-bench): Add strcpy_chk and
2378 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2379 * benchtests/bench-stpcpy_chk.c: New file.
2380 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2381 * benchtests/bench-strcpy_chk.c: New file.
2382 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2384 (do_test): Likewise.
2386 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2389 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2390 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2391 with tabs where appropriate.
2392 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2394 [PPC_PLATFORM_PPC440]: Likewise.
2395 [PPC_PLATFORM_PPC464]: Likewise.
2396 [PPC_PLATFORM_PPC476]: Likewise.
2397 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2398 ppc464, and ppc476 platform strings merging from ports/
2401 2013-06-11 Andreas Schwab <schwab@suse.de>
2404 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2405 (from_ucs4_idx): Regenerate.
2406 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2407 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2408 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2409 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2410 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2411 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2412 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2413 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2414 from FROM_LOOP and TO_LOOP specific macros.
2415 (BODY): Handle combining characters.
2416 * iconvdata/BIG5HKSCS.irreversible: Update.
2417 * iconvdata/BIG5HKSCS.precomposed: New file.
2418 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2420 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2422 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2424 * include/sys/time.h: Fix indentation and add copyright header.
2426 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2427 (do_test): Likewise.
2428 * string/test-memchr.c (do_one_test): Likewise.
2429 (do_test): Likewise.
2430 * string/test-memcmp.c (do_one_test): Likewise.
2431 (do_test): Likewise.
2432 * string/test-memcpy.c (do_one_test): Likewise.
2433 (do_test): Likewise.
2434 * string/test-memmem.c (do_one_test): Likewise.
2435 (do_test): Likewise.
2436 (do_random_tests): Likewise.
2437 * string/test-memmove.c (do_one_test): Likewise.
2438 (do_test): Likewise.
2439 * string/test-memset.c (do_one_test): Likewise.
2440 (do_test): Likewise.
2441 * string/test-rawmemchr.c (do_one_test): Likewise.
2442 (do_test): Likewise.
2443 * string/test-strcasecmp.c (do_one_test): Likewise.
2444 (do_test): Likewise.
2445 * string/test-strcasestr.c (do_one_test): Likewise.
2446 (do_test): Likewise.
2447 * string/test-strcat.c (do_one_test): Likewise.
2448 (do_test): Likewise.
2449 * string/test-strchr.c (do_one_test): Likewise.
2450 (do_test): Likewise.
2451 * string/test-strcmp.c (do_one_test): Likewise.
2452 (do_test): Likewise.
2453 * string/test-strcpy.c (do_one_test): Likewise.
2454 (do_test): Likewise.
2455 * string/test-string.h: Likewise.
2456 (test_init): Likewise.
2457 * string/test-strlen.c (do_one_test): Likewise.
2458 (do_test): Likewise.
2459 * string/test-strncasecmp.c (do_one_test): Likewise.
2460 (do_test): Likewise.
2461 * string/test-strncat.c (do_one_test): Likewise.
2462 (do_test): Likewise.
2463 * string/test-strncmp.c (do_one_test): Likewise.
2464 (do_test_limit): Likewise.
2465 (do_test): Likewise.
2466 * string/test-strncpy.c (do_one_test): Likewise.
2467 (do_test): Likewise.
2468 * string/test-strnlen.c (do_one_test): Likewise.
2469 (do_test): Likewise.
2470 * string/test-strpbrk.c (do_one_test): Likewise.
2471 (do_test): Likewise.
2472 * string/test-strrchr.c (do_one_test): Likewise.
2473 (do_test): Likewise.
2474 * string/test-strspn.c (do_one_test): Likewise.
2475 (do_test): Likewise.
2476 * string/test-strstr.c (do_one_test): Likewise.
2477 (do_test): Likewise.
2479 * benchtests/Makefile (string-bench): Add string benchmarks.
2480 * benchtests/bench-bcopy-ifunc.c: New file.
2481 * benchtests/bench-bcopy.c: New file.
2482 * benchtests/bench-bzero-ifunc.c: New file.
2483 * benchtests/bench-bzero.c: New file.
2484 * benchtests/bench-memccpy-ifunc.c: New file.
2485 * benchtests/bench-memccpy.c: New file.
2486 * benchtests/bench-memchr-ifunc.c: New file.
2487 * benchtests/bench-memchr.c: New file.
2488 * benchtests/bench-memcmp-ifunc.c: New file.
2489 * benchtests/bench-memcmp.c: New file.
2490 * benchtests/bench-memmem-ifunc.c: New file.
2491 * benchtests/bench-memmem.c: New file.
2492 * benchtests/bench-memmove-ifunc.c: New file.
2493 * benchtests/bench-memmove.c: New file.
2494 * benchtests/bench-mempcpy-ifunc.c: New file.
2495 * benchtests/bench-mempcpy.c: New file.
2496 * benchtests/bench-memset-ifunc.c: New file.
2497 * benchtests/bench-memset.c: New file.
2498 * benchtests/bench-rawmemchr-ifunc.c: New file.
2499 * benchtests/bench-rawmemchr.c: New file.
2500 * benchtests/bench-stpcpy-ifunc.c: New file.
2501 * benchtests/bench-stpcpy.c: New file.
2502 * benchtests/bench-stpncpy-ifunc.c: New file.
2503 * benchtests/bench-stpncpy.c: New file.
2504 * benchtests/bench-strcasecmp-ifunc.c: New file.
2505 * benchtests/bench-strcasecmp.c: New file.
2506 * benchtests/bench-strcasestr-ifunc.c: New file.
2507 * benchtests/bench-strcasestr.c: New file.
2508 * benchtests/bench-strcat-ifunc.c: New file.
2509 * benchtests/bench-strcat.c: New file.
2510 * benchtests/bench-strchr-ifunc.c: New file.
2511 * benchtests/bench-strchr.c: New file.
2512 * benchtests/bench-strchrnul-ifunc.c: New file.
2513 * benchtests/bench-strchrnul.c: New file.
2514 * benchtests/bench-strcmp-ifunc.c: New file.
2515 * benchtests/bench-strcmp.c: New file.
2516 * benchtests/bench-strcpy-ifunc.c: New file.
2517 * benchtests/bench-strcpy.c: New file.
2518 * benchtests/bench-strcspn-ifunc.c: New file.
2519 * benchtests/bench-strcspn.c: New file.
2520 * benchtests/bench-strlen-ifunc.c: New file.
2521 * benchtests/bench-strlen.c: New file.
2522 * benchtests/bench-strncasecmp-ifunc.c: New file.
2523 * benchtests/bench-strncasecmp.c: New file.
2524 * benchtests/bench-strncat-ifunc.c: New file.
2525 * benchtests/bench-strncat.c: New file.
2526 * benchtests/bench-strncmp-ifunc.c: New file.
2527 * benchtests/bench-strncmp.c: New file.
2528 * benchtests/bench-strncpy-ifunc.c: New file.
2529 * benchtests/bench-strncpy.c: New file.
2530 * benchtests/bench-strnlen-ifunc.c: New file.
2531 * benchtests/bench-strnlen.c: New file.
2532 * benchtests/bench-strpbrk-ifunc.c: New file.
2533 * benchtests/bench-strpbrk.c: New file.
2534 * benchtests/bench-strrchr-ifunc.c: New file.
2535 * benchtests/bench-strrchr.c: New file.
2536 * benchtests/bench-strspn-ifunc.c: New file.
2537 * benchtests/bench-strspn.c: New file.
2538 * benchtests/bench-strstr-ifunc.c: New file.
2539 * benchtests/bench-strstr.c: New file.
2541 * benchtests/Makefile: Disable parallel execution of targets.
2542 (string-bench): Add memcpy.
2543 (benchset): New variable to store a list of benchmark sets.
2544 (bench-func): Renamed from bench.
2545 (bench-set): New target.
2546 (bench): Depend on bench-func and bench-set.
2547 * benchtests/README: Add section on benchmark sets.
2548 * benchtests/bench-memcpy-ifunc.c: New file.
2549 * benchtests/bench-memcpy.c: New file.
2550 * benchtests/bench-string.h: New file.
2552 2013-06-11 Andreas Schwab <schwab@suse.de>
2555 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2556 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2557 values in the triple.
2558 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2559 terminator in the group key.
2561 2013-06-11 Andreas Jaeger <aj@suse.de>
2563 * po/zh_TW.po: Update Chinese (traditional) translation from
2564 translation project.
2566 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2568 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2569 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2570 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2572 (clock_getcpuclockid): Likewise.
2573 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2574 Add weak_alias and libc_hidden_def.
2575 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2576 * rt/clock_gettime.c (clock_gettime): Rename to
2577 __clock_gettime. Add weak_alias and libc_hidden_def.
2578 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2579 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2580 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2581 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2582 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2584 * rt/clock_settime.c (clock_settime): Rename to
2585 __clock_settime. Add weak_alias and libc_hidden_def.
2586 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2588 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2590 * mach/err_boot.sub: Remove trailing whitespace.
2591 * mach/err_ipc.sub: Likewise.
2592 * mach/err_mach.sub: Likewise.
2594 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2595 (ROUNDING_TESTS_double): Likewise.
2596 (ROUNDING_TESTS_long_double): Likewise.
2597 (ROUNDING_TESTS): Likewise.
2598 * math/libm-test.inc: Include <math-tests.h>.
2599 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2600 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2601 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2602 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2604 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2609 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2611 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2612 otherwise empty TRANS lines.
2613 * sysdeps/gnu/errlist.c: Regenerated.
2615 * catgets/gencat.c (error_print): Use (void) in function
2617 * crypt/crypt_util.c (__init_des): Likewise.
2618 * crypt/speeds.c (Stop): Likewise.
2620 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2621 * inet/ruserpass.c (token): Likewise.
2622 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2623 * intl/localealias.c (extend_alias_table): Likewise.
2624 * intl/plural-exp.c (init_germanic_plural): Likewise.
2625 * libio/fcloseall.c (__fcloseall): Likewise.
2626 * libio/genops.c (_IO_flush_all): Likewise.
2627 (_IO_flush_all_linebuffered): Likewise.
2628 (_IO_cleanup): Likewise.
2629 (_IO_iter_begin): Likewise.
2630 (_IO_iter_end): Likewise.
2631 (_IO_list_lock): Likewise.
2632 (_IO_list_unlock): Likewise.
2633 (_IO_list_resetlock): Likewise.
2634 * libio/getchar.c (getchar): Likewise.
2635 * libio/getchar_u.c (getchar_unlocked): Likewise.
2636 * libio/getwchar.c (getwchar): Likewise.
2637 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2638 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2639 * login/getpt.c (__getpt): Likewise.
2640 * login/tst-utmp.c (main): Likewise.
2641 * malloc/hooks.c (__malloc_check_init): Likewise.
2642 * malloc/malloc.c (__malloc_stats): Likewise.
2643 * malloc/mtrace.c (tr_break): Likewise.
2645 (muntrace): Likewise.
2646 * misc/fstab.c (endfsent): Likewise.
2647 * misc/getclktck.c (__getclktck): Likewise.
2648 * misc/getdtsz.c (__getdtablesize): Likewise.
2649 * misc/gethostid.c (gethostid): Likewise.
2650 * misc/getpagesize.c (__getpagesize): Likewise.
2651 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2652 (__get_nprocs): Likewise.
2653 (__get_phys_pages): Likewise.
2654 (__get_avphys_pages): Likewise.
2655 * misc/getttyent.c (getttyent): Likewise.
2656 (setttyent): Likewise.
2657 (endttyent): Likewise.
2658 * misc/getusershell.c (getusershell): Likewise.
2659 (endusershell): Likewise.
2660 (setusershell): Likewise.
2661 (initshells): Likewise.
2662 * misc/hsearch.c (__hdestroy): Likewise.
2663 * misc/sync.c (sync): Likewise.
2664 * misc/syslog.c (closelog_internal): Likewise.
2665 (closelog): Likewise.
2666 * misc/ttyslot.c (ttyslot): Likewise.
2667 * misc/vhangup.c (vhangup): Likewise.
2668 * posix/fork.c (__fork): Likewise.
2669 * posix/getegid.c (__getegid): Likewise.
2670 * posix/geteuid.c (__geteuid): Likewise.
2671 * posix/getgid.c (__getgid): Likewise.
2672 * posix/getpid.c (__getpid): Likewise.
2673 * posix/getppid.c (__getppid): Likewise.
2674 * posix/getuid.c (__getuid): Likewise.
2675 * posix/pause.c (pause): Likewise.
2676 * posix/setpgrp.c (setpgrp): Likewise.
2677 * posix/setsid.c (__setsid): Likewise.
2678 * posix/test-vfork.c (noop): Likewise.
2679 * resolv/gethnamaddr.c (_endhtent): Likewise.
2680 (_gethtent): Likewise.
2681 (ht_endhostent): Likewise.
2682 (gethostent): Likewise.
2683 (dns_service): Likewise.
2684 * stdlib/drand48.c (drand48): Likewise.
2685 * stdlib/lrand48.c (lrand48): Likewise.
2686 * stdlib/mrand48.c (mrand48): Likewise.
2687 * stdlib/rand.c (rand): Likewise.
2688 * stdlib/random.c (__random): Likewise.
2689 * stdlib/setenv.c (clearenv): Likewise.
2690 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2691 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2692 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2693 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2694 (__get_nprocs): Likewise.
2695 (__get_phys_pages): Likewise.
2696 (__get_avphys_pages): Likewise.
2697 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2698 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2699 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2700 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2701 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2702 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2703 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2704 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2705 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2706 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2707 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2708 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2709 * sysdeps/posix/clock.c (clock): Likewise.
2710 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2711 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2712 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2713 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2714 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2716 (__get_nprocs_conf): Likewise.
2717 (__get_phys_pages): Likewise.
2718 (__get_avphys_pages): Likewise.
2719 * time/clock.c (clock): Likewise.
2720 * time/tzset.c (__tzname_max): Likewise.
2722 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2724 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2725 (__bswap_32): Do not use "register".
2726 * crypt/crypt.c (_ufc_doit_r): Likewise.
2727 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2728 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2729 * gmon/gmon.c (__monstartup): Likewise.
2730 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2731 * hurd/hurdmalloc.c (more_memory): Likewise.
2734 (realloc): Likewise.
2735 (malloc_fork_prepare): Likewise.
2736 (malloc_fork_parent): Likewise.
2737 (malloc_fork_child): Likewise.
2738 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2739 (_svcauth_des): Likewise.
2740 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2741 * inet/inet_net.c (inet_network): Likewise.
2742 * inet/inet_netof.c (inet_netof): Likewise.
2743 * inet/rcmd.c (__validuser2_sa): Likewise.
2744 * io/fts.c (fts_open): Likewise.
2745 (fts_load): Likewise.
2746 (fts_close): Likewise.
2747 (fts_read): Likewise.
2748 (fts_children): Likewise.
2749 (fts_build): Likewise.
2750 (fts_stat): Likewise.
2751 (fts_sort): Likewise.
2752 (fts_alloc): Likewise.
2753 (fts_lfree): Likewise.
2754 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2755 (_IO_file_xsgetn): Likewise.
2756 (_IO_file_xsgetn_mmap): Likewise.
2757 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2758 (_IO_cookie_write): Likewise.
2759 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2760 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2761 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2762 * malloc/obstack.c (_obstack_begin): Likewise.
2763 (_obstack_begin_1): Likewise.
2764 (_obstack_newchunk): Likewise.
2765 (_obstack_allocated_p): Likewise.
2766 (obstack_free): Likewise.
2767 (_obstack_memory_used): Likewise.
2768 * misc/getttyent.c (getttynam): Likewise.
2769 (getttyent): Likewise.
2772 * misc/getusershell.c (initshells): Likewise.
2773 * misc/syslog.c (__vsyslog_chk): Likewise.
2774 * misc/ttyslot.c (ttyslot): Likewise.
2775 * nis/nis_hash.c (__nis_hash): Likewise.
2776 * posix/fnmatch_loop.c (FCT): Likewise.
2777 * posix/getconf.c (print_all): Likewise.
2779 * posix/getopt.c (exchange): Likewise.
2780 * posix/glob.c (globfree): Likewise.
2781 (prefix_array): Likewise.
2782 (__glob_pattern_type): Likewise.
2783 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2784 (NS_GET32): Likewise.
2785 (NS_PUT16): Likewise.
2786 (NS_PUT32): Likewise.
2787 * resolv/gethnamaddr.c (getanswer): Likewise.
2788 (gethostbyname2): Likewise.
2789 (gethostbyaddr): Likewise.
2790 (_gethtent): Likewise.
2791 (_gethtbyname2): Likewise.
2792 (_gethtbyaddr): Likewise.
2793 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2795 * resolv/res_init.c (__res_vinit): Likewise.
2796 (net_mask): Likewise.
2797 * resolv/res_mkquery.c (outchar): Likewise.
2799 * stdio-common/printf_fp.c (outchar): Likewise.
2801 * stdio-common/printf_fphex.c (outchar): Likewise.
2803 * stdio-common/printf_size.c (outchar): Likewise.
2805 * stdio-common/test_rdwr.c (main): Likewise.
2806 * stdio-common/tfformat.c (matches): Likewise.
2807 * stdio-common/vfprintf.c (outchar): Likewise.
2808 (printf_unknown): Likewise.
2809 (buffered_vfprintf): Likewise.
2810 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2811 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2812 (ReadFile): Likewise.
2813 * stdlib/qsort.c (SWAP): Likewise.
2814 (_quicksort): Likewise.
2815 * stdlib/setenv.c (__add_to_environ): Likewise.
2816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2817 * stdlib/strtol_l.c (__strtol_l): Likewise.
2818 * stdlib/tst-strtod.c (main): Likewise.
2819 * stdlib/tst-strtol.c (main): Likewise.
2820 * stdlib/tst-strtoll.c (main): Likewise.
2821 * string/bits/string2.h (__strcmp_cc): Likewise.
2822 (__strcmp_cg): Likewise.
2823 (__strcspn_c1): Likewise.
2824 (__strcspn_c2): Likewise.
2825 (__strcspn_c3): Likewise.
2826 (__strspn_c1): Likewise.
2827 (__strspn_c2): Likewise.
2828 (__strspn_c3): Likewise.
2829 (__strsep_1c): Likewise.
2830 (__strsep_2c): Likewise.
2831 (__strsep_3c): Likewise.
2832 * string/memccpy.c (__memccpy): Likewise.
2833 * string/stpcpy.c (__stpcpy): Likewise.
2834 * string/strcmp.c (strcmp): Likewise.
2835 * string/strrchr.c (strrchr): Likewise.
2836 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2838 * sysdeps/mach/hurd/getcwd.c
2839 (_hurd_canonicalize_directory_name_internal): Likewise.
2840 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2841 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2843 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2844 Likewise, in both definitions.
2845 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2847 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2848 64] (__bswap_64): Likewise.
2849 * time/test_time.c (main): Likewise.
2850 * time/tzfile.c (__tzfile_read): Likewise.
2851 (__tzfile_compute): Likewise.
2852 * time/tzset.c (__tzset_parse_tz): Likewise.
2853 (tzset_internal): Likewise.
2854 (compute_change): Likewise.
2855 * wcsmbs/wcscat.c (__wcscat): Likewise.
2856 * wcsmbs/wcschr.c (wcschr): Likewise.
2857 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2858 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2859 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2860 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2861 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2862 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2863 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2865 * wcsmbs/wmemset.c (wmemset): Likewise.
2867 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2869 * scripts/config.guess: Update to version 2013-05-16.
2870 * scripts/config.sub: Update to version 2013-04-24.
2871 * scripts/install-sh: Update to version 2011-11-20.07.
2872 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2873 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2875 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2877 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2878 * elf/sln.c: Likewise.
2879 * hurd/hurd/ioctl.h: Likewise.
2880 * hurd/hurdmalloc.c: Likewise.
2881 * hurd/xattr.c: Likewise.
2882 * include/shlib-compat.h: Likewise.
2883 * inet/ruserpass.c: Likewise.
2884 * libio/iofgets_u.c: Likewise.
2885 * libio/iofgetws_u.c: Likewise.
2886 * locale/programs/ld-identification.c: Likewise.
2887 * locale/programs/ld-time.c: Likewise.
2888 * mach/msg-destroy.c: Likewise.
2889 * nss/nss_files/files-netgrp.c: Likewise.
2890 * resolv/res_data.c: Likewise.
2891 * soft-fp/op-1.h: Likewise.
2892 * soft-fp/op-2.h: Likewise.
2893 * soft-fp/op-4.h: Likewise.
2894 * soft-fp/op-common.h: Likewise.
2895 * stdio-common/printf_fphex.c: Likewise.
2896 * stdlib/strtod_l.c: Likewise.
2897 * sunrpc/rpc/clnt.h: Likewise.
2898 * sysdeps/generic/framestate.c: Likewise.
2899 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2900 * sysdeps/i386/bsd-setjmp.S: Likewise.
2901 * sysdeps/i386/__longjmp.S: Likewise.
2902 * sysdeps/i386/setjmp.S: Likewise.
2903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2904 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2921 * sysdeps/ieee754/support.c: Likewise.
2922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2923 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2924 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2925 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2926 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2927 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2928 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2929 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2930 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2931 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2932 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2933 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2937 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2938 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2941 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2943 * posix/transbug.c: Remove executable mode.
2945 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2947 * crypt/speeds.c: Remove trailing whitespace.
2948 * dlfcn/default.c: Likewise.
2949 * elf/ifuncdep2.c: Likewise.
2950 * elf/ifuncmain1.c: Likewise.
2951 * elf/ifuncmain1vis.c: Likewise.
2952 * elf/testobj.h: Likewise.
2953 * elf/tst-stackguard1.c: Likewise.
2954 * gmon/sys/gmon.h: Likewise.
2955 * hurd/hurdmsg.c: Likewise.
2956 * hurd/new-fd.c: Likewise.
2957 * hurd/ports-get.c: Likewise.
2958 * iconvdata/ibm1008_420.c: Likewise.
2959 * inet/tst-getni1.c: Likewise.
2960 * inet/tst-getni2.c: Likewise.
2961 * libio/ioungetc.c: Likewise.
2962 * libio/wfiledoalloc.c: Likewise.
2963 * manual/libm-err-tab.pl: Likewise.
2964 * math/w_dremf.c: Likewise.
2965 * misc/ftruncate.c: Likewise.
2966 * posix/bug-glob2.c: Likewise.
2967 * posix/tst-pcre.c: Likewise.
2968 * posix/wait4.c: Likewise.
2969 * resolv/README: Likewise.
2970 * resolv/res_debug.h: Likewise.
2971 * resolv/tst-inet_ntop.c: Likewise.
2972 * setjmp/bug269-setjmp.c: Likewise.
2973 * soft-fp/extended.h: Likewise.
2974 * soft-fp/op-1.h: Likewise.
2975 * soft-fp/op-2.h: Likewise.
2976 * soft-fp/op-4.h: Likewise.
2977 * soft-fp/op-8.h: Likewise.
2978 * soft-fp/testit.c: Likewise.
2979 * stdio-common/bug16.c: Likewise.
2980 * stdlib/random.c: Likewise.
2981 * sunrpc/rpcsvc/rquota.x: Likewise.
2982 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2997 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3004 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3011 * sysdeps/ieee754/s_lib_version.c: Likewise.
3012 * sysdeps/mach/hurd/check_fds.c: Likewise.
3013 * sysdeps/mach/hurd/getsockname.c: Likewise.
3014 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3015 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3016 * sysdeps/powerpc/bits/link.h: Likewise.
3017 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3018 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3019 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3020 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3023 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3024 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3025 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3026 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3029 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3030 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3031 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3032 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3038 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3051 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3053 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3055 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3056 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3057 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3058 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3059 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3060 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3063 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3066 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3071 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3079 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3081 * sysdeps/powerpc/sysdep.h: Likewise.
3082 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3083 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3084 * sysdeps/sh/dl-trampoline.S: Likewise.
3085 * sysdeps/sh/memset.S: Likewise.
3086 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3087 * sysdeps/sh/strlen.S: Likewise.
3088 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3089 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3090 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3091 * sysdeps/sparc/sparc32/rem.S: Likewise.
3092 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3094 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3095 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3096 * sysdeps/sparc/sparc32/urem.S: Likewise.
3097 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3099 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3100 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3102 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3103 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3104 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3105 * sysdeps/unix/bsd/times.c: Likewise.
3106 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3107 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3111 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3113 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3115 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3117 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3118 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3120 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3122 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3124 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3125 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3126 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3127 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3131 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3132 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3134 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3135 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3136 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3137 * sysdeps/x86_64/strcspn.S: Likewise.
3139 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3141 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3142 generated file. Regenerate properly from gen-translit.pl.
3143 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3144 locale/C-translit.h.
3146 2013-06-05 Andreas Schwab <schwab@suse.de>
3149 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3150 week as 6 instead of -1.
3151 * time/tst-strptime.c (day_tests): Add test case.
3153 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3155 * sysdeps/generic/math_private.h
3156 (libc_feholdexcept_setround_53bit): Replace with
3157 libc_feholdsetround_53bit.
3158 (libc_feupdateenv_53bit): Replace with
3159 libc_feresetround_53bit.
3160 (SET_RESTORE_ROUND_53BIT): Adjust.
3162 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3164 * string/test-strchrnul.c: Add copyright header.
3166 * posix/tst-getaddrinfo4.c: Increase test timeout.
3168 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3171 * math/libm-test.inc (MAX_EXP): Remove
3173 (ulp): Use MIN_EXP - MANT_DIG.
3174 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3176 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3178 * po/be.po: Revert last change.
3179 * po/zh_CN.po: Likewise.
3180 * po/header.pot: Likewise.
3182 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3184 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3185 link-libc-deps to empty as target-specific variable.
3186 * Makerules (link-libc-args): New variable.
3187 (libc-for-link): Likewise.
3188 (link-libc-deps): Likewise.
3189 (lib%.so): Depend on $(link-libc-deps). Link with
3191 (build-module): Link with $(link-libc-args).
3192 (build-module-asneeded): Likewise.
3193 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3195 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3196 target-specific variable.
3197 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3198 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3199 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3201 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3203 ($(objpfx)libpcprofile.so): Likewise.
3204 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3206 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3207 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3208 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3210 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3211 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3212 * login/Makefile ($(objpfx)libutil.so): Likewise.
3213 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3214 * math/Makefile ($(objpfx)libm.so): Likewise.
3215 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3216 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3217 variable instead of depending directly on libc.
3218 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3219 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3221 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3223 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3224 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3225 ($(objpfx)libanl.so): Likewise.
3226 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3228 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3230 * sysdeps/i386/fpu/Makefile: Remove file.
3231 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3232 ($(objpfx)libm.so): Remove dependency on ld.so.
3234 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3237 * nis/yp_xdr.c (XDRMAXNAME): Define.
3238 (XDRMAXRECORD): Define.
3239 (xdr_domainname): Use XDRMAXNAME.
3240 (xdr_mapname): Likewise.
3241 (xdr_peername): Likewise.
3242 (xdr_keydat): Use XDRMAXRECORD.
3243 (xdr_valdat): Likewise.
3245 2013-05-30 Jeff Law <law@redhat.com>
3248 * manual/errno.texi (ESTALE): Update to account for more than
3249 just NFS file systems.
3250 * sysdeps/gnu/errlist.c: Regenerated.
3252 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3255 * elf/Makefile (tests): Add tst-null-argv.
3256 (modules-names): Add tst-null-argv-lib.
3257 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3258 (tst-null-argv-ENV): Set environment for tst-null-argv.
3259 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3260 (RTLD_PROGNAME): New macro.
3261 * elf/tst-null-argv.c: New test case.
3262 * elf/tst-null-argv-lib.c: Library for test case.
3263 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3264 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3265 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3266 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3267 * elf/dl-init.c (call_init): Likewise.
3268 (_dl_init): Likewise.
3269 * elf/dl-load.c (print_search_path): Likewise.
3270 (_dl_map_object): Likewise.
3271 * elf/dl-lookup.c (do_lookup_x): Likewise.
3272 (add_dependency): Likewise.
3273 (_dl_lookup_symbol_x): Likewise.
3274 (_dl_debug_bindings): Likewise.
3275 * elf/dl-open.c (_dl_show_scope): Likewise.
3276 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3277 * elf/dl-version.c (match_symbol): Likewise.
3278 (_dl_check_map_versions): Likewise.
3279 * elf/rtld.c (dl_main): Likewise.
3280 (print_unresolved): Use RTLD_PROGNAME.
3281 (print_missing_version): Likewise.
3282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3283 (elf_machine_rela): Likewise.
3284 * sysdeps/powerpc/powerpc32/dl-machine.c
3285 (__process_machine_rela): Likewise.
3286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3299 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3301 * po/be.po: Add descriptive title.
3302 * po/zh_CN.po: Likewise.
3303 * po/header.pot: Likewise.
3305 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3307 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3309 (enlarge_archive): Likewise.
3311 2013-05-28 Ben North <ben@redfrontdoor.org>
3313 * manual/arith.texi (frexp): It is the magnitude of the return
3314 value which lies in [0.5, 1), not the return value itself.
3316 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3320 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3322 * stdio-common/bug26.c (main): Correct fscanf template.
3324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3325 declare _dl_skip_args.
3327 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3330 * manual/platform.texi: Add missing @end deftypefun.
3332 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3336 bit of mantissa of 2^16382.
3337 * math/libm-test.inc (hypot_test_data): Add more tests.
3339 * math/libm-test.inc: Add drem and pow10 to list of tested
3341 (pow10_test): New function.
3342 (drem_test): Likewise.
3343 (drem_test_tonearest): Likewise.
3344 (drem_test_towardzero): Likewise.
3345 (drem_test_downward): Likewise.
3346 (drem_test_upward): Likewise.
3347 (main): Call the new functions.
3349 * math/libm-test.inc (finite_test_data): Remove.
3350 (finite_test): Run tests from isfinite_test_data.
3351 (gamma_test_data): Remove.
3352 (gamma_test): Run tests from lgamma_test_data.
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3356 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3358 * manual/platform.texi: Add PowerPC PPR function set documentation.
3359 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3362 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3364 * math/libm-test.inc (MAX_EXP): Define.
3366 (ulp): New function.
3367 (check_float_internal): Use ULPDIFF.
3368 (cpow_test): Disable failing test.
3369 (check_ulp): Test ulp() implemetnation.
3370 (main): Call check_ulp before starting tests.
3372 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3374 * math/gen-libm-test.pl (generate_testfile): Do not handle
3375 START_DATA and END_DATA.
3376 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3378 (acos_tonearest_test_data): Likewise.
3379 (acos_towardzero_test_data): Likewise.
3380 (acos_downward_test_data): Likewise.
3381 (acos_upward_test_data): Likewise.
3382 (acosh_test_data): Likewise.
3383 (asin_test_data): Likewise.
3384 (asin_tonearest_test_data): Likewise.
3385 (asin_towardzero_test_data): Likewise.
3386 (asin_downward_test_data): Likewise.
3387 (asin_upward_test_data): Likewise.
3388 (asinh_test_data): Likewise.
3389 (atan_test_data): Likewise.
3390 (atanh_test_data): Likewise.
3391 (atan2_test_data): Likewise.
3392 (cabs_test_data): Likewise.
3393 (cacos_test_data): Likewise.
3394 (cacosh_test_data): Likewise.
3395 (carg_test_data): Likewise.
3396 (casin_test_data): Likewise.
3397 (casinh_test_data): Likewise.
3398 (catan_test_data): Likewise.
3399 (catanh_test_data): Likewise.
3400 (cbrt_test_data): Likewise.
3401 (ccos_test_data): Likewise.
3402 (ccosh_test_data): Likewise.
3403 (ceil_test_data): Likewise.
3404 (cexp_test_data): Likewise.
3405 (cimag_test_data): Likewise.
3406 (clog_test_data): Likewise.
3407 (clog10_test_data): Likewise.
3408 (conj_test_data): Likewise.
3409 (copysign_test_data): Likewise.
3410 (cos_test_data): Likewise.
3411 (cos_tonearest_test_data): Likewise.
3412 (cos_towardzero_test_data): Likewise.
3413 (cos_downward_test_data): Likewise.
3414 (cos_upward_test_data): Likewise.
3415 (cosh_test_data): Likewise.
3416 (cosh_tonearest_test_data): Likewise.
3417 (cosh_towardzero_test_data): Likewise.
3418 (cosh_downward_test_data): Likewise.
3419 (cosh_upward_test_data): Likewise.
3420 (cpow_test_data): Likewise.
3421 (cproj_test_data): Likewise.
3422 (creal_test_data): Likewise.
3423 (csin_test_data): Likewise.
3424 (csinh_test_data): Likewise.
3425 (csqrt_test_data): Likewise.
3426 (ctan_test_data): Likewise.
3427 (ctan_tonearest_test_data): Likewise.
3428 (ctan_towardzero_test_data): Likewise.
3429 (ctan_downward_test_data): Likewise.
3430 (ctan_upward_test_data): Likewise.
3431 (ctanh_test_data): Likewise.
3432 (ctanh_tonearest_test_data): Likewise.
3433 (ctanh_towardzero_test_data): Likewise.
3434 (ctanh_downward_test_data): Likewise.
3435 (ctanh_upward_test_data): Likewise.
3436 (erf_test_data): Likewise.
3437 (erfc_test_data): Likewise.
3438 (exp_test_data): Likewise.
3439 (exp_tonearest_test_data): Likewise.
3440 (exp_towardzero_test_data): Likewise.
3441 (exp_downward_test_data): Likewise.
3442 (exp_upward_test_data): Likewise.
3443 (exp10_test_data): Likewise.
3444 (exp2_test_data): Likewise.
3445 (expm1_test_data): Likewise.
3446 (fabs_test_data): Likewise.
3447 (fdim_test_data): Likewise.
3448 (finite_test_data): Likewise.
3449 (floor_test_data): Likewise.
3450 (fma_test_data): Likewise.
3451 (fma_towardzero_test_data): Likewise.
3452 (fma_downward_test_data): Likewise.
3453 (fma_upward_test_data): Likewise.
3454 (fmax_test_data): Likewise.
3455 (fmin_test_data): Likewise.
3456 (fmod_test_data): Likewise.
3457 (fpclassify_test_data): Likewise.
3458 (frexp_test_data): Likewise.
3459 (gamma_test_data): Likewise.
3460 (hypot_test_data): Likewise.
3461 (ilogb_test_data): Likewise.
3462 (isfinite_test_data): Likewise.
3463 (isgreater_test_data): Likewise.
3464 (isgreaterequal_test_data): Likewise.
3465 (isinf_test_data): Likewise.
3466 (isless_test_data): Likewise.
3467 (islessequal_test_data): Likewise.
3468 (islessgreater_test_data): Likewise.
3469 (isnan_test_data): Likewise.
3470 (isnormal_test_data): Likewise.
3471 (issignaling_test_data): Likewise.
3472 (isunordered_test_data): Likewise.
3473 (j0_test_data): Likewise.
3474 (j1_test_data): Likewise.
3475 (jn_test_data): Likewise.
3476 (ldexp_test_data): Likewise.
3477 (lgamma_test_data): Likewise.
3478 (lrint_test_data): Likewise.
3479 (lrint_tonearest_test_data): Likewise.
3480 (lrint_towardzero_test_data): Likewise.
3481 (lrint_downward_test_data): Likewise.
3482 (lrint_upward_test_data): Likewise.
3483 (llrint_test_data): Likewise.
3484 (llrint_tonearest_test_data): Likewise.
3485 (llrint_towardzero_test_data): Likewise.
3486 (llrint_downward_test_data): Likewise.
3487 (llrint_upward_test_data): Likewise.
3488 (log_test_data): Likewise.
3489 (log10_test_data): Likewise.
3490 (log1p_test_data): Likewise.
3491 (log2_test_data): Likewise.
3492 (logb_test_data): Likewise.
3493 (logb_downward_test_data): Likewise.
3494 (lround_test_data): Likewise.
3495 (llround_test_data): Likewise.
3496 (modf_test_data): Likewise.
3497 (nearbyint_test_data): Likewise.
3498 (nextafter_test_data): Likewise.
3499 (nexttoward_test_data): Likewise.
3500 (pow_test_data): Likewise.
3501 (pow_tonearest_test_data): Likewise.
3502 (pow_towardzero_test_data): Likewise.
3503 (pow_downward_test_data): Likewise.
3504 (pow_upward_test_data): Likewise.
3505 (remainder_test_data): Likewise.
3506 (remainder_tonearest_test_data): Likewise.
3507 (remainder_towardzero_test_data): Likewise.
3508 (remainder_downward_test_data): Likewise.
3509 (remainder_upward_test_data): Likewise.
3510 (remquo_test_data): Likewise.
3511 (rint_test_data): Likewise.
3512 (rint_tonearest_test_data): Likewise.
3513 (rint_towardzero_test_data): Likewise.
3514 (rint_downward_test_data): Likewise.
3515 (rint_upward_test_data): Likewise.
3516 (round_test_data): Likewise.
3517 (scalb_test_data): Likewise.
3518 (scalbn_test_data): Likewise.
3519 (scalbln_test_data): Likewise.
3520 (signbit_test_data): Likewise.
3521 (sin_test_data): Likewise.
3522 (sin_tonearest_test_data): Likewise.
3523 (sin_towardzero_test_data): Likewise.
3524 (sin_downward_test_data): Likewise.
3525 (sin_upward_test_data): Likewise.
3526 (sincos_test_data): Likewise.
3527 (sinh_test_data): Likewise.
3528 (sinh_tonearest_test_data): Likewise.
3529 (sinh_towardzero_test_data): Likewise.
3530 (sinh_downward_test_data): Likewise.
3531 (sinh_upward_test_data): Likewise.
3532 (sqrt_test_data): Likewise.
3533 (tan_test_data): Likewise.
3534 (tan_tonearest_test_data): Likewise.
3535 (tan_towardzero_test_data): Likewise.
3536 (tan_downward_test_data): Likewise.
3537 (tan_upward_test_data): Likewise.
3538 (tanh_test_data): Likewise.
3539 (tgamma_test_data): Likewise.
3540 (trunc_test_data): Likewise.
3541 (y0_test_data): Likewise.
3542 (y1_test_data): Likewise.
3543 (yn_test_data): Likewise.
3544 (significand_test_data): Likewise.
3546 * math/gen-libm-test.pl (@functions): Remove variable.
3547 (generate_testfile): Don't handle START and END lines.
3548 * math/libm-test.inc (START): New macro.
3550 (END_COMPLEX): Likewise.
3551 (acos_test): Use END macro without arguments.
3552 (acos_test_tonearest): Likewise.
3553 (acos_test_towardzero): Likewise.
3554 (acos_test_downward): Likewise.
3555 (acos_test_upward): Likewise.
3556 (acosh_test): Likewise.
3557 (asin_test): Likewise.
3558 (asin_test_tonearest): Likewise.
3559 (asin_test_towardzero): Likewise.
3560 (asin_test_downward): Likewise.
3561 (asin_test_upward): Likewise.
3562 (asinh_test): Likewise.
3563 (atan_test): Likewise.
3564 (atanh_test): Likewise.
3565 (atan2_test): Likewise.
3566 (cabs_test): Likewise.
3567 (cacos_test): Use END_COMPLEX macro without arguments.
3568 (cacosh_test): Likewise.
3569 (carg_test): Use END macro without arguments.
3570 (casin_test): Use END_COMPLEX macro without arguments.
3571 (casinh_test): Likewise.
3572 (catan_test): Likewise.
3573 (catanh_test): Likewise.
3574 (cbrt_test): Use END macro without arguments.
3575 (ccos_test): Use END_COMPLEX macro without arguments.
3576 (ccosh_test): Likewise.
3577 (ceil_test): Use END macro without arguments.
3578 (cexp_test): Use END_COMPLEX macro without arguments.
3579 (cimag_test): Use END macro without arguments.
3580 (clog_test): Use END_COMPLEX macro without arguments.
3581 (clog10_test): Likewise.
3582 (conj_test): Likewise.
3583 (copysign_test): Use END macro without arguments.
3584 (cos_test): Likewise.
3585 (cos_test_tonearest): Likewise.
3586 (cos_test_towardzero): Likewise.
3587 (cos_test_downward): Likewise.
3588 (cos_test_upward): Likewise.
3589 (cosh_test): Likewise.
3590 (cosh_test_tonearest): Likewise.
3591 (cosh_test_towardzero): Likewise.
3592 (cosh_test_downward): Likewise.
3593 (cosh_test_upward): Likewise.
3594 (cpow_test): Use END_COMPLEX macro without arguments.
3595 (cproj_test): Likewise.
3596 (creal_test): Use END macro without arguments.
3597 (csin_test): Use END_COMPLEX macro without arguments.
3598 (csinh_test): Likewise.
3599 (csqrt_test): Likewise.
3600 (ctan_test): Likewise.
3601 (ctan_test_tonearest): Likewise.
3602 (ctan_test_towardzero): Likewise.
3603 (ctan_test_downward): Likewise.
3604 (ctan_test_upward): Likewise.
3605 (ctanh_test): Likewise.
3606 (ctanh_test_tonearest): Likewise.
3607 (ctanh_test_towardzero): Likewise.
3608 (ctanh_test_downward): Likewise.
3609 (ctanh_test_upward): Likewise.
3610 (erf_test): Use END macro without arguments.
3611 (erfc_test): Likewise.
3612 (exp_test): Likewise.
3613 (exp_test_tonearest): Likewise.
3614 (exp_test_towardzero): Likewise.
3615 (exp_test_downward): Likewise.
3616 (exp_test_upward): Likewise.
3617 (exp10_test): Likewise.
3618 (exp2_test): Likewise.
3619 (expm1_test): Likewise.
3620 (fabs_test): Likewise.
3621 (fdim_test): Likewise.
3622 (finite_test): Likewise.
3623 (floor_test): Likewise.
3624 (fma_test): Likewise.
3625 (fma_test_towardzero): Likewise.
3626 (fma_test_downward): Likewise.
3627 (fma_test_upward): Likewise.
3628 (fmax_test): Likewise.
3629 (fmin_test): Likewise.
3630 (fmod_test): Likewise.
3631 (fpclassify_test): Likewise.
3632 (frexp_test): Likewise.
3633 (gamma_test): Likewise.
3634 (hypot_test): Likewise.
3635 (ilogb_test): Likewise.
3636 (isfinite_test): Likewise.
3637 (isgreater_test): Likewise.
3638 (isgreaterequal_test): Likewise.
3639 (isinf_test): Likewise.
3640 (isless_test): Likewise.
3641 (islessequal_test): Likewise.
3642 (islessgreater_test): Likewise.
3643 (isnan_test): Likewise.
3644 (isnormal_test): Likewise.
3645 (issignaling_test): Likewise.
3646 (isunordered_test): Likewise.
3647 (j0_test): Likewise.
3648 (j1_test): Likewise.
3649 (jn_test): Likewise.
3650 (ldexp_test): Likewise.
3651 (lgamma_test): Likewise.
3652 (lrint_test): Likewise.
3653 (lrint_test_tonearest): Likewise.
3654 (lrint_test_towardzero): Likewise.
3655 (lrint_test_downward): Likewise.
3656 (lrint_test_upward): Likewise.
3657 (llrint_test): Likewise.
3658 (llrint_test_tonearest): Likewise.
3659 (llrint_test_towardzero): Likewise.
3660 (llrint_test_downward): Likewise.
3661 (llrint_test_upward): Likewise.
3662 (log_test): Likewise.
3663 (log10_test): Likewise.
3664 (log1p_test): Likewise.
3665 (log2_test): Likewise.
3666 (logb_test): Likewise.
3667 (logb_test_downward): Likewise.
3668 (lround_test): Likewise.
3669 (llround_test): Likewise.
3670 (modf_test): Likewise.
3671 (nearbyint_test): Likewise.
3672 (nextafter_test): Likewise.
3673 (nexttoward_test): Likewise.
3674 (pow_test): Likewise.
3675 (pow_test_tonearest): Likewise.
3676 (pow_test_towardzero): Likewise.
3677 (pow_test_downward): Likewise.
3678 (pow_test_upward): Likewise.
3679 (remainder_test): Likewise.
3680 (remainder_test_tonearest): Likewise.
3681 (remainder_test_towardzero): Likewise.
3682 (remainder_test_downward): Likewise.
3683 (remainder_test_upward): Likewise.
3684 (remquo_test): Likewise.
3685 (rint_test): Likewise.
3686 (rint_test_tonearest): Likewise.
3687 (rint_test_towardzero): Likewise.
3688 (rint_test_downward): Likewise.
3689 (rint_test_upward): Likewise.
3690 (round_test): Likewise.
3691 (scalb_test): Likewise.
3692 (scalbn_test): Likewise.
3693 (scalbln_test): Likewise.
3694 (signbit_test): Likewise.
3695 (sin_test): Likewise.
3696 (sin_test_tonearest): Likewise.
3697 (sin_test_towardzero): Likewise.
3698 (sin_test_downward): Likewise.
3699 (sin_test_upward): Likewise.
3700 (sincos_test): Likewise.
3701 (sinh_test): Likewise.
3702 (sinh_test_tonearest): Likewise.
3703 (sinh_test_towardzero): Likewise.
3704 (sinh_test_downward): Likewise.
3705 (sinh_test_upward): Likewise.
3706 (sqrt_test): Likewise.
3707 (tan_test): Likewise.
3708 (tan_test_tonearest): Likewise.
3709 (tan_test_towardzero): Likewise.
3710 (tan_test_downward): Likewise.
3711 (tan_test_upward): Likewise.
3712 (tanh_test): Likewise.
3713 (tgamma_test): Likewise.
3714 (trunc_test): Likewise.
3715 (y0_test): Likewise.
3716 (y1_test): Likewise.
3717 (yn_test): Likewise.
3718 (significand_test): Likewise.
3720 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3723 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3725 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3728 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3729 __ppc_mdoio and __ppc_mdoom.
3730 * manual/platform.texi: Document new functions __ppc_yield,
3731 __ppc_mdoio and __ppc_mdoom.
3733 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3735 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3736 (main): Mention "tls" pseudo-hwcap is legacy.
3737 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3739 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3741 * math/gen-libm-test.pl (parse_args): Output only string of
3742 arguments as text for test name, not full call or descriptions of
3743 tests for extra outputs.
3744 (generate_testfile): Do not pass function name to parse_args.
3745 Generate this_func variable from START.
3746 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3748 (struct test_ff_f_data): Likewise.
3749 (test_ff_f_data_nexttoward): Likewise.
3750 (struct test_fi_f_data): Likewise.
3751 (struct test_fl_f_data): Likewise.
3752 (struct test_if_f_data): Likewise.
3753 (struct test_fff_f_data): Likewise.
3754 (struct test_c_f_data): Likewise.
3755 (struct test_f_f1_data): Likewise. Remove field extra_name.
3756 (struct test_fF_f1_data): Likewise.
3757 (struct test_ffI_f1_data): Likewise.
3758 (struct test_c_c_data): Rename test_name field to arg_str.
3759 (struct test_cc_c_data): Likewise.
3760 (struct test_f_i_data): Likewise.
3761 (struct test_ff_i_data): Likewise.
3762 (struct test_f_l_data): Likewise.
3763 (struct test_f_L_data): Likewise.
3764 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3766 (COMMON_TEST_SETUP): New macro.
3767 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3768 (COMMON_TEST_CLEANUP): Likewise.
3769 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3770 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3772 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3773 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3775 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3776 (RUN_TEST_fff_f): Take argument string. Call new setup and
3778 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3779 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3781 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3782 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3784 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3785 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3787 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3788 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3790 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3791 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3793 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3794 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3796 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3797 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3799 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3800 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3802 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3803 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3805 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3806 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3808 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3809 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3811 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3812 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3814 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3815 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3817 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3818 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3820 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3821 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3823 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3825 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3827 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3828 to _sifields.sigfault.
3829 (si_addr_lsb): Define new macro.
3830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3834 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3837 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3839 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3841 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3844 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3846 * math/gen-libm-test.pl (parse_args): Do not include expected
3847 result in test name.
3848 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3855 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3857 * benchtests/Makefile: Sort function entries.
3859 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3860 tanh, asinh, acosh, atanh.
3861 * benchtests/acos-inputs: New file.
3862 * benchtests/acosh-inputs: New file.
3863 * benchtests/asin-inputs: New file.
3864 * benchtests/asinh-inputs: New file.
3865 * benchtests/atanh-inputs: New file.
3866 * benchtests/cosh-inputs: New file.
3867 * benchtests/log-inputs: New file.
3868 * benchtests/sinh-inputs: New file.
3869 * benchtests/tanh-inputs: New file.
3871 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3874 * posix/tst-getaddrinfo4.c: New test.
3875 * posix/Makefile (tests): Add it.
3877 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3880 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3881 when no services were used.
3882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3883 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3885 2013-05-21 Andreas Schwab <schwab@suse.de>
3888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3889 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3891 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3892 redundant variable declarations and reallocation of buffer when
3893 parsing as IPv6 address. Always set NSS status when called from
3894 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3895 buffer too small. Correct computation of needed size.
3896 * nss/Makefile (tests): Add test-digits-dots.
3897 * nss/test-digits-dots.c: New test.
3899 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3901 * benchtests/Makefile: Remove instructions for adding
3903 * benchtests/README: New file to explain how to execute and
3904 enhance the benchmark tests.
3906 2013-05-21 Andreas Schwab <schwab@suse.de>
3909 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3910 * setjmp/tst-sigsetjmp.c: New test.
3912 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3914 * sysdeps/x86_64/memset.S (memset): New implementation.
3915 (__bzero): Likewise.
3916 (__memset_tail): New function.
3918 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3920 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3921 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3922 __memcpy_sse2_unaligned ifunc selection.
3923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3924 Add memcpy-sse2-unaligned.S.
3925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3926 Add: __memcpy_sse2_unaligned.
3928 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3931 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3932 math_force_eval before restoring floating-point envrionment.
3933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3938 (__nearbyintl): Use math_force_eval before restoring
3939 floating-point environment.
3940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3942 * math/gen-libm-test.pl (special_functions): Remove.
3943 (parse_args): Don't handle TEST_extra. Handle functions with no
3945 * math/libm-test.inc (struct test_sincos_data): Replace with
3946 struct test_fFF_11_data.
3947 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3948 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3949 (sincos_test_data): Change element type to struct
3950 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3951 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3952 RUN_TEST_LOOP_sincos.
3953 * math/README.libm-test: Don't mention special handling of
3954 individual functions.
3955 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3957 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3959 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3962 * math/gen-libm-test.pl (get_variable): Remove function.
3963 (parse_args): Don't show pointer parameters to call in test
3964 names. Use "extra output N" in test names for extra outputs
3965 rather than naming variables.
3967 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3970 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3971 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3972 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3974 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3976 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3979 * math/gen-libm-test.pl (@tests): Remove variable.
3981 (new_test): Remove function.
3982 (show_exceptions): New function.
3983 (special_functions): Use show_exceptions instead of new_test.
3984 (parse_args): Likewise.
3985 (generate_testfile): Pass only function name in generated call to
3986 print_max_error or print_complex_max_error.
3987 (get_ulps): Do not handle complex tests specially.
3988 (output_test): Rename to ...
3989 (get_all_ulps_for_test): ... this. Return a string rather than
3990 printing to a file. Require ulps to be present.
3991 (output_ulps): Generate arrays rather than #defines.
3992 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3993 (struct ulp_data): New type.
3994 (BUILD_COMPLEX_ULP): Remove macro.
3995 (compare_ulp_data): New function.
3996 (find_ulps): Likewise.
3997 (find_test_ulps): Likewise.
3998 (find_function_ulps): Likewise.
3999 (find_complex_function_ulps): Likewise.
4000 (print_max_error): Determine allowed ulps using
4002 (print_complex_max_error): Determine allowed ulps using
4003 find_complex_function_ulps.
4004 (check_float_internal): Determine max ulps using find_test_ulps.
4005 (check_float): Do not take max_ulp parameter. Update call to
4006 check_float_internal.
4007 (check_complex): Likewise.
4008 (check_int): Do not take max_ulp parameter.
4009 (check_long): Likewise.
4010 (check_bool): Likewise.
4011 (check_longlong): Likewise.
4012 (struct test_f_f_data): Remove max_ulp field.
4013 (struct test_ff_f_data): Likewise.
4014 (struct test_ff_f_data_nexttoward): Likewise.
4015 (struct test_fi_f_data): Likewise.
4016 (struct test_fl_f_data): Likewise.
4017 (struct test_if_f_data): Likewise.
4018 (struct test_fff_f_data): Likewise.
4019 (struct test_c_f_data): Likewise.
4020 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4021 (struct test_fF_f1_data): Likewise.
4022 (struct test_ffI_f1_data): Likewise.
4023 (struct test_c_c_data): Remove max_ulp field.
4024 (struct test_cc_c_data): Likewise.
4025 (struct test_f_i_data): Likewise.
4026 (struct test_ff_i_data): Likewise.
4027 (struct test_f_l_data): Likewise.
4028 (struct test_f_L_data): Likewise.
4029 (struct test_sincos_data): Likewise.
4030 (RUN_TEST_f_f): Do not handle ulps.
4031 (RUN_TEST_LOOP_f_f): Likewise.
4032 (RUN_TEST_2_f): Likewise.
4033 (RUN_TEST_LOOP_2_f): Likewise.
4034 (RUN_TEST_fff_f): Likewise.
4035 (RUN_TEST_LOOP_fff_f): Likewise.
4036 (RUN_TEST_c_f): Likewise.
4037 (RUN_TEST_LOOP_c_f): Likewise.
4038 (RUN_TEST_f_f1): Likewise.
4039 (RUN_TEST_LOOP_f_f1): Likewise.
4040 (RUN_TEST_fF_f1): Likewise.
4041 (RUN_TEST_LOOP_fF_f1): Likewise.
4042 (RUN_TEST_fI_f1): Likewise.
4043 (RUN_TEST_LOOP_fI_f1): Likewise.
4044 (RUN_TEST_ffI_f1): Likewise.
4045 (RUN_TEST_LOOP_ffI_f1): Likewise.
4046 (RUN_TEST_c_c): Likewise.
4047 (RUN_TEST_LOOP_c_c): Likewise.
4048 (RUN_TEST_cc_c): Likewise.
4049 (RUN_TEST_LOOP_cc_c): Likewise.
4050 (RUN_TEST_f_i): Likewise.
4051 (RUN_TEST_LOOP_f_i): Likewise.
4052 (RUN_TEST_f_i_tg): Likewise.
4053 (RUN_TEST_LOOP_f_i_tg): Likewise.
4054 (RUN_TEST_ff_i_tg): Likewise.
4055 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4056 (RUN_TEST_f_b): Likewise.
4057 (RUN_TEST_LOOP_f_b): Likewise.
4058 (RUN_TEST_f_b_tg): Likewise.
4059 (RUN_TEST_LOOP_f_b_tg): Likewise.
4060 (RUN_TEST_f_l): Likewise.
4061 (RUN_TEST_LOOP_f_l): Likewise.
4062 (RUN_TEST_f_L): Likewise.
4063 (RUN_TEST_LOOP_f_L): Likewise.
4064 (RUN_TEST_sincos): Likewise.
4065 (RUN_TEST_LOOP_sincos): Likewise.
4067 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4072 main case of finite arguments, set rounding mode to FE_TONEAREST
4073 and discard exceptions.
4074 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4076 (remainder_tonearest_test_data): New variable.
4077 (remainder_test_tonearest): New function.
4078 (remainder_towardzero_test_data): New variable.
4079 (remainder_test_towardzero): New function.
4080 (remainder_downward_test_data): New variable.
4081 (remainder_test_downward): New function.
4082 (remainder_upward_test_data): New variable.
4083 (remainder_test_upward): New function.
4084 (main): Call the new test functions.
4086 * math/libm-test.inc (struct test_f_f1_data): Remove field
4088 (struct test_fF_f1_data): Likewise.
4089 (struct test_ffI_f1_data): Likewise.
4090 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4091 based on value of EXTRA_EXPECTED.
4092 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4093 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4094 EXTRA_VAR based on value of EXTRA_EXPECTED.
4095 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4096 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4097 EXTRA_VAR based on value of EXTRA_EXPECTED.
4098 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4099 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4100 EXTRA_VAR based on value of EXTRA_EXPECTED.
4101 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4102 * math/gen-libm-test.pl (parse_args): Don't output initializers
4103 for extra output values.
4105 * math/libm-test.inc (check_int): Expect result to be exactly
4106 equal to expected value and do not handle ulps.
4107 (check_long): Likewise.
4108 (check_longlong): Likewise.
4110 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4112 (cimag_test_data): Likewise.
4113 (conj_test_data): Likewise.
4114 (copysign_test_data): Likewise.
4115 (cproj_test_data): Likewise.
4116 (creal_test_data): Likewise.
4117 (fabs_test_data): Likewise.
4118 (fdim_test_data): Likewise.
4119 (finite_test_data): Likewise.
4120 (floor_test_data): Likewise.
4121 (fmax_test_data): Likewise.
4122 (fmin_test_data): Likewise.
4123 (fmod_test_data): Likewise.
4124 (fpclassify_test_data): Likewise.
4125 (frexp_test_data): Likewise.
4126 (ilogb_test_data): Likewise.
4127 (isfinite_test_data): Likewise.
4128 (isgreater_test_data): Likewise.
4129 (isgreaterequal_test_data): Likewise.
4130 (isinf_test_data): Likewise.
4131 (isless_test_data): Likewise.
4132 (islessequal_test_data): Likewise.
4133 (islessgreater_test_data): Likewise.
4134 (isnan_test_data): Likewise.
4135 (isnormal_test_data): Likewise.
4136 (issignaling_test_data): Likewise.
4137 (isunordered_test_data): Likewise.
4138 (ldexp_test_data): Likewise.
4139 (lrint_test_data): Likewise.
4140 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4141 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4142 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4143 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4144 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4145 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4147 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4148 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4149 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4150 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4152 (lrint_downward_test_data): Test for "inexact" exceptions.
4153 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4154 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4155 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4157 (lrint_upward_test_data): Test for "inexact" exceptions.
4158 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4160 (llrint_test_data): Test for "inexact" exceptions.
4161 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4162 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4163 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4164 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4165 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4166 (llrint_downward_test_data): Test for "inexact" exceptions.
4167 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4168 (llrint_upward_test_data): Test for "inexact" exceptions.
4169 (logb_test_data): Likewise.
4170 (logb_downward_test_data): Likewise.
4171 (nextafter_test_data): Likewise.
4172 (nexttoward_test_data): Likewise.
4173 (remainder_test_data): Likewise.
4174 (remquo_test_data): Likewise.
4175 (scalbn_test_data): Likewise.
4176 (scalbln_test_data): Likewise.
4177 (signbit_test_data): Likewise.
4178 (sqrt_test_data): Likewise.
4179 (significand_test_data): Likewise.
4181 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4184 * benchtests/bench-modf.c (struct args): Mark arg0 as
4186 * scripts/bench.pl: Mark members of struct args as volatile.
4188 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4192 negative infinity on POWER6 or lower.
4193 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4195 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4198 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4199 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4200 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4201 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4202 (_FP_SETQNAN): New macro.
4203 (_FP_SETQNAN_SEMIRAW): Likewise.
4204 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4205 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4206 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4207 (FP_EXTEND): Use _FP_FRAC_SNANP.
4208 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4209 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4216 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4218 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4219 with DIVIDE_BY_ZERO_EXCEPTION.
4220 (gamma_test_data): Likewise.
4221 (lgamma_test_data): Likewise.
4222 (log_test_data): Likewise.
4223 (log10_test_data): Likewise.
4224 (log2_test_data): Likewise.
4225 (tgamma_test_data): Likewise.
4227 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4228 (acos_test_tonearest): Likewise.
4229 (acos_test_towardzero): Likewise.
4230 (acos_test_downward): Likewise.
4231 (acos_test_upward): Likewise.
4232 (acosh_test): Likewise.
4233 (asin_test): Likewise.
4234 (asin_test_tonearest): Likewise.
4235 (asin_test_towardzero): Likewise.
4236 (asin_test_downward): Likewise.
4237 (asin_test_upward): Likewise.
4238 (asinh_test): Likewise.
4239 (atan_test): Likewise.
4240 (atanh_test): Likewise.
4241 (atan2_test): Likewise.
4242 (cabs_test): Likewise.
4243 (cacos_test): Likewise.
4244 (cacosh_test): Likewise.
4245 (casin_test): Likewise.
4246 (casinh_test): Likewise.
4247 (catan_test): Likewise.
4248 (catanh_test): Likewise.
4249 (cbrt_test): Likewise.
4250 (ccos_test): Likewise.
4251 (ccosh_test): Likewise.
4252 (cexp_test): Likewise.
4253 (clog_test): Likewise.
4254 (clog10_test): Likewise.
4255 (cos_test): Likewise.
4256 (cos_test_tonearest): Likewise.
4257 (cos_test_towardzero): Likewise.
4258 (cos_test_downward): Likewise.
4259 (cos_test_upward): Likewise.
4260 (cosh_test): Likewise.
4261 (cosh_test_tonearest): Likewise.
4262 (cosh_test_towardzero): Likewise.
4263 (cosh_test_downward): Likewise.
4264 (cosh_test_upward): Likewise.
4265 (cpow_test): Likewise.
4266 (csin_test): Likewise.
4267 (csinh_test): Likewise.
4268 (csqrt_test): Likewise.
4269 (ctan_test): Likewise.
4270 (ctan_test_tonearest): Likewise.
4271 (ctan_test_towardzero): Likewise.
4272 (ctan_test_downward): Likewise.
4273 (ctan_test_upward): Likewise.
4274 (ctanh_test): Likewise.
4275 (ctanh_test_tonearest): Likewise.
4276 (ctanh_test_towardzero): Likewise.
4277 (ctanh_test_downward): Likewise.
4278 (ctanh_test_upward): Likewise.
4279 (erf_test): Likewise.
4280 (erfc_test): Likewise.
4281 (exp_test): Likewise.
4282 (exp_test_tonearest): Likewise.
4283 (exp_test_towardzero): Likewise.
4284 (exp_test_downward): Likewise.
4285 (exp_test_upward): Likewise.
4286 (exp10_test): Likewise.
4287 (exp2_test): Likewise.
4288 (expm1_test): Likewise.
4289 (fmod_test): Likewise.
4290 (gamma_test): Likewise.
4291 (hypot_test): Likewise.
4292 (j0_test): Likewise.
4293 (j1_test): Likewise.
4294 (jn_test): Likewise.
4295 (lgamma_test): Likewise.
4296 (log_test): Likewise.
4297 (log10_test): Likewise.
4298 (log1p_test): Likewise.
4299 (log2_test): Likewise.
4300 (logb_test_downward): Likewise.
4301 (pow_test): Likewise.
4302 (pow_test_tonearest): Likewise.
4303 (pow_test_towardzero): Likewise.
4304 (pow_test_downward): Likewise.
4305 (pow_test_upward): Likewise.
4306 (remainder_test): Likewise.
4307 (remquo_test): Likewise.
4308 (sin_test): Likewise.
4309 (sin_test_tonearest): Likewise.
4310 (sin_test_towardzero): Likewise.
4311 (sin_test_downward): Likewise.
4312 (sin_test_upward): Likewise.
4313 (sincos_test): Likewise.
4314 (sinh_test): Likewise.
4315 (sinh_test_tonearest): Likewise.
4316 (sinh_test_towardzero): Likewise.
4317 (sinh_test_downward): Likewise.
4318 (sinh_test_upward): Likewise.
4319 (sqrt_test): Likewise.
4320 (tan_test): Likewise.
4321 (tan_test_tonearest): Likewise.
4322 (tan_test_towardzero): Likewise.
4323 (tan_test_downward): Likewise.
4324 (tan_test_upward): Likewise.
4325 (tanh_test): Likewise.
4326 (tgamma_test): Likewise.
4327 (y0_test): Likewise.
4328 (y1_test): Likewise.
4329 (yn_test): Likewise.
4331 * math/gen-libm-test.pl (adjust_arg): Remove function.
4332 (special_function): Remove argument $in_func. Only handle
4333 generating output for tables of tests, not inside functions.
4334 (parse_args): Likewise.
4335 (generate_testfile): Remove variable $in_func. Update call to
4337 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4338 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4339 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4340 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4341 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4342 (MAX_VALUE_INIT): Rename macro to max_value.
4343 (MIN_VALUE_INIT): Rename macro to min_value.
4344 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4345 (plus_zero): Remove variable.
4346 (minus_zero): Likewise.
4347 (plus_infty): Likewise.
4348 (minus_infty): Likewise.
4349 (qnan_value): Likewise.
4350 (max_value): Likewise.
4351 (min_value): Likewise.
4352 (min_subnorm_value): Likewise.
4354 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4356 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4357 uint64_t or uint32_t usage.
4358 * crypt/sha256-block.c: Likewise.
4359 * crypt/sha256-crypt.c: Likewise.
4360 * crypt/sha256.c: Likewise.
4361 * crypt/sha512-block.c: Likewise.
4362 * crypt/sha512-crypt.c: Likewise.
4363 * crypt/sha512.c: Likewise.
4364 * debug/backtrace-tst.c: Likewise.
4365 * debug/pcprofiledump.c: Likewise.
4366 * elf/cache.c: Likewise.
4367 * elf/dl-cache.c: Likewise.
4368 * elf/dl-misc.c: Likewise.
4369 * elf/dl-profile.c: Likewise.
4370 * elf/dl-support.c: Likewise.
4371 * elf/ldconfig.c: Likewise.
4372 * elf/sprof.c: Likewise.
4373 * iconv/dummy-repertoire.c: Likewise.
4374 * iconv/iconv_charmap.c: Likewise.
4375 * iconv/skeleton.c: Likewise.
4376 * iconvdata/8bit-generic.c: Likewise.
4377 * iconvdata/cp737.h: Likewise.
4378 * iconvdata/cp775.h: Likewise.
4379 * iconvdata/ibm1008.h: Likewise.
4380 * iconvdata/ibm1025.h: Likewise.
4381 * iconvdata/ibm1046.h: Likewise.
4382 * iconvdata/ibm1097.h: Likewise.
4383 * iconvdata/ibm1112.h: Likewise.
4384 * iconvdata/ibm1122.h: Likewise.
4385 * iconvdata/ibm1123.h: Likewise.
4386 * iconvdata/ibm1124.h: Likewise.
4387 * iconvdata/ibm1129.h: Likewise.
4388 * iconvdata/ibm1130.h: Likewise.
4389 * iconvdata/ibm1132.h: Likewise.
4390 * iconvdata/ibm1133.h: Likewise.
4391 * iconvdata/ibm1137.h: Likewise.
4392 * iconvdata/ibm1140.h: Likewise.
4393 * iconvdata/ibm1141.h: Likewise.
4394 * iconvdata/ibm1142.h: Likewise.
4395 * iconvdata/ibm1143.h: Likewise.
4396 * iconvdata/ibm1144.h: Likewise.
4397 * iconvdata/ibm1145.h: Likewise.
4398 * iconvdata/ibm1146.h: Likewise.
4399 * iconvdata/ibm1147.h: Likewise.
4400 * iconvdata/ibm1148.h: Likewise.
4401 * iconvdata/ibm1149.h: Likewise.
4402 * iconvdata/ibm1153.h: Likewise.
4403 * iconvdata/ibm1154.h: Likewise.
4404 * iconvdata/ibm1155.h: Likewise.
4405 * iconvdata/ibm1156.h: Likewise.
4406 * iconvdata/ibm1157.h: Likewise.
4407 * iconvdata/ibm1158.h: Likewise.
4408 * iconvdata/ibm1160.h: Likewise.
4409 * iconvdata/ibm1161.h: Likewise.
4410 * iconvdata/ibm1162.h: Likewise.
4411 * iconvdata/ibm1163.h: Likewise.
4412 * iconvdata/ibm1164.h: Likewise.
4413 * iconvdata/ibm1166.h: Likewise.
4414 * iconvdata/ibm1167.h: Likewise.
4415 * iconvdata/ibm12712.h: Likewise.
4416 * iconvdata/ibm1390.h: Likewise.
4417 * iconvdata/ibm1399.h: Likewise.
4418 * iconvdata/ibm16804.h: Likewise.
4419 * iconvdata/ibm4517.h: Likewise.
4420 * iconvdata/ibm4899.h: Likewise.
4421 * iconvdata/ibm4909.h: Likewise.
4422 * iconvdata/ibm4971.h: Likewise.
4423 * iconvdata/ibm5347.h: Likewise.
4424 * iconvdata/ibm803.h: Likewise.
4425 * iconvdata/ibm856.h: Likewise.
4426 * iconvdata/ibm901.h: Likewise.
4427 * iconvdata/ibm902.h: Likewise.
4428 * iconvdata/ibm9030.h: Likewise.
4429 * iconvdata/ibm9066.h: Likewise.
4430 * iconvdata/ibm921.h: Likewise.
4431 * iconvdata/ibm922.h: Likewise.
4432 * iconvdata/ibm9448.h: Likewise.
4433 * iconvdata/isiri-3342.h: Likewise.
4434 * iconvdata/jis0201.h: Likewise.
4435 * include/link.h: Likewise.
4436 * include/netdb.h: Likewise.
4437 * inet/check_native.c: Likewise.
4438 * inet/check_pf.c: Likewise.
4439 * inet/getipv4sourcefilter.c: Likewise.
4440 * inet/getnameinfo.c: Likewise.
4441 * inet/getsourcefilter.c: Likewise.
4442 * inet/htonl.c: Likewise.
4443 * inet/setipv4sourcefilter.c: Likewise.
4444 * inet/setsourcefilter.c: Likewise.
4445 * inet/test-inet6_opt.c: Likewise.
4446 * inet/tst-network.c: Likewise.
4447 * locale/C-collate.c: Likewise.
4448 * locale/C-ctype.c: Likewise.
4449 * locale/C-time.c: Likewise.
4450 * locale/C-translit.h: Likewise.
4451 * locale/loadarchive.c: Likewise.
4452 * locale/programs/3level.h: Likewise.
4453 * locale/programs/charmap.c: Likewise.
4454 * locale/programs/charmap.h: Likewise.
4455 * locale/programs/ld-address.c: Likewise.
4456 * locale/programs/ld-collate.c: Likewise.
4457 * locale/programs/ld-ctype.c: Likewise.
4458 * locale/programs/ld-identification.c: Likewise.
4459 * locale/programs/ld-measurement.c: Likewise.
4460 * locale/programs/ld-messages.c: Likewise.
4461 * locale/programs/ld-monetary.c: Likewise.
4462 * locale/programs/ld-name.c: Likewise.
4463 * locale/programs/ld-numeric.c: Likewise.
4464 * locale/programs/ld-paper.c: Likewise.
4465 * locale/programs/ld-telephone.c: Likewise.
4466 * locale/programs/ld-time.c: Likewise.
4467 * locale/programs/linereader.c: Likewise.
4468 * locale/programs/locale.c: Likewise.
4469 * locale/programs/locarchive.c: Likewise.
4470 * locale/programs/locfile.h: Likewise.
4471 * locale/programs/repertoire.c: Likewise.
4472 * locale/programs/simple-hash.c: Likewise.
4473 * locale/programs/simple-hash.h: Likewise.
4474 * malloc/memusage.c: Likewise.
4475 * malloc/memusagestat.c: Likewise.
4476 * nis/nis_defaults.c: Likewise.
4477 * nis/nis_hash.c: Likewise.
4478 * nis/nis_print.c: Likewise.
4479 * nis/nis_xdr.c: Likewise.
4480 * nscd/connections.c: Likewise.
4481 * nscd/hstcache.c: Likewise.
4482 * nscd/nscd_gethst_r.c: Likewise.
4483 * nscd/nscd_getserv_r.c: Likewise.
4484 * nscd/nscd_helper.c: Likewise.
4485 * nscd/servicescache.c: Likewise.
4486 * nss/makedb.c: Likewise.
4487 * nss/nss_db/db-XXX.c: Likewise.
4488 * nss/nss_db/db-initgroups.c: Likewise.
4489 * nss/nss_db/db-netgrp.c: Likewise.
4490 * nss/nss_files/files-network.c: Likewise.
4491 * nss/nss_files/files-parse.c: Likewise.
4492 * posix/bug-regex5.c: Likewise.
4493 * posix/fnmatch_loop.c: Likewise.
4494 * posix/regcomp.c: Likewise.
4495 * posix/regexec.c: Likewise.
4496 * posix/tst-rfc3484-2.c: Likewise.
4497 * posix/tst-rfc3484-3.c: Likewise.
4498 * posix/tst-rfc3484.c: Likewise.
4499 * resolv/nss_dns/dns-canon.c: Likewise.
4500 * resolv/nss_dns/dns-network.c: Likewise.
4501 * resolv/res_init.c: Likewise.
4502 * resolv/res_mkquery.c: Likewise.
4503 * resolv/tst-aton.c: Likewise.
4504 * stdlib/cxa_atexit.c: Likewise.
4505 * stdlib/cxa_finalize.c: Likewise.
4506 * stdlib/gen-fpioconst.c: Likewise.
4507 * stdlib/strtol_l.c: Likewise.
4508 * string/tst-endian.c: Likewise.
4509 * sunrpc/auth_des.c: Likewise.
4510 * sunrpc/clnt_udp.c: Likewise.
4511 * sunrpc/rtime.c: Likewise.
4512 * sunrpc/svcauth_des.c: Likewise.
4513 * sunrpc/xdr.c: Likewise.
4514 * sunrpc/xdr_intXX_t.c: Likewise.
4515 * sunrpc/xdr_rec.c: Likewise.
4516 * sysdeps/generic/ldconfig.h: Likewise.
4517 * sysdeps/generic/ldsodefs.h: Likewise.
4518 * sysdeps/generic/memusage.h: Likewise.
4519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4529 * sysdeps/posix/getaddrinfo.c: Likewise.
4530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4534 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4535 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4536 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4537 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4538 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4540 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4541 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4542 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4543 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4544 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4545 * sysdeps/x86_64/dl-tls.h: Likewise.
4546 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4547 * time/alt_digit.c: Likewise.
4548 * time/era.c: Likewise.
4549 * wcsmbs/tst-c16c32-1.c: Likewise.
4551 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4553 * math/libm-test.inc (struct test_sincos_data): New type.
4554 (RUN_TEST_LOOP_sincos): New macro.
4555 (sincos_test_data): New variable.
4556 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4558 2013-05-16 Richard Henderson <rth@redhat.com>
4560 * math/atest-exp2.c (LIMB64): New macro.
4561 (CONSTSZ): New macro.
4562 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4564 (print_mpn_fp): ... to function scope.
4565 (read_mpn_hex): Remove.
4567 (exp2_mpn): Use mp_log2.
4568 (main): Use mp_exp1.
4570 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4572 * math/libm-test.inc: Remove comment about not testing "inexact"
4574 (INEXACT_EXCEPTION): New macro.
4575 (NO_INEXACT_EXCEPTION): Likewise.
4576 (INVALID_EXCEPTION_OK): Update value.
4577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4578 (OVERFLOW_EXCEPTION_OK): Likewise.
4579 (UNDERFLOW_EXCEPTION_OK): Likewise.
4580 (IGNORE_ZERO_INF_SIGN): Likewise.
4581 (ERRNO_UNCHANGED): Likewise.
4582 (ERRNO_EDOM): Likewise.
4583 (ERRNO_ERANGE): Likewise.
4584 (test_exceptions): Handle testing "inexact" exceptions.
4585 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4586 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4587 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4588 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4590 (rint_towardzero_test_data): Likewise.
4591 (rint_downward_test_data): Likewise.
4592 (rint_upward_test_data): Likewise.
4594 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4595 with OVERFLOW_EXCEPTION.
4596 (exp10_test_data): Likewise.
4597 (exp2_test_data): Likewise.
4598 (expm1_test_data): Likewise.
4599 (lgamma_test_data): Likewise.
4600 (pow_test_data): Likewise.
4601 (tgamma_test_data): Likewise.
4602 (yn_test_data): Remove duplicate test of overflow.
4604 * math/libm-test.inc (struct test_cc_c_data): New type.
4605 (RUN_TEST_LOOP_cc_c): New macro.
4606 (cpow_test_data): New variable.
4607 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4609 * math/libm-test.inc (struct test_f_L_data): New type.
4610 (RUN_TEST_LOOP_f_L): New macro.
4611 (llrint_test_data): New variable.
4612 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4613 (llrint_tonearest_test_data): New variable.
4614 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4615 (llrint_towardzero_test_data): New variable.
4616 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4617 (llrint_downward_test_data): New variable.
4618 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4619 (llrint_upward_test_data): New variable.
4620 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4621 (llround_test_data): New variable.
4622 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4624 2013-05-13 Peter Collingbourne <pcc@google.com>
4626 * math/atest-exp2.c (get_log2): Remove const attribute.
4628 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4630 * math/libm-test.inc (struct test_f_l_data): New type.
4631 (RUN_TEST_LOOP_f_l): New macro.
4632 (lrint_test_data): New variable.
4633 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4634 (lrint_tonearest_test_data): New variable.
4635 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4636 (lrint_towardzero_test_data): New variable.
4637 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4638 (lrint_downward_test_data): New variable.
4639 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4640 (lrint_upward_test_data): New variable.
4641 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4642 (lround_test_data): New variable.
4643 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4645 2013-05-15 Peter Collingbourne <pcc@google.com>
4647 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4648 (EXTRACT_WORDS64) Use where appropriate.
4649 (INSERT_WORDS64) Likewise.
4651 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4652 constraints with x constraints.
4653 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4655 * malloc/obstack.c (_obstack_compat): Add initializer.
4657 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4660 si_trapno and add si_addr_lsb to _sifields.sigfault.
4661 (si_trapno): Remove macro.
4662 (si_addr_lsb): Define new macro.
4663 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4665 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4667 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4668 instead of TEST_f_l.
4669 (llrint_test_tonearest): Likewise.
4670 (llrint_test_towardzero): Likewise.
4671 (llrint_test_downward): Likewise.
4672 (llrint_test_upward): Likewise.
4673 (llround_test): Likewise.
4675 * math/libm-test.inc (struct test_f_i_data): Add comment.
4676 (RUN_TEST_LOOP_f_b): New macro.
4677 (RUN_TEST_LOOP_f_b_tg): Likewise.
4678 (finite_test_data): New variable.
4679 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4680 (isfinite_test_data): New variable.
4681 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4682 (isinf_test_data): New variable.
4683 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4684 (isnan_test_data): New variable.
4685 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4686 (isnormal_test_data): New variable.
4687 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4688 (issignaling_test_data): New variable.
4689 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4690 (signbit_test_data): New variable.
4691 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4693 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4694 with INVALID_EXCEPTION.
4695 (acosh_test_data): Likewise.
4696 (asin_test_data): Likewise.
4697 (atanh_test_data): Likewise.
4698 (fmod_test_data): Likewise.
4699 (log_test_data): Likewise.
4700 (log10_test_data): Likewise.
4701 (log2_test_data): Likewise.
4702 (pow_test_data): Likewise.
4703 (sqrt_test_data): Likewise.
4704 (y0_test_data): Likewise.
4705 (y1_test_data): Likewise.
4706 (yn_test_data): Likewise.
4708 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4711 * math/libm-test.inc (struct test_ff_i_data): New type.
4712 (RUN_TEST_LOOP_ff_i_tg): New macro.
4713 (isgreater_test_data): New variable.
4714 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4715 (isgreaterequal_test_data): New variable.
4716 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4717 (isless_test_data): New variable.
4718 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4719 (islessequal_test_data): New variable.
4720 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4721 (islessgreater_test_data): New variable.
4722 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4723 (isunordered_test_data): New variable.
4724 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4726 2013-05-14 David S. Miller <davem@davemloft.net>
4728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4730 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4732 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4734 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4736 (struct test_f_i_data): Change type of max_ulp to int.
4738 * math/libm-test.inc (test_ffI_f1_data): New type.
4739 (RUN_TEST_LOOP_ffI_f1): New macro.
4740 (remquo_test_data): New variable.
4741 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4743 * setjmp/tst-setjmp-fp.c: New file.
4744 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4745 (link-libm): New variable.
4746 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4748 * math/libm-test.inc (struct test_f_i_data): New type.
4749 (RUN_TEST_LOOP_f_i): New macro.
4750 (RUN_TEST_LOOP_f_i_tg): Likewise.
4751 (fpclassify_test_data): New variable.
4752 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4753 (ilogb_test_data): New variable.
4754 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4756 * math/libm-test.inc (scalbln_test): Correct function name in END
4759 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4760 (RUN_TEST_LOOP_fI_f1): New macro.
4761 (frexp_test_data): New variable.
4762 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4764 * math/libm-test.inc (struct test_fF_f1_data): New type.
4765 (RUN_TEST_LOOP_fF_f1): New macro.
4766 (modf_test_data): New variable.
4767 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4769 * math/libm-test.inc (struct test_f_f1_data): New type.
4770 (RUN_TEST_LOOP_f_f1): New macro.
4771 (gamma_test_data): New variable.
4772 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4773 (lgamma_test_data): New variable.
4774 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4776 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4779 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4780 (main): Comment "tls" pseudo-hwcap.
4782 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4784 * math/libm-test.inc (struct test_fl_f_data): New type.
4785 (RUN_TEST_LOOP_fl_f): New variable.
4786 (scalbln_test_data): New variable.
4787 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4789 * math/libm-test.inc (struct test_fi_f_data): New type.
4790 (RUN_TEST_LOOP_fi_f): New macro.
4791 (ldexp_test_data): New variable.
4792 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4793 (scalbn_test_data): New variable.
4794 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4796 * math/libm-test.inc (struct test_c_f_data): New type.
4797 (RUN_TEST_LOOP_c_f): New macro.
4798 (cabs_test_data): New variable.
4799 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4800 (carg_test_data): New variable.
4801 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4802 (cimag_test_data): New variable.
4803 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4804 (creal_test_data): New variable.
4805 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4807 * math/libm-test.inc (struct test_if_f_data): New type.
4808 (RUN_TEST_LOOP_if_f): New macro.
4809 (jn_test_data): New variable.
4810 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4811 (yn_test_data): New variable.
4812 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4814 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4816 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4819 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4821 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4824 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4825 (bench-deps): Add bench-timing.h.
4826 * benchtests-bench-skeleton.c: Include bench-timing.h.
4827 (main): Use TIMING_* macros instead of clock_gettime.
4828 * benchtests/bench-timing.h: New file.
4831 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4832 Renamed from _LIB_VERSION.
4833 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4835 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4837 * math/libm-test.inc (struct test_fff_f_data): New type.
4838 (RUN_TEST_LOOP_fff_f): New macro.
4839 (fma_test_data): New variable.
4840 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4841 (fma_towardzero_test_data): New variable.
4842 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4843 (fma_downward_test_data): New variable.
4844 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4845 (fma_upward_test_data): New variable.
4846 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4848 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4849 (struct test_c_c_data): New type.
4850 (RUN_TEST_LOOP_c_c): New macro.
4851 (cacos_test_data): New variable.
4852 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4853 (cacosh_test_data): New variable.
4854 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4855 (casin_test_data): New variable.
4856 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4857 (casinh_test_data): New variable.
4858 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4859 (catan_test_data): New variable.
4860 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4861 (catanh_test_data): New variable.
4862 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4863 (ccos_test_data): New variable.
4864 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4865 (ccosh_test_data): New variable.
4866 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4867 (cexp_test_data): New variable.
4868 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4869 (clog_test_data): New variable.
4870 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4871 (clog10_test_data): New variable.
4872 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4873 (conj_test_data): New variable.
4874 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4875 (cproj_test_data): New variable.
4876 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4877 (csin_test_data): New variable.
4878 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4879 (csinh_test_data): New variable.
4880 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4881 (csqrt_test_data): New variable.
4882 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4883 (ctan_test_data): New variable.
4884 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4885 (ctan_tonearest_test_data): New variable.
4886 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4887 (ctan_towardzero_test_data): New variable.
4888 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4889 (ctan_downward_test_data): New variable.
4890 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4891 (ctan_upward_test_data): New variable.
4892 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4893 (ctanh_test_data): New variable.
4894 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4895 (ctanh_tonearest_test_data): New variable.
4896 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4897 (ctanh_towardzero_test_data): New variable.
4898 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4899 (ctanh_downward_test_data): New variable.
4900 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4901 (ctanh_upward_test_data): New variable.
4902 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4903 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4906 * math/libm-test.inc (struct test_ff_f_data): New type.
4907 (struct test_ff_f_data_nexttoward): Likewise.
4908 (RUN_TEST_LOOP_2_f): New macro.
4909 (RUN_TEST_LOOP_ff_f): Likewise.
4910 (atan2_test_data): New variable.
4911 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4912 (copysign_test_data): New variable.
4913 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4914 (fdim_test_data): New variable.
4915 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4916 (fmax_test_data): New variable.
4917 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4918 (fmin_test_data): New variable.
4919 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4920 (fmod_test_data): New variable.
4921 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4922 (hypot_test_data): New variable.
4923 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4924 (nextafter_test_data): New variable.
4925 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4926 (nexttoward_test_data): New variable.
4927 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4928 (pow_test_data): New variable.
4929 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4930 (pow_tonearest_test_data): New variable.
4931 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4932 (pow_towardzero_test_data): New variable.
4933 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4934 (pow_downward_test_data): New variable.
4935 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4936 (pow_upward_test_data): New variable.
4937 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4938 (remainder_test_data): New variable.
4939 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4940 (scalb_test_data): New variable.
4941 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4942 * sysdeps/i386/fpu/libm-test-ulps: Update.
4944 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4946 * math/libm-test.inc (fma_test): Use max_value instead of local
4948 (nextafter_test): Likewise.
4950 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4951 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4952 (acos_downward_test_data): New variable.
4953 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4954 (acos_upward_test_data): New variable.
4955 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4956 (acosh_test_data): New variable.
4957 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4958 (asin_test_data): New variable.
4959 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4960 (asin_tonearest_test_data): New variable.
4961 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4962 (asin_towardzero_test_data): New variable.
4963 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4964 (asin_downward_test_data): New variable.
4965 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4966 (asin_upward_test_data): New variable.
4967 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4968 (asinh_test_data): New variable.
4969 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4970 (atan_test_data): New variable.
4971 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4972 (atanh_test_data): New variable.
4973 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4974 (cbrt_test_data): New variable.
4975 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4976 (ceil_test_data): New variable.
4977 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4978 (cos_test_data): New variable.
4979 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4980 (cos_tonearest_test_data): New variable.
4981 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4982 (cos_towardzero_test_data): New variable.
4983 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4984 (cos_downward_test_data): New variable.
4985 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4986 (cos_upward_test_data): New variable.
4987 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4988 (cosh_test_data): New variable.
4989 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4990 (cosh_tonearest_test_data): New variable.
4991 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4992 (cosh_towardzero_test_data): New variable.
4993 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4994 (cosh_downward_test_data): New variable.
4995 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4996 (cosh_upward_test_data): New variable.
4997 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4998 (erf_test_data): New variable.
4999 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5000 (erfc_test_data): New variable.
5001 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5002 (exp_test_data): New variable.
5003 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5004 (exp_tonearest_test_data): New variable.
5005 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5006 (exp_towardzero_test_data): New variable.
5007 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5008 (exp_downward_test_data): New variable.
5009 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5010 (exp_upward_test_data): New variable.
5011 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5012 (exp10_test_data): New variable.
5013 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5014 (exp2_test_data): New variable.
5015 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5016 (expm1_test_data): New variable.
5017 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5018 (fabs_test_data): New variable.
5019 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5020 (floor_test_data): New variable.
5021 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5022 (j0_test_data): New variable.
5023 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5024 (j1_test_data): New variable.
5025 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5026 (log_test_data): New variable.
5027 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5028 (log10_test_data): New variable.
5029 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5030 (log1p_test_data): New variable.
5031 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5032 (log2_test_data): New variable.
5033 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5034 (logb_test_data): New variable.
5035 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5036 (logb_downward_test_data): New variable.
5037 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5038 (nearbyint_test_data): New variable.
5039 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5040 (rint_test_data): New variable.
5041 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5042 (rint_tonearest_test_data): New variable.
5043 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5044 (rint_towardzero_test_data): New variable.
5045 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5046 (rint_downward_test_data): New variable.
5047 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5048 (rint_upward_test_data): New variable.
5049 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5050 (round_test_data): New variable.
5051 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5052 (sin_test_data): New variable.
5053 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5054 (sin_tonearest_test_data): New variable.
5055 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5056 (sin_towardzero_test_data): New variable.
5057 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5058 (sin_downward_test_data): New variable.
5059 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5060 (sin_upward_test_data): New variable.
5061 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5062 (sinh_test_data): New variable.
5063 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5064 (sinh_tonearest_test_data): New variable.
5065 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5066 (sinh_towardzero_test_data): New variable.
5067 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5068 (sinh_downward_test_data): New variable.
5069 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5070 (sinh_upward_test_data): New variable.
5071 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5072 (sqrt_test_data): New variable.
5073 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5074 (tan_test_data): New variable.
5075 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5076 (tan_tonearest_test_data): New variable.
5077 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5078 (tan_towardzero_test_data): New variable.
5079 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5080 (tan_downward_test_data): New variable.
5081 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5082 (tan_upward_test_data): New variable.
5083 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5084 (tanh_test_data): New variable.
5085 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5086 (tgamma_test_data): New variable.
5087 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5088 (trunc_test_data): New variable.
5089 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5090 (y0_test_data): New variable.
5091 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5092 (y1_test_data): New variable.
5093 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5094 (significand_test_data): New variable.
5095 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5097 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5100 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5102 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5104 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5106 2013-05-10 Andreas Jaeger <aj@suse.de>
5109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5110 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5112 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5114 * math/gen-libm-test.pl (adjust_arg): New function.
5115 (special_functions): Handle generating output in both functions
5117 (parse_args): Likewise.
5118 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5119 $in_func argument to parse_args.
5120 * math/libm-test.inc (struct test_f_f_data): New type.
5121 (IF_ROUND_INIT_): New macro.
5122 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5123 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5124 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5125 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5126 (ROUND_RESTORE_): Likewise.
5127 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5128 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5129 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5130 (ROUND_RESTORE_FE_UPWARD): Likewise.
5131 (RUN_TEST_LOOP_f_f): New macro.
5132 (acos_test_data): New variable.
5133 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5134 (acos_tonearest_test_data): New variable.
5135 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5137 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5139 * benchtests/bench-skeleton.c (startup): Fix coding style.
5141 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5144 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5145 negative infinity argument.
5146 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5147 negative infinity argument.
5148 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5149 negative infinity argument.
5150 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5153 2013-05-10 Florian Weimer <fweimer@redhat.com>
5155 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5156 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5157 * iconv/iconv_prog.c (main): Likewise.
5158 * locale/programs/charmap-dir.c (charmap_readdir)
5159 (fopen_uncompressed): Likewise.
5160 * locale/programs/locfile.c (siblings_uncached)
5161 (write_locale_data): Use lstat64 instead of lstat.
5162 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5165 2013-05-10 Andreas Jaeger <aj@suse.de>
5168 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5172 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5174 * elf/dl-close.c (_dl_close_worker): Add comments.
5176 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5181 (__ieee754_rem_pio2l): Update comments.
5184 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5186 (__ieee754_rem_pio2l): Update comments.
5188 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5189 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5191 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5194 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5195 (M_PI_34_LOG10El): Likewise.
5196 (M_PI2_LOG10El): Likewise.
5197 (M_PI4_LOG10El): Likewise.
5198 (M_PI_LOG10El): Likewise.
5200 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5204 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5206 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5207 (MINUS_ZERO_INIT): Likewise.
5208 (PLUS_INFTY_INIT): Likewise.
5209 (MINUS_INFTY_INIT): Likewise.
5210 (QNAN_VALUE_INIT): Likewise.
5211 (MAX_VALUE_INIT): Likewise.
5212 (MIN_VALUE_INIT): Likewise.
5213 (MIN_SUBNORM_VALUE_INIT): Likewise.
5214 (plus_zero): Initialize with PLUS_ZERO_INIT.
5215 (minus_zero): Initialize with MINUS_ZERO_INIT.
5216 (plus_infty): Initialize with PLUS_INFTY_INIT.
5217 (minus_infty): Initialize with MINUS_INFTY_INIT.
5218 (qnan_value): Initialize with QNAN_VALUE_INIT.
5219 (max_value): Initialize with MAX_VALUE_INIT.
5220 (min_value): Initialize with MIN_VALUE_INIT.
5221 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5223 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5224 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5225 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5226 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5228 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5229 (RUN_TEST_2_f): Likewise.
5230 (RUN_TEST_ff_f): Likewise.
5231 (RUN_TEST_fi_f): Likewise.
5232 (RUN_TEST_fl_f): Likewise.
5233 (RUN_TEST_fff_f): Likewise.
5234 (RUN_TEST_c_f): Likewise.
5235 (RUN_TEST_f_f1): Likewise.
5236 (RUN_TEST_fF_f1): Likewise.
5237 (RUN_TEST_fI_f1): Likewise.
5238 (RUN_TEST_ffI_f1): Likewise.
5239 (RUN_TEST_c_c): Likewise.
5240 (RUN_TEST_cc_c): Likewise.
5241 (RUN_TEST_f_i): Likewise.
5242 (RUN_TEST_f_i_tg): Likewise.
5243 (RUN_TEST_ff_i_tg): Likewise.
5244 (RUN_TEST_f_b): Likewise.
5245 (RUN_TEST_f_b_tg): Likewise.
5246 (RUN_TEST_f_l): Likewise.
5247 (RUN_TEST_f_L): Likewise.
5248 (RUN_TEST_sincos): Likewise.
5249 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5250 whether to show exceptions. Do not include ");\n" in return
5252 (special_functions): Output call to RUN_TEST_sincos instead of
5253 check_float calls. Update calls to new_test.
5254 (parse_args): Output call to single RUN_TEST_* macro instead of
5255 check_* calls and other assignments. Update calls to new_test.
5261 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5262 input to result for tgamma overflow.
5263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5264 (gamma_coeff): New variable.
5265 (NCOEFF): New macro.
5266 (gamma_positive): New function.
5267 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5268 underflow here. Use gamma_positive instead of exp (lgamma) for
5270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5271 (gamma_coeff): New variable.
5272 (NCOEFF): New macro.
5273 (gammaf_positive): New function.
5274 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5275 underflow here. Use gamma_positive instead of exp (lgamma) for
5277 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5278 (gamma_coeff): New variable.
5279 (NCOEFF): New macro.
5280 (gammal_positive): New function.
5281 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5282 underflow here. Use gamma_positive instead of exp (lgamma) for
5284 * sysdeps/ieee754/ldbl-128ibm/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, overflow and
5289 underflow here. Handle NaN the same as positive infinity. Remove
5290 check x < 0xffffffff for negative integers. Use gamma_positive
5291 instead of exp (lgamma) for other arguments.
5292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5293 (gamma_coeff): New variable.
5294 (NCOEFF): New macro.
5295 (gammal_positive): New function.
5296 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5297 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5301 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5302 * sysdeps/generic/math_private.h (__gamma_productf): New
5304 (__gamma_product): Likewise.
5305 (__gamma_productl): Likewise.
5306 * math/Makefile (libm-calls): Add gamma_product.
5307 * math/libm-test.inc (tgamma_test): Add more tests.
5308 * sysdeps/i386/fpu/libm-test-ulps: Update.
5309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5311 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5313 * benchtests/bench-skeleton.c (main): Preheat CPU.
5315 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5317 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5319 2013-05-07 Roland McGrath <roland@hack.frob.com>
5321 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5322 and _dl_skip_args_internal.
5324 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5326 * manual/message.texi (Message Translation): Talk about users.
5327 Message to key mapping impacts design.
5329 2013-05-06 Roland McGrath <roland@hack.frob.com>
5331 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5333 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5335 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5336 * sysdeps/wordsize-64/glob64.c: ... here.
5338 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5339 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5342 * debug/getlogin_r_chk.c: Moved to ...
5343 * login/getlogin_r_chk.c: ... here.
5344 * debug/Makefile (routines): Move getlogin_r_chk to ...
5345 * login/Makefile (routines): ... here.
5346 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5347 * login/Versions (libc: GLIBC_2.4): ... here.
5349 * io/poll.c (__poll): Renamed from poll.
5350 Add libc_hidden_def.
5351 (poll): Define as weak alias.
5353 * debug/ptsname_r_chk.c: Moved to ...
5354 * login/ptsname_r_chk.c: ... here.
5355 * debug/Makefile (routines): Move ptsname_r_chk to ...
5356 * login/Makefile (routines): ... here.
5357 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5358 * login/Versions (libc: GLIBC_2.4): ... here.
5360 * posix/getlogin.c: Moved to ...
5361 * login/getlogin.c: ... here.
5362 * posix/getlogin_r.c: Moved to ...
5363 * login/getlogin_r.c: ... here.
5364 * posix/getlogin_r.c: Moved to ...
5365 * login/getlogin_r.c: ... here.
5366 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5367 * login/Makefile (routines): ... here.
5368 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5369 * login/Versions (libc: GLIBC_2.0): ... here.
5371 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5372 (setrlimit): Define as weak alias.
5374 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5375 Call __ names for open, ftruncate, and close.
5376 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5377 (truncate): Define as weak alias.
5379 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5381 * math/gen-libm-test.pl (parse_args): Initialize x before each
5382 test of frexp, modf and remquo.
5384 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5387 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5391 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5393 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5395 2013-05-06 Roland McGrath <roland@hack.frob.com>
5397 * elf/dl-writev.h: New file.
5398 * elf/dl-misc.c: Include it.
5399 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5400 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5402 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5404 * math/libm-test.inc (noXFails): Remove variable.
5405 (noXPasses): Likewise.
5406 (BUILD_COMPLEX_INT): Remove macro.
5407 (print_screen): Remove xfail argument.
5408 (print_screen_max_error): Likewise.
5409 (update_stats): Likewise.
5410 (print_max_error): Likewise. Update calls to other affected
5412 (print_complex_max_error): Likewise.
5413 (test_single_exception): Update calls to print_screen.
5414 (test_single_errno): Likewise.
5415 (check_float_internal): Remove xfail argument. Update calls to
5416 other affected functions.
5417 (check_float): Likewise.
5418 (check_complex): Likewise.
5419 (check_int): Likewise.
5420 (check_long): Likewise.
5421 (check_bool): Likewise.
5422 (check_longlong): Likewise.
5423 (main): Don't print noXFails and noXPasses.
5424 * math/gen-libm-test.pl (top level): Don't mention expected
5425 failure handling in comment.
5426 (new_test): Don't handle expected failures.
5427 (parse_args): Don't mention expected failure handling in comment.
5428 (generate_testfile): Don't handle expected failures.
5429 (parse_ulps): Likewise.
5430 (print_ulps_file): Likewise.
5431 (get_failure): Remove function.
5432 (output_test): Don't handle expected failures.
5433 * make/README.libm-test: Don't mention expected failure handling.
5435 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5436 (minus_zero): Likewise.
5437 (plus_infty): Likewise.
5438 (minus_infty): Likewise.
5439 (qnan_value): Likewise.
5440 (max_value): Likewise.
5441 (min_value): Likewise.
5442 (min_subnorm_value): Likewise.
5443 (initialize): Do not initialize those variables dynamically.
5445 2013-05-03 Roland McGrath <roland@hack.frob.com>
5447 * io/open.c (__open_2): Moved to ...
5448 * io/open_2.c: ... this new file.
5449 * io/open64.c (__open64_2): Moved to ...
5450 * io/open64_2.c: ... this new file.
5451 * io/openat.c (__openat_2): Moved to ...
5452 * io/openat_2.c: ... this new file.
5453 * io/openat64.c (__openat64_2): Moved to ...
5454 * io/openat64_2.c: ... this new file.
5455 * io/Makefile (routines): Add them.
5456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5457 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5458 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5459 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5460 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5461 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5462 (__openat64): Add hidden_ver.
5463 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5464 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5466 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5467 Separately conditionalize setting of GLRO(dl_sysinfo) so
5468 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5469 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5471 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5476 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5478 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5479 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5480 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5482 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5484 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5487 * math/libm-test.inc (hypot_test): Do not use
5488 IGNORE_ZERO_INF_SIGN.
5490 2013-05-03 Andreas Jaeger <aj@suse.de>
5492 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5494 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5495 (PF_MAX): Adjust for VSOCK change.
5497 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5501 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5504 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5505 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5506 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5508 2013-05-02 David S. Miller <davem@davemloft.net>
5510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5512 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5514 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5516 2013-05-01 Roland McGrath <roland@hack.frob.com>
5518 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5520 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5523 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5524 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5525 Use __attribute__ ((__gnu_inline__)).
5526 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5527 Don't use __attribute__ ((__gnu_inline__)).
5529 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5532 * math/s_catan.c (__catan): Handle small real or imaginary part of
5533 input specially to avoid spurious underflow.
5534 * math/s_catanf.c (__catanf): Likewise.
5535 * math/s_catanh.c (__catanh): Likewise.
5536 * math/s_catanhf.c (__catanhf): Likewise.
5537 * math/s_catanhl.c (__catanhl): Likewise.
5538 * math/s_catanl.c (__catanl): Likewise.
5539 * math/libm-test.inc (catan_test): Add more tests.
5540 (catanh_test): Likewise.
5541 * sysdeps/i386/fpu/libm-test-ulps: Update.
5542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5544 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5548 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5551 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5552 accurately for denominator in atan2.
5553 * math/s_catanf.c (__catanf): Likewise.
5554 * math/s_catanh.c (__catanh): Likewise.
5555 * math/s_catanhf.c (__catanhf): Likewise.
5556 * math/s_catanhl.c (__catanhl): Likewise.
5557 * math/s_catanl.c (__catanl): Likewise.
5558 * math/libm-test.inc (catan_test): Add more tests.
5559 (catanh_test): Likewise.
5560 * sysdeps/i386/fpu/libm-test-ulps: Update.
5561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5565 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5567 * benchtests/Makefile (bench): Remove slow benchmarks.
5568 * benchtests/atan-inputs: Add slow benchmark inputs.
5569 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5570 (BENCH_FUNC): Accept variant offset.
5572 * benchtests/bench-skeleton.c (main): Run benchmark for each
5574 * benchtests/cos-inputs: Add slow benchmark inputs.
5575 * benchtests/exp-inputs: Likewise.
5576 * benchtests/pow-inputs: Likewise.
5577 * benchtests/sin-inputs: Likewise.
5578 * benchtests/slowatan-inputs: Remove.
5579 * benchtests/slowatan.c: Remove.
5580 * benchtests/slowcos-inputs: Remove.
5581 * benchtests/slowcos.c: Remove.
5582 * benchtests/slowexp-inputs: Remove.
5583 * benchtests/slowexp.c: Remove.
5584 * benchtests/slowpow-inputs: Remove.
5585 * benchtests/slowpow.c: Remove.
5586 * benchtests/slowsin-inputs: Remove.
5587 * benchtests/slowsin.c: Remove.
5588 * benchtests/slowtan-inputs: Remove.
5589 * benchtests/slowtan.c: Remove.
5590 * benchtests/tan-inputs: Add slow benchmark inputs.
5591 * scripts/bench.pl: Parse comments and directives.
5593 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5595 ($(objpfx)bench-%.c): Remove *-ITER.
5596 * benchtests/bench-modf.c: Remove definition of ITER.
5597 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5598 (main): Loop for DURATION seconds instead of fixed number of
5600 * scripts/bench.pl: Don't expect iterations in parameters.
5602 2013-04-29 Roland McGrath <roland@hack.frob.com>
5604 * io/fchdir.c (__fchdir): Renamed from fchdir.
5605 (fchdir): Define as weak alias.
5607 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5609 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5610 (ERRNO_EDOM): Likewise.
5611 (ERRNO_ERANGE): Likewise.
5612 (noErrnoTests): New variable.
5613 (init_max_error): Set errno to 0.
5614 (test_single_errno): New function.
5615 (test_errno): Likewise.
5616 (check_float_internal): Call test_errno. Set errno to 0.
5617 (check_complex): Refer to errno tests in comment.
5618 (check_int): Call test_errno. Set errno to 0.
5619 (check_long): Likewise.
5620 (check_bool): Likewise.
5621 (check_longlong): Likewise.
5622 (cos_test): Use ERRNO_* flags for errno tests instead of
5624 (expm1_test): Likewise.
5625 (fmod_test): Likewise.
5626 (ilogb_test): Likewise.
5627 (lgamma_test): Likewise.
5628 (pow_test): Likewise.
5629 (remainder_test): Likewise.
5630 (sin_test): Likewise.
5631 (tan_test): Likewise.
5632 (yn_test): Likewise.
5633 (initialize): Set errno to 0.
5634 (main): Print number of errno tests.
5635 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5637 2013-04-29 Andreas Jaeger <aj@suse.de>
5640 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5644 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5645 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5649 * stdlib/random.c (__initstate): Return NULL if
5653 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5654 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5657 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5661 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5663 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5664 of individual tests.
5665 (casin_test): Likewise.
5666 (casinh_test): Likewise.
5668 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5671 * math/s_catan.c (__catan): Handle arguments with large real or
5672 imaginary part separately without squaring.
5673 * math/s_catanf.c (__catanf): Likewise.
5674 * math/s_catanh.c (__catanh): Likewise.
5675 * math/s_catanhf.c (__catanhf): Likewise.
5676 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5678 (__catanhl): Handle arguments with large real or imaginary part
5679 separately without squaring.
5680 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5682 (__catanl): Handle arguments with large real or imaginary part
5683 separately without squaring.
5684 * math/libm-test.inc (catan_test): Add more tests.
5685 (catanh_test): Likewise.
5686 * sysdeps/i386/fpu/libm-test-ulps: Update.
5687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5689 2013-04-27 Andreas Jaeger <aj@suse.de>
5692 * stdlib/stdlib.h: Update guards for qecvt.
5693 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5696 2013-04-27 Allan McRae <allan@archlinux.org>
5698 * sysdeps/i386/fpu/libm-test-ulps: Update.
5700 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5703 * math/s_catan.c: Include <float.h>.
5704 (__catan): Ensure underflow exception occurs for underflowed
5706 * math/s_catanf.c: Include <float.h>.
5707 (__catanf): Ensure underflow exception occurs for underflowed
5709 * math/s_catanh.c: Include <float.h>.
5710 (__catanh): Ensure underflow exception occurs for underflowed
5712 * math/s_catanhf.c: Include <float.h>.
5713 (__catanhf): Ensure underflow exception occurs for underflowed
5715 * math/s_catanhl.c: Include <float.h>.
5716 (__catanhl): Ensure underflow exception occurs for underflowed
5718 * math/s_catanl.c: Include <float.h>.
5719 (__catanl): Ensure underflow exception occurs for underflowed
5721 * math/libm-test.inc (catan_test): Add more tests.
5722 (catanh_test): Likewise.
5725 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5727 * math/s_ccoshf.c (__ccoshf): Likewise.
5728 * math/s_ccoshl.c (__ccoshl): Likewise.
5729 * math/s_csin.c (__csin): Likewise.
5730 * math/s_csinf.c (__csinf): Likewise.
5731 * math/s_csinh.c (__csinh): Likewise.
5732 * math/s_csinhf.c (__csinhf): Likewise.
5733 * math/s_csinhl.c (__csinhl): Likewise.
5734 * math/s_csinl.c (__csinl): Likewise.
5735 * math/libm-test.inc (ccos_test): Add more tests.
5736 (ccosh_test): Likewise.
5737 (csin_test): Likewise.
5738 (csinh_test): Likewise.
5740 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5742 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5743 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5744 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5745 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5746 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5747 powerpc/power5+/fpu folders.
5748 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5751 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5755 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5757 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5758 additions to variable.
5759 [$(config-machine) = x86_64] (modules-names): Likewise.
5760 ($(objpfx)tst-audit3): Remove dependency.
5761 ($(objpfx)tst-audit3.out): Likewise.
5762 ($(objpfx)tst-audit4): Likewise.
5763 ($(objpfx)tst-audit4.out): Likewise.
5764 ($(objpfx)tst-audit5): Likewise.
5765 ($(objpfx)tst-audit5.out): Likewise.
5766 ($(objpfx)tst-audit6): Likewise.
5767 ($(objpfx)tst-audit6.out): Likewise.
5768 ($(objpfx)tst-audit7): Likewise.
5769 ($(objpfx)tst-audit7.out): Likewise.
5770 (tst-audit3-ENV): Remove variable.
5771 (tst-audit4-ENV): Likewise.
5772 (tst-audit5-ENV): Likewise.
5773 (tst-audit6-ENV): Likewise.
5774 (tst-audit7-ENV): Likewise.
5775 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5776 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5777 addition to variable.
5778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5783 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5784 tst-audit3, tst-audit4 and tst-audit5.
5785 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5786 tst-audit6 and tst-audit7.
5787 [$(subdir) = elf] (modules-names): Add audit modules for those
5789 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5790 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5791 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5792 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5793 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5794 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5795 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5796 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5797 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5798 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5799 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5800 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5801 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5802 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5803 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5804 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5806 [$(subdir) = elf && $(config-cflags-avx) = yes]
5807 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5808 [$(subdir) = elf && $(config-cflags-avx) = yes]
5809 (CFLAGS-tst-auditmod4a.c): Likewise.
5810 [$(subdir) = elf && $(config-cflags-avx) = yes]
5811 (CFLAGS-tst-auditmod4b.c): Likewise.
5812 [$(subdir) = elf && $(config-cflags-avx) = yes]
5813 (CFLAGS-tst-auditmod6b.c): Likewise.
5814 [$(subdir) = elf && $(config-cflags-avx) = yes]
5815 (CFLAGS-tst-auditmod6c.c): Likewise.
5816 [$(subdir) = elf && $(config-cflags-avx) = yes]
5817 (CFLAGS-tst-auditmod7b.c): Likewise.
5818 * elf/tst-audit3.c: Move to ...
5819 * sysdeps/x86_64/tst-audit3.c: ... here.
5820 * elf/tst-audit4.c: Move to ...
5821 * sysdeps/x86_64/tst-audit4.c: ... here.
5822 * elf/tst-audit5.c: Move to ...
5823 * sysdeps/x86_64/tst-audit5.c: ... here.
5824 * elf/tst-audit6.c: Move to ...
5825 * sysdeps/x86_64/tst-audit6.c: ... here.
5826 * elf/tst-audit7.c: Move to ...
5827 * sysdeps/x86_64/tst-audit7.c: ... here.
5828 * elf/tst-auditmod3a.c: Move to ...
5829 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5830 * elf/tst-auditmod3b.c: Move to ...
5831 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5832 * elf/tst-auditmod4a.c: Move to ...
5833 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5834 * elf/tst-auditmod4b.c: Move to ...
5835 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5836 * elf/tst-auditmod5a.c: Move to ...
5837 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5838 * elf/tst-auditmod5b.c: Move to ...
5839 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5840 * elf/tst-auditmod6a.c: Move to ...
5841 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5842 * elf/tst-auditmod6b.c: Move to ...
5843 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5844 * elf/tst-auditmod6c.c: Move to ...
5845 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5846 * elf/tst-auditmod7a.c: Move to ...
5847 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5848 * elf/tst-auditmod7b.c: Move to ...
5849 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5851 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5854 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5855 define unconditionally.
5856 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5857 define unconditionally.
5858 (INT8_C, INT16_C, etc.): Likewise.
5860 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5862 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5863 __ehdr_start with hidden visibility.
5865 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5867 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5869 * math/libm-test.inc (cos_test): Use accurate hex constants.
5870 (sincost_test): Likewise.
5872 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5874 * math/libm-test.inc (catan_test): Add more tests.
5875 (catanh_test): Likewise.
5877 * math/s_catanf.c (__catanf): Use suffixed floating-point
5879 * math/s_catanhf.c (__catanhf): Likewise.
5880 * math/s_catanhl.c (__catanhl): Likewise.
5881 * math/s_catanl.c (__catanl): Likewise.
5884 * math/s_catan.c (__catan): Calculate imaginary part of result
5885 with log1p not log unless computing log of number close to 0.
5886 * math/s_catanf.c (__catanf): Likewise.
5887 * math/s_catanl.c (__catanl): Likewise.
5888 * math/s_catanh.c (__catanh): Calculate real part of result with
5889 log1p not log unless computing log of number close to 0.
5890 * math/s_catanhf.c (__catanhf): Likewise.
5891 * math/s_catanhl.c (__catanhl): Likewise.
5892 * math/libm-test.inc (catan_test): Add more tests.
5893 (catanh_test): Likewise.
5894 * sysdeps/i386/fpu/libm-test-ulps: Update.
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5899 * benchtests/Makefile: Mention files in which fast and slow
5900 paths of math functions are implemented.
5902 2013-04-23 Roland McGrath <roland@hack.frob.com>
5904 * sysdeps/posix/timespec_get.c: New file.
5906 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5910 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5912 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5913 powerpc/power5/fpu folders.
5914 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5915 * benchtests/Makefile: Add modf testcase.
5916 * benchtests/bench-modf.c: New file: Benchmark test for mo
5918 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5921 * time/Makefile (tests): Add tst-strptime-whitespace.
5922 * time/strptime_l.c (get_number): Use ISSPACE.
5923 (__strptime_internal): Likewise.
5924 * time/tst-strptime-whitespace.c: New test case.
5926 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5928 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5930 (_nss_files_init): Set it here.
5932 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5934 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5935 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5938 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5940 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5942 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5947 2013-04-21 David S. Miller <davem@davemloft.net>
5949 * po/ru.po: Update Russion translation from translation project.
5951 2013-04-17 Adam Conrad <adconrad@0c3.net>
5953 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5956 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5958 * configure.in: Remove i386 configure warning. Remove i386 case.
5959 * configure: Regenerate.
5960 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5961 Add example to error message.
5962 * sysdeps/i386/configure: Regenerate.
5964 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5966 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5968 * benchtests/cos-inputs: New file.
5969 * benchtests/slowcos-inputs: New file.
5970 * benchtests/slowcos.c: New file.
5971 * benchtests/slowtan-inputs: New file.
5972 * benchtests/slowtan.c: New file.
5973 * benchtests/tan-inputs: New file.
5975 2013-04-16 Roland McGrath <roland@hack.frob.com>
5977 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5980 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5982 * benchtests/Makefile: Include cppflags-iterator.mk to add
5983 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5985 * Makefile.in (bench-clean): New target.
5986 * benchtests/Makefile (bench-clean): Likewise.
5988 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5990 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5992 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5994 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5996 2013-04-15 Andreas Schwab <schwab@suse.de>
5998 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6000 * nscd/pwdcache.c (cache_addpw): Likewise.
6001 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6004 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6006 * benchtests/Makefile (bench): Write all output to
6007 bench-out.tmp together.
6009 2013-04-15 Andreas Schwab <schwab@suse.de>
6011 * nscd/nscd.c (main): Don't fork again after closing files.
6013 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6015 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6017 * benchtests/Rules (bench-deps): Collect dependencies into a
6018 single variable. Add Makefile to dependencies.
6019 ($(objpfx)bench-%.c): Depend on bench-deps.
6021 2013-04-12 Roland McGrath <roland@hack.frob.com>
6022 Xavier Roche <roche+kml2@exalead.com>
6025 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6026 just that it's a file descriptor.
6027 * manual/llio.texi (Synchronizing AIO Operations): Update description
6028 for EBADF error from aio_fsync.
6030 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6032 * Rules (bench): Move target definition...
6033 * benchtests/Makefile: ... here.
6035 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6037 * math/libm-test.inc (cos_test): Fix PI/2 test.
6038 (sincos_test): Likewise.
6039 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6040 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6042 2013-04-11 Andreas Schwab <schwab@suse.de>
6045 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6046 accept exponent character only when digits were seen.
6047 * stdio-common/Makefile (tests): Add bug26.
6048 * stdio-common/bug26.c: New file.
6051 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6054 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6056 * Makeconfig (rtld-prefix): Define built linker prefix.
6057 * Rules (run-bench): Use it.
6058 * math/Makefile (run-regen-ulps): Likewise.
6060 * Rules (bench): Remove eval.
6062 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6063 Roland McGrath <roland@hack.frob.com>
6064 Ondrej Bilka <neleai@seznam.cz>
6067 * time/getdate.c: Include ctype.h and alloca.h.
6068 (__getdate_r): Trim leading and trailing spaces of input.
6069 * time/tst-getdate.c (tests): Add tests with leading and
6072 2013-04-08 Roland McGrath <roland@hack.frob.com>
6075 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6076 when computing value.
6078 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6080 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6081 Use testrun.sh to run libm tests.
6084 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6086 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6089 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6091 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6093 * Makefile.in (regen-ulps): New target.
6094 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6095 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6096 [ifneq (no,$(PERL)] (regen-ulps): New target.
6097 [ifeq (no,$(PERL)] (regen-ulps): New target.
6098 * math/libm-test.inc (ulps_file_name): Define.
6099 (output_dir): New variable.
6100 (options): Add "output-dir" option.
6101 (parse_opt): Handle 'o' case.
6102 (main): If output_dir is non-NULL use it as a prefix
6104 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6106 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6109 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6110 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6111 fail configure if __sync_val_compare_and_swap is not inlined.
6112 * sysdeps/i386/configure: Regenerate.
6113 * configure.in: Build for i686 when configured for i386.
6114 * configure: Regenerate.
6115 * README: Remove i386 reference.
6117 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6119 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6122 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6124 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6125 (lmsnanval): New variables.
6126 (F): Add conversion tests.
6127 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6128 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6130 * stdio-common/tstdiomisc.c (F): Properly collect individual
6134 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6135 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6136 Instead, use input NaN values or generate a qNaN by arithmetic
6137 operation. Also fix bugs to comply with the standard.
6138 * math/libm-test.inc (remainder_test): Add more tests.
6141 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6143 input NaN values or generate a qNaN by arithmetic operation.
6145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6148 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6151 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6154 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6156 * math/s_cexpf.c (__cexpf): Likewise.
6157 * math/s_cexpl.c (__cexpl): Likewise.
6158 * math/libm-test.inc (cexp_test): Add more tests.
6160 2013-04-03 Andreas Schwab <schwab@suse.de>
6163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6164 order arrays from heap if bigger than alloca cutoff.
6166 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6168 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6169 (SNAN_TESTS_double): Refer to GCC PR56831.
6170 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6173 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6175 * Rules (bench): Move bench.out after the run is complete.
6177 * Rules (bench): Echo currently running benchmark.
6179 * benchtests/Makefile (bench): Add atan and slowatan.
6180 * benchtests/atan-inputs: New file.
6181 * benchtests/slowatan-inputs: New file.
6182 * benchtests/slowatan.c: New file.
6184 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6189 * sysdeps/unix/sysv/linux/kernel-features.h
6190 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6191 __ASSUME_XFS_RESTRICTED_CHOWN.
6192 * sysdeps/unix/sysv/linux/pathconf.c
6193 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6194 Save and restore errno.
6196 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6199 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6200 arguments using __kernel_casinh.
6201 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6202 arguments using __kernel_casinhf.
6203 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6204 arguments using __kernel_casinhl.
6205 * math/libm-test.inc (cacosh_test): Add more tests.
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6209 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6211 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6214 * bench/Makefile (bench): Add sin and slowsin.
6215 * benchtests/sin-inputs: New file.
6216 * benchtests/slowsin-inputs: New file.
6217 * benchtests/slowsin.c: New file.
6219 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6220 (bench): Add slowexp and slowpow.
6221 (exp-ITER): Increase iterations.
6222 (pow-ITER): Likewise.
6223 * benchtests/exp-inputs: Change input.
6224 * benchtests/pow-inputs: Likewise.
6225 * benchtests/slowexp-inputs: New file.
6226 * benchtests/slowexp.c: New file.
6227 * benchtests/slowpow-inputs: New file.
6228 * benchtests/slowpow.c: New file.
6230 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6232 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6234 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6235 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6236 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6237 * benchtests/Makefile: Add rint benchtest.
6238 * benchtests/rint-inputs: Input for rint benchtest.
6240 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6242 * Versions.def (libm): Add GLIBC_2.18.
6243 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6244 hidden libm prototypes.
6245 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6246 * math/Makefile (libm-calls): Add s_issignaling.
6247 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6248 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6249 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6251 * math/math.h [__USE_GNU] (issignaling): New macro.
6252 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6253 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6255 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6258 * manual/arith.texi (issignaling): New section.
6259 * manual/libm-err-tab.pl (@all_functions): Update comment.
6260 * math/gen-libm-test.pl (parse_args): Apply special handling for
6262 * math/libm-test.inc (print_float, issignaling_test): New
6264 (check_float_internal): Add issignaling checks.
6265 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6267 * sysdeps/powerpc/math-tests.h: New file.
6268 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6270 * math/test-snan.c (TEST_FUNC): Likewise.
6272 2013-03-30 David S. Miller <davem@davemloft.net>
6274 * po/de.po: Update from translation team.
6276 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6280 imaginary part less than 1.0 and real part less than 0.5
6282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6284 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6285 (cacos_test): Add more tests.
6286 (casin_test): Likewise.
6287 (casinh_test): Likewise.
6288 * sysdeps/i386/fpu/libm-test-ulps: Update.
6289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6291 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6293 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6296 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6297 (__pow_mp): Replace ONE and MONE with their values.
6298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6301 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6305 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6307 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6308 (__pow_mp): Replace ZERO and MZERO with their values.
6309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6314 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6317 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6319 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6321 2013-03-28 Roland McGrath <roland@hack.frob.com>
6323 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6324 Declare with __attribute__ ((weak)).
6325 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6326 Call __call_tls_dtors only if it's not NULL.
6328 2013-03-28 Roland McGrath <roland@hack.frob.com>
6330 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6331 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6332 magic __ehdr_start linker symbol if it's defined.
6333 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6334 them up here if it was already done.
6336 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6337 (_dl_aux_init): Use const in cast when setting it.
6338 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6340 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6342 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6344 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6345 * csu/libc-tls.c: Nor here.
6346 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6348 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6349 (__libc_message): Never call vsyslog.
6351 2013-03-28 Alan Modra <amodra@gmail.com>
6353 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6355 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6358 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6365 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6368 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6369 Don't add gid passed as argument.
6371 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6373 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6377 imaginary part between 1.0 and 1.5 and real part less than 0.5
6379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6381 * math/libm-test.inc (cacos_test): Add more tests.
6382 (casin_test): Likewise.
6383 (casinh_test): Likewise.
6384 * sysdeps/i386/fpu/libm-test-ulps: Update.
6385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6387 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6389 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6393 (__dbl_mp): Likewise.
6394 (add_magnitudes): Likewise.
6395 (sub_magnitudes): Likewise.
6403 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6405 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6406 (__dubcos): Likewise.
6407 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6408 (__ieee754_acos): Likewise.
6409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6415 (my_log2): Likewise.
6416 (checkint): Likewise.
6417 * sysdeps/ieee754/dbl-64/e_remainder.c
6418 (__ieee754_remainder): Likewise.
6419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6426 MANTISSA_STORE_T to store computations on mantissa. Use
6427 macros for rounding and division.
6429 (__dbl_mp): Likewise.
6430 (add_magnitudes): Likewise.
6431 (sub_magnitudes): Likewise.
6434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6435 powers of two in terms of TWOPOW macro.
6436 (mp_no): Make type of mantissa as MANTISSA_T.
6437 [!RADIXI]: Define RADIXI.
6438 [!TWO52]: Define TWO52.
6439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6441 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6444 llroundl symbol when building for PPC32.
6446 2013-03-24 Mark H Weaver <mhw@netris.org>
6448 * manual/arith.texi (Normalization Functions): Fix prototypes for
6449 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6451 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6455 high value to check if expl overflow.
6456 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6457 to check for underflow and overflow.
6458 * math/libm-test.inc: Add exp test.
6460 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6463 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6466 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6468 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6471 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6473 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6474 wrap blocks consisting of several statements.
6476 * sysdeps/generic/math-tests.h: New file.
6477 * sysdeps/i386/fpu/math-tests.h: Likewise.
6478 * math/test-snan.c: Include it.
6479 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6481 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6485 (__ieee754_j0l): Do not improve calculations using cos of twice
6486 input for inputs above LDBL_MAX / 2.0L.
6487 (__ieee754_y0l): Likewise.
6488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6489 (__ieee754_j1l): Do not improve calculations using cos of twice
6490 input for inputs above LDBL_MAX / 2.0L.
6491 (__ieee754_y1l): Likewise.
6492 * math/libm-test.inc (j0_test): Add another test.
6493 (j1_test): Likewise.
6494 (y0_test): Likewise.
6495 (y1_test): Likewise.
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6498 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6500 * Rules ($(objpfx)bench-%.c): Include code from a C source
6503 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6506 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6507 imaginary part 1.0 and real part less than 0.5 specially.
6508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6510 * math/libm-test.inc (cacos_test): Add more tests.
6511 (casin_test): Likewise.
6512 (casinh_test): Likewise.
6513 * sysdeps/i386/fpu/libm-test-ulps: Update.
6514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6516 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6521 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6523 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6524 * config.make.in (config-cflags-sse4): Remove variable.
6525 (config-cflags-avx): Likewise.
6526 (config-cflags-sse2avx): Likewise.
6527 (config-cflags-novzeroupper): Likewise.
6528 (config-asflags-i686): Likewise.
6529 (have-mfma4): Likewise.
6530 (have-as-vis3): Likewise.
6532 * configure.in (MIG): Do not AC_SUBST.
6533 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6534 (libc_cv_cc_sse4): Do not AC_SUBST.
6535 (libc_cv_cc_avx): Likewise.
6536 (libc_cv_cc_sse2avx): Likewise.
6537 (libc_cv_cc_novzeroupper): Likewise.
6538 (libc_cv_cc_fma4): Likewise.
6539 (libc_cv_as_i686): Likewise.
6540 (libc_cv_sparc_as_vis3): Likewise.
6541 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6543 (config-asflags-i686): Likewise.
6544 (config-cflags-avx): Likewise.
6545 (config-cflags-sse2avx): Likewise.
6546 (have-mfma4): Likewise.
6547 (config-cflags-novzeroupper): Likewise.
6548 * sysdeps/mach/configure.in (MIG): Likewise.
6549 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6550 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6552 (config-cflags-avx): Likewise.
6553 (config-cflags-sse2avx): Likewise.
6554 (have-mfma4): Likewise.
6555 (config-cflags-novzeroupper): Likewise.
6556 * configure: Regenerated.
6557 * sysdeps/i386/configure: Likewise.
6558 * sysdeps/mach/configure: Likewise.
6559 * sysdeps/sparc/configure: Likewise.
6560 * sysdeps/x86_64/configure: Likewise.
6562 2013-03-20 Roland McGrath <roland@hack.frob.com>
6565 * locale/programs/localedef.c (options): Put N_ translation marker
6566 on argument names, not just descriptions.
6568 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6570 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6572 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6575 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6577 2013-03-19 Roland McGrath <roland@hack.frob.com>
6579 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6580 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6581 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6582 [!BEFORE_ABORT] (before_abort): New function.
6583 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6584 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6585 (writev_for_fatal): New function.
6586 (WRITEV_FOR_FATAL): New macro; call that.
6587 (backtrace_and_maps): New function.
6588 (BEFORE_ABORT): New macro; call that.
6589 (struct str_list): Type removed.
6590 (__libc_message, __libc_fatal): Functions removed.
6591 Include <sysdeps/posix/libc_fatal.c> instead.
6593 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6595 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6597 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6600 2013-03-19 Andreas Schwab <schwab@suse.de>
6602 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6603 * sysdeps/gnu/configure: Regenerate.
6605 * configure.in: Substitute libc_cv_rtlddir.
6606 * configure: Regenerate.
6607 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6608 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6609 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6610 * elf/Makefile (install-others, CFLAGS-interp.c)
6611 (ldso_install, common-ldd-rewrite): Likewise.
6612 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6613 $(inst_slibdir)/$(rtld-installed-name).
6614 * scripts/rellns-sh: Add -p option.
6615 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6618 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6620 * manual/nptl.texi: Renamed to ...
6621 * manual/threads.texi: ... this.
6622 * manual/Makefile (chapters): Update.
6624 2013-03-18 Roland McGrath <roland@hack.frob.com>
6627 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6628 on argument names, not just descriptions.
6629 * malloc/memusagestat.c (options): Likewise.
6630 * nss/getent.c (options): Likewise.
6632 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6635 * iconv/iconv_prog.c (options): Put N_ translation marker
6636 on argument names, not just descriptions.
6637 * iconv/iconvconfig.c (options): Likewise.
6639 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6641 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6642 implementation which is faster on all x86_64 architectures.
6643 Tested on AMD, Intel Nehalem, SNB, IVB.
6644 * sysdeps/x86_64/strnlen.S: Likewise.
6646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6647 Remove all multiarch strlen and strnlen versions.
6648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6649 Remove strlen and strnlen related parts.
6651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6655 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6656 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6658 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6659 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6660 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6662 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6664 * manual/memory.texi (Malloc Tunable Parameters):
6665 Sort parameters alphabetically. Add comments for missing entries.
6667 2013-03-17 David S. Miller <davem@davemloft.net>
6669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6671 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6675 for arguments at most half maximum finite value.
6676 * math/libm-test.inc (j0_test): Add more tests.
6677 (j1_test): Likewise.
6678 (y0_test): Likewise.
6679 (y1_test): Likewise.
6680 * sysdeps/i386/fpu/libm-test-ulps: Update.
6681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6684 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6685 1 / x and functions P and Q for arguments above 0x1p256L.
6686 (__ieee754_y0l): Likewise.
6687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6688 (__ieee754_y1l): Likewise.
6689 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6690 (j1_test): Likewise.
6691 (y0_test): Likewise.
6692 (y1_test): Likewise.
6694 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6696 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6699 2013-03-15 Roland McGrath <roland@hack.frob.com>
6701 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6702 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6703 zero since it's initialized to EXEC_PAGESIZE.
6705 * sysdeps/unix/sysv/linux/ldsodefs.h
6706 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6707 * sysdeps/generic/ldsodefs.h: ... here.
6709 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6711 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6713 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6715 * math/test-snan.c: Renamed from
6716 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6717 * math/Makefile (tests): Add test-snan.
6718 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6721 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6722 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6724 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6725 __builtin_nan family of functions.
6726 * math/libm-test.inc (initialize): Initialize qnan_value with
6727 __builtin_nan family of functions.
6728 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6730 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6732 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6733 storage class. Initialize qNaN_var and sNaN_var with
6734 __builtin_nan and __builtin_nans families of functions,
6737 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6738 (sqrt_test): Remove duplicate test with qNaN input.
6739 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6740 (round_test, signbit_test, significand_test): Note missing +/-Inf
6741 as well as qNaN tests.
6743 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6744 qNaN_var. Fix a few strings, too.
6745 * math/libm-test.inc (nan_value): Rename to qnan_value.
6746 * math/gen-libm-test.pl (%beautify): Adjust to that.
6747 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6748 * math/test-misc.c (main): Likewise.
6749 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6750 to __qnan_bytes, and __qnan_union, respectively.
6751 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6753 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6754 and lqnanval, respectively.
6755 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6756 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6758 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6760 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6761 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6764 * math/test-misc.c (main): Fix copy'n'pastos.
6765 * misc/tst-efgcvt.c (special): Likewise.
6767 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6768 Remove declarations.
6770 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6772 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6773 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6774 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6777 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6780 macro to return vdso values correctly in IFUNC implementations.
6781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6782 Optimization by using IFUNC.
6784 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6785 Richard Henderson <rth@redhat.com>
6786 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6788 * Makefile.in (bench): New target.
6789 * NEWS: Mention the benchmark framework.
6790 * Rules (bench): Likewise.
6791 (binaries-bench): Generate binaries for functions to
6793 * benchtests/Makefile: New makefile for benchmark tests.
6794 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6796 * benchtests/exp-inputs: New input file for EXP function.
6797 * benchtests/pow-inputs: New input file for POW function.
6798 * scripts/bench.pl: New script to generate source files for
6801 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6803 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6805 computations on mantissa. Use macros for rounding and
6808 (__dbl_mp): Likewise.
6809 (add_magnitudes): Likewise.
6810 (sub_magnitudes): Likewise.
6813 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6814 powers of two in terms of TWOPOW macro.
6815 (mp_no): Make type of mantissa as MANTISSA_T.
6816 [!RADIXI]: Define RADIXI.
6817 [!TWO52]: Define TWO52.
6818 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6820 * manual/nptl.texi (cindex): Modify threads to pthreads.
6822 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/x86_64/preconfigure: Regenerated.
6826 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6829 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6831 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6832 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6834 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6835 * math/libm-test.inc (j0_test): Do not allow one spurious
6836 underflow exception.
6837 (y1_test): Likewise.
6839 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 * manual/Makefile (chapters): Add nptl.
6842 * manual/debug.texi (Debugging Support): Add link to Threads
6844 * manual/nptl.texi: New file.
6846 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6848 2013-03-14 Petr Baudis <pasky@ucw.cz>
6850 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6851 for non-NULL pointer before the memory validity test. Pointed
6852 out by Holger Brunck <holger.brunck@keymile.com>.
6854 2013-03-13 Andreas Schwab <schwab@suse.de>
6856 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6859 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6861 * timezone/zic.c: Update from tzcode 2013b.
6863 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6865 * manual/install.texi (Configuring and compiling):
6866 Mention i686 and i586.
6867 * INSTALL: Regenerate.
6869 2013-03-12 Roland McGrath <roland@hack.frob.com>
6871 * sysdeps/init_array/elf-init.c: New file.
6873 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6874 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6876 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6877 __gmon_start__ as global, but as static with a .preinit_array pointer.
6878 * sysdeps/init_array/gmon-start.c: New file. Use that.
6879 * sysdeps/init_array/crti.S: New file, empty except for comments.
6880 * sysdeps/init_array/crtn.S: Likewise.
6882 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6884 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6887 Remove Prefer_SSE_for_memop.
6888 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6889 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6890 HAS_PREFER_SSE_FOR_MEMOP.
6891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6894 Remove bzero, memset ifunc support.
6895 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6896 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6900 2013-03-11 Andreas Schwab <schwab@suse.de>
6903 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6906 (GLIBC_2.16): Remove pthread_atfork.
6908 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6910 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6911 (ptestcases.h): Likewise.
6913 2013-03-08 Roland McGrath <roland@hack.frob.com>
6915 * Makeconfig ($(common-objpfx)config.status): Depend on
6916 sysdeps/*/preconfigure{,.in} too.
6918 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6920 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6921 (__free_hook): Use void * instead of __malloc_ptr_t.
6922 (__malloc_hook): Likewise.
6923 (__realloc_hook): Likewise.
6924 (__memalign_hook): Likewise.
6925 (__after_morecore_hook): Likewise.
6926 * malloc/arena.c (save_malloc_hook): Likewise.
6927 (save_free_hook): Likewise.
6928 * malloc/hooks.c (malloc_hook_ini): Likewise.
6929 (realloc_hook_ini): Likewise.
6930 (memalign_hook_ini): Likewise.
6931 * malloc/malloc.c (malloc_hook_ini): Likewise.
6932 (realloc_hook_ini): Likewise.
6933 (memalign_hook_ini): Likewise.
6934 (__free_hook): Likewise.
6935 (__malloc_hook): Likewise.
6936 (__realloc_hook): Likewise.
6937 (__memalign_hook): Likewise.
6938 (__libc_malloc): Likewise.
6939 (__libc_free): Likewise.
6940 (__libc_realloc): Likewise.
6941 (__libc_memalign): Likewise.
6942 (__libc_valloc): Likewise.
6943 (__libc_pvalloc): Likewise.
6944 (__libc_calloc): Likewise.
6945 (__posix_memalign): Likewise.
6946 * malloc/morecore.c (__sbrk): Likewise.
6947 (__default_morecore): Likewise.
6949 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6951 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6952 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6955 * malloc/malloc.h (__malloc_size_t): Remove macro.
6956 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6958 (old_memalign_hook): Likewise.
6959 (old_realloc_hook): Likewise.
6960 (struct hdr): Likewise.
6962 (mallochook): Likewise.
6963 (memalignhook): Likewise.
6964 (reallochook): Likewise.
6965 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6966 (tr_old_realloc_hook): Likewise.
6967 (tr_old_memalign_hook): Likewise.
6968 (tr_mallochook): Likewise.
6969 (tr_reallochook): Likewise.
6970 (tr_memalignhook): Likewise.
6972 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6975 default_ldbl_pack and using as default implementation.
6976 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6978 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6979 redundant definition.
6980 (ldbl_insert_mantissa): Likewise.
6981 (ldbl_canonicalize): Likewise.
6982 (ldbl_nearbyint): Likewise.
6983 (ldbl_pack): Rename to ldbl_pack_ppc.
6984 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6985 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6986 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6988 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6991 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6992 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6993 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6996 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6997 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6999 2013-03-07 Andreas Jaeger <aj@suse.de>
7001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7004 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7006 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7007 Include mpa.h and declare __MPEXP.
7008 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7012 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7013 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7016 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7017 (__slowpow): Use long double EXPL and LOGL functions to
7019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7023 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7024 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7027 intermediate variable to calculate exponent.
7029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7033 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7034 [!NO__SQR]: Define __sqr.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7036 and NO__SQR. Remove all code except __mul and __sqr. Include
7037 sysdeps/ieee754/dbl-64/mpa.c.
7038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7041 * posix/Makefile (tests): Add tst-pathconf.
7042 * posix/tst-pathconf.c: New test case.
7043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7045 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7047 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7049 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7051 2013-03-06 Andreas Jaeger <aj@suse.de>
7053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7054 definition via __MAP_ANONYMOUS.
7056 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7057 it's not part of Linux headers.
7059 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7060 (MAP_HUGE_MASK): Define.
7062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7068 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7075 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7076 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7078 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7079 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7080 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7086 Handle f2fs and efivarfs.
7088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7091 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7092 (EFIVARFS_MAGIC): Add.
7093 (F2FS_LINK_MAX): Add.
7095 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7097 * stdio-common/vfprintf.c: Replace __builtin_expect with
7100 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7103 * sysdeps/generic/bp-sym.h: Remove file.
7104 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7106 <bp-sym.h> and <bp-asm.h>.
7107 (__longjmp): Don't use BP_SYM.
7108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7110 (memcpy): Don't use BP_SYM.
7111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7112 <bp-sym.h> and <bp-asm.h>.
7113 (memcpy): Don't use BP_SYM.
7114 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7116 (memcpy): Don't use BP_SYM.
7117 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7119 (memset): Don't use BP_SYM.
7120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7122 (__bzero): Don't use BP_SYM.
7123 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7124 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7126 <bp-sym.h> and <bp-asm.h>.
7127 (memcmp): Don't use BP_SYM. Remove comment about bounded
7129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7130 <bp-sym.h> and <bp-asm.h>.
7131 (memcpy): Don't use BP_SYM.
7132 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7133 <bp-sym.h> and <bp-asm.h>.
7134 (memset): Don't use BP_SYM.
7135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7137 (__bzero): Don't use BP_SYM.
7138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7141 <bp-sym.h> and <bp-asm.h>.
7142 (strncmp): Don't use BP_SYM. Remove comment about bounded
7144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7145 <bp-sym.h> and <bp-asm.h>.
7146 (memcpy): Don't use BP_SYM.
7147 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7148 <bp-sym.h> and <bp-asm.h>.
7149 (memset): Don't use BP_SYM.
7150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7152 (__bzero): Don't use BP_SYM.
7153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7156 <bp-sym.h> and <bp-asm.h>.
7157 (__memchr): Don't use BP_SYM.
7158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7159 <bp-sym.h> and <bp-asm.h>.
7160 (memcmp): Don't use BP_SYM. Remove comment about bounded
7162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7163 <bp-sym.h> and <bp-asm.h>.
7164 (memcpy): Don't use BP_SYM.
7165 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7166 <bp-sym.h> and <bp-asm.h>.
7167 (__mempcpy): Don't use BP_SYM.
7168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7169 <bp-sym.h> and <bp-asm.h>.
7170 (__memrchr): Don't use BP_SYM.
7171 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7172 <bp-sym.h> and <bp-asm.h>.
7173 (memset): Don't use BP_SYM.
7174 (__bzero): Likewise.
7175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7176 <bp-sym.h> and <bp-asm.h>.
7177 (__rawmemchr): Don't use BP_SYM.
7178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (__STRCMP): Don't use BP_SYM.
7181 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7182 <bp-sym.h> and <bp-asm.h>.
7183 (strchr): Don't use BP_SYM.
7184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7185 <bp-sym.h> and <bp-asm.h>.
7186 (__strchrnul): Don't use BP_SYM.
7187 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7188 <bp-sym.h> and <bp-asm.h>.
7189 (strlen): Don't use BP_SYM.
7190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7191 <bp-sym.h> and <bp-asm.h>.
7192 (strncmp): Don't use BP_SYM. Remove comment about bounded
7194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7195 <bp-sym.h> and <bp-asm.h>.
7196 (__strnlen): Don't use BP_SYM.
7197 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7198 <bp-sym.h> and <bp-asm.h>.
7199 (__GI__setjmp): Don't use BP_SYM.
7200 (_setjmp): Likewise.
7201 (__sigsetjmp): Likewise.
7202 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7203 (L(start_addresses)): Don't use BP_SYM.
7205 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7207 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7208 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7211 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7213 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7214 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7215 about bounded pointers.
7216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7218 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7221 about bounded pointers. Remove GKM FIXME comments.
7222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7223 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7225 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7226 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7227 Remove GKM FIXME comments.
7228 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7229 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7230 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7232 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7233 about bounded pointers. Remove GKM FIXME comment.
7234 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7236 (strncmp): Don't use BP_SYM. Remove comment about bounded
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7239 <bp-sym.h> and <bp-asm.h>.
7240 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7242 <bp-sym.h> and <bp-asm.h>.
7243 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7246 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7248 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7251 2013-03-05 David S. Miller <davem@davemloft.net>
7253 * po/es.po: Update from translation team.
7255 2013-03-05 Andreas Jaeger <aj@suse.de>
7257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7258 <bits/mman-linux.h>.
7259 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7262 <bits/mman-linux.h> to end of file.
7263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7266 <bits/mman-linux.h> to end of file.
7267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7270 <bits/mman-linux.h> to end of file.
7272 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7273 (MCL_CURRENT, MCL_FUTURE): Define here.
7275 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7282 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7285 fourth parameter needed for rt_sigprocmask syscall.
7286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7288 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7289 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7290 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7291 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7293 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7296 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7297 comment about bounded pointers.
7298 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7299 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7301 2013-03-04 Andreas Jaeger <aj@suse.de>
7303 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7307 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7308 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7313 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7317 __ieee754_sqrl instead of __sqrl.
7319 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7321 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7322 * sysdeps/powerpc/fpu_control.h: ... here.
7323 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7324 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7325 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7326 * sysdeps/powerpc/bits/mathinline.h: ... here.
7328 2013-03-01 Roland McGrath <roland@hack.frob.com>
7330 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7331 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7332 to just [NEED_DL_SYSINFO_DSO].
7333 * elf/dl-support.c: Likewise.
7334 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7335 * elf/rtld.c (dl_main): Likewise.
7336 * elf/setup-vdso.h (setup_vdso): Likewise.
7337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7338 * sysdeps/unix/sysv/linux/dl-sysdep.c
7339 (_dl_discover_osversion): Likewise.
7341 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7343 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7346 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7348 * NEWS: Mention libm performance improvements and non-x86 PI
7351 * csu/libc-start.c (__pthread_initialize_minimal): Change
7353 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7355 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7358 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7360 <bp-sym.h> and <bp-asm.h>.
7361 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7364 (memcpy): Don't use BP_SYM.
7365 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7367 (__mpn_add_n): Don't use BP_SYM.
7368 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7369 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7371 (__mpn_addmul_1): Don't use BP_SYM.
7372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7373 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7375 (_setjmp): Don't use BP_SYM.
7376 (__novmx_setjmp): Likewise.
7377 (__GI__setjmp): Likewise.
7378 (__vmx_setjmp): Likewise.
7379 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7381 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7382 (__bzero): Don't use BP_SYM.
7383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7385 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7386 <bp-sym.h> and <bp-asm.h>.
7387 (memcpy): Don't use BP_SYM.
7388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7389 <bp-sym.h> and <bp-asm.h>.
7390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7392 <bp-sym.h> and <bp-asm.h>.
7393 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7394 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7396 (__mpn_lshift): Don't use BP_SYM.
7397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7398 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7400 (memset): Don't use BP_SYM.
7401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7403 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7405 (__mpn_mul_1): Don't use BP_SYM.
7406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7408 <bp-sym.h> and <bp-asm.h>.
7409 (memcmp): Don't use BP_SYM.
7410 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7411 <bp-sym.h> and <bp-asm.h>.
7412 (memcpy): Don't use BP_SYM.
7413 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7414 <bp-sym.h> and <bp-asm.h>.
7415 (memset): Don't use BP_SYM.
7416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7417 <bp-sym.h> and <bp-asm.h>.
7418 (strncmp): Don't use BP_SYM.
7419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7420 <bp-sym.h> and <bp-asm.h>.
7421 (memcpy): Don't use BP_SYM.
7422 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7423 <bp-sym.h> and <bp-asm.h>.
7424 (memset): Don't use BP_SYM.
7425 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7426 <bp-sym.h> and <bp-asm.h>.
7427 (__memchr): Don't use BP_SYM.
7428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7429 <bp-sym.h> and <bp-asm.h>.
7430 (memcmp): Don't use BP_SYM.
7431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7432 <bp-sym.h> and <bp-asm.h>.
7433 (memcpy): Don't use BP_SYM.
7434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7435 <bp-sym.h> and <bp-asm.h>.
7436 (__mempcpy): Don't use BP_SYM.
7437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7438 <bp-sym.h> and <bp-asm.h>.
7439 (__memrchr): Don't use BP_SYM.
7440 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7441 <bp-sym.h> and <bp-asm.h>.
7442 (memset): Don't use BP_SYM.
7443 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7444 <bp-sym.h> and <bp-asm.h>.
7445 (__rawmemchr): Don't use BP_SYM.
7446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7447 <bp-sym.h> and <bp-asm.h>.
7448 (__STRCMP): Don't use BP_SYM.
7449 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7450 <bp-sym.h> and <bp-asm.h>.
7451 (strchr): Don't use BP_SYM.
7452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7453 <bp-sym.h> and <bp-asm.h>.
7454 (__strchrnul): Don't use BP_SYM.
7455 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7456 <bp-sym.h> and <bp-asm.h>.
7457 (strlen): Don't use BP_SYM.
7458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7459 <bp-sym.h> and <bp-asm.h>.
7460 (strncmp): Don't use BP_SYM.
7461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7462 <bp-sym.h> and <bp-asm.h>.
7463 (__strnlen): Don't use BP_SYM.
7464 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7466 (__mpn_rshift): Don't use BP_SYM.
7467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7469 <bp-sym.h> and <bp-asm.h>.
7470 (__sigsetjmp): Don't use BP_SYM.
7471 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7472 (L(start_addresses)): Don't use BP_SYM.
7474 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7476 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7477 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7478 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7479 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7481 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7484 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7489 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7491 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7495 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7499 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7501 (strncmp): Don't use BP_SYM,
7502 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7504 (__mpn_sub_n): Don't use BP_SYM.
7505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7506 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7508 (__mpn_submul_1): Don't use BP_SYM.
7509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7511 <bp-sym.h> and <bp-asm.h>.
7512 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7514 <bp-sym.h> and <bp-asm.h>.
7515 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7518 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7521 Use ZK to minimize writes to Z.
7522 (sub_magnitudes): Simplify code a bit.
7523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7524 Use ZK to minimize writes to Z.
7525 (sub_magnitudes): Simplify code a bit.
7527 2013-02-27 Roland McGrath <roland@hack.frob.com>
7529 * csu/gmon-start.c: Add special exception to license text.
7531 2013-02-27 Richard Henderson <rth@redhat.com>
7533 * scripts/config.guess: Update from config.git.
7534 * scripts/config.sub: Likewise.
7536 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7540 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7542 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7544 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7546 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7548 2013-02-26 Roland McGrath <roland@hack.frob.com>
7550 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7551 [$(build-shared = yes].
7553 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7555 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7556 (__mul): Reduce iterations for calculating mantissa.
7558 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7560 (__mpranred): Likewise.
7563 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7564 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7566 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7568 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7569 Define __attribute__.
7571 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7573 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7575 * posix/regex_internal.h (__attribute): Remove.
7576 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7577 (re_string_context_at): Likewise.
7578 (bitset_not): Use __attribute__ and mark function as possibly
7580 (bitset_merge): Likewise.
7581 (bitset_mask): Likewise.
7582 (re_string_char_size_at): Likewise.
7583 (re_string_wchar_at): Likewise.
7584 (re_string_elem_size_at): Likewise.
7586 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7588 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7597 (__dbl_mp): Likewise.
7598 (add_magnitudes): Likewise.
7599 (sub_magnitudes): Likewise.
7603 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7606 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7609 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7613 up changes with default code.
7614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7617 2013-02-24 Allan McRae <allan@archlinux.org>
7619 * manual/socket.texi (The Internet Namespace): Order menu items
7620 to match that in the file.
7622 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7623 node listing of the info page menu.
7625 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7628 * sysdeps/i386/bp-asm.h: Remove file.
7629 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7630 (PARMS): Do not use macros from bp-asm.h.
7634 (__mpn_add_n): Do not use BP_SYM
7635 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7637 (PARMS): Do not use macros from bp-asm.h.
7640 (__mpn_addmul_1): Do not use BP_SYM
7641 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7643 (PARMS): Do not use macros from bp-asm.h.
7645 (_setjmp): Likewise. Do not use BP_SYM.
7646 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7648 (PARMS): Do not use macros from bp-asm.h.
7650 (setjmp): Likewise. Do not use BP_SYM.
7651 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7653 (PARMS): Do not use macros from bp-asm.h.
7654 (__frexp): Do not use BP_SYM.
7656 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7658 (PARMS): Do not use macros from bp-asm.h.
7659 (__frexpf): Do not use BP_SYM.
7661 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7663 (PARMS): Do not use macros from bp-asm.h.
7664 (__frexpl): Do not use BP_SYM.
7666 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7668 (PARMS): Do not use macros from bp-asm.h.
7669 (__remquo): Do not use BP_SYM.
7671 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7673 (PARMS): Do not use macros from bp-asm.h.
7674 (__remquof): Do not use BP_SYM.
7675 (remquof): Likewise.
7676 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7678 (PARMS): Do not use macros from bp-asm.h.
7679 (__remquol): Do not use BP_SYM.
7680 (remquol): Likewise.
7681 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7683 (PARMS): Do not use macros from bp-asm.h.
7686 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7687 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7689 (PARMS): Do not use macros from bp-asm.h.
7690 (strlen): Do not use BP_SYM.
7691 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7693 (PARMS): Do not use macros from bp-asm.h.
7697 (__mpn_add_n): Do not use BP_SYM.
7698 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7700 (PARMS): Do not use macros from bp-asm.h.
7703 (__mpn_addmul_1): Do not use BP_SYM.
7704 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7707 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7709 (PARMS): Do not use macros from bp-asm.h.
7712 (__mpn_lshift): Do not use BP_SYM.
7713 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7715 (PARMS): Do not use macros from bp-asm.h.
7719 (memcpy): Likewise. Do not use BP_SYM.
7720 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7721 libc_hidden_def and weak_alias.
7722 (mempcpy): Do not use BP_SYM in weak_alias.
7723 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7725 (PARMS): Do not use macros from bp-asm.h.
7728 [!BZERO_P] (CHR): Likewise.
7729 (memset): Likewise. Do not use BP_SYM.
7730 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7732 (PARMS): Do not use macros from bp-asm.h.
7735 (__mpn_mul_1): Do not use BP_SYM.
7736 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7738 (PARMS): Do not use macros from bp-asm.h.
7741 (__mpn_rshift): Do not use BP_SYM.
7742 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7744 (PARMS): Do not use macros from bp-asm.h.
7747 (strchr): Likewise. Do not use BP_SYM.
7748 (index): Do not use BP_SYM in weak_alias.
7749 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7751 (PARMS): Do not use macros from bp-asm.h.
7754 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7755 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7757 (PARMS): Do not use macros from bp-asm.h.
7758 (strlen): Do not use BP_SYM.
7759 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7761 (PARMS): Do not use macros from bp-asm.h.
7765 (__mpn_sub_n): Do not use BP_SYM.
7766 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7768 (PARMS): Do not use macros from bp-asm.h.
7771 (__mpn_submul_1): Do not use BP_SYM.
7772 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7774 (PARMS): Do not use macros from bp-asm.h.
7778 (__mpn_add_n): Do not use BP_SYM.
7779 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7782 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7784 (PARMS): Do not use macros from bp-asm.h.
7787 (memcmp): Do not use BP_SYM.
7788 (bcmp): Do not use BP_SYM in weak_alias.
7789 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7791 (PARMS): Do not use macros from bp-asm.h.
7795 (memcpy): Likewise. Do not use BP_SYM.
7796 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7798 (PARMS): Do not use macros from bp-asm.h.
7802 (memmove): Likewise. Do not use BP_SYM.
7803 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7805 (PARMS): Do not use macros from bp-asm.h.
7809 (__mempcpy): Likewise. Do not use BP_SYM.
7810 (mempcpy): Do not use BP_SYM in weak_alias.
7811 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7813 (PARMS): Do not use macros from bp-asm.h.
7816 [!BZERO_P] (CHR): Likewise.
7817 (memset): Likewise. Do not use BP_SYM.
7818 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7820 (PARMS): Do not use macros from bp-asm.h.
7822 (strcmp): Do not use BP_SYM.
7823 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7825 (PARMS): Do not use macros from bp-asm.h.
7828 [USE_AS_STRTOK_R] (SAVE): Likewise.
7829 (FUNCTION): Likewise. Do not use BP_SYM.
7830 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7832 (strtok_r): Likewise.
7833 (__GI___strtok_r): Likewise.
7834 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7835 (PARMS): Do not use macros from bp-asm.h.
7838 (__mpn_lshift): Do not use BP_SYM.
7839 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7840 (PARMS): Do not use macros from bp-asm.h.
7843 (__memchr): Do not use BP_SYM.
7844 (memchr): Do not use BP_SYM in weak_alias.
7845 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7846 (PARMS): Do not use macros from bp-asm.h.
7849 (memcmp): Do not use BP_SYM.
7850 (bcmp): Do not use BP_SYM in weak_alias.
7851 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7852 (PARMS): Do not use macros from bp-asm.h.
7855 (__mpn_mul_1): Do not use BP_SYM.
7856 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7858 (PARMS): Do not use macros from bp-asm.h.
7861 (__rawmemchr): Do not use BP_SYM.
7862 (rawmemchr): Do not use BP_SYM in weak_alias.
7863 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7864 (PARMS): Do not use macros from bp-asm.h.
7867 (__mpn_rshift): Do not use BP_SYM.
7868 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7869 (PARMS): Do not use macros from bp-asm.h.
7871 (__sigsetjmp): Likewise. Do not use BP_SYM.
7872 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7873 (_start): Do not use BP_SYM.
7874 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7875 (PARMS): Do not use macros from bp-asm.h.
7878 (__stpcpy): Likewise. Do not use BP_SYM.
7879 (stpcpy): Do not use BP_SYM in weak_alias.
7880 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7882 (PARMS): Do not use macros from bp-asm.h.
7886 (__stpncpy): Likewise. Do not use BP_SYM.
7887 (stpncpy): Do not use BP_SYM in weak_alias.
7888 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7889 (PARMS): Do not use macros from bp-asm.h.
7892 (strchr): Likewise. Do not use BP_SYM.
7893 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7895 (PARMS): Do not use macros from bp-asm.h.
7898 (__strchrnul): Likewise. Do not use BP_SYM.
7899 (strchrnul): Do not use BP_SYM in weak_alias.
7900 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7902 (PARMS): Do not use macros from bp-asm.h.
7904 (strcspn): Do not use BP_SYM.
7905 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7907 (PARMS): Do not use macros from bp-asm.h.
7910 (strpbrk): Likewise. Do not use BP_SYM.
7911 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7913 (PARMS): Do not use macros from bp-asm.h.
7916 (strrchr): Likewise. Do not use BP_SYM.
7917 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7918 (PARMS): Do not use macros from bp-asm.h.
7920 (strspn): Do not use BP_SYM.
7921 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7922 (PARMS): Do not use macros from bp-asm.h.
7926 (FUNCTION): Likewise. Do not use BP_SYM.
7927 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7929 (strtok_r): Likewise.
7930 (__GI___strtok_r): Likewise.
7931 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7932 (PARMS): Do not use macros from bp-asm.h.
7936 (__mpn_sub_n): Do not use BP_SYM.
7937 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7939 (PARMS): Do not use macros from bp-asm.h.
7942 (__mpn_submul_1): Do not use BP_SYM.
7943 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7945 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7947 (PARMS): Do not use macros from bp-asm.h.
7952 (__clone): Do not use BP_SYM.
7953 (clone): Do not use BP_SYM in weak_alias.
7954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7956 (PARMS): Do not use macros from bp-asm.h.
7958 (__mmap64): Do not use BP_SYM.
7959 (mmap64): Do not use BP_SYM in weak_alias.
7960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7961 <bp-sym.h> and <bp-asm.h>.
7962 (PARMS): Do not use macros from bp-asm.h.
7963 (__posix_fadvise64_l64): Do not use BP_SYM.
7964 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7965 (PARMS): Do not use macros from bp-asm.h.
7967 (semtimedop): Do not use BP_SYM.
7968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7971 2013-02-21 Allan McRae <allan@archlinux.org>
7973 * manual/message.texi (Charset conversion in gettext):
7974 Move @end statement to beginning of line.
7976 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7988 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7990 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7991 tail-call to the resolved function if pltexit isn't needed.
7993 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7996 or Y being zero as being unlikely.
7997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8000 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8002 * manual/nss.texi (System Databases and Name Service Switch):
8003 Remove frobnicate @pxref.
8005 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8008 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8010 2013-02-20 Petr Machata <pmachata@redhat.com>
8012 * elf/elf.h (R_ARM_TARGET1): New macro.
8013 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8014 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8015 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8016 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8017 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8018 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8019 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8020 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8021 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8022 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8023 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8024 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8025 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8026 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8027 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8028 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8029 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8030 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8031 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8032 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8033 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8034 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8035 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8036 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8037 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8038 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8039 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8040 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8041 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8042 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8043 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8044 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8045 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8046 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8047 (R_ARM_THM_GOT_BREL12): Likewise.
8048 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8049 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8050 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8051 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8052 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8053 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8054 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8055 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8056 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8061 __attribute_used__ to __attribute__ ((unused)).
8063 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8071 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8074 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8076 (ENTER): Remove both macro definitions.
8078 (CHECK_BOUNDS_LOW): Likewise.
8079 (CHECK_BOUNDS_HIGH): Likewise.
8080 (CHECK_BOUNDS_BOTH): Likewise.
8081 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8082 (RETURN_BOUNDED_POINTER): Likewise.
8083 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8084 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8085 (POP_ERRNO_LOCATION_RETURN): Likewise.
8086 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8087 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8088 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8091 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8092 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8093 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8094 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8095 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8096 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8097 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8098 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8099 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8100 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8101 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8102 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8103 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8106 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8109 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8110 * sysdeps/i386/i586/memset.S (memset): Likewise.
8111 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8113 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8116 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8117 Change uses of L(2) to L(out).
8118 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8119 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8120 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8122 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8125 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8127 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8128 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8129 (RETURN): Do not use macro LEAVE.
8130 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8131 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8132 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8133 * sysdeps/i386/i686/memset.S (memset): Likewise.
8134 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8135 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8137 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8139 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8140 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8141 L(1_2) and L(1_3) into L(1).
8142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8143 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8145 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8146 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8147 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8148 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8149 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8150 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8152 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8154 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8155 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8156 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8157 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8158 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8159 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8160 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8161 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8162 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8163 * sysdeps/i386/strspn.S (strspn): Likewise.
8164 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8166 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8167 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8168 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8169 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8171 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8173 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8175 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8177 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8179 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8182 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8184 * math/atest-exp.c (exp_mpn): Remove ROUND.
8185 * math/atest-exp2.c (exp_mpn): Likewise.
8186 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8188 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8189 * stdlib/tst-tls-atexit-lib.c: Likewise.
8190 * stdlib/tst-tls-atexit.c: Likewise.
8192 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8194 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8195 and __attribute_alloc_size__.
8197 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8199 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8200 __attribute_alloc_size__.
8201 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8202 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8204 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8206 * include/programs/xmalloc.h: New file.
8207 * catgets/gencat.c: Include it.
8208 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8209 * elf/pldd.c: Likewise.
8210 * iconv/iconv_charmap.c: Likewise.
8211 * iconv/iconvconfig.c: Likewise.
8212 * iconv/strtab.c: Likewise.
8213 * locale/programs/locale.c: Likewise.
8214 * locale/programs/localedef.h: Likewise.
8215 * locale/programs/simple-hash.c: Likewise.
8216 * nscd/nscd.h: Likewise.
8217 * nss/makedb.c: Likewise.
8218 * sysdeps/generic/ldconfig.h: Likewise.
8220 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8222 * Versions.def: Add GLIBC_2.18.
8223 * include/link.h (struct link_map): New member l_tls_dtor_count.
8224 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8225 (__call_tls_dtors): Likewise.
8226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8227 __cxa_thread_atexit_impl.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8244 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8245 (tests): Add test case tst-tls-atexit.
8246 (modules-names): Add shared library for tst-tls-atexit.
8247 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8248 (GLIBC_PRIVATE): Add __call_tls_dtors.
8249 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8251 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8252 * stdlib/tst-tls-atexit.c: New test case.
8253 * stdlib/tst-tls-atexit-lib.c: New test case.
8255 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8257 * elf/Versions (ld): Add _dl_find_dso_for_object.
8258 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8259 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8260 (dl_open_worker): Use _dl_find_dso_for_object.
8261 * elf/dl-sym.c (do_sym): Likewise.
8262 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8264 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8266 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8267 Syntactic changes only.
8268 (_dl_runtime_profile): Do a tail-call to the resolved function.
8270 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8273 * sysdeps/x86_64/bp-asm.h: Remove file.
8274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8275 <bp-sym.h> and <bp-asm.h>.
8276 (__clone): Do not use BP_SYM.
8277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8278 <bp-sym.h> and <bp-asm.h>.
8279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8280 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8282 (_setjmp): Do not use BP_SYM.
8283 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8285 (setjmp): Do not use BP_SYM.
8286 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8288 (mempcpy): Do not use BP_SYM in weak_alias.
8289 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8291 (strchr): Do not use BP_SYM.
8292 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8294 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8295 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8296 (_start): Do not use BP_SYM.
8297 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8299 (strcat): Do not use BP_SYM.
8300 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8302 (STRCMP): Do not use BP_SYM.
8303 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8305 (STRCPY): Do not use BP_SYM.
8306 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8308 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8310 (FUNCTION): Do not use BP_SYM.
8311 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8313 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8315 2013-02-17 Andreas Jaeger <aj@suse.de>
8317 * time/Versions: Sort entries.
8318 * string/Versions: Likewise.
8319 * resolv/Versions: Likewise.
8320 * posix/Versions: Likewise.
8321 * iconv/Versions: Likewise.
8322 * elf/Versions: Likewise.
8323 * wcsmbs/Versions: Likewise.
8325 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8328 loop termination condition.
8330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8331 variable to calculate EZ.
8334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8335 the lower precision input.
8337 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8340 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8341 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8342 (run-via-rtld-prefix): Do not handle %-bp tests.
8343 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8344 (all-object-suffixes): Remove .ob.
8345 (bppfx): Remove variable.
8346 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8347 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8348 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8349 [$(build-bounded) = yes] (libtype.ob): Likewise.
8350 * Makerules (elide-routines.ob): Remove variable.
8351 (do-tests-clean): Do not handle *-bp.out.
8352 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8353 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8354 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8355 (tests): Do not include $(tests-bp.out).
8356 (xtests): Do not include $(xtests-bp.out).
8357 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8358 [$(build-bounded) = yes] ($(addprefix
8359 $(objpfx),$(binaries-bounded))): Remove rule.
8360 ($(objpfx)%-bp.out): Remove rule.
8361 * config.make.in (build-bounded): Remove variable.
8362 * crypt/Makefile [$(build-bounded) = yes]
8363 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8364 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8366 [$(build-bounded) = yes] (install-lib): Likewise.
8367 [$(build-bounded) = yes] (generated): Likewise.
8368 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8370 * intl/Makefile [$(build-bounded) = yes]
8371 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8372 * math/Makefile [$(build-bounded) = yes]
8373 ($(tests:%=$(objpfx)%-bp): Likewise.
8374 * misc/Makefile [$(build-bounded) = yes]
8375 ($(objpfx)tst-tsearch-bp): Likewise.
8376 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8377 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8379 * string/Makefile (o-objects.ob): Remove variable.
8380 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8381 (CFLAGS-.ob): Remove variable.
8382 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8383 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8384 both definitions of variable.
8385 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8386 (ASFLAGS-.ob): Remove variable.
8388 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8391 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8392 Remove __BOUNDED_POINTERS__ from condition.
8393 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8394 * string/bits/string2.h [!__NO_STRING_INLINES &&
8395 !__BOUNDED_POINTERS__]: Likewise.
8396 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8398 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8399 Remove conditional code.
8400 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8401 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8402 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8406 * csu/libc-start.c: Do not include <bp-sym.h>.
8407 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8408 * elf/dl-open.c: Do not include <bp-sym.h>.
8409 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8410 * math/fegetenv.c: Do not include <bp-sym.h>.
8411 (fegetenv): Do not use BP_SYM in versioned symbols.
8412 * nptl/sysdeps/pthread/bits/libc-lockP.h
8413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8416 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8418 (__pthread_mutex_destroy): Likewise.
8419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8420 (__pthread_mutex_lock): Likewise.
8421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8422 (__pthread_mutex_trylock): Likewise.
8423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8424 (__pthread_mutex_unlock): Likewise.
8425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8426 (__pthread_mutexattr_init): Likewise.
8427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8428 (__pthread_mutexattr_destroy): Likewise.
8429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8430 (__pthread_mutexattr_settype): Likewise.
8431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8432 (__pthread_rwlock_init): Likewise.
8433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8434 (__pthread_rwlock_destroy): Likewise.
8435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8436 (__pthread_rwlock_rdlock): Likewise.
8437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8438 (__pthread_rwlock_tryrdlock): Likewise.
8439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8440 (__pthread_rwlock_wrlock): Likewise.
8441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8442 (__pthread_rwlock_trywrlock): Likewise.
8443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8444 (__pthread_rwlock_unlock): Likewise.
8445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8446 (__pthread_key_create): Likewise.
8447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8448 (__pthread_setspecific): Likewise.
8449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8450 (__pthread_getspecific): Likewise.
8451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8454 (_pthread_cleanup_push_defer): Likewise.
8455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8456 (_pthread_cleanup_pop_restore): Likewise.
8457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8458 (pthread_setcancelstate): Likewise.
8459 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8461 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8462 (memchr): Do not use BP_SYM in weak_alias.
8463 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8464 (fegetenv): Do not use BP_SYM in versioned symbols.
8465 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8466 (fesetenv): Do not use BP_SYM in versioned symbols.
8467 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8468 (feupdateenv): Do not use BP_SYM in versioned symbols.
8469 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8470 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8471 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8472 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8473 (open64): Do not use BP_SYM in weak_alias.
8474 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8475 (fegetenv): Do not use BP_SYM in versioned symbols.
8476 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8477 (fesetenv): Do not use BP_SYM in versioned symbols.
8478 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8479 (feupdateenv): Do not use BP_SYM in versioned symbols.
8480 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8481 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8482 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8483 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8484 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8485 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8488 (__libc_start_main): Do not use BP_SYM.
8490 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8493 redundant return line.
8497 (sub_magnitudes): Likewise.
8503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8507 (sub_magnitudes): Likewise.
8514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8521 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8523 of __mul for squares.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8531 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8534 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8536 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8537 prototype or function definition. Rename ubp_* variables and
8538 parameters. Remove argv definitions conditional on
8539 [__BOUNDED_POINTERS__].
8540 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8541 * elf/dl-runtime.c (_dl_fixup): Likewise.
8542 * include/set-hooks.h (RUN_HOOK): Likewise.
8543 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8545 * string/strcpy.c (strcpy): Do not use __unbounded.
8546 * sysdeps/generic/frame.h (struct layout): Likewise.
8547 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8548 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8549 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8550 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8551 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8552 (__backtrace): Likewise.
8553 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8555 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8557 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8559 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8560 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8561 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8563 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8564 Do not use __unbounded.
8565 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8566 Rename __unboundedrlimits parameter to rlimits in prototype.
8567 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8568 Do not use __unbounded.
8569 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8571 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8572 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8575 __ptrvalue or __unbounded.
8576 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8577 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8579 (__new_msgctl): Do not use __ptrvalue.
8580 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8582 (__libc_msgrcv): Do not use __ptrvalue.
8583 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8584 startup_info): Do not use __unbounded.
8585 (__libc_start_main): Likewise. Rename ubp_* variables and
8586 parameters. Remove argv definitions conditional on
8587 [__BOUNDED_POINTERS__].
8588 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8590 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8594 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8596 (__new_shmctl): Do not use __ptrvalue.
8597 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8598 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8600 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8602 (__libc_sigaction): Likewise.
8603 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8606 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8608 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8610 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8612 * string/mempcpy.c: Implement by calling memcpy.
8614 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8621 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8622 values in the mantissa.
8624 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8625 minimize writes to Z.
8626 (sub_magnitudes): Simplify code a bit.
8628 2013-02-12 Roland McGrath <roland@hack.frob.com>
8630 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8631 from the message. The linker prefixes all warnings with that already.
8633 2013-02-12 Andreas Schwab <schwab@suse.de>
8636 * posix/regexec.c (extend_buffers): Add parameter min_len.
8637 (check_matching): Pass minimum needed length.
8638 (clean_state_log_if_needed): Likewise.
8639 (get_subexp): Likewise.
8640 * posix/Makefile (tests): Add bug-regex34.
8641 (bug-regex34-ENV): Define.
8642 * posix/bug-regex34.c: New file.
8645 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8646 elements compare against the byte sequence of it, not its name.
8647 * posix/Makefile (tests): Add bug-regex35.
8648 (bug-regex35-ENV): Define.
8649 * posix/bug-regex35.c: New file.
8651 2013-02-11 Tom de Vries <tom@codesourcery.com>
8653 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8655 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8656 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8657 (CHECK_EOL): Add undef.
8659 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8661 * bits/stdlib-bsearch.h: New file.
8662 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8663 * stdlib/stdlib.h: Likewise.
8665 2013-02-11 Roland McGrath <roland@hack.frob.com>
8667 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8668 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8670 * manual/search.texi (Array Search Function): Add missing const in
8672 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8673 declaration to use rlim_t.
8674 (Basic Scheduling Functions): Remove erroneous const from
8675 sched_getparam prototype. Remove erroneous * from
8676 sched_get_priority_max and sched_get_priority_min prototypes.
8677 (Resource Usage): Fix summary @comment on vtimes to refer to
8678 sys/vtimes.h rather than vtimes.h.
8679 Add missing *s in vtimes prototype.
8680 (Limits on Resources): Fix ulimit prototype to return long int.
8681 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8682 prototypes to use long int rather than double.
8683 (BSD Random): Fix initstate and setstate to use char *, not void *.
8684 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8685 prototype to make second argument 'struct aiocb64 *const[]'.
8686 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8687 (Status of AIO Operations): Remove erroneous const in aio_return and
8688 aio_return64 prototypes.
8689 (Synchronizing I/O): Fix sync prototype to return void.
8690 * manual/startup.texi (Suboptions): Remove an erroneous const in
8691 getsubopt prototype.
8692 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8693 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8694 use size_t rather than int.
8695 (Scanning All Users): Likewise for getpwent_r.
8696 (Setting Groups): Add missing const to setgroups prototype.
8697 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8698 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8699 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8700 'const void *' rather than 'const char *'.
8701 (Host Address Functions): Likewise for inet_ntop.
8702 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8703 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8704 ssize_t for return value.
8705 (Sending Data): Likewise for send, sendto, sendmsg.
8706 (Socket Option Functions): Add a missing const in setsockopt prototype.
8707 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8708 use wchar_t for the argument.
8709 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8710 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8712 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8713 double/float/long double for second argument.
8714 Fix return types of significand, significandf, significandl.
8715 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8716 argument in fchmod prototype.
8717 (File Owner): Use uid_t and gid_t in fchown prototype.
8718 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8719 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8720 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8721 use 'const struct dirent **' as argument types to CMP function pointer
8723 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8724 (File Times): Fix summary magic @comment for struct utimbuf and utime
8725 to refer to utime.h, not time.h.
8726 * manual/string.texi (Argz Functions): Add missing const in
8727 argz_extract and argz_next prototypes.
8728 (Finding Tokens in a String): Likewise for basename.
8729 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8730 (Copying and Concatenation): Fix typo in wmemmove prototype.
8731 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8732 (Signal Stack): Remove erroneous const in sigstack prototype.
8733 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8735 (Simple Calendar Time): Likewise for stime.
8736 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8738 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8739 say sys/sysctl.h instead.
8740 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8741 and vsyslog prototypes.
8743 2013-02-11 Tom de Vries <tom@codesourcery.com>
8745 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8748 2013-02-11 Roland McGrath <roland@hack.frob.com>
8750 * misc/sys/mman.h: Fix typo in mremap comment.
8752 2013-02-08 Roland McGrath <roland@hack.frob.com>
8754 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8755 the '\0' terminator.
8757 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8760 * debug/segfault.c: Don't include <bp-checks.h>.
8761 * sysdeps/generic/bp-checks.h: Remove file.
8762 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8763 (__GETDENTS): Don't use CHECK_N.
8764 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8765 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8766 (__getgroups): Don't use CHECK_N.
8767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8768 (setgroups): Don't use CHECK_N.
8769 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8770 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8771 (__libc_msgrcv): Don't use CHECK_N.
8772 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8773 (__libc_msgsnd): Don't use CHECK_N.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8776 (__libc_pread): Don't use CHECK_N.
8777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8778 include <bp-checks.h>.
8779 (__libc_pread64): Don't use CHECK_N.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8781 include <bp-checks.h>.
8782 (__libc_pwrite): Don't use CHECK_N.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8784 include <bp-checks.h>.
8785 (__libc_pwrite64): Don't use CHECK_N.
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8788 (__libc_pread): Don't use CHECK_N.
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8790 include <bp-checks.h>.
8791 (__libc_pread64): Don't use CHECK_N.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8793 include <bp-checks.h>.
8794 (__libc_pwrite): Don't use CHECK_N.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8796 include <bp-checks.h>.
8797 (__libc_pwrite64): Don't use CHECK_N.
8798 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8799 (do_pread): Don't use CHECK_N.
8800 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8801 (do_pread64): Don't use CHECK_N.
8802 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8803 (do_pwrite): Don't use CHECK_N.
8804 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8805 (do_pwrite64): Don't use CHECK_N.
8806 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8807 (__libc_readv): Don't use CHECK_N.
8808 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8809 (semop): Don't use CHECK_N.
8810 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8812 (semtimedop): Don't use CHECK_N.
8813 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8814 (__libc_pread): Don't use CHECK_N.
8815 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8817 (__libc_pread64): Don't use CHECK_N.
8818 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8820 (__libc_pwrite): Don't use CHECK_N.
8821 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8823 (__libc_pwrite64): Don't use CHECK_N.
8824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8826 (__libc_msgrcv): Don't use CHECK_N.
8827 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8828 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8829 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8830 (__libc_writev): Don't use CHECK_N.
8832 2013-02-08 Roland McGrath <roland@hack.frob.com>
8834 * string/strcpy.c: Removed unused variable.
8836 * Makeconfig (+sysdep-includes): Define with := rather than =.
8837 Use an existing include/ subdir of each sysdeps dir before it.
8839 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8841 * nscd/connection.c (register_traced_file): Comment function.
8842 [HAVE_INOTIFY] (union __inev): Define.
8843 [HAVE_INOTIFY] (inotify_check_files): New function.
8844 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8845 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8847 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8849 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8851 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8852 loaded if not already and that a failure is permanent.
8854 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8857 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8858 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8860 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8863 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8864 (CHECK_1_NULL_OK): Likewise.
8865 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8866 (__fxstat): Do not use CHECK_1.
8867 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8869 (___fxstat64): Do not use CHECK_1.
8870 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8872 (__fxstatat): Do not use CHECK_1.
8873 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8875 (__fxstatat64): Do not use CHECK_1.
8876 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8878 (__fxstat): Do not use CHECK_1.
8879 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8881 (__fxstatat): Do not use CHECK_1.
8882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8884 (__getresgid): Do not use CHECK_1.
8885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8887 (__getresuid): Do not use CHECK_1.
8888 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8890 (__lxstat): Do not use CHECK_1.
8891 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8893 (__old_msgctl): Do not use CHECK_1.
8894 (__new_msgctl): Likewise.
8895 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8897 (__new_setrlimit): Do not use CHECK_1.
8898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8900 (__old_shmctl): Do not use CHECK_1.
8901 (__new_shmctl): Likewise.
8902 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8904 (__xstat): Do not use CHECK_1.
8905 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8906 (__lxstat): Do not use CHECK_1.
8907 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8909 (___lxstat64): Do not use CHECK_1.
8910 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8911 (__old_msgctl): Do not use CHECK_1.
8912 (__new_msgctl): Likewise.
8913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8915 (__gettimeofday): Do not use CHECK_1.
8916 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8917 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8920 (__gettimeofday): Do not use CHECK_1.
8921 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8922 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8923 (__new_shmctl): Do not use CHECK_1.
8924 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8926 (do_sigtimedwait): Do not use CHECK_1.
8927 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8929 (do_sigwaitinfo): Do not use CHECK_1.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8932 (msgctl): Do not use CHECK_1.
8933 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8935 (shmctl): Do not use CHECK_1.
8936 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8937 (ustat): Do not use CHECK_1.
8938 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8940 (__fxstat): Do not use CHECK_1.
8941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8943 (__fxstatat): Do not use CHECK_1.
8944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8946 (__lxstat): Do not use CHECK_1.
8947 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8949 (__xstat): Do not use CHECK_1.
8950 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8951 (__xstat): Do not use CHECK_1.
8952 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8953 (___xstat64): Do not use CHECK_1.
8956 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8958 (CHECK_BOUNDS_HIGH): Likewise.
8959 * string/strcpy.c: Do not include <bp-checks.h>.
8960 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8962 2013-02-07 Roland McGrath <roland@hack.frob.com>
8964 * nscd/nscd-client.h (__nscd_drop_map_ref):
8965 Add __attribute__ ((unused)).
8966 * nis/nss-nisplus.h (niserr2nss): Likewise.
8968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8969 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8971 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8972 Remove inline keyword.
8973 * include/rounding-mode.h (round_away): Likewise.
8974 * libio/wfileops.c (adjust_wide_data): Likewise.
8975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8976 (__m128i_strloadu_tolower): Likewise.
8977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8978 (__m128i_strloadu_tolower): Likewise.
8979 * time/mktime.c (ydhms_diff): Likewise.
8980 * locale/elem-hash.h (elem_hash): Likewise.
8981 * locale/setlocale.c (setdata): Likewise.
8982 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8983 (re_string_wchar_at): Likewise.
8984 (bitset_not, bitset_merge, bitset_mask): Likewise.
8985 [!(__GNUC__ > 3)] (inline): Remove macro.
8986 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8987 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8988 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8989 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8990 * string/memcmp.c (memcmp_bytes): Likewise.
8991 * locale/programs/locarchive.c (compute_hashval): Likewise.
8992 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8993 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8994 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8995 * nss/getent.c (print_rpc, print_protocols): Likewise.
8996 (print_passwd, print_group, print_aliases): Likewise.
8997 * nis/nss-nisplus.h (niserr2nss): Likewise.
8998 * nscd/connections.c (restart_p): Likewise.
8999 Change return type to bool.
9001 2013-02-05 Roland McGrath <roland@hack.frob.com>
9003 * Makeconfig (all-Depend-files): Add existing
9004 $(sorted-subdirs:=/Depend) files.
9005 (all-subdirs): Remove nss.
9006 * sysdeps/unix/inet/Subdirs: Add it here instead.
9007 * hesiod/Depend: New file.
9009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9010 instead of calling alloca.
9012 * io/lseek.c (__lseek): Rename to __libc_lseek.
9013 Define __lseek as an alias.
9015 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9017 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9019 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9020 else clause and remove check for non-standard endianness.
9022 2013-02-04 David S. Miller <davem@davemloft.net>
9024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9026 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9029 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9030 (__ubp_memchr): Remove prototype.
9031 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9032 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9033 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9034 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9035 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9037 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9038 (__ubp_memchr): Likewise.
9039 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9040 (__ubp_memchr): Likewise.
9041 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9042 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9043 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9046 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9047 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9048 (__getcwd): Do not use CHECK_STRING.
9049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9051 (__real_chown): Do not use CHECK_STRING.
9052 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9054 (fchownat): Do not use CHECK_STRING.
9055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9057 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9059 (__lchown): Do not use CHECK_STRING.
9060 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9061 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9062 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9063 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9065 include <bp-checks.h>.
9066 (truncate64): Do not use CHECK_STRING.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9069 (__real_chown): Do not use CHECK_STRING.
9070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9072 (__lchown): Do not use CHECK_STRING.
9073 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9075 (__chown): Do not use CHECK_STRING.
9076 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9078 (truncate64): Do not use CHECK_STRING.
9079 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9081 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9082 (__xmknod): Do not use CHECK_STRING.
9083 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9085 (__xmknodat): Do not use CHECK_STRING.
9086 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9087 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9089 2013-02-04 Andreas Schwab <schwab@suse.de>
9092 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9093 * include/netdb.h: Likewise for h_errno.
9094 * elf/tst-stackguard1.c: Include <tls.h>.
9096 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9098 * elf/link.h (struct link_map): Extend the l_addr comment.
9099 * include/link.h (struct link_map): Likewise.
9101 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9104 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9105 (BOUNDED_1): Remove macro.
9106 * debug/backtrace.c: Don't include <bp-checks.h>.
9107 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9108 (__backtrace): Likewise.
9109 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9111 (__backtrace): Don't use BOUNDED_1.
9112 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9114 (__backtrace): Don't use BOUNDED_1.
9115 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9116 (__backtrace): Don't use BOUNDED_1.
9117 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9118 (shmat): Don't use BOUNDED_N.
9120 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9123 * sysdeps/generic/bp-start.h: Remove file.
9124 * csu/libc-start.c: Don't include <bp-start.h>.
9125 (LIBC_START_MAIN): Set up __environ directly instead of using
9126 INIT_ARGV_and_ENVIRON.
9127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9131 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9133 (CHECK_FCNTL): Likewise.
9134 (CHECK_N_PAGES): Likewise.
9137 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9139 (CHECK_SIGSET_NULL_OK): Likewise.
9140 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9142 (sigpending): Don't use CHECK_SIGSET.
9143 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9146 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9148 (do_sigsuspend): Don't use CHECK_SIGSET.
9149 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9151 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9152 (do_sigwait): Don't use CHECK_SIGSET.
9153 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9156 include <bp-checks.h>.
9157 (sigpending): Don't use CHECK_SIGSET.
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9159 include <bp-checks.h>.
9160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9161 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9163 (sigpending): Don't use CHECK_SIGSET.
9164 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9169 * sysdeps/generic/bp-semctl.h: Remove file.
9170 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9171 <bp-checks.h> and <bp-semctl.h>.
9172 (__old_semctl): Don't use CHECK_SEMCTL.
9173 (__new_semctl): Likewise.
9174 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9176 (__old_semctl): Don't use CHECK_SEMCTL.
9177 (__new_semctl): Likewise.
9178 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9179 <bp-checks.h> and <bp-semctl.h>.
9180 (__old_semctl): Don't use CHECK_SEMCTL.
9181 (__new_semctl): Likewise.
9182 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9183 <bp-checks.h> and <bp-semctl.h>.
9184 (semctl): Don't use CHECK_SEMCTL.
9187 * Makerules (elide-bp-thunks): Remove variable.
9188 (elide-routines.oS): Don't use $(elide-bp-thunks).
9189 (elide-routines.os): Likewise.
9190 (elide-routines.o): Likewise.
9191 (elide-routines.op): Likewise.
9192 (elide-routines.og): Likewise.
9193 (objects): Don't use $(bp-thunks).
9194 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9196 (common-generated): Do not add s-proto-bp.d.
9197 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9200 Do not generate makefile rules for bounded-pointer thunks.
9201 * sysdeps/generic/bp-thunks.h: Remove file.
9202 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9203 * sysdeps/unix/s-proto-bp.S: Likewise.
9206 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9207 parts of result separately when argument is not close to line from
9208 -i to i and one part of argument is small.
9209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9211 * math/libm-test.inc (cacos_test): Add more tests.
9212 (casin_test): Likewise.
9213 (casinh_test): Likewise.
9214 * sysdeps/i386/fpu/libm-test-ulps: Update.
9215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9217 2013-01-31 David S. Miller <davem@davemloft.net>
9219 * po/de.po: Update from translation team.
9221 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9223 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9225 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9227 * configure.in (_AC_PROG_CC_C89): New definition.
9228 * configure: Regenerate.
9230 * configure.in (AC_PROG_CPP): New definition.
9231 * configure: Regenerate.
9233 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9235 * debug/tst-backtrace.h: New file.
9236 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9237 (ret): Remove variable.
9239 (FAIL): Remove macro.
9240 (NO_INLINE): Likewise.
9241 (fn1): Use match function instead of strstr.
9242 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9243 (ret): Remove variable.
9245 (FAIL): Remove macro.
9246 (NO_INLINE): Likewise.
9247 (fn): Use match function instead of strstr.
9248 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9249 (ret): Remove variable.
9251 (FAIL): Remove macro.
9252 (NO_INLINE): Likewise.
9253 (handle_signal): Use match function instead of strstr.
9254 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9255 (ret): Remove variable.
9257 (FAIL): Remove macro.
9258 (NO_INLINE): Likewise.
9259 (handle_signal): Use match function instead of strstr.
9261 2013-01-23 Roland McGrath <roland@hack.frob.com>
9263 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9265 2013-01-23 David S. Miller <davem@davemloft.net>
9267 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9268 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9269 argument of CAS if possible.
9270 * sysdeps/sparc/sparc64/bits/atomic.h
9271 (__arch_compare_and_exchange_val_32_acq): Likewise.
9272 (__arch_compare_and_exchange_val_64_acq): Likewise.
9274 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9276 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9277 * sysdeps/posix/ulimit.c: ... this.
9279 * sysdeps/unix/bsd/ulimit.c: Remove file.
9281 2013-01-23 Adam Conrad <adconrad@0c3.net>
9283 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9284 (LDFLAGS-tst-array5): Likewise.
9286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9289 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9290 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9291 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9294 2013-01-21 David S. Miller <davem@davemloft.net>
9296 * sysdeps/sparc/backtrace.c: New file.
9297 * sysdeps/sparc/sparc32/backtrace.h: New file.
9298 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9299 * sysdeps/sparc/sparc64/backtrace.h: New file.
9300 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9301 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9304 2013-01-21 Andreas Schwab <schwab@suse.de>
9307 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9310 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9316 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9317 Mark Mitchell <mark@codesourcery.com>
9318 Tom de Vries <tom@codesourcery.com>
9319 Paul Pluzhnikov <ppluzhnikov@google.com>
9321 * debug/tst-backtrace2.c: New file.
9322 * debug/tst-backtrace3.c: Likewise.
9323 * debug/tst-backtrace4.c: Likewise.
9324 * debug/tst-backtrace5.c: Likewise.
9325 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9326 (CFLAGS-tst-backtrace3.c): Likewise.
9327 (CFLAGS-tst-backtrace4.c): Likewise.
9328 (CFLAGS-tst-backtrace5.c): Likewise.
9329 (LDFLAGS-tst-backtrace2): Likewise.
9330 (LDFLAGS-tst-backtrace3): Likewise.
9331 (LDFLAGS-tst-backtrace4): Likewise.
9332 (LDFLAGS-tst-backtrace5): Likewise.
9333 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9334 tst-backtrace4 and tst-backtrace5.
9336 2013-01-18 Anton Blanchard <anton@samba.org>
9337 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9340 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9342 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9344 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9345 "+r" and remove output regs list as redundant. Add explicit inline
9346 asm to specify register of return val to work around compiler codegen
9347 bug. Remove (int) cast on return value. Add return type parameter to
9348 use in macro so that this macro does not truncate return value for
9350 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9351 pass to INTERNAL_VSYSCALL_NCS.
9352 (INLINE_VSYSCALL): Add 'long int' as return type to
9353 INTERNAL_VSYSCALL_NCS macro invocation.
9354 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9355 INTERNAL_VSYSCALL_NCS macro invocation.
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9358 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9361 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9362 Fix application of SIMD FP exception mask.
9364 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9365 mp_no from a power of two.
9366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9367 __mpexp_twomm1. Use __pow_mp.
9369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9372 2013-01-17 David S. Miller <davem@davemloft.net>
9374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9376 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9379 * include/complex.h: Condition contents on [!_COMPLEX_H].
9380 (__kernel_casinhf): New prototype.
9381 (__kernel_casinh): Likewise.
9382 (__kernel_casinhl): Likewise.
9383 * math/Makefile (libm_calls): Add k_casinh.
9384 * math/k_casinh.c: New file.
9385 * math/k_casinhf.c: Likewise.
9386 * math/k_casinhl.c: Likewise.
9387 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9388 finite nonzero arguments.
9389 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9390 finite nonzero arguments.
9391 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9392 finite nonzero arguments.
9393 * math/s_casinh.c: Do not include <float.h>.
9394 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9395 * math/s_casinhf.c: Do not include <float.h>.
9396 (__casinhf): Move code for finite nonzero arguments to
9398 * math/s_casinhl.c: Do not include <float.h>.
9399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9401 (__casinhl): Move code for finite nonzero arguments to
9403 * math/libm-test.inc (cacos_test): Add more tests.
9404 * sysdeps/i386/fpu/libm-test-ulps: Update.
9405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9407 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9409 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9410 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9411 [!HAVE_MREMAP]: Remove [defined linux] case.
9412 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9414 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9416 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9418 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9420 * elf/elf.h (R_386_SIZE32): New relocation.
9421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9423 (elf_machine_rela): Likewise.
9424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9425 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9427 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9429 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9430 (FP_FAST_FMA): Do not define.
9431 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9432 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9433 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9434 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9435 !_SOFT_FLOAT]: Likewise.
9436 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9440 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9443 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9444 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9447 2013-01-16 Andreas Schwab <schwab@suse.de>
9450 * include/stdlib.h (__mktemp): Add declaration.
9451 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9452 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9454 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9456 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9458 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9459 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9460 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9462 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9463 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9465 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9467 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9468 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9471 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9472 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9474 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9476 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9478 2013-01-15 David S. Miller <davem@davemloft.net>
9480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9481 trunc{,f} to libm-sysdep_routes.
9482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9496 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9497 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9500 nearbyint{,f} to libm-sysdep_routes.
9501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9518 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9519 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9522 libc_feholdexcept and libc_fesetenv.
9524 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9526 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9528 2013-01-14 David S. Miller <davem@davemloft.net>
9530 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9531 (SPARC_ASM_VIS2_IFUNC): Likewise.
9532 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9534 use of 'siam' instruction.
9535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9568 routines to libm-sysdep_routines.
9569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9572 fdim/fdimf to libm-sysdep_routines.
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9581 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9582 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9583 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9584 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9586 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9591 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9596 local variable MPTWO.
9597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9600 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9602 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9605 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9607 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9609 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9611 * manual/pattern.texi (glob_t): Document gl_flags.
9612 (glob64_t): Likewise.
9614 2013-01-11 David S. Miller <davem@davemloft.net>
9616 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9618 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9619 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9620 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9621 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9622 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9623 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9624 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9625 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9626 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9627 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9628 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9631 sparc V9 rather than using V8 code.
9632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9640 2013-01-11 Roland McGrath <roland@hack.frob.com>
9642 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9643 not in the main loop.
9644 * configure: Regenerated.
9646 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9648 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9649 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9651 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9652 [!__GLIBC_HAVE_LONG_LONG] case.
9653 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9654 condition to just #else.
9655 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9656 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9657 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9658 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9660 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9661 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9662 #elif condition to just #else.
9663 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9664 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9665 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9666 #elif condition to just #else.
9668 2013-01-11 Steve Ellcey <sellcey@mips.com>
9670 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9671 (EF_MIPS_ARCH_64): Fix value.
9672 (EF_MIPS_ARCH_32R2): New.
9673 (EF_MIPS_ARCH_64R2): New.
9675 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9677 * Makeconfig (+link-pie-before-libc): New.
9678 (+link-pie-after-libc): Likewise.
9679 (+link-pie-tests): Likewise.
9680 (+link-pie): Rewritten.
9681 (link-before-libc): Remove $(config-LDFLAGS).
9682 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9683 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9684 (config-LDFLAGS): Renamed to ...
9685 (rtld-LDFLAGS): This.
9686 (rtld-tests-LDFLAGS): New macro.
9687 (link-libc-rpath-link): Likewise.
9688 (link-libc-tests-rpath-link): Likewise.
9689 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9690 (link-libc): Prepand $(link-libc-rpath-link).
9691 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9692 (test-program-prefix): New macro.
9693 (test-via-rtld-prefix): Likewise.
9694 (test-program-cmd): Likewise.
9695 (host-test-program-cmd): Likewise.
9696 * Makefile ($(common-objpfx)testrun.sh): Replace
9697 $(run-program-prefix) with $(test-program-prefix).
9698 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9700 ($(common-objpfx)shlib.lds): Likewise.
9701 (build-module-helper): Likewise.
9702 ($(common-objpfx)format.lds): Likewise.
9703 * Rules (binaries-pie-tests): New.
9704 (binaries-pie-notests): Likewise.
9705 (binaries-pie): Rewritten.
9706 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9707 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9708 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9709 (make-test-out): Replace $(host-built-program-cmd) with
9710 $(host-test-program-cmd).
9711 * config.make.in (build-hardcoded-path-in-tests): New variable.
9712 * configure.in (--enable-hardcoded-path-in-tests): New configure
9714 (hardcoded_path_in_tests): New AC_SUBST.
9715 * configure: Regenerated.
9716 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9717 $(built-program-cmd) with $(test-program-cmd).
9718 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9719 (test_program_cmd): This.
9720 * elf/Makefile ($(objpfx)order.out): Run test with
9721 $(test-program-prefix).
9722 ($(objpfx)order2.out): Likewise.
9723 ($(objpfx)tst-initorder.out): Likewise.
9724 ($(objpfx)tst-initorder2.out): Likewise.
9725 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9726 $(test-program-cmd).
9727 ($(objpfx)tst-array1-static.out): Likewise.
9728 ($(objpfx)tst-array2.out): Likewise.
9729 ($(objpfx)tst-array3.out): Likewise.
9730 ($(objpfx)tst-array4.out): Likewise.
9731 ($(objpfx)tst-array5.out): Likewise.
9732 ($(objpfx)tst-array5-static.out): Likewise.
9733 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9734 $(test-program-cmd).
9735 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9736 $(run-program-prefix) with $(test-program-prefix).
9737 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9738 (test_program_prefix): This.
9739 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9740 $(run-program-prefix) with $(test-program-prefix).
9741 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9742 (test_program_prefix): This.
9743 * iconvdata/tst-tables.sh: Likewise.
9744 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9745 $(run-program-prefix) with $(test-program-prefix).
9746 ($(objpfx)tst-translit.out): Likewise.
9747 ($(objpfx)tst-gettext2.out): Likewise.
9748 ($(objpfx)tst-gettext4.out): Likewise.
9749 ($(objpfx)tst-gettext6.out): Likewise.
9750 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9751 (test_program_prefix): This.
9752 * intl/tst-gettext2.sh: Likewise.
9753 * intl/tst-gettext4.sh Likewise.
9754 * intl/tst-gettext6.sh: Likewise.
9755 * intl/tst-translit.sh: Likewise.
9756 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9757 with $(test-program-cmd).
9758 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9759 $(run-program-prefix) with $(test-program-prefix).
9760 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9761 (test_program_prefix): This.
9762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9763 $(run-program-prefix) with $(test-program-prefix).
9764 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9765 (test_program_prefix): This.
9766 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9767 * posix/Makefile ($(objpfx)globtest.out): Replace
9768 $(run-via-rtld-prefix) and $(test-wrapper) with
9769 $(test-program-prefix) and $(test-via-rtld-prefix).
9770 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9771 $(test-program-prefix).
9772 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9773 $(host-test-program-cmd).
9774 (tst-spawn-ARGS): Likewise.
9775 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9776 $(test-program-prefix).
9777 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9778 (test_via_rtld_prefix): This.
9779 (test_wrapper): Renamed to ...
9780 (test_program_prefix): This.
9781 (run_program_prefix): Replaced by test_program_prefix.
9782 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9783 (test_program_prefix): This.
9784 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9785 with $(host-test-program-cmd).
9786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9787 $(run-program-prefix) with $(test-program-prefix).
9788 ($(objpfx)tst-printf.out): Likewise.
9789 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9790 $(test-program-cmd).
9791 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9792 (test_program_prefix): This.
9793 * stdio-common/tst-unbputc.sh: Likewise.
9794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9795 $(run-program-prefix) with $(test-program-prefix).
9796 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9797 (test_program_prefix): This.
9798 * string/Makefile ($(objpfx)tst-svc.out): Replace
9799 $(built-program-cmd) with $(test-program-cmd).
9801 2013-01-11 Andreas Jaeger <aj@suse.de>
9804 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9805 value. Sync with Linux 3.7.
9807 2013-01-10 David S. Miller <davem@davemloft.net>
9809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9813 2013-01-10 Roland McGrath <roland@hack.frob.com>
9815 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9817 * configure: Regenerated.
9819 2013-01-10 David S. Miller <davem@davemloft.net>
9821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9822 sparc V9 rather than using V8 code.
9823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9826 2013-01-10 Roland McGrath <roland@hack.frob.com>
9828 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9829 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9830 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9831 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9832 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9833 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9834 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9835 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9836 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9837 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9838 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9839 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9840 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9841 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9842 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9843 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9844 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9845 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9846 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9847 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9848 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9849 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9850 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9851 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9852 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9853 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9854 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9856 2013-01-10 David S. Miller <davem@davemloft.net>
9858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9860 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9862 * posix/Makefile (tests-static): New variable.
9863 (tests): Add $(tests-static).
9864 (tst-exec-static-ARGS): New variable.
9865 (tst-spawn-static-ARGS): Likewise.
9866 * posix/tst-exec-static.c: New file.
9867 * posix/tst-spawn-static.c: Likewise.
9868 * posix/tst-exec.c: Support run directly.
9869 * posix/tst-spawn.c: Likewise.
9871 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9873 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9875 * math/bits/mathcalls.h (llrint): Likewise.
9876 (llround): Likewise.
9877 * stdlib/stdlib.h (struct drand48_data): Likewise.
9878 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9879 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9885 (elf_greg_t): Likewise.
9886 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9887 (__jmp_buf): Likewise.
9888 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9890 (llrint): Likewise, for all definitions.
9891 (llrintl): Likewise.
9893 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9894 Remove [__GNUC__] condition.
9895 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9896 condition to just [__USE_ISOC99].
9897 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9899 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9902 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9903 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9905 (_POSIX_V6_ILP32_OFF32): Likewise.
9906 (_XBS5_ILP32_OFF32): Likewise.
9907 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9908 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9910 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9912 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9915 doubles __mpexp_twomm1. Adjust usage.
9916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9919 2013-01-10 Andreas Schwab <schwab@suse.de>
9922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9923 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9925 2013-01-09 David S. Miller <davem@davemloft.net>
9928 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9929 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9930 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9931 TCP_FASTOPEN): Define.
9932 (tcp_repair_opt): New structure.
9933 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9935 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9936 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9937 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9938 (tcp_cookie_transactions): New structure.
9940 2013-01-09 Anton Blanchard <anton@samba.org>
9942 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9947 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9949 * include/features.h (__USE_ANSI): Remove.
9951 2013-01-09 Roland McGrath <roland@hack.frob.com>
9953 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9955 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9957 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9959 * sysdeps/s390/fpu/libm-test-ulps: Update.
9961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9968 (__mp_dbl): Likewise.
9969 (__dbl_mp): Likewise.
9970 (add_magnitudes): Likewise.
9971 (sub_magnitudes): Likewise.
9977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9982 (__mp_dbl): Likewise.
9983 (__dbl_mp): Likewise.
9984 (add_magnitudes): Likewise.
9985 (sub_magnitudes): Likewise.
9991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9996 (__mp_dbl): Likewise.
9997 (__dbl_mp): Likewise.
9998 (add_magnitudes): Likewise.
9999 (sub_magnitudes): Likewise.
10006 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10008 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10009 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10010 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10011 2 && __USE_EXTERN_INLINES]: Likewise.
10013 2013-01-08 Andreas Jaeger <aj@suse.de>
10016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10018 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10021 2013-01-07 Anton Blanchard <anton@samba.org>
10023 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10024 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10025 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10029 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10047 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10067 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10069 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10070 (__MALLOC_PMT): Likewise.
10071 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10072 [__GNUC__], only on [_LIBC].
10073 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10074 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10075 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10076 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10077 forward declaration.
10078 (realloc_hook_ini): Likewise.
10079 (memalign_hook_ini): Likewise.
10080 (__libc_memalign): Do not use __MALLOC_PMT in variable
10082 (__libc_valloc): Likewise.
10083 (__libc_pvalloc): Likewise.
10084 (__libc_calloc): Likewise.
10085 (__posix_memalign): Likewise.
10088 * math/s_casinh.c: Include <float.h>.
10089 (__casinh): Do not do computation with squaring and square root
10090 for large arguments.
10091 * math/s_casinhf.c: Include <float.h>.
10092 (__casinhf): Do not do computation with squaring and square root
10093 for large arguments.
10094 * math/s_casinhl.c: Include <float.h>.
10095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10096 (__casinhl): Do not do computation with squaring and square root
10097 for large arguments.
10098 * math/libm-test.inc (casin_test): Add more tests.
10099 (casinh_test): Likewise.
10100 * sysdeps/i386/fpu/libm-test-ulps: Update.
10101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10103 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10106 (__x86_64_raw_data_cache_size): Likewise.
10107 (__x86_64_data_cache_size_half): Likewise.
10108 (__x86_64_raw_data_cache_size_half): Likewise.
10109 (__x86_64_shared_cache_size): Likewise.
10110 (__x86_64_raw_shared_cache_size): Likewise.
10111 (__x86_64_shared_cache_size_half): Likewise.
10112 (__x86_64_raw_shared_cache_size_half): Likewise.
10113 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10115 (__x86_data_cache_size): This.
10116 (__x86_64_raw_data_cache_size): Renamed to ...
10117 (__x86_raw_data_cache_size): This.
10118 (__x86_64_data_cache_size_half): Renamed to ...
10119 (__x86_data_cache_size_half): This.
10120 (__x86_64_raw_data_cache_size_half): Renamed to ...
10121 (__x86_raw_data_cache_size_half): This.
10122 (__x86_64_shared_cache_size): Renamed to ...
10123 (__x86_shared_cache_size): This.
10124 (__x86_64_raw_shared_cache_size): Renamed to ...
10125 (__x86_raw_shared_cache_size): This.
10126 (__x86_64_shared_cache_size_half): Renamed to ...
10127 (__x86_shared_cache_size_half): This.
10128 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10129 (__x86_raw_shared_cache_size_half): This.
10130 * sysdeps/x86_64/memcpy.S: Updated.
10131 * sysdeps/x86_64/memset.S: Likewise.
10132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10136 2013-01-04 David S. Miller <davem@davemloft.net>
10138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10140 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10143 1 to avoid redefinition warning.
10144 (__USE_GNU): Don't define.
10145 (init_signaling_nan): Protoize.
10147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10149 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10151 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10153 (__cpymn): Likewise.
10154 (norm): Remove commented code.
10155 (denorm): Likewise.
10156 (__mp_dbl): Likewise.
10158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10159 (__cpymn): Likewise.
10160 (norm): Remove commented code.
10161 (denorm): Likewise.
10162 (__mp_dbl): Likewise.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10166 mp_no value for 1.0 and 2.0.
10167 (norm): Use RADIXI instead of radixi.d.
10168 (denorm): Likewise.
10169 (__mul): Use 0.0 instead of zero.d.
10170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10171 mp_no value for 1.0 and 2.0.
10172 (norm): Use RADIXI instead of radixi.d.
10173 (denorm): Likewise.
10174 (__mul): Use 0.0 instead of zero.d.
10176 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10179 * math/s_casinh.c (__casinh): Reduce finite argument to first
10180 quadrant then set signs of results at the end.
10181 * math/s_casinhf.c (__casinhf): Likewise.
10182 * math/s_casinhl.c (__casinhl): Likewise.
10183 * math/libm-test.inc (casin_test): Add more tests.
10184 (casinh_test): Likewise.
10185 * sysdeps/i386/fpu/libm-test-ulps: Update.
10186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10188 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10190 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10192 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10194 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10196 (denorm): Likewise.
10197 (__mp_dbl): Likewise.
10200 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10201 and adjust the header comment.
10203 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10204 variable name from declaration.
10206 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10209 Initialize COMMON_CPUID_INDEX_7 element.
10210 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10211 (CPUID_RTM): Likewise.
10212 (HAS_RTM): Likewise.
10213 (COMMON_CPUID_INDEX_7): New enum.
10215 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10218 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10219 size is zero, record memory as freed.
10221 2013-01-03 Andreas Jaeger <aj@suse.de>
10223 * po/ia.po: Add new Interlingua translation.
10225 2012-01-03 Allan McRae <allan@archlinux.org>
10227 * locale/programs/localedef.c: Fix description of '--posix' flag.
10229 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10231 * NEWS: Update dates in second copyright notice.
10232 * README: Update copyright dates in example.
10233 * manual/libc.texinfo: Update copyright dates.
10234 * scripts/test-installation.pl: Update copyright date in --version
10237 * hurd/ctty-input.c: Fix copyright notice formatting.
10238 * hurd/ctty-output.c: Likewise.
10239 * hurd/dtable.c: Likewise.
10240 * hurd/hurd-raise.c: Likewise.
10241 * hurd/hurdprio.c: Likewise.
10242 * hurd/msgportdemux.c: Likewise.
10243 * misc/sys/file.h: Likewise.
10244 * misc/sys/ioctl.h: Likewise.
10245 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10246 * sysdeps/mach/hurd/chdir.c: Likewise.
10247 * sysdeps/mach/hurd/fchdir.c: Likewise.
10248 * sysdeps/mach/hurd/rename.c: Likewise.
10249 * sysdeps/mach/hurd/rmdir.c: Likewise.
10250 * sysdeps/mach/hurd/seekdir.c: Likewise.
10251 * sysdeps/mach/hurd/setsid.c: Likewise.
10252 * sysdeps/posix/wait3.c: Likewise.
10254 * All files with FSF copyright notices: Update copyright dates
10255 using scripts/update-copyrights.
10256 * intl/plural.c: Regenerated.
10257 * locale/programs/charmap-kw.h: Likewise.
10258 * locale/programs/locfile-kw.h: Likewise.
10260 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10262 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10266 calculation loop and add branch prediction.
10268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10269 check access beyond bounds of m1np.
10271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10273 (__inv): Remove local variable MPTWO to use the global
10275 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10279 MP3HALFS static const.
10281 2013-01-01 David S. Miller <davem@davemloft.net>
10283 * po/ca.po: Update from translation team.
10285 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10287 * scripts/update-copyrights: New file.
10288 * Makeconfig: Reformat copyright notice.
10289 * ctype/ctype.h: Likewise.
10290 * debug/swprintf_chk.c: Likewise.
10291 * elf/dl-cache.c: Likewise.
10292 * elf/dl-debug.c: Likewise.
10293 * elf/dl-object.c: Likewise.
10294 * grp/initgroups.c: Likewise.
10295 * hurd/Makefile: Likewise.
10296 * hurd/hurd/signal.h: Likewise.
10297 * hurd/hurdfault.c: Likewise.
10298 * hurd/hurdioctl.c: Likewise.
10299 * hurd/hurdlookup.c: Likewise.
10300 * hurd/intr-msg.c: Likewise.
10301 * iconv/gconv_open.c: Likewise.
10302 * libio/swprintf.c: Likewise.
10303 * locale/lc-ctype.c: Likewise.
10304 * locale/nl_langinfo.c: Likewise.
10305 * mach/Machrules: Likewise.
10306 * mach/Makefile: Likewise.
10307 * malloc/obstack.h: Likewise.
10308 * manual/Makefile: Likewise.
10309 * manual/tsort.awk: Likewise.
10310 * misc/bits/stab.def: Likewise.
10311 * nis/nis_print_group_entry.c: Likewise.
10312 * nis/nis_table.c: Likewise.
10313 * nis/nss_compat/compat-pwd.c: Likewise.
10314 * nis/nss_compat/compat-spwd.c: Likewise.
10315 * po/Makefile: Likewise.
10316 * posix/fnmatch.c: Likewise.
10317 * posix/regex.h: Likewise.
10318 * resolv/Makefile: Likewise.
10319 * resolv/nss_dns/dns-network.c: Likewise.
10320 * resolv/res_hconf.c: Likewise.
10321 * scripts/gen-sorted.awk: Likewise.
10322 * soft-fp/soft-fp.h: Likewise.
10323 * stdio-common/printf.h: Likewise.
10324 * stdlib/monetary.h: Likewise.
10325 * stdlib/random.c: Likewise.
10326 * stdlib/random_r.c: Likewise.
10327 * sysdeps/generic/Makefile: Likewise.
10328 * sysdeps/gnu/Makefile: Likewise.
10329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10357 * sysdeps/mach/hurd/errnos.awk: Likewise.
10358 * sysdeps/mach/hurd/fork.c: Likewise.
10359 * sysdeps/mach/hurd/getcwd.c: Likewise.
10360 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10361 * sysdeps/mach/hurd/mmap.c: Likewise.
10362 * sysdeps/mach/hurd/utimes.c: Likewise.
10363 * sysdeps/mach/hurd/xmknod.c: Likewise.
10364 * sysdeps/posix/profil.c: Likewise.
10365 * sysdeps/posix/readdir_r.c: Likewise.
10366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10367 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10369 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10377 * sysdeps/pthread/lio_listio.c: Likewise.
10378 * sysdeps/sparc/dl-procinfo.h: Likewise.
10379 * sysdeps/unix/i386/sysdep.S: Likewise.
10380 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10381 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10382 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10383 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10385 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10386 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10387 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10388 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10389 * sysdeps/wordsize-32/divdi3.c: Likewise.
10390 * time/sys/time.h: Likewise.
10391 * wcsmbs/Makefile: Likewise.
10393 2013-01-01 David S. Miller <davem@davemloft.net>
10395 * po/fr.po: Update from translation team.
10397 * catgets/gencat.c: Update copyright year.
10398 * csu/version.c: Likewise.
10399 * debug/catchsegv.sh: Likewise.
10400 * debug/pcprofiledump.c: Likewise.
10401 * debug/xtrace.sh: Likewise.
10402 * elf/ldconfig.c: Likewise.
10403 * elf/ldd.bash.in: Likewise.
10404 * elf/pldd.c: Likewise.
10405 * elf/sotruss.ksh: Likewise.
10406 * elf/sprof.c: Likewise.
10407 * iconv/iconv_prog.c: Likewise.
10408 * iconv/iconvconfig.c: Likewise.
10409 * locale/programs/locale.c: Likewise.
10410 * locale/programs/localedef.c: Likewise.
10411 * login/programs/pt_chown.c: Likewise.
10412 * malloc/memusage.sh: Likewise.
10413 * malloc/memusagestat.c: Likewise.
10414 * malloc/mtrace.pl: Likewise.
10415 * nscd/nscd.c: Likewise.
10416 * nss/getent.c: Likewise.
10417 * nss/makedb.c: Likewise.
10418 * posix/getconf.c: Likewise.
10420 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10422 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10425 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10427 * math/bits/mathcalls.h (modf): Use __nonnull.
10429 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10431 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10432 (split): Use macro CN instead of the bare value.
10433 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10436 instead of the bare value.
10437 (power1): Likewise.
10439 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10445 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10449 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10450 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10452 2012-12-28 Andreas Jaeger <aj@suse.de>
10454 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10455 values are from Linux 3.7.
10457 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10458 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10462 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10468 variables with preprocessor constants.
10469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10473 2012-12-27 Bruno Haible <bruno@clisp.org>
10476 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10479 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10482 and use variable directly.
10483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10492 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10493 include directive. Remove local variable MPONE.
10494 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10498 2012-12-25 David S. Miller <davem@davemloft.net>
10500 * version.h (RELEASE): Set to "development".
10501 (VERSION): Set to "2.17.90".
10502 * NEWS: Add 2.18 section.
10504 2012-12-21 David S. Miller <davem@davemloft.net>
10506 * po/hr.po: Update from translation team.
10508 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10510 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10512 2012-12-19 Steve Ellcey <sellcey@mips.com>
10514 * NEWS: Mention new memcpy for MIPS.
10516 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10518 * manual/contrib.texi (Contributors): Spelling correction.
10520 2012-12-15 David S. Miller <davem@davemloft.net>
10522 * po/ru.po: Update from translation team.
10524 2012-12-13 David S. Miller <davem@davemloft.net>
10526 * NEWS: Mention IFUNC testsuite enhancements.
10528 * po/pl.po: Update from translation team.
10529 * po/bg.po: Likewise.
10531 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10532 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10534 2012-12-11 David S. Miller <davem@davemloft.net>
10536 * po/sv.po: Update from translation team.
10538 * po/vi.po: Update from translation team.
10540 * po/cs.po: Update from translation team.
10542 * po/de.po: Update from translation team.
10543 * po/eo.po: Likewise.
10544 * po/nl.po: Likewise.
10546 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10549 * manual/argp.texi (Argp Helper Functions): Move node to follow
10550 Argp Parsing State.
10553 * manual/conf.texi (Limits on File System Capacity): Mention if
10554 terminating null is included in the max size.
10556 2012-12-10 Andreas Jaeger <aj@suse.de>
10558 * po/cs.po: Update from translation team.
10560 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10562 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10563 void pointer and cast to uintptr_t.
10564 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10566 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10567 * sysdeps/s390/s390-64/memset.S: Likewise.
10569 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10572 * menual/message.texi (Message Translation): Fix typos.
10573 (Helper programs for gettext): Likewise.
10575 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10578 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10581 2012-12-07 David S. Miller <davem@davemloft.net>
10583 * po/libc.pot: Update.
10585 2012-12-07 Richard Henderson <rth@redhat.com>
10588 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10589 normal/normal case to before the switch.
10590 (_FP_DIV): Likewise.
10592 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10593 Mike Frysinger <vapier@gentoo.org>
10595 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10596 check for __NR_fadvise64_64.
10598 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10600 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10601 0, not just to plain "0" as a statement.
10602 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10605 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10607 * NEWS: Use sourceware.org in Bugzilla URL.
10609 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10614 * stdio-common/tst-put-error.c (do_test): Add newline to the
10615 padded test to ensure flush.
10617 2012-12-05 Jeff Law <law@redhat.com>
10619 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10621 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10623 * README: Don't refer to ports add-on as distributed separately.
10624 Mention AArch64 in list of systems supported in the ports add-on.
10626 * LICENSES: Add more non-FSF copyright and license notices.
10628 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10631 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10633 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10634 10000 as width of padded output.
10636 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10638 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10641 variable LX with __attribute__ ((unused)).
10642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10644 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10647 with __attribute__ ((unused)).
10649 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10651 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10653 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10655 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10656 (CFLAGS-nldbl-acos.c): New variable.
10657 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10658 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10659 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10660 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10661 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10662 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10663 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10664 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10665 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10666 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10667 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10668 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10669 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10670 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10671 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10672 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10673 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10674 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10675 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10676 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10677 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10678 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10679 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10680 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10681 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10682 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10683 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10684 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10685 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10686 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10687 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10688 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10689 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10690 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10691 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10692 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10693 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10694 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10695 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10696 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10697 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10698 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10699 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10700 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10701 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10702 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10703 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10704 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10705 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10706 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10707 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10708 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10709 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10710 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10711 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10712 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10713 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10714 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10715 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10716 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10717 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10718 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10719 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10720 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10721 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10722 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10723 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10724 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10725 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10726 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10727 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10728 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10729 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10730 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10731 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10732 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10733 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10734 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10735 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10736 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10737 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10738 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10739 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10740 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10741 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10742 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10743 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10744 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10745 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10746 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10747 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10748 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10749 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10750 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10751 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10752 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10753 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10760 whole low double instead of just low 47 bits when splitting values
10763 2012-12-03 Allan McRae <allan@archlinux.org>
10765 * manual/stdio.texi (Predefined Printf Handlers): Remove
10766 @hsep and @vsep usage.
10768 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10770 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10771 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10773 2012-12-03 Jeff Law <law@redhat.com>
10775 * time/sys/time.h (settimeofday): Do not mark TV argument
10778 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10780 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10781 when currently writing and seek to current position when not.
10782 * libio/Makefile (tests): Remove bug-fclose1.
10783 * libio/bug-fclose1.c: Delete.
10785 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10787 * manual/arith.texi (feenableexcept): Fix typo.
10788 (fedisableexcept): Likewise.
10790 2012-11-30 Roland McGrath <roland@hack.frob.com>
10792 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10793 second, differently-typed declaration, rather than a cast.
10795 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10797 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10798 * include/rpc/svc.h: ... here.
10800 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10803 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10804 depending n and resplen2 to catch cases where answer
10807 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10810 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10812 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10816 2012-11-29 Roland McGrath <roland@hack.frob.com>
10818 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10820 2012-11-28 Jeff Law <law@redhat.com>
10823 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10824 dataset_temporary. Track alloca usage into alloca_used.
10825 If dataset is large allocate and release it via malloc/free.
10827 2012-06-04 Florian Weimer <fweimer@redhat.com>
10830 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10832 2012-11-28 David S. Miller <davem@davemloft.net>
10834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10836 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10839 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10840 of pi/2 rounded to nearest to 64 bits.
10841 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10842 nearest to 64 bits.
10843 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10846 2012-11-28 Jeff Law <law@redhat.com>
10847 Martin Osvald <mosvald@redhat.com>
10850 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10851 * sunrpc/svc.c: Include time.h.
10852 (__svc_accept_failed): New function.
10853 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10854 any reason other than EINTR, call __svc_accept_failed.
10855 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10856 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10858 2012-11-28 Andreas Schwab <schwab@suse.de>
10860 * scripts/abilist.awk: Also handle indirect functions in .opd
10863 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10866 * sysdeps/x86/fpu/powl_helper.c: New file.
10867 * sysdeps/x86/fpu/Makefile: Likewise.
10868 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10870 (__ieee754_powl): Use __powl_helper for finite arguments except
10871 integer exponents below 8.
10872 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10874 (__ieee754_powl): Use __powl_helper for finite arguments except
10875 integer exponents below 8.
10876 * math/libm-test.inc (pow_test): Add more tests and enable some
10877 previously disabled tests.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10882 Carlos O'Donell <carlos_odonell@mentor.com>
10884 * nss/makedb.c (is_prime): Assert that input is odd and greater
10885 than 4. Note that fact in a comment too.
10886 (next_prime): Add 4 to input.
10888 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10891 * libio/Makefile (tests): Add test case tst-fwrite-error.
10892 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10893 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10894 * libio/tst-fwrite-error.c: New test case.
10896 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10898 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10899 before casting to void *.
10900 * include/libc-internal.h (__pointer_type): New macro.
10901 (__integer_if_pointer_type_sub): Likewise.
10902 (__integer_if_pointer_type): Likewise.
10903 (cast_to_integer): Likewise.
10904 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10905 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10906 before casting to atomic64_t.
10907 (atomic_exchange_acq): Likewise.
10908 (__arch_exchange_and_add_body): Likewise.
10909 (__arch_add_body): Likewise.
10910 (atomic_add_negative): Likewise.
10911 (atomic_add_zero): Likewise.
10913 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10915 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10916 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10917 (add_fdes): Likewise.
10918 (linear_search_fdes): Likewise.
10919 (binary_search_unencoded_fdes): Likewise.
10921 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10923 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10925 2012-11-24 Adam Conrad <adconrad@0c3.net>
10927 * configure.in: Autodetect C++ header directories.
10928 * configure: Regenerated.
10930 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10932 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10934 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10938 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10940 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10941 LDBL_MANT_DIG == 106]: Disable some tests.
10942 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10944 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10949 input for small inputs. Return +/- pi/2 for large inputs.
10950 * math/libm-test.inc (atan_test): Add more tests.
10952 * sysdeps/generic/unwind-dw2-fde-glibc.c
10953 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10954 __attribute__ ((unused)).
10957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10958 x * y if x and y are nonzero and z is zero.
10961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10962 nonzero exponents with absolute value below 0x1p-117 to +/-
10966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10967 up arguments below 2**-450, not just those below 2**-500.
10968 * math/libm-test.inc (hypot_test): Add another test.
10971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10972 Return a+b for ratio over 2**120, not 2**60.
10973 * math/libm-test.inc (hypot_test): Add another test.
10975 * math/libm-test.inc (clog_test): Use
10976 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10977 (clog10_test): Likewise.
10980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10982 2012-11-22 Andreas Schwab <schwab@suse.de>
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10986 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10988 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10989 printf output with newline.
10991 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10994 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10995 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10996 -z nodlopen, -z initfirst and -z execstack support.
10997 * configure: Regenerated.
10999 * elf/elf.h (DF_1_NODIRECT): New macro.
11000 (DF_1_IGNMULDEF): Likewise.
11001 (DF_1_NOKSYMS): Likewise.
11002 (DF_1_NOHDR): Likewise.
11003 (DF_1_EDITED): Likewise.
11004 (DF_1_NORELOC): Likewise.
11005 (DF_1_SYMINTPOSE): Likewise.
11006 (DF_1_GLOBAUDIT): Likewise.
11007 (DF_1_SINGLETON): Likewise.
11008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11009 DT_1_SUPPORTED_MASK bits.
11010 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11012 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11014 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11016 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11018 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11021 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11022 (sendmmsg): Move declarations...
11023 * socket/sys/socket.h: ... here.
11024 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11025 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11027 * socket/recvmmsg.c: ... this new file.
11028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11029 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11030 definition of __sendmmsg hidden.
11031 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11032 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11033 Move ENOSYS stub into and include it from...
11034 * socket/sendmmsg.c: ... this new file.
11035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11036 (sysdep_routines): Move recvmmsg and sendmmsg...
11037 * socket/Makefile (routines): ... here.
11038 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11039 (GLIBC_PRIVATE): Add __sendmmsg.
11040 * include/sys/socket.h (__sendmmsg): Add declarations.
11041 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11044 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11047 variable I1 with __attribute__ ((unused)).
11048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11050 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11052 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11053 DUMMY variables with __attribute__ ((unused)).
11055 * bits/byteswap.h: Include <bits/types.h>.
11056 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11058 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11060 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11061 string_t. Do not manually set errno.
11062 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11063 length with __strnlen. Make sure to both set errno and return it on
11066 2012-11-19 David S. Miller <davem@davemloft.net>
11068 With help from Joseph Myers.
11069 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11070 very large arguments properly.
11071 * math/libm-test.inc (atan_test): New tests.
11072 (atan2_test): New tests.
11073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11076 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11079 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11082 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11083 [POSIX] (EADDRNOTAVAIL): Likewise.
11084 [POSIX] (EAFNOSUPPORT): Likewise.
11085 [POSIX] (EALREADY): Likewise.
11086 [POSIX] (ECONNABORTED): Likewise.
11087 [POSIX] (ECONNREFUSED): Likewise.
11088 [POSIX] (ECONNRESET): Likewise.
11089 [POSIX] (EDESTADDRREQ): Likewise.
11090 [POSIX] (EDQUOT): Likewise.
11091 [POSIX] (EHOSTUNREACH): Likewise.
11092 [POSIX] (EIDRM): Likewise.
11093 [POSIX] (EISCONN): Likewise.
11094 [POSIX] (ELOOP): Likewise.
11095 [POSIX] (EMULTIHOP): Likewise.
11096 [POSIX] (ENETDOWN): Likewise.
11097 [POSIX] (ENETUNREACH): Likewise.
11098 [POSIX] (ENOBUFS): Likewise.
11099 [POSIX] (ENODATA): Likewise.
11100 [POSIX] (ENOLINK): Likewise.
11101 [POSIX] (ENOMSG): Likewise.
11102 [POSIX] (ENOPROTOOPT): Likewise.
11103 [POSIX] (ENOSR): Likewise.
11104 [POSIX] (ENOSTR): Likewise.
11105 [POSIX] (ENOTCONN): Likewise.
11106 [POSIX] (ENOTSOCK): Likewise.
11107 [POSIX] (EOPNOTSUPP): Likewise.
11108 [POSIX] (EOVERFLOW): Likewise.
11109 [POSIX] (EPROTO): Likewise.
11110 [POSIX] (EPROTONOSUPPORT): Likewise.
11111 [POSIX] (EPROTOTYPE): Likewise.
11112 [POSIX] (ESTALE): Likewise.
11113 [POSIX] (ETIME): Likewise.
11114 [POSIX] (ETXTBSY): Likewise.
11115 [POSIX] (EWOULDBLOCK): Likewise.
11116 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11117 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11118 [POSIX] (SEEK_CUR): Likewise.
11119 [POSIX] (SEEK_END): Likewise.
11120 [POSIX || UNIX98] (mode_t): Do not require.
11121 [POSIX] (off_t): Likewise.
11122 [POSIX] (pid_t): Likewise.
11123 [POSIX] (sys/stat.h): Do not allow header.
11124 [POSIX] (unistd.h): Likewise.
11125 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11126 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11127 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11128 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11130 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11131 sigevent): Specify elements.
11132 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11134 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11135 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11137 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11138 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11139 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11140 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11141 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11142 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11143 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11144 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11145 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11147 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11149 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11162 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11163 Specify lower bound on value.
11164 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11165 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11166 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11167 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11168 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11170 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11171 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11177 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11178 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11183 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11185 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11187 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11192 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11194 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11198 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11203 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11204 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11205 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11206 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11212 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11213 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11214 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11215 specify as optional.
11216 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11220 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11221 [XPG3] (NL_LANGMAX): Likewise.
11222 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11223 [POSIX || XPG3] (NL_NMAX): Likewise.
11224 [POSIX || XPG3] (NL_SETMAX): Likewise.
11225 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11226 [XPG3] (NZERO): Likewise.
11227 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11228 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11229 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11230 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11231 (REG_ERANGE): Expect.
11232 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11234 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11235 Use (void) in prototype.
11236 [POSIX] (*_t): Allow.
11237 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11238 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11239 (WRDE_BADVAL): Expect.
11241 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11243 [XPG3 || XPG4] (O_RSYNC): Likewise.
11244 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11246 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11247 [XPG3 || XPG4] (sigqueue): Likewise.
11248 [XPG3 || XPG4] (sigtimedwait): Likewise.
11249 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11250 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11251 [XPG3 || XPG4] (vsnprintf): Likewise.
11252 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11254 [XPG3 || XPG4] (blksize_t): Likewise.
11255 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11257 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11258 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11259 [XPG3 || XPG4] (struct itimerspec): Likewise.
11260 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11261 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11262 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11263 [XPG3 || XPG4] (clockid_t): Likewise.
11264 [XPG3 || XPG4] (timer_t): Likewise.
11265 [XPG3 || XPG4] (clock_getres): Likewise.
11266 [XPG3 || XPG4] (clock_gettime): Likewise.
11267 [XPG3 || XPG4] (clock_settime): Likewise.
11268 [XPG3 || XPG4] (nanosleep): Likewise.
11269 [XPG3 || XPG4] (timer_create): Likewise.
11270 [XPG3 || XPG4] (timer_delete): Likewise.
11271 [XPG3 || XPG4] (timer_gettime): Likewise.
11272 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11273 [XPG3 || XPG4] (timer_settime): Likewise.
11274 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11275 [XPG3 || XPG4] (getlogin_r): Likewise.
11276 [XPG3 || XPG4] (pread): Likewise.
11277 [XPG3 || XPG4] (pthread_atfork): Likewise.
11278 [XPG3 || XPG4] (pwrite): Likewise.
11281 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11284 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11286 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11287 finalizing MALLSTREAM.
11289 * sysdeps/mach/hurd/syncfs.c: New file.
11291 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11295 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11297 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11298 (_nss_dns_gethostbyname4_r): Likewise.
11299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11300 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11302 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11305 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11307 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11309 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11310 * elf/cache.c (print_entry): Print ",AArch64" for
11313 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11314 * elf/cache.c (print_entry): Print ",hard-float" for
11317 2012-11-18 David S. Miller <davem@davemloft.net>
11319 With help from Joseph Myers.
11320 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11322 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11324 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11325 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11328 * math/libm-test.inc (y0_test): New tests.
11329 (y1_test): New tests.
11330 * sysdeps/i386/fpu/libm-test-ulps: Update.
11331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11334 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11336 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11338 * configure: Regenerated.
11340 2012-11-17 David S. Miller <davem@davemloft.net>
11343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11344 nonzero exponents with absolute value below 0x1p-128 to +/-
11347 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11349 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11351 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11353 * posix/getconf-speclist.c: New file.
11354 * posix/posix-envs.def: Likewise.
11355 * posix/confstr.c (START_ENV_GROUP): New macro.
11356 (END_ENV_GROUP): Likewise.
11357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11358 (KNOWN_PRESENT_ENV_STRING): Likewise.
11359 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11360 (UNKNOWN_ENVIRONMENT): Likewise.
11361 (confstr): Include posix-envs.def instead of handling
11362 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11363 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11364 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11365 (END_ENV_GROUP): Likewise.
11366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11368 (UNKNOWN_ENVIRONMENT): Likewise.
11369 (__sysconf): Include posix-envs.def instead of handling associated
11370 cases directly here.
11371 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11372 preprocessing getconf-speclist.c rather than running getconf or
11373 generating empty file.
11375 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11377 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11379 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11382 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11384 2012-11-16 David S. Miller <davem@davemloft.net>
11386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11387 smaller than LDBL_EPSILON/2.0L, just return xm1.
11389 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11391 * elf/tst-array1.c (init): Set constructor priority to 1000.
11392 (fini): Set destructor priority to 1000.
11393 * elf/tst-array2dep.c: Likewise.
11395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11398 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11399 (_IO_new_file_xsputn): Also return EOF if none of the input
11400 data was written when overflow failed.
11401 * libio/iopadn.c (_IO_padn): Likewise.
11402 * libio/iowpadn.c (_IO_wpadn): Likewise.
11403 * stdio-common/tst-put-error.c: Add copyright notice.
11404 (do_test): Add case for printing padded string.
11405 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11406 _IO_padn returned error.
11407 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11408 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11411 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11413 * libio/libioP.h: Add comment note that the references to C++
11414 bits are now obsolete.
11416 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11418 * math/libm-test.inc (check_complex): Use asprintf.
11420 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11422 * debug/pcprofiledump.c (print_version): Update copyright year.
11423 * malloc/memusagestat.c (print_version): Likewise.
11425 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11428 * elf/Makefile (tests): Add tst-audit8.
11429 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11430 ($(objpfx)tst-audit8.out): New target.
11431 (tst-audit8-ENV): New variable.
11432 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11433 audit if l_reloc_result is NULL.
11434 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11435 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11436 * elf/tst-audit8.c: New file.
11438 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11440 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11441 * misc/Makefile (CFLAGS-select.c): Define.
11442 * posix/Makefile (CFLAGS-pause.c): Define.
11444 2012-11-13 David S. Miller <davem@davemloft.net>
11446 * crypt/Makefile: Move test targets after toplevel Rules
11447 inclusion. Grab any necessary sysdep routines when linking.
11448 * crypt/md5.c (md5_process_block): Remove define, we will always
11449 name it __md5_process_block.
11450 (md5_finish_ctx): Update md5_process_block call.
11451 (md5_stream): Likewise.
11452 (md5_process_bytes): Likewise.
11453 (md5_process_block): Rename to __md5_process_block and move to ...
11454 * crypt/md5-block.c: ... here.
11455 * crypt/sha256.c (sha256_process_block): Move to ...
11456 * crypt/sha256-block.c: ... here.
11457 * crypt/sha512.c (sha512_process_block): Move to ...
11458 * crypt/sha512-block.c: ... here.
11459 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11461 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11462 * sysdeps/sparc/sparc64/multiarch/Makefile
11463 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11465 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11468 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11469 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11470 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11471 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11472 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11473 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11474 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11483 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11485 * timezone/tzselect.ksh: Update from tzcode git revision
11486 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11487 * timezone/zdump.c: Likewise.
11488 * timezone/zic.c: Likewise.
11489 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11490 in TZVERSION setting, not $(PKGVERSION).
11491 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11492 REPORT_BUGS_TO settings.
11495 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11498 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11501 detection to immediately after _FP_ROUND().
11502 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11505 2012-11-11 David S. Miller <davem@davemloft.net>
11507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11509 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11510 __close rather than their public counterparts.
11512 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11514 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11516 [UNIX98] (sem_timedwait): Do not expect.
11517 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11518 [XPG4 || UNIX98] (sockatmark): Do not expect.
11519 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11520 (clock_getcpuclockid): Do not expect.
11521 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11522 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11524 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11525 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11526 [UNIX98] (vwscanf): Likewise.
11527 [UNIX98] (vswscanf): Likewise.
11529 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11531 * timezone/version.h: Remove file.
11532 * timezone/README: Do not refer to version.h.
11533 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11534 $(objpfx)version.h.
11535 ($(objpfx)zdump.o): Likewise.
11536 ($(objpfx)version.h): New target.
11538 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11540 * timezone/README: Don't mention modification to tzselect.ksh.
11541 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11542 work on unmodified tzselect.ksh. Substitute version numbers in
11545 * Makefile (format-me): Remove.
11546 (INSTALL): Adjust indentation. Use commands directly instead of
11547 using $(format-me).
11549 * aclocal.m4 (ACX_PKGVERSION): New macro.
11550 (ACX_BUGURL): Likewise.
11551 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11552 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11553 (REPORT_BUGS_TO): Likewise.
11554 * configure: Regenerated.
11555 * config.h.in (PKGVERSION): New macro.
11556 (REPORT_BUGS_TO): Likewise.
11557 * config.make.in (PKGVERSION): New variable.
11558 (PKGVERSION_TEXI): Likewise.
11559 (REPORT_BUGS_TO): Likewise.
11560 (REPORT_BUGS_TEXI): Likewise.
11561 * Makefile (format-me): Use -I$(common-objpfx)manual.
11562 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11563 ($(common-objpfx)manual/%): New target.
11564 (manual/%): Remove target.
11565 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11566 (print_version): Use PKGVERSION.
11567 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11568 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11569 and REPORT_BUGS_TO.
11570 ($(objpfx)xtrace): Likewise.
11571 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11572 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11573 (print_version): Use PKGVERSION.
11574 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11575 (do_version): Use PKGVERSION.
11576 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11578 (common-ldd-rewrite): Likewise.
11579 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11580 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11581 (print_version): Use PKGVERSION.
11582 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11583 * elf/pldd.c (argp_program_bug_address): Remove variable.
11584 (more_help): New function.
11585 (argp): Use more_help.
11586 (print_version): Use PKGVERSION.
11587 * elf/sln.c (main): Use PKGVERSION.
11588 (usage): Use REPORT_BUGS_TO.
11589 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11590 (top level): Use PKGVERSION.
11591 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11592 (print_version): Use PKGVERSION.
11593 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11594 (print_version): Use PKGVERSION.
11595 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11596 (print_version): Use PKGVERSION.
11597 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11598 (print_version): Use PKGVERSION.
11599 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11600 (print_version): Use PKGVERSION.
11601 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11602 (print_version): Use PKGVERSION.
11603 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11605 ($(objpfx)memusage): Likewise.
11606 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11607 (do_version): Use PKGVERSION.
11608 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11609 (print_version): Use PKGVERSION.
11610 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11611 ($PKGVERSION): New variable.
11612 ($REPORT_BUGS_TO): Likewise.
11613 (usage): Use $REPORT_BUGS_TO.
11614 (top level): Use $PKGVERSION.
11615 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11616 ($(objpfx)pkgvers.texi): New rule.
11617 ($(objpfx)stamp-pkgvers): Likewise.
11618 * manual/install.texi: Include pkgvers.texi.
11619 (--with-pkgversion): Document new configure option.
11620 (--with-bugurl): Likewise.
11621 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11622 than necessarily for this particular distribution. Use
11623 REPORT_BUGS_TO for where to report bugs.
11624 * INSTALL: Regenerated.
11625 * manual/libc.texinfo: Include pkgvers.texi.
11626 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11627 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11628 (print_version): Use PKGVERSION.
11629 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11630 (print_version): Use PKGVERSION.
11631 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11632 (print_version): Use PKGVERSION.
11633 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11634 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11636 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11637 (print_version): Use PKGVERSION.
11638 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11639 (print_version): Use PKGVERSION.
11640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11643 * timezone/checktab.awk: Update from tzcode 2012i.
11644 * timezone/ialloc.c: Likewise.
11645 * timezone/private.h: Likewise.
11646 * timezone/scheck.c: Likewise.
11647 * timezone/tzfile.h: Likewise.
11648 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11649 (TZVERSION): Hardcode tzcode version number.
11650 * timezone/zdump.c: Update from tzcode 2012i.
11651 * timezone/zic.c: Likewise.
11652 * timezone/version.h: New file.
11653 * timezone/README: Describe version.h. Update upstream location.
11656 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11657 (mktemp): Enable declaration.
11658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11675 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11676 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11677 for copies of such integer values.
11678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11681 2012-11-09 Andreas Jaeger <aj@suse.de>
11683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11684 definitions and declarations that are provided by
11685 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11687 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11690 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11691 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11694 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11696 * elf/elf.h: Update comment before AArch64 relocations.
11698 2012-11-07 David S. Miller <davem@davemloft.net>
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11702 (__start_context): Declare.
11703 (__makecontext_ret): Delete.
11704 (__makecontext): Hook up __start_context instead of
11706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11707 (sysdep_routines): Add __start_context when in stdlib.
11709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11712 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11713 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11715 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11716 (READELF): New variable. Use it instead of hardcoded "readelf".
11718 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11720 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11721 * sysdeps/x86/Makefile: Here.
11722 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11723 * sysdeps/x86/tst-xmmymm.sh: This.
11725 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11727 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11729 [UNIX98] (pthread_barrier_t): Do not expect.
11730 [UNIX98] (pthread_barrierattr_t): Likewise.
11731 [UNIX98] (pthread_spinlock_t): Likewise.
11732 [UNIX98] (pthread_barrier_destroy): Likewise.
11733 [UNIX98] (pthread_barrier_init): Likewise.
11734 [UNIX98] (pthread_barrier_wait): Likewise.
11735 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11736 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11737 [UNIX98] (pthread_barrierattr_init): Likewise.
11738 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11739 [UNIX98] (pthread_getcpuclockid): Likewise.
11740 [UNIX98] (pthread_mutex_timedlock): Likewise.
11741 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11742 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11743 [UNIX98] (pthread_sigmask): Likewise.
11744 [UNIX98] (pthread_spin_destroy): Likewise.
11745 [UNIX98] (pthread_spin_init): Likewise.
11746 [UNIX98] (pthread_spin_lock): Likewise.
11747 [UNIX98] (pthread_spin_trylock): Likewise.
11748 [UNIX98] (pthread_spin_unlock): Likewise.
11749 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11751 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11752 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11753 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11754 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11755 [XPG3 || XPG4] (pthread_key_t): Likewise.
11756 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11757 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11758 [XPG3 || XPG4] (pthread_once_t): Likewise.
11759 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11760 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11761 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11762 [XPG3 || XPG4] (pthread_t): Likewise.
11764 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11766 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11769 Change function return type to int.
11771 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11772 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11773 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11774 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11775 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11776 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11777 [!POSIX] (posix_madvise): Likewise.
11778 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11780 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11781 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11782 (mode_t): Likewise.
11783 (posix_mem_offset): Likewise.
11784 (posix_typed_mem_get_info): Likewise.
11785 (posix_typed_mem_open): Likewise.
11787 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11788 Change condition to [XOPEN2K8].
11790 * conform/conformtest.pl: Preprocess allow-header data with -x c
11791 instead of from stdin.
11792 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11793 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11794 [C99-based standards] (cerfc): Likewise.
11795 [C99-based standards] (cexp2): Likewise.
11796 [C99-based standards] (cexpm1): Likewise.
11797 [C99-based standards] (clog10): Likewise.
11798 [C99-based standards] (clog1p): Likewise.
11799 [C99-based standards] (clog2): Likewise.
11800 [C99-based standards] (clgamma): Likewise.
11801 [C99-based standards] (ctgamma): Likewise.
11802 [C99-based standards] (cerff): Likewise.
11803 [C99-based standards] (cerfcf): Likewise.
11804 [C99-based standards] (cexp2f): Likewise.
11805 [C99-based standards] (cexpm1f): Likewise.
11806 [C99-based standards] (clog10f): Likewise.
11807 [C99-based standards] (clog1pf): Likewise.
11808 [C99-based standards] (clog2f): Likewise.
11809 [C99-based standards] (clgammaf): Likewise.
11810 [C99-based standards] (ctgammaf): Likewise.
11811 [C99-based standards] (cerfl): Likewise.
11812 [C99-based standards] (cerfcl): Likewise.
11813 [C99-based standards] (cexp2l): Likewise.
11814 [C99-based standards] (cexpm1l): Likewise.
11815 [C99-based standards] (clog10l): Likewise.
11816 [C99-based standards] (clog1pl): Likewise.
11817 [C99-based standards] (clog2l): Likewise.
11818 [C99-based standards] (clgammal): Likewise.
11819 [C99-based standards] (ctgammal): Likewise.
11820 * conform/data/inttypes.h-data [C99-based standards]: Include
11821 stdint.h-data. Remove all expectations for stdint.h contents.
11822 [C99-based standards] (PRI*): Do not allow.
11823 [C99-based standards] (SCN*): Likewise.
11824 [C99-based standards] (*_t): Likewise.
11825 [C99-based-standards] (PRId8): Expect macro.
11826 [C99-based-standards] (PRIi8): Likewise.
11827 [C99-based-standards] (PRIo8): Likewise.
11828 [C99-based-standards] (PRIu8): Likewise.
11829 [C99-based-standards] (PRIx8): Likewise.
11830 [C99-based-standards] (PRIX8): Likewise.
11831 [C99-based-standards] (SCNd8): Likewise.
11832 [C99-based-standards] (SCNi8): Likewise.
11833 [C99-based-standards] (SCNo8): Likewise.
11834 [C99-based-standards] (SCNu8): Likewise.
11835 [C99-based-standards] (SCNx8): Likewise.
11836 [C99-based-standards] (PRIdLEAST8): Likewise.
11837 [C99-based-standards] (PRIiLEAST8): Likewise.
11838 [C99-based-standards] (PRIoLEAST8): Likewise.
11839 [C99-based-standards] (PRIuLEAST8): Likewise.
11840 [C99-based-standards] (PRIxLEAST8): Likewise.
11841 [C99-based-standards] (PRIXLEAST8): Likewise.
11842 [C99-based-standards] (SCNdLEAST8): Likewise.
11843 [C99-based-standards] (SCNiLEAST8): Likewise.
11844 [C99-based-standards] (SCNoLEAST8): Likewise.
11845 [C99-based-standards] (SCNuLEAST8): Likewise.
11846 [C99-based-standards] (SCNxLEAST8): Likewise.
11847 [C99-based-standards] (PRIdFAST8): Likewise.
11848 [C99-based-standards] (PRIiFAST8): Likewise.
11849 [C99-based-standards] (PRIoFAST8): Likewise.
11850 [C99-based-standards] (PRIuFAST8): Likewise.
11851 [C99-based-standards] (PRIxFAST8): Likewise.
11852 [C99-based-standards] (PRIXFAST8): Likewise.
11853 [C99-based-standards] (SCNdFAST8): Likewise.
11854 [C99-based-standards] (SCNiFAST8): Likewise.
11855 [C99-based-standards] (SCNoFAST8): Likewise.
11856 [C99-based-standards] (SCNuFAST8): Likewise.
11857 [C99-based-standards] (SCNxFAST8): Likewise.
11858 [C99-based-standards] (PRId16): Likewise.
11859 [C99-based-standards] (PRIi16): Likewise.
11860 [C99-based-standards] (PRIo16): Likewise.
11861 [C99-based-standards] (PRIu16): Likewise.
11862 [C99-based-standards] (PRIx16): Likewise.
11863 [C99-based-standards] (PRIX16): Likewise.
11864 [C99-based-standards] (SCNd16): Likewise.
11865 [C99-based-standards] (SCNi16): Likewise.
11866 [C99-based-standards] (SCNo16): Likewise.
11867 [C99-based-standards] (SCNu16): Likewise.
11868 [C99-based-standards] (SCNx16): Likewise.
11869 [C99-based-standards] (PRIdLEAST16): Likewise.
11870 [C99-based-standards] (PRIiLEAST16): Likewise.
11871 [C99-based-standards] (PRIoLEAST16): Likewise.
11872 [C99-based-standards] (PRIuLEAST16): Likewise.
11873 [C99-based-standards] (PRIxLEAST16): Likewise.
11874 [C99-based-standards] (PRIXLEAST16): Likewise.
11875 [C99-based-standards] (SCNdLEAST16): Likewise.
11876 [C99-based-standards] (SCNiLEAST16): Likewise.
11877 [C99-based-standards] (SCNoLEAST16): Likewise.
11878 [C99-based-standards] (SCNuLEAST16): Likewise.
11879 [C99-based-standards] (SCNxLEAST16): Likewise.
11880 [C99-based-standards] (PRIdFAST16): Likewise.
11881 [C99-based-standards] (PRIiFAST16): Likewise.
11882 [C99-based-standards] (PRIoFAST16): Likewise.
11883 [C99-based-standards] (PRIuFAST16): Likewise.
11884 [C99-based-standards] (PRIxFAST16): Likewise.
11885 [C99-based-standards] (PRIXFAST16): Likewise.
11886 [C99-based-standards] (SCNdFAST16): Likewise.
11887 [C99-based-standards] (SCNiFAST16): Likewise.
11888 [C99-based-standards] (SCNoFAST16): Likewise.
11889 [C99-based-standards] (SCNuFAST16): Likewise.
11890 [C99-based-standards] (SCNxFAST16): Likewise.
11891 [C99-based-standards] (PRId32): Likewise.
11892 [C99-based-standards] (PRIi32): Likewise.
11893 [C99-based-standards] (PRIo32): Likewise.
11894 [C99-based-standards] (PRIu32): Likewise.
11895 [C99-based-standards] (PRIx32): Likewise.
11896 [C99-based-standards] (PRIX32): Likewise.
11897 [C99-based-standards] (SCNd32): Likewise.
11898 [C99-based-standards] (SCNi32): Likewise.
11899 [C99-based-standards] (SCNo32): Likewise.
11900 [C99-based-standards] (SCNu32): Likewise.
11901 [C99-based-standards] (SCNx32): Likewise.
11902 [C99-based-standards] (PRIdLEAST32): Likewise.
11903 [C99-based-standards] (PRIiLEAST32): Likewise.
11904 [C99-based-standards] (PRIoLEAST32): Likewise.
11905 [C99-based-standards] (PRIuLEAST32): Likewise.
11906 [C99-based-standards] (PRIxLEAST32): Likewise.
11907 [C99-based-standards] (PRIXLEAST32): Likewise.
11908 [C99-based-standards] (SCNdLEAST32): Likewise.
11909 [C99-based-standards] (SCNiLEAST32): Likewise.
11910 [C99-based-standards] (SCNoLEAST32): Likewise.
11911 [C99-based-standards] (SCNuLEAST32): Likewise.
11912 [C99-based-standards] (SCNxLEAST32): Likewise.
11913 [C99-based-standards] (PRIdFAST32): Likewise.
11914 [C99-based-standards] (PRIiFAST32): Likewise.
11915 [C99-based-standards] (PRIoFAST32): Likewise.
11916 [C99-based-standards] (PRIuFAST32): Likewise.
11917 [C99-based-standards] (PRIxFAST32): Likewise.
11918 [C99-based-standards] (PRIXFAST32): Likewise.
11919 [C99-based-standards] (SCNdFAST32): Likewise.
11920 [C99-based-standards] (SCNiFAST32): Likewise.
11921 [C99-based-standards] (SCNoFAST32): Likewise.
11922 [C99-based-standards] (SCNuFAST32): Likewise.
11923 [C99-based-standards] (SCNxFAST32): Likewise.
11924 [C99-based-standards] (PRId64): Likewise.
11925 [C99-based-standards] (PRIi64): Likewise.
11926 [C99-based-standards] (PRIo64): Likewise.
11927 [C99-based-standards] (PRIu64): Likewise.
11928 [C99-based-standards] (PRIx64): Likewise.
11929 [C99-based-standards] (PRIX64): Likewise.
11930 [C99-based-standards] (SCNd64): Likewise.
11931 [C99-based-standards] (SCNi64): Likewise.
11932 [C99-based-standards] (SCNo64): Likewise.
11933 [C99-based-standards] (SCNu64): Likewise.
11934 [C99-based-standards] (SCNx64): Likewise.
11935 [C99-based-standards] (PRIdLEAST64): Likewise.
11936 [C99-based-standards] (PRIiLEAST64): Likewise.
11937 [C99-based-standards] (PRIoLEAST64): Likewise.
11938 [C99-based-standards] (PRIuLEAST64): Likewise.
11939 [C99-based-standards] (PRIxLEAST64): Likewise.
11940 [C99-based-standards] (PRIXLEAST64): Likewise.
11941 [C99-based-standards] (SCNdLEAST64): Likewise.
11942 [C99-based-standards] (SCNiLEAST64): Likewise.
11943 [C99-based-standards] (SCNoLEAST64): Likewise.
11944 [C99-based-standards] (SCNuLEAST64): Likewise.
11945 [C99-based-standards] (SCNxLEAST64): Likewise.
11946 [C99-based-standards] (PRIdFAST64): Likewise.
11947 [C99-based-standards] (PRIiFAST64): Likewise.
11948 [C99-based-standards] (PRIoFAST64): Likewise.
11949 [C99-based-standards] (PRIuFAST64): Likewise.
11950 [C99-based-standards] (PRIxFAST64): Likewise.
11951 [C99-based-standards] (PRIXFAST64): Likewise.
11952 [C99-based-standards] (SCNdFAST64): Likewise.
11953 [C99-based-standards] (SCNiFAST64): Likewise.
11954 [C99-based-standards] (SCNoFAST64): Likewise.
11955 [C99-based-standards] (SCNuFAST64): Likewise.
11956 [C99-based-standards] (SCNxFAST64): Likewise.
11957 [C99-based-standards] (PRIdMAX): Likewise.
11958 [C99-based-standards] (PRIiMAX): Likewise.
11959 [C99-based-standards] (PRIoMAX): Likewise.
11960 [C99-based-standards] (PRIuMAX): Likewise.
11961 [C99-based-standards] (PRIxMAX): Likewise.
11962 [C99-based-standards] (PRIXMAX): Likewise.
11963 [C99-based-standards] (SCNdMAX): Likewise.
11964 [C99-based-standards] (SCNiMAX): Likewise.
11965 [C99-based-standards] (SCNoMAX): Likewise.
11966 [C99-based-standards] (SCNuMAX): Likewise.
11967 [C99-based-standards] (SCNxMAX): Likewise.
11968 [C99-based-standards] (PRIdPTR): Likewise.
11969 [C99-based-standards] (PRIiPTR): Likewise.
11970 [C99-based-standards] (PRIoPTR): Likewise.
11971 [C99-based-standards] (PRIuPTR): Likewise.
11972 [C99-based-standards] (PRIxPTR): Likewise.
11973 [C99-based-standards] (PRIXPTR): Likewise.
11974 [C99-based-standards] (SCNdPTR): Likewise.
11975 [C99-based-standards] (SCNiPTR): Likewise.
11976 [C99-based-standards] (SCNoPTR): Likewise.
11977 [C99-based-standards] (SCNuPTR): Likewise.
11978 [C99-based-standards] (SCNxPTR): Likewise.
11979 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11981 * conform/data/stdint.h-data: Update comments to clarify
11983 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11985 [C99-based standards] (INT8_MAX): Likewise.
11986 [C99-based standards] (INT16_MIN): Likewise.
11987 [C99-based standards] (INT16_MAX): Likewise.
11988 [C99-based standards] (INT32_MIN): Likewise.
11989 [C99-based standards] (INT32_MAX): Likewise.
11990 [C99-based standards] (INT64_MIN): Likewise.
11991 [C99-based standards] (INT64_MAX): Likewise.
11992 [C99-based standards] (UINT8_MAX): Likewise.
11993 [C99-based standards] (UINT16_MAX): Likewise.
11994 [C99-based standards] (UINT32_MAX): Likewise.
11995 [C99-based standards] (UINT64_MAX): Likewise.
11996 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11997 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11998 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11999 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12000 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12001 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12002 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12003 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12004 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12005 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12006 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12007 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12008 [C99-based standards] (INT_FAST8_MIN): Likewise.
12009 [C99-based standards] (INT_FAST8_MAX): Likewise.
12010 [C99-based standards] (INT_FAST16_MIN): Likewise.
12011 [C99-based standards] (INT_FAST16_MAX): Likewise.
12012 [C99-based standards] (INT_FAST32_MIN): Likewise.
12013 [C99-based standards] (INT_FAST32_MAX): Likewise.
12014 [C99-based standards] (INT_FAST64_MIN): Likewise.
12015 [C99-based standards] (INT_FAST64_MAX): Likewise.
12016 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12017 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12018 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12019 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12020 [C99-based standards] (INTPTR_MIN): Likewise.
12021 [C99-based standards] (INTPTR_MAX): Likewise.
12022 [C99-based standards] (UINTPTR_MAX): Likewise.
12023 [C99-based standards] (INTMAX_MIN): Likewise.
12024 [C99-based standards] (INTMAX_MAX): Likewise.
12025 [C99-based standards] (UINTMAX_MAX): Likewise.
12026 [C99-based standards] (PTRDIFF_MIN): Likewise.
12027 [C99-based standards] (PTRDIFF_MAX): Likewise.
12028 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12029 [C99-based standards] (SIZE_MAX): Likewise.
12030 [C99-based standards] (WCHAR_MAX): Likewise.
12031 [C99-based standards] (WINT_MAX): Likewise.
12032 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12033 constraint on value.
12034 [C99-based standards] (WCHAR_MIN): Likewise.
12035 [C99-based standards] (WINT_MIN): Likewise.
12036 [C99-based standards] (*_t): Allow.
12037 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12038 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12039 Include math.h-data and complex.h-data. Remove all expectations
12040 of math.h and complex.h contents.
12041 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12043 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12044 (struct tm): Expect tag.
12045 [C99-based-standards] (wcstof): Expect function.
12046 [C99-based-standards] (wcstold): Likewise.
12047 [C99-based-standards] (wcstoll): Likewise.
12048 [C99-based-standards] (wcstoull): Likewise.
12049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12050 macro-int-constant. Specify type.
12051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12052 constraint on value.
12053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12055 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12057 [ISO C standards]: Do not allow headers.
12058 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12059 wcs[abcdefghijklmnopqrstuvwxyz]*.
12060 [ISO C standards] (*_t): Do not allow.
12061 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12063 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12064 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12066 [ISO C standards]: Do not allow headers.
12067 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12068 is[abcdefghijklmnopqrstuvwxyz]*.
12069 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12070 to[abcdefghijklmnopqrstuvwxyz]*.
12071 [ISO C standards] (*_t): Do not allow.
12072 * conform/data/stdalign.h-data: New file.
12073 * conform/data/stdbool.h-data: Likewise.
12074 * conform/data/stdnoreturn.h-data: Likewise.
12076 2012-11-07 Roland McGrath <roland@hack.frob.com>
12079 * manual/filesys.texi (Directory Entries): Typo fix.
12080 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12082 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12084 * elf/elf.h (EM_AARCH64): New macro.
12085 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12086 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12087 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12088 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12089 (R_AARCH64_TLSDESC): Likewise.
12090 (NT_ARM_TLS): Likewise.
12091 (NT_ARM_HW_BREAK): Likewise.
12092 (NT_ARM_HW_WATCH): Likewise.
12094 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12097 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12098 (__ieee754_powl): Saturate nonzero exponents with absolute value
12099 below 0x1p-79 to +/- 0x1p-79.
12100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12101 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12102 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12103 nonzero exponents with absolute value below 0x1p-32 to +/-
12105 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12106 (__ieee754_powl): Saturate nonzero exponents with absolute value
12107 below 0x1p-79 to +/- 0x1p-79.
12108 * math/libm-test.inc (pow_test): Add more tests.
12110 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12113 _dl_s390_cap_flags with kernel. Increase string length.
12114 (_dl_s390_platforms): Add z196 and zEC12.
12116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12118 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12119 Change XOPEN21K to XOPEN2K.
12121 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12123 * string/memmove.c: Use memcpy when possible.
12125 2012-11-06 Andreas Jaeger <aj@suse.de>
12127 * po/eo.po: Update from translation team.
12129 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12133 exponent and small x and y exponents, scale x or y up. Increase
12134 by 2 the exponent used in scaling up.
12135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12137 * math/libm-test.inc (fma_test): Add more tests.
12138 (fma_test_towardzero): Likewise.
12139 (fma_test_downward): Likewise.
12140 (fma_test_upward): Likewise.
12142 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12145 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12149 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12150 namespace for names of struct fields.
12151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12153 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12154 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12156 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12159 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12161 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12163 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12170 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12174 definitely overflow as x * y not x * y + z.
12175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12177 * math/libm-test.inc (fma_test): Add more tests.
12178 (fma_test_towardzero): Likewise.
12179 (fma_test_downward): Likewise.
12180 (fma_test_upward): Likewise.
12182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12186 * include/stub-tag.h: Remove file.
12187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12189 * manual/maint.texi (Porting): Don't reference it.
12190 * Makerules ($(objpfx)stubs): Likewise.
12191 * dirent/closedir.c: Don't include <stub-tag.h>.
12192 * dirent/dirfd.c: Likewise.
12193 * dirent/fdopendir.c: Likewise.
12194 * dirent/getdents.c: Likewise.
12195 * dirent/getdents64.c: Likewise.
12196 * dirent/opendir.c: Likewise.
12197 * dirent/readdir.c: Likewise.
12198 * dirent/readdir64.c: Likewise.
12199 * dirent/readdir64_r.c: Likewise.
12200 * dirent/readdir_r.c: Likewise.
12201 * dirent/rewinddir.c: Likewise.
12202 * dirent/seekdir.c: Likewise.
12203 * dirent/telldir.c: Likewise.
12204 * gmon/profil.c: Likewise.
12205 * grp/setgroups.c: Likewise.
12206 * inet/if_index.c: Likewise.
12207 * io/access.c: Likewise.
12208 * io/chdir.c: Likewise.
12209 * io/chmod.c: Likewise.
12210 * io/chown.c: Likewise.
12211 * io/close.c: Likewise.
12212 * io/dup.c: Likewise.
12213 * io/dup2.c: Likewise.
12214 * io/dup3.c: Likewise.
12215 * io/euidaccess.c: Likewise.
12216 * io/faccessat.c: Likewise.
12217 * io/fchdir.c: Likewise.
12218 * io/fchmod.c: Likewise.
12219 * io/fchmodat.c: Likewise.
12220 * io/fchown.c: Likewise.
12221 * io/fchownat.c: Likewise.
12222 * io/fcntl.c: Likewise.
12223 * io/flock.c: Likewise.
12224 * io/fstatfs.c: Likewise.
12225 * io/fstatfs64.c: Likewise.
12226 * io/fstatvfs.c: Likewise.
12227 * io/fstatvfs64.c: Likewise.
12228 * io/futimens.c: Likewise.
12229 * io/fxstat.c: Likewise.
12230 * io/fxstat64.c: Likewise.
12231 * io/fxstatat.c: Likewise.
12232 * io/fxstatat64.c: Likewise.
12233 * io/getcwd.c: Likewise.
12234 * io/isatty.c: Likewise.
12235 * io/lchmod.c: Likewise.
12236 * io/lchown.c: Likewise.
12237 * io/link.c: Likewise.
12238 * io/linkat.c: Likewise.
12239 * io/lseek.c: Likewise.
12240 * io/lseek64.c: Likewise.
12241 * io/lxstat64.c: Likewise.
12242 * io/mkdir.c: Likewise.
12243 * io/mkdirat.c: Likewise.
12244 * io/mkfifo.c: Likewise.
12245 * io/mkfifoat.c: Likewise.
12246 * io/open.c: Likewise.
12247 * io/open64.c: Likewise.
12248 * io/openat.c: Likewise.
12249 * io/openat64.c: Likewise.
12250 * io/pipe.c: Likewise.
12251 * io/pipe2.c: Likewise.
12252 * io/poll.c: Likewise.
12253 * io/posix_fadvise.c: Likewise.
12254 * io/posix_fadvise64.c: Likewise.
12255 * io/posix_fallocate.c: Likewise.
12256 * io/posix_fallocate64.c: Likewise.
12257 * io/read.c: Likewise.
12258 * io/readlink.c: Likewise.
12259 * io/readlinkat.c: Likewise.
12260 * io/rmdir.c: Likewise.
12261 * io/sendfile.c: Likewise.
12262 * io/sendfile64.c: Likewise.
12263 * io/statfs.c: Likewise.
12264 * io/statfs64.c: Likewise.
12265 * io/statvfs.c: Likewise.
12266 * io/statvfs64.c: Likewise.
12267 * io/symlink.c: Likewise.
12268 * io/symlinkat.c: Likewise.
12269 * io/ttyname.c: Likewise.
12270 * io/ttyname_r.c: Likewise.
12271 * io/umask.c: Likewise.
12272 * io/unlink.c: Likewise.
12273 * io/unlinkat.c: Likewise.
12274 * io/utime.c: Likewise.
12275 * io/utimensat.c: Likewise.
12276 * io/write.c: Likewise.
12277 * io/xmknod.c: Likewise.
12278 * io/xmknodat.c: Likewise.
12279 * io/xstat.c: Likewise.
12280 * io/xstat64.c: Likewise.
12281 * login/getpt.c: Likewise.
12282 * login/grantpt.c: Likewise.
12283 * login/unlockpt.c: Likewise.
12284 * math/e_acoshl.c: Likewise.
12285 * math/e_acosl.c: Likewise.
12286 * math/e_asinl.c: Likewise.
12287 * math/e_atan2l.c: Likewise.
12288 * math/e_atanhl.c: Likewise.
12289 * math/e_coshl.c: Likewise.
12290 * math/e_expl.c: Likewise.
12291 * math/e_fmodl.c: Likewise.
12292 * math/e_gammal_r.c: Likewise.
12293 * math/e_hypotl.c: Likewise.
12294 * math/e_j0l.c: Likewise.
12295 * math/e_j1l.c: Likewise.
12296 * math/e_jnl.c: Likewise.
12297 * math/e_lgammal_r.c: Likewise.
12298 * math/e_log10l.c: Likewise.
12299 * math/e_log2l.c: Likewise.
12300 * math/e_logl.c: Likewise.
12301 * math/e_powl.c: Likewise.
12302 * math/e_rem_pio2l.c: Likewise.
12303 * math/e_sinhl.c: Likewise.
12304 * math/e_sqrtl.c: Likewise.
12305 * math/fclrexcpt.c: Likewise.
12306 * math/fedisblxcpt.c: Likewise.
12307 * math/feenablxcpt.c: Likewise.
12308 * math/fegetenv.c: Likewise.
12309 * math/fegetexcept.c: Likewise.
12310 * math/fegetround.c: Likewise.
12311 * math/feholdexcpt.c: Likewise.
12312 * math/fesetenv.c: Likewise.
12313 * math/fesetround.c: Likewise.
12314 * math/feupdateenv.c: Likewise.
12315 * math/fgetexcptflg.c: Likewise.
12316 * math/fraiseexcpt.c: Likewise.
12317 * math/fsetexcptflg.c: Likewise.
12318 * math/ftestexcept.c: Likewise.
12319 * math/k_cosl.c: Likewise.
12320 * math/k_rem_pio2l.c: Likewise.
12321 * math/k_sinl.c: Likewise.
12322 * math/k_tanl.c: Likewise.
12323 * math/s_asinhl.c: Likewise.
12324 * math/s_atanl.c: Likewise.
12325 * math/s_cbrtl.c: Likewise.
12326 * math/s_erfl.c: Likewise.
12327 * math/s_expm1l.c: Likewise.
12328 * math/s_log1pl.c: Likewise.
12329 * math/s_tanhl.c: Likewise.
12330 * misc/acct.c: Likewise.
12331 * misc/brk.c: Likewise.
12332 * misc/chflags.c: Likewise.
12333 * misc/chroot.c: Likewise.
12334 * misc/fchflags.c: Likewise.
12335 * misc/fgetxattr.c: Likewise.
12336 * misc/flistxattr.c: Likewise.
12337 * misc/fremovexattr.c: Likewise.
12338 * misc/fsetxattr.c: Likewise.
12339 * misc/fsync.c: Likewise.
12340 * misc/ftruncate.c: Likewise.
12341 * misc/futimes.c: Likewise.
12342 * misc/futimesat.c: Likewise.
12343 * misc/getdomain.c: Likewise.
12344 * misc/getdtsz.c: Likewise.
12345 * misc/gethostid.c: Likewise.
12346 * misc/gethostname.c: Likewise.
12347 * misc/getloadavg.c: Likewise.
12348 * misc/getpagesize.c: Likewise.
12349 * misc/getsysstats.c: Likewise.
12350 * misc/getxattr.c: Likewise.
12351 * misc/gtty.c: Likewise.
12352 * misc/ioctl.c: Likewise.
12353 * misc/lgetxattr.c: Likewise.
12354 * misc/listxattr.c: Likewise.
12355 * misc/llistxattr.c: Likewise.
12356 * misc/lremovexattr.c: Likewise.
12357 * misc/lsetxattr.c: Likewise.
12358 * misc/lutimes.c: Likewise.
12359 * misc/madvise.c: Likewise.
12360 * misc/mincore.c: Likewise.
12361 * misc/mlock.c: Likewise.
12362 * misc/mlockall.c: Likewise.
12363 * misc/mmap.c: Likewise.
12364 * misc/mprotect.c: Likewise.
12365 * misc/msync.c: Likewise.
12366 * misc/munlock.c: Likewise.
12367 * misc/munlockall.c: Likewise.
12368 * misc/munmap.c: Likewise.
12369 * misc/preadv.c: Likewise.
12370 * misc/preadv64.c: Likewise.
12371 * misc/ptrace.c: Likewise.
12372 * misc/pwritev.c: Likewise.
12373 * misc/pwritev64.c: Likewise.
12374 * misc/readv.c: Likewise.
12375 * misc/reboot.c: Likewise.
12376 * misc/remap_file_pages.c: Likewise.
12377 * misc/removexattr.c: Likewise.
12378 * misc/revoke.c: Likewise.
12379 * misc/select.c: Likewise.
12380 * misc/setdomain.c: Likewise.
12381 * misc/setegid.c: Likewise.
12382 * misc/seteuid.c: Likewise.
12383 * misc/sethostid.c: Likewise.
12384 * misc/sethostname.c: Likewise.
12385 * misc/setregid.c: Likewise.
12386 * misc/setreuid.c: Likewise.
12387 * misc/setxattr.c: Likewise.
12388 * misc/sstk.c: Likewise.
12389 * misc/stty.c: Likewise.
12390 * misc/swapoff.c: Likewise.
12391 * misc/swapon.c: Likewise.
12392 * misc/sync.c: Likewise.
12393 * misc/syncfs.c: Likewise.
12394 * misc/syscall.c: Likewise.
12395 * misc/truncate.c: Likewise.
12396 * misc/ualarm.c: Likewise.
12397 * misc/usleep.c: Likewise.
12398 * misc/ustat.c: Likewise.
12399 * misc/utimes.c: Likewise.
12400 * misc/vhangup.c: Likewise.
12401 * misc/writev.c: Likewise.
12402 * posix/_exit.c: Likewise.
12403 * posix/alarm.c: Likewise.
12404 * posix/execve.c: Likewise.
12405 * posix/fexecve.c: Likewise.
12406 * posix/fork.c: Likewise.
12407 * posix/fpathconf.c: Likewise.
12408 * posix/getaddrinfo.c: Likewise.
12409 * posix/getegid.c: Likewise.
12410 * posix/geteuid.c: Likewise.
12411 * posix/getgid.c: Likewise.
12412 * posix/getgroups.c: Likewise.
12413 * posix/getlogin.c: Likewise.
12414 * posix/getlogin_r.c: Likewise.
12415 * posix/getpgid.c: Likewise.
12416 * posix/getpid.c: Likewise.
12417 * posix/getppid.c: Likewise.
12418 * posix/getresgid.c: Likewise.
12419 * posix/getresuid.c: Likewise.
12420 * posix/getsid.c: Likewise.
12421 * posix/getuid.c: Likewise.
12422 * posix/glob64.c: Likewise.
12423 * posix/nanosleep.c: Likewise.
12424 * posix/pathconf.c: Likewise.
12425 * posix/pause.c: Likewise.
12426 * posix/posix_madvise.c: Likewise.
12427 * posix/pread.c: Likewise.
12428 * posix/pread64.c: Likewise.
12429 * posix/pwrite.c: Likewise.
12430 * posix/pwrite64.c: Likewise.
12431 * posix/sched_getaffinity.c: Likewise.
12432 * posix/sched_getp.c: Likewise.
12433 * posix/sched_gets.c: Likewise.
12434 * posix/sched_primax.c: Likewise.
12435 * posix/sched_primin.c: Likewise.
12436 * posix/sched_rr_gi.c: Likewise.
12437 * posix/sched_setaffinity.c: Likewise.
12438 * posix/sched_setp.c: Likewise.
12439 * posix/sched_sets.c: Likewise.
12440 * posix/sched_yield.c: Likewise.
12441 * posix/setgid.c: Likewise.
12442 * posix/setlogin.c: Likewise.
12443 * posix/setpgid.c: Likewise.
12444 * posix/setresgid.c: Likewise.
12445 * posix/setresuid.c: Likewise.
12446 * posix/setsid.c: Likewise.
12447 * posix/setuid.c: Likewise.
12448 * posix/sleep.c: Likewise.
12449 * posix/spawni.c: Likewise.
12450 * posix/sysconf.c: Likewise.
12451 * posix/times.c: Likewise.
12452 * posix/wait.c: Likewise.
12453 * posix/wait3.c: Likewise.
12454 * posix/wait4.c: Likewise.
12455 * posix/waitpid.c: Likewise.
12456 * resolv/gai_sigqueue.c: Likewise.
12457 * resource/getpriority.c: Likewise.
12458 * resource/getrlimit.c: Likewise.
12459 * resource/getrusage.c: Likewise.
12460 * resource/nice.c: Likewise.
12461 * resource/setpriority.c: Likewise.
12462 * resource/setrlimit.c: Likewise.
12463 * resource/ulimit.c: Likewise.
12464 * rt/aio_cancel.c: Likewise.
12465 * rt/aio_fsync.c: Likewise.
12466 * rt/aio_read.c: Likewise.
12467 * rt/aio_sigqueue.c: Likewise.
12468 * rt/aio_suspend.c: Likewise.
12469 * rt/aio_write.c: Likewise.
12470 * rt/clock_getres.c: Likewise.
12471 * rt/clock_gettime.c: Likewise.
12472 * rt/clock_nanosleep.c: Likewise.
12473 * rt/clock_settime.c: Likewise.
12474 * rt/lio_listio.c: Likewise.
12475 * rt/mq_close.c: Likewise.
12476 * rt/mq_getattr.c: Likewise.
12477 * rt/mq_notify.c: Likewise.
12478 * rt/mq_open.c: Likewise.
12479 * rt/mq_receive.c: Likewise.
12480 * rt/mq_send.c: Likewise.
12481 * rt/mq_setattr.c: Likewise.
12482 * rt/mq_timedreceive.c: Likewise.
12483 * rt/mq_timedsend.c: Likewise.
12484 * rt/mq_unlink.c: Likewise.
12485 * rt/shm_open.c: Likewise.
12486 * rt/shm_unlink.c: Likewise.
12487 * rt/timer_create.c: Likewise.
12488 * rt/timer_delete.c: Likewise.
12489 * rt/timer_getoverr.c: Likewise.
12490 * rt/timer_gettime.c: Likewise.
12491 * rt/timer_settime.c: Likewise.
12492 * setjmp/__longjmp.c: Likewise.
12493 * setjmp/setjmp.c: Likewise.
12494 * signal/kill.c: Likewise.
12495 * signal/killpg.c: Likewise.
12496 * signal/raise.c: Likewise.
12497 * signal/sigaction.c: Likewise.
12498 * signal/sigaltstack.c: Likewise.
12499 * signal/sigblock.c: Likewise.
12500 * signal/sigignore.c: Likewise.
12501 * signal/sigintr.c: Likewise.
12502 * signal/signal.c: Likewise.
12503 * signal/sigpause.c: Likewise.
12504 * signal/sigpending.c: Likewise.
12505 * signal/sigqueue.c: Likewise.
12506 * signal/sigreturn.c: Likewise.
12507 * signal/sigset.c: Likewise.
12508 * signal/sigsetmask.c: Likewise.
12509 * signal/sigstack.c: Likewise.
12510 * signal/sigsuspend.c: Likewise.
12511 * signal/sigtimedwait.c: Likewise.
12512 * signal/sigvec.c: Likewise.
12513 * signal/sigwait.c: Likewise.
12514 * signal/sigwaitinfo.c: Likewise.
12515 * signal/sysv_signal.c: Likewise.
12516 * socket/accept.c: Likewise.
12517 * socket/accept4.c: Likewise.
12518 * socket/bind.c: Likewise.
12519 * socket/connect.c: Likewise.
12520 * socket/getpeername.c: Likewise.
12521 * socket/getsockname.c: Likewise.
12522 * socket/getsockopt.c: Likewise.
12523 * socket/isfdtype.c: Likewise.
12524 * socket/listen.c: Likewise.
12525 * socket/recv.c: Likewise.
12526 * socket/recvfrom.c: Likewise.
12527 * socket/recvmsg.c: Likewise.
12528 * socket/send.c: Likewise.
12529 * socket/sendmsg.c: Likewise.
12530 * socket/sendto.c: Likewise.
12531 * socket/setsockopt.c: Likewise.
12532 * socket/shutdown.c: Likewise.
12533 * socket/sockatmark.c: Likewise.
12534 * socket/socket.c: Likewise.
12535 * socket/socketpair.c: Likewise.
12536 * stdio-common/ctermid.c: Likewise.
12537 * stdio-common/cuserid.c: Likewise.
12538 * stdio-common/remove.c: Likewise.
12539 * stdio-common/rename.c: Likewise.
12540 * stdio-common/renameat.c: Likewise.
12541 * stdio-common/tempname.c: Likewise.
12542 * stdlib/getcontext.c: Likewise.
12543 * stdlib/makecontext.c: Likewise.
12544 * stdlib/setcontext.c: Likewise.
12545 * stdlib/swapcontext.c: Likewise.
12546 * stdlib/system.c: Likewise.
12547 * streams/fattach.c: Likewise.
12548 * streams/fdetach.c: Likewise.
12549 * streams/getmsg.c: Likewise.
12550 * streams/getpmsg.c: Likewise.
12551 * streams/putmsg.c: Likewise.
12552 * streams/putpmsg.c: Likewise.
12553 * sysdeps/unix/bsd/getpt.c: Likewise.
12554 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12555 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12559 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12561 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12562 * sysvipc/msgctl.c: Likewise.
12563 * sysvipc/msgget.c: Likewise.
12564 * sysvipc/msgrcv.c: Likewise.
12565 * sysvipc/msgsnd.c: Likewise.
12566 * sysvipc/semctl.c: Likewise.
12567 * sysvipc/semget.c: Likewise.
12568 * sysvipc/semop.c: Likewise.
12569 * sysvipc/semtimedop.c: Likewise.
12570 * sysvipc/shmat.c: Likewise.
12571 * sysvipc/shmctl.c: Likewise.
12572 * sysvipc/shmdt.c: Likewise.
12573 * sysvipc/shmget.c: Likewise.
12574 * termios/tcdrain.c: Likewise.
12575 * termios/tcflow.c: Likewise.
12576 * termios/tcflush.c: Likewise.
12577 * termios/tcgetattr.c: Likewise.
12578 * termios/tcgetpgrp.c: Likewise.
12579 * termios/tcsendbrk.c: Likewise.
12580 * termios/tcsetattr.c: Likewise.
12581 * termios/tcsetpgrp.c: Likewise.
12582 * time/adjtime.c: Likewise.
12583 * time/clock.c: Likewise.
12584 * time/getitimer.c: Likewise.
12585 * time/gettimeofday.c: Likewise.
12586 * time/setitimer.c: Likewise.
12587 * time/settimeofday.c: Likewise.
12588 * time/stime.c: Likewise.
12589 * time/time.c: Likewise.
12591 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12593 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12596 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12598 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12600 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12604 FE_TONEAREST before applying Dekker multiplication and Knuth
12605 addition. Clear inexact exceptions and check for exact zero
12606 results afterwards.
12607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12610 * math/libm-test.inc (fma_test): Add more tests.
12611 (fma_test_towardzero): Likewise.
12612 (fma_test_downward): Likewise.
12613 (fma_test_upward): Likewise.
12614 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12616 (libc_fesetround): New macro.
12617 (libc_fesetroundf): Likewise.
12618 (libc_fesetroundl): Likewise.
12619 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12621 (libc_fesetround_387): Likewise.
12622 (libc_fesetroundf): New macro.
12623 (libc_fesetround): Likewise.
12624 (libc_fesetroundl): Likewise.
12625 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12627 (libc_fesetroundf): New macro.
12628 (libc_fesetround): Likewise.
12629 (libc_fesetroundl): Likewise.
12630 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12631 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12632 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12634 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12635 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12638 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12640 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12644 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12645 integer constant usable in #if and use that to give value to enum
12647 (FE_DIVBYZERO): Likewise.
12648 (FE_UNDERFLOW): Likewise.
12649 (FE_OVERFLOW): Likewise.
12650 (FE_INVALID): Likewise.
12651 (FE_INVALID_SNAN): Likewise.
12652 (FE_INVALID_ISI): Likewise.
12653 (FE_INVALID_IDI): Likewise.
12654 (FE_INVALID_ZDZ): Likewise.
12655 (FE_INVALID_IMZ): Likewise.
12656 (FE_INVALID_COMPARE): Likewise.
12657 (FE_INVALID_SOFTWARE): Likewise.
12658 (FE_INVALID_SQRT): Likewise.
12659 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12660 (FE_TONEAREST): Likewise.
12661 (FE_TOWARDZERO): Likewise.
12662 (FE_UPWARD): Likewise.
12663 (FE_DOWNWARD): Likewise.
12664 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12665 (FE_DIVBYZERO): Likewise.
12666 (FE_OVERFLOW): Likewise.
12667 (FE_UNDERFLOW): Likewise.
12668 (FE_INEXACT): Likewise.
12669 (FE_TONEAREST): Likewise.
12670 (FE_DOWNWARD): Likewise.
12671 (FE_UPWARD): Likewise.
12672 (FE_TOWARDZERO): Likewise.
12673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12674 (FE_UNDERFLOW): Likewise.
12675 (FE_OVERFLOW): Likewise.
12676 (FE_DIVBYZERO): Likewise.
12677 (FE_INVALID): Likewise.
12678 (FE_TONEAREST): Likewise.
12679 (FE_TOWARDZERO): Likewise.
12680 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12681 (FE_OVERFLOW): Likewise.
12682 (FE_UNDERFLOW): Likewise.
12683 (FE_DIVBYZERO): Likewise.
12684 (FE_INEXACT): Likewise.
12685 (FE_TONEAREST): Likewise.
12686 (FE_TOWARDZERO): Likewise.
12687 (FE_UPWARD): Likewise.
12688 (FE_DOWNWARD): Likewise.
12689 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12690 (FE_DIVBYZERO): Likewise.
12691 (FE_OVERFLOW): Likewise.
12692 (FE_UNDERFLOW): Likewise.
12693 (FE_INEXACT): Likewise.
12694 (FE_TONEAREST): Likewise.
12695 (FE_DOWNWARD): Likewise.
12696 (FE_UPWARD): Likewise.
12697 (FE_TOWARDZERO): Likewise.
12699 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12701 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12703 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12705 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12706 commands. Quote $PWD.
12707 (blacklist_exports): Don't use remove_newlines. Replace "declare
12709 (remove_newlines): Remove.
12711 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12713 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12714 * stdlib/stdlib.h (atof): Moved to ...
12715 * include/bits/stdlib-float.h: Here. New file.
12716 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12717 * stdlib/bits/stdlib-float.h: New file.
12718 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12723 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12725 * conform/conformtest.pl (@headers): Add fenv.h.
12726 * conform/data/fenv.h-data: New file.
12727 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12728 include of <math/fenv.h>.
12730 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12731 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12732 && !UNIX98]. Enables tests for XOPEN2K8.
12733 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12734 POSIX2008]: Likewise.
12736 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12737 (struct rusage): Do not expect type or its members.
12740 * math/math.h (FP_NAN): Define macro to integer constant usable in
12741 #if and use that to give value to enum constant.
12742 (FP_INFINITE): Likewise.
12743 (FP_ZERO): Likewise.
12744 (FP_SUBNORMAL): Likewise.
12745 (FP_NORMAL): Likewise.
12747 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12749 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12750 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12753 2012-11-02 Roland McGrath <roland@hack.frob.com>
12755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12756 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12757 autoconf-time if not.
12758 * configure.in: Remove AC_PREREQ.
12760 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12763 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12764 of the internal implementation.
12766 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12768 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12769 except include of <misc/sys/syslog.h>.
12771 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12774 function returns with a NULL context exit with zero.
12776 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12778 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12780 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12782 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12783 (run_program_cmd): This.
12784 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12785 (tst_langinfo): New variable. Use it.
12787 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12789 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12790 floating point opcodes.
12792 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12794 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12797 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12799 * sysdeps/mach/hurd/powerpc: Remove directory.
12800 * sysdeps/mach/powerpc: Likewise.
12802 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12804 * scripts/check-local-headers.sh: Ignore c++ headers.
12806 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12808 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12809 __libc_cleanup_region_start argument.
12811 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12816 x * y using scaling, not as x * y + z.
12817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12819 * math/libm-test.inc (fma_test): Add more tests.
12820 (fma_test_towardzero): Likewise.
12821 (fma_test_downward): Likewise.
12822 (fma_test_upward): Likewise.
12824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12826 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12828 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12830 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12833 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12835 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12837 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12844 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12847 Fix the order of the list for glibc 2.17.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12851 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12855 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12859 for low part of x being zero before using __atanl (y).
12860 * math/libm-test.inc (atan2_test): Add another test.
12862 * manual/install.texi (Configuring and compiling): Document
12863 general use of test-wrapper and test-wrapper-env.
12864 * INSTALL: Regenerated.
12866 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12867 (__fma): Do not extract and scale down low bits on after-rounding
12868 systems when result rounded to normal precision would have normal
12870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12871 (__fmal): Do not extract and scale down low bits on after-rounding
12872 systems when result rounded to normal precision would have normal
12874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12875 (__fmal): Do not extract and scale down low bits on after-rounding
12876 systems when result rounded to normal precision would have normal
12878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12880 (fma_test): Add more tests.
12881 (fma_test_towardzero): Likewise.
12882 (fma_test_downward): Likewise.
12883 (fma_test_upward): Likewise.
12885 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12887 * sysdeps/i386/tininess.h: Renamed to ...
12888 * sysdeps/x86/tininess.h: This.
12889 * sysdeps/x86_64/tininess.h: Removed.
12891 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12893 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12894 input. Use $(build-program-cmd).
12895 ($(objpfx)tst-array1-static.out): Likewise.
12896 ($(objpfx)tst-array2.out): Likewise.
12897 ($(objpfx)tst-array3.out): Likewise.
12898 ($(objpfx)tst-array4.out): Likewise.
12899 ($(objpfx)tst-array5.out): Likewise.
12900 ($(objpfx)tst-array5-static.out): Likewise.
12902 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12904 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12907 * nss/nsswitch.h (nss_interface_function): Provide new
12908 macro for use with NSS functions.
12909 * grp/initgroups.c: Use new macro.
12910 * nss/getXXbyYY.c: Likewise.
12911 * nss/getXXbyYY_r.c: Likewise.
12912 * nss/getXXent.c: Likewise.
12913 * nss/getXXent_r.c: Likewise.
12914 * sysdeps/posix/getaddrinfo.c: Likewise.
12916 2012-10-30 Andreas Jaeger <aj@suse.de>
12918 * po/ru.po: Update Russion translation from translation project.
12920 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12925 result and shift together with sticky bit instead of replicating
12926 round-to-nearest rounding.
12927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12929 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12930 missing underflow exceptions.
12931 (fma_test_towardzero): Add more tests.
12932 (fma_test_downward): Likewise.
12933 (fma_test_upward): Likewise.
12936 * sysdeps/generic/tininess.h: New file.
12937 * sysdeps/i386/tininess.h: Likewise.
12938 * sysdeps/sh/tininess.h: Likewise.
12939 * sysdeps/x86_64/tininess.h: Likewise.
12940 * stdlib/tst-strtod-underflow.c: Likewise.
12941 * stdlib/tst-tininess.c: Likewise.
12942 * stdlib/strtod_l.c: Include <tininess.h>.
12943 (round_and_return): Do not set errno for exact underflow cases.
12944 Force an underflow exception when setting errno for underflow.
12945 Determine underflow based on rounding to normal precision if
12946 TININESS_AFTER_ROUNDING.
12947 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12948 ERANGE for exact underflow cases.
12949 * stdlib/Makefile (tests): Add tst-tininess and
12950 tst-strtod-underflow.
12951 ($(objpfx)tst-tininess): Use $(link-libm).
12952 ($(objpfx)tst-strtod-underflow): Likewise.
12954 2012-10-30 Andreas Jaeger <aj@suse.de>
12957 * elf/Makefile (tests): Remove conditional for have-initfini-array
12958 since this is now always required and the variable does not exist
12960 (tests-static): Likewise.
12961 (modules-names): Likewise.
12963 * po/eo.po: Add Esperanto translation from translation project.
12965 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12966 merged with constructor/destructor.
12967 (init_array): Likewise.
12968 * elf/tst-array2dep.c (fini_array): Likewise.
12969 (init_array): Likewise.
12971 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12973 * manual/message.texi: Delete @cartouche tags.
12975 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12977 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12979 * sysdeps/mach/hurd/fsync.c: Likewise.
12981 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12982 [_POSIX_REALTIME_SIGNALS]: Change condition to
12983 [_POSIX_REALTIME_SIGNALS > 0].
12985 2012-10-27 Andreas Jaeger <aj@suse.de>
12987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12988 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12990 [__WORDSIZE != 64]: Likewise.
12992 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12994 * iconvdata/tst-table.sh: Remove ${SHELL}.
12995 * iconvdata/tst-tables.sh: Likewise.
12997 2012-10-25 David S. Miller <davem@davemloft.net>
12999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13000 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13007 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13010 2012-10-25 Roland McGrath <roland@hack.frob.com>
13012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13013 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13016 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13017 Jim Blandy <jimb@codesourcery.com>
13019 * scripts/cross-test-ssh.sh: New file.
13020 * manual/install.texi (Configuring and compiling): Document use of
13022 * INSTALL: Regenerated.
13024 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13026 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13029 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13031 * Makeconfig (run-program-prefix): Fix comment.
13033 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13034 Jim Blandy <jimb@codesourcery.com>
13036 * Makeconfig (test-wrapper): New variable,
13037 (test-wrapper-env): Likewise.
13038 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13039 (run-built-tests): Define to yes.
13040 (run-program-prefix): Use $(test-wrapper).
13041 (built-program-cmd): Likewise.
13042 * Rules (make-test-out): Use $(test-wrapper-env) and
13043 $(host-built-program-cmd).
13044 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13045 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13047 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13048 $(test-wrapper-env) to tst-rtld-load-self.sh.
13049 ($(objpfx)order2.out): Use $(test-wrapper).
13050 ($(objpfx)tst-initorder.out): Likewise.
13051 ($(objpfx)tst-initorder2.out): Likewise.
13052 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13053 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13054 (test_wrapper_env): New variable. Use it to run ld.so.
13055 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13056 Use it to run ld.so.
13057 (test_wrapper_env): Likewise.
13058 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13059 $(test-wrapper) to run-iconv-test.sh.
13060 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13061 (ICONV): Use $test_wrapper.
13062 * posix/Makefile ($(objpfx)globtest.out): Pass
13063 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13064 globtest.sh, not $(run-program-prefix).
13065 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13066 (test_wrapper): Likewise.
13067 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13068 set together with run_via_rtld_prefix.
13069 (run_program_prefix): Define in terms of test_wrapper and
13070 run_via_rtld_prefix.
13072 2012-10-24 Roland McGrath <roland@hack.frob.com>
13074 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13075 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13079 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13080 Declare __clock_getres, __clock_gettime, __clock_settime,
13081 __clock_nanosleep, and __clock_getcpuclockid.
13082 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13083 Remove librt_hidden_def (clock_gettime).
13084 * sysdeps/unix/clock_gettime.c: Likewise.
13085 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13087 * rt/clock_getres.c: Define __clock_getres as an alias.
13088 * sysdeps/posix/clock_getres.c: Likewise.
13089 * rt/clock_settime.c: Define __clock_settime as an alias.
13090 * sysdeps/unix/clock_settime.c: Likewise.
13091 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13092 * sysdeps/unix/clock_nanosleep.c: Likewise.
13093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13094 * rt/clock-compat.c: New file.
13095 * rt/Makefile (librt-routines): Add clock-compat and move
13096 $(clock-routines) to ...
13097 (routines): ... here, new variable.
13098 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13099 Don't add get_clockfreq here.
13100 * rt/Versions (libc: GLIBC_2.17): New version set.
13101 Add clock_* symbols here.
13102 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13104 (GLIBC_2.17): Add clock_* symbols.
13105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13116 * NEWS: Mention the move.
13118 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13119 Use __open, __read, __close rather than their public counterparts.
13120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13121 (__get_clockfreq_via_cpuinfo): Likewise.
13122 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13123 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13125 * config.h.in (HAVE_IFUNC): New #undef.
13126 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13128 * configure: Regenerated.
13130 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13132 * configure.in: Move READELF check to start of file.
13133 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13134 libc_cv_asm_gnu_indirect_function in the process.
13135 * configure: Regenerated.
13137 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13139 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13140 send the output to /dev/null.
13141 (libc_cv_cc_with_libunwind): Likewise.
13142 (libc_cv_as_noexecstack): Likewise.
13143 * configure: Regenerate.
13145 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13147 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13149 * posix/globtest.sh (TMPDIR): Do not set.
13150 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13151 (testout): Likewise.
13153 2012-10-24 Andreas Jaeger <aj@suse.de>
13155 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13156 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13157 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13158 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13159 posix_fadvise64, posix_fallocate64.
13161 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13162 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13163 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13165 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13167 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13170 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13171 <bits/fcntl-linux.h>.
13172 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13175 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13176 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13177 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13178 [__WORDSIZE != 64]: Likewise.
13180 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13182 * Makeconfig (run-built-tests): New variable.
13183 * Rules [$(cross-compiling) = yes]: Change condition to
13184 [$(run-built-tests) = no].
13185 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13186 to [$(run-built-tests) = yes].
13187 * elf/Makefile [$(cross-compiling) = no]: Likewise
13188 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13189 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13190 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13191 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13192 * io/Makefile [$(cross-compiling) = no]: Likewise.
13193 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13194 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13195 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13196 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13197 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13198 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13199 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13200 * string/Makefile [$(cross-compiling) = no]: Likewise.
13202 * posix/Makefile ($(objpfx)globtest.out): Pass
13203 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13204 $(rtld-installed-name).
13205 * posix/globtest.sh (elf_objpfx): Remove variable.
13206 (rtld_installed_name): Likewise.
13207 (library_path): Likewise.
13208 (run_program_prefix): New variable. Use for running globtest
13211 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13212 Joseph Myers <joseph@codesourcery.com>
13214 * Makeconfig (host-built-program-cmd): New variable.
13215 * elf/Makefile (tst-stackguard1-ARGS): Use
13216 $(host-built-program-cmd).
13217 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13218 (tst-spawn-ARGS): Likewise.
13219 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13221 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13222 Jim Blandy <jimb@codesourcery.com>
13224 * Makeconfig (run-via-rtld-prefix): New variable.
13225 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13226 (built-program-cmd): Likewise.
13228 2012-10-22 Andreas Jaeger <aj@suse.de>
13230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13231 __O_RSYNC if it exists, otherwise to O_SYNC.
13233 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13234 Joseph Myers <joseph@codesourcery.com>
13236 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13238 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13240 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13243 2012-10-22 Andreas Jaeger <aj@suse.de>
13245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13250 bits/fcntl-linux.h.
13252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13253 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13260 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13261 Joseph Myers <joseph@codesourcery.com>
13263 * config.make.in (NM): New variable.
13265 2012-10-21 Andreas Jaeger <aj@suse.de>
13267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13268 definitions and declarations that are provided by
13269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13271 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13274 * elf/Makefile (tests-static): Add tst-leaks1-static.
13275 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13276 ($(objpfx)tst-leaks1-static): New rule.
13277 ($(objpfx)tst-leaks1-static-mem): Likewise.
13278 (tst-leaks1-static-ENV): New macro.
13279 * elf/dl-open.c (dl_open_worker): Check the main application
13280 only if SHARED is defined.
13281 * elf/tst-leaks1-static.c: New file.
13283 2012-10-20 Andreas Jaeger <aj@suse.de>
13285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13286 generic values for Linux.
13287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13288 and declarations that are provided by <bits/fcntl-linux.h> and
13289 include <bits/fcntl-linux.h>.
13290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13293 2012-10-20 Roland McGrath <roland@hack.frob.com>
13295 * io/fcntl.h: Move include of <bits/types.h> to the top and
13296 include it unconditionally.
13298 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13300 * wcsmbs/Makefile (tests-ifunc): New variable.
13301 (tests): Add $(tests-ifunc).
13302 * wcsmbs/test-wcschr-ifunc.c: New file.
13303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13309 * string/Makefile (tests-ifunc): New variable.
13310 (tests): Add $(tests-ifunc).
13311 * string/test-memccpy.c (TEST_NAME): New macro.
13312 * string/test-memchr.c (TEST_NAME): Likewise.
13313 * string/test-memcmp.c (TEST_NAME): Likewise.
13314 * string/test-memcpy.c (TEST_NAME): Likewise.
13315 * string/test-memmem.c (TEST_NAME): Likewise.
13316 * string/test-memmove.c (TEST_NAME): Likewise.
13317 * string/test-memset.c (TEST_NAME): Likewise.
13318 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13319 * string/test-stpcpy.c (TEST_NAME): Likewise.
13320 * string/test-stpncpy.c (TEST_NAME): Likewise.
13321 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13322 * string/test-strcasestr.c (TEST_NAME): Likewise.
13323 * string/test-strcat.c (TEST_NAME): Likewise.
13324 * string/test-strchr.c (TEST_NAME): Likewise.
13325 * string/test-strcmp.c(TEST_NAME): Likewise.
13326 * string/test-strcpy.c (TEST_NAME): Likewise.
13327 * string/test-strcspn.c (TEST_NAME): Likewise.
13328 * string/test-strlen.c (TEST_NAME): Likewise.
13329 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13330 * string/test-strncmp.c (TEST_NAME): Likewise.
13331 * string/test-strncpy.c (TEST_NAME): Likewise.
13332 * string/test-strnlen.c (TEST_NAME): Likewise.
13333 * string/test-strpbrk.c (TEST_NAME): Likewise.
13334 * string/test-strrchr.c (TEST_NAME): Likewise.
13335 * string/test-strspn.c (TEST_NAME): Likewise.
13336 * string/test-strstr.c (TEST_NAME): Likewise.
13337 * string/test-bcopy-ifunc.c: New file.
13338 * string/test-bzero-ifunc.c: Likewise.
13339 * string/test-memccpy-ifunc.c: Likewise.
13340 * string/test-memchr-ifunc.c: Likewise.
13341 * string/test-memcmp-ifunc.c: Likewise.
13342 * string/test-memcpy-ifunc.c: Likewise.
13343 * string/test-memmem-ifunc.c: Likewise.
13344 * string/test-memmove-ifunc.c: Likewise.
13345 * string/test-mempcpy-ifunc.c: Likewise.
13346 * string/test-memset-ifunc.c: Likewise.
13347 * string/test-rawmemchr-ifunc.c: Likewise.
13348 * string/test-stpcpy-ifunc.c: Likewise.
13349 * string/test-stpncpy-ifunc.c: Likewise.
13350 * string/test-strcasecmp-ifunc.c: Likewise.
13351 * string/test-strcasestr-ifunc.c: Likewise.
13352 * string/test-strcat-ifunc.c: Likewise.
13353 * string/test-strchr-ifunc.c: Likewise.
13354 * string/test-strchrnul-ifunc.c: Likewise.
13355 * string/test-strcmp-ifunc.c: Likewise.
13356 * string/test-strcpy-ifunc.c: Likewise.
13357 * string/test-strcspn-ifunc.c: Likewise.
13358 * string/test-strlen-ifunc.c: Likewise.
13359 * string/test-strncasecmp-ifunc.c: Likewise.
13360 * string/test-strncat-ifunc.c: Likewise.
13361 * string/test-strncmp-ifunc.c: Likewise.
13362 * string/test-strncpy-ifunc.c: Likewise.
13363 * string/test-strnlen-ifunc.c: Likewise.
13364 * string/test-strpbrk-ifunc.c: Likewise.
13365 * string/test-strrchr-ifunc.c: Likewise.
13366 * string/test-strspn-ifunc.c: Likewise.
13367 * string/test-strstr-ifunc.c: Likewise.
13369 * debug/Makefile (tests-ifunc): New variable.
13370 (tests): Add $(tests-ifunc).
13371 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13372 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13373 * debug/test-stpcpy_chk-ifunc.c: New file.
13374 * debug/test-strcpy_chk-ifunc.c: Likewise.
13376 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13379 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13380 header is not read in.
13382 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13384 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13385 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13386 directly. Pass built executable to script as
13387 $(built-program-cmd).
13388 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13389 $testprogram without using LD_LIBRARY_PATH and $ldso.
13391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13392 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13393 $(rtld-installed-name).
13394 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13395 (rtld_installed_name): Likewise.
13396 (library_path): Likewise.
13397 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13399 $(run-program-prefix) to tst-tables.sh.
13400 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13401 it to run tst-table-from and tst-table-to.
13402 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13403 Pass it to tst-table.sh.
13404 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13405 $(run-program-prefix) to tst-gettext.sh.
13406 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13408 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13410 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13411 to run tst-gettext.
13412 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13413 to run tst-gettext2.
13414 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13415 to run tst-translit.
13416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13417 $(run-program-prefix) to tst-mtrace.sh.
13418 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13420 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13421 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13422 $(rtld-installed-name).
13423 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13424 (rtld_installed_name): Likewise.
13425 (run_program_prefix): New variable. Use it to run wordexp-test.
13427 * Makeconfig (ARCH): Remove all definitions.
13428 (machine): Likewise.
13429 [ARCH]: Remove conditional code.
13430 [!objdir]: Give error.
13431 [!objdir] (objpfx): Remove.
13432 [!objdir] (common-objpfx): Likewise.
13433 [!objdir] (common-objdir): Likewise.
13434 * configure.in (config_makefile): Remove. Hardcode Makefile in
13435 AC_CONFIG_FILES call.
13436 * configure: Regenerated.
13439 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13441 (testout): Likewise.
13443 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13444 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13445 $(rtld-installed-name).
13446 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13447 (rtld_installed_name): Likwise.
13448 (runit): Remove function.
13449 (run_getconf): New variable, Use it for running getconf binary.
13451 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13454 * string/test-memmem.c (check_result): New function.
13455 (do_one_test): Use it.
13456 (check1): New function.
13457 (test_main): Use it.
13459 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13461 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13463 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13465 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13466 (_G_LSEEK64): Likewise.
13467 (_G_MMAP64): Likewise.
13468 (_G_FSTAT64): Likewise.
13469 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13470 (_G_LSEEK64): Likewise.
13471 (_G_MMAP64): Likewise.
13472 (_G_FSTAT64): Likewise.
13473 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13474 unconditional. Call __mmap64 directly.
13475 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13476 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13477 __lseek64 directly.
13478 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13479 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13481 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13482 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13483 __lseek64 directly.
13484 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13485 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13486 __lseek64 directly.
13487 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13488 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13489 __lseek64 directly.
13490 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13491 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13492 __fxstat64 directly.
13493 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13494 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13496 (freopen64) [!_G_OPEN64]: Remove conditional code.
13497 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13499 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13500 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13502 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13503 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13505 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13506 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13508 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13509 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13511 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13512 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13514 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13515 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13517 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13519 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13522 * manual/memory.texi (Malloc Tunable Parameters): Add note
13523 about free list pointers overwriting some perturb bytes.
13524 Wording suggested by Roland McGrath.
13526 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13528 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13529 (lgamma_test): Likewise.
13530 (tgamma_test): Likewise.
13532 2012-10-16 Florian Weimer <fweimer@redhat.com>
13535 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13536 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13538 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13540 * NEWS: Mention BZ #14716.
13541 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13542 when removing AVAILABLE1_USES_J macro.
13544 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13546 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13547 (__bswap_64): __uint64_t for unsigned 64-bit int.
13549 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13551 * include/string.h (memmem): Declare libc hidden alias.
13552 * string/memmem.c (memmem): Define libc hidden alias.
13553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13554 __read, __close instead of open, read, close.
13556 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13559 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13561 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13563 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13565 (__rawmemchr_sse2): Likewise.
13566 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13568 (__strchr_sse2): Likewise.
13569 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13570 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13571 (__strcasecmp_sse2): Likewise.
13572 (__strncasecmp_sse2): Likewise.
13573 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13574 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13575 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13576 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13577 (__strrchr_sse2): Likewise.
13578 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13580 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13581 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13582 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13584 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13585 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13586 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13588 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13589 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13590 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13592 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13594 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13596 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13597 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13598 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13599 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13600 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13601 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13602 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13603 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13604 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13606 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13609 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13611 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13613 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13614 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13615 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13616 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13618 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13620 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13621 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13622 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13623 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13625 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13626 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13638 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13639 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13642 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13650 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13651 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13652 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13653 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13655 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13658 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13667 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13668 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13669 * include/ifunc-impl-list.h: New file.
13670 * misc/ifunc-impl-list.c: Likewise.
13671 * misc/Makefile (routines): Add ifunc-impl-list.
13672 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13673 * string/test-string.h: Include <ifunc-impl-list.h>.
13674 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13675 impl_array): New variables.
13676 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13678 (test_init): Call __libc_ifunc_impl_list to initialize
13679 func_list if TEST_IFUNC and TEST_NAME are defined.
13681 * string/Makefile (strop-tests): Add bcopy and bzero.
13682 * string/test-bcopy.c: New file.
13683 * string/test-bzero.c: Likewise.
13684 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13686 * string/test-memset.c: Support bzero test if TEST_BZERO is
13688 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13690 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13692 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13695 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13697 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13698 * configure: Regenerated.
13700 * Makeconfig (+link-static-before-libc): Don't include
13701 $(link-static-libc).
13703 * libio/libio.h (_IO_pos_t): Remove.
13705 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13707 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13710 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13712 * crypt/crypt-entry.c: Include fips-private.h.
13713 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13714 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13715 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13716 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13718 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13720 * crypt/crypt-private.h: Include stdbool.h.
13721 (_ufc_setup_salt_r): Return bool.
13722 * crypt/crypt-entry.c: Include errno.h.
13723 (__crypt_r): Return NULL with EINVAL for bad salt.
13724 * crypt/crypt_util.c (bad_for_salt): New.
13725 (_ufc_setup_salt_r): Check that salt is long enough and within
13726 the specified alphabet.
13727 * crypt/badsalttest.c: New file.
13728 * crypt/Makefile (tests): Add it.
13729 ($(objpfx)badsalttest): New.
13731 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13733 * NEWS: Add entry for BZ #14602.
13735 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13737 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13739 * math/libm-test.inc: Update comment listing what functions and
13741 (isgreater_test): New function.
13742 (isgreaterequal_test): Likewise.
13743 (isless_test): Likewise.
13744 (islessequal_test): Likewise.
13745 (islessgreater_test): Likewise.
13746 (isunordered_test): Likewise.
13747 (main): Call the new functions.
13749 2012-10-09 Roland McGrath <roland@hack.frob.com>
13751 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13752 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13753 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13754 * sysdeps/i386/configure: Regenerated.
13755 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13756 * sysdeps/mach/configure: Regenerated.
13757 * sysdeps/mach/hurd/configure: Regenerated.
13758 * sysdeps/powerpc/configure: Regenerated.
13759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13761 * sysdeps/s390/s390-32/configure: Regenerated.
13762 * sysdeps/s390/s390-64/configure: Regenerated.
13763 * sysdeps/sh/configure: Regenerated.
13764 * sysdeps/sparc/configure: Regenerated.
13765 * sysdeps/unix/sysv/linux/configure: Regenerated.
13766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13767 * sysdeps/x86_64/configure: Regenerated.
13769 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13770 defined. Don't check if MAP is NULL.
13772 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13774 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13775 (_G_stat64): Likewise.
13776 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13777 (_G_stat64): Likewise.
13778 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13779 instead of struct _G_stat64.
13780 * libio/fileops.c (mmap_remap_check): Likewise.
13781 (decide_maybe_mmap): Likewise.
13782 (_IO_new_file_seekoff): Likewise.
13783 (_IO_file_stat): Likewise.
13784 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13786 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13787 instead of struct _G_stat64.
13788 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13790 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13795 (CHECK_EOL): New macro.
13796 (two_way_short_needle): Check beginning of haystack for EOL. Use
13798 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13799 Replace with CHECK_EOL.
13800 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13801 Replace with CHECK_EOL.
13803 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13805 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13807 * math/libm-test.inc: Update comment listing what functions and
13809 (finite_test): New function.
13810 (isinf_test): Likewise.
13811 (isnan_test): Likewise.
13812 (fpclassify_test): Test subnormal input.
13813 (isfinite_test): Likewise.
13814 (isnormal_test): Likewise.
13815 (main): Call the new functions.
13817 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13820 * Makerules (%.dynsym): Force C locale when running
13821 $(OBJDUMP) --dynamic-syms.
13823 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13828 2012-10-06 David S. Miller <davem@davemloft.net>
13830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13831 upper 32-bits of the length value in %o2 since we use branch-on-register
13832 tests which consider the entire 64-bit register.
13834 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13836 * string/test-strstr.c (check2): Add a test for page boundary.
13838 2012-10-05 David S. Miller <davem@davemloft.net>
13840 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13846 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13847 and bzero when HWCAP_SPARC_CRYPTO is present.
13849 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13852 * string/test-strstr.c (check2): New function.
13853 (test_main): Call check2.
13855 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13857 * string/bug-strcasestr1.c (do_test): Moved to ...
13858 * string/test-strcasestr.c (check1): Here. New function.
13859 (do_one_test): Break out result checking code into ...
13860 (check_result): This. New function.
13861 (do_one_test): Call check_result.
13862 (test_main): Call check1.
13863 * string/bug-strchr1.c (do_test): Moved to ...
13864 * string/test-strchr.c (check1): Here. New function.
13865 (do_one_test): Break out result checking code into ...
13866 (check_result): This. New function.
13867 (do_one_test): Call check_result.
13868 (test_main): Call check1.
13869 * string/bug-strstr1.c (main): Moved to ...
13870 * string/test-strstr.c (check1): Here. New function.
13871 (do_one_test): Break out result checking code into ...
13872 (check_result): This. New function.
13873 (do_one_test): Call check_result.
13874 (test_main): Call check1.
13875 * string/bug-strcasestr1.c: Removed.
13876 * string/bug-strchr1.c: Likewise.
13877 * string/bug-strstr1.c: Likewise.
13879 * elf/Makefile (dl-routines): Add hwcaps.
13880 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13881 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13882 (_dl_important_hwcaps): Moved to ...
13883 * elf/dl-hwcaps.c: Here. New file.
13884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13887 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13888 if IS_IN_rtld isn't defined.
13890 * elf/dl-support.c (_dl_sysinfo_map): New.
13891 Include "get-dynamic-info.h" and "setup-vdso.h".
13892 (_dl_non_dynamic_init): Call setup_vdso.
13893 * elf/dynamic-link.h: Don't include <assert.h>.
13894 (elf_get_dynamic_info): Moved to ...
13895 * elf/get-dynamic-info.h: Here. New file.
13896 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13897 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13898 * elf/setup-vdso.h: Here. New file.
13899 * elf/rtld.c: Include "setup-vdso.h".
13900 (dl_main): Call setup_vdso.
13902 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13904 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13905 creal in comment listing functions tested. List finite, isinf,
13906 isnan, isless, islessequal, isgreater, isgreaterequal,
13907 islessgreater, isunordered, lgamma_r and pow10 as functions and
13908 macros not tested. Mention which functions not tested are aliases
13909 for other functions. Fix typo. Note that signs of NaNs are not
13912 * scripts/config.guess: Update from config.git.
13913 * scripts/config.sub: Likewise.
13915 2012-10-04 Roland McGrath <roland@hack.frob.com>
13917 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13918 * misc/madvise.c (madvise): Renamed to __madvise.
13919 Make madvise a weak alias.
13920 * include/sys/mman.h: Declare __madvise.
13921 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13922 * sysdeps/unix/syscalls.list
13923 (madvise): Make __madvise the strong name, and madvise a weak alias.
13924 * sysdeps/unix/sysv/linux/syscalls.list
13925 (madvise, mmap): Remove redundant entries.
13926 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13927 * malloc/malloc.c (mtrim): Likewise.
13928 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13930 2012-10-03 Roland McGrath <roland@hack.frob.com>
13932 * sysdeps/mach/hurd/dl-cache.c: File removed.
13933 * config.h.in (USE_LDCONFIG): New #undef.
13934 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13935 * configure: Regenerated.
13936 * elf/Makefile (dl-routines): Add dl-cache only under
13937 [$(use-ldconfig) = yes].
13938 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13939 cache on [USE_LDCONFIG].
13940 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13942 * elf/rtld.c (dl_main): Likewise.
13944 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13946 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13947 _SC_LEVEL4_CACHE_LINESIZE.
13949 2012-10-03 Roland McGrath <roland@hack.frob.com>
13951 * sysdeps/unix/bsd/confstr.h: File removed.
13953 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13955 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13958 2012-10-02 Roland McGrath <roland@hack.frob.com>
13960 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13961 Make 'mapoff' field ElfW(Off) rather than off_t.
13963 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13965 * nscd/Makefile: Remove nscd-cflags and all its users.
13966 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13967 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13970 * malloc.c (malloc_printerr): Clarify error message.
13972 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13976 Set bit_FMA_Usable if FMA is supported.
13977 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13979 (bit_FMA4_Usable): Updated.
13980 (index_FMA_Usable): New macro.
13981 (CPUID_FMA): Likewise
13982 (HAS_FMA): Defined with bit_FMA_Usable.
13984 2012-10-01 Roland McGrath <roland@hack.frob.com>
13986 * bits/types.h (__swblk_t): Type removed.
13987 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13988 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13990 (__SWBLK_T_TYPE): Likewise.
13991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13992 (__SWBLK_T_TYPE): Likewise.
13993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13994 (__SWBLK_T_TYPE): Likewise.
13995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13996 (__SWBLK_T_TYPE): Likewise.
13998 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13999 Honza Horak <hhorak@redhat.com>
14001 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14002 (xdr_mapname): Use YPMAXMAP as maxsize.
14003 (xdr_peername): Use YPMAXPEER as maxsize.
14004 (xdr_keydat): Use YPAXRECORD as maxsize.
14005 (xdr_valdat): Use YPMAXRECORD as maxsize.
14007 2012-10-01 Roland McGrath <roland@hack.frob.com>
14009 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14011 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14012 * csu/init-first.c: ... here.
14013 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14014 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14017 * sysdeps/i386/init-first.c: File removed.
14018 * sysdeps/sh/init-first.c: File removed.
14020 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14024 if x * y might underflow to zero and z is zero.
14025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14027 * math/libm-test.inc (min_subnorm_value): New variable.
14028 (fma_test): Add more tests.
14029 (fma_test_towardzero): Likewise.
14030 (fma_test_downward): Likewise
14031 (fma_test_upward): Likewise.
14032 (initialize): Set min_subnorm_value.
14034 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14040 mode for addition resulting in exact zero.
14041 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14046 * math/libm-test.inc (fma_test): Add more tests.
14047 (fma_test_towardzero): New function.
14048 (fma_test_downward): Likewise.
14049 (fma_test_upward): Likewise.
14050 (main): Call the new functions.
14052 2012-09-28 David S. Miller <davem@davemloft.net>
14054 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14056 2012-09-28 Roland McGrath <roland@hack.frob.com>
14058 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14059 instead of SIGALRM.
14061 * sysdeps/gnu/_G_config.h: Moved to ...
14062 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14063 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14064 * sysdeps/generic/_G_config.h: ... here.
14066 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14068 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14070 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14071 Conditionalize target on [libnss_test1.so-version].
14073 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14075 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14076 (elfobjdir): Move out of conditionals.
14078 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14079 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14080 (__nss_lookup_function): Conditionalize label remove_from_tree on
14081 [!DO_STATIC_NSS || SHARED], matching its only use.
14083 2012-09-28 David S. Miller <davem@davemloft.net>
14085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14092 when HWCAP_SPARC_CRYPTO is present.
14094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14096 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14098 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14101 * stdio-common/vfprintf.c (process_string_arg): Revert
14104 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14106 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14108 * stdio-common/tst-sprintf.c: Include <locale.h>
14109 (main): Test sprintf's handling of incomplete multibyte
14112 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14114 * elf/dl-runtime.c (VERSYMIDX): Removed.
14115 * elf/dl-version.c (VERSYMIDX): Likewise.
14116 * elf/do-rel.h (VERSYMIDX): Likewise.
14117 (VALIDX): Likewise.
14118 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14119 * elf/rtld.c (VALIDX): Likewise.
14120 (ADDRIDX): Likewise.
14121 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14122 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14123 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14124 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14125 (VALIDX): Likewise.
14126 (ADDRIDX): Likewise.
14128 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14130 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14132 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14135 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14137 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14138 addresses are in the same scope as 192.0.2/24.
14139 * posix/gai.conf: Document new scope table defaults.
14141 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14144 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14145 for ftell. Compute offsets from write pointers instead.
14146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14148 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14151 * libio/Makefile (tests): New test case tst-fseek.
14152 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14153 combination works in wide mode.
14154 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14155 state when the external buffer state changes.
14157 2012-09-27 David S. Miller <davem@davemloft.net>
14160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14161 pass reloc->r_addend in as the 'high' argument to
14162 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14166 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14168 * rt/tst-aio2.c: Include <pthread.h>.
14169 * rt/tst-aio3.c: Likewise.
14171 2012-09-27 Steve Ellcey <sellcey@mips.com>
14173 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14175 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14177 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14178 contents on [SHARED].
14180 2012-09-26 Marek Polacek <polacek@redhat.com>
14184 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14185 for C++ and GCC <4.3 as well as for non GCC compilers.
14187 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14191 2012-09-25 Roland McGrath <roland@hack.frob.com>
14193 * Makefile.in (all, install): Declare with .PHONY.
14194 Reported by Michael Hope <michael.hope@linaro.org>.
14196 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14198 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14199 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14201 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14203 (sydep_routines): Add the new and the internal functions.
14204 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14207 (GLIBC_2.17): Add the new function.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14209 (GLIBC_2.17): Likewise.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14211 (GLIBC_2.17): Likewise.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14213 (GLIBC_2.17): Likewise.
14214 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14216 2012-09-25 Alan Modra <amodra@gmail.com>
14218 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14219 Add release barrier before setting once_control to say
14220 initialisation is done. Add hints on lwarx. Use macro in
14222 (clear_once_control): Add release barrier.
14224 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14227 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14229 * math/s_clog10.c (__clog10): Likewise.
14230 * math/s_clog10f.c (__clog10f): Likewise.
14231 * math/s_clog10l.c (__clog10l): Likewise.
14232 * math/s_clogf.c (__clogf): Likewise.
14233 * math/s_clogl.c (__clogl): Likewise.
14234 * math/Makefile (libm-calls): Add x2y2m1.
14235 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14236 (__x2y2m1): Likewise.
14237 (__x2y2m1l): Likewise.
14238 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14239 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14243 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14244 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14245 * sysdeps/i386/fpu/libm-test-ulps: Update.
14246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14250 int as type of variable DEPTH.
14251 (glob): Use size_t instead of int as type of variables NEWCOUNT
14254 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14257 Add s_sincosf-sse2.
14258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14260 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14261 macros for using routine as __sincosf_ia32.
14262 Use macro for function declaration and weak_alias.
14263 * sysdeps/i386/fpu/libm-test-ulps: Update.
14265 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14268 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14269 subnormal argument.
14270 * math/s_cexpf.c (__cexpf): Likewise.
14271 * math/s_csinf.c (__csinf): Likewise.
14272 * math/s_csinhf.c (__csinhf): Likewise.
14273 * math/s_ctanf.c (__ctanf): Likewise.
14274 * math/s_ctanhf.c (__ctanhf): Likewise.
14275 * math/s_ccosh.c (__ccoshf): Likewise.
14276 * math/s_cexp.c (__cexpl): Likewise.
14277 * math/s_csin.c (__csin): Likewise.
14278 * math/s_csinh.c (__csinh): Likewise.
14279 * math/s_ctan.c (__ctan): Likewise.
14280 * math/s_ctanh.c (ctanh): Likewise.
14281 * math/s_ccoshl.c (__ccoshl): Likewise.
14282 * math/s_cexpl.c (__cexpl): Likewise.
14283 * math/s_csinl.c (__csinl): Likewise.
14284 * math/s_csinhl.c (__csinhl): Likewise.
14285 * math/s_ctanl.c (__ctanl): Likewise.
14286 * math/s_ctanhl.c (__ctanhl): Likewise.
14288 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14290 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14291 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14292 (_IO_off_t): Define to __off_t, not _G_off_t.
14293 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14294 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14295 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14296 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14297 type of __dummy and __dummy2 fields.
14298 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14299 (_G_ssize_t): Likewise.
14300 (_G_off_t): Likewise.
14301 (_G_pid_t): Likewise.
14302 (_G_uid_t): Likewise.
14303 (_G_wchar_t): Likewise.
14304 (_G_wint_t): Likewise.
14305 * sysdeps/gnu/_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/mach/hurd/_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.
14320 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14322 * malloc/arena.c: Include malloc-sysdep.h.
14323 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14324 is sufficient to shrink the heap or an unmap is needed.
14325 * sysdeps/generic/malloc-sysdep.h: New file. Define
14326 new function check_may_shrink_heap.
14327 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14328 new function check_may_shrink_heap.
14330 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14332 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14335 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14337 * catgets/test-gencat.sh: Add "set -e".
14338 * elf/tst-pathopt.sh: Likewise.
14339 * grp/tst_fgetgrent.sh: Likewise.
14340 * iconvdata/run-iconv-test.sh: Likewise.
14341 * intl/tst-gettext.sh: Likewise.
14342 * intl/tst-gettext2.sh: Likewise.
14343 * intl/tst-gettext4.sh: Likewise.
14344 * intl/tst-gettext6.sh: Likewise.
14345 * intl/tst-translit.sh: Likewise.
14346 * io/ftwtest-sh: Likewise.
14347 * libio/test-freopen.sh: Likewise.
14348 * malloc/tst-mtrace.sh: Likewise.
14349 * posix/globtest.sh: Likewise.
14350 * posix/tst-getconf.sh: Likewise.
14351 * posix/wordexp-tst.sh: Likewise.
14352 * stdio-common/tst-printf.sh: Likewise.
14353 * stdio-common/tst-unbputc.sh: Likewise.
14354 * stdlib/tst-fmtmsg.sh: Likewise.
14355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14356 * catgets/Makefile: Do not specify -e option when running
14357 testsuite shell scripts.
14358 * elf/Makefile: Likewise.
14359 * grp/Makefile: Likewise.
14360 * iconvdata/Makefile: Likewise.
14361 * intl/Makefile: Likewise.
14362 * io/Makefile: Likewise.
14363 * libio/Makefile: Likewise.
14364 * malloc/Makefile: Likewise.
14365 * posix/Makefile: Likewise.
14366 * stdio-common/Makefile: Likewise.
14367 * stdlib/Makefile: Likewise.
14368 * sysdeps/x86_64/Makefile: Likewise.
14370 * io/ftwtest-sh: Add copyright header.
14371 * posix/globtest.sh: Likewise.
14372 * posix/tst-getconf.sh: Likewise.
14373 * posix/wordexp-tst.sh: Likewise.
14374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14376 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14379 * Makeconfig (+link): Defined as $(+link-static) if
14380 $(build-shared) isn't yes.
14381 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14383 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14385 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14388 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14389 new chunk size with MALLOC_ALIGN_MASK.
14391 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14394 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14396 (__printf_fphex): Determine rounding using get_rounding_mode and
14398 * stdio-common/tst-printf-round.c (struct hex_test): New
14400 (hex_tests): New variable.
14401 (test_hex_in_one_mode): New function.
14402 (do_test): Also run tests for hex float output.
14404 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14406 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14408 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14409 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14410 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14411 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14412 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14415 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14417 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14418 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14419 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14420 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14422 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14425 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14427 * elf/tst-rtld-load-self.sh: New test.
14428 * elf/Makefile: Run it.
14430 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14432 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14433 (tst-writev-ENV): Remove.
14434 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14436 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14438 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14440 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14442 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14444 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14447 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14451 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14454 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14455 * config.make.in (have-cpp-asm-debuginfo): Removed.
14456 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14457 * configure: Regenerated.
14459 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14462 * stdio-common/printf_fp.c: Include <stdbool.h> and
14464 (___printf_fp): Determine rounding using get_rounding_mode and
14466 * stdio-common/tst-printf-round.c: New file.
14467 * stdio-common/Makefile (tests): Add tst-printf-round.
14468 (link-libm): New variable.
14469 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14471 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14474 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14475 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14477 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14480 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14482 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14483 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14484 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14487 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14490 * include/rounding-mode.h: New file.
14491 * sysdeps/generic/get-rounding-mode.h: Likewise.
14492 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14493 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14494 (MAX_VALUE): New macro.
14495 (MIN_VALUE): Likewise.
14496 (overflow_value): New function.
14497 (underflow_value): Likewise.
14498 (round_and_return): Use overflow_value and underflow_value to
14499 determine return values in overflow and underflow cases. Use
14500 round_away to determine rounding depending on rounding mode.
14501 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14502 determine return values in overflow and underflow cases.
14503 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14504 (struct test_results): New structure.
14505 (struct test): Use struct test_results to store expected results
14506 for all rounding modes.
14507 (TEST): Include expected results for all rounding modes.
14508 (test_in_one_mode): New function.
14509 (do_test): Use test_in_one_mode to compute and check results.
14510 Check results for all rounding modes.
14511 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14514 2012-12-09 Allan McRae <allan@archlinux.org>
14516 * sysdeps/i386/fpu/libm-test-ulps: Update
14518 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14520 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14521 (_G_int32_t): Likewise.
14522 (_G_uint16_t): Likewise.
14523 (_G_uint32_t): Likewise.
14524 (_G_HAVE_BOOL): Likewise.
14525 (_G_HAVE_ATEXIT): Likewise.
14526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14527 (_G_HAVE_IO_FILE_OPEN): Likewise.
14528 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14529 (_G_int32_t): Likewise.
14530 (_G_uint16_t): Likewise.
14531 (_G_uint32_t): Likewise.
14532 (_G_HAVE_BOOL): Likewise.
14533 (_G_HAVE_ATEXIT): Likewise.
14534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14535 (_G_HAVE_IO_FILE_OPEN): Likewise.
14536 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14537 (_G_int32_t): Likewise.
14538 (_G_uint16_t): Likewise.
14539 (_G_uint32_t): Likewise.
14540 (_G_HAVE_BOOL): Likewise.
14541 (_G_HAVE_ATEXIT): Likewise.
14542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14543 (_G_HAVE_IO_FILE_OPEN): Likewise.
14545 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14547 * csu/libc-tls.c: Update copyright years.
14549 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14551 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14552 [!_G_USING_THUNKS]: Remove conditional code.
14553 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14554 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14556 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14557 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14558 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14559 (_G_VTABLE_LABEL_PREFIX): Likewise.
14560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14561 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14563 (_G_VTABLE_LABEL_PREFIX): Likewise.
14564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14565 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14567 (_G_VTABLE_LABEL_PREFIX): Likewise.
14568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14570 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14572 * libio/Makefile: Include ../Makeconfig before tests.
14573 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14574 only if $(build-shared) is yes.
14576 * iconv/gconv_db.c: Update copyright years.
14578 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14580 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14581 unwind info if defined PIC. Fix special cases description.
14582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14584 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14586 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14588 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14590 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14592 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14595 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14596 (LDLIBS-tst-chk4): This.
14597 (LDFLAGS-tst-chk5): Renamed to ...
14598 (LDLIBS-tst-chk5): This.
14599 (LDFLAGS-tst-chk6): Renamed to ...
14600 (LDLIBS-tst-chk6): This.
14601 (LDFLAGS-tst-lfschk4): Renamed to ...
14602 (LDLIBS-tst-lfschk4): This.
14603 (LDFLAGS-tst-lfschk5): Renamed to ...
14604 (LDLIBS-tst-lfschk5): This.
14605 (LDFLAGS-tst-lfschk6): Renamed to ...
14606 (LDLIBS-tst-lfschk6): This.
14608 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14609 on $(common-objpfx)soversions.mk.
14611 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14614 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14617 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14619 * malloc/arena.c (arena_get_retry): New function that gets
14620 another arena for the caller to try its request on.
14621 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14622 current arena cannot fulfill the request.
14623 (__libc_memalign): Likewise.
14624 (__libc_memalign): Likewise.
14625 (__libc_pvalloc): Likewise.
14626 (__libc_calloc): Likewise.
14628 2012-09-05 John Tobey <john.tobey@gmail.com>
14631 * manual/arith.texi (Operations on Complex): Fix description
14632 of carg branch cut.
14634 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14637 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14641 * manual/memory.texi (Memory): Make order of menu items match
14644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14646 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14647 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14648 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14650 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14652 * csu/libc-tls.c (static_dtv): Renamed to ...
14653 (_dl_static_dtv): This. Make it global.
14654 (_dl_initial_dtv): Removed.
14655 (__libc_setup_tls): Updated.
14656 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14657 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14660 2012-09-06 Petr Machata <pmachata@redhat.com>
14662 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14663 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14664 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14665 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14667 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14670 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14671 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14677 * Makeconfig (link-static-before-libc): Replace $(+prector)
14679 (link-static-after-libc): Replace $(+postctor) with
14681 (link-bounded): Replace $(+prector)/$(+postctor) with
14682 $(+prectorT)/$(+postctorT).
14683 (+prectorT): New macro.
14684 (+postctorT): Likewise.
14686 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14688 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14689 (round_str): Handle values above the maximum for IBM long double
14691 * stdlib/tst-strtod-round.c (tests): Regenerated.
14693 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14695 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14697 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14698 zarch_nohighgprs around the zarch optimized routines.
14699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14704 2012-09-05 David S. Miller <davem@davemloft.net>
14706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14708 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14709 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14710 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14716 * malloc/arena.c: Fold copyright years.
14717 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14725 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14727 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14730 change internal state upon failure.
14732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14734 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14735 * malloc/memusage.c (mmap): Likewise.
14736 (mmap64, mremap): Likewise. Adjust name in comment.
14738 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14740 * libio/fileops.c: Fix typos in comments.
14741 * libio/oldfileops.c: Likewise.
14742 * libio/wfileops.c: Likewise.
14744 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14747 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14748 (tst-malloc-usable-ENV): Set environment for test case.
14749 * malloc/hooks.c (malloc_check_get_size): New function to get
14751 * malloc/malloc.c (musable): Use malloc_check_get_size.
14752 * malloc/tst-malloc-usable.c: New test case.
14754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14756 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14758 2012-09-05 Allan McRae <allan@archlinux.org>
14761 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14762 determine header location.
14763 * configure: Regenerated.
14765 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14767 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14769 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14770 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14772 (test): Regenerate.
14774 2012-09-04 David S. Miller <davem@davemloft.net>
14776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14780 2012-09-04 Florian Weimer <fweimer@redhat.com>
14782 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14785 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14787 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14790 * libio/iogetdelim.c: Include <limits.h>.
14791 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14792 + len + 1 would overflow.
14794 2012-09-03 Andreas Jaeger <aj@suse.de>
14796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14802 Add s_sinf-sse2, s_conf-sse2.
14804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14806 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14807 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14809 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14810 for using routine as __sinf_ia32.
14811 Use macro for function declaration and weak_alias.
14812 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14813 for using routine as __cosf_ia32.
14814 Use macro for function declaration and weak_alias.
14816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14817 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14819 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14820 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14823 * math/libm-test.inc (cos_test): Add more test cases.
14824 (sin_test): Likewise.
14825 (sincos_test): Likewise.
14827 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14830 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14832 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14834 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14837 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14838 first element of the GOT.
14839 (elf_machine_load_address): Return the difference between
14840 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14842 2012-09-01 Allan McRae <allan@archlinux.org>
14845 * configure.in (AWK): Require gawk version 3.0 or later.
14846 * configure: Regenerated.
14848 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14850 * sysdeps/unix/sysv/linux/kernel-features.h
14851 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14853 [__NR_clock_getres]: Make code unconditional.
14854 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14855 (clock_getcpuclockid): Remove code left unreachable by removal of
14857 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14858 code unconditional.
14859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14861 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14862 Make code unconditional.
14863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14865 * sysdeps/unix/sysv/linux/clock_settime.c
14866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14868 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14871 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14874 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14875 scripts/test-installation.pl.
14877 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14878 and $ld_so_version if it is set.
14880 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14884 failure if reading from procfs failed.
14885 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14887 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14889 * sysdeps/unix/sysv/linux/kernel-features.h
14890 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14891 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14892 Remove conditional code.
14893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14894 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14895 Remove conditional code.
14896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14897 * sysdeps/unix/sysv/linux/i386/fxstat.c
14898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14900 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14903 * sysdeps/unix/sysv/linux/i386/lxstat.c
14904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14906 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14907 Remove conditional code.
14908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14909 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14910 Remove conditional code.
14911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14912 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14913 <kernel-features.h>.
14914 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14916 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14917 Remove conditional code.
14918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14919 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14920 Remove conditional.
14922 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14925 * NEWS: Add fixed bug number.
14927 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14930 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14931 underflowing exponent in case of negative sign.
14932 * stdlib/tst-strtod-round-data: Add more tests.
14933 * stdlib/tst-strtod-round.c (tests): Regenerated.
14936 * stdlib/strtod_l.c (NDIG): Remove.
14937 (HEXNDIG): Likewise.
14938 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14939 smallest representable value.
14940 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14941 lie within an exact representation of 1/2 ulp of the result.
14942 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14944 (TENS_P9_IDX): Define unconditionally.
14945 (TENS_P9_SIZE): Likewise.
14946 (TENS_P10_IDX): Likewise.
14947 (TENS_P10_SIZE): Likewise.
14948 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14949 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14951 entries for 10^2^13 and 10^2^14.
14952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14953 (TENS_P13_IDX): Define.
14954 (TENS_P13_SIZE): Likewise.
14955 (TENS_P14_IDX): Likewise.
14956 (TENS_P14_SIZE): Likewise.
14957 (_fpioconst_pow10): Change array size to
14958 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14960 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14961 1024]: Add entries for 10^2^13 and 10^2^14.
14962 [LAST_POW10 > _LAST_POW10]: Remove #error.
14963 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14964 (_fpioconst_pow10): Change array size to
14965 FPIOCONST_POW10_ARRAY_SIZE.
14966 * stdlib/gen-fpioconst.c: New file.
14967 * stdlib/gen-tst-strtod-round.c: Likewise.
14968 * stdlib/tst-strtod-round-data: Likewise.
14969 * stdlib/tst-strtod-round.c: Likewise.
14970 * stdlib/Makefile (tests): Add tst-strtod-round.
14973 * stdlib/strtod_l.c: Include <stdint.h>.
14974 (NDEBUG): Do not define.
14975 (round_and_return): Change EXPONENT parameter to type intmax_t.
14976 Rearrange calculations to avoid internal overflow possibilities.
14977 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14978 Rearrange calculations to avoid internal overflow possibilities.
14979 Assert that number fits inside MPNSIZE limbs.
14980 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14981 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14982 calculations and add assertions to avoid internal overflow
14983 possibilities. Add casts to avoid signed/unsigned operations.
14984 * stdlib/tst-strtod-overflow.c: New file.
14985 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14987 2012-08-25 Marek Polacek <polacek@redhat.com>
14989 * time/time.h: Fix some typos in comments.
14991 2012-08-23 Roland McGrath <roland@hack.frob.com>
14993 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14994 * posix/tst-rfc3484-2.c: Likewise.
14995 * posix/tst-rfc3484-3.c: Likewise.
14997 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14999 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15000 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15002 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15004 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15005 #include of fxstatat64.c.
15007 2012-08-22 Roland McGrath <roland@hack.frob.com>
15009 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15010 * shadow/getspent_r.c: Likewise.
15011 * shadow/getspnam.c: Likewise.
15012 * shadow/getspnam_r.c: Likewise.
15013 * gshadow/getsgent.c: Likewise.
15014 * gshadow/getsgent_r.c: Likewise.
15015 * gshadow/getsgnam.c: Likewise.
15016 * gshadow/getsgnam_r.c: Likewise.
15017 * inet/getnetbyad.c: Likewise.
15018 * inet/getnetbyad_r.c: Likewise.
15019 * inet/getnetbynm.c: Likewise.
15020 * inet/getnetbynm_r.c: Likewise.
15021 * inet/getnetent.c: Likewise.
15022 * inet/getnetent_r.c: Likewise.
15023 * inet/getproto.c: Likewise.
15024 * inet/getproto_r.c: Likewise.
15025 * inet/getprtent.c: Likewise.
15026 * inet/getprtent_r.c: Likewise.
15027 * inet/getprtname.c: Likewise.
15028 * inet/getprtname_r.c: Likewise.
15029 * inet/getrpcbyname.c: Likewise.
15030 * inet/getrpcbyname_r.c: Likewise.
15031 * inet/getrpcbynumber.c: Likewise.
15032 * inet/getrpcbynumber_r.c: Likewise.
15033 * inet/getrpcent.c: Likewise.
15034 * inet/getrpcent_r.c: Likewise.
15035 * inet/getaliasent.c: Likewise.
15036 * inet/getaliasent_r.c: Likewise.
15037 * inet/getaliasname.c: Likewise.
15038 * inet/getaliasname_r.c: Likewise.
15039 * nscd/getgrgid_r.c: Likewise.
15040 * nscd/getgrnam_r.c: Likewise.
15041 * nscd/gethstbyad_r.c: Likewise.
15042 * nscd/gethstbynm3_r.c: Likewise.
15043 * nscd/getpwnam_r.c: Likewise.
15044 * nscd/getpwuid_r.c: Likewise.
15045 * nscd/getsrvbynm_r.c: Likewise.
15046 * nscd/getsrvbypt_r.c: Likewise.
15047 * nscd/gai.c: Likewise.
15049 * configure.in (build_nscd): New substituted variable, set
15050 by --disable-build-nscd and defaults to $use_nscd.
15051 * configure: Regenerated.
15052 * config.make.in (build-nscd): New substituted variable.
15053 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15054 Change conditional to require [$(build-nscd) = yes] as well.
15055 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15058 * configure.in (use_nscd): New substituted variable, set by
15059 --disable-nscd. If enabled, define USE_NSCD.
15060 * configure: Regenerated.
15061 * config.h.in: Add USE_NSCD.
15062 * config.make.in (use-nscd): New substituted variable.
15063 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15064 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15065 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15066 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15067 (CFLAGS-getgrnam_r.c): Likewise.
15068 (CFLAGS-initgroups.c): Likewise.
15069 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15070 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15072 * inet/getnetgrent_r.c
15073 (nscd_setnetgrent): New function, broken out of ...
15074 (setnetgrent): ... here. Call it.
15075 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15076 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15077 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15078 * nscd/Makefile (routines, aux): Move definitions after include of
15079 Makeconfig. Conditionalize on [$(use-nscd) != no].
15080 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15081 Conditionalize on [USE_NSCD].
15082 (is_nscd, nscd_init_cb): Likewise.
15083 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15084 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15085 * nss/nss_db/db-init.c: Likewise.
15086 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15088 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15089 (make_request): Use it.
15090 (cache_valid_p): New function.
15091 (__check_pf): Use it.
15092 * NEWS: Add item for --disable-nscd.
15094 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15096 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15097 to support sed >= 4.2.1-20-ga9bf076.
15098 * configure: Regenerated.
15100 2012-08-22 Roland McGrath <roland@hack.frob.com>
15102 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15103 Conditionalize whole body on [IREL].
15105 2012-08-22 Jeff Law <law@redhat.com>
15108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15109 if the family is PF_UNSPEC.
15111 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15113 * Makerules (lib-version): Rename from V.
15114 (install-lib-nosubdir): Change V to lib-version.
15116 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15119 * powerpc32/power6/wcschr.c: New file.
15120 * powerpc32/power6/wcscpy.c: New file.
15121 * powerpc32/power6/wcsrchr.c: New file.
15122 * powerpc64/power6/wcschr.c: New file.
15123 * powerpc64/power6/wcscpy.c: New file.
15124 * powerpc64/power6/wcsrchr.c: New file.
15126 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15128 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15129 (two_way_short_needle): Use it.
15130 * string/strstr.c (AVAILABLE1_USES_J): Define.
15131 * string/strcasestr.c: Likewise.
15133 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15135 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15138 * NEWS: Add an entry.
15139 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15140 define their defaults.
15141 (two_way_short_needle): Detect end-of-string on-the-fly.
15142 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15143 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15144 * string/bug-strcasestr1.c: New test.
15145 * string/Makefile: Run it.
15147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15150 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15151 the first character.
15153 2012-08-21 Roland McGrath <roland@hack.frob.com>
15155 * csu/elf-init.c (__libc_csu_irel): Function removed.
15156 * csu/libc-start.c (apply_irel): New function.
15157 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15159 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15161 * sysdeps/unix/sysv/linux/kernel-features.h
15162 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15164 <kernel-features.h>.
15165 [__NR_fadvise64_64]: Make code unconditional.
15166 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15167 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15168 !__NR_fadvise64_64)]: Likewise.
15169 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15170 !__NR_fadvise64_64))]: Likewise.
15171 [__NR_fadvise64]: Make code unconditional.
15172 [!__NR_fadvise64]: Remove conditional code.
15173 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15174 <kernel-features.h>.
15175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15180 not include <kernel-features.h>.
15181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15186 include <kernel-features.h>.
15187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15192 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15195 slight instruction rearrangements per scrollpipe analysis.
15196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15198 2012-08-20 Roland McGrath <roland@hack.frob.com>
15200 * manual/syslog.texi (syslog; vsyslog, closelog):
15201 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15202 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15204 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15205 DSOCAPS to match condition on defining it.
15207 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15209 * sysdeps/unix/sysv/linux/kernel-features.h
15210 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15221 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15222 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15224 * sysdeps/unix/sysv/linux/kernel-features.h
15225 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15226 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15228 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15229 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15232 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15233 Make code unconditional.
15234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15235 (__mmap64) [!__NR_mmap2]: Likewise.
15236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15239 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15240 [__NR_mmap2]: Make code unconditional.
15241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15242 (__mmap64) [!__NR_mmap2]: Likewise.
15244 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15246 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15248 2012-08-18 Andreas Jaeger <aj@suse.de>
15250 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15252 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15254 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15255 * include/unistd.h (__have_sock_cloexec): Likewise.
15256 (__have_pipe2): Likewise.
15257 (__have_dup3): Likewise.
15259 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15262 * include/unistd.h (__have_pipe2): Change define into an extern int.
15263 (__have_dup3): Likewise.
15264 * socket/have_sock_cloexec.c: Include fcntl.h.
15265 (__have_pipe2): New variable.
15266 (__have_dup3): Likewise.
15268 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15270 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15272 2012-08-17 Marek Polacek <polacek@redhat.com>
15274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15275 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15277 2012-08-17 Roland McGrath <roland@hack.frob.com>
15279 * configure.in: Add AC_SUBST for sysheaders.
15280 * configure: Regenerated.
15281 * config.make.in (sysheaders): New substituted variable.
15283 * sysdeps/unix/mkfifo.c: Moved ...
15284 * sysdeps/posix/mkfifo.c: ... here.
15285 * sysdeps/unix/mkfifoat.c: Moved ...
15286 * sysdeps/posix/mkfifoat.c: ... here.
15288 * sysdeps/unix/utime.c: Moved ...
15289 * sysdeps/posix/utime.c: ... here.
15291 * sysdeps/unix/time.c: Moved ...
15292 * sysdeps/posix/time.c: ... here.
15293 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15294 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15296 * sysdeps/unix/nice.c: Moved ...
15297 * sysdeps/posix/nice.c: ... here.
15299 * sysdeps/unix/alarm.c: Moved ...
15300 * sysdeps/posix/alarm.c: ... here.
15302 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15304 2012-08-17 Jeff Law <law@redhat.com>
15306 * intl/Makefile (codeset_mo): New variable.
15307 ($(codeset_mo)): New target.
15308 (tst-codeset.out): Depend on that. Remove explicit rule.
15309 (tst-gettext3.out, tst-gettext5.out): Likewise.
15310 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15311 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15312 * intl/tst-codeset.sh: Remove.
15313 * intl/tst-gettext3.sh: Likewise.
15314 * intl/tst-gettext5.sh: Likewise.
15316 2012-08-17 Roland McGrath <roland@hack.frob.com>
15318 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15319 * sysdeps/unix/syscalls.list: ... here.
15321 * sysdeps/posix/getaddrinfo.c
15322 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15323 (gaiconf_init, gaiconf_reload): Use them.
15324 [!_STATBUF_ST_NSEC]
15325 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15326 Define using time_t rather than struct timespec.
15328 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15329 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15331 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15333 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15334 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15337 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15338 __libc_cleanup_push argument.
15340 * bits/param.h: New file.
15341 * misc/sys/param.h: New file.
15342 * include/sys/param.h: New file.
15343 * misc/Makefile (headers): Add bits/param.h.
15344 * sysdeps/generic/sys/param.h: File removed.
15345 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15346 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15347 * sysdeps/mach/hurd/bits/param.h: New file.
15348 * sysdeps/mach/hurd/sys/param.h: File removed.
15350 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15353 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15355 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15356 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15359 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15360 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15361 rather than -D_IO_MTSAFE_IO conditionally.
15362 * stdio-common/Makefile (CPPFLAGS): Likewise.
15363 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15364 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15365 Use $(libio-mtsafe).
15366 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15367 of -D_IO_MTSAFE_IO.
15368 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15369 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15370 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15371 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15372 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15373 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15374 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15375 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15376 (CFLAGS-fread_u_chk.c): Likewise.
15377 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15378 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15379 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15380 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15381 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15382 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15383 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15384 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15385 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15387 * libio/Makefile: Test [$(libc-reentrant) = yes]
15388 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15391 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15392 * sysdeps/pthread/configure: File removed.
15393 * sysdeps/pthread/Makeconfig: New file.
15394 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15395 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15397 2012-08-16 Gary Benson <gbenson@redhat.com>
15399 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15400 unmapping the first object in a namespace.
15402 2012-08-16 Roland McGrath <roland@hack.frob.com>
15404 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15405 (__internal_setnetgrent): ... this. Add internal_function to
15406 definition. Add libc_hidden_def.
15407 (setnetgrent): Update caller.
15408 (internal_endnetgrent): Renamed to ...
15409 (__internal_endnetgrent): ... this. Add internal_function to
15410 definition. Add libc_hidden_def.
15411 (endnetgrent): Update caller.
15412 (internal_getnetgrent_r): Renamed to ...
15413 (__internal_getnetgrent_r): ... this. Add internal_function to
15414 definition. Add libc_hidden_def.
15415 (__getnetgrent_r): Update caller.
15416 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15418 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15420 * stdlib/longlong.h: Update from GCC.
15422 2012-08-16 Roland McGrath <roland@hack.frob.com>
15424 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15425 on _QL, which is set by umul_ppmm but never used.
15426 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15427 variables, which are set by GMP macros but never used.
15428 * stdio-common/_itowa.c (_itowa): Likewise.
15429 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15430 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15432 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15434 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15435 struct La_sh_regs is not constant.
15436 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15437 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15438 and struct La_sparc64_regs are not constant.
15440 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15442 * sysdeps/unix/sysv/linux/kernel-features.h
15443 (__ASSUME_POSIX_TIMERS): Remove.
15444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15446 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15447 Make code unconditional.
15448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15449 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15450 Make code unconditional.
15451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15452 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15453 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15455 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15456 Make code unconditional.
15457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15458 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15459 (__libc_missing_posix_timers): Remove.
15461 2012-08-15 Roland McGrath <roland@hack.frob.com>
15463 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15464 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15466 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15468 * elf/dl-sym.c: Include <stdlib.h>.
15470 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15471 constants, which avoids warnings in 32-bit builds.
15473 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15474 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15476 * misc/lseek.c: File moved to ...
15477 * io/lseek.c: ... here.
15479 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15481 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15482 shifting LEN more than 31 bits at once.
15484 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15487 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15488 segmentation fault for a case of two empty input strings.
15489 * string/test-strncasecmp.c (check1): Renamed to...
15490 (bz12205): ...this.
15491 (bz14195): Add new testcase for two empty input strings and N > 0.
15492 (test_main): Call new testcase, adapt for renamed function.
15494 2012-08-15 Andreas Jaeger <aj@suse.de>
15497 * crypt/md5test2.c: New test, based on test supplied by Serge
15498 Belyshev <belyshev@depni.sinp.msu.ru>.
15499 * crypt/Makefile (xtests): Add md5test-giant..
15500 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15502 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15505 * crypt/md5.c (md5_process_block): Don't assume the buffer
15506 length is less than 2**32.
15507 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15508 length is less than 2**64.
15510 2012-08-15 Roland McGrath <roland@hack.frob.com>
15512 * string/str-two-way.h: Include <sys/param.h>.
15513 (MAX): Macro removed.
15515 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15516 Move #define and #undef of memmove to just before and after
15517 including <string.h>.
15519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15520 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15521 and after including <string.h>. Move declarations of
15522 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15523 to before #include "string/memmove.c".
15525 * include/dirent.h: Declare __getdirentries.
15527 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15528 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15530 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15532 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15533 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15534 * sysdeps/i386/configure: Regenerated.
15535 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15536 STABS_CURRENT_FILE, and STABS_FUN.
15537 (END): Remove call to STABS_FUN_END.
15538 (STABS_CURRENT_FILE1): Delete.
15539 (STABS_CURRENT_FILE): Likewise.
15540 (STABS_FUN): Likewise.
15541 (STABS_FUN_END): Likewise.
15542 (STABS_FUN2): Likewise.
15543 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15544 * sysdeps/x86_64/configure: Regenerated.
15546 2012-08-14 Roland McGrath <roland@hack.frob.com>
15548 * elf/dl-open.c: Include <atomic.h>.
15549 * elf/dl-lookup.c: Likewise.
15551 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15553 * sysdeps/unix/sysv/linux/kernel-features.h
15554 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15555 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15557 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15559 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15560 condition on __ASSUME_CLONE_THREAD_FLAGS.
15562 2012-08-14 Andreas Jaeger <aj@suse.de>
15564 * sysdeps/i386/fpu/libm-test-ulps: Update.
15566 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15568 * include/atomic.h (atomic_exchange_and_add): Split into ...
15569 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15572 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15576 2012-08-13 Jeff Law <law@redhat.com>
15578 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15579 null byte in the output string.
15581 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15583 * sysdeps/unix/sysv/linux/kernel-features.h
15584 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15585 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15586 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15588 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15589 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15590 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15592 2012-08-09 Jeff Law <law@redhat.com>
15595 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15596 When avoid_arena is set, don't retry in the that arena. Pick the
15597 next one, whatever it might be.
15598 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15599 (arena_lock): Pass in new parameter to arena_get2.
15600 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15602 (__libc_malloc): Unify retrying after main arena failure with
15603 __libc_memalign version.
15604 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15606 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15609 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15610 to __redirect_strstr.
15611 (__strstr_sse42): Use typeof __redirect_strstr.
15612 (__strstr_ia32): Likewise.
15613 (__libc_strstr): New prototype.
15614 (strstr): Renamed to ...
15615 (__libc_strstr): This.
15616 (strstr): New strong alias of __libc_strstr.
15617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15618 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15621 (__libc_time): New prototype.
15622 (time_ifunc): Replace time with __libc_time.
15623 (time): New strong alias and hidden definition of __libc_time.
15624 (__GI_time): Remove strong alias.
15625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15626 Include <stddef.h>.
15627 (memmove): Redefined to __redirect_memmove.
15628 (__memmove_sse2): Use typeof __redirect_memmove.
15629 (__memmove_ssse3): Likewise.
15630 (__memmove_ssse3_back): Likewise.
15631 (__libc_memmove): New prototype.
15632 (memmove): Renamed to ...
15633 (__libc_memmove): This.
15634 (memmove): New strong alias of __libc_memmove.
15636 2012-08-08 Mark Salter <msalter@redhat.com>
15639 (R_MN10300_TLS_GD): Define.
15640 (R_MN10300_TLS_LD): Likewise.
15641 (R_MN10300_TLS_LDO): Likewise.
15642 (R_MN10300_TLS_GOTIE): Likewise.
15643 (R_MN10300_TLS_IE): Likewise.
15644 (R_MN10300_TLS_LE): Likewise.
15645 (R_MN10300_TLS_DTPMOD): Likewise.
15646 (R_MN10300_TLS_DTPOFF): Likewise.
15647 (R_MN10300_TLS_TPOFF): Likewise.
15648 (R_MN10300_SYM_DIFF): Likewise.
15649 (R_MN10300_ALIGN): Likewise.
15650 (R_MN10300_NUM): Update.
15652 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15657 2012-08-08 Roland McGrath <roland@hack.frob.com>
15659 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15661 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15662 sysdeps/unix -> sysdeps/posix move.
15663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15665 2012-08-07 Allan McRae <allan@archlinux.org>
15668 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15669 (SUNOS_CPP): Likewise.
15670 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15672 (open_input): Call CPP using execvp.
15674 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15676 * sysdeps/unix/sysv/linux/kernel-features.h
15677 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15678 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15679 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15680 (__ASSUME_WAITID_SYSCALL): Likewise.
15681 * sysdeps/unix/sysv/linux/dl-execstack.c
15682 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15683 code unconditional.
15684 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15687 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15688 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15690 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15692 [__ASSUME_WAITID_SYSCALL]: Likewise.
15693 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15695 2012-08-07 Roland McGrath <roland@hack.frob.com>
15697 * sysdeps/unix/closedir.c: Renamed to ...
15698 * sysdeps/posix/closedir.c: ... here.
15699 * sysdeps/unix/dirfd.c: Renamed to ...
15700 * sysdeps/posix/dirfd.c: ... here.
15701 * sysdeps/unix/dirstream.h: Renamed to ...
15702 * sysdeps/posix/dirstream.h: ... here.
15703 * sysdeps/unix/fdopendir.c: Renamed to ...
15704 * sysdeps/posix/fdopendir.c: ... here.
15705 * sysdeps/unix/opendir.c: Renamed to ...
15706 * sysdeps/posix/opendir.c: ... here.
15707 * sysdeps/unix/readdir.c: Renamed to ...
15708 * sysdeps/posix/readdir.c: ... here.
15709 * sysdeps/unix/readdir_r.c: Renamed to ...
15710 * sysdeps/posix/readdir_r.c: ... here.
15711 * sysdeps/unix/rewinddir.c: Renamed to ...
15712 * sysdeps/posix/rewinddir.c: ... here.
15713 * sysdeps/unix/seekdir.c: Renamed to ...
15714 * sysdeps/posix/seekdir.c: ... here.
15715 * sysdeps/unix/telldir.c: Renamed to ...
15716 * sysdeps/posix/telldir.c: ... here.
15717 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15718 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15719 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15720 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15723 * bits/fcntl.h: ... here.
15725 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15727 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15728 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15729 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15730 (struct flock): Move l_start, l_len to the beginning.
15731 Use __pid_t for l_pid.
15732 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15733 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15734 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15735 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15736 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15737 [__USE_LARGEFILE64] (struct flock64): New type.
15738 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15741 * bits/dirent.h: ... here.
15743 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15744 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15746 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15749 Change from 2.6.0 to 2.6.16.
15750 * sysdeps/unix/sysv/linux/configure: Regenerated.
15751 * sysdeps/unix/sysv/linux/kernel-features.h
15752 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15753 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15755 (__ASSUME_UTIMES): Likewise.
15756 (__ASSUME_CLONE_STOPPED): Remove.
15757 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15758 architectures, not kernel version.
15759 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15762 (__ASSUME_WAITID_SYSCALL): Likewise.
15763 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15764 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15765 * README: State 2.6.16 as minimum Linux kernel version. Do not
15766 refer to older versions.
15768 2012-08-06 Roland McGrath <roland@hack.frob.com>
15770 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15771 Define alphasort64 as an alias.
15772 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15773 Define versionsort64 as an alias.
15774 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15775 Define scandir64 as an alias.
15776 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15777 Define scandirat64 as an alias.
15778 * dirent/alphasort64.c (alphasort64):
15779 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15780 * dirent/versionsort64.c: Likewise.
15781 * dirent/scandir64.c: Likewise.
15782 * dirent/scandirat64.c: Likewise.
15783 * sysdeps/wordsize-64/alphasort.c: File removed.
15784 * sysdeps/wordsize-64/alphasort64.c: File removed.
15785 * sysdeps/wordsize-64/scandir.c: File removed.
15786 * sysdeps/wordsize-64/scandir64.c: File removed.
15787 * sysdeps/wordsize-64/scandirat.c: File removed.
15788 * sysdeps/wordsize-64/scandirat64.c: File removed.
15789 * sysdeps/wordsize-64/versionsort.c: File removed.
15790 * sysdeps/wordsize-64/versionsort64.c: File removed.
15791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15800 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15802 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15804 [defined __arch64__ || defined __sparcv9]
15805 (__INO_T_MATCHES_INO64_T): New macro.
15806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15807 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15808 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15809 * sysdeps/unix/sysv/linux/bits/dirent.h
15810 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15811 (_DIRENT_MATCHES_DIRENT64): New macro.
15813 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15814 Define lockf64 as an alias.
15815 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15816 Define fseeko64 as an alias.
15817 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15818 Define ftello64 as an alias.
15819 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15820 Define _IO_fgetpos64 and fgetpos64 as aliases.
15821 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15822 Define _IO_fsetpos64 and fsetpos64 as aliases.
15823 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15824 Conditionalize body on this.
15825 * libio/fseeko64.c: Likewise.
15826 * libio/ftello64.c: Likewise.
15827 * libio/iofgetpos64.c: Likewise.
15828 * libio/iofsetpos64.c: Likewise.
15829 * sysdeps/wordsize-64/lockf.c: File removed.
15830 * sysdeps/wordsize-64/lockf64.c: File removed.
15831 * sysdeps/wordsize-64/fseeko.c: File removed.
15832 * sysdeps/wordsize-64/fseeko64.c: File removed.
15833 * sysdeps/wordsize-64/ftello.c: File removed.
15834 * sysdeps/wordsize-64/ftello64.c: File removed.
15835 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15836 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15837 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15838 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15850 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15852 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15854 [defined __arch64__ || defined __sparcv9]
15855 (__OFF_T_MATCHES_OFF64_T): New macro.
15856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15857 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15859 (__OFF_T_MATCHES_OFF64_T): New macro.
15861 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15863 * stdlib/secure-getenv.c (__secure_getenv): Replace
15864 GLIBC_2_16 with GLIBC_2_17.
15866 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15871 2012-08-03 David S. Miller <davem@davemloft.net>
15873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15875 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15879 (__ASSUME_CORRECT_SI_PID): Likewise.
15880 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15881 (__ASSUME_TMPFS_NAME): Likewise.
15882 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15883 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15884 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15885 (HAVE_AUX_SECURE): Make definition unconditional.
15886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15887 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15889 2012-08-03 Roland McGrath <roland@hack.frob.com>
15891 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15892 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15893 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15895 __eloop_threshold instead of SYMLOOP_MAX.
15897 * sysdeps/generic/eloop-threshold.h: New file.
15898 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15900 * elf/chroot_canon.c (chroot_canon): Likewise.
15902 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15906 Change to 2.6.0 everywhere.
15907 * sysdeps/unix/sysv/linux/configure: Regenerated.
15908 * sysdeps/unix/sysv/linux/kernel-features.h
15909 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15910 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15912 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15913 (__ASSUME_FUTEX_REQUEUE): Remove.
15914 (__ASSUME_STATFS64): Define unconditionally.
15915 (__ASSUME_AT_SECURE): Likewise.
15916 (__ASSUME_CORRECT_SI_PID): Likewise.
15917 (__ASSUME_TGKILL): Define without depending on kernel version for
15919 (__ASSUME_UTIMES): Likewise.
15920 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15922 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15923 (__ASSUME_TMPFS_NAME): Likewise.
15924 * README: Update reference to Linux kernel versions.
15926 2012-08-02 Marek Polacek <polacek@redhat.com>
15929 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15930 libc_cv_asm_type_prefix with %.
15931 * configure: Regenerated.
15932 * include/libc-symbols.h: Remove comment about
15933 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15934 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15935 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15936 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15937 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15938 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15941 * elf/tst-unique2mod1.c: Likewise.
15942 * elf/tst-unique1mod2.c: Likewise.
15943 * elf/tst-unique1mod1.c: Likewise.
15944 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15945 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15946 Replace ASM_TYPE_DIRECTIVE with .type.
15947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15948 * sysdeps/i386/sysdep.h: Likewise.
15949 * sysdeps/x86_64/sysdep.h: Likewise.
15950 * sysdeps/sh/sysdep.h: Likewise.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15952 Do not define ASM_TYPE_DIRECTIVE.
15953 * sysdeps/powerpc/sysdep.h: Likewise.
15954 * sysdeps/powerpc/powerpc32/sysdep.h:
15955 Replace ASM_TYPE_DIRECTIVE with .type.
15956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15957 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15958 * sysdeps/i386/fpu/e_powf.S: Likewise.
15959 * sysdeps/i386/fpu/e_expl.S: Likewise.
15960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15962 * sysdeps/i386/fpu/e_pow.S: Likewise.
15963 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15965 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15966 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15967 * sysdeps/i386/fpu/e_log2.S: Likewise.
15968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15969 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15970 * sysdeps/i386/fpu/e_powl.S: Likewise.
15971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15973 * sysdeps/i386/fpu/e_logl.S: Likewise.
15974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15979 * sysdeps/i386/fpu/e_log.S: Likewise.
15980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15981 * sysdeps/i386/fpu/e_logf.S: Likewise.
15982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15985 * sysdeps/i386/fpu/e_log10.S: Likewise.
15986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15993 * sysdeps/i386/i686/strtok.S: Likewise.
15994 * sysdeps/i386/i386-mcount.S: Likewise.
15995 * sysdeps/i386/strtok.S: Likewise.
15996 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16005 * sysdeps/x86_64/_mcount.S: Likewise.
16006 * sysdeps/x86_64/strtok.S: Likewise.
16007 * sysdeps/sh/_mcount.S: Likewise.
16009 2012-08-01 Roland McGrath <roland@hack.frob.com>
16011 * libio/iofopen.c: Include <fcntl.h>.
16012 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16013 (_IO_fopen64, fopen64): Define as aliases.
16014 * libio/iofopen64.c: Include <fcntl.h>.
16015 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16016 Conditionalize body on this.
16017 * sysdeps/wordsize-64/iofopen.c: File removed.
16018 * sysdeps/wordsize-64/iofopen64.c: File removed.
16020 2012-08-01 Marek Polacek <polacek@redhat.com>
16022 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16023 Use dlfcn directly instead of a variable.
16024 (binfmt-subdir): Do not define.
16027 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16030 Remove all definitions.
16031 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16032 <kernel-features.h>.
16033 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16034 (miss_F_GETOWN_EX): Remove all definitions.
16035 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16037 [!__ASSUME_FCNTL64]: Remove conditional code.
16038 [__ASSUME_FCNTL64]: Make code unconditional.
16039 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16040 <kernel-features.h>.
16041 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16042 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16043 (lockf64) [__NR_fcntl64]: Make code unconditional.
16044 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16046 * sysdeps/unix/sysv/linux/kernel-features.h
16047 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16048 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16049 Make code unconditional.
16050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16053 [__NR_vfork]: Make code unconditional.
16054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16057 [__NR_vfork]: Make code unconditional.
16058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16061 2012-08-01 Roland McGrath <roland@hack.frob.com>
16063 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16064 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16066 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16067 Define mkstemp64 as an alias.
16068 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16069 Define mkstemps64 as an alias.
16070 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16071 Define mkostemp64 as an alias.
16072 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16073 Define mkostemps64 as an alias.
16074 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16075 Conditionalize body on this.
16076 * misc/mkostemp64.c: Likewise.
16077 * misc/mkostemps64.c: Likewise.
16078 * misc/mkstemps64.c: Likewise.
16079 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16080 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16081 * sysdeps/wordsize-64/mkostemp.c: File removed.
16082 * sysdeps/wordsize-64/mkstemp.c: File removed.
16083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16089 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16091 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16092 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16094 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16095 compat_symbol macros from <shlib-compat.h> rather than the underlying
16096 default_symbol_version and symbol_version macros, so that DEFAULT
16097 lines in shlib-versions are respected.
16098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16100 2012-08-01 Florian Weimer <fweimer@redhat.com>
16102 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16103 Declare with warn_unused_result.
16104 (setgid, setregid, setegid, setresgid): Likewise.
16105 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16107 * WUR-REPORT: Remove set*id functions.
16109 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16111 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16113 2012-07-31 Roland McGrath <roland@hack.frob.com>
16116 * include/sys/socket.h (__libc_accept, __libc_accept4):
16117 Add attribute_hidden.
16118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16122 * inet/getnetgrent_r.c (setup): Likewise.
16124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16126 2012-07-31 David S. Miller <davem@davemloft.net>
16128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16130 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16134 value between 1.0 and 2.0 and smaller part has absolute value less
16136 * math/s_clog10.c (__clog10): Likewise.
16137 * math/s_clog10f.c (__clog10f): Likewise.
16138 * math/s_clog10l.c (__clog10l): Likewise.
16139 * math/s_clogf.c (__clogf): Likewise.
16140 * math/s_clogl.c (__clogl): Likewise.
16141 * math/libm-test.inc (clog_test): Add more tests.
16142 (clog10_test): Likewise.
16143 * sysdeps/i386/fpu/libm-test-ulps: Update.
16144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16146 2012-07-31 Florian Weimer <fweimer@redhat.com>
16148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16149 Exit with zero in case no suitable GID is found, and write a
16150 message to standard error.
16152 2012-07-30 Roland McGrath <roland@hack.frob.com>
16154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16157 (MAXPATHLEN): Removed.
16158 (NOGROUP, NODEV): New macros.
16159 (setbit, clrbit, isset, isclr): New macros.
16160 (howmany, roundup, powerof2): New macros.
16161 (DEV_BSIZE): New macro.
16163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16167 definition on [!__NO_LONG_DOUBLE_MATH].
16169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16170 PTR_MANGLE and PTR_DEMANGLE.
16172 * socket/accept4.c (accept4): Rename to __libc_accept4.
16173 Define accept4 as a weak alias.
16175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16176 on [_DIRENT_HAVE_D_TYPE].
16177 * io/ftw.c (ftw_dir): Likewise.
16179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16184 Use the BSD numbers rather than the arbitrary ones we had.
16185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16187 (SIGXCPU, SIGXFSZ): New macros.
16190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16191 initializer on [_LIBC_REENTRANT].
16193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16194 definitions inside [_POSIX_MAPPED_FILES].
16196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16198 * dirent/opendir.c: Include <fcntl.h>.
16200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16201 (__libc_getspecific): Likewise.
16202 (__libc_key_create): Likewise.
16204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16207 (tmpfile64): Define as alias.
16208 * sysdeps/wordsize-64/tmpfile.c: File removed.
16209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16213 * stdio-common/vfscanf.c: Include <stdbool.h>.
16214 * nss/makedb.c: Likewise.
16215 * stdio-common/_i18n_number.h: Likewise.
16216 * argp/argp-help.c: Likewise.
16217 * posix/wordexp.c: Likewise.
16218 * sysdeps/posix/spawni.c: Likewise.
16219 * nss/nss_files/files-initgroups.c: Likewise.
16220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16221 * nss/nss_files/files-initgroups.c: Likewise.
16222 * nss/nss_db/db-netgrp.c: Likewise.
16223 * nss/nss_db/db-initgroups.c: Likewise.
16224 * io/fchmodat.c: Include <sys/stat.h>.
16226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16233 Add multiple inclusion protection.
16235 2012-07-27 David S. Miller <davem@davemloft.net>
16237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16239 2012-07-27 Gary Benson <gbenson@redhat.com>
16242 * elf/rtld.c: Include <stap-probe.h>.
16243 (dl_main): Added static probes "init_start" and "init_complete".
16244 * elf/dl-load.c: Include <stap-probe.h>.
16245 (lose): Take new parameter "nsid".
16246 Added static probe "map_failed".
16247 (_dl_map_object_from_fd): Pass namespace id to lose.
16248 Added static probe "map_start".
16249 (open_verify): Pass namespace id to lose.
16250 * elf/dl-open.c: Include <stap-probe.h>.
16251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16252 and "reloc_complete".
16253 * elf/dl-close.c: Include <stap-probe.h>.
16254 (_dl_close_worker): Added static probes "unmap_start" and
16256 * elf/rtld-debugger-interface.txt: New file documenting the above.
16258 2012-07-26 Roland McGrath <roland@hack.frob.com>
16260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16261 rather than a string variable.
16262 * sunrpc/rpc_main.c (h_output): Likewise.
16263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16265 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16267 * inet/check_native.c: New file.
16269 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16273 if larger part has absolute value 1.0.
16274 * math/s_clog10.c (__clog10): Likewise.
16275 * math/s_clog10f.c (__clog10f): Likewise.
16276 * math/s_clog10l.c (__clog10l): Likewise.
16277 * math/s_clogf.c (__clogf): Likewise.
16278 * math/s_clogl.c (__clogl): Likewise.
16279 * math/libm-test.inc (clog_test): Add more tests.
16280 (clog10_test): Likewise.
16281 * sysdeps/i386/fpu/libm-test-ulps: Update.
16282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16285 (pltexit): Likewise.
16286 (La_regs): Likewise.
16287 (La_retval): Likewise.
16288 (int_retval): Likewise.
16289 Update #error for removed macros to refer only to definitions in
16291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16293 (pltexit): Likewise.
16294 (La_regs): Likewise.
16295 (La_retval): Likewise.
16296 (int_retval): Likewise.
16297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16299 (pltexit): Likewise.
16300 (La_regs): Likewise.
16301 (La_retval): Likewise.
16302 (int_retval): Likewise.
16303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16305 (pltexit): Likewise.
16306 (La_regs): Likewise.
16307 (La_retval): Likewise.
16308 (int_retval): Likewise.
16309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16311 (pltexit): Likewise.
16312 (La_regs): Likewise.
16313 (La_retval): Likewise.
16314 (int_retval): Likewise.
16315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16317 (pltexit): Likewise.
16318 (La_regs): Likewise.
16319 (La_retval): Likewise.
16320 (int_retval): Likewise.
16321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16323 (pltexit): Likewise.
16324 (La_regs): Likewise.
16325 (La_retval): Likewise.
16326 (int_retval): Likewise.
16327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16328 macro definitions in tst-audit.h.
16329 * sysdeps/i386/tst-audit.h: New file.
16330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16334 * sysdeps/sh/tst-audit.h: Likewise.
16335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16337 * sysdeps/x86_64/tst-audit.h: Likewise.
16339 2012-07-26 Andreas Jaeger <aj@suse.de>
16341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16357 (si_call_addr, si_syscall, si_arch): Define new macro.
16358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16360 (si_call_addr, si_syscall, si_arch): Define new marcro.
16361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16363 (si_call_addr, si_syscall, si_arch): Define new macro.
16364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16366 (si_call_addr, si_syscall, si_arch): Define new macro.
16368 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16372 Change to 2.4.21 where previously 2.4.1.
16373 * sysdeps/unix/sysv/linux/configure: Regenerated.
16374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16376 Linux kernel version.
16377 (__ASSUME_STD_AUXV): Remove.
16378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16384 (__ASSUME_NETLINK_SUPPORT): Likewise.
16385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16386 (__no_netlink_support): Remove conditional definition.
16387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16392 (if_nameindex_ioctl): Remove.
16393 (if_nameindex_netlink): Do not handle __no_netlink_support.
16394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16397 Remove conditional code.
16398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16407 [!__ASSUME_STD_AUXV]: Remove conditional code.
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16429 code unconditional.
16430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16443 code unconditional.
16444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16452 code unconditional.
16453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16460 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16486 2012-07-25 Florian Weimer <fweimer@redhat.com>
16488 * Versions.def: Add GLIBC_2.17.
16489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16491 Introduce __libc_secure_getenv.
16492 * stdlib/Versions (2.17): Add secure_getenv
16493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16494 * stdlib/secure-getenv.c: Rename __secure_getenv to
16495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16496 symbol __secure_getenv for GLIBC_2.0.
16497 * stdlib/tst-secure-getenv.c: New.
16498 * stdlib/Makefile (tests): Add testcase.
16499 * manual/startup.texi (Environment Access): Document
16501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16502 __libc_secure_getenv.
16503 * inet/ruserpass.c (ruserpass): Likewise.
16504 * malloc/mtrace.c (mtrace): Likewise.
16505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16508 * sysdeps/posix/tempname.c: Likewise. Evaluate
16509 HAVE_SECURE_GETENV.
16510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16511 __secure_getenv to __libc_secure_getenv.
16512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16525 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16528 (struct La_i86_retval): Likewise.
16529 (struct La_x86_64_regs): Likewise.
16530 (struct La_x86_64_retval): Likewise.
16531 (struct La_x32_regs): Likewise.
16532 (struct La_x32_retval): Likewise.
16533 (struct La_ppc32_regs): Likewise.
16534 (struct La_ppc32_retval): Likewise.
16535 (struct La_ppc64_regs): Likewise.
16536 (struct La_ppc64_retval): Likewise.
16537 (struct La_sh_regs): Likewise.
16538 (struct La_sh_retval): Likewise.
16539 (struct La_s390_32_regs): Likewise.
16540 (struct La_s390_32_retval): Likewise.
16541 (struct La_s390_64_regs): Likewise.
16542 (struct La_s390_64_retval): Likewise.
16543 (struct La_sparc32_regs): Likewise.
16544 (struct La_sparc32_retval): Likewise.
16545 (struct La_sparc64_regs): Likewise.
16546 (struct La_sparc64_retval): Likewise.
16547 (struct audit_ifaces): Remove architecture-specific pltenter and
16549 * sysdeps/i386/ldsodefs.h: New file.
16550 * sysdeps/powerpc/ldsodefs.h: Likewise.
16551 * sysdeps/s390/ldsodefs.h: Likewise.
16552 * sysdeps/sh/ldsodefs.h: Likewise.
16553 * sysdeps/sparc/ldsodefs.h: Likewise.
16554 * sysdeps/x86_64/ldsodefs.h: Likewise.
16556 2012-07-25 Marek Polacek <polacek@redhat.com>
16559 * math/libm-test.inc (yn_test): Add another test.
16560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16561 to ERANGE when the result is +-Inf.
16562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16567 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16569 * conform/data/time.h-data (NULL): Use macro-constant. Require
16571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16575 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16577 * configure.in <sysdeps resolving>: Correct printing
16579 * configure: Regenerate.
16581 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16583 * math/w_ilogb.c: Include <limits.h>.
16584 * math/w_ilogbl.c: Likewise.
16586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16589 va_copy. Document allowing for unavailable va_copy only as
16590 pre-C99 compatibility.
16591 * manual/string.texi (Copying and Concatenation): Use va_copy
16592 instead of __va_copy in concat example.
16594 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16597 (__sendto): Use create_address_port. Initialize APORT and deallocate
16600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16601 with O_NOLINK passed to __file_name_lookup.
16603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16604 with O_NOLINK passed to __file_name_lookup.
16606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16607 negative N or less than NGIDS.
16609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16610 type to string_t. Set ERANGE as errno and return it if NAME is not big
16611 enough. Use memcpy instead of strncpy.
16613 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16615 * elf/Makefile (check-data): Remove.
16616 (localplt.data): New vpath directive.
16617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16618 instead of $(check-data).
16619 * scripts/data/localplt-generic.data: Move to ...
16620 * sysdeps/generic/localplt.data: ... here.
16621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16642 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16645 PPC32 and PPC64 files.
16646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16649 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16652 __makecontext_ret to ...
16653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16654 ... here and call exit if uc_link is NULL. New file.
16655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16656 __makecontext_ret.S.
16657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16658 __makecontext_ret to ...
16659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16660 ... here and call exit if uc_link is NULL. New file.
16661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16662 __makecontext_ret.S.
16664 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16666 * elf/elf.h (R_390_IRELATIVE): New definition.
16667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16671 (elf_machine_lazy_rel): Likewise.
16672 * sysdeps/s390/dl-irel.h: New file.
16673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16674 * sysdeps/s390/s390-64/memset.S: New asm code.
16675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16687 * sysdeps/s390/s390-32/memset.S: New asm code.
16688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16690 2012-07-17 Marek Polacek <polacek@redhat.com>
16693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16694 * sysdeps/s390/s390-64/configure.in: Likewise.
16695 * sysdeps/sparc/configure.in: Likewise.
16696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16698 * sysdeps/i386/configure.in: Likewise.
16699 * sysdeps/x86_64/configure.in: Likewise.
16700 * sysdeps/sh/configure.in: Likewise.
16701 * sysdeps/s390/s390-32/configure: Regenerated.
16702 * sysdeps/s390/s390-64/configure: Likewise.
16703 * sysdeps/x86_64/configure: Likewise.
16704 * sysdeps/sh/configure: Likewise.
16705 * sysdeps/powerpc/powerpc64/configure: Likewise.
16706 * sysdeps/powerpc/powerpc32/configure: Likewise.
16707 * sysdeps/sparc/configure: Likwise.
16708 * sysdeps/i386/configure: Likewise.
16710 * elf/dl-open.c: Comment fixes.
16712 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16714 * Makefile [CXX] (check-data): Remove.
16715 [CXX] (c++-types.data): New vpath directive.
16716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16717 vpath. Do not allow for C++ type data being missing.
16718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16749 definitions to architecture-specific files.
16750 (TLS_IE): Likewise.
16751 (TLS_LD): Likewise.
16752 (TLS_GD): Likewise.
16753 * sysdeps/i386/tls-macros.h: New file.
16754 * sysdeps/powerpc/tls-macros.h: Likewise.
16755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16757 * sysdeps/sh/tls-macros.h: Likewise.
16758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16760 * sysdeps/x86_64/tls-macros.h: Likewise.
16762 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16765 zero value for regular exit case.
16767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16768 (__start_context): Preserve zero value for regular exit case.
16770 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16773 * manual/setjmp.texi (setcontext): Clarify normal process
16774 termination when uc_link is the null pointer.
16775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16778 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16781 preprocessor. Test for each exception mask separately.
16783 2012-07-16 Andreas Jaeger <aj@suse.de>
16785 * po/ru.po: Update from translation team.
16787 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16789 * conform/data/string.h-data (NULL): Use macro-constant. Require
16791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16797 2012-07-13 Andreas Jaeger <aj@suse.de>
16799 * po/fr.po: Update from translation team.
16801 2012-07-12 Marek Polacek <polacek@redhat.com>
16804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16808 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16812 Change to 2.4.1 where previously 2.4.0.
16813 * sysdeps/unix/sysv/linux/configure: Regenerated.
16814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16818 (__ASSUME_AT_CLKTCK): Remove.
16819 (__ASSUME_AT_PAGESIZE): Likewise.
16820 (__ASSUME_AT_XID): Likewise.
16821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16825 (HAVE_AUX_PAGESIZE): Likewise.
16826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16830 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16834 the temporary buffer used to invoke __gethostbyname2_r,
16835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16836 host_data / struct gaih_addrtuple.
16837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16839 header file nss/nsswitch.h.
16840 * nss/nsswitch.h (global scope): Add definition of implementation
16841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16842 resolv/nss_dns/dns-host.c).
16844 2012-07-11 Andreas Jaeger <aj@suse.de>
16846 * po/fr.po: Update from translation team.
16848 * po/sv.po: Update from translation team
16849 * po/fr.po: Another update from translation team.
16851 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16854 for subnormals or multiply small sinh result by itself.
16855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16858 2012-07-11 David S. Miller <davem@davemloft.net>
16860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16862 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16866 (INTERNAL_MARK): Shift it here.
16868 2012-07-10 Marek Polacek <polacek@redhat.com>
16871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16872 libc_cv_asm_global_directive with .globl.
16873 * configure: Regenerated.
16874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16876 * sysdeps/i386/configure: Regenerated.
16877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16879 * sysdeps/x86_64/configure: Regenerated.
16880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16882 * elf/tst-unique2mod2.c: Likewise.
16883 * elf/tst-unique2mod1.c: Likewise.
16884 * elf/tst-unique1mod2.c: Likewise.
16885 * elf/tst-unique1mod1.c: Likewise.
16886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16890 * sysdeps/mach/sysdep.h: Likewise.
16891 * sysdeps/i386/sysdep.h: Likewise.
16892 * sysdeps/i386/i386-mcount.S: Likewise.
16893 * sysdeps/x86_64/_mcount.S: Likewise.
16894 * sysdeps/x86_64/sysdep.h: Likewise.
16895 * sysdeps/sh/_mcount.S: Likewise.
16896 * sysdeps/sh/sysdep.h: Likewise.
16897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16904 * locale/localeinfo.h: Likewise.
16905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16908 2012-07-09 Roland McGrath <roland@hack.frob.com>
16911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16913 * manual/message.texi (The Uniforum approach): Likewise.
16914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16915 (glibc iconv Implementation): Likewise.
16917 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16920 * math/s_clog.c (__clog): Avoid scaling a value down where that
16921 could result in underflow.
16922 * math/s_clog10.c (__clog10): Likewise.
16923 * math/s_clog10f.c (__clog10f): Likewise.
16924 * math/s_clog10l.c (__clog10l): Likewise.
16925 * math/s_clogf.c (__clogf): Likewise.
16926 * math/s_clogl.c (__clogl): Likewise.
16927 * math/libm-test.inc (clog_test): Add more tests.
16928 (clog10_test): Likewise.
16929 * sysdeps/i386/fpu/libm-test-ulps: Update.
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16932 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16936 by 7 not 8 to examine high bit of fractional part.
16939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16940 for call to __mcount_internal.
16941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16945 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16949 approximation for values within 0x1p-13f of an odd multiple of
16951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16952 exception. Add more tests.
16953 * sysdeps/i386/fpu/libm-test-ulps: Update.
16956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16957 inputs and return -1 for them. Do not check for +Inf in case not
16958 reachable for +Inf.
16959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16962 and return -1 for them. Do not check for +Inf in case not
16963 reachable for +Inf.
16964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16967 and return -1 for them. Do not check for +Inf in case not
16968 reachable for +Inf.
16969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16970 spurious underflow.
16971 * sysdeps/i386/fpu/libm-test-ulps: Update.
16972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16974 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16978 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16983 could result in spurious underflow. Scale down values above
16984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16985 * math/s_csqrtf.c (__csqrtf): Likewise.
16986 * math/s_csqrtl.c (__csqrtl): Likewise.
16987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16988 spurious underflow.
16989 * sysdeps/i386/fpu/libm-test-ulps: Update.
16990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16992 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16996 * catgets/xopen-msg.awk: New file.
16997 * catgets/xopen-msg.sed: Removed.
16999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17001 * intl/po2test.awk: New file.
17002 * intl/po2test.sed: Removed.
17004 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17008 or multiply small sinh result by itself.
17009 * math/s_ctanf.c (__ctanf): Likewise.
17010 * math/s_ctanh.c (__ctanh): Likewise.
17011 * math/s_ctanhf.c (__ctanhf): Likewise.
17012 * math/s_ctanhl.c (__ctanhl): Likewise.
17013 * math/s_ctanl.c (__ctanl): Likewise.
17014 * math/libm-test.inc (ctan_test_tonearest): New function.
17015 (ctan_test_towardzero): Likewise.
17016 (ctan_test_downward): Likewise.
17017 (ctan_test_upward): Likewise.
17018 (ctanh_test_tonearest): Likewise.
17019 (ctanh_test_towardzero): Likewise.
17020 (ctanh_test_downward): Likewise.
17021 (ctanh_test_upward): Likewise.
17022 (main): Call these new functions.
17023 * sysdeps/i386/fpu/libm-test-ulps: Update.
17024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17026 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17028 * .gitignore: Delete /ports entry.
17030 2012-07-03 Andreas Jaeger <aj@suse.de>
17032 * po/bg.po: Update from translation team.
17033 * po/cs.po: Likewise.
17034 * po/de.po: Likewise.
17035 * po/hr.po: Likewise.
17036 * po/nl.pl: Likewise.
17037 * po/pl.po: Likewise.
17038 * po/vi.po: Likewise.
17040 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17042 * Makeconfig [!+link] (+link-before-libc): New variable.
17043 [!+link] (+link-after-libc): Likewise.
17044 [!+link] (+link-tests): Likewise.
17045 [!+link] (+link): Define in terms of $(+link-before-libc) and
17046 $(+link-after-libc).
17047 [!+link-static] (+link-static-before-libc): New variable.
17048 [!+link-static] (+link-static-after-libc): Likewise.
17049 [!+link-static] (+link-static-tests): Likewise.
17050 [!+link-static] (+link-static): Define in terms of
17051 $(+link-static-before-libc) and $(+link-static-after-libc).
17052 [build-shared] (link-libc-before-gnulib): New variable.
17053 [build-shared] (link-libc-tests): Likewise.
17054 [build-shared] (link-libc): Define in terms of
17055 $(link-libc-before-gnulib).
17056 [!build-shared] (link-libc-tests): New variable.
17057 (link-libc-static-tests): New variable.
17058 [!gnulib] (gnulib-arch): New variable.
17059 [!gnulib] (gnulib-tests): Likewise.
17060 [!gnulib] (static-gnulib-arch): Likewise.
17061 [!gnulib] (static-gnulib-tests): Likewise.
17062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17063 Define with "=" instead of ":=".
17064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17066 * Rules (binaries-all-notests): New variable.
17067 (binaries-all-tests): Likewise.
17068 (binaries-static-notests): Likewise.
17069 (binaries-static-tests): Likewise.
17070 (binaries-all): Define using $(binaries-all-notests) and
17071 $(binaries-all-tests).
17072 (binaries-static): Define using $(binaries-static-notests) and
17073 $(binaries-static-tests).
17074 (binaries-shared-tests): New variable.
17075 (binaries-shared-notests): Likewise.
17076 (binaries-shared): Remove variable.
17077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17083 * elf/Makefile (sln-modules): New variable.
17084 (extra-objs): Add $(sln-modules:=.o).
17085 (ldconfig-modules): Add static-stubs.
17086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17087 * elf/static-stubs.c: New file.
17090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17091 by 7 not 8 to examine high bit of fractional part. Use volatile
17092 variables when splitting into final array of floats if
17093 __FLT_EVAL_METHOD__ != 0.
17094 * math/libm-test.inc (cos_test): Add another test.
17095 (sin_test): Likewise.
17096 * sysdeps/i386/fpu/libm-test-ulps: Update.
17099 * math/libm-test.inc (cosh_test): Add more tests.
17101 * version.h (RELEASE): Set to "development".
17102 (VERSION): Set to "2.16.90".
17104 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17106 * NEWS: Update copyright. Remove last-updated date.
17107 Mention math library bug fixes and timezone data changes.
17108 * README: Mention GNU/Hurd, x32, and HPPA support status.
17110 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17114 2012-06-27 Andreas Jaeger <aj@suse.de>
17116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17118 2012-06-25 Andreas Jaeger <aj@suse.de>
17120 * sysdeps/s390/fpu/libm-test-ulps: Update.
17122 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17123 Thomas Schwinge <thomas@codesourcery.com>
17125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17130 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17132 * sysdeps/mach/start.c: Remove file.
17133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17135 * sysdeps/sh/init-first.c: Likewise.
17137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17138 registers for frame unwinding purposes, add CFI directives.
17139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17145 __fortify_fail returning.
17146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17149 sysdeps/sh/____longjmp_chk.S.
17150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17155 * sysdeps/sh/abort-instr.h: New file.
17156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17157 process in case exit returns.
17159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17160 initialize the GOT register before use.
17162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17163 calculation of ARGC > 4.
17165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17166 meaningful names to some local labels.
17168 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17173 (__arch_compare_and_exchange_val_16_acq): Likewise.
17174 (__arch_compare_and_exchange_val_32_acq): Likewise.
17175 (atomic_exchange_and_add): Fix gUSA sequence.
17176 (atomic_add): Likewise.
17177 (atomic_add_negative): Likewise.
17178 (atomic_add_zero): Likewise.
17179 (atomic_bit_test_set): Likewise.
17181 2012-06-22 Andreas Schwab <schwab@redhat.com>
17184 * include/link.h (struct link_map): Add l_free_initfini.
17185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17192 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17194 * configure.in: Use AC_LANG_SOURCE.
17195 * configure: Regenerate.
17197 2012-06-22 Roland McGrath <roland@hack.frob.com>
17199 * configure.in (libc_cv_localstatedir): New substituted variable.
17200 * configure: Regenerated.
17201 * config.make.in (localstatedir): New variable, substituted from
17202 libc_cv_localstatedir.
17203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17206 * sysdeps/gnu/configure: Regenerated.
17208 2012-06-21 Jeff Law <law@redhat.com>
17211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17212 free. Simplify list management for _LIBC case.
17214 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17218 Clear sign bit of 64-bit integer value before comparing against
17221 * sysdeps/mach/configure: Regenerated.
17223 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17228 2012-06-21 Jeff Law <law@redhat.com>
17231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17232 uint16_t for elements in the "seen" array to avoid char overflows.
17233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17234 * elf/dl-open.c (dl_open_worker): Likewise.
17236 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17238 * scripts/list-sources.sh: Scan PORTS for translations.
17239 * po/libc.pot: Regenerated.
17241 2012-06-21 Andreas Jaeger <aj@suse.de>
17244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17247 * bits/byteswap-16.h (__bswap_16): Likewise.
17248 * bits/byteswap.h (__bswap_constant_16): Likewise.
17250 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17253 * sysdeps/i386/fpu_control.h: Removed.
17254 * sysdeps/x86_64/fpu_control.h: Moved to ...
17255 * sysdeps/x86/fpu_control.h: Here.
17257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17258 (_FPU_SETCW): Likewise.
17260 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17264 * sysdeps/x86/fpu/bits/mathinline.h: This.
17265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17270 functions if __x86_64__ is defined.
17272 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17274 * string/endian.h: Add !__ASSEMBLER__ condition for including
17275 conversion interfaces.
17277 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17281 of ABS(x) in calculating zero to negative powers other than odd
17283 * math/libm-test.inc (pow_test): Add more tests.
17285 2012-06-15 Andreas Jaeger <aj@suse.de>
17287 * manual/contrib.texi (Contributors): Update entry of Liubov
17288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17291 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17293 * string/string.h: Add __wur to GNU version of strerror_r.
17295 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17298 * string/Makefile (tests): Add tst-strtok_r.
17299 * string/tst-strtok_r.c: New file.
17300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17301 RAX_LP/RDX_LP on SAVE_PTR.
17303 2012-06-14 Roland McGrath <roland@hack.frob.com>
17305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17307 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17309 * libm_test.inc (csqrt_test): Allow more spurious underflow
17311 (j0_test): Likewise.
17312 (j1_test): Likewise.
17313 (y0_test): Likewise.
17314 (y1_test): Likewise.
17316 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17318 * po/Makefile (libc.pot): Use UTF-8 charset.
17320 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17323 Suppress sign-conversion warning from FD_SET.
17324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17326 not unsigned long int.
17327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17329 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17334 __extern_always_inline instead of __extern_inline.
17335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17336 (__signbit): Likewise.
17337 (__signbitl): Support C++ namespace.
17338 (lrintf): New inline function.
17340 (llrintf): Likewise.
17341 (llrint): Likewise.
17351 (floorf): Likewise.
17352 (nearbyint): Likewise.
17353 (nearbyintf): Likewise.
17355 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17358 non-default versions.
17360 2012-06-11 Roland McGrath <roland@hack.frob.com>
17363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17365 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17368 (FE_UPWARD, FE_DOWNWARD): Don't define.
17369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17377 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17384 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17388 * sysdeps/i386/fpu/Implies: New file.
17389 * sysdeps/x86_64/fpu/Implies: Likewise.
17390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17391 * sysdeps/x86/fpu/bits/fenv.h: This.
17393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17396 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17400 character 0xffff that matches the last element of the
17403 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17408 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17411 values higher than 25.6283.
17413 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17416 subnormal exponent extraction and add some __builtin_expect.
17417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17418 Fix for subnormal mantissa calculation.
17420 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17423 cpu2 is -1 and errno is not ENOSYS.
17425 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17429 * sysdeps/x86/bits/string.h: This.
17430 * sysdeps/x86_64/bits/string.h: Removed.
17432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17433 if not compiling for x86-64, but compiling for >= i486.
17435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17439 New macro from Linux kernel 3.4.0.
17440 (FP_XSTATE_MAGIC2): Likewise.
17441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17443 (struct _fpx_sw_bytes): New struct.
17444 (struct _xsave_hdr): Likewise.
17445 (struct _ymmh_state): Likewise.
17446 (struct _xstate): Likewise.
17448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17462 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17467 (sysdep_headers): Include sys/platform/ppc.h.
17468 * sysdeps/powerpc/test-gettimebase.c: Test for
17469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17470 * manual/Makefile (appendices): Include platform.texi.
17471 * manual/contrib.texi (Contributors): Update @node pointers.
17472 * manual/maint.texi (Maintenance): Likewise.
17473 (Platform): New node.
17474 * manual/platform.texi: New file. Document the new features.
17476 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17477 Jakub Jelinek <jakub@redhat.com>
17480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17481 where __builtin_expect is unavailable.
17483 2012-06-03 David S. Miller <davem@davemloft.net>
17485 * stdlib/longlong.h: Updated from GCC.
17487 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17494 (GLIBC_2.16): Likewise.
17496 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17500 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17503 (default-abi): New variable.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17515 definition. Document in comment.
17517 2012-06-01 David S. Miller <davem@davemloft.net>
17519 * stdlib/longlong.h: Updated from GCC.
17521 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17526 sys/debugreg.h sys/io.h here.
17527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17538 Define only if __x86_64__ is defined.
17540 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17544 Use int64_t for variable i.
17545 * math/libm-test.inc (fmod_test): Add more tests.
17547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17548 z computation is not scheduled after fetestexcept.
17549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17550 Use math_force_eval instead of asm to ensure calculation scheduled
17551 before exception test.
17552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17555 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17558 computation is not scheduled after fetestexcept.
17560 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17566 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17571 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17576 (__WCHAR_MIN): Support __WORDSIZE == 64.
17577 (__WCHAR_MAX): Likewise.
17579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17594 Defined to 1 if __x86_64__ isn't defined.
17595 (_STAT_VER_LINUX_OLD): New.
17596 (st_atime): Remove duplicate.
17597 (st_mtime): Likewise.
17598 (st_ctime): Likewise.
17600 2012-05-31 David S. Miller <davem@davemloft.net>
17602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17605 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17611 * elf/dl-reloc.c: Include <_itoa.h>.
17612 (_dl_reloc_bad_type): Remove use of INTUSE.
17613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17615 * stdio-common/psiginfo.c (psiginfo): Likewise.
17616 * stdio-common/psignal.c (psignal): Likewise.
17617 * string/strsignal.c (strsignal): Likewise.
17618 * include/signal.h (_sys_siglist): Declare hidden proto.
17619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17620 INTVARDEF with libc_hidden_data_def.
17621 * stdio-common/itoa-udigits.c: Likewise.
17622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17623 (_itoa_lower_digits_internal): Remove declaration.
17624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17626 (_sys_sigabbrev_internal): Remove aliases.
17627 (_sys_siglist): Define hidden alias.
17629 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17634 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17693 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17695 * math/math.h (M_El): Use two more decimal places.
17696 (M_LOG2El): Likewise.
17697 (M_LOG10El): Likewise.
17698 (M_LN2l): Likewise.
17699 (M_LN10l): Likewise.
17701 (M_PI_2l): Likewise.
17702 (M_PI_4l): Likewise.
17703 (M_1_PIl): Likewise.
17704 (M_2_PIl): Likewise.
17705 (M_2_SQRTPIl): Likewise.
17706 (M_SQRT2l): Likewise.
17707 (M_SQRT1_2l): Likewise.
17709 2012-05-31 David S. Miller <davem@davemloft.net>
17711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17712 values between float registers.
17713 * sysdeps/sparc/sparc64/memset.S: Likewise.
17714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17716 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17719 -D_FORTIFY_SOURCE=1.
17720 (CPPFLAGS-tst-longjmp_chk.c): Define.
17721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17724 CFLAGS-tst-wchar-h.c.
17726 2012-05-31 Marek Polacek <polacek@redhat.com>
17729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17730 __endmntent_internal): Remove declaration.
17731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17735 2012-05-30 David S. Miller <davem@davemloft.net>
17737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17738 (___Q_simulate_exceptions): Use real FP ops rather than writing
17740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17743 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17747 * sysdeps/x86/bits/xtitypes.h: This.
17749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17750 * sysdeps/x86/bits/wordsize.h: This.
17752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17753 * sysdeps/x86/bits/huge_vall.h: This.
17755 * sysdeps/i386/bits/select.h: Removed.
17756 * sysdeps/x86_64/bits/select.h: Renamed to ...
17757 * sysdeps/x86/bits/select.h: This.
17759 * sysdeps/i386/bits/setjmp.h: Removed.
17760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17761 * sysdeps/x86/bits/setjmp.h: This.
17763 * sysdeps/i386/bits/mathdef.h: Removed.
17764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17765 * sysdeps/x86/bits/mathdef.h: This.
17767 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17770 * include/sys/socket.h (__connect_internal)
17771 (__libc_sa_len_internal): Remove declaration.
17772 (__connect, __libc_sa_len): Declare hidden_proto.
17773 (SA_LEN): Remove use of INTUSE.
17774 * socket/connect.c: Add libc_hidden_def.
17775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17782 of adding _internal alias.
17784 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17787 * sysdeps/i386/bits/link.h: Removed.
17788 * sysdeps/i386/bits/linkmap.h: Likewise.
17789 * sysdeps/x86_64/bits/link.h: Renamed to ...
17790 * sysdeps/x86/bits/link.h: This.
17791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17792 * sysdeps/x86/bits/linkmap.h: This.
17794 * sysdeps/i386/bits/endian.h: Removed.
17795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17796 * sysdeps/x86/bits/endian.h: This.
17798 * sysdeps/i386/bits/byteswap.h: Removed.
17799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17801 * sysdeps/x86/bits/byteswap.h: This.
17802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17803 * sysdeps/x86/bits/byteswap-16.h: This.
17804 * sysdeps/i386/Implies: Add x86.
17805 * sysdeps/x86_64/Implies: Likewise.
17807 2012-05-30 David S. Miller <davem@davemloft.net>
17809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17812 (FP_TRAPPING_EXCEPTIONS): Define.
17813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17814 (FP_TRAPPING_EXCEPTIONS): Define.
17815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17816 subnormals only when inexact has been signalled or underflow
17817 exceptions are enabled.
17818 (_FP_PACK_CANONICAL): Likewise.
17820 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17826 2012-05-30 Richard Henderson <rth@twiddle.net>
17828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17829 with #ifndef NOT_IN_libc.
17831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17832 marked to avoid plt entry.
17834 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17837 * Makeconfig (default-abi): New macro.
17838 (abi-includes): Likewise.
17839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17840 $(abi-$(default-abi)-lib-soname) for soname if defined.
17841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17843 * Makefile (installed-stubs): Likewise.
17844 * include/stubs-biarch.h: Removed.
17845 * scripts/lib-names.awk: Only handle one library at a time.
17846 * scripts/soversions.awk: Remove WORDSIZE support.
17847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17851 (syscall-list-default-condition): Likewise.
17852 (syscall-list-default-condition): Likewise.
17853 (syscall-list-includes): Likewise.
17854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17855 syscall-list-* with abi-*. Handle undefined abi-variants.
17856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17863 (syscall-list-32-options): Likewise.
17864 (syscall-list-32-condition): Likewise.
17865 (syscall-list-64-options): Likewise.
17866 (syscall-list-64-condition): Likewise.
17867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17872 (abi-64-ld-soname): New macro.
17873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17880 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17882 * sysdeps/unix/sysv/linux/kernel-features.h
17883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17885 include <kernel-features.h>.
17886 [!__NR_ftruncate64]: Remove conditional code.
17887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17888 [__NR_ftruncate64]: Make code unconditional.
17889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17891 include <kernel-features.h>.
17892 [!__NR_ftruncate64]: Remove conditional code.
17893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17894 [__NR_ftruncate64]: Make code unconditional.
17895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17897 include <kernel-features.h>.
17898 [!__NR_ftruncate64]: Remove conditional code.
17899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17900 [__NR_ftruncate64]: Make code unconditional.
17901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17903 include <kernel-features.h>.
17904 [!__NR_ftruncate64]: Remove conditional code.
17905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17906 [__NR_ftruncate64]: Make code unconditional.
17907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17909 * configure.in (libc_cv_fpie): Weaken to a compile test using
17910 LIBC_TRY_CC_OPTION.
17911 * configure: Regenerated.
17913 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17928 2012-05-27 David S. Miller <davem@davemloft.net>
17930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17932 (__Q_simulate_exceptions): Return void. Change to simulate
17933 exceptions by writing into the %fsr.
17934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17935 (__Qp_handle_exceptions): Likewise.
17937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17938 __Qp_handle_exceptions.
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17940 __Qp_handle_exceptions.
17941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17942 as unused and give dummy FP_RND_NEAREST initializer.
17943 (FP_INHIBIT_RESULTS): Define.
17944 (___Q_simulate_exceptions): Update declaration.
17945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17948 as unused and give dummy FP_RND_NEAREST initializer.
17949 (__Qp_handle_exceptions): Update declaration.
17950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17953 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17956 the temporary FPU control word.
17957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17969 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17974 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17985 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17987 * po/h.po: Update from translation team.
17989 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17994 handling of denormals.
17995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18004 2012-05-26 Marek Polacek <polacek@redhat.com>
18007 * math/libm-test.inc (fma_test): Don't always expect underflow
18010 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18013 * elf/tst-execstack.c: Include stackinfo.h.
18014 (do_test): Adjust test case to ensure that pthread_getattr_np
18015 behaviour remains the same after marking stack executable.
18017 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18019 * sysdeps/unix/sysv/linux/kernel-features.h
18020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18030 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18032 * configure.in: Define the default includes to being none.
18033 * configure: Regenerated.
18035 2012-05-25 Roland McGrath <roland@hack.frob.com>
18037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18038 * sysdeps/x86_64/setjmp.S: Likewise.
18039 * sysdeps/i386/bsd-setjmp.S: Likewise.
18040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18041 * sysdeps/i386/setjmp.S: Likewise.
18042 * sysdeps/i386/__longjmp.S: Likewise.
18043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18046 * include/stap-probe.h: New file.
18047 * configure.in: Handle --enable-systemtap.
18048 * configure: Regenerated.
18049 * config.h.in (USE_STAP_PROBE): New #undef.
18050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18054 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18058 to 2.4.0 where earlier.
18059 * sysdeps/unix/sysv/linux/configure: Regenerated.
18060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18061 <kernel-features.h>.
18062 [__ASSUME_32BITUIDS]: Make code unconditional.
18063 [!__ASSUME_32BITUIDS]: Remove conditional code.
18064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18065 <kernel-features.h>.
18066 [__ASSUME_32BITUIDS]: Make code unconditional.
18067 [!__ASSUME_32BITUIDS]: Remove conditional code.
18068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18069 [__ASSUME_32BITUIDS]: Make code unconditional.
18070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18071 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
18076 <kernel-features.h>.
18077 [__ASSUME_32BITUIDS]: Make code unconditional.
18078 [!__ASSUME_32BITUIDS]: Remove conditional code.
18079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18080 <kernel-features.h>.
18081 [__ASSUME_32BITUIDS]: Make code unconditional.
18082 [!__ASSUME_32BITUIDS]: Remove conditional code.
18083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18084 <kernel-features.h>.
18085 [__ASSUME_32BITUIDS]: Make code unconditional.
18086 [!__ASSUME_32BITUIDS]: Remove conditional code.
18087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18088 <kernel-features.h>.
18089 [__ASSUME_32BITUIDS]: Make code unconditional.
18090 [!__ASSUME_32BITUIDS]: Remove conditional code.
18091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18092 <kernel-features.h>.
18093 [__ASSUME_32BITUIDS]: Make code unconditional.
18094 [!__ASSUME_32BITUIDS]: Remove conditional code.
18095 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18096 <kernel-features.h>.
18097 [__ASSUME_32BITUIDS]: Make code unconditional.
18098 [!__ASSUME_32BITUIDS]: Remove conditional code.
18099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18100 <kernel-features.h>.
18101 [__ASSUME_32BITUIDS]: Make code unconditional.
18102 [!__ASSUME_32BITUIDS]: Remove conditional code.
18103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18104 <kernel-features.h>.
18105 [__ASSUME_32BITUIDS]: Make code unconditional.
18106 [!__ASSUME_32BITUIDS]: Remove conditional code.
18107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18108 <kernel-features.h>.
18109 [__ASSUME_32BITUIDS]: Make code unconditional.
18110 [!__ASSUME_32BITUIDS]: Remove conditional code.
18111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18112 <kernel-features.h>.
18113 [__NR_setresgid] (__setresgid): Do not declare.
18114 [__ASSUME_32BITUIDS]: Make code unconditional.
18115 [!__ASSUME_32BITUIDS]: Remove conditional code.
18116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18117 <kernel-features.h>.
18118 [__NR_setresuid] (__setresuid): Do not declare.
18119 [__ASSUME_32BITUIDS]: Make code unconditional.
18120 [!__ASSUME_32BITUIDS]: Remove conditional code.
18121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18122 <kernel-features.h>.
18123 [__ASSUME_32BITUIDS]: Make code unconditional.
18124 [!__ASSUME_32BITUIDS]: Remove conditional code.
18125 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18126 <kernel-features.h>.
18127 [__ASSUME_32BITUIDS]: Make code unconditional.
18128 [!__ASSUME_32BITUIDS]: Remove conditional code.
18129 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18130 <kernel-features.h>.
18131 [__ASSUME_32BITUIDS]: Make code unconditional.
18132 [!__ASSUME_32BITUIDS]: Remove conditional code.
18133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18134 <kernel-features.h>.
18135 [__ASSUME_32BITUIDS]: Make code unconditional.
18136 [!__ASSUME_32BITUIDS]: Remove conditional code.
18137 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18138 <kernel-features.h>.
18139 [__ASSUME_32BITUIDS]: Make code unconditional.
18140 [!__ASSUME_32BITUIDS]: Remove conditional code.
18141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18142 <kernel-features.h>.
18143 [__ASSUME_32BITUIDS]: Make code unconditional.
18144 [!__ASSUME_32BITUIDS]: Remove conditional code.
18145 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18146 <kernel-features.h>.
18147 [__ASSUME_32BITUIDS]: Make code unconditional.
18148 [!__ASSUME_32BITUIDS]: Remove conditional code.
18149 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18150 <kernel-features.h>.
18151 [__ASSUME_32BITUIDS]: Make code unconditional.
18152 [!__ASSUME_32BITUIDS]: Remove conditional code.
18153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18154 <kernel-features.h>.
18155 [__ASSUME_32BITUIDS]: Make code unconditional.
18156 [!__ASSUME_32BITUIDS]: Remove conditional code.
18157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18158 <kernel-features.h>.
18159 [__ASSUME_32BITUIDS]: Make code unconditional.
18160 [!__ASSUME_32BITUIDS]: Remove conditional code.
18161 * sysdeps/unix/sysv/linux/kernel-features.h
18162 (__ASSUME_SETRESUID_SYSCALL): Remove.
18163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18164 (__ASSUME_32BITUIDS): Likewise.
18165 (__ASSUME_LDT_WORKS): Likewise.
18166 (__ASSUME_O_DIRECTORY): Likewise.
18167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18168 architecture but not kernel version.
18169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18170 (__ASSUME_MMAP2_SYSCALL): Likewise.
18171 (__ASSUME_STAT64_SYSCALL): Likewise.
18172 (__ASSUME_IPC64): Likewise.
18173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18174 <kernel-features.h>.
18175 [__ASSUME_32BITUIDS]: Make code unconditional.
18176 [!__ASSUME_32BITUIDS]: Remove conditional code.
18177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18178 <kernel-features.h>.
18179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18181 132096]: Remove conditional code.
18182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18184 <kernel-features.h>.
18185 [__ASSUME_32BITUIDS]: Make code unconditional.
18186 [!__ASSUME_32BITUIDS]: Remove conditional code.
18187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18188 <kernel-features.h>.
18189 [__ASSUME_32BITUIDS]: Make code unconditional.
18190 [!__ASSUME_32BITUIDS]: Remove conditional code.
18191 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18192 <kernel-features.h>.
18193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18195 (__setresgid): Do not declare.
18196 [__ASSUME_32BITUIDS]: Make code unconditional.
18197 [!__ASSUME_32BITUIDS]: Remove conditional code.
18198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18199 <kernel-features.h>.
18200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18202 (__setresuid): Do not declare.
18203 [__ASSUME_32BITUIDS]: Make code unconditional.
18204 [!__ASSUME_32BITUIDS]: Remove conditional code.
18205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18206 <kernel-features.h>.
18207 [__ASSUME_32BITUIDS]: Make code unconditional.
18208 [!__ASSUME_32BITUIDS]: Remove conditional code.
18209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18210 <kernel-features.h>.
18211 [__ASSUME_32BITUIDS]: Make code unconditional.
18212 [!__ASSUME_32BITUIDS]: Remove conditional code.
18214 2012-05-25 Richard Henderson <rth@twiddle.net>
18216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18217 dl_hwcap to ifunc resolver.
18218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18221 dl_hwcap to ifunc resolver.
18222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18228 for |x| <= 2**-26, not 2**-57.
18229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18232 2012-05-24 Jeff Law <law@redhat.com>
18234 * stdio-common/Makefile (tests): Add bug25.
18235 * stdio-common/bug25.c: New test.
18237 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18241 multiple of MALLOC_ALIGNMENT in size.
18242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18244 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18248 (FILENAME_MAX): Use macro-int-constant.
18249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18250 (_IOFBF): Use macro-int-constant.
18251 (_IOLBF): Likewise.
18252 (_IONBF): Likewise.
18253 (SEEK_CUR): Likewise.
18254 (SEEK_END): Likewise.
18255 (SEEK_SET): Likewise.
18256 (TMP_MAX): Likewise.
18257 (EOF): Use macro-int-constant. Require < 0.
18258 (NULL): Use macro-constant. Require == 0.
18259 (stdin): Require type to be FILE *.
18260 (stdout): Likewise.
18261 (stderr): Likewise.
18262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18263 macro-int-constant.
18264 (EXIT_SUCCESS): Likewise.
18265 (NULL): Use macro-constant. Require == 0.
18266 (RAND_MAX): Use macro-int-constant.
18267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18268 [C99-based standards] (strtof): Require function.
18269 [C99-based standards] (strtold): Likewise.
18270 [C99-based standards] (strtoll): Likewise.
18271 [C99-based standards] (strtoull): Likewise.
18272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18274 [ISO || ISO99 || ISO11] (math.h): Likewise.
18275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18279 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18284 * intl/dgettext.c (DCGETTEXT): Likewise.
18285 * intl/gettext.c (DCGETTEXT): Likewise.
18286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18287 * posix/regex_internal.h (gettext): Likewise.
18288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18289 Remove declaration.
18290 * include/argz.h (__argz_count_internal)
18291 (__argz_stringify_internal): Remove declaration.
18292 (__argz_count, __argz_stringify): Declare hidden proto.
18293 * intl/dcgettext.c: Remove use of INTDEF.
18294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18295 * string/argz-stringify.c: Likewise.
18296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18298 Declare hidden proto.
18299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18301 Declare hidden proto.
18302 * include/stdio.h (__asprintf_internal): Don't declare.
18303 (__asprintf): Don't define as macro. Declare hidden proto.
18304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18305 (__fsetlocking): Declare hidden proto.
18306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18310 (_IO_setlinebuf): Remove use of INTUSE.
18311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18314 Remove declaration.
18315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18316 (_IO_do_flush): Remove use of INTUSE.
18317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18319 (_IO_adjust_column, _IO_least_wmarker)
18320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18323 (_IO_default_doallocate, _IO_wdefault_doallocate)
18324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18338 (_IO_flush_all_internal, _IO_adjust_column_internal)
18339 (_IO_default_uflow_internal, _IO_default_finish_internal)
18340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18348 (_IO_file_close_internal, _IO_file_close_it_internal)
18349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18350 (_IO_file_init_internal, _IO_file_attach_internal)
18351 (_IO_file_fopen_internal, _IO_file_read_internal)
18352 (_IO_file_sync_internal, _IO_file_seek_internal)
18353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18358 (_IO_list_all_internal, _IO_link_in_internal)
18359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18363 (_IO_do_write_internal, _IO_padn_internal)
18364 (_IO_getline_info_internal, _IO_getline_internal)
18365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18372 with libc_hidden_ver, remove use of INTUSE.
18373 * libio/genops.c: Likewise.
18374 * libio/freopen.c: Likewise.
18375 * libio/freopen64.c: Likewise.
18376 * libio/iofclose.c: Likewise.
18377 * libio/iofdopen.c: Likewise.
18378 * libio/iofflush.c: Likewise.
18379 * libio/iofflush_u.c: Likewise.
18380 * libio/iofgets.c: Likewise.
18381 * libio/iofgets_u.c: Likewise.
18382 * libio/iofopen.c: Likewise.
18383 * libio/iofopncook.c: Likewise.
18384 * libio/iofread.c: Likewise.
18385 * libio/iofread_u.c: Likewise.
18386 * libio/ioftell.c: Likewise.
18387 * libio/iofwrite.c: Likewise.
18388 * libio/iogetline.c: Likewise.
18389 * libio/iogets.c: Likewise.
18390 * libio/iogetwline.c: Likewise.
18391 * libio/iopadn.c: Likewise.
18392 * libio/iopopen.c: Likewise.
18393 * libio/ioseekoff.c: Likewise.
18394 * libio/ioseekpos.c: Likewise.
18395 * libio/iosetbuffer.c: Likewise.
18396 * libio/iosetvbuf.c: Likewise.
18397 * libio/ioungetc.c: Likewise.
18398 * libio/ioungetwc.c: Likewise.
18399 * libio/iovdprintf.c: Likewise.
18400 * libio/iovsprintf.c: Likewise.
18401 * libio/iovsscanf.c: Likewise.
18402 * libio/memstream.c: Likewise.
18403 * libio/obprintf.c: Likewise.
18404 * libio/oldfileops.c: Likewise.
18405 * libio/oldiofclose.c: Likewise.
18406 * libio/oldiofdopen.c: Likewise.
18407 * libio/oldiofopen.c: Likewise.
18408 * libio/oldiopopen.c: Likewise.
18409 * libio/oldstdfiles.c: Likewise.
18410 * libio/putc.c: Likewise.
18411 * libio/setbuf.c: Likewise.
18412 * libio/setlinebuf.c: Likewise.
18413 * libio/stdfiles.c: Likewise.
18414 * libio/strops.c: Likewise.
18415 * libio/vasprintf.c: Likewise.
18416 * libio/vscanf.c: Likewise.
18417 * libio/vsnprintf.c: Likewise.
18418 * libio/vswprintf.c: Likewise.
18419 * libio/wfiledoalloc.c: Likewise.
18420 * libio/wfileops.c: Likewise.
18421 * libio/wgenops.c: Likewise.
18422 * libio/wmemstream.c: Likewise.
18423 * libio/wstrops.c: Likewise.
18424 * libio/__fpurge.c: Likewise.
18425 * libio/__fsetlocking.c: Likewise.
18426 * assert/assert.c: Likewise.
18427 * debug/fgets_chk.c: Likewise.
18428 * debug/fgets_u_chk.c: Likewise.
18429 * debug/fread_chk.c: Likewise.
18430 * debug/fread_u_chk.c: Likewise.
18431 * debug/gets_chk.c: Likewise.
18432 * debug/obprintf_chk.c: Likewise.
18433 * debug/vasprintf_chk.c: Likewise.
18434 * debug/vdprintf_chk.c: Likewise.
18435 * debug/vsnprintf_chk.c: Likewise.
18436 * debug/vsprintf_chk.c: Likewise.
18437 * malloc/mtrace.c: Likewise.
18438 * misc/error.c: Likewise.
18439 * misc/syslog.c: Likewise.
18440 * stdio-common/asprintf.c: Likewise.
18441 * stdio-common/fxprintf.c: Likewise.
18442 * stdio-common/getw.c: Likewise.
18443 * stdio-common/isoc99_fscanf.c: Likewise.
18444 * stdio-common/isoc99_scanf.c: Likewise.
18445 * stdio-common/isoc99_vfscanf.c: Likewise.
18446 * stdio-common/isoc99_vscanf.c: Likewise.
18447 * stdio-common/isoc99_vsscanf.c: Likewise.
18448 * stdio-common/printf-prs.c: Likewise.
18449 * stdio-common/printf_fp.c: Likewise.
18450 * stdio-common/printf_fphex.c: Likewise.
18451 * stdio-common/printf_size.c: Likewise.
18452 * stdio-common/putw.c: Likewise.
18453 * stdio-common/scanf.c: Likewise.
18454 * stdio-common/sprintf.c: Likewise.
18455 * stdio-common/tmpfile.c: Likewise.
18456 * stdio-common/vfprintf.c: Likewise.
18457 * stdio-common/vfscanf.c: Likewise.
18458 * stdlib/strfmon_l.c: Likewise.
18459 * sunrpc/openchild.c: Likewise.
18460 * sunrpc/xdr_stdio.c: Likewise.
18461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18464 2012-05-24 Roland McGrath <roland@hack.frob.com>
18466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18469 in the third column, to generate for the shared library an IFUNC
18470 that uses _dl_vdso_vsym.
18471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18472 * Makeconfig (object-suffixes-noshared): New variable.
18474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18480 * include/sys/time.h (__gettimeofday): Remove macro.
18481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18484 (__gettimeofday): Add libc_hidden_def.
18485 (gettimeofday): Add libc_hidden_weak.
18486 * sysdeps/mach/gettimeofday.c: Likewise.
18487 * sysdeps/posix/gettimeofday.c: Likewise.
18488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18491 (__gettimeofday_internal): Remove strong_alias.
18492 (__gettimeofday): Add libc_hidden_def.
18493 (gettimeofday): Add libc_hidden_weak.
18494 * sysdeps/unix/syscalls.list (gettimeofday):
18495 Remove __gettimeofday_internal alias.
18497 2012-05-24 Daniel Jacobowitz <drow@false.org>
18498 H.J. Lu <hongjiu.lu@intel.com>
18501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18503 (largebin_index_32_big): New.
18504 (largebin_index): Use it for 16-byte alignment.
18505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18506 correction with front_misalign.
18508 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18543 * math/libm-test.inc (exp_test): Add test from bug 14036.
18544 (pow_test): Add test from bug 10846.
18546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18548 (special_function): Do not include flags in test name.
18549 (parse_args): Likewise.
18550 * sysdeps/i386/fpu/libm-test-ulps: Update.
18551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18558 * math/libm-test.inc ("Philosophy"): Update comment about
18560 (UNDERFLOW_EXCEPTION): New macro.
18561 (UNDERFLOW_EXCEPTION_OK): Likewise.
18562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18566 (INVALID_EXCEPTION_OK): Update value.
18567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18568 (OVERFLOW_EXCEPTION_OK): Likewise.
18569 (IGNORE_ZERO_INF_SIGN): Likewise.
18570 (test_exceptions): Handle underflow exceptions.
18571 (acos_test): Update for underflow exception expectations.
18572 (cexp_test): Likewise.
18573 (clog_test): Likewise.
18574 (clog10_test): Likewise.
18575 (csqrt_test): Likewise.
18576 (ctan_test): Likewise.
18577 (ctanh_test): Likewise.
18578 (exp_test): Likewise.
18579 (exp10_test): Likewise.
18580 (exp2_test): Likewise.
18581 (expm1_test): Likewise.
18582 (fma_test): Likewise.
18583 (j0_test): Likewise.
18584 (jn_test): Likewise.
18585 (nexttoward_test): Likewise.
18586 (pow_test): Likewise.
18587 (scalbn_test): Likewise.
18588 (scalbln_test): Likewise.
18589 (tan_test): Likewise.
18590 (y1_test): Likewise.
18591 * sysdeps/i386/fpu/libm-test-ulps: Update.
18592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18594 2012-05-23 David S. Miller <davem@davemloft.net>
18596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18597 (__libc_sigaction): Remove unused local variables.
18599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18603 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18605 mktime: avoid signed integer overflow
18606 * time/mktime.c (__mktime_internal): Do not mishandle the case
18607 where diff == INT_MIN.
18609 mktime: simplify computation of average
18610 * time/mktime.c (ranged_convert): Use new time_t_avg function
18611 instead of rolling our own (probably-slower) code.
18613 mktime: do not assume signed right shift propagates sign bit
18614 * time/mktime.c (isdst_differ): New static function.
18615 (__mktime_internal): No need to normalize tm_isdst now.
18616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18619 mktime: merge another wrapv change from gnulib
18620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18621 from some compilers.
18623 mktime: remove incorrect attempt at unusual arithmetics
18624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18625 The code didn't really work on such machines anyway.
18626 (TYPE_MINIMUM): Assume two's complement.
18627 (twos_complement_arithmetic): Verify that long_int and time_t
18628 are two's complement (or unsigned, in the latter case).
18630 mktime: check signed shifts on long_int and time_t, too
18631 * time/mktime.c (SHR): Check that shifts work as desired
18632 on the types long_int and time_t too, as SHR is used on
18635 mktime: do not assume 'long' is wide enough
18636 * time/mktime.c (verify): Move decl up.
18637 (long_int): New type.
18638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18639 to remove assumption in the code that 'long' is wide enough to
18640 store year values. This assumption is not true on x32 and on
18641 some non-glibc platforms.
18643 mktime: merge wrapv change from gnulib
18644 * time/mktime.c (WRAPV): New macro.
18645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18646 (guess_time_tm, __mktime_internal): Do not assume that signed
18647 integer overflow wraps around; modern compilers generate code
18648 where this assumption is no longer valid.
18650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18653 Replace "jmp L(pseudo_end)" with "ret".
18654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18657 2012-05-23 Andreas Jaeger <aj@suse.de>
18659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18662 2012-05-23 Andreas Jaeger <aj@suse.de>
18663 Maximilian Attems <max@stro.at>
18665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18671 code so that pseudo_end is just ret and the stack pointer is
18672 correct also for static library in error case.
18674 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18677 move to syscalls.list.
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18683 * manual/install.texi (Running make install): Do not mention Linux
18684 kernel version for which pt_chown is not needed.
18685 (Linux): Do not mention problems with nscd with 2.0 kernels.
18686 * INSTALL: Regenerated.
18688 2012-05-23 Andreas Jaeger <aj@suse.de>
18690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18703 * sysdeps/unix/sysv/linux/bits/in.h
18704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18706 2012-05-22 Roland McGrath <roland@hack.frob.com>
18708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18709 (PREPARE_VERSION): Just use assert instead, it will be elided
18710 under [NDEBUG] anyway.
18712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18714 * sysdeps/unix/sysv/linux/Makefile: Include
18715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18716 (sysdep_routines): Remove sysctl.
18717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18723 2012-05-22 Andreas Jaeger <aj@suse.de>
18725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18726 that pseudo_end is just ret and the stack pointer is correct also
18727 for static library in error case.
18729 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18732 * nss/nsswitch.c (defconfig_entries): New variable.
18733 (__nss_database_lookup): Don't leak defconfig entries.
18734 (nss_parse_service_list): Don't leak on error paths.
18735 (free_database_entries): New function.
18736 (free_defconfig): New function.
18737 (free_mem): Move common code to free_database_entries.
18739 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18750 (INTERNAL_SYSCALL_TYPES): Likewise.
18751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18752 (LOAD_REGS_TYPES_[1-6]): Likewise.
18753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18756 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18759 copysignl for GLIBC_2_0.
18760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18763 logbl for GLIBC_2_0.
18764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18767 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18775 * time/mktime.c: Update copyright years.
18777 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18779 mktime: merge comment-quoting-style change from gnulib
18780 * time/mktime.c: Quote 'like this' in comments.
18781 The GNU coding standards suggest that we no longer quote `like this',
18782 as "`" and "'" are typically rendered asymmetrically nowadays.
18783 The typical gnulib style is to quote 'like this' when quoting
18784 code, and "like this" when quoting English.
18786 * time/mktime.c (compile-command): Add "-I.".
18788 mktime: merge mktime-internal.h change from gnulib
18789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18791 mktime: merge time_r change from gnulib
18792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18794 mktime: merge DEBUG change from gnulib
18795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18796 case system <time.h> has a #define.
18798 mktime: merge <sys/types.h> change from gnulib
18799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18800 since <time.t> is now guaranteed to define time_t.
18802 mktime: merge HAVE_CONFIG_H change from gnulib
18803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18812 (struct rusage): Use anonymous union to pad each field to
18815 2012-05-21 David S. Miller <davem@davemloft.net>
18817 * Makefules (o-iterator): Remove .s cases.
18818 (compile-command.s): Delete.
18819 (COMPILE.s): Delete.
18820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18822 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18824 * configure.in (libc_cv_predef_stack_protector): Only consider
18825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18826 * configure: Regenerated.
18828 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18831 New macro. Use R*LP on int and pointer.
18832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18838 [__WORDSIZE_TIME64_COMPAT32] instead of
18839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18840 (struct utmp): Likewise.
18841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18844 (__WORDSIZE_TIME64_COMPAT32): This.
18845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18850 (__WORDSIZE_TIME64_COMPAT32): New macro.
18852 2012-05-21 Andreas Jaeger <aj@suse.de>
18854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18855 only if [SHARED]. Add prototype for __wcschr_ia32.
18857 2012-05-21 Roland McGrath <roland@hack.frob.com>
18859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18860 of %rbp unmolested in the jmp_buf while mangling the low bits.
18861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18862 unmolested high bits of %rbp while demangling the low bits.
18863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18865 2012-05-21 Andreas Jaeger <aj@suse.de>
18867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18868 * sunrpc/svc_simple.c: Use it for registerrpc.
18869 * sunrpc/xcrypt.c: Use it for passwd2des.
18871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18873 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18876 Don't define if [__SYSCALL_WORDSIZE != 32].
18877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18880 2012-05-21 Bruno Haible <bruno@clisp.org>
18881 Andreas Jaeger <aj@suse.de>
18883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18885 inptr and inend for must_buffer_ch.
18886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18888 * stdio-common/Makefile (tests): Remove bug15.
18889 (bug15-ENV): Remove macro.
18890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18893 2012-05-19 Andreas Jaeger <aj@suse.de>
18894 Roland McGrath <roland@hack.frob.com>
18896 * manual/contrib.texi: Completely rewritten. It contains now an
18897 alphabetical list of contributors and their contributions.
18899 2012-05-21 Richard Henderson <rth@twiddle.net>
18901 * misc/getauxval.c (__getauxval): Use unsigned long int.
18902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18903 (getauxval): Use unsigned long int.
18905 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18909 2012-05-21 Roland McGrath <roland@hack.frob.com>
18911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18913 __alignof__ (long double).
18915 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18919 2012-05-20 Richard Henderson <rth@twiddle.net>
18921 * misc/getauxval.c: New file.
18922 * misc/sys/auxv.h: New file.
18923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18924 (routines): Add getauxval.
18925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18927 * elf/dl-sysdep.c (_dl_auxv): Remove.
18928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18929 * elf/dl-support.c (_dl_auxv): New variable.
18930 (_dl_aux_init): Initialize it.
18931 * manual/startup.texi (Auxiliary Vector): New node.
18932 * sysdeps/generic/bits/hwcap.h: New file.
18933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18936 * sysdeps/sparc/sysdep.h: ... here. Include it.
18937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18950 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18954 2012-05-19 David S. Miller <davem@davemloft.net>
18956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18958 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18961 * math/s_ccosh.c: Include <float.h>
18962 (__ccosh): Avoid internal overflow calculating sinh and cosh
18963 values before multiplying by sin and cos values.
18964 * math/s_ccoshf.c: Likewise.
18965 * math/s_ccoshl.c: Likewise.
18966 * math/s_csin.c: Likewise.
18967 * math/s_csinf.c: Likewise.
18968 * math/s_csinl.c: Likewise.
18969 * math/s_csinh.c: Likewise.
18970 * math/s_csinhf.c: Likewise.
18971 * math/s_csinhl.c: Likewise.
18972 * math/libm-test.inc (ccos_test): Add more tests.
18973 (ccosh_test): Likewise.
18974 (csin_test): Likewise.
18975 (csinh_test): Likewise.
18976 * sysdeps/i386/fpu/libm-test-ulps: Update.
18977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18979 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18986 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19020 2012-05-18 Andreas Jaeger <aj@suse.de>
19022 * csu/.gitignore: Delete.
19024 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19027 (timex): Use __syscall_slong_t.
19029 2012-05-18 Andreas Jaeger <aj@suse.de>
19030 Carlos O'Donell <carlos_odonell@mentor.com>
19032 * manual/install.texi (Configuring and compiling): Update
19033 description about files modified in the source directory.
19034 * INSTALL: Regenerated.
19036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19039 value. Use "or" to set return value to -1.
19040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19041 negate return value.
19043 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19046 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19047 failure if the compiler has Graphite support disabled.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19051 CFLAGS-memmove.c): Likewise.
19052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19055 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19057 * sysdeps/x86_64/x32/_itoa.h: New file.
19059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19060 getdents system call only if kernel and user dirents have the
19061 same d_ino and d_off.
19063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19064 LLONG_MAX != LONG_MAX.
19065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19066 (_fitoa_word): Likewise.
19068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19075 include <bits/wordsize.h>. Check __x86_64__ instead of
19077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19078 if __x86_64__ is defined. Use anonymous union on fpstate.
19080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19083 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19088 Refer to _rtld_local_ro instead of _rtld_global_ro.
19089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19099 * sysdeps/powerpc/powerpc32/dl-machine.c
19100 (__elf_machine_runtime_setup) [PROF]: Don't reference
19103 2012-05-18 Andreas Jaeger <aj@suse.de>
19105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19106 function only available for GCCs before 3.4 since GCC 3.4
19107 introduced a builtin.
19109 (llrintf): Likewise.
19110 (llrint): Likewise.
19117 (nearbyint): Likewise.
19118 (nearbyintf): Likewise.
19122 (floorf): Likewise.
19124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19126 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19127 on both fields and cast pointer to __syscall_ulong_t.
19129 * bits/types.h (__fsword_t): New type.
19130 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19131 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19133 (__FSWORD_T_TYPE): Likewise.
19134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19135 (__FSWORD_T_TYPE): Likewise.
19136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19137 (__FSWORD_T_TYPE): Likewise.
19138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19139 (__FSWORD_T_TYPE): Likewise.
19140 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19141 __SWORD_TYPE with __fsword_t.
19142 (statfs64): Likewise.
19144 2012-05-17 David S. Miller <davem@davemloft.net>
19146 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19148 2012-05-17 Andreas Jaeger <aj@suse.de>
19150 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19155 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19157 2012-05-17 Andreas Jaeger <aj@suse.de>
19159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19162 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19164 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19166 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19168 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19169 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19171 2012-05-17 Andreas Jaeger <aj@suse.de>
19172 Carlos O'Donell <carlos_odonell@mentor.com>
19175 * sysdeps/x86_64/multiarch/init-arch.h
19176 (bit_YMM_Usable): Rename to...
19177 (bit_AVX_Usable): ... this.
19178 (bit_FMA4_Usable): New macro.
19179 (bit_XMM_state): New macro.
19180 (bit_YMM_state): New macro.
19181 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19182 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19183 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19184 (CPUID_OSXSAVE): New macro.
19185 (CPUID_AVX): New macro.
19186 (CPUID_FMA4): New macro.
19187 (index_YMM_Usable): Rename to...
19188 (index_AVX_Usable): ... this.
19189 (HAS_AVX): Use HAS_ARCH_FEATURE.
19190 (HAS_FMA4): Likewise.
19191 (HAS_YMM_USABLE): Remove.
19192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19193 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19195 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19196 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19197 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19198 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19199 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19201 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19203 * math/libm-test.c: Support platforms without multiple rounding modes.
19204 * math/bug-nextafter.c: Support platforms without FP exceptions.
19205 * math/bug-nexttoward.c: Likewise.
19206 * math/test-fenv.c: Likewise.
19207 * math/test-misc.c: Likewise.
19208 * stdlib/bug-getcontext.c: Likewise.
19210 2012-05-17 Andreas Jaeger <aj@suse.de>
19212 * manual/examples/search.c (critter_cmp): Change signature to
19214 * manual/string.texi (Collation Functions): Likewise.
19216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19218 * bits/types.h: Fold copyright years.
19219 * bits/typesizes.h: Likewise.
19220 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19224 * time/time.h: Likewise.
19226 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19229 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19230 in instead of returning them. Return void.
19231 (__libc_mallinfo): Accumulate over all arenas.
19232 (__malloc_stats): Adjust for change in int_mallinfo interface.
19234 2012-05-16 Roland McGrath <roland@hack.frob.com>
19237 * configure.in (NM): Add AC_CHECK_TOOL for it.
19238 (libc_extra_cflags): New substituted variable.
19239 Check for -fstack-protector being used implicitly.
19240 * configure: Regenerated.
19241 * config.make.in (config-extra-cflags): New variable,
19242 gets @libc_extra_cflags@.
19243 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19246 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19247 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19248 * configure: Regenerated.
19249 * config.make.in (CPPUNDEFS): New substituted variable.
19250 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19251 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19252 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19256 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19257 (mq_attr): Use __syscall_slong_t.
19259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19262 Check __x86_64__ instead of __WORDSIZE.
19263 (_STAT_VER_LINUX): Likewise.
19264 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19265 __syscall_ulong_t and __syscall_slong_t.
19266 (stat64): Likewise.
19268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19274 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19278 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19282 include <bits/wordsize.h>. Check __x86_64__ instead of
19284 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19286 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19289 include <bits/wordsize.h>. Check __x86_64__ instead of
19291 (user_regs_struct): Use "__extension__ unsigned long long"
19292 instead of "unsigned long" if __x86_64__ is defined.
19293 (user): Likewise. Pad after pointer field if __ILP32__ is
19296 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19298 * configure.in (makeinfo): Require version 4.5 or later. Allow
19300 * configure: Regenerated.
19301 * manual/install.texi (texinfo): Increase version requirement to
19303 * INSTALL: Regenerated.
19305 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19309 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19311 * sysdeps/x86_64/x32/ffs.c: New file.
19313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19315 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19316 defined. Use __syscall_ulong_t.
19317 (shminfo): Use __syscall_ulong_t.
19318 (shm_info): Likewise.
19320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19325 (msgqnum_t): Use __syscall_ulong_t.
19326 (msglen_t): Likewise.
19327 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19330 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19333 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19335 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19336 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19338 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19342 include <bits/wordsize.h>. Check __x86_64__ instead of
19345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19346 "unsigned long long int" if __x86_64__ is defined.
19347 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19351 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19355 (GET_PC): Cast to uintptr_t first.
19356 (GET_FRAME): Likewise.
19357 (GET_STACK): Likewise.
19359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19365 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19367 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19389 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19391 * Makerules (+depfiles): Also collect depfiles from .oS in
19393 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19394 .oS, $(libnldbl-routines)).
19396 * Makerules (native-compile-mkdep-flags): Define.
19397 * sunrpc/Makefile (extra-objs): Add $(addprefix
19398 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19399 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19400 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19401 calling $(make-target-directory).
19403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19405 * bits/types.h (__snseconds_t): Removed.
19406 * time/time.h (struct timespec): Replace __snseconds_t with
19408 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19409 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19412 (__SNSECONDS_T_TYPE): Likewise.
19413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19414 (__SNSECONDS_T_TYPE): Likewise.
19415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19416 (__SNSECONDS_T_TYPE): Likewise.
19418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19420 * sysdeps/mach/hurd/bits/typesizes.h
19421 (__SYSCALL_SLONG_TYPE): New macro.
19422 (__SYSCALL_ULONG_TYPE): Likewise.
19424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19426 * bits/types.h (__syscall_slong_t): New type.
19427 (__syscall_ulong_t): Likewise.
19429 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19430 (__SYSCALL_ULONG_TYPE): Likewise.
19431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19432 (__SYSCALL_SLONG_TYPE): Likewise.
19433 (__SYSCALL_ULONG_TYPE): Likewise.
19434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19435 (__SYSCALL_SLONG_TYPE): Likewise.
19436 (__SYSCALL_ULONG_TYPE): Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19438 (__SYSCALL_SLONG_TYPE): Likewise.
19439 (__SYSCALL_ULONG_TYPE): Likewise.
19441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19443 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19444 Add sigaltstack-offsets.sym.
19445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19446 <sigaltstack-offsets.h>.
19447 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19448 longjmp_msg pointer.
19449 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19450 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19452 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19454 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19456 * elf/stackguard-macros.h: Remove file.
19457 * sysdeps/generic/stackguard-macros.h: New file.
19458 * sysdeps/i386/stackguard-macros.h: Likewise.
19459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19465 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19466 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19467 <elf/stackguard-macros.h>.
19470 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19471 __aligned__ in attribute.
19472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19473 (gregset_t): Likewise.
19475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19477 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19478 * sysdeps/x86_64/64/Implies-after: Here. New file.
19479 * sysdeps/x86_64/x32/Implies-after: New file.
19481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19483 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19484 and access return value for _dl_profile_fixup. Use R10_LP to
19487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19493 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19494 * sysdeps/x86_64/x32/sysdep.h: New file.
19496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19498 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19499 * sysdeps/x86_64/setjmp.S: Likewise.
19501 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19505 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19507 remove unused global constant.
19509 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19511 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19512 include of <not-cancel.h>.
19514 2012-05-15 Roland McGrath <roland@hack.frob.com>
19516 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19518 2012-05-15 Jeff Law <law@redhat.com>
19519 Andreas Jaeger <aj@suse.de>
19522 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19524 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19525 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19527 code changing __hst_map_handle.map.
19529 2012-05-15 Roland McGrath <roland@hack.frob.com>
19531 * configure.in (sysnames): Look for Implies-before and Implies-after
19533 * configure: Regenerated.
19535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19538 8-byte data alignment with LP_SIZE alignment.
19540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19547 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19551 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19552 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19559 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19560 (stackinfo_sub_sp): Likewise.
19562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19579 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19583 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19584 into R11_LP and load __x86_64_shared_cache_size_half into
19587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19592 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19601 powerpc32/power7/fpu/s_logb.c via #include.
19602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19603 powerpc32/power7/fpu/s_logbf.c via #include.
19604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19605 powerpc32/power7/fpu/s_logbl.c via #include.
19607 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19609 * README.libm: Remove file.
19611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19613 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19614 count for x32. Use R*_LP and omit operand-size suffix.
19616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19618 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19619 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19620 * sysdeps/x86_64/x32/shlib-versions: New file.
19622 2012-05-14 Roland McGrath <roland@hack.frob.com>
19624 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19625 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19626 Use _dl_fatal_printf instead.
19628 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19630 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19631 set if not set by the user. Do not allow for being unset.
19632 * sysdeps/unix/sysv/linux/configure: Regenerated.
19634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19637 the `q' suffix from lea and replace .quad with ASM_ADDR.
19639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19642 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19644 (PTR_DEMANGLE): Likewise.
19646 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19648 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19650 (ASM_ADDR): Likewise.
19651 (RAX_LP): Likewise.
19652 (RBP_LP): Likewise.
19653 (RBX_LP): Likewise.
19654 (RCX_LP): Likewise.
19655 (RDI_LP): Likewise.
19656 (RSI_LP): Likewise.
19657 (RSP_LP): Likewise.
19660 (R10_LP): Likewise.
19661 (R10_LP): Likewise.
19662 (R11_LP): Likewise.
19663 (R12_LP): Likewise.
19664 (R13_LP): Likewise.
19665 (R14_LP): Likewise.
19666 (R15_LP): Likewise.
19668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19670 * sysdeps/x86_64/x32/dl-machine.h: New file.
19672 2012-05-14 Andreas Jaeger <aj@suse.de>
19674 * manual/Makefile (subdir): Remove export of subdir.
19675 (all): Remove target.
19676 (.PHONY): Remove all from list.
19677 (mkinstalldirs): Remove.
19678 (.PHONY): Remove installdirs from list.
19679 ($(inst_infodir)/libc.info): Use make-target-directory.
19680 (installdirs): Remove.
19681 (subdir_%): Remove.
19682 (glibc-targets): Remove.
19685 ($(objpfx)stubs ../po/manual.pot): Remove.
19686 ($(objpfx)stamp%): Remove.
19687 (make-target-directory): Remove.
19688 (subdir_install): Remove.
19689 (routines): Remove.
19696 * manual/.gitignore: Remove, it's not needed anymore.
19697 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19699 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19701 (texis): Renamed to $(objpfx)texis.
19702 (texis-path): New, contains path to generated files.
19703 (chapters.%): Use texis-path for complete path, add extra argument
19705 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19706 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19707 (summary,texi, stamp-summary): Use complete path of
19708 files. Generate files in build dir.
19709 (dir-add.texi): Build in build dir.
19710 (libm-err.texi,stamp-libm-err): Likewise.
19711 (version.texi, stamp-version): Likewise.
19712 (.%c.texi): Likewise.
19713 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19714 (mostlyclean): Remove target.
19715 (realclean): Remove target.
19716 (generated): Add new variable with contents from mostlyclean and
19717 realclean, remove entries duplicated in common-mostlyclean, add
19718 stamp-libm-err and stamp-version.
19719 (generated-dirs): Add libc directory.
19720 ($(inst_infodir)/libc.info): Install files from build dir.
19722 * manual/install.texi (Configuring and compiling): Adjust since
19723 the info files are not part of the tar ball anymore.
19725 2012-05-14 Andreas Jaeger <aj@suse.de>
19727 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19730 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19734 to 2.2.0 where earlier.
19735 * sysdeps/unix/sysv/linux/configure: Regenerated.
19736 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19737 Remove conditional code.
19738 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19739 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19740 Remove conditional code.
19741 [!__NR_lchown]: Likewise.
19742 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19743 [__NR_lchown]: Likewise.
19744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19745 comment referencing __ASSUME_LCHOWN_SYSCALL.
19746 * sysdeps/unix/sysv/linux/i386/sigaction.c
19747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19750 Remove conditional code.
19751 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19752 (__protocol_available): Remove #if 0 code.
19753 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19755 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19756 * sysdeps/unix/sysv/linux/kernel-features.h
19757 (__ASSUME_GETCWD_SYSCALL): Don't define.
19758 (__ASSUME_REALTIME_SIGNALS): Likewise.
19759 (__ASSUME_PREAD_SYSCALL): Likewise.
19760 (__ASSUME_PWRITE_SYSCALL): Likewise.
19761 (__ASSUME_POLL_SYSCALL): Likewise.
19762 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19763 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19765 (__ASSUME_SIOCGIFNAME): Don't define.
19766 (__ASSUME_MSG_NOSIGNAL): Likewise.
19767 (__ASSUME_SENDFILE): Define unconditionally.
19768 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19769 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19771 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19772 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19774 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19777 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19802 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19803 Remove conditional code.
19804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19805 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19806 Remove conditional code.
19807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19808 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19809 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19810 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19811 Remove conditional code.
19812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19813 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19814 Remove conditional code.
19815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19816 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19817 Remove conditional code.
19818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19819 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19820 Remove conditional code.
19821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19822 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19823 Remove conditional code.
19824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19825 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19828 * sysdeps/unix/sysv/linux/sigaction.c
19829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19831 * sysdeps/unix/sysv/linux/sigpending.c
19832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19834 * sysdeps/unix/sysv/linux/sigprocmask.c
19835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19837 * sysdeps/unix/sysv/linux/sigsuspend.c
19838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19841 (__libc_missing_rt_sigs): Remove.
19842 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19843 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19844 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19845 Remove conditional code.
19846 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19847 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19854 2012-05-14 Andreas Jaeger <aj@suse.de>
19856 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19857 it's not used in glibc.
19858 (__coshm1): Likewise.
19859 (__acosh1p): Likewise.
19862 * manual/string.texi (Copying and Concatenation): Add missing
19863 variable in concat example.
19864 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19870 __builtin_clzl with __builtin_clzll.
19872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19878 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19880 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19881 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19882 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19885 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19887 * NEWS: Update ia64 info.
19889 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19891 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19894 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19896 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19897 * sysdeps/unix/syscalls.list (dup3): Likewise.
19898 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19899 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19901 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19903 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19904 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19906 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19908 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19910 (TLS_IE): Use mov/add instead of movq/addq to load thread
19912 (TLS_GD_PREFIX): New.
19915 2012-05-11 David S. Miller <davem@davemloft.net>
19917 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19918 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19919 (_FPU_SETCW): Likewise.
19921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19923 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19924 is 32-byte aligned.
19926 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19929 * iconvdata/gb18030.c: Update tables.
19930 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19931 characters specially.
19932 (BODY for TO_LOOP): Add encoding of missing ranges.
19934 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19937 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19938 * sysdeps/mach/hurd/dup3.c: Likewise.
19939 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19940 * sysdeps/powerpc/memmove.c:: Likewise.
19942 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19945 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19947 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19949 * elf/elf.h (R_X86_64_RELATIVE64): New.
19950 (R_X86_64_NUM): Updated.
19951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19952 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19953 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19954 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19955 tst-quad1pie tst-quad2pie
19956 (modules-names): Add tst-quadmod1 tst-quadmod2.
19957 ($(objpfx)tst-quad1): New dependency.
19958 ($(objpfx)tst-quad2): Likewise.
19959 ($(objpfx)tst-quad1pie): Likewise.
19960 ($(objpfx)tst-quad2pie): Likewise.
19961 * sysdeps/x86_64/tst-quad1.c: New file.
19962 * sysdeps/x86_64/tst-quad1pie.c: New file.
19963 * sysdeps/x86_64/tst-quad2.c: Likewise.
19964 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19965 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19966 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19967 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19968 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19972 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19973 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19974 * streams/stropts.h (t_scalar_t): Define type.
19976 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19977 (_PATH_PRESERVE): Set to "/var/lib".
19978 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19980 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19983 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19984 if __dir_mkfile succeeded.
19986 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19987 checking for _hurd_dtablesize. Unlock it right after having
19988 finished _hurd_dtable allocation.
19990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19992 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19993 * sysdeps/mach/hurd/configure: Regenerated.
19994 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19995 special-casing to...
19996 * sysdeps/gnu/configure.in: ... this new file.
19997 * sysdeps/unix/sysv/linux/configure: Regenerated.
19998 * sysdeps/gnu/configure: New generated file.
20000 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20001 for Linux: use nsec instead of usec, as well as:
20002 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20003 members of type struct timespec.
20004 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20006 (struct stat64): Likewise.
20007 (_STATBUF_ST_NSEC): New macro.
20008 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20011 __strtoul_internal rather than strtoul.
20013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20015 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20020 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20021 which preserves existing values.
20022 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20024 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20026 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20027 TIMEOUT values. Return EINVAL for NFDS values either negative or
20028 greater than FD_SETSIZE.
20030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20033 allocated, call __vm_protect to finish enabling the existing space, and
20034 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20035 allocate the remainder.
20037 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20039 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20040 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20044 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20045 sysdeps/mach/hurd/readlink.c.
20047 * posix/tst-sysconf.c (posix_options): Only use
20048 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20049 _POSIX_SYNCHRONIZED_IO when they are defined
20050 * sysdeps/mach/hurd/bits/posix_opt.h:
20051 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20052 (_XOPEN_REALTIME): Undefine macro.
20053 (_XOPEN_REALTIME_THREADS): Undefine macro.
20054 (_XOPEN_SHM): Undefine macro.
20055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20059 (_POSIX_ASYNC_IO): Undefine macro.
20060 (_POSIX_PRIORITIZED_IO): Undefine macro.
20061 (_POSIX_SPIN_LOCKS): Define macro to -1.
20063 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20064 SA_NODEFER, SA_RESETHAND.
20065 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20066 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20071 * elf/Makefile (pldd-modules): Define unconditionally.
20073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20075 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20079 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20080 Return ENOENT when name is empty.
20081 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20085 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20087 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20091 Fix mlock in all cases except non-readable pages.
20092 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20093 instead of VM_PROT_ALL as parameter to __vm_wire function.
20095 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20096 (__mkdir): When path is `/', just fail with EEXIST.
20097 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20101 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20102 <sys/uio.h> (for writev).
20103 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20104 and <sys/param.h> (for MIN).
20106 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20108 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20109 REQUESTED_TIME. Properly set the remaining time and return EINTR
20112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20115 Depend on against $(link-rpcuserlibs).
20117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20119 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20120 (__libc_stack_end): Do not use attribute_relro.
20121 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20122 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20123 to libthread-provided value.
20124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20130 * bits/libc-lock.h (__libc_once_get): New macro.
20131 * sysdeps/mach/bits/libc-lock.h: Likewise.
20132 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20134 instead of using implementation details.
20136 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20137 * libio/freopen.c: Likewise.
20138 * libio/freopen64.c: Likewise.
20139 * misc/syslog.c: Likewise.
20140 * nscd/connections.c: Likewise.
20141 * nscd/netgroupcache.c: Likewise.
20142 * sysdeps/posix/getcwd.c: Likewise.
20144 2012-05-10 Roland McGrath <roland@hack.frob.com>
20146 * math/w_ilogbf.c: Add #include <limits.h>.
20148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20150 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20151 path instead of returning without unlocking.
20153 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20154 immediate-write ioctls.
20155 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20159 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20160 __builtin_frame_address instead of making assumptions about the
20161 location of the return address relative to DATA. Force early load of
20162 the return address.
20163 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20164 __builtin_frame_address.
20167 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20168 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20169 implement dup3 and do some further code clean-ups.
20170 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20175 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20177 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20178 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20179 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20180 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20181 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20184 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20185 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20186 when handler == SIG_ERR, not when handler != SIG_ERR.
20188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20190 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20191 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20194 accept4 for GNU Hurd.
20195 * include/sys/socket.h (__libc_accept4): New prototype.
20196 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20197 to implement __libc_accept4.
20198 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20202 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20203 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20204 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20205 signal-defines.sym.
20207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20209 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20213 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20214 assertion on O_CLOEXEC flag.
20215 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20216 * hurd/intern-fd.c: Likewise.
20217 * hurd/port2fd.c: Likewise.
20219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20222 * bits/in.h (IPV6_PKTINFO): Define new macro.
20223 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20225 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20232 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20236 * math/libm-test.inc (logb_test) : Additional logb tests.
20238 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20239 Andreas Jaeger <aj@suse.de>
20241 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20242 * configure: Regenerated.
20243 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20244 * config.make.in (link-obsolete-rpc): New substituted variable.
20245 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20246 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20247 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20248 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20249 so that libc.a contains the symbols.
20250 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20251 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20252 * sunrpc/auth_none.c: Likewise.
20253 * sunrpc/auth_unix.c: Likewise.
20254 * sunrpc/authdes_prot.c: Likewise.
20255 * sunrpc/authuxprot.c: Likewise.
20256 * sunrpc/clnt_gen.c: Likewise.
20257 * sunrpc/clnt_perr.c: Likewise.
20258 * sunrpc/clnt_raw.c: Likewise.
20259 * sunrpc/clnt_simp.c: Likewise.
20260 * sunrpc/clnt_tcp.c: Likewise.
20261 * sunrpc/clnt_udp.c: Likewise.
20262 * sunrpc/clnt_unix.c: Likewise.
20263 * sunrpc/des_crypt.c: Likewise.
20264 * sunrpc/des_soft.c: Likewise.
20265 * sunrpc/get_myaddr.c: Likewise.
20266 * sunrpc/key_call.c: Likewise.
20267 * sunrpc/key_prot.c: Likewise.
20268 * sunrpc/netname.c: Likewise.
20269 * sunrpc/pm_getmaps.c: Likewise.
20270 * sunrpc/pm_getport.c: Likewise.
20271 * sunrpc/pmap_clnt.c: Likewise.
20272 * sunrpc/pmap_prot.c: Likewise.
20273 * sunrpc/pmap_prot2.c: Likewise.
20274 * sunrpc/pmap_rmt.c: Likewise.
20275 * sunrpc/publickey.c: Likewise.
20276 * sunrpc/rpc_cmsg.c: Likewise.
20277 * sunrpc/rpc_common.c: Likewise.
20278 * sunrpc/rpc_dtable.c: Likewise.
20279 * sunrpc/rpc_prot.c: Likewise.
20280 * sunrpc/rpc_thread.c: Likewise.
20281 * sunrpc/rtime.c: Likewise.
20282 * sunrpc/svc.c: Likewise.
20283 * sunrpc/svc_auth.c: Likewise.
20284 * sunrpc/svc_raw.c: Likewise.
20285 * sunrpc/svc_run.c: Likewise.
20286 * sunrpc/svc_tcp.c: Likewise.
20287 * sunrpc/svc_udp.c: Likewise.
20288 * sunrpc/svc_unix.c: Likewise.
20289 * sunrpc/svcauth_des.c: Likewise.
20290 * sunrpc/xcrypt.c: Likewise.
20291 * sunrpc/xdr.c: Likewise.
20292 * sunrpc/xdr_array.c: Likewise.
20293 * sunrpc/xdr_float.c: Likewise.
20294 * sunrpc/xdr_intXX_t.c: Likewise.
20295 * sunrpc/xdr_mem.c: Likewise.
20296 * sunrpc/xdr_rec.c: Likewise.
20297 * sunrpc/xdr_ref.c: Likewise.
20298 * sunrpc/xdr_sizeof.c: Likewise.
20299 * sunrpc/xdr_stdio.c: Likewise.
20301 2012-05-10 Roland McGrath <roland@hack.frob.com>
20303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20304 change. Update copyright years.
20306 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20308 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20310 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20311 Joseph Myers <joseph@codesourcery.com>
20312 Paul Pluzhnikov <ppluzhnikov@google.com>
20315 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20317 [cross-compiling] (extra-libs): Likewise.
20318 [cross-compiling] (extra-libs-others): Likewise.
20319 [cross-compiling] (librpcsvc-routines): Likewise.
20320 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20321 [cross-compiling] (omit-deps): Likewise.
20322 (sunrpc-CPPFLAGS): New variable.
20323 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20324 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20325 (cross-rpcgen-objs): New variable.
20326 (extra-objs): Append $(cross-rpcgen-objs).
20327 ($(cross-rpcgen-objs)): New rule.
20328 ($(objpfx)cross-rpcgen): Likewise.
20329 (rpcgen-cmd): Define to use $(built-program-file). Expand
20331 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20332 ($(objpfx)x%.stmp): Likewise.
20333 * sunrpc/proto.h [IS_IN_build] (_): Define.
20334 [IS_IN_build] (_libc_intl_domainname): Likewise.
20336 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20339 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20340 and R_X86_64_TPOFF64.
20342 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20344 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20345 sysdeps/unix/sysv/syscalls.list.
20348 * sysdeps/unix/sysv/syscalls.list: Remove file.
20350 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20353 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20354 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20355 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20356 (__LC_IDENTIFICATION): Make these macros useful in #if
20357 expressions, as required by C99.
20359 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20361 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20362 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20365 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20367 * stdlib/longlong.h: Updated from GCC.
20369 2012-05-09 Andreas Jaeger <aj@suse.de>
20371 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20372 default is first entry.
20373 (run_mode): Set type.
20374 (main): Remove informal message about syslog.
20375 (options): Fix typo.
20378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20381 (llrintf): Likewise.
20382 (llrint): Likewise.
20385 (nearbyint): Likewise.
20386 (nearbyintf): Likewise.
20388 2012-05-09 Andreas Jaeger <aj@suse.de>
20389 Pedro Alves <palves@redhat.com>
20391 * nscd/nscd.c (run_mode): Use enum.
20392 (main): Cleanup coding style issue.
20394 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20395 Andreas Jaeger <aj@suse.de>
20397 * nscd/nscd.c (go_background): Replaced with...
20398 (run_mode): ... this.
20399 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20400 (options): Add -F --foreground.
20401 (main): Implement it.
20402 (parse_opt): Parse it.
20404 2012-05-09 Andreas Jaeger <aj@suse.de>
20407 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20408 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20409 -Wconversion warning.
20410 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20413 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20415 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20417 (LC_ALL): Use macro-int-constant.
20418 (LC_COLLATE): Likewise.
20419 (LC_CTYPE): Likewise.
20420 (LC_MESSAGES): Likewise.
20421 (LC_MONETARY): Likewise.
20422 (LC_NUMERIC): Likewise.
20423 (LC_TIME): Likewise.
20424 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20425 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20427 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20429 [C99-based standards] (float_t): Expect type.
20430 [C99-based standards] (double_t): Expect type.
20431 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20433 [C99-based standards] (HUGE_VALL): Likewise.
20434 [C99-based standards] (INFINITY): Likewise.
20435 [C99-based standards] (NAN): Likewise.
20436 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20437 [C99-based standards] (FP_NAN): Likewise.
20438 [C99-based standards] (FP_NORMAL): Likewise.
20439 [C99-based standards] (FP_SUBNORMAL): Likewise.
20440 [C99-based standards] (FP_ZERO): Likewise.
20441 [C99-based standards] (FP_FAST_FMA): Use
20442 optional-macro-int-constant. Specify type. Require == 1.
20443 [C99-based standards] (FP_FAST_FMAF): Likewise.
20444 [C99-based standards] (FP_FAST_FMAL): Likewise.
20445 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20446 [C99-based standards] (FP_ILOGBNAN): Likewise.
20447 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20449 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20450 [C99-based standards] (math_errhandling): Specify type.
20451 [ISO99 || ISO11] (signgam): Do not allow.
20452 [non-C99-based standards] (copysignf): Do not allow.
20453 [non-C99-based standards] (exp2f): Likewise.
20454 [non-C99-based standards] (log2f): Likewise.
20455 [non-C99-based standards] (modff): Allow.
20456 [non-C99-based standards] (erff): Do not allow.
20457 [non-C99-based standards] (erfcf): Likewise.
20458 [non-C99-based standards] (gammaf): Likewise.
20459 [non-C99-based standards] (hypotf): Likewise.
20460 [non-C99-based standards] (j0f): Likewise.
20461 [non-C99-based standards] (j1f): Likewise.
20462 [non-C99-based standards] (jnf): Likewise.
20463 [non-C99-based standards] (lgammaf): Likewise.
20464 [non-C99-based standards] (tgammaf): Likewise.
20465 [non-C99-based standards] (y0f): Likewise.
20466 [non-C99-based standards] (y1f): Likewise.
20467 [non-C99-based standards] (ynf): Likewise.
20468 [non-C99-based standards] (isnanf): Likewise.
20469 [non-C99-based standards] (acoshf): Likewise.
20470 [non-C99-based standards] (asinhf): Likewise.
20471 [non-C99-based standards] (atanhf): Likewise.
20472 [non-C99-based standards] (cbrtf): Likewise.
20473 [non-C99-based standards] (expm1f): Likewise.
20474 [non-C99-based standards] (ilogbf): Likewise.
20475 [non-C99-based standards] (log1pf): Likewise.
20476 [non-C99-based standards] (logbf): Likewise.
20477 [non-C99-based standards] (nextafterf): Likewise.
20478 [non-C99-based standards] (remainderf): Likewise.
20479 [non-C99-based standards] (rintf): Likewise.
20480 [non-C99-based standards] (scalbf): Likewise.
20481 [non-C99-based standards] (copysignl): Likewise.
20482 [non-C99-based standards] (exp2l): Likewise.
20483 [non-C99-based standards] (log2l): Likewise.
20484 [non-C99-based standards] (modfl): Allow.
20485 [non-C99-based standards] (erfl): Do not allow.
20486 [non-C99-based standards] (erfcl): Likewise.
20487 [non-C99-based standards] (gammal): Likewise.
20488 [non-C99-based standards] (hypotl): Likewise.
20489 [non-C99-based standards] (j0l): Likewise.
20490 [non-C99-based standards] (j1l): Likewise.
20491 [non-C99-based standards] (jnl): Likewise.
20492 [non-C99-based standards] (lgammal): Likewise.
20493 [non-C99-based standards] (tgammal): Likewise.
20494 [non-C99-based standards] (y0l): Likewise.
20495 [non-C99-based standards] (y1l): Likewise.
20496 [non-C99-based standards] (ynl): Likewise.
20497 [non-C99-based standards] (isnanl): Likewise.
20498 [non-C99-based standards] (acoshl): Likewise.
20499 [non-C99-based standards] (asinhl): Likewise.
20500 [non-C99-based standards] (atanhl): Likewise.
20501 [non-C99-based standards] (cbrtl): Likewise.
20502 [non-C99-based standards] (expm1l): Likewise.
20503 [non-C99-based standards] (ilogbl): Likewise.
20504 [non-C99-based standards] (log1pl): Likewise.
20505 [non-C99-based standards] (logbl): Likewise.
20506 [non-C99-based standards] (nextafterl): Likewise.
20507 [non-C99-based standards] (remainderl): Likewise.
20508 [non-C99-based standards] (rintl): Likewise.
20509 [non-C99-based standards] (scalbl): Likewise.
20510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20511 [non-C99-based standards] (FP_*): Do not allow.
20512 [C99-based standards] (FP_*): Change to
20513 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20514 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20516 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20517 (SIG_ERR): Likewise.
20518 [X/Open-based standards] (SIG_HOLD): Likewise.
20519 (SIG_IGN): Likewise.
20520 (SIGABRT): Use macro-int-constant. Specify type. Require
20522 (SIGFPE): Likewise.
20523 (SIGILL): Likewise.
20524 (SIGINT): Likewise.
20525 (SIGSEGV): Likewise.
20526 (SIGTER): Likewise.
20527 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20528 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20529 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20530 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20532 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20535 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20536 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20537 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20538 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20539 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20540 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20545 [X/Open-based standards] (SIGTRAP): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20550 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20553 2012-05-08 Ian Wienand <ianw@vmware.com>
20556 * time/tzset.c (__tzset_parse_tz): Update default rules for
20557 daylight time changes in the Energy Policy Act of 2005.
20559 2012-05-09 Andreas Jaeger <aj@suse.de>
20562 * elf/ldconfig.c (parse_conf): Change string to make clear that
20563 ldconfig only issued a warning if ld.so.conf does not exist.
20565 2012-05-08 David S. Miller <davem@davemloft.net>
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20568 movxtod instead of popping the value on the stack.
20570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20572 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20574 * config.h.in: Add HAVE_ARM_PCS_VFP.
20576 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20579 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20580 checking but the checks are disabled for any reason.
20582 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20584 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20585 and ELF64_R_TYPE with ELFW(R_TYPE).
20587 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20589 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20590 (ulimit): Likewise.
20592 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20593 (settimeofday): Likewise.
20595 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20597 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20598 a struct th_u2 inside the union, and move tu_block/tu_code into
20599 a new th_u3 union of tu_block/tu_code inside of that. Move
20600 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20601 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20602 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20603 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20604 (th_stuff): Change to th_u1.tu_stuff.
20606 (th_msg): Change to th_u1.th_u2.tu_data.
20608 2012-05-07 David S. Miller <davem@davemloft.net>
20610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20614 (SETUP_PIC_REG): Use it.
20615 (SETUP_PIC_REG_LEAF): Use it.
20617 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20623 (EXPL_FINITE): Likewise.
20624 (FLDLOG): Likewise.
20625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20626 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20628 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20635 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20636 test of -max_value argument for long double.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20640 2012-05-06 David S. Miller <davem@davemloft.net>
20642 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20643 quad soft-float symbols whose references which are compiler
20645 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20647 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20653 (EXPL_FINITE): Likewise.
20654 (FLDLOG): Likewise.
20657 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20658 Adjust comments for base varying.
20659 (__expl_finite): Change alias to EXPL_FINITE.
20660 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20662 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20663 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20665 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20668 (EXPL_FINITE): Likewise.
20669 (FLDLOG): Likewise.
20672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20673 Adjust comments for base varying.
20674 (__expl_finite): Change alias to EXPL_FINITE.
20675 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20680 * math/libm-test.inc (check_float_internal): Correct ulp
20681 calculation for subnormal expected results.
20683 2012-05-06 Andreas Jaeger <aj@suse.de>
20685 * Makeconfig (+math-flags): New, set to -frounding-math.
20686 (+cflags): Add +math-flags so that all of glibc gets compiled with
20689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20691 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20693 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20699 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20700 (__ieee754_expl): Allow for and saturate large arguments.
20701 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20702 (u_threshold): Likewise.
20703 (__exp): Call __ieee754_exp before checking for overflow and
20705 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20706 (u_threshold): Likewise.
20707 (__expf): Call __ieee754_expf before checking for overflow and
20709 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20710 (u_threshold): Likewise.
20711 (__expl): Call __ieee754_expl before checking for overflow and
20713 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20714 (__ieee754_expl): Allow for and saturate large arguments.
20715 * math/libm-test.inc (exp_test): Add another test. Do not allow
20716 missing overflow exception on overflow.
20717 (expm1_test): Do not allow missing overflow exception on overflow.
20719 * sysdeps/i386/fpu/e_expl.c: Move to ...
20720 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20721 rather than using inline asm.
20722 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20723 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20724 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20726 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20729 (signal): Likewise.
20733 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20735 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20736 sysdeps/unix/common/syscalls.list.
20737 (fchmod): Likewise.
20738 (fchown): Likewise.
20739 (ftruncate): Likewise.
20740 (getrusage): Likewise.
20741 (gettimeofday): Likewise.
20742 (setpgid): Likewise.
20743 (setregid): Likewise.
20744 (setreuid): Likewise.
20745 (sigaction): Likewise.
20746 (truncate): Likewise.
20747 (vhangup): Likewise.
20748 * sysdeps/unix/common/syscalls.list: Remove file.
20749 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20750 * sysdeps/unix/sysv/linux/Implies: Likewise.
20752 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20766 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20772 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20778 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20789 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20797 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20799 * sysdeps/unix/common/bits/dirent.h: Remove file.
20800 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20802 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20803 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20804 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20805 * sysdeps/unix/bsd/isatty.c: Likewise.
20806 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20807 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20808 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20810 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20814 long double comparison inaccuracies.
20815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20818 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20820 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20823 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20827 nonzero digits before rounding a hex value.
20828 * stdlib/tst-strtod.c (tests): Add another test.
20830 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20832 * sysdeps/s390/fpu/libm-test-ulps: Update.
20834 2012-05-03 Andreas Jaeger <aj@suse.de>
20836 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20837 does not get optimized out.
20838 (malloc_opt_barrier): New.
20840 2012-05-03 Andreas Jaeger <aj@suse.de>
20841 Roland McGrath <roland@hack.frob.com>
20843 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20844 intermediate file deletion.
20845 (generated): Add .symlist files.
20847 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20850 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20851 Redirect under this condition.
20852 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20853 [__USE_GNU] (__dprintf_chk): Not under this condition.
20854 [__USE_GNU] (__vdprintf_chk): Likewise.
20855 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20856 under this condition.
20857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20858 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20859 [__USE_XOPEN2K8] (vdprintf): Likewise.
20860 [__USE_GNU] (__dprintf_chk): Not under this condition.
20861 [__USE_GNU] (__vdprintf_chk): Likewise.
20862 [__USE_GNU] (dprintf): Likewise.
20863 [__USE_GNU] (vdprintf): Likewise.
20865 2012-05-03 Roland McGrath <roland@hack.frob.com>
20867 * elf/Makefile (common-generated): Set this instead of generated for
20868 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20869 $(all-built-dso)-derived lists.
20871 2012-05-03 Andreas Jaeger <aj@suse.de>
20873 * sysdeps/i386/fpu/libm-test-ulps: Update.
20876 * FAQ.in: Likewise.
20877 * scripts/gen-FAQ.pl: Likewise.
20878 * manual/install.texi (Installation): Point to online location of
20880 * Makefile (files-for-dist): Remove FAQ.
20883 2012-05-02 Allan McRae <allan@archlinux.org>
20885 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20886 (LDFLAGS-reldepmod5.so): Likewise.
20887 (LDFLAGS-reldep6mod1.so): Likewise.
20888 (LDFLAGS-reldep6mod4.so): Likewise.
20889 (LDFLAGS-reldep8mod3.so): Likewise.
20890 (LDFLAGS-unload4mod1.so): Likewise.
20891 (LDFLAGS-unload4mod2.so): Likewise.
20892 (LDFLAGS-tst-initorder): Likewise.
20893 (LDFLAGS-tst-initordera2.so): Likewise.
20894 (LDFLAGS-tst-initordera3.so): Likewise.
20895 (LDFLAGS-tst-initordera4.so): Likewise.
20896 (LDFLAGS-tst-initorderb2.so): Likewise.
20897 (LDFLAGS-noload): Likewise.
20898 (LDFLAGS-next): Likewise.
20899 (LDFLAGS-order2mod1.so): Likewise.
20900 (LDFLAGS-order2mod2.so): Likewise.
20901 (LDFLAGS-tst-initorder2): Likewise.
20902 (LDFLAGS-tst-initorder2a.so): Likewise.
20903 (LDFLAGS-tst-initorder2b.so): Likewise.
20904 (LDFLAGS-tst-initorder2c.so): Likewise.
20905 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20907 2012-05-02 David S. Miller <davem@davemloft.net>
20909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20911 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20914 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20916 2012-05-02 Andreas Jaeger <aj@suse.de>
20918 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20919 since we manipulate rounding mode.
20920 (CPPFLAGS-test-idouble.c): Likewise.
20921 (CPPFLAGS-test-ifloat.c): Likewise.
20922 (CFLAGS-test-ldouble.c): Likewise.
20923 (CFLAGS-test-double.c): Likewise.
20924 (CFLAGS-test-float.c): Likewise.
20925 (CFLAGS-test-misc.c): Likewise.
20926 (CFLAGS-test-test-fenv.c): Likewise.
20928 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20933 comparisons to determine direction to adjust input.
20935 2012-05-01 Roland McGrath <roland@hack.frob.com>
20937 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20938 output to the target.
20940 * scripts/localplt.awk: New file.
20941 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20942 (check-localplt-CFLAGS): Variable removed.
20943 ($(all-built-dso:=.jmprel)): New static pattern rule.
20944 (generated): Add those targets.
20945 (localplt-built-dso): New variable.
20946 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20948 * elf/check-localplt.c: File removed.
20950 * scripts/check-execstack.awk: New file.
20951 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20952 (check-execstack-CFLAGS): Variable removed.
20953 ($(objpfx)check-execstack.h): Target removed.
20954 ($(objpfx)execstack-default): New target.
20955 (generated): Add that instead of check-execstack.h.
20956 ($(all-built-dso:=.phdr)): New static pattern rule.
20957 (generated): Add those targets.
20958 * elf/check-execstack.c: File removed.
20960 * scripts/check-textrel.awk: New file.
20961 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20962 (check-textrel-CFLAGS): Variable removed.
20963 (all-built-dso): Use := to define.o
20964 ($(all-built-dso:=.dyn)): New static pattern rule.
20965 (generated): Add those targets.
20966 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20967 * config.make.in (READELF): New substituted variable.
20968 * elf/check-textrel.c: File removed.
20970 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20972 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20974 * conform/data/ctype.h-data [C99-based standards] (isblank):
20976 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20977 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20979 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20980 Specify type. Require positive value.
20981 (EILSEQ): Likewise.
20982 (ERANGE): Likewise.
20983 [ISO || POSIX] (EILSEQ): Do not expect.
20984 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20985 Specify type. Require positive value.
20986 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21017 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21022 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21033 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21034 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21035 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21036 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21037 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21039 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21040 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21042 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21044 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21045 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21046 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21047 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21048 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21049 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21050 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21051 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21052 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21053 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21054 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21055 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21056 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21057 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21058 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21059 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21060 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21061 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21062 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21064 (FLT_ROUNDS): Expect as macro, not constant.
21065 (FLT_MANT_DIG): Use macro-int-constant.
21066 (DBL_MANT_DIG): Likewise.
21067 (LDBL_MANT_DIG): Likewise.
21068 (FLT_DIG): Likewise.
21069 (DBL_DIG): Likewise.
21070 (LDBL_DIG): Likewise.
21071 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21072 (DBL_MIN_EXP): Likewise.
21073 (LDBL_MIN_EXP): Likewise.
21074 (FLT_MAX_EXP): Use macro-int-constant.
21075 (DBL_MAX_EXP): Likewise.
21076 (LDBL_MAX_EXP): Likewise.
21077 (FLT_MAX_10_EXP): Likewise.
21078 (DBL_MAX_10_EXP): Likewise.
21079 (LDBL_MAX_10_EXP): Likewise.
21080 (FLT_MAX): Use macro-constant.
21081 (DBL_MAX): Likewise.
21082 (LDBL_MAX): Likewise.
21083 (FLT_EPSILON): Use macro-constant. Give upper bound.
21084 (DBL_EPSILON): Likewise.
21085 (LDBL_EPSILON): Likewise.
21086 (FLT_MIN): Likewise.
21087 (DBL_MIN): Likewise.
21088 (LDBL_MIN): Likewise.
21089 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21090 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21091 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21092 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21093 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21094 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21095 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21096 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21097 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21098 [ISO11] (FLT_TRUE_MIN): Likewise.
21099 [ISO11] (LDBL_TRUE_MIN): Likewise.
21100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21101 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21102 (SCHAR_MIN): Use macro-int-constant. Specify type.
21103 (SCHAR_MAX): Likewise.
21104 (UCHAR_MAX): Likewise.
21105 (CHAR_MIN): Likewise.
21106 (CHAR_MAX): Likewise.
21107 (MB_LEN_MAX): Use macro-int-constant.
21108 (SHRT_MIN): Use macro-int-constant. Specify type.
21109 (SHRT_MAX): Likewise.
21110 (USHRT_MAX): Likewise.
21111 (INT_MAX): Likewise.
21112 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21114 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21116 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21118 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21119 bound negative. Suffix upper bound with "L".
21120 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21122 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21124 [C99-based standards] (LLONG_MAX): Likewise.
21125 [C99-based standards] (ULLONG_MAX): Likewise.
21126 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21128 [ISO11] (max_align_t): Require type.
21129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21131 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21132 from $CFLAGS, without defining away __attribute__ calls.
21133 (checknamespace): Use $CFLAGS_namespace.
21135 * conform/conformtest.pl (@keywords): Only include C99 keywords
21136 for standards based on C99 or C11.
21138 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21140 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21143 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21144 usability of symbols in #if.
21146 * conform/conformtest.pl: If macro or constant types start
21147 "promoted:", expect the symbol to be of the following type
21148 promoted by the integer promotions.
21150 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21151 in one place. Also handle "macro-constant".
21153 * conform/conformtest.pl: Only accept expected macro values with
21154 "==". Parse all "macro" lines in one place.
21155 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21157 * conform/conformtest.pl: Handle braced types on "constant" lines
21158 instead of handling "typed-constant".
21159 * conform/data/signal.h-data: Use "constant" instead of
21162 * conform/conformtest.pl: Handle "optional-" at start of lines in
21163 one place rather than duplicating several cases. Handle each
21164 format of "macro" line with initial "optional-".
21166 * conform/conformtest.pl: Only accept expected constant or
21167 optional-constant values with "==". Parse all "constant" lines in
21168 one place. Parse all "optional-constant" lines in one place.
21169 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21170 * conform/data/fmtmsg.h-data: Likewise.
21171 * conform/data/netinet/in.h-data: Likewise.
21172 * conform/data/tar.h-data: Likewise.
21173 * conform/data/limits.h-data: Use "==" form on "constant" and
21174 "optional-constant" lines.
21176 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21177 Use -std=c99 for XOPEN2K.
21178 (@knownproblems): Remove.
21179 (newtoken): Don't check %isknown.
21181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21182 Do not expect macro.
21183 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21184 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21186 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21187 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21195 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21196 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21208 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21209 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21213 [XPG3] (acosh): Likewise.
21214 [XPG3] (asinh): Likewise.
21215 [XPG3] (atanh): Likewise.
21216 [XPG3] (cbrt): Likewise.
21217 [XPG3] (expm1): Likewise.
21218 [XPG3] (ilogb): Likewise.
21219 [XPG3] (log1p): Likewise.
21220 [XPG3] (logb): Likewise.
21221 [XPG3] (nextafter): Likewise.
21222 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21223 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21224 [XPG3] (remainder): Likewise.
21225 [XPG3] (rint): Likewise.
21226 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21227 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21228 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21229 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21230 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21231 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21232 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21233 [UNIX98 || XOPEN2K] (scalb): Expect.
21234 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21235 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21236 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21237 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21238 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21239 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21240 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21241 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21242 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21243 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21244 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21245 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21246 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21247 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21248 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21249 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21250 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21251 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21252 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21253 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21254 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21255 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21256 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21257 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21258 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21259 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21261 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21262 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21264 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21265 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21267 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21268 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21270 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21271 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21273 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21274 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21276 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21277 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21278 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21279 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21280 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21281 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21282 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21283 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21284 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21285 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21286 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21287 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21288 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21289 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21290 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21291 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21292 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21293 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21294 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21295 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21308 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21309 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21320 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21321 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21322 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21325 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21326 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21327 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21328 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21329 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21330 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21331 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21332 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21333 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21334 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21335 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21336 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21337 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21338 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21339 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21340 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21341 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21342 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21343 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21344 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21345 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21346 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21347 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21348 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21349 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21350 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21351 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21352 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21353 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21354 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21355 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21356 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21357 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21358 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21359 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21360 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21361 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21362 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21363 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21364 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21365 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21366 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21367 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21368 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21369 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21370 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21372 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21373 _XOPEN_SOURCE_EXTENDED for XPG4.
21375 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21377 * Makeconfig (localtime): Remove variable.
21378 (inst_localtime-file): Likewise.
21380 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21401 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21405 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21406 comparisons to determine direction to adjust input.
21407 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21408 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21418 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21420 * math/libm-test.inc (nexttoward_test): Add more tests.
21422 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21426 in version GLIBC_2.1, not GLIBC_2.0.
21427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21430 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21436 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21437 * math/libm-test.inc (acos_test): Add more tests.
21438 (asin_test): Likewise.
21439 * sysdeps/i386/fpu/libm-test-ulps: Update.
21440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21445 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21447 * math/libm-test.inc (acos_test_tonearest): New function.
21448 (acos_test_towardzero): Likewise.
21449 (acos_test_downward): Likewise.
21450 (acos_test_upward): Likewise.
21451 (asin_test_tonearest): Likewise.
21452 (asin_test_towardzero): Likewise.
21453 (asin_test_downward): Likewise.
21454 (asin_test_upward): Likewise.
21455 (main): Call the new functions.
21456 * sysdeps/i386/fpu/libm-test-ulps: Update.
21457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21461 * math/e_exp10.c: Include <float.h>.
21462 (__ieee754_exp10): Handle underflow here rather than multiplying
21463 large negative argument by M_LN10.
21464 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21466 * math/e_exp10l.c: Include <float.h>.
21467 (__ieee754_exp10l): Handle underflow here rather than multiplying
21468 large negative argument by M_LN10l.
21469 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21470 spurious overflow exception on underflow.
21472 2012-04-29 Marek Polacek <polacek@redhat.com>
21474 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21475 (__fortify_function): New macro.
21476 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21477 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21478 __extern_always_inline.
21479 * libio/bits/stdio2.h: Likewise.
21480 * libio/bits/stdio.h: Likewise.
21481 * string/string.h: Likewise.
21482 * string/bits/string3.h: Likewise.
21483 * include/stdio.h: Likewise.
21484 * stdlib/bits/stdlib.h: Likewise.
21485 * stdlib/stdlib.h: Likewise.
21486 * rt/bits/mqueue2.h: Likewise.
21487 * rt/mqueue.h: Likewise.
21488 * posix/bits/unistd.h: Likewise.
21489 * posix/unistd.h: Likewise.
21490 * io/bits/poll2.h: Likewise.
21491 * io/bits/fcntl2.h: Likewise.
21492 * io/fcntl.h: Likewise.
21493 * io/sys/poll.h: Likewise.
21494 * misc/bits/syslog.h: Likewise.
21495 * misc/bits/syslog-ldbl.h: Likewise.
21496 * misc/sys/syslog.h: Likewise.
21497 * socket/bits/socket2.h: Likewise.
21498 * socket/sys/socket.h: Likewise.
21499 * debug/tst-chk1.c: Likewise.
21500 * wcsmbs/bits/wchar2.h: Likewise.
21501 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21502 * wcsmbs/wchar.h: Likewise.
21504 2012-04-29 Andreas Jaeger <aj@suse.de>
21506 * Makerules (tests): Remove enable-check-abi protection.
21507 (check-abi-warn): Remove.
21508 (check-abi-%): Remove check-abi-warn usage.
21510 * configure.in: Remove check-abi configure option.
21511 * configure: Regenerated.
21512 * config.make.in (enable-check-abi): Remove.
21514 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21517 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21518 double functions to double *_finite functions.
21521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21522 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21524 * stdio-common/Makefile (tests): Add tst-sprintf3.
21525 * stdio-common/tst-sprintf3.c: New file.
21527 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21528 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21530 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21532 * conform/conformtest.pl: Remove duplicate typed-constant
21535 2012-04-28 David S. Miller <davem@davemloft.net>
21537 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21538 (check-abi-%): Remove AWK script prerequisite and explicit
21540 (check-abi): Rewrite to just diff the symlist with the abilist.
21541 (config-tls, config-abi-config): Delete, no longer used.
21542 (update-abi-%): Remove AWK script and explicit abilist directory.
21543 (update-abi): Rewrite to simply compare and conditionally copy the
21544 symlist and the sysdep abilist file. Remove update-abi-config
21546 * abilist/ld.abilist: Remove.
21547 * abilist/libBrokenLocale.abilist: Remove.
21548 * abilist/libanl.abilist: Remove.
21549 * abilist/libcrypt.abilist: Remove.
21550 * abilist/libdl.abilist: Remove.
21551 * abilist/librt.abilist: Remove.
21552 * abilist/libthread_db.abilist: Remove.
21553 * abilist/libutil.abilist: Remove.
21554 * scripts/extract-abilist.awk: Remove.
21555 * scripts/merge-abilist.awk: Remove.
21556 * sysdeps/generic/libcidn.abilist: New file.
21557 * sysdeps/generic/libnss_compat.abilist: New file.
21558 * sysdeps/generic/libnss_db.abilist: New file.
21559 * sysdeps/generic/libnss_dns.abilist: New file.
21560 * sysdeps/generic/libnss_files.abilist: New file.
21561 * sysdeps/generic/libnss_hesiod.abilist: New file.
21562 * sysdeps/generic/libnss_nis.abilist: New file.
21563 * sysdeps/generic/libnss_nisplus.abilist: New file.
21564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21570 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21571 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21574 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21576 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21578 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21588 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21592 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21698 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21702 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21705 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21706 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21709 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21762 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21764 * conform/conformtest.pl: Fix typo in handling typed-constant from
21767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21769 * README: Cut down references to pre-2.6 Linux kernels and
21770 Linuxthreads. Update lists of configurations in libc and ports
21771 and sort alphabetically. Say "or newer" with Linux kernel version
21774 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21776 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21779 * math/libm-test.inc (logb_test_downward): New test to expose
21780 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21783 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21786 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21788 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21789 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21791 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21793 * sysdeps/unix/i386/brk.S: Remove file.
21794 * sysdeps/unix/i386/dl-brk.S: Likewise.
21795 * sysdeps/unix/i386/pipe.S: Likewise.
21796 * sysdeps/unix/i386/sigreturn.S: Likewise.
21797 * sysdeps/unix/i386/syscall.S: Likewise.
21798 * sysdeps/unix/i386/vfork.S: Likewise.
21799 * sysdeps/unix/i386/wait.S: Likewise.
21801 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21802 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21804 * configure.in (arm*-none*): Do not allow without
21805 --enable-hacker-mode.
21806 (netbsd*): Remove case setting base_os.
21807 (386bsd*): Likewise.
21808 (freebsd*): Likewise.
21811 (sunos*): Likewise.
21812 (ultrix*): Likewise.
21813 (newsos*): Likewise.
21814 (dynix*): Likewise.
21820 (minix*): Likewise.
21821 (irix4*): Likewise.
21822 (irix6*): Likewise.
21823 (solaris[2-9]*): Likewise.
21825 * configure: Regenerated.
21827 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21831 overflow or cancellation in calculating denominator.
21832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21834 down expression to avoid unexpected rounding in newer GCCs.
21835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21837 2012-04-26 David S. Miller <davem@davemloft.net>
21839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21840 long-double compat symbols.
21841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21855 2012-04-25 David S. Miller <davem@davemloft.net>
21857 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21858 HWCAP_* values only after the memory barriers have been defined.
21859 (atomic_full_barrier): Define.
21860 (atomic_read_barrier): Define.
21861 (atomic_write_barrier): Define.
21863 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21865 * shlib-versions: Add libgcc_s version information.
21866 * sysdeps/generic/libgcc_s.h: Remove.
21867 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21869 * sysdeps/gnu/unwind-resume.c: Likewise.
21870 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21872 2012-04-25 David S. Miller <davem@davemloft.net>
21874 * sysdeps/unix/sparc/brk.S: Delete.
21875 * sysdeps/unix/sparc/dl-brk.S: Delete.
21876 * sysdeps/unix/sparc/pipe.S: Delete.
21877 * sysdeps/unix/sparc/sysdep.S: Delete.
21878 * sysdeps/unix/sparc/sysdep.h: Delete.
21879 * sysdeps/unix/sparc/vfork.S: Delete.
21880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21881 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21883 ret_ERRVAL, r0, r1, MOVE): Define.
21884 (JUMPTARGET): Remove.
21885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21886 sysdeps/unix/sparc/sysdep.h
21887 (ENTRY, END): Remove.
21888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21890 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21892 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21893 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21896 * timezone/README: Update upstream location and email address for
21898 * timezone/zdump.c: Update from tzcode 2012b.
21899 * timezone/zic.c: Likewise.
21901 * configure.in (libc_cv_as_needed): Remove test.
21902 * configure: Regenerated.
21903 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21904 conditional definition.
21905 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21906 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21907 * config.make.in (have-as-needed): Remove variable.
21909 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21910 Paul Pluzhnikov <ppluzhnikov@google.com>
21912 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21915 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21917 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21918 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21919 * sysdeps/sh/strlen.S: Likewise.
21921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21923 * sysdeps/unix/fork.S: Remove file.
21924 * sysdeps/unix/i386/fork.S: Likewise.
21925 * sysdeps/unix/sparc/fork.S: Likewise.
21927 * sysdeps/unix/system.c: Remove file.
21928 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21930 * sysdeps/unix/getegid.S: Remove file.
21931 * sysdeps/unix/geteuid.S: Likewise.
21933 2012-04-24 Roland McGrath <roland@hack.frob.com>
21935 * scripts/check-localplt.awk: New file.
21936 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21938 * scripts/data/localplt-generic.data: Add a comment.
21940 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21941 NODE when __dir_mkfile failed.
21942 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21943 Reported by Ludovic Courtès <ludo@gnu.org>.
21945 2012-04-24 Andreas Jaeger <aj@suse.de>
21947 * Makerules (common-clean): Also remove gen-as-const-headers
21950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21952 * Makerules (native-compile): Do not change working directory for
21953 build. Use $(OUTPUT_OPTION) in command.
21954 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21956 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21959 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21960 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21961 * math/libm-test.inc (floor_test): Add more tests.
21962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21964 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21966 * sysdeps/unix/getdents.c: Remove file.
21967 * sysdeps/unix/sysv/getdents.c: Likewise.
21968 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21970 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21971 sysdeps/unix/mman/syscalls.list.
21973 (mprotect): Likewise.
21975 (munmap): Likewise.
21976 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21977 * sysdeps/unix/mman/syscalls.list: Remove.
21978 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21980 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21981 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21982 * configure: Regenerated.
21983 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21984 $(libgcc_s_suffix).
21985 * config.make.in (libgcc_s_suffix): Remove variable.
21987 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21989 * sysdeps/unix/sysv/gethostname.c: Move to ...
21990 * sysdeps/posix/gethostname.c: ... here.
21992 * sysdeps/unix/execve.S: Remove file.
21994 * sysdeps/unix/_exit.S: Remove file.
21996 2012-04-23 Andreas Jaeger <aj@suse.de>
21999 * manual/Makefile: Remove make dist support, there's no
22000 need for a stand-alone documentation tar ball.
22001 (TEXI2DVI): Define always, it's not in Makeconfig.
22004 (edition): Removed.
22005 (glibc-doc-$(edition).tar): Removed
22009 (ETAGS): Remove, it's in Makeconfig.
22010 (move-if-change): Remove, it's in Makeconfig.
22012 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22015 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22016 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22017 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22018 (strtod_l, strtof_l, strtold_l): Remove __wur.
22019 It is not necessarily an error to ignore strtol's return value.
22020 One can reliably look at the stored endptr to decide whether
22021 the number had valid syntax.
22023 2012-04-21 Andreas Jaeger <aj@suse.de>
22026 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22028 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22031 * sysdeps/unix/sysv/Versions: Remove file.
22033 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22038 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22042 version from __vm86.
22044 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22046 * sysdeps/unix/common/lxstat.c: Remove file.
22047 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22049 * sysdeps/unix/sysv/Makefile: Remove file.
22051 * sysdeps/unix/sysv/direct.h: Remove file.
22053 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22054 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22055 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22056 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22057 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22058 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22059 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22061 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22063 * sysdeps/unix/xmknod.c: Remove file.
22064 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22066 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22068 * sysdeps/unix/sysv/i386/time.S: Remove file.
22070 * sysdeps/unix/fxstat.c: Remove file.
22071 * sysdeps/unix/xstat.c: Likewise.
22072 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22074 * sysdeps/unix/sysv/sigaction.c: Remove file.
22076 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22077 (sysdep_headers): Remove variable.
22078 [termio.h not in sysdep_headers] (generated): Likewise.
22079 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22080 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22081 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22082 * sysdeps/unix/sysv/tcflow.c: Likewise.
22083 * sysdeps/unix/sysv/tcflush.c: Likewise.
22084 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22085 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22086 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22087 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22088 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22090 * sysdeps/unix/siglist.c: Remove file.
22092 * sysdeps/unix/getppid.S: Remove file.
22094 * sysdeps/unix/mkdir.c: Remove file.
22095 * sysdeps/unix/rmdir.c: Likewise.
22097 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22099 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22102 errlist-compat value.
22104 2012-04-18 David S. Miller <davem@davemloft.net>
22106 * sysdeps/generic/memcopy.h (reg_char): Delete.
22107 * debug/strcat_chk.c: Use char, not reg_char.
22108 * debug/strcpy_chk.c: Likewise.
22109 * debug/strncat_chk.c: Likewise.
22110 * debug/strncpy_chk.c: Likewise.
22111 * string/memchr.c: Likewise.
22112 * string/memrchr.c: Likewise.
22113 * string/rawmemchr.c: Likewise.
22114 * string/strcat.c: Likewise.
22115 * string/strchr.c: Likewise.
22116 * string/strchrnul.c: Likewise.
22117 * string/strcmp.c: Likewise.
22118 * string/strcpy.c: Likewise.
22119 * string/strncat.c: Likewise.
22120 * string/strncmp.c: Likewise.
22121 * string/strncpy.c: Likewise.
22123 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22125 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22126 __builtin_memcopy is called when src and dest ranges are known to not
22129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22132 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22133 fwd_align_merge macro call.
22134 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22135 bwd_align_merge macro call.
22136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22141 bwd_align_merge macros.
22142 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22143 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22146 2012-04-18 David S. Miller <davem@davemloft.net>
22148 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22150 2012-04-18 Andreas Jaeger <aj@suse.de>
22153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22154 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22158 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22161 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22163 Adjust for changed ldbl-128 files.
22165 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22166 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22169 2012-04-17 David S. Miller <davem@davemloft.net>
22171 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22173 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22175 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22176 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22177 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22178 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22180 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22182 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22185 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22186 * math/libm-test.inc: Add ilogb errno and exception tests.
22187 * math/w_ilogb.c: New file: ilogb wrapper.
22188 * math/w_ilogbf.c: New file: ilogbf wrapper.
22189 * math/w_ilogbl.c: New file: ilogbl wrapper.
22190 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22191 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22192 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22193 exception being thrown with 0.0 as argument.
22194 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22195 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22196 exception being thrown with 0.0 as argument.
22197 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22198 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22199 exception being thrown with 0.0 as argument.
22200 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22201 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22202 exception being thrown with 0.0 as argument.
22203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22204 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22206 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22209 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22210 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22211 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22213 2012-04-17 Petr Baudis <pasky@ucw.cz>
22215 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22218 2012-04-16 Marek Polacek <polacek@redhat.com>
22220 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22222 2012-04-16 Marek Polacek <polacek@redhat.com>
22224 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22225 operands of fdivp instruction.
22227 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22229 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22230 * elf/tst-auditmod3b.c: Likewise.
22231 * elf/tst-auditmod4b.c: Likewise.
22232 * elf/tst-auditmod5b.c: Likewise.
22233 * elf/tst-auditmod6b.c: Likewise.
22234 * elf/tst-auditmod6c.c: Likewise.
22235 * elf/tst-auditmod7b.c: Likewise.
22236 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22237 * sysdeps/x86_64/preconfigure.in: Likewise.
22238 * sysdeps/x86_64/preconfigure: Regenerated.
22240 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22245 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22248 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22250 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22253 * locale/iso-639.def: Fix gl language name. Spotted by
22256 2012-04-12 Roland McGrath <roland@hack.frob.com>
22259 * libio/libio.h (__io_write_fn): Update comment.
22261 2012-04-12 Petr Baudis <pasky@ucw.cz>
22264 * stdio.texi (Hook Functions): The user provided writer function
22265 is not allowed to return -1.
22267 2012-04-11 David S. Miller <davem@davemloft.net>
22269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22271 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22273 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22274 Add a leading slash to rtkaio.
22276 2012-04-11 Jim Meyering <meyering@redhat.com>
22279 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22280 It is not necessarily an error to ignore fwrite's return
22281 value. One can reliably use ferror to test for errors after
22284 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22286 * bits/types.h (__snseconds_t): New type.
22287 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22289 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22291 (__SNSECONDS_T_TYPE): Likewise.
22292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22293 (__SNSECONDS_T_TYPE): Likewise.
22294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22295 (__SNSECONDS_T_TYPE): Likewise.
22297 2012-04-10 Andreas Jaeger <aj@suse.de>
22300 * manual/time.texi (Processor Time): Return type of times is
22301 elapsed real time since an arbitrary point in the past.
22302 (CPU Time): Move CLK_TCK from here...
22303 (Processor Time): ...to here. Correct description.
22304 * manual/conf.texi (Constants for Sysconf): Correct description of
22307 2012-04-10 David S. Miller <davem@davemloft.net>
22310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22311 where the is a gap between DT_REL(A) and DT_JMPREL.
22313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22315 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22319 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22321 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22322 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22323 (dl_main): Handle --inhibit-cache.
22324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22326 * elf/dl-load.c (_dl_map_object): Use it.
22327 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22329 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22332 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22333 (__ieee754_powl): Saturate large exponents rather than testing for
22334 overflow of y*log2(x).
22335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22336 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22340 * math/s_ctan.c: Include <float.h>.
22341 (__ctan): Avoid internal overflow or cancellation in calculating
22343 * math/s_ctanf.c: Likewise.
22344 * math/s_ctanl.c: Likewise.
22345 * math/s_ctanh.c: Likewise.
22346 * math/s_ctanhf.c: Likewise.
22347 * math/s_ctanhl.c: Likewise.
22348 * math/libm-test.inc (ctan_test): Add more tests.
22349 (ctanh_test): Likewise.
22350 * sysdeps/i386/fpu/libm-test-ulps: Update.
22351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22353 2012-04-09 Andreas Jaeger <aj@suse.de>
22356 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22357 is an optional BSD extension.
22360 * manual/stdio.texi (Opening Streams): Document additional fopen
22363 2012-04-09 Roland McGrath <roland@hack.frob.com>
22365 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22366 %eax without telling the compiler.
22368 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22371 * manual/install.texi: Use sourceware.org.
22373 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22376 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22377 (__ieee754_pow): Generate overflow and underflow using huge*huge
22378 and tiny*tiny rather than just returning constant infinity or zero
22379 for large exponents.
22380 * math/libm-test.inc (pow_test): Require overflow exceptions for
22381 applicable cases of large exponents.
22384 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22385 (__ieee754_pow): Use iterative multiplication algorithm only for
22386 integer exponents with absolute value below 1024. Check for odd
22387 integer exponents when using algorithm for real exponents.
22388 * math/libm-test.inc (pow_test): Add more tests.
22389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22391 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22394 * math/libm-test.inc (exp_test): Do not allow overflow exception
22397 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22400 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22401 instead of __kernel_standard_f.
22403 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22405 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22406 * sysdeps/x86_64/memset_chk.S: Likewise.
22408 2012-04-08 Andreas Jaeger <aj@suse.de>
22411 * manual/startup.texi (Environment Access): Describe return value
22412 for putenv and setenv.
22415 * manual/filesys.texi (Directory Entries): Add description for
22419 * manual/filesys.texi (Directory Entries): Clarify that it's file
22420 system not operating system in the description of DT_UNKNOWN.
22423 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22425 2012-04-08 Stephen Compall <s11@member.fsf.org>
22428 * manual/llio.texi (Opening and Closing Files): Add cross
22429 reference to explain mode argument.
22431 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22433 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22434 * sysdeps/x86_64/memset_chk.S: Likewise.
22436 2012-04-07 David S. Miller <davem@davemloft.net>
22438 * elf/elf.h (R_SPARC_WDISP10): Define.
22439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22442 R_SPARC_SIZE64 and R_SPARC_H34.
22444 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22447 conditions and remove no longer applicable assertion.
22449 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22451 * bits/byteswap.h: Include <features.h>.
22452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22455 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22457 * bits/byteswap.h (__bswap_16): Removed.
22458 Include <bits/byteswap-16.h> to get __bswap_16.
22459 * sysdeps/i386/bits/byteswap.h: Likewise.
22460 * sysdeps/s390/bits/byteswap.h: Likewise.
22461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22462 * bits/byteswap-16.h: New file.
22463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22464 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22465 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22466 * string/Makefile (headers): Add bits/byteswap-16.h.
22468 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22471 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22473 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22474 * nss/tst-nss-static.c: New.
22476 2012-04-06 Robert Millan <rmh@gnu.org>
22479 * manual/llio.texi (File Position Primitive): lseek
22480 refers to WHENCE when it really means OFFSET.
22482 2012-04-06 Andreas Jaeger <aj@suse.de>
22484 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22485 strncmp declarations.
22487 * abilist/libc.abilist: Add __poll and __ppoll.
22489 2012-04-05 David S. Miller <davem@davemloft.net>
22491 * scripts/check-local-headers.sh: Accept a host triplet in the
22492 path matched by the exclude regexp.
22494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22496 * sysdeps/powerpc/powerpc32/dl-machine.h
22497 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22498 * sysdeps/s390/s390-32/dl-machine.h
22499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22500 * sysdeps/sparc/sparc32/dl-machine.h
22501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22502 * sysdeps/sparc/sparc64/dl-machine.h
22503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22505 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22508 undefined symbol errors.
22510 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22513 2012-04-05 Michael Matz <matz@suse.de>
22516 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22518 2012-04-05 Andreas Jaeger <aj@suse.de>
22521 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22527 which ROUND is no valid rounding mode.
22529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22533 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22535 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22538 an exception using FPU order intentionally.
22540 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22543 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22544 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22545 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22547 2012-04-05 Simon Josefsson <simon@josefsson.org>
22550 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22551 EINVAL when BUFLEN is too smal.
22553 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22556 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22557 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22559 2012-04-03 Andreas Jaeger <aj@suse.de>
22562 * manual/setjmp.texi (System V contexts): Fix sentence.
22565 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22566 New macro for this case.
22567 [!__GNUC__] (__bswap_64): New inline function for this case.
22568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22569 * bits/byteswap.h: Likewise.
22570 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22571 ull, guard with __GLIBC_HAVE_LONG_LONG.
22573 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22574 __GLIBC_HAVE_LONG_LONG.
22576 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22577 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22579 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22583 inptr and inend, rather than using last_ch.
22585 2012-04-02 David S. Miller <davem@davemloft.net>
22587 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22588 * stdio-common/printf-parse.h (read_int): Change return type to
22589 'int', return -1 on INT_MAX overflow.
22590 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22591 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22592 overflows INT_MAX. Check for overflow of in-format-string precision
22593 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22594 SIZE_MAX not INT_MAX for integer overflow test.
22595 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22596 skip the construct in the format string but do not record anything.
22597 * stdio-common/bug22.c: Adjust to test both width/prevision
22598 INT_MAX overflow as well as total length INT_MAX overflow. Check
22599 explicitly for proper errno values.
22601 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22603 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22605 * string/test-strcmp.c [! WIDE]: Likewise.
22606 * time/tst-mktime2.c: Likewise for INT_MAX.
22607 * string/test-string.h: #include <sys/param.h> for MIN.
22609 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22610 * sysdeps/i386/init-first.c (init): Likewise.
22611 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22612 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22613 * sysdeps/sh/init-first.c (init): Likewise.
22615 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22617 * po/ru.po: Update from translation team.
22618 * po/vi.po: Likewise.
22620 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22622 * resolv/nss_dns/dns-host.c: Merge copyright years.
22624 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22627 Optimize memcpy with prefetch if
22628 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22629 src, dst pointers have unequal 16 byte alignments.
22631 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22634 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22635 from a CNAME entry and return the minimum ttl for the query.
22636 (gaih_getanswer_slice): Likewise.
22638 2012-03-30 Jeff Law <law@redhat.com>
22640 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22642 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22643 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22645 * resolv/nss_dns/dns-host.c: Update copyright year.
22647 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22649 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22650 requests to save a system call. Fix check that all bytes are sent.
22652 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22653 comments for sendmmsg.
22655 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22659 with only 1 character between 0x0041 and 0x01b0.
22660 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22661 * wcsmbs/tst-mbsnrtowcs.c: New file.
22663 2012-03-29 David S. Miller <davem@davemloft.net>
22665 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22666 small copies by hand.
22668 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22671 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22672 _nss_compat_initgroups_dyn): Fall back to malloc/free
22673 for large group memberships.
22675 2012-03-28 David S. Miller <davem@davemloft.net>
22677 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22678 that branches into memcpy.
22679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22685 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22686 implementation too.
22687 * sysdeps/sparc/mempcpy.S: New file.
22689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22690 the IFUNC routine in the libc case.
22691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22695 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22696 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22697 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22698 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22699 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22700 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22702 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22703 loop to 256 bytes instead of 64 bytes and fix test signedness.
22705 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22706 * sysdeps/sparc/sparc32/Makefile: rather than here...
22707 * sysdeps/sparc/sparc64/Makefile: and here.
22709 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22711 * malloc/mallocbug.c: Avoid warnings about unused variables.
22713 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22716 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22717 in the right place. Discard and retry query if response is
22718 larger than input buffer size.
22720 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22726 x for large integer exponent.
22727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22728 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22729 sign of result as needed afterwards.
22730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22732 result for underflowing pow the same as for overflow.
22733 (__kernel_standard_l): Handle powl overflow and underflow here
22734 rather than calling __kernel_standard.
22735 * math/libm-test.inc (pow_test): Add more tests.
22750 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22751 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22752 (__kernel_standard_l): New function.
22753 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22755 * math/w_acosl.c (__acosl): Likewise.
22756 * math/w_asinl.c (__asinl): Likewise.
22757 * math/w_atan2l.c (__atan2l): Likewise.
22758 * math/w_atanhl.c (__atanhl): Likewise.
22759 * math/w_coshl.c (__coshl): Likewise.
22760 * math/w_exp10l.c (__exp10l): Likewise.
22761 * math/w_exp2l.c (__exp2l): Likewise.
22762 * math/w_fmodl.c (__fmodl): Likewise.
22763 * math/w_hypotl.c (__hypotl): Likewise.
22764 * math/w_j0l.c (__j0l, __y0l): Likewise.
22765 * math/w_j1l.c (__j1l, __y1l): Likewise.
22766 * math/w_jnl.c (__jnl, __ynl): Likewise.
22767 * math/w_lgammal.c (__lgammal): Likewise.
22768 * math/w_log10l.c (__log10l): Likewise.
22769 * math/w_log2l.c (__log2l): Likewise.
22770 * math/w_logl.c (__logl): Likewise.
22771 * math/w_powl.c (__powl): Likewise.
22772 * math/w_remainderl.c (__remainderl): Likewise.
22773 * math/w_scalbl.c (sysv_scalbl): Likewise.
22774 * math/w_sinhl.c (__sinhl): Likewise.
22775 * math/w_sqrtl.c (__sqrtl): Likewise.
22776 * math/w_tgammal.c (__tgammal): Likewise.
22777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22778 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22779 * math/libm-test.inc (acos_test): Add more tests.
22780 (acosh_test): Likewise.
22781 (asin_test): Likewise.
22782 (atanh_test): Likewise.
22783 (exp_test): Likewise.
22784 (exp10_test): Likewise.
22785 (exp2_test): Likewise.
22786 (expm1_test): Likewise.
22787 (lgamma_test): Likewise.
22788 (log_test): Likewise.
22789 (log10_test): Likewise.
22790 (log1p_test): Likewise.
22791 (log2_test): Likewise.
22792 (pow_test): Do not allow some spurious overflow exceptions.
22793 (sqrt_test): Add more tests.
22794 (tgamma_test): Likewise.
22795 (y0_test): Likewise.
22796 (y1_test): Likewise.
22797 (yn_test): Likewise.
22799 2012-03-27 Anton Blanchard <anton@samba.org>
22801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22807 2012-03-27 David S. Miller <davem@davemloft.net>
22809 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22811 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22812 have-as-vis3 check.
22814 2012-03-27 Andreas Jaeger <aj@suse.de>
22816 * sysdeps/x86_64/elf/configure.in: Moved to ...
22817 * sysdeps/x86_64/configure.in: ... here.
22818 * sysdeps/x86_64/elf/start.S: Moved to ...
22819 * sysdeps/x86_64/start.S: ... here.
22820 * sysdeps/x86_64/elf/configure: Delete.
22822 * sysdeps/x86_64/configure.in: Merge contents from
22823 sysdeps/i386/configure.in (without i686 check).
22825 * sysdeps/i386/elf/Versions: Merge into ...
22826 * sysdeps/i386/Versions: ... this.
22827 * sysdeps/i386/elf/Versions: Delete file.
22828 * sysdeps/i386/elf/start.S: Moved to ...
22829 * sysdeps/i386/start.S: ...here.
22830 * sysdeps/i386/elf/configure.in: Merge into...
22831 * sysdeps/i386/configure.in: ...here.
22832 * sysdeps/i386/elf/configure.in: Delete file.
22833 * sysdeps/i386/elf/configure: Delete file.
22835 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22836 * debug/backtracesyms.c: ... here.
22837 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22838 * debug/backtracesymsfd.c: ... here.
22839 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22840 * sysdeps/generic/ifunc-sel.h: ... here.
22842 * sysdeps/unix/i386/start.c: Delete file.
22843 * sysdeps/unix/sparc/start.c: Delete file.
22844 * sysdeps/unix/start.c: Delete file.
22846 * sysdeps/sh/elf/configure.in: Moved to ...
22847 * sysdeps/sh/configure.in: ... here.
22848 * sysdeps/sh/elf/start.S: Moved to ...
22849 * sysdeps/sh/start.S: ... here.
22850 * sysdeps/sh/elf/configure: Delete file.
22852 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22853 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22854 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22855 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22856 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22857 * sysdeps/powerpc/powerpc64/start.S: here.
22858 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22859 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22860 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22861 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22862 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22864 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22865 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22866 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22867 * sysdeps/powerpc/powerpc32/start.S: ... here.
22868 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22869 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22870 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22872 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22873 * sysdeps/powerpc/ifunc-sel.h: ... here.
22874 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22875 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22877 * sysdeps/sparc/elf/configure.in: Moved to ...
22878 * sysdeps/sparc/configure.in: ... here.
22879 * sysdeps/sparc/elf/configure: Delete file.
22880 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22881 * sysdeps/sparc/sparc32/start.S: ... here.
22882 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22883 * sysdeps/sparc/sparc64/start.S: ... here.
22884 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22885 * sysdeps/sparc/sparc32/Makefile: ... this.
22886 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22887 * sysdeps/sparc/sparc64/Makefile: ... this.
22889 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22890 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22891 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22892 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22893 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22894 * sysdeps/s390/s390-32/setjmp.S: ... here.
22895 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22896 * sysdeps/s390/s390-32/configure.in: ... here.
22897 * sysdeps/s390/s390-32/elf/configure: Delete file.
22898 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22899 * sysdeps/s390/s390-32/start.S: ... here.
22901 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22902 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22903 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22904 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22905 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22906 * sysdeps/s390/s390-64/setjmp.S: ... here.
22907 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22908 * sysdeps/s390/s390-64/configure.in: ... here
22909 * sysdeps/s390/s390-64/elf/configure: Delete file.
22910 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22911 * sysdeps/s390/s390-64/start.S: ... here.
22912 * sysdeps/s390/s390-64/elf/configure: Delete.
22914 * configure.in: Remove support for elf directories in sysdeps.
22916 * configure: Regenerated.
22917 * sysdeps/i386/configure: Regenerated.
22918 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22919 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22920 * sysdeps/s390/s390-32/configure: Regenerated.
22921 * sysdeps/s390/s390-64/configure: Regenerated.
22922 * sysdeps/sh/configure: Regenerated.
22923 * sysdeps/sparc/configure: Regenerated.
22924 * sysdeps/x86_64/configure: Regenerated.
22926 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22931 denormal result into account.
22933 2012-03-25 Roland McGrath <roland@hack.frob.com>
22935 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22936 Reported by Allan McRae <allan@archlinux.org>.
22938 2012-03-23 Jeff Law <law@redhat.com>
22940 * nss/getnssent.c (__nss_getent): Fix typo.
22942 2012-03-23 David S. Miller <davem@davemloft.net>
22944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22946 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22948 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22949 to pad to uint64_t for each field.
22950 (dl_tls_index): Replace unsigned long with uint64_t.
22952 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22953 Paul Pluzhnikov <ppluzhnikov@google.com>
22956 * grp/Makefile (otherlibs): Don't set it.
22957 * inet/Makefile (otherlibs): Likewise.
22958 * login/Makefile (otherlibs): Likewise.
22959 * nscd/Makefile (otherlibs): Likewise.
22960 * posix/Makefile (otherlibs): Likewise.
22961 * pwd/Makefile (otherlibs): Likewise.
22962 * rt/Makefile (otherlibs): Likewise.
22963 * sunrpc/Makefile (otherlibs): Likewise.
22964 * nss/Makefile (otherlibs): Likewise.
22965 Add libnss_files to routines and static-only-routines.
22966 ($(objpfx)getent): Remove rule.
22967 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22968 static-only-routines.
22970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22973 * math/s_cexp.c: Include <float.h>.
22974 (__cexp): Handle exp result overflowing not necessarily
22975 overflowing both real and imaginary parts of result.
22976 * math/s_cexpf.c: Likewise.
22977 * math/s_cexpl.c: Likewise.
22978 * math/libm-test.inc (cexp_test): Add more tests.
22979 * sysdeps/i386/fpu/libm-test-ulps: Update.
22980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22984 * include/link.h (ELFW): New macro.
22985 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22986 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22988 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22990 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22993 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22995 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22997 (struct La_x32_retval): Likewise.
22999 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23001 * sysdeps/x86_64/preconfigure.in: New file.
23002 * sysdeps/x86_64/preconfigure: New generated file.
23004 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23007 * math/e_exp2l.c: Include <float.h>.
23008 (__ieee754_exp2l): Handle overflow and underflow cases
23009 separately. Only pass fractional part of argument to
23011 * math/libm-test.inc (exp2_test): Add more tests.
23013 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23014 negating x to take absolute value.
23015 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23021 computing low part if x was negated.
23022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23024 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23026 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23027 la_x32_gnu_pltexit.
23028 (pltexit): Cast int_retval to ptrdiff_t.
23029 * elf/tst-auditmod3b.c: Likewise.
23030 * elf/tst-auditmod4b.c: Likewise.
23031 * elf/tst-auditmod5b.c: Likewise.
23032 * elf/tst-auditmod6b.c: Likewise.
23033 * elf/tst-auditmod6c.c: Likewise.
23034 * elf/tst-auditmod7b.c: Likewise.
23036 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23037 and x32_gnu_pltexit.
23039 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23040 __ELF_NATIVE_CLASS.
23041 (La_x32_regs): New macro.
23042 (La_x32_retval): Likewise.
23043 (la_x32_gnu_pltenter): New function prototype.
23044 (la_x32_gnu_pltexit): Likewise.
23046 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23053 * configure.in (libc_cv_cc_nofma): Check for option to disable
23054 generation of FMA instructions.
23055 * configure: Regenerate.
23056 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23057 * sysdeps/ieee754/dbl-64/Makefile: New file.
23058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23059 Remove brandred-fma4.
23060 (CFLAGS-brandred-fma4.c): Remove.
23061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23067 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23070 LLONG_MAX != LONG_MAX.
23071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23072 (_fitoa_word): Likewise.
23073 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23074 LLONG_MAX != LONG_MAX.
23075 * stdio-common/_itowa.h: Include <_itoa.h>.
23076 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23077 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23078 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23079 only if not defined.
23080 (_ITOA_WORD_TYPE): Likewise.
23081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23082 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23084 2012-03-21 David S. Miller <davem@davemloft.net>
23086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23088 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23090 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23091 of x86_64 when setting libc_cv_slibdir, libdir and
23093 * sysdeps/unix/sysv/linux/configure: Regenerated.
23095 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23097 * manual/lang.texi (Old Varargs): Remove section.
23098 (How Variadic): Update menu.
23099 (va_start): Do not mention varargs.h.
23101 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23102 Joseph Myers <joseph@codesourcery.com>
23104 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23106 * configure: Regenerated.
23108 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23110 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23111 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23117 * Makefile (files-for-dist): Remove NOTES.
23118 (NOTES): Remove rule.
23119 * README: Don't refer to NOTES.
23120 * manual/creature.texi: Don't include macros.texi.
23121 * manual/intro.texi (creature.texi): Remove comment referring to
23124 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23125 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23126 * configure: Regenerated.
23127 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23128 LIBC_TRY_CC_OPTION.
23129 (libc_cv_as_i686): Likewise.
23130 (libc_cv_cc_avx): Likewise.
23131 (libc_cv_cc_sse2avx): Likewise.
23132 (libc_cv_cc_fma4): Likewise.
23133 (libc_cv_cc_novzeroupper): Likewise.
23134 * sysdeps/i386/configure: Regenerated.
23137 * sysdeps/i386/fpu/s_cexp.S: Remove.
23138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23139 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23140 * math/libm-test.inc (cexp_test): Add more tests.
23141 * sysdeps/i386/fpu/libm-test-ulps: Update.
23142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23144 2012-03-21 Allan McRae <allan@archlinux.org>
23146 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23151 * math/w_exp2.c: Do not include <float.h>.
23152 (o_threshold, u_threshold): Remove.
23153 (__exp2): Calculate result before checking finiteness and calling
23155 * math/w_exp2f.c: Likewise.
23156 * math/w_exp2l.c: Likewise.
23157 * math/libm-test.inc (exp2_test): Require overflow exception for
23161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23162 range of signed 64-bit integers before using fistpll. Remove
23163 checks for whether integers fit in mantissa bits.
23164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23165 the range of signed 32-bit integers before using fistpl. Remove
23166 checks for whether integers fit in mantissa bits.
23167 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23168 (__ieee754_powl): Test for y outside the range of signed 64-bit
23169 integers before using fistpll. Reduce 64-bit values to 63-bit
23171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23172 divide-by-zero is raised for zero to large negative powers.
23173 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23174 (__ieee754_powl): Test for y outside the range of signed 64-bit
23175 integers before using fistpll. Reduce 64-bit values to 63-bit
23177 * math/libm-test.inc (pow_test): Add more tests.
23179 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23181 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23182 <stdio-common/_itoa.h>.
23183 * debug/segfault.c: Likewise.
23184 * elf/dl-cache.c: Likewise.
23185 * elf/dl-minimal.c: Likewise.
23186 * elf/dl-misc.c: Likewise.
23187 * elf/dl-sysdep.c: Likewise.
23188 * elf/dl-version.c: Likewise.
23189 * elf/rtld.c: Likewise.
23190 * hurd/hurdsock.c: Likewise.
23191 * hurd/lookup-retry.c: Likewise.
23192 * malloc/malloc.c: Likewise.
23193 * malloc/mtrace.c: Likewise.
23194 * nscd/nscd_getgr_r.c: Likewise.
23195 * nscd/nscd_getpw_r.c: Likewise.
23196 * nscd/nscd_getserv_r.c: Likewise.
23197 * posix/getopt_init.c: Likewise.
23198 * posix/wordexp.c: Likewise.
23199 * stdio-common/_itoa.c: Likewise.
23200 * stdio-common/printf_fphex.c: Likewise.
23201 * stdio-common/vfprintf.c: Likewise.
23202 * string/_strerror.c: Likewise.
23203 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23204 * sysdeps/i386/i686/hp-timing.h: Likewise.
23205 * sysdeps/mach/_strerror.c: Likewise.
23206 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23207 * sysdeps/mach/hurd/sethostid.c: Likewise.
23208 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23209 * sysdeps/mach/xpg-strerror.c: Likewise.
23210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23211 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23212 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23213 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23215 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23218 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23219 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23220 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23222 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23223 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23226 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23227 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23230 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23232 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23234 * stdio-common/_itoa.h: Moved to ...
23235 * sysdeps/generic/_itoa.h: Here.
23237 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23239 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23240 instead of "_itoa.h" and "_itowa.h".
23241 * stdio-common/vfprintf.: Likewise.
23243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23247 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23248 (__signbit): Likwise.
23249 (llrintf): Likwise.
23252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23254 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23257 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23259 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23260 OVERFLOW_EXCEPTION_OK.
23261 * math/libm-test.inc ("Philosophy"): Update comment about
23263 (OVERFLOW_EXCEPTION): Define.
23264 (OVERFLOW_EXCEPTION_OK): Likewise.
23265 (INVALID_EXCEPTION_OK): Renumber.
23266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23267 (IGNORE_ZERO_INF_SIGN): Likewise.
23268 (test_exceptions): Handle FE_OVERFLOW.
23269 (exp10_test): Expect overflow exceptions.
23270 (exp2_test): Likewise.
23271 (expm1_test): Likewise.
23272 (nextafter_test): Likewise.
23273 (pow_test): Likewise.
23274 (scalbn_test): Likewise.
23275 (scalbln_test): Likewise.
23277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23279 * sysdeps/x86_64/bits/atomic.h
23280 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23282 (atomic_exchange_acq): Likewise.
23283 (__arch_exchange_and_add_body): Likewise.
23284 (__arch_add_body): Likewise.
23285 (atomic_add_negative): Likewise.
23286 (atomic_add_zero): Likewise.
23288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23290 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23291 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23293 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23295 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23296 Check __x86_64__ instead of __WORDSIZE.
23298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23300 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23302 2012-03-19 David S. Miller <davem@davemloft.net>
23304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23306 * sysdeps/sparc/fpu/fenv_private.h: New file.
23307 * sysdeps/sparc/fpu/math_private.h: Use it.
23308 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23311 (libc_feholdexcept_setroundl): Remove.
23312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23319 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23320 int64_t instead of long int.
23321 (INSERT_WORDS64): Likwise.
23323 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23325 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23326 _Unwind_GetCFA return to _Unwind_Ptr first.
23328 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23331 * math/s_clog.c: Include <float.h>.
23332 (__clog): Scale large or subnormal inputs.
23333 * math/s_clogf.c: Likewise.
23334 * math/s_clogl.c: Likewise.
23335 * math/s_clog10.c: Include <float.h>.
23336 (M_LOG10_2): Define.
23337 (__clog10): Scale large or subnormal inputs.
23338 * math/s_clog10f.c: Likewise.
23339 * math/s_clog10l.c: Likewise.
23340 * math/libm-test.inc (clog_test): Add more tests.
23341 (clog10_test): Likewise.
23342 * sysdeps/i386/fpu/libm-test-ulps: Update.
23343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23348 * math/libm-test.inc (atan2_test): Add another test.
23350 * Makerules (common-objdir-compile): Remove.
23351 * sysdeps/unix/Makefile (config-generated): Do not add
23352 $(unix-generated) to variable.
23353 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23354 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23356 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23358 [generic bits/local_lim.h] (before-compile): Do not append to
23360 [generic bits/local_lim.h] (common-generated): Likewise.
23361 [generic sys/param.h] (before-compile): Do not append to variable.
23362 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23363 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23364 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23367 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23368 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23369 [generic sys/param.h] ($(addprefix
23370 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23371 [generic sys/param.h] (common-generated): Do not append to
23373 [generic sys/param.h] (sysdep_headers): Likewise.
23374 [generic bits/errno.h] (before-compile): Do not append to
23376 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23378 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23379 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23380 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23381 [generic bits/errno.h] (common-generated): Do not append to
23383 [generic bits/ioctls.h] (before-compile): Do not append to
23385 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23387 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23388 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23392 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23393 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23394 [generic bits/ioctls.h] (common-generated): Do not append to
23396 [generic sys/syscall.h] (syscall.h): Remove variable.
23397 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23399 [generic sys/syscall.h] (before-compile): Do not append to
23401 [generic sys/syscall.h] (common-generated): Likewise.
23402 * sysdeps/unix/errnos-tmpl.c: Remove file.
23403 * sysdeps/unix/errnos.awk: Likewise.
23404 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23405 * sysdeps/unix/ioctls.awk: Likewise.
23406 * sysdeps/unix/mk-local_lim.c: Likewise.
23407 * sysdeps/unix/snarf-ioctls: Likewise.
23409 2012-03-19 Richard Henderson <rth@twiddle.net>
23411 * sysdeps/i386/fpu/fenv_private.h: New file.
23412 * sysdeps/i386/fpu/math_private.h: Use it.
23413 (math_opt_barrier, math_force_eval): Remove.
23414 (libc_feholdexcept_setround_53bit): Remove.
23415 (libc_feupdateenv_53bit): Remove.
23416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23417 (math_opt_barrier, math_force_eval): Remove.
23418 (libc_feholdexcept): Remove.
23419 (libc_feholdexcept_setround): Remove.
23420 (libc_fetestexcept, libc_fesetenv): Remove.
23421 (libc_feupdateenv_test): Remove.
23422 (libc_feupdateenv, libc_feholdsetround): Remove.
23423 (libc_feresetround): Remove.
23425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23426 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23428 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23429 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23430 (libc_feupdateenv_testl): New.
23431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23432 (libc_feupdateenv_testf): New.
23433 (libc_feupdateenv): Use libc_feupdateenv_test.
23434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23437 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23438 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23439 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23440 (libc_feresetround_noex): New.
23441 (libc_feresetround_noexf): New.
23442 (libc_feresetround_noexl): New.
23443 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23444 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23445 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23446 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23451 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23452 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23453 SET_RESTORE_ROUND_NOEX.
23454 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23455 SET_RESTORE_ROUND_NOEXF.
23456 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23457 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23458 (libc_feholdsetroundf): New.
23459 (libc_feresetround, libc_feresetroundf): New.
23461 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23462 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23463 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23465 * sysdeps/generic/math_private.h: Include <fenv.h>.
23466 (default_libc_feholdexcept): New.
23467 (default_libc_feholdexcept_setround): New.
23468 (default_libc_fesetenv, default_libc_feupdateenv): New.
23469 (libc_feholdexcept): Only define if undefined.
23470 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23472 (libc_feholdexcept_setroundl): Likewise.
23473 (libc_feholdexcept_setround_53bit): Likewise.
23474 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23477 (libc_feupdateenv_53bit): Likewise.
23478 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23479 (libc_feholdexcept): Convert from macro to inline function.
23480 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23481 (libc_fesetenv, libc_feupdateenv): Likewise.
23483 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23484 not previously defined.
23485 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23486 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23487 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23489 * sysdeps/ieee754/flt-32/math_private.h: New file.
23490 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23491 math_private.h below SET_FLOAT_WORD.
23492 (__isnan, __isinf_ns, __finite): Remove.
23493 (__isnanf, __isinf_nsf, __finitef): Remove.
23495 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23499 2012-03-17 David S. Miller <davem@davemloft.net>
23502 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23505 2012-03-16 David S. Miller <davem@davemloft.net>
23507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23513 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23514 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23515 sysdep_routines when subdir is sysvipc.
23516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23517 __getshmlba helper.
23519 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23521 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23523 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23528 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23530 (__lround): Renamed to ...
23531 (__llround): This. Replace long int with long long int.
23532 Define lround functions as aliases of llround functions.
23533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23538 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23539 adresses to uintptr_t. Replace "long int" and "unsigned long
23540 int" with "greg_t" on va_arg.
23542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23544 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23545 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23547 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23548 Move e_machine check before EI_CLASS check. Handle x32
23549 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23550 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23551 SKIP_EM_IA_64 and include
23552 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23554 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23555 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23556 (add_system_dir): New macro.
23558 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23559 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23561 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23572 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23574 * math/w_j0f.c (j0f): Likewise.
23576 * math/w_j0l.c (__j0l): Likewise.
23578 * math/w_j1.c (j1): Likewise.
23580 * math/w_j1f.c (j1f): Likewise.
23582 * math/w_j1l.c (__j1l): Likewise.
23584 * math/w_jn.c (jn): Likewise.
23586 * math/w_jnf.c (jnf): Likewise.
23588 * math/w_jnl.c (__jnl): Likewise.
23590 * math/libm-test.inc (j0_test): Add more tests.
23591 (j1_test): Likewise.
23592 (jn_test): Likewise. Add trailing semicolon to existing test.
23593 (y0_test): Likewise.
23594 (y1_test): Likewise.
23595 * sysdeps/i386/fpu/libm-test-ulps: Update.
23596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23601 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23602 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23604 (__tanl): Set errno for infinite argument.
23605 * sysdeps/i386/fpu/mptan.c: Remove.
23606 * sysdeps/i386/fpu/s_tan.S: Likewise.
23607 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23608 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23609 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23610 * math/libm-test.inc (tan_test): Add more tests and enable more
23611 tests for double and long double.
23612 * sysdeps/i386/fpu/libm-test-ulps: Update.
23613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23615 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23617 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23618 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23620 2012-03-16 Roland McGrath <roland@hack.frob.com>
23622 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23623 * configure.in: Use it for both main tree and add-ons.
23624 * configure: Regenerated.
23626 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23628 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23630 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23636 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23637 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23642 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23644 != 0 for prec == 2.
23645 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23646 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23647 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23648 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23649 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23650 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23651 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23652 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23653 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23654 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23655 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23656 * math/libm-test.inc (cos_test): Add more tests and enable more
23657 tests for long double.
23658 (sin_test): Likewise.
23659 (sincos_test): Likewise.
23660 * sysdeps/i386/fpu/libm-test-ulps: Update.
23661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23663 2012-03-16 David S. Miller <davem@davemloft.net>
23665 * sysdeps/sparc/fpu/math_private.h: New file.
23667 2012-03-15 David S. Miller <davem@davemloft.net>
23669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23683 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23684 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23686 * sysdeps/sparc/sparc-ifunc.h: New file.
23687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23732 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23734 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23738 2012-03-15 Andreas Jaeger <aj@suse.de>
23741 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23742 ieee754/flt-32 implementation for sin, cos and sincos.
23743 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23744 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23745 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23746 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23747 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23748 ieee754/flt-32 implementation for tan.
23750 * math/libm-test.inc (cos_test): Enable some large input tests for
23752 (sin_test): Likewise.
23753 (sincos_test): Likewise.
23754 (tan_test): Add tests for large input.
23756 * sysdeps/i386/fpu/libm-test-ulps: Update.
23758 2012-03-15 Andreas Jaeger <aj@suse.de>
23761 * math/libm-test.inc (cos_test): Add more test cases.
23762 (sin_test): Likewise.
23763 (sincos_test): Likewise.
23765 2012-03-15 Andreas Jaeger <aj@suse.de>
23768 * math/libm-test.inc (cos_test): Add a test case for large input
23770 (sin_test): Likewise.
23771 (sincos_test): Likewise.
23773 2012-03-15 Andreas Jaeger <aj@suse.de>,
23774 Joseph Myers <joseph@codesourcery.com>
23777 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23778 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23779 * sysdeps/i386/fpu/branred.c: Likewise.
23780 * sysdeps/i386/fpu/dosincos.c: Likewise.
23781 * sysdeps/i386/fpu/mpa.c: Likewise.
23782 * sysdeps/i386/fpu/s_cos.S: Likewise.
23783 * sysdeps/i386/fpu/s_sin.S: Likewise.
23784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23785 * sysdeps/i386/fpu/sincos32.c: Likewise.
23787 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23789 (libc_feupdateenv_53bit): Define.
23790 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23792 (libc_feupdateenv_53bit): Define.
23794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23795 53 bit (without extend i386 double precision).
23797 * math/libm-test.inc (sincos_test): Add tests for large input.
23801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23803 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23807 2012-03-15 David S. Miller <davem@davemloft.net>
23809 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23810 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23811 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23812 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23837 fmin/fmax sysdep routines.
23838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23840 2012-03-14 David S. Miller <davem@davemloft.net>
23842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23919 * sysdeps/sparc/configure.in: New file.
23920 * sysdeps/sparc/configure: Generate.
23921 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23922 * configure: Regenerate.
23923 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23924 * config.make.in (have-as-vis3): New.
23925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23926 available use -Av9d instead of -Av9a.
23927 * sysdeps/sparc/sparc64/Makefile: Likewise.
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23943 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23944 fzeros/fnegs to load 0x80000000 into a float register instead of
23946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23948 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23952 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23953 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23954 ($(inst_includedir)/bits/syscall.h): Remove rule.
23955 ($(objpfx)bits/syscall.d): Include instead of
23956 $(objpfx)syscall-list.d.
23957 (generated): Change syscall-list.h and syscall-list.d to
23958 bits/syscall.h and bits/syscall.d.
23960 2012-03-14 Roland McGrath <roland@hack.frob.com>
23963 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23965 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23968 * math/s_csqrt.c: Include <float.h>.
23969 (__csqrt): Scale large or subnormal inputs.
23970 * math/s_csqrtf.c: Likewise.
23971 * math/s_csqrtl.c: Likewise.
23972 * math/libm-test.inc (csqrt_test): Add more tests.
23973 * sysdeps/i386/fpu/libm-test-ulps: Update.
23974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23977 * math/libm-test.inc (hypot_test): Add more tests.
23979 2012-03-13 David S. Miller <davem@davemloft.net>
23982 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23983 double-precision for the calculation instead of scaling.
23985 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23988 manipulate bits before adding and subtracting TWO52[sx].
23989 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23994 2012-03-13 David S. Miller <davem@davemloft.net>
23996 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23997 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23999 rtld-global-offsets.h
24000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24002 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24005 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24008 'err' in the ifdef scope in which it is actually used.
24010 * nss/nss_db/db-init.c: Include string.h
24012 2012-03-12 David S. Miller <davem@davemloft.net>
24014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24015 masking out of the most significant byte of random value used.
24016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24017 Fix coding style in previous change.
24019 * sysdeps/unix/sysv/linux/kernel-features.h
24020 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24021 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24023 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24026 2012-03-11 David S. Miller <davem@davemloft.net>
24028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24029 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24031 for 'resultvar' otherwise things get truncated on 64-bit.
24033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24034 Fix masking out of the most significant byte of random value used.
24036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24038 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24042 2012-03-09 David S. Miller <davem@davemloft.net>
24044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24045 variables with appropriate CPP guards.
24046 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24047 frame pointer, not the stack pointer. Correct layout comments. Fix test
24048 on resulting framesize and the management of the outregs buffer for pltexit.
24049 Preserve floating point return values across _dl_call_pltexit call.
24050 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24051 framesize and the management of the outregs buffer for pltexit.
24052 Preserve floating point return values across _dl_call_pltexit
24054 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24055 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24056 (print_exit): Fix format string for return register value.
24058 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24060 * sunrpc/Makefile (others): Add rpcgen.
24061 ($(objpfx)rpcgen): Remove special build rule and dependency on
24063 * sunrpc/rpcgen.c: New file.
24065 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24068 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24069 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24070 * sysdeps/i386/crti.S: Likewise.
24071 * sysdeps/i386/crtn.S: Likewise.
24072 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24073 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24075 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24076 * sysdeps/sh/crti.S: Likewise.
24077 * sysdeps/sh/crtn.S: Likewise.
24078 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24081 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24083 * locale/programs/locfile-kw.gperf: Likewise.
24084 * locale/programs/charmap-kw.h: Regenerated.
24085 * locale/programs/locfile-kw.h: Likewise.
24088 * intl/plural.y: Replace FSF snail mail address with URL.
24089 * intl/plural.c: Regenerated.
24091 2012-03-09 Richard Henderson <rth@twiddle.net>
24093 * include/math_private.h: Remove file.
24094 * math/math_private.h: Move file ...
24095 * sysdeps/generic/math_private.h: ... here.
24097 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24098 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24101 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24102 and <math_private.h>.
24103 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24104 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24105 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24106 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24107 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24161 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24162 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24167 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24171 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24190 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24191 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24194 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24197 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24207 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24208 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24209 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24210 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24211 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24213 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24214 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24217 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24220 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24221 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24226 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24227 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24230 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24232 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24233 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24235 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24241 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24242 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24245 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24246 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24247 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24251 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24252 * sysdeps/ieee754/k_standard.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24365 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24366 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24368 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24372 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24373 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24375 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24376 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24392 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24393 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24410 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24413 * sysdeps/ieee754/s_lib_version.c: Likewise.
24414 * sysdeps/ieee754/s_matherr.c: Likewise.
24415 * sysdeps/ieee754/s_signgam.c: Likewise.
24416 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24417 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24418 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24419 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24420 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24422 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24423 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24424 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24425 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24426 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24427 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24430 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24433 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24438 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24440 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24441 * sunrpc/rpc_main.c: Likewise.
24442 * sunrpc/rpc_svcout.c: Likewise.
24444 2012-03-09 David S. Miller <davem@davemloft.net>
24446 * include/math_private.h: New file.
24448 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24450 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24451 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24452 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24453 from <bits/socket_type.h>.
24454 (enum __socket_type): Don't define here.
24455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24457 bits/socket_type.h.
24460 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24461 checking __USE_GNU.
24463 * Makerules ($(inst_includedir)/%.h): New rule.
24464 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24465 (install-others): Remove variable setting.
24466 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24468 2012-03-08 Richard Henderson <rth@twiddle.net>
24470 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24471 from macro to inline function; merge with the
24472 !__LIBC_INTERNAL_MATH_INLINES version.
24473 (__ieee754_sqrtf): Likewise.
24475 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24476 to inline function.
24477 (__rintf, __floor, __floorf): Likewise.
24479 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24480 macro to inline function.
24481 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24484 not <math/math_private.h>.
24486 2012-03-08 David S. Miller <davem@davemloft.net>
24488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24490 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24492 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24494 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24496 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24497 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24499 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24501 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24502 be defined individually, they must be defined as a block. Define
24503 S for printing a string instead of hidint the different by using a
24504 macro for adding the 'l'.
24505 * stdio-common/tst-fphex-wide.c: Adjust.
24507 2012-03-07 Marek Polacek <polacek@redhat.com>
24509 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24511 2012-03-08 Marek Polacek <polacek@redhat.com>
24514 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24515 * stdio-common/tst-fphex.c: Define a few macros to make the
24516 test reusable. Use them.
24517 * stdio-common/tst-fphex-wide.c: New file.
24519 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24522 * manual/macros.texi (gnusystems): New macro.
24523 (nongnusystems): Likewise.
24524 (gnulinuxhurdsystems): Likewise.
24525 (gnuhurdsystems): Likewise..
24526 (gnulinuxsystems): Likewise.
24527 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24528 variants of the GNU system, not "GNU system".
24529 * manual/conf.texi: Likewise.
24530 * manual/errno.texi: Likewise. Update example of errno macro
24532 * manual/filesys.texi: Likewise.
24533 (getumask): Document as specific to GNU/Hurd.
24534 * manual/install.texi: Likewise. Reword some references to
24536 * manual/intro.texi: Likewise.
24537 * manual/io.texi: Likewise.
24538 (File Name Portability): Detail which constraints are inapplicable
24539 to all GNU systems and which are only inapplicable to GNU/Hurd.
24540 * manual/job.texi: Likewise.
24541 * manual/llio.texi: Likewise.
24542 (O_NOCTTY): Document as present on GNU/Linux.
24543 * manual/maint.texi: Likewise.
24544 * manual/memory.texi: Likewise.
24545 * manual/pattern.texi: Likewise.
24546 * manual/pipe.texi: Likewise.
24547 * manual/process.texi: Likewise.
24548 * manual/resource.texi: Likewise.
24549 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24551 * manual/setjmp.texi: Likewise.
24552 * manual/signal.texi: Likewise.
24553 * manual/startup.texi: Likewise.
24554 * manual/stdio.texi: Likewise.
24555 * manual/terminal.texi: Likewise.
24556 (ONLCR): Document as POSIX.
24557 (OXTABS): Document availability on GNU/Linux as XTABS.
24558 (ONOEOT): Document availability separately from other bits.
24559 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24560 * manual/time.texi: Likewise.
24561 * manual/users.texi: Likewise.
24562 * INSTALL: Regenerated.
24563 * sysdeps/gnu/errlist.c: Regenerated.
24565 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24566 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24567 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24569 * configure: Regenerated.
24571 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24573 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24574 default includes instead of AC_HEADER_CHECK.
24575 * sysdeps/i386/configure: Regenerated.
24578 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24579 * math/s_cacoshf.c (__cacoshf): Likewise.
24580 * math/s_cacoshl.c (__cacoshl): Likewise.
24581 * math/s_casinh.c (__casinh): Set signs of result from argument.
24582 * math/s_casinhf.c (__casinhf): Likewise.
24583 * math/s_casinhl.c (__casinhl): Likewise.
24584 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24585 (casinh_test): Add more tests.
24586 * sysdeps/i386/fpu/libm-test-ulps: Update.
24587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24589 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24591 * po/zh_TW.po: Update from translation team.
24593 * login/Makefile (distribute): Remove variable.
24594 * catgets/Makefile: Likewise.
24595 * mach/Makefile: Likewise.
24596 * malloc/Makefile: Likewise.
24597 * misc/Makefile: Likewise.
24598 * iconv/Makefile: Likewise.
24599 * nscd/Makefile: Likewise.
24600 * hurd/Makefile: Likewise.
24601 * manual/Makefile: Likewise.
24602 * locale/Makefile: Likewise.
24603 * intl/Makefile: Likewise.
24604 * conform/Makefile: Likewise.
24605 * nss/Makefile: Likewise.
24606 * time/Makefile: Likewise.
24607 * soft-fp/Makefile: Likewise.
24608 * dirent/Makefile: Likewise.
24609 * gmon/Makefile: Likewise.
24610 * po/Makefile: Likewise.
24611 * rt/Makefile: Likewise.
24612 * socket/Makefile: Likewise.
24613 * math/Makefile: Likewise.
24614 * signal/Makefile: Likewise.
24615 * debug/Makefile: Likewise.
24616 * elf/Makefile: Likewise.
24617 * timezone/Makefile: Likewise.
24618 * stdlib/Makefile: Likewise.
24619 * iconvdata/Makefile: Likewise.
24620 * sunrpc/Makefile: Likewise.
24621 * io/Makefile: Likewise.
24622 * argp/Makefile: Likewise.
24623 * inet/Makefile: Likewise.
24624 * hesiod/Makefile: Likewise.
24625 * grp/Makefile: Likewise.
24626 * csu/Makefile: Likewise.
24627 * wctype/Makefile: Likewise.
24628 * crypt/Makefile: Likewise.
24629 * libio/Makefile: Likewise.
24630 * string/Makefile: Likewise.
24631 * nis/Makefile: Likewise.
24632 * resolv/Makefile: Likewise.
24633 * stdio-common/Makefile: Likewise.
24634 * wcsmbs/Makefile: Likewise.
24635 * dlfcn/Makefile: Likewise.
24636 * posix/Makefile: Likewise.
24639 * timezone/Makefile: Don't install timezone files, just the programs
24642 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24644 * nss/databases.def: Add missing gshadow entry.
24646 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24648 2012-03-06 Marek Polacek <polacek@redhat.com>
24651 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24652 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24653 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24654 * stdio-common/tst-long-dbl-fphex.c: New file.
24656 2012-03-06 David S. Miller <davem@davemloft.net>
24658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24659 (set_obp_int): New function.
24660 (get_obp_int): New function.
24661 (__get_clockfreq_via_dev_openprom): Likewise.
24662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24663 Avoid unused variable warnings on 'val' and use builtin_expect.
24664 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24666 (INLINE_CLONE_SYSCALL): Likewise.
24668 2012-03-05 David S. Miller <davem@davemloft.net>
24670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24672 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24677 only for |x| >= 40.
24678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24680 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24683 Replace gettimeofday with __vdso_gettimeofday.
24685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24686 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24687 __vdso_clock_gettime and __vdso_getcpu.
24689 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24690 time with __vdso_time.
24692 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24694 * manual/lang.texi (size_t): Note types to which size_t may be
24695 equivalent with the GNU C Library, but do not describe when
24696 differences between them are significant.
24698 2012-03-05 Andreas Jaeger <aj@suse.de>
24700 * sysdeps/i386/fpu/libm-test-ulps: Update.
24702 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24705 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24706 (__ieee754_pow): Save and restore rounding mode and use
24707 round-to-nearest for main computations.
24708 * math/libm-test.inc (pow_test_tonearest): New function.
24709 (pow_test_towardzero): Likewise.
24710 (pow_test_downward): Likewise.
24711 (pow_test_upward): Likewise.
24712 (main): Call the new functions.
24713 * sysdeps/i386/fpu/libm-test-ulps: Update.
24714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24717 * math/libm-test.inc (cosh_test_tonearest): New function.
24718 (cosh_test_towardzero): Likewise.
24719 (cosh_test_downward): Likewise.
24720 (cosh_test_upward): Likewise.
24721 (sinh_test_tonearest): Likewise.
24722 (sinh_test_towardzero): Likewise.
24723 (sinh_test_downward): Likewise.
24724 (sinh_test_upward): Likewise.
24725 (main): Call the new functions.
24726 * sysdeps/i386/fpu/libm-test-ulps: Update.
24727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24729 2012-03-05 Tom de Vries <tom@codesourcery.com>
24731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24732 default stack guard is set in last bytes.
24733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24735 2012-03-05 Kees Cook <keescook@chromium.org>
24737 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24740 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24741 possibly allocate from heap instead of stack.
24742 * stdio-common/bug-vfprintf-nargs.c: New file.
24743 * stdio-common/Makefile (tests): Add nargs overflow test.
24745 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24749 2012-03-03 Marek Polacek <polacek@redhat.com>
24751 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24752 * math/math_private.h: Likewise.
24753 * stdlib/tst-strtod.c: Likewise.
24754 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24755 * sysdeps/x86_64/bits/atomic.h: Likewise.
24757 2012-03-02 David S. Miller <davem@davemloft.net>
24759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24763 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24764 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24765 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24766 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24768 2012-03-02 Roland McGrath <roland@hack.frob.com>
24771 * manual/examples/README: New file, says the example source files
24772 can be used under GPL>=2.
24773 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24774 line containing just "*/".
24775 * manual/examples/add.c: Add copyright header (GPL>=2).
24776 * manual/examples/argp-ex1.c: Likewise.
24777 * manual/examples/argp-ex2.c: Likewise.
24778 * manual/examples/argp-ex3.c: Likewise.
24779 * manual/examples/argp-ex4.c: Likewise.
24780 * manual/examples/atexit.c: Likewise.
24781 * manual/examples/db.c: Likewise.
24782 * manual/examples/dir.c: Likewise.
24783 * manual/examples/dir2.c: Likewise.
24784 * manual/examples/execinfo.c: Likewise.
24785 * manual/examples/filecli.c: Likewise.
24786 * manual/examples/filesrv.c: Likewise.
24787 * manual/examples/fmtmsgexpl.c: Likewise.
24788 * manual/examples/genpass.c: Likewise.
24789 * manual/examples/inetcli.c: Likewise.
24790 * manual/examples/inetsrv.c: Likewise.
24791 * manual/examples/isockad.c: Likewise.
24792 * manual/examples/longopt.c: Likewise.
24793 * manual/examples/memopen.c: Likewise.
24794 * manual/examples/memstrm.c: Likewise.
24795 * manual/examples/mkfsock.c: Likewise.
24796 * manual/examples/mkisock.c: Likewise.
24797 * manual/examples/mygetpass.c: Likewise.
24798 * manual/examples/pipe.c: Likewise.
24799 * manual/examples/popen.c: Likewise.
24800 * manual/examples/rprintf.c: Likewise.
24801 * manual/examples/search.c: Likewise.
24802 * manual/examples/select.c: Likewise.
24803 * manual/examples/setjmp.c: Likewise.
24804 * manual/examples/sigh1.c: Likewise.
24805 * manual/examples/sigusr.c: Likewise.
24806 * manual/examples/stpcpy.c: Likewise.
24807 * manual/examples/strdupa.c: Likewise.
24808 * manual/examples/strftim.c: Likewise.
24809 * manual/examples/strncat.c: Likewise.
24810 * manual/examples/subopt.c: Likewise.
24811 * manual/examples/swapcontext.c: Likewise.
24812 * manual/examples/termios.c: Likewise.
24813 * manual/examples/testopt.c: Likewise.
24814 * manual/examples/testpass.c: Likewise.
24815 * manual/examples/timeval_subtract.c: Likewise.
24818 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24820 * manual/timeval_subtract.c.texi: ... here, new file.
24822 2012-03-02 David S. Miller <davem@davemloft.net>
24824 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24826 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24829 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24830 (__sin): Save and restore rounding mode and use round-to-nearest
24831 for all computations.
24832 (__cos): Save and restore rounding mode and use round-to-nearest
24833 for all computations.
24834 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24836 (tan): Save and restore rounding mode and use round-to-nearest for
24838 * math/libm-test.inc (cos_test_tonearest): New function.
24839 (cos_test_towardzero): Likewise.
24840 (cos_test_downward): Likewise.
24841 (cos_test_upward): Likewise.
24842 (sin_test_tonearest): Likewise.
24843 (sin_test_towardzero): Likewise.
24844 (sin_test_downward): Likewise.
24845 (sin_test_upward): Likewise.
24846 (tan_test_tonearest): Likewise.
24847 (tan_test_towardzero): Likewise.
24848 (tan_test_downward): Likewise.
24849 (tan_test_upward): Likewise.
24850 (main): Call the new functions.
24851 * sysdeps/i386/fpu/libm-test-ulps: Update.
24852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24855 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24856 small n, then large n, before computing and testing k+n.
24857 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24862 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24863 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24869 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24870 * math/libm-test.inc (scalbn_test): Add more tests.
24871 (scalbln_test): Likewise.
24873 * manual/filesys.texi (mode_t): Describe constraints on size and
24874 signedness, not exact equivalence to a particular type.
24876 (ino64_t): Likewise.
24878 (nlink_t): Likewise.
24879 (blkcnt_t): Likewise.
24880 (blkcnt64_t): Likewise.
24881 * manual/llio.texi (off_t): Likewise.
24884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24885 (__ieee754_exp): Save and restore rounding mode and use
24886 round-to-nearest for all computations.
24887 * math/libm-test.inc (exp_test_tonearest): New function.
24888 (exp_test_towardzero): Likewise.
24889 (exp_test_downward): Likewise.
24890 (exp_test_upward): Likewise.
24891 (main): Call the new functions.
24892 * sysdeps/i386/fpu/libm-test-ulps: Update.
24893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24895 2012-03-01 Chris Demetriou <cgd@google.com>
24897 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24898 have predictable order.
24900 2012-03-01 David S. Miller <davem@davemloft.net>
24902 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24904 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24905 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24906 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24907 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24909 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24910 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24911 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24913 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24914 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24915 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24916 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24917 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24922 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24925 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24926 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24927 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24928 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24929 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24930 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24932 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24934 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24935 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24938 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24941 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24942 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24943 * sysdeps/sparc/elf/configure: Regenerated.
24945 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24947 * configure.in (AS, LD): Require binutils 2.20 or later.
24948 * configure: Regenerated.
24949 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24950 as required minimum version.
24951 * INSTALL: Regenerated.
24955 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24956 before squaring exponent.
24957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24958 bottom long double and 27 bits of top long double before squaring
24960 * math/libm-test.inc (erfc_test): Add more tests.
24961 * sysdeps/i386/fpu/libm-test-ulps: Update.
24962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24965 2012-03-01 Kai Tietz <ktietz@redhat.com>
24967 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24968 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24969 containing bit-fields.
24970 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24971 * soft-fp/single.h (_FP_UNION_S): Likewise.
24972 * soft-fp/double.h (_FP_UNION_D): Likewise.
24974 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24977 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24978 not include ../strcmp.S.
24979 [USE_AS_STRNCASECMP_L]: Likewise.
24980 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24981 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24982 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24983 (__strncasecmp_l_ia32): Define as alias to
24984 __strncasecmp_l_nonascii.
24987 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24988 * sysdeps/i386/fpu/libm-test-ulps: Update.
24989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24991 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24994 2012-02-29 Jeff Law <law@redhat.com>
24996 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24997 out of bounds read.
24999 2012-02-29 Marek Polacek <polacek@redhat.com>
25002 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25003 * elf/Makefile: Add rules to run tst-unused-dep.out.
25005 2012-02-28 David S. Miller <davem@davemloft.net>
25007 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25008 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25011 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25012 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25014 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25016 * math/libm-test.inc (llround_test): Move one test from
25017 lround_test. Use TEST_f_L in moved test.
25018 (lround_test): Move misplaced test to llround_test. Add testcase
25021 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25023 * sysdeps/x86_64/fpu/e_expf.S: New file.
25024 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25026 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25029 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25030 of remain_len that may cause incomplete multi-byte character and
25032 * posix/bug-regex33.c: New file.
25033 * posix/Makefile (tests): Add bug-regex33.
25035 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25037 * manual/macros.texi: New file.
25038 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25039 * manual/libc.texinfo: Include macros.texi.
25040 * manual/creatute.texi: Likewise.
25041 * manual/install.texi: Likewise.
25042 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25043 @glibcadj{} in references to the GNU C Library.
25044 * manual/charset.texi: Likewise.
25045 * manual/conf.texi: Likewise.
25046 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25047 when not using those macros.
25048 * manual/creature.texi: Likewise.
25049 * manual/crypt.texi: Likewise.
25050 * manual/errno.texi: Likewise.
25051 * manual/filesys.texi: Likewise.
25052 * manual/header.texi: Likewise.
25053 * manual/install.texi: Likewise.
25054 * manual/intro.texi: Likewise.
25055 * manual/io.texi: Likewise.
25056 * manual/job.texi: Likewise.
25057 * manual/lang.texi: Likewise.
25058 * manual/libc.texiinfo: Likewise.
25059 * manual/llio.texi: Likewise.
25060 * manual/locale.texi: Likewise.
25061 * manual/maint.texi: Likewise.
25062 * manual/math.texi: Likewise.
25063 * manual/memory.texi: Likewise.
25064 * manual/message.texi: Likewise.
25065 * manual/nss.texi: Likewise.
25066 * manual/pattern.texi: Likewise.
25067 * manual/process.texi: Likewise.
25068 * manual/resource.texi: Likewise.
25069 * manual/search.texi: Likewise.
25070 * manual/setjmp.texi: Likewise.
25071 * manual/signal.texi: Likewise.
25072 * manual/socket.texi: Likewise.
25073 * manual/startup.texi: Likewise.
25074 * manual/stdio.texi: Likewise.
25075 * manual/string.texi: Likewise.
25076 * manual/sysinfo.texi: Likewise.
25077 * manual/syslog.texi: Likewise.
25078 * manual/terminal.texi: Likewise.
25079 * manual/time.texi: Likewise.
25080 * manual/users.texi: Likewise.
25081 * INSTALL: Regenerated.
25082 * NOTES: Regenerated.
25083 * sysdeps/gnu/errlist.c: Regenerated.
25085 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25087 * include/dirent.h: Include <dirstream.h> before
25090 2012-02-28 David S. Miller <davem@davemloft.net>
25092 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25093 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25094 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25095 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25097 2012-02-27 David S. Miller <davem@davemloft.net>
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25101 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25102 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25105 frame pointer instead of stack pointer relative arg slot.
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25110 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25113 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25115 2012-02-27 David S. Miller <davem@davemloft.net>
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25123 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25126 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25128 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25129 later. Allow versions 5-9.
25130 * configure: Regenerated.
25131 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25132 required minimum version and 4.6 as recommended version. Do not
25133 mention bugs in GCC 2.7 and 2.8.
25134 * INSTALL: Regenerated.
25136 2012-02-27 David S. Miller <davem@davemloft.net>
25138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25144 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25148 manipulate bits before adding and subtracting TWO112[sx].
25149 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25151 2012-02-27 Roland McGrath <roland@hack.frob.com>
25154 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25155 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25156 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25157 being in POSIX, because they are in 1003.1-2008.
25159 * rt/tst-aio.c: Include <fcntl.h>.
25160 * rt/tst-aio7.c: Likewise.
25161 * rt/tst-aio64.c: Likewise.
25163 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25165 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25167 * manual/install.texi (--with-headers): Describe headers as
25168 interface headers, not private headers.
25169 (Specific advice for GNU/Linux systems): Describe use of headers
25170 from "make headers_install", not private headers from older
25172 * INSTALL: Regenerated.
25173 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25175 * sysdeps/unix/sysv/linux/configure: Regenerated.
25177 * manual/llio.texi (fclean): Remove documentation.
25179 * manual/Makefile (libc-texi-generated): New variable. Include
25181 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25182 $(libc-texi-generated), not duplicated list of files.
25183 (version.texi, stamp-version): New rules.
25184 (realclean): Remove $(libc-texi-generated), not individual files
25185 from that list. Do not remove dir-add.texinfo.
25186 * manual/libc.texinfo: Comment out uses of edition numbers and
25187 references to printed manual. Remove last-updated dates.
25188 (EDITION): Comment out.
25190 (VERSION, UPDATED): Remove.
25191 (version.texi): Include.
25193 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25195 * sysdeps/posix/spawni.c: Include <signal.h>.
25196 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25197 * sysdeps/pthread/aio_fsync.c: Likewise.
25199 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25201 * conform/Makefile (tests): Run only when not cross-compiling and
25202 when fast-check is not defined.
25204 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25205 * conform/data/limits.h-data: Fixes for POSIX2008.
25206 * conform/run-conformtest.sh: Run all tests.
25207 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25209 * include/bits/dlfcn.h: Likewise.
25210 * include/langinfo.h: Likewise.
25211 * include/monetary.h: Likewise.
25212 * include/sys/poll.h: Likewise.
25214 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25216 * posix/spawn.h: Define __need_sigset_t.
25217 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25218 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25219 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25220 to get sigevent_t only.
25221 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25222 only for __USE_GNU.
25223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25225 process_vm_writev only for __USE_GNU.
25226 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25228 * conform/Makefile: For now ignore errors from run-conformtest.
25229 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25230 POSIX to avoid namespace pollution. Don't prepend headers.
25231 * conform/data/aio.h-data: Fixes for POSIX testing.
25232 * conform/data/fcntl.h-data: Likewise.
25233 * conform/data/glob.h-data: Likewise.
25234 * conform/data/grp.h-data: Likewise.
25235 * conform/data/pthread.h-data: Likewise.
25236 * conform/data/pwd.h-data: Likewise.
25237 * conform/data/signal.h-data: Likewise.
25238 * conform/data/spawn.h-data: Likewise.
25239 * conform/data/stdio.h-data: Likewise.
25240 * conform/data/stdlib.h-data: Likewise.
25241 * conform/data/stropts.h-data: Likewise.
25242 * conform/data/sys/mman.h-data: Likewise.
25243 * conform/data/sys/stat.h-data: Likewise.
25244 * conform/data/sys/types.h-data: Likewise.
25245 * conform/data/sys/wait.h-data: Likewise.
25246 * conform/data/time.h-data: Likewise.
25247 * conform/data/unistd.h-data: Likewise.
25248 * conform/data/utime.h-data: Likewise.
25250 * io/sys/stat.h: fchmod was always in POSIX.
25251 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25252 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25253 * rt/aio.h: Define __need_timespec before including <time.h>.
25254 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25255 struct. Add forward declaration of pthread_attr_t and use it in
25257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25259 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25260 always remove CLK_TCK definition.
25262 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25264 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25266 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25268 * conform/run-conformtest.sh: New file.
25269 * conform/Makefile: Run run-conformtest for tests.
25270 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25273 * conform/data/uchar.h-data: New file.
25274 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25275 * conform/data/arpa/inet.h-data: Likewise.
25276 * conform/data/assert.h-data: Likewise.
25277 * conform/data/complex.h-data: Likewise.
25278 * conform/data/cpio.h-data: Likewise.
25279 * conform/data/ctype.h-data: Likewise.
25280 * conform/data/dirent.h-data: Likewise.
25281 * conform/data/dlfcn.h-data: Likewise.
25282 * conform/data/errno.h-data: Likewise.
25283 * conform/data/fcntl.h-data: Likewise.
25284 * conform/data/float.h-data: Likewise.
25285 * conform/data/fmtmsg.h-data: Likewise.
25286 * conform/data/fnmatch.h-data: Likewise.
25287 * conform/data/ftw.h-data: Likewise.
25288 * conform/data/glob.h-data: Likewise.
25289 * conform/data/grp.h-data: Likewise.
25290 * conform/data/iconv.h-data: Likewise.
25291 * conform/data/inttypes.h-data: Likewise.
25292 * conform/data/langinfo.h-data: Likewise.
25293 * conform/data/libgen.h-data: Likewise.
25294 * conform/data/limits.h-data: Likewise.
25295 * conform/data/locale.h-data: Likewise.
25296 * conform/data/math.h-data: Likewise.
25297 * conform/data/monetary.h-data: Likewise.
25298 * conform/data/mqueue.h-data: Likewise.
25299 * conform/data/ndbm.h-data: Likewise.
25300 * conform/data/net/if.h-data: Likewise.
25301 * conform/data/netdb.h-data: Likewise.
25302 * conform/data/netinet/in.h-data: Likewise.
25303 * conform/data/nl_types.h-data: Likewise.
25304 * conform/data/poll.h-data: Likewise.
25305 * conform/data/pthread.h-data: Likewise.
25306 * conform/data/pwd.h-data: Likewise.
25307 * conform/data/regex.h-data: Likewise.
25308 * conform/data/sched.h-data: Likewise.
25309 * conform/data/search.h-data: Likewise.
25310 * conform/data/semaphore.h-data: Likewise.
25311 * conform/data/setjmp.h-data: Likewise.
25312 * conform/data/signal.h-data: Likewise.
25313 * conform/data/spawn.h-data: Likewise.
25314 * conform/data/stdarg.h-data: Likewise.
25315 * conform/data/stdio.h-data: Likewise.
25316 * conform/data/stdlib.h-data: Likewise.
25317 * conform/data/string.h-data: Likewise.
25318 * conform/data/strings.h-data: Likewise.
25319 * conform/data/stropts.h-data: Likewise.
25320 * conform/data/sys/ipc.h-data: Likewise.
25321 * conform/data/sys/mman.h-data: Likewise.
25322 * conform/data/sys/msg.h-data: Likewise.
25323 * conform/data/sys/resource.h-data: Likewise.
25324 * conform/data/sys/select.h-data: Likewise.
25325 * conform/data/sys/sem.h-data: Likewise.
25326 * conform/data/sys/shm.h-data: Likewise.
25327 * conform/data/sys/socket.h-data: Likewise.
25328 * conform/data/sys/stat.h-data: Likewise.
25329 * conform/data/sys/statvfs.h-data: Likewise.
25330 * conform/data/sys/time.h-data: Likewise.
25331 * conform/data/sys/timeb.h-data: Likewise.
25332 * conform/data/sys/times.h-data: Likewise.
25333 * conform/data/sys/types.h-data: Likewise.
25334 * conform/data/sys/uio.h-data: Likewise.
25335 * conform/data/sys/un.h-data: Likewise.
25336 * conform/data/sys/utsname.h-data: Likewise.
25337 * conform/data/sys/wait.h-data: Likewise.
25338 * conform/data/syslog.h-data: Likewise.
25339 * conform/data/tar.h-data: Likewise.
25340 * conform/data/termios.h-data: Likewise.
25341 * conform/data/utime.h-data: Likewise.
25342 * conform/data/utmpx.h-data: Likewise.
25343 * conform/data/varargs.h-data: Likewise.
25344 * conform/data/wchar.h-data: Likewise.
25345 * conform/data/wctype.h-data: Likewise.
25346 * conform/data/wordexp.h-data: Likewise.
25348 * include/stropts.h: New file.
25349 * include/uchar.h: New file.
25350 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25351 * include/assert.h: Likewise.
25352 * include/ctype.h: Likewise.
25353 * include/dirent.h: Likewise.
25354 * include/dlfcn.h: Likewise.
25355 * include/fcntl.h: Likewise.
25356 * include/fnmatch.h: Likewise.
25357 * include/glob.h: Likewise.
25358 * include/grp.h: Likewise.
25359 * include/libio.h: Likewise.
25360 * include/locale.h: Likewise.
25361 * include/math.h: Likewise.
25362 * include/net/if.h: Likewise.
25363 * include/netdb.h: Likewise.
25364 * include/netinet/in.h: Likewise.
25365 * include/pthread.h: Likewise.
25366 * include/pwd.h: Likewise.
25367 * include/regex.h: Likewise.
25368 * include/sched.h: Likewise.
25369 * include/search.h: Likewise.
25370 * include/setjmp.h: Likewise.
25371 * include/signal.h: Likewise.
25372 * include/stdio.h: Likewise.
25373 * include/stdlib.h: Likewise.
25374 * include/string.h: Likewise.
25375 * include/sys/cdefs.h: Likewise.
25376 * include/sys/mman.h: Likewise.
25377 * include/sys/msg.h: Likewise.
25378 * include/sys/resource.h: Likewise.
25379 * include/sys/select.h: Likewise.
25380 * include/sys/socket.h: Likewise.
25381 * include/sys/stat.h: Likewise.
25382 * include/sys/statvfs.h: Likewise.
25383 * include/sys/time.h: Likewise.
25384 * include/sys/times.h: Likewise.
25385 * include/sys/uio.h: Likewise.
25386 * include/sys/utsname.h: Likewise.
25387 * include/sys/wait.h: Likewise.
25388 * include/termios.h: Likewise.
25389 * include/time.h: Likewise.
25390 * include/ulimit.h: Likewise.
25391 * include/unistd.h: Likewise.
25392 * include/utime.h: Likewise.
25393 * include/wchar.h: Likewise.
25394 * include/wctype.h: Likewise.
25395 * include/wordexp.h: Likewise.
25397 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25399 * time/time.h: TIME_UTC must be a macro.
25400 Make timespec_get available for ISO C11 only as well.
25402 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25404 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25405 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25409 * configure.in: Use -o not -a in test for unsupported multi-arch.
25411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25413 * manual/texinfo.tex: Update to version 2012-01-19.16.
25415 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25417 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25419 2012-02-24 Roland McGrath <roland@hack.frob.com>
25422 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25423 * manual/fdl-1.3.texi: New file.
25424 * manual/fdl-1.1.texi: File removed.
25427 * manual/libc.texinfo (FDL_VERSION): New @set.
25428 Use it for mention of FDL in cover text.
25429 (Documentation License): Use it in @include file name.
25431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25432 Roland McGrath <roland@hack.frob.com>
25435 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25436 not LONG_LONG_MAX and LONG_LONG_MIN.
25437 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25438 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25440 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25446 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25447 manipulate bits before adding and subtracting TWO23[sx].
25448 * math/libm-test.inc (nearbyint_test): Add more tests.
25450 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25453 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25454 bits before adding and subtracting TWO23[sx].
25455 * math/libm-test.inc (rint_test): Add more tests.
25456 (rint_test_tonearest): Likewise.
25457 (rint_test_towardzero): Likewise.
25458 (rint_test_downward): Likewise.
25459 (rint_test_upward: Likewise.
25461 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25464 * include/stdc-predef.h: New file. Extracted from features.h.
25465 * include/features.h: Include stdc-predef.h.
25466 * Makefile (headers): Add stdc-predef.h.
25467 * CONFORMANCE (Compiler limitations): Update.
25469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25471 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25473 2012-02-21 David S. Miller <davem@davemloft.net>
25475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25478 2012-02-20 David S. Miller <davem@davemloft.net>
25480 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25481 using a normal save/restore sequence, rather than allocating a
25482 dummy stack frame just to store a frame pointer and restore.
25483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25485 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25487 * manual/install.texi: Fix stray word in line-wrapped comment.
25489 2012-02-20 David S. Miller <davem@davemloft.net>
25491 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25492 both binutils and gcc support GOTDATA.
25494 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25495 "rd %pc" in the PIC register setup sequences.
25497 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25498 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25499 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25500 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25501 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25506 (SYSCALL_ERROR_HANDLER): Likewise.
25507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25510 (SYSCALL_ERROR_HANDLER): Likewise.
25512 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25513 (HAVE_GCC_GOTDATA): New.
25514 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25515 relocation support in both binutils and gcc.
25516 * sysdeps/sparc/elf/configure: Regenerate.
25518 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25519 * sysdeps/sparc/sparc32/elf/configure: Delete.
25520 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25521 * sysdeps/sparc/sparc64/elf/configure: Delete.
25522 * sysdeps/sparc/elf/configure.in: New file.
25523 * sysdeps/sparc/elf/configure: Generate.
25525 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25526 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25527 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25528 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25529 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25531 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25533 * manual/install.texi: Do not mention specific glibc version
25535 * manual/libc.texinfo (VERSION, UPDATED): Update.
25536 (@copying): Use @copyright{} and range of years.
25538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25541 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25542 [crti.S not in sysdirs] (generated): Do not append.
25543 [crti.S not in sysdirs] (omit-deps): Likewise.
25544 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25545 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25546 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25547 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25548 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25550 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25551 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25552 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25553 * csu/defs.awk: Remove file.
25554 * sysdeps/generic/initfini.c: Likewise.
25555 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25557 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25562 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25563 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25567 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25569 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25570 (__EPOLL_PACKED): Define to empty if not defined by
25572 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25576 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25578 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25579 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25580 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25583 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25587 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25589 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25592 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25601 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25603 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25604 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25606 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25608 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25611 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25613 * math/w_acos.c: Use non-signaling floating-point comparisons.
25614 * math/w_acosf.c: Likewise.
25615 * math/w_acosh.c: Likewise.
25616 * math/w_acoshf.c: Likewise.
25617 * math/w_acoshl.c: Likewise.
25618 * math/w_acosl.c: Likewise.
25619 * math/w_asin.c: Likewise.
25620 * math/w_asinf.c: Likewise.
25621 * math/w_asinl.c: Likewise.
25622 * math/w_atanh.c: Likewise.
25623 * math/w_atanhf.c: Likewise.
25624 * math/w_atanhl.c: Likewise.
25625 * math/w_exp2.c: Likewise.
25626 * math/w_exp2f.c: Likewise.
25627 * math/w_exp2l.c: Likewise.
25628 * math/w_j0.c: Likewise.
25629 * math/w_j0f.c: Likewise.
25630 * math/w_j0l.c: Likewise.
25631 * math/w_j1.c: Likewise.
25632 * math/w_j1f.c: Likewise.
25633 * math/w_j1l.c: Likewise.
25634 * math/w_jn.c: Likewise.
25635 * math/w_jnf.c: Likewise.
25636 * math/w_log.c: Likewise.
25637 * math/w_log10.c: Likewise.
25638 * math/w_log10f.c: Likewise.
25639 * math/w_log10l.c: Likewise.
25640 * math/w_log2.c: Likewise.
25641 * math/w_log2f.c: Likewise.
25642 * math/w_log2l.c: Likewise.
25643 * math/w_logf.c: Likewise.
25644 * math/w_logl.c: Likewise.
25645 * math/w_sqrt.c: Likewise.
25646 * math/w_sqrtf.c: Likewise.
25647 * math/w_sqrtl.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25654 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25657 * manual/string.texi (strnlen): Use correct parameter name in
25658 equivalent expression.
25660 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25663 * manual/users.texi (seteuid): Consistently use neweuid for
25666 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25669 * manual/nss.texi (Services in the NSS configuration): Correct
25670 list of services in example configuration file.
25672 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25675 * manual/arith.texi: Remove statements about negative zero
25676 behaving identically to zero.
25678 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25681 * manual/install.texi: Do not document upgrading from libc5.
25683 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25686 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25688 2012-02-18 David S. Miller <davem@davemloft.net>
25690 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25691 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25692 %o7 across the call.
25693 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25696 SETUP_PIC_REG_LEAF.
25697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25698 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25699 * sysdeps/sparc/crtn.S: Likewise.
25701 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25703 * aout/Makefile: Remove.
25705 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25708 * manual/examples/argp-ex1.c (main): Format definition in GNU
25710 * manual/examples/argp-ex2.c (main): Likewise.
25711 * manual/examples/argp-ex3.c (main): Likewise.
25712 * manual/examples/argp-ex4.c (main): Likewise.
25713 * manual/examples/longopt.c (main): Use new-style prototype
25715 * manual/examples/strncat.c (main): Specify return type and use
25716 (void) for arguments.
25717 * manual/examples/subopt.c (main): Use char **argv argument.
25719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25722 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25725 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25728 * manual/string.texi (strchr): Change when strchrnul is
25731 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25734 * manual/locale.texi (setlocale): Document LOCPATH.
25736 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25739 * manual/process.texi (execle): Move @dots{} before last argument.
25741 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25744 * manual/charset.texi (Generic Charset Conversion): Fix typo
25745 (LC_TYPE -> LC_CTYPE).
25747 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25750 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25751 (scalbnf): Likewise.
25752 (scalbnl): Likewise.
25753 (scalbln): Likewise.
25754 (scalblnf): Likewise.
25755 (scalblnl): Likewise.
25756 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25757 (vwarnx): Likewise.
25760 * manual/filesys.texi (telldir): Use braces around return type.
25761 * manual/llio.texi (mmap): Add space after comma.
25762 (mmap64): Likewise.
25763 * manual/math.texi (jn): Use @var{} on parameter names.
25769 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25771 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25773 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25774 (sched_get_priority_max): Likewise.
25775 * manual/signal.texi (sigvec): Add space after comma.
25776 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25778 (if_indextoname): Likewise.
25779 (if_freenameindex): Likewise.
25780 (sendto): Use ',' instead of '.' in prototype.
25781 * manual/startup.texi (syscall): Use @dots{} instead of literal
25783 * manual/stdio.texi (__fpending): Separate initial words of
25784 paragraph from @deftypefun line.
25785 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25787 (vsyslog): Use @var{} on parameter names.
25788 * manual/terminal.texi (stty): Use @var{} on parameter names.
25789 * manual/users.texi (getutmp): Use @var{} on parameter names.
25790 (getutmpx): Likewise.
25792 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25795 * manual/stdio.texi (fopen): Fix typos in description of
25798 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25801 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25802 get clock_id definition.
25804 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25807 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25808 (madvise): Cast every argument to void on its own.
25810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25813 * manual/startup.texi (Exit Status): Fix typo.
25815 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25818 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25819 * manual/examples/argp-ex2.c: Likewise.
25820 * manual/examples/argp-ex3.c: Likewise.
25822 2012-02-16 Richard Henderson <rth@redhat.com>
25824 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25825 * sysdeps/s390/s390-32/initfini.c: Remove.
25826 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25827 * sysdeps/s390/s390-64/initfini.c: Remove.
25829 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25831 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25832 compiler output for sysdeps/generic/initfini.c.
25833 * sysdeps/sh/elf/initfini.c: Remove file.
25835 2012-02-16 David S. Miller <davem@davemloft.net>
25838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25840 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25841 * sysdeps/sparc/crti.S: New file.
25842 * sysdeps/sparc/crtn.S: New file.
25843 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25844 * sysdeps/sparc/sparc64/Makefile: Likewise.
25846 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25849 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25851 2012-02-15 Roland McGrath <roland@hack.frob.com>
25854 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25856 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25857 (write, read, close): Likewise.
25858 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25860 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25862 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25863 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25864 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25865 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25867 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25871 2012-02-14 Marek Polacek <polacek@redhat.com>
25873 * sysdeps/x86_64/crti.S: New file.
25874 * sysdeps/x86_64/crtn.S: New file.
25875 * sysdeps/x86_64/elf/initfini.c: Remove file.
25877 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25879 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25880 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25881 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25882 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25884 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25888 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25890 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25891 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25892 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25893 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25895 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25899 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25901 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25902 __feraiseexcept instead of feraiseexcept.
25904 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25905 nanosleep invocations.
25906 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25907 strings, and add error checking for a nanosleep invocations.
25909 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25911 Replace FSF snail mail address with URLs, as per GNU coding standards.
25912 Most of the snail mail addresses were wrong anyway, and omitting
25913 them makes the source code easier to maintain. Almost all of the
25914 changes are to license notices and to locale LC_IDENTIFICATION
25915 addresses, except for this one:
25916 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25917 not its snail mail address.
25919 2012-02-09 Richard Henderson <rth@twiddle.net>
25921 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25922 of kernel-features.h.
25924 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25926 2012-02-08 Marek Polacek <polacek@redhat.com>
25928 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25929 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25930 * sysdeps/gnu/_G_config.h: Likewise.
25931 * sysdeps/generic/_G_config.h: Likewise.
25933 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25935 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25939 * sysdeps/powerpc/powerpc32/crti.S: New file.
25940 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25941 * sysdeps/powerpc/powerpc64/crti.S: New file.
25942 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25944 * Makeconfig (have-initfini): Don't set.
25945 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25946 * configure.in (nopic_initfini): Don't substitute.
25947 * config.h.in (HAVE_INITFINI): Don't #undef.
25948 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25949 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25951 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25953 Support crti.S and crtn.S provided directly by architectures.
25954 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25955 [crti.S in sysdirs] (omit-deps): Likewise.
25956 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25957 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25958 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25959 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25960 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25961 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25962 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25963 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25964 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25965 compiler output for sysdeps/generic/initfini.c.
25966 * sysdeps/i386/elf/Makefile: Remove file.
25967 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25969 2012-02-07 Marek Polacek <polacek@redhat.com>
25971 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25972 * sysdeps/gnu/_G_config.h: Likewise.
25973 * sysdeps/mach/hurd/_G_config.h: Likewise.
25975 2012-02-07 Marek Polacek <polacek@redhat.com>
25977 * math/Makefile (tests): Add tst-CMPLX2.
25978 * math/tst-CMPLX2.c: New file.
25980 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25982 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25984 * math/libm-test.inc (jn_test): Add missing L suffix.
25986 2012-02-06 Marek Polacek <polacek@redhat.com>
25988 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25989 * sysdeps/i386/fpu/e_powf.S: Likewise.
25990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25992 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25993 * sysdeps/i386/fpu/e_pow.S: Likewise.
25994 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25995 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25996 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25997 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25998 * sysdeps/i386/fpu/e_log2.S: Likewise.
25999 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26000 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26001 * sysdeps/i386/fpu/e_powl.S: Likewise.
26002 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26004 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26005 * sysdeps/i386/fpu/e_logl.S: Likewise.
26006 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26007 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26008 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26009 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26012 * sysdeps/i386/fpu/e_log.S: Likewise.
26013 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26015 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26016 * sysdeps/i386/fpu/e_logf.S: Likewise.
26017 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26018 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26019 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26020 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26022 * sysdeps/i386/fpu/e_log10.S: Likewise.
26023 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26025 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26026 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26028 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26029 * sysdeps/i386/asm-syntax.h: Likewise.
26030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26032 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26033 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26034 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26035 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26036 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26037 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26039 * sysdeps/powerpc/sysdep.h: Likewise.
26040 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26043 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26046 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26048 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26050 * sysdeps/i386/sysdep.h: Include <features.h>.
26051 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26054 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26058 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26063 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26064 (SETUP_PIC_REG): Use GET_PC_THUNK.
26065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26068 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26070 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26071 for non-PIC compilation.
26072 (SETUP_PIC_REG): Add .p2align directive.
26073 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26077 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26078 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26081 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26082 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26083 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26085 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26086 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26087 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26089 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26090 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26105 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26108 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26112 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26113 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26115 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26117 * math/tst-CMPLX.c: Include <stdio.h>.
26119 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26121 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26124 * sysdeps/sparc/bits/mathdef.h: Likewise.
26126 2012-01-31 Marek Polacek <polacek@redhat.com>
26128 * libio/libio.h: Don't define _PARAMS.
26129 * locale/programs/config.h: Don't define PARAMS.
26130 * stdlib/strtol_l.c: Likewise.
26131 (__strtol_l): Remove PARAMS from the prototype.
26133 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26135 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26136 names. Just use the correct names. Remove unnecessary wrapper
26138 * malloc/arena.c: Likewise.
26139 * malloc/hooks.c: Likewise.
26141 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26142 ARENA_TEST says not to. Simplify test for creation of a new arena.
26143 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26145 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26147 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26149 (update_get_addr): New function.
26150 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26151 GET_ADDR_MODULE parameter.
26153 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26155 * crypt/cert.c: Remove __STDC__ conditionals.
26156 * crypt/crypt-entry.c: Likewise.
26157 * crypt/crypt_util.c: Likewise.
26158 * libio/filedoalloc.c: Likewise.
26159 * libio/fileops.c: Likewise.
26160 * libio/genops.c: Likewise.
26161 * libio/iofclose.c: Likewise.
26162 * libio/iofdopen.c: Likewise.
26163 * libio/iofopen.c: Likewise.
26164 * libio/iofopen64.c: Likewise.
26165 * libio/iogetdelim.c: Likewise.
26166 * libio/iopopen.c: Likewise.
26167 * libio/obprintf.c: Likewise.
26168 * libio/oldfileops.c: Likewise.
26169 * libio/oldiofclose.c: Likewise.
26170 * libio/oldiofdopen.c: Likewise.
26171 * libio/oldiofopen.c: Likewise.
26172 * libio/oldiopopen.c: Likewise.
26173 * libio/wfiledoalloc.c: Likewise.
26174 * libio/wgenops.c: Likewise.
26175 * locale/programs/xmalloc.c: Likewise.
26176 * misc/syslog.c: Likewise.
26177 * stdio-common/xbug.c: Likewise.
26178 * string/memchr.c: Likewise.
26179 * string/memcmp.c: Likewise.
26180 * string/memrchr.c: Likewise.
26181 * string/rawmemchr.c: Likewise.
26182 * sysdeps/posix/getcwd.c: Likewise.
26183 * time/strftime_l.c: Likewise.
26185 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26187 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26188 * config.make.in (config-cflags-sse2avx): Define.
26189 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26192 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26194 * scripts/config.guess: Update from upstream config git repository.
26195 * scripts/config.sub: Likewise.
26197 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26199 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26201 (R_TILEPRO_*, R_TILEGX_*): New macros.
26203 * scripts/firstversions.awk: Fix bug in version range handling.
26205 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26207 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26209 * include/sys/epoll.h: New file.
26210 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26213 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26215 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26216 Avoid unnecessary __WORDSIZE == 64 test.
26217 (fmaxf): Use VEX format if possible.
26222 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26223 * math/math_private.h: Remove libc_fegetround* and
26225 * sysdeps/i386/configure.in: Check for -msse2avx.
26226 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26227 also if SSE2AVX is defined.
26228 Remove libc_fegetround* and libc_fesetround*.
26229 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26230 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26239 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26241 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26243 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26247 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26250 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26252 * Makeconfig (libm): Define.
26253 * elf/Makefile: Add rules to build and run tst-relsort1.
26254 * elf/tst-relsort1.c: New file.
26255 * elf/tst-relsort1mod1.c: New file.
26256 * elf/tst-relsort1mod2.c: New file.
26258 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26260 * math/s_ldexp.c: Remove __STDC__ conditionals.
26261 * math/s_ldexpf.c: Likewise.
26262 * math/s_ldexpl.c: Likewise.
26263 * math/s_nextafter.c: Likewise.
26264 * math/s_nexttowardf.c: Likewise.
26265 * math/s_significand.c: Likewise.
26266 * math/s_significandf.c: Likewise.
26267 * math/s_significandl.c: Likewise.
26268 * math/w_jnl.c: Likewise.
26269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26275 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26278 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26279 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26281 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26282 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26285 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26297 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26298 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26299 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26300 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26306 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26307 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26309 * sysdeps/ieee754/k_standard.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26389 * sysdeps/ieee754/s_matherr.c: Likewise.
26390 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26391 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26395 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26397 * crypt/md5.h: Remove __STDC__ conditionals.
26398 * libio/libioP.h: Likewise.
26399 * locale/programs/config.h: Likewise.
26400 * sysdeps/generic/sysdep.h: Likewise.
26401 * sysdeps/i386/asm-syntax.h: Likewise.
26402 * sysdeps/s390/asm-syntax.h: Likewise.
26403 * sysdeps/unix/sysdep.h: Likewise.
26404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26407 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26409 * libio/libio.h: Remove __STDC__ conditionals.
26410 * malloc/obstack.h: Likewise.
26411 * math/complex.h: Likewise.
26412 * math/math.h: Likewise.
26413 * sysdeps/generic/_G_config.h: Likewise.
26414 * sysdeps/gnu/_G_config.h: Likewise.
26415 * sysdeps/mach/hurd/_G_config.h: Likewise.
26416 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26417 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26418 * sysdeps/sparc/bits/mathdef.h: Likewise.
26420 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26423 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26424 Clean up HAS_* macros.
26425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26426 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26436 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26438 * elf/tst-unique3.cc (gets): Remove declaration.
26439 * elf/tst-unique3lib.cc (gets): Likewise.
26440 * elf/tst-unique3lib2.cc (gets): Likewise.
26441 * elf/tst-unique4.cc (gets): Likewise.
26443 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26445 * include/stdio.h: Add C++ protection. Add gets declarations and
26447 * debug/tst-chk1.c: Don't declare gets here.
26448 * stdio-common/tst-gets.c: Likewise.
26450 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26452 * posix/glob: Remove directory.
26454 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26456 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26458 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26460 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26461 of the non-standard EPFNOSUPPORT.
26463 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26465 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26466 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26467 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26469 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26471 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26473 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26475 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26477 * nscd/grpcache.c (cache_addgr): Likewise.
26478 * nscd/hstcache.c (cache_addhst): Likewise.
26479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26480 * nscd/pwdcache.c (cache_addpw): Likewise.
26481 * nscd/servicescache.c (cache_addserv): Likewise.
26483 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26485 * malloc/malloc.c: Various cleanups.
26486 * malloc/hooks.c: Likewise.
26488 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26489 * stdlib/bug-fmtmsg1.c: New file.
26491 * stdlib/fmtmsg.c (init): Add missing unlock.
26492 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26494 2012-01-12 Marek Polacek <polacek@redhat.com>
26496 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26499 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26501 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26503 macro to ensure uniqueness of label name.
26504 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26505 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26507 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26512 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26516 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26520 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26521 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26524 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26531 * math/bits/math-finite.h: Add ldexp support.
26533 2012-01-10 Marek Polacek <polacek@redhat.com>
26535 * locale/programs/localedef.h (show_archive_content): Add noreturn
26538 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26540 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26542 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26544 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26546 * io/Makefile (headers): Add bits/poll2.h.
26548 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26551 typo #include statement.
26553 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26555 * include/sys/cdefs.h: Define __attribute_alloc_size.
26556 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26557 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26558 * elf/pldd.c: Likewise.
26559 * iconv/iconv_charmap.c: Likewise.
26560 * iconv/iconvconfig.c: Likewise.
26561 * iconv/strtab.c: Likewise.
26562 * locale/programs/locale.c: Likewise.
26563 * locale/programs/localedef.h: Likewise.
26564 * locale/programs/simple-hash.c: Likewise.
26565 * nscd/nscd.h: Likewise.
26566 * nss/makedb.c: Likewise.
26567 * sysdeps/generic/ldconfig.h: Likewise.
26568 * locale/programs/localedef.c: Remove xmalloc prototype.
26569 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26571 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26576 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26578 * math/Makefile (tests): Add tst-CMPLX.
26579 * math/tst-CMPLX.c: New file.
26581 * math/complex.h (CMPLXL): Fix typo.
26583 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26584 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26586 * debug/tst-chk1.c: Add poll and ppoll tests.
26587 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26588 * include/sys/poll.h: Add hidden proto for ppoll.
26589 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26590 * sysdeps/mach/hurd/ppoll.c: Likewise.
26591 * io/ppoll.c: Likewise.
26592 * debug/poll_chk.c: New file.
26593 * debug/ppoll_chk.c: New file.
26594 * include/bits/poll2.h: New file.
26595 * io/bits/poll2.h: New file.
26598 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26600 * configure.in: static is always set to yes. Remove.
26601 * config.make.in: Don't set build-static.
26602 * Makeconfig: Remove use of build-static.
26603 * dlfcn/Makefile: Likewise.
26604 * elf/Makefile: Likewise.
26605 * math/Makefile: Likewise.
26606 * misc/Makefile: Likewise.
26607 * nptl/Makefile: Likewise.
26608 * sysdeps/mach/hurd/Makefile: Likewise.
26610 * configure.in: PWD_P is not used anymore.
26611 * config.make.in: Remove PWD_P entry.
26613 * configure.in: Remove last remnants of RANLIB.
26614 No need to check for signed size_t anymore.
26615 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26617 Remove __builtin_expect test because we require at least gcc 3.4.
26618 * aclocal.m4: Likewise.
26620 * wcsmbs/mbrtoc16.c: Implement using towc function.
26621 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26622 * wcsmbs/wcsmbsload.c: Likewise.
26623 * iconv/gconv_simple.c: Likewise.
26624 * iconv/gconv_int.h: Likewise.
26625 * iconv/gconv_builtin.h: Likewise.
26626 * iconv/iconv_prog.c: Remove CHAR16 handling.
26628 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26630 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26632 * configure.in: Remove --with-elf and --enable-bounded options.
26633 Dont set base_machine for ia64. More non-ELF conditions removed.
26634 Remove testing and setting of leading underscore information.
26635 * config.make.in (build-bounded): Set to no.
26636 * config.h.in: Remove NO_UNDERSCORES entry.
26637 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26639 * csu/start.c: Remove !NO_UNDERSCORE code.
26640 * locale/localeinfo.h: Likewise.
26641 * sysdeps/generic/machine-gmon.h: Likewise.
26642 * sysdeps/generic/sysdep.h: Likewise.
26643 * sysdeps/i386/sysdep.h: Likewise.
26644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26645 * sysdeps/mach/sysdep.h: Likewise.
26646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26648 * sysdeps/sh/sysdep.h: Likewise.
26649 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26650 * sysdeps/unix/i386/sysdep.S: Likewise.
26651 * sysdeps/unix/sparc/start.c: Likewise.
26652 * sysdeps/unix/sparc/sysdep.S: Likewise.
26653 * sysdeps/unix/sparc/sysdep.h: Likewise.
26654 * sysdeps/unix/start.c: Likewise.
26655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26656 * sysdeps/x86_64/sysdep.h: Likewise.
26658 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26661 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26663 * argp/argp-fmtstream.h: Use const instead __const.
26664 * argp/argp.h: Likewise.
26665 * assert/assert.h: Likewise.
26666 * bits/fenv.h: Likewise.
26667 * bits/sched.h: Likewise.
26668 * bits/sigset.h: Likewise.
26669 * bits/sigthread.h: Likewise.
26670 * catgets/nl_types.h: Likewise.
26671 * conform/data/pthread.h-data: Likewise.
26672 * crypt/crypt-private.h: Likewise.
26673 * crypt/crypt.h: Likewise.
26674 * crypt/crypt_util.c: Likewise.
26675 * ctype/ctype.h: Likewise.
26676 * debug/execinfo.h: Likewise.
26677 * debug/mbsnrtowcs_chk.c: Likewise.
26678 * debug/mbsrtowcs_chk.c: Likewise.
26679 * debug/wcsnrtombs_chk.c: Likewise.
26680 * debug/wcsrtombs_chk.c: Likewise.
26681 * debug/wcstombs_chk.c: Likewise.
26682 * dirent/dirent.h: Likewise.
26683 * dlfcn/dlfcn.h: Likewise.
26684 * elf/neededtest4.c: Likewise.
26685 * grp/grp.h: Likewise.
26686 * gshadow/gshadow.h: Likewise.
26687 * iconv/gconv.h: Likewise.
26688 * iconv/gconv_int.h: Likewise.
26689 * iconv/gconv_simple.c: Likewise.
26690 * iconv/iconv.h: Likewise.
26691 * iconv/loop.c: Likewise.
26692 * iconv/skeleton.c: Likewise.
26693 * include/aio.h: Likewise.
26694 * include/aliases.h: Likewise.
26695 * include/argz.h: Likewise.
26696 * include/arpa/inet.h: Likewise.
26697 * include/assert.h: Likewise.
26698 * include/dirent.h: Likewise.
26699 * include/dlfcn.h: Likewise.
26700 * include/execinfo.h: Likewise.
26701 * include/fcntl.h: Likewise.
26702 * include/fenv.h: Likewise.
26703 * include/glob.h: Likewise.
26704 * include/grp.h: Likewise.
26705 * include/libintl.h: Likewise.
26706 * include/mntent.h: Likewise.
26707 * include/netdb.h: Likewise.
26708 * include/pwd.h: Likewise.
26709 * include/rpc/netdb.h: Likewise.
26710 * include/sched.h: Likewise.
26711 * include/search.h: Likewise.
26712 * include/shadow.h: Likewise.
26713 * include/signal.h: Likewise.
26714 * include/stdio.h: Likewise.
26715 * include/stdlib.h: Likewise.
26716 * include/string.h: Likewise.
26717 * include/sys/socket.h: Likewise.
26718 * include/sys/stat.h: Likewise.
26719 * include/sys/statfs.h: Likewise.
26720 * include/sys/statvfs.h: Likewise.
26721 * include/sys/syslog.h: Likewise.
26722 * include/sys/time.h: Likewise.
26723 * include/sys/uio.h: Likewise.
26724 * include/time.h: Likewise.
26725 * include/unistd.h: Likewise.
26726 * include/utmp.h: Likewise.
26727 * include/wchar.h: Likewise.
26728 * include/wctype.h: Likewise.
26729 * inet/aliases.h: Likewise.
26730 * inet/arpa/inet.h: Likewise.
26731 * inet/netinet/ether.h: Likewise.
26732 * inet/netinet/in.h: Likewise.
26733 * intl/libintl.h: Likewise.
26734 * io/bits/fcntl2.h: Likewise.
26735 * io/fcntl.h: Likewise.
26736 * io/ftw.h: Likewise.
26737 * io/sys/poll.h: Likewise.
26738 * io/sys/stat.h: Likewise.
26739 * io/sys/statfs.h: Likewise.
26740 * io/sys/statvfs.h: Likewise.
26741 * io/utime.h: Likewise.
26742 * libio/bits/stdio.h: Likewise.
26743 * libio/bits/stdio2.h: Likewise.
26744 * libio/libio.h: Likewise.
26745 * libio/libioP.h: Likewise.
26746 * libio/stdio.h: Likewise.
26747 * locale/lc-ctype.c: Likewise.
26748 * locale/locale.h: Likewise.
26749 * login/utmp.h: Likewise.
26750 * malloc/arena.c: Likewise.
26751 * malloc/malloc.c: Likewise.
26752 * malloc/malloc.h: Likewise.
26753 * malloc/mcheck.c: Likewise.
26754 * malloc/mtrace.c: Likewise.
26755 * math/bits/mathcalls.h: Likewise.
26756 * math/fenv.h: Likewise.
26757 * math/math_private.h: Likewise.
26758 * misc/bits/error.h: Likewise.
26759 * misc/bits/syslog.h: Likewise.
26760 * misc/err.h: Likewise.
26761 * misc/error.h: Likewise.
26762 * misc/fstab.h: Likewise.
26763 * misc/mntent.h: Likewise.
26764 * misc/regexp.h: Likewise.
26765 * misc/search.h: Likewise.
26766 * misc/sgtty.h: Likewise.
26767 * misc/sys/mman.h: Likewise.
26768 * misc/sys/syslog.h: Likewise.
26769 * misc/sys/uio.h: Likewise.
26770 * misc/sys/xattr.h: Likewise.
26771 * misc/ttyent.h: Likewise.
26772 * nis/rpcsvc/ypclnt.h: Likewise.
26773 * nss/nss.h: Likewise.
26774 * posix/bits/unistd.h: Likewise.
26775 * posix/fnmatch.h: Likewise.
26776 * posix/glob.h: Likewise.
26777 * posix/sched.h: Likewise.
26778 * posix/spawn.h: Likewise.
26779 * posix/sys/wait.h: Likewise.
26780 * posix/unistd.h: Likewise.
26781 * posix/wordexp.h: Likewise.
26782 * pwd/pwd.h: Likewise.
26783 * resolv/netdb.h: Likewise.
26784 * resource/sys/resource.h: Likewise.
26785 * rt/aio.h: Likewise.
26786 * rt/bits/mqueue2.h: Likewise.
26787 * rt/mqueue.h: Likewise.
26788 * shadow/shadow.h: Likewise.
26789 * signal/signal.h: Likewise.
26790 * socket/send.c: Likewise.
26791 * socket/sendto.c: Likewise.
26792 * socket/sys/socket.h: Likewise.
26793 * stdio-common/printf.h: Likewise.
26794 * stdlib/bits/stdlib.h: Likewise.
26795 * stdlib/fmtmsg.h: Likewise.
26796 * stdlib/monetary.h: Likewise.
26797 * stdlib/stdlib.h: Likewise.
26798 * stdlib/ucontext.h: Likewise.
26799 * streams/stropts.h: Likewise.
26800 * string/argz.h: Likewise.
26801 * string/bits/string2.h: Likewise.
26802 * string/string.h: Likewise.
26803 * string/strings.h: Likewise.
26804 * sunrpc/rpc/auth.h: Likewise.
26805 * sunrpc/rpc/auth_des.h: Likewise.
26806 * sunrpc/rpc/clnt.h: Likewise.
26807 * sunrpc/rpc/netdb.h: Likewise.
26808 * sunrpc/rpc/pmap_clnt.h: Likewise.
26809 * sunrpc/rpc/xdr.h: Likewise.
26810 * sysdeps/generic/inttypes.h: Likewise.
26811 * sysdeps/generic/net/if.h: Likewise.
26812 * sysdeps/generic/sys/swap.h: Likewise.
26813 * sysdeps/gnu/net/if.h: Likewise.
26814 * sysdeps/gnu/utmpx.h: Likewise.
26815 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26816 * sysdeps/i386/i486/bits/string.h: Likewise.
26817 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26818 * sysdeps/s390/bits/string.h: Likewise.
26819 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26820 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26821 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26822 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26823 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26824 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26825 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26826 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26827 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26828 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26830 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26831 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26832 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26833 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26834 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26835 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26840 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26841 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26842 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26843 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26844 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26846 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26847 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26848 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26849 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26850 * sysvipc/sys/ipc.h: Likewise.
26851 * sysvipc/sys/msg.h: Likewise.
26852 * sysvipc/sys/sem.h: Likewise.
26853 * sysvipc/sys/shm.h: Likewise.
26854 * termios/termios.h: Likewise.
26855 * time/sys/time.h: Likewise.
26856 * time/time.h: Likewise.
26857 * wcsmbs/bits/wchar2.h: Likewise.
26858 * wcsmbs/uchar.h: Likewise.
26859 * wcsmbs/wchar.h: Likewise.
26860 * wctype/wctype.h: Likewise.
26863 * Makeconfig: Remove all but ELF support including AIX support.
26864 * Makerules: Likewise.
26865 * config.h.in: Likewise.
26866 * config.make.in: Likewise.
26867 * configure: Likewise.
26868 * configure.in: Likewise.
26869 * csu/Makefile: Likewise.
26870 * csu/version.c: Likewise.
26871 * debug/Makefile: Likewise.
26872 * dlfcn/Makefile: Likewise.
26873 * elf/Makefile: Likewise.
26874 * extra-lib.mk: Likewise.
26875 * iconv/Makefile: Likewise.
26876 * include/libc-symbols.h: Likewise.
26877 * include/shlib-compat.h: Likewise.
26878 * resolv/Makefile: Likewise.
26879 * resolv/res_libc.c: Likewise.
26880 * rt/Makefile: Likewise.
26881 * sysdeps/i386/asm-syntax.h: Likewise.
26882 * sysdeps/i386/sysdep.h: Likewise.
26883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26884 * sysdeps/mach/sysdep.h: Likewise.
26885 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26886 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26887 * sysdeps/s390/asm-syntax.h: Likewise.
26888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26890 * sysdeps/sh/sysdep.h: Likewise.
26891 * sysdeps/unix/sparc/sysdep.h: Likewise.
26892 * sysdeps/wordsize-32/divdi3.c: Likewise.
26893 * sysdeps/x86_64/sysdep.h: Likewise.
26895 * argp/Versions: Remove _argp_unlock_xxx.
26898 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26899 * abilist/libBrokenLocale.abilist: Likewise.
26900 * abilist/libanl.abilist: Likewise.
26901 * abilist/libc.abilist: Likewise.
26902 * abilist/libcrypt.abilist: Likewise.
26903 * abilist/libdl.abilist: Likewise.
26904 * abilist/libm.abilist: Likewise.
26905 * abilist/libnsl.abilist: Likewise.
26906 * abilist/libpthread.abilist: Likewise.
26907 * abilist/libresolv.abilist: Likewise.
26908 * abilist/librt.abilist: Likewise.
26909 * abilist/libthread_db.abilist: Likewise.
26910 * abilist/libutil.abilist: Likewise.
26911 * abilist/libnss_db.abilist: New file.
26913 * scripts/abilist.awk: Add support for indirect functions.
26915 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26917 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26919 * shlib-versions: Remove entries for ports architectures.
26921 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26923 * elf/stackguard-macros.h: Remove support for IA-64.
26924 * elf/tst-auditmod1.c: Likewise.
26925 * sysdeps/generic/ldsodefs.h: Likewise.
26927 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26928 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26932 * configure.in: Remove --enable-omitfp support.
26934 * config.make.in: Likewise.
26935 * Makeconfig: Likewise.
26936 * manual/install.texi: Likewise.
26938 In case anyone cares, the IA-64 architecture could move to ports.
26939 * sysdeps/ia64/*: Removed.
26940 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26941 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26944 * configure.in: Remove entries for unsupported architectures.
26947 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26948 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26950 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26951 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26952 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26953 fall back to using wcrtomb.
26954 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26955 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26957 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26958 * wcsmbs/tst-c16c32-1.c: New file.
26960 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26963 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26965 * elf/tst-unique3.cc: Add explicit declaration of gets.
26966 * elf/tst-unique3lib.cc: Likewise.
26967 * elf/tst-unique3lib2.cc: Likewise.
26968 * elf/tst-unique4.cc: Likewise.
26970 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26972 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26975 * assert/assert.h (static_assert): Don't define for C++.
26976 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26977 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26979 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26981 * iconv/loop.c (single loop): Fix assertion in storing of
26984 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26986 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26988 * posix/getconf.c: Update copyright year.
26989 * nss/getent.c: Likewise.
26990 * nss/makedb.c: Likewise.
26991 * iconv/iconvconfig.c: Likewise.
26992 * iconv/iconv_prog.c: Likewise.
26993 * elf/ldconfig.c: Likewise.
26994 * elf/pldd.c: Likewise.
26995 * elf/sotruss.ksh: Likewise.
26996 * catgets/gencat.c: Likewise.
26997 * csu/version.c: Likewise.
26998 * elf/ldd.bash.in: Likewise.
26999 * elf/sprof.c (print_version): Likewise.
27000 * locale/programs/locale.c: Likewise.
27001 * locale/programs/localedef.c: Likewise.
27002 * login/programs/pt_chown.c: Likewise.
27003 * nscd/nscd.c (print_version): Likewise.
27004 * debug/xtrace.sh: Likewise.
27005 * malloc/memusage.sh: Likewise.
27006 * malloc/mtrace.pl: Likewise.
27007 * debug/catchsegv.sh: Likewise.
27009 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27011 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27014 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27017 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27018 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27020 * iconv/gconv_int.h: Likewise.
27021 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27022 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27023 from libc for GLIBC_2.16.
27024 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27025 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27026 * wcsmbs/uchar.h: Really define mbstate_t.
27027 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27028 * wcsmbs/c16rtomb.c: New file.
27029 * wcsmbs/mbrtoc16.c: New file.
27030 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27031 for C/POSIX locale.
27032 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27033 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27035 * wcsmbs/wchar.h: Add missing __restrict.
27037 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27040 * time/Makefile (routines): Add timespec_get.
27041 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27042 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27043 timespec for ISO C11.
27044 * time/timespec_get.c: New file.
27045 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27046 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27049 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27050 * stdlib/stdlib.h: Declare aligned_alloc.
27051 * Versions.def: Add GLIBC_2.16 for libc.
27052 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27055 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27058 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27062 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27065 * assert/assert.h (static_assert): Define.
27067 * version.h: Update for 2.16 development version.
27070 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27073 * version.h (RELEASE): Bump for 2.15 release.
27074 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27076 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27077 Patch by Marek Polacek <mpolacek@redhat.com>.
27079 * bits/byteswap.h: Protect long long constants with __extension__.
27080 * sysdeps/i386/bits/byteswap.h: Likewise.
27081 * sysdeps/ia64/bits/byteswap.h: Likewise.
27082 * sysdeps/s390/bits/byteswap.h: Likewise.
27083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27085 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27089 destination buffer.
27090 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27092 2011-12-23 Marek Polacek <polacek@redhat.com>
27094 * elf/dl-addr.c (determine_info): Add inline keyword.
27095 * elf/tst-auditmod4b.c (check_avx): Likewise.
27096 * elf/tst-auditmod6b.c (check_avx): Likewise.
27097 * elf/tst-auditmod6c.c (check_avx): Likewise.
27098 * elf/tst-auditmod7b.c (check_avx): Likewise.
27100 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27105 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27108 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27109 processing for last bytes.
27111 2011-08-06 Bruno Haible <bruno@clisp.org>
27114 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27115 U+0385, not to U+1FEE.
27118 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27119 entry for U+00A5 U+0301.
27121 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27124 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27125 buffer for the output is too small.
27127 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27131 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27132 SSE flags if possible.
27134 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27138 processing for last bytes.
27140 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27142 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27143 (syscall-list-default-options, syscall-list-default-condition)
27144 (syscall-list-includes): Define.
27145 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27146 list of ABIs and options and #if conditions for each ABI. Do not
27147 handle common syscalls between ABIs specially.
27148 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27150 (syscall-list-variants, syscall-list-32bit-options)
27151 (syscall-list-32bit-condition, syscall-list-64bit-options)
27152 (syscall-list-64bit-condition): Define.
27153 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27154 (syscall-list-variants, syscall-list-32bit-options)
27155 (syscall-list-32bit-condition, syscall-list-64bit-options)
27156 (syscall-list-64bit-condition): Define.
27157 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27159 (syscall-list-variants, syscall-list-32bit-options)
27160 (syscall-list-32bit-condition, syscall-list-64bit-options)
27161 (syscall-list-64bit-condition): Define.
27162 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27164 (syscall-list-variants, syscall-list-32bit-options)
27165 (syscall-list-32bit-condition, syscall-list-64bit-options)
27166 (syscall-list-64bit-condition): Define.
27168 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27170 * locale/iso-639.def: Add brx entry.
27173 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27174 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27176 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27177 __feraiseexcept_renamed.
27179 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27182 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27183 EPOLLET with unsigned values.
27184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27187 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27188 to large cancellation.
27189 * math/s_cacoshf.c: Likewise.
27190 * math/s_cacoshl.c: Likewise.
27192 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27196 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27197 * math/s_cacoshf.c: Likewise.
27198 * math/s_cacoshl.c: Likewise.
27200 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27203 * iconv/gconv.h: Define __GCONV_SWAP.
27204 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27205 * iconvdata/utf-16.c: Likewise.
27206 * iconvdata/utf-32.c: Likewise.
27208 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27212 numerator after shifting it by one limb.
27214 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27217 under [__USE_EXTERN_INLINES].
27219 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27222 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27224 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27226 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27227 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27229 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27230 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27231 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27232 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27233 for strncasecmp/strncasecmp_l compilation.
27234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27235 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27237 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27240 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27243 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27246 * time/tzfile.c (__tzfile_read): Check values from file header.
27248 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27250 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27251 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27252 * powerpc/powerpc32/dl-start.S: Likewise.
27253 * powerpc/powerpc32/elf/start.S: Likewise.
27254 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27255 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27256 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27257 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27258 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27259 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27260 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27261 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27262 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27263 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27264 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27265 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27266 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27267 * powerpc/powerpc32/memset.S: Likewise.
27268 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27269 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27270 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27271 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27272 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27273 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27274 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27275 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27276 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27277 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27282 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27284 * math/libm-test.inc: Added more nearbyint tests.
27285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27290 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27292 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27295 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27297 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27298 Add wcscpy-ssse3 wcscpy-c.
27299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27300 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27301 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27302 * sysdeps/x86_64/wcschr.S: New file.
27303 * sysdeps/x86_64/wcsrchr.S: New file.
27304 * string/test-strcmp.c: Remove checking of wcscmp function for
27306 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27307 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27308 wcsrchr-sse2 wcsrchr-c.
27309 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27310 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27311 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27312 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27313 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27314 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27315 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27316 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27318 * wcsmbc/wcschr.c (WCSCHR): New macro.
27320 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27322 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27323 * wcsmbs/test-wcsrchr.c: New file.
27324 * string/test-strrchr.c: Add wcsrchr support.
27326 * wcsmbs/test-wcscpy.c: New file.
27327 * string/test-strcpy.c: Add wcscpy support.
27330 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27335 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27338 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27340 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27343 Minor optimizations.
27345 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27346 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27347 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27349 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27351 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27352 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27353 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27354 for gcc to avoid warnings.
27355 * inet/Makefile (tests): Add tst-checks.
27356 * inet/tst-checks.c: New file.
27358 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27361 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27364 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27365 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27367 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27369 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27371 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27374 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27376 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27379 conditional on GCC version.
27380 (__arch_compare_and_exchange_val_8_acq)
27381 (__arch_compare_and_exchange_val_16_acq)
27382 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27383 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27384 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27386 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27388 * sysdeps/sh/backtrace.c: New file.
27390 2011-12-02 Andreas Schwab <schwab@redhat.com>
27392 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27395 2011-12-01 Andreas Schwab <schwab@redhat.com>
27397 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27398 falling back to utime.
27400 2011-11-30 Andreas Schwab <schwab@redhat.com>
27402 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27403 expectations for float.
27405 2011-11-29 Andreas Schwab <schwab@redhat.com>
27407 * locale/weight.h (findidx): Add parameter len.
27408 * locale/weightwc.h (findidx): Likewise.
27409 * posix/fnmatch_loop.c (FCT): Adjust caller.
27410 * posix/regcomp.c (build_equiv_class): Likewise.
27411 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27412 * posix/regexec.c (check_node_accept_bytes): Likewise.
27413 * string/strcoll_l.c (STRCOLL): Likewise.
27414 * string/strxfrm_l.c (STRXFRM): Likewise.
27416 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27418 * Makefile.in: Remove CVSOPT handling.
27419 * configure.in: Remove use of AC_REVISION.
27420 * iconvdata/Makefile (distribute): No need to filter out CVS.
27421 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27424 2011-11-16 Andreas Schwab <schwab@redhat.com>
27426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27427 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27428 [USE_AS_STRNCASECMP_L]: Likewise.
27429 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27430 NO_TLS_DIRECT_SEG_REFS.
27431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27432 Fix argument offsets for non-PIC.
27433 [USE_AS_STRNCASECMP_L]: Likewise.
27434 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27435 NO_TLS_DIRECT_SEG_REFS.
27437 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27439 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27441 * locale/loadlocale.c (_nl_load_locale): Likewise.
27443 2011-11-15 Andreas Schwab <schwab@redhat.com>
27445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27446 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27448 (SYSCALL_GETTIME): Set errno on error.
27450 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27451 count references to noai6ai_cached.
27453 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27455 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27457 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27458 FD_CLOEXEC for /proc/self/maps.
27460 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27461 FD_CLOEXEC for /proc/meminfo.
27463 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27466 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27467 FD_CLOEXEC for given file.
27469 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27471 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27472 FD_CLOEXEC for /etc/hosts.
27473 (_gethtent): Likewise.
27475 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27477 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27478 cancellation and set FD_CLOEXEC for /etc/netgroup.
27480 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27481 reading /etc/publickey.
27483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27484 allow cancellation when reading /etc/group.
27486 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27488 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27490 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27491 when using data file.
27493 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27495 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27496 (write_nis_obj): Use "c" and "e" in fopen.
27498 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27500 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27502 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27504 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27506 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27509 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27511 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27513 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27515 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27516 file parsing and set FD_CLOEXEC.
27518 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27520 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27522 2011-11-14 Andreas Schwab <schwab@redhat.com>
27524 * malloc/arena.c (arena_get2): Don't call reused_arena when
27525 _int_new_arena failed.
27527 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27530 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27535 to compile strcasecmp and strncasecmp.
27536 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27537 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27541 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27543 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27544 locale-defines.sym to gen-as-const-headers.
27545 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27546 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27548 to compile strcasecmp and strncasecmp.
27549 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27550 strcasecmp_l and strncasecmp_l.
27551 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27552 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27553 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27555 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27556 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27557 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27558 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27559 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27560 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27561 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27563 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27565 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27566 result of SYSDEP_GETTIME_CPU to retval.
27567 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27568 parameter list to macro. Remove trailing semicolon. Adjust users.
27570 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27573 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27577 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27578 from unused variable.
27580 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27582 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27585 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27588 * sunrpc/rpc_prot.c (rejected): Fix case value.
27590 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27591 unsigned long long int to avoid warnings in shift.
27593 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27595 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27598 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27599 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27602 * nis/nis_table.c (nis_list): Use variable of correct type for
27603 result of __follow_path call.
27605 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27607 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27608 of math functions ceil, trunc, floor, round, and sqrt, when
27609 avaliable on the platform.
27610 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27616 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27618 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27619 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27621 2011-11-11 Roland McGrath <roland@hack.frob.com>
27623 * include/unistd.h: Fix __readlink return type.
27624 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27626 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27628 * stdlib/ucontext.h: Undo last change for makecontext.
27630 2011-11-11 Andreas Schwab <schwab@redhat.com>
27632 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27634 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27635 * setjmp/setjmp.h: Mark functions as non-leaf.
27636 * setjmp/bits/setjmp2.h: Likewise.
27637 * stdlib/ucontext.h: Likewise.
27639 2011-11-10 Andreas Schwab <schwab@redhat.com>
27641 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27642 (reused_arena): Don't check arena limit.
27643 (arena_get2): Atomically check arena limit.
27645 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27647 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27648 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27653 2011-11-07 Andreas Schwab <schwab@redhat.com>
27655 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27656 handler when locking.
27658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27659 Fix size of allocated buffer.
27661 2011-11-04 Andreas Schwab <schwab@redhat.com>
27664 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27665 declarations for long double functions.
27666 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27668 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27670 2011-11-03 Andreas Schwab <schwab@redhat.com>
27672 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27675 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27678 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27680 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27682 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27684 * include/alloca.h (stackinfo_alloca_round): Define.
27685 (extend_alloca): Use it.
27686 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27687 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27690 * scripts/check-local-headers.sh: Ignore libaudit.h.
27692 * nscd/Makefile (extra-objs): Make recursively expanded.
27694 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27696 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27699 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27700 * posix/tst-rfc3484-2.c: Likewise.
27701 * posix/tst-rfc3484-3.c: Likewise.
27703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27705 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27707 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27708 process_vm_writev from libc using GLIBC_2.15 version.
27710 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27712 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27714 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27717 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27720 * nss/getent.c (initgroups_keys): Show error message in case no group
27723 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27724 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27725 __bump_nl_timestamp.
27726 * nscd/connections (nscd_init): When host database is served open
27727 netlink socket and request notification about configuration changes.
27728 (main_loop_poll): Track netlink file descriptor and bump timestamp
27729 in case data becomes available.
27730 (main_loop_epoll): Likewise.
27731 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27732 (database_pers_head): Add extra_data fileds.
27733 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27735 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27738 in6ai data, call __free_in6ai.
27739 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27740 Add -DHAVE_NETLINK.
27741 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27742 interface information. Reuse previous data if netlink timestamp
27744 (__bump_nl_timestamp): New function.
27745 (__free_in6ai): New function.
27747 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27750 close_not_cancel_no_status here.
27751 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27753 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27756 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27759 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27760 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27761 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27763 2011-07-03 Andreas Jaeger <aj@suse.de>
27766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27767 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27768 * math/libm-test.inc (sin_test): Add test case.
27770 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27773 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27774 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27776 * elf/chroot_canon.c (chroot_canon): Cleanups.
27778 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27781 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27784 * string/test-strchr.c: Make usable for strchrnul testing.
27785 * string/test-strchrnul.c: New file.
27786 * string/Makefile (strop-tests): Add strchrnul.
27788 * po/it.po: Update from translation team.
27789 * po/es.po: Likewise.
27791 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27794 the three constants needed as parameters. Drop the others.
27795 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27796 __m128i_strloadu_tolower.
27797 Create and initialize variable zero and use it in all the places
27798 where _mm_setzero_si128 was used.
27800 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27801 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27802 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27808 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27810 __mpranred, __mptan.
27811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27815 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27816 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27818 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27821 2011-10-28 Andreas Schwab <schwab@redhat.com>
27823 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27824 redefine if SHARED.
27825 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27828 wide char related routines to wcsmbs subdir.
27830 2011-10-27 Andreas Schwab <schwab@redhat.com>
27833 * misc/sys/cdefs.h (__THROWNL): Define.
27834 * posix/unistd.h: Use __THREADNL instead of __THREAD
27835 for memory synchronization functions.
27837 2011-10-26 Roland McGrath <roland@hack.frob.com>
27840 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27842 * manual/stdio.texi (Obstack Streams): Node removed.
27844 2011-10-26 Andreas Schwab <schwab@redhat.com>
27846 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27850 * math/math_private.h (math_force_eval): Allow non-addressable
27852 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27854 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27856 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27857 file is not needed.
27859 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27866 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27873 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27874 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27876 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27877 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27878 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27879 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27881 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27883 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27884 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27885 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27886 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27888 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27889 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27892 place. Use VEX encoding when compiling for AVX.
27894 2011-10-25 Andreas Schwab <schwab@redhat.com>
27896 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27897 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27899 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27901 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27903 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27904 useless if() expression.
27905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27911 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27918 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27925 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27927 2011-10-25 Andreas Schwab <schwab@redhat.com>
27929 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27933 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27935 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27936 .text section. Avoid duplicate constants.
27937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27946 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27949 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27954 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27967 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27968 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27970 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27971 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27972 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27973 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27975 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27976 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27983 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27985 * sysdeps/x86_64/dla.h: Move to ...
27986 * sysdeps/x86_64/fpu/dla.h: ...here.
27987 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27988 situations. Use __builtin_fma only for gcc 4.6 and up.
27990 * config.make.in: Add have-mfma4 entry.
27991 * configure.in: Substitute libc_cv_cc_fma4.
27992 * math/Makefile (dbl-only-routines): Add sincostab.
27993 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27994 Use __sincostab not sincos.
27995 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28002 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28003 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28004 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28005 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28008 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28010 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28011 define aliases when function name is a macro.
28012 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28013 sysdeps/ieee754/dbl-64/sincos.tbl.
28014 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28015 fma4-enabled routines.
28016 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28017 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28020 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28026 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28028 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28029 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28030 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28031 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28032 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28033 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28034 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28036 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28037 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28042 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28043 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28044 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28045 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28047 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28058 2011-10-24 Andreas Schwab <schwab@redhat.com>
28060 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28062 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28066 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28070 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28071 Remove unused variable magic_bits.
28072 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28074 * string/strnlen.c: Define and use STRNLEN macro.
28075 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28076 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28078 * wcsmbs/wcslen.c: Define and use WCSLEN.
28079 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28080 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28081 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28082 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28083 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28084 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28085 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28087 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28090 strnlen-sse2-no-bsf.
28091 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28093 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28094 Add strnlen support.
28095 (USE_AS_STRNLEN): New macro.
28096 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28098 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28099 * sysdeps/x86_64/wcslen.S: New file.
28101 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28104 XMM-moves are used for copying on small sizes.
28106 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28108 * wcsmbs/Makefile (strop-tests): Add wcschr.
28109 * wcsmbs/test-wcschr.c: New file.
28110 * string/test-strchr.c: Update.
28111 Add wcschr support.
28114 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28116 * wcsmbs/Makefile (strop-tests): Add wcslen.
28117 * wcsmbs/test-wcslen.c: New file.
28118 * string/test-strlen.c: Update.
28119 Add wcslen support.
28122 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28124 * po/it.po: Update from translation team.
28126 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28128 * sysdeps/x86_64/wcscmp.S: Update.
28129 Fix wrong comparison semantics.
28130 wcscmp shall use signed comparison not unsigned.
28131 Don't use substraction to avoid overflow bug.
28132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28133 * wcsmbc/wcscmp.c: Likewise.
28134 * string/test-strcmp.c: Likewise.
28135 Add new tests to check cases with negative values.
28137 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28139 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28140 * sysdeps/x86_64/dla.h: ...here. New file.
28141 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28151 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28154 __ynl_finite aliases.
28156 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28160 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28162 [DLA_FMA] (EMULV): Use DLA_FMA.
28163 [DLA_FMA] (MUL12): Use EMULV.
28164 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28165 that are not needed.
28166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28174 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28176 * math/s_nan.c: Undef __nan.
28177 * math/s_nanf.c: Undef __nanf.
28178 * math/s_nanl.c: Undef __nanl.
28179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28182 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28184 * math/s_catan.c: Add branch predictions.
28185 * math/s_catanf.c: Likewise.
28186 * math/s_catanh.c: Likewise.
28187 * math/s_catanhf.c: Likewise.
28188 * math/s_catanhl.c: Likewise.
28189 * math/s_catanl.c: Likewise.
28190 * math/s_cexp.c: Likewise.
28191 * math/s_cexpf.c: Likewise.
28192 * math/s_cexpl.c: Likewise.
28193 * math/s_clog.c: Likewise.
28194 * math/s_clog10.c: Likewise.
28195 * math/s_clog10f.c: Likewise.
28196 * math/s_clog10l.c: Likewise.
28197 * math/s_clogf.c: Likewise.
28198 * math/s_clogl.c: Likewise.
28199 * math/s_csqrt.c: Likewise.
28200 * math/s_csqrtf.c: Likewise.
28201 * math/s_csqrtl.c: Likewise.
28202 * math/s_ctanf.c: Likewise.
28203 * math/s_ctanh.c: Likewise.
28204 * math/s_ctanhf.c: Likewise.
28205 * math/s_ctanhl.c: Likewise.
28206 * math/s_ctanl.c: Likewise.
28208 * math/math_private.h: Define __nan, __nanf, __nanl.
28209 * math/s_cacosh.c: Include <math_private.h>.
28210 * math/s_cacoshl.c: Likewise.
28211 * math/s_casinh.c: Likewise.
28212 * math/s_casinhf.c: Likewise.
28213 * math/s_casinhl.c: Likewise.
28214 * math/s_ccos.c: Rely entire on ccosh.
28215 * math/s_ccosf.c: Rely entire on ccoshf.
28216 * math/s_ccosl.c: Rely entirely on ccoshl.
28217 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28218 Remove tests for FE_INVALID.
28219 * math/s_ccoshf.c: Likewise.
28220 * math/s_ccoshl.c: Likewise.
28221 * math/s_csin.c: Likewise.
28222 * math/s_csinf.c: Likewise.
28223 * math/s_csinh.c Likewise.
28224 * math/s_csinhf.c: Likewise.
28225 * math/s_csinhl.c: Likewise.
28226 * math/s_csinl.c: Likewise.
28227 * math/s_ctan.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28229 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28232 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28235 compilation problems.
28237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28240 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28242 * sysdeps/i386/configure.in: Test for -mfma4 option.
28243 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28244 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28245 COMMON_CPUID_INDEX_80000001.
28246 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28247 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28248 use it if FMA3 is not supported.
28249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28251 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28252 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28254 2011-10-20 Andreas Schwab <schwab@redhat.com>
28257 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28258 it would create a cycle with a link time dependency.
28260 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28262 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28264 * string/Makefile (strop-tests): Add rawmemchr.
28265 * string/test-rawmemchr.c: New file.
28267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28269 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28270 when compiling str{,n}casecmp and when AVX is available. Hook up
28271 new optimized code in initializers.
28273 2011-10-19 Andreas Schwab <schwab@redhat.com>
28275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28276 __feraiseexcept instead of feraiseexcept.
28278 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28280 * math/math_private.h: Define defaults for libc_fetestexcept and
28282 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28283 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28285 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28288 libc_fetestexcept and libc_feupdateenv.
28290 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28291 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28292 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28293 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28294 libc_feholdexcept_setround.
28296 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28297 Add s_nearbyint-c and s_nearbyintf-c.
28298 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28299 nearbyintf inlines.
28300 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28302 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28305 * math/math_private.h: Define defaults for libc_fegetround,
28306 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28307 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28308 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28310 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28311 standard functions.
28312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28313 Remove comments and hacks for old compiler versions.
28314 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28315 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28316 libc_feholdexceptl.
28318 2011-10-18 Andreas Schwab <schwab@redhat.com>
28320 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28321 (__feraiseexcept_renamed): Add __NTH.
28322 (feraiseexcept): Add __NTH. Rename local variables to fix
28323 namespace violations.
28325 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28327 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28331 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28332 recently added interfaces.
28333 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28335 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28336 about macro parameter expansion.
28338 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28339 __NO_MATH_INLINES is defined. Cleanups.
28341 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28342 and __floorf is target has SSE4.1.
28343 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28345 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28346 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28348 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28350 (floorf): Likewise.
28352 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28354 2011-10-17 Andreas Schwab <schwab@redhat.com>
28356 * misc/sys/cdefs.h: Fix last change.
28358 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28361 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28363 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28365 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28373 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28374 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28375 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28377 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28378 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28380 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28381 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28382 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28384 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28385 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28386 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28388 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28389 ceil, ceilf, floor, floorf.
28391 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28392 Perform IRELATIVE relocations last.
28394 * elf/do-rel.h: Add another parameter nrelative, replacing the
28395 local variable with the same name. Change name of the function
28396 to end in Rel or Rela (uppercase).
28397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28398 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28399 elf_dynamic_do_##reloc function.
28401 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28403 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28404 is sufficient, at least on modern CPUs.
28406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28408 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28411 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28413 * math/bits/math-finite.h: Add entries for exp.
28414 * math/e_expl.c: Add __*_finite alias.
28415 * sysdeps/i386/fpu/e_exp.S: Likewise.
28416 * sysdeps/i386/fpu/e_expf.S: Likewise.
28417 * sysdeps/i386/fpu/e_expl.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28426 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28427 is sufficient, at least on modern CPUs.
28429 * ctype/ctype-info.c (__ctype_init): Define.
28430 * include/ctype.h (__ctype_init): Declare.
28431 (__ctype_b_loc): The variable is always initialized.
28432 (__ctype_toupper_loc): Likewise.
28433 (__ctype_tolower_loc): Likewise.
28434 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28435 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28437 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28439 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28441 * configure.in: Also look in $cxxmachine/include for C++ system
28444 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28446 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28447 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28448 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28449 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28451 (USE_AS_WMEMCMP): New macro.
28453 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28454 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28455 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28456 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28458 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28459 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28460 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28461 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28462 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28464 (USE_AS_WMEMCMP): New macro.
28465 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28466 * sysdeps/string/test-memcmp.c: Update.
28467 Fix simple_wmemcmp.
28469 * wcsmbs/wmemcmp.c: Update.
28470 (WMEMCMP): New macro.
28473 2011-10-12 Andreas Jaeger <aj@suse.de>
28476 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28478 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28480 * libio/iofwide.c (do_length): Avoid warning.
28482 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28484 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28486 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28488 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28489 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28490 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28491 * sysdeps/i386/i686/fpu/e_log.S: New file.
28492 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28493 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28495 * ctype/ctype.h: Add support for inlined isXXX functions when
28496 compiling C++ code.
28498 2011-10-14 Andreas Schwab <schwab@redhat.com>
28500 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28504 2011-10-13 Roland McGrath <roland@hack.frob.com>
28507 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28509 2011-10-13 Andreas Schwab <schwab@redhat.com>
28511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28512 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28515 * sysdeps/x86_64/memrchr.S: Check for zero size.
28517 * string/stratcliff.c: Add memrchr tests.
28519 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28522 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28523 rawmemchr-sse2 rawmemchr-sse2-bsf.
28524 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28525 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28526 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28527 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28528 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28530 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28531 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28532 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28534 * string/memrchr.c (MEMRCHR): New macro.
28536 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28538 Add integration with gcc's -ffinite-math-only and optimize wrapper
28540 * Versions.def: Define GLIBC_2.15 version for libm.
28541 * math/Makefile (headers): Add bits/math-finite.h.
28542 * math/bits/math-finite.h: New file.
28543 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28544 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28545 * math/e_acoshl.c: Add __*_finite alias.
28546 * math/e_acosl.c: Likewise.
28547 * math/e_asinl.c: Likewise.
28548 * math/e_atan2l.c: Likewise.
28549 * math/e_atanhl.c: Likewise.
28550 * math/e_coshl.c: Likewise.
28551 * math/e_exp10.c: Likewise.
28552 * math/e_exp10f.c: Likewise.
28553 * math/e_exp10l.c: Likewise.
28554 * math/e_exp2l.c: Likewise.
28555 * math/e_fmodl.c: Likewise.
28556 * math/e_gammal_r.c: Likewise.
28557 * math/e_hypotl.c: Likewise.
28558 * math/e_j0l.c: Likewise.
28559 * math/e_j1l.c: Likewise.
28560 * math/e_jnl.c: Likewise.
28561 * math/e_lgammal_r.c: Likewise.
28562 * math/e_log10l.c: Likewise.
28563 * math/e_log2l.c: Likewise.
28564 * math/e_logl.c: Likewise.
28565 * math/e_powl.c: Likewise.
28566 * math/e_sinhl.c: Likewise.
28567 * math/e_sqrtl.c: Likewise.
28568 * math/e_scalb.c: Completely rewritten and optimized.
28569 * math/e_scalbf.c: Likewise.
28570 * math/e_scalbl.c: Likewise.
28571 * math/w_acos.c: Likewise.
28572 * math/w_acosf.c: Likewise.
28573 * math/w_acosl.c: Likewise.
28574 * math/w_acosh.c: Likewise.
28575 * math/w_acoshf.c: Likewise.
28576 * math/w_acoshl.c: Likewise.
28577 * math/w_asin.c: Likewise.
28578 * math/w_asinf.c: Likewise.
28579 * math/w_asinl.c: Likewise.
28580 * math/w_atan2.c: Likewise.
28581 * math/w_atan2f.c: Likewise.
28582 * math/w_atan2l.c: Likewise.
28583 * math/w_atanh.c: Likewise.
28584 * math/w_atanhf.c: Likewise.
28585 * math/w_atanhl.c: Likewise.
28586 * math/w_exp10.c: Likewise.
28587 * math/w_exp10f.c: Likewise.
28588 * math/w_exp10l.c: Likewise.
28589 * math/w_fmod.c: Likewise.
28590 * math/w_fmodf.c: Likewise.
28591 * math/w_fmodl.c: Likewise.
28592 * math/w_j0.c: Likewise.
28593 * math/w_j0f.c: Likewise.
28594 * math/w_j0l.c: Likewise.
28595 * math/w_j1.c: Likewise.
28596 * math/w_j1f.c: Likewise.
28597 * math/w_j1l.c: Likewise.
28598 * math/w_jn.c: Likewise.
28599 * math/w_jnf.c: Likewise.
28600 * math/w_log.c: Likewise.
28601 * math/w_logf.c: Likewise.
28602 * math/w_logl.c: Likewise.
28603 * math/w_log10.c: Likewise.
28604 * math/w_log10f.c: Likewise.
28605 * math/w_log10l.c: Likewise.
28606 * math/w_log2.c: Likewise.
28607 * math/w_log2f.c: Likewise.
28608 * math/w_log2l.c: Likewise.
28609 * math/w_pow.c: Likewise.
28610 * math/w_powf.c: Likewise.
28611 * math/w_powl.c: Likewise.
28612 * math/w_remainder.c: Likewise.
28613 * math/w_remainderf.c: Likewise.
28614 * math/w_remainderl.c: Likewise.
28615 * math/w_scalb.c: Likewise.
28616 * math/w_scalbf.c: Likewise.
28617 * math/w_scalbl.c: Likewise.
28618 * math/w_sqrt.c: Likewise.
28619 * math/w_sqrtf.c: Likewise.
28620 * math/w_sqrtl.c: Likewise.
28621 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28622 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28624 * math/math_private.h: Declare __kernel_standard_f.
28625 * math/w_cosh.c: Remove cruft and optimize a bit.
28626 * math/w_coshf.c: Likewise.
28627 * math/w_coshl.c: Likewise.
28628 * math/w_exp2.c: Likewise.
28629 * math/w_exp2f.c: Likewise.
28630 * math/w_exp2l.c: Likewise.
28631 * math/w_hypot.c: Likewise.
28632 * math/w_hypotf.c: Likewise.
28633 * math/w_hypotl.c: Likewise.
28634 * math/w_lgamma.c: Likewise.
28635 * math/w_lgamma_r.c: Likewise.
28636 * math/w_lgammaf.c: Likewise.
28637 * math/w_lgammaf_r.c: Likewise.
28638 * math/w_lgammal.c: Likewise.
28639 * math/w_lgammal_r.c: Likewise.
28640 * math/w_sinh.c: Likewise.
28641 * math/w_sinhf.c: Likewise.
28642 * math/w_sinhl.c: Likewise.
28643 * math/w_tgamma.c: Likewise.
28644 * math/w_tgammaf.c: Likewise.
28645 * math/w_tgammal.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28648 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28649 Minor optimizations. Pretty printing. Remove cruft.
28650 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28652 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28653 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28654 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28655 * sysdeps/i386/fpu/e_asin.S: Likewise.
28656 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28657 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28658 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28659 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28663 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28664 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28665 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28666 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28667 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28668 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28669 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28670 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28671 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28672 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28673 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28674 * sysdeps/i386/fpu/e_log.S: Likewise.
28675 * sysdeps/i386/fpu/e_log10.S: Likewise.
28676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28678 * sysdeps/i386/fpu/e_log2.S: Likewise.
28679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28681 * sysdeps/i386/fpu/e_logf.S: Likewise.
28682 * sysdeps/i386/fpu/e_logl.S: Likewise.
28683 * sysdeps/i386/fpu/e_pow.S: Likewise.
28684 * sysdeps/i386/fpu/e_powf.S: Likewise.
28685 * sysdeps/i386/fpu/e_powl.S: Likewise.
28686 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28687 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28688 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28692 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28693 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28694 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28695 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28705 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28721 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28780 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28783 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28786 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28787 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28788 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28789 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28790 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28791 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28792 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28793 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28794 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28795 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28796 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28797 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28798 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28799 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28803 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28805 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28806 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28807 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28808 (__isnanf): Likewise.
28809 (__isinf_ns): Likewise.
28810 (__isinf_nsf): Likewise.
28811 (__finite): Likewise.
28812 (__finitef): Likewise.
28813 (__ieee754_sqrt): Define as macro.
28814 (__ieee754_sqrtf): Define as macro.
28815 (__ieee754_sqrtl): Define as macro.
28816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28818 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28819 __FINITE_MATH_ONLY__ consistent.
28820 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28822 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28824 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28829 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28831 * po/ja.po: Update from translation team.
28833 2011-10-08 Roland McGrath <roland@hack.frob.com>
28835 * locale/programs/locarchive.c (prepare_address_space): New function.
28836 (create_archive, enlarge_archive, open_archive): Use it.
28838 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28839 inside [SHARED], where it is used.
28841 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28843 * nss/getent.c (netgroup_keys): Remove unused variable.
28844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28846 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28848 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28849 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28854 * math/Makefile (libm-calls): Add s_isinf_ns.
28855 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28856 * math/multc3.c: Likewise.
28857 * math/s_casin.c: Likewise.
28858 * math/s_casinf.c: Likewise.
28859 * math/s_casinl.c: Likewise.
28860 * math/s_ccos.c: Likewise.
28861 * math/s_ccosf.c: Likewise.
28862 * math/s_ccosl.c: Likewise.
28863 * math/s_ctan.c: Likewise.
28864 * math/s_ctanf.c: Likewise.
28865 * math/s_ctanh.c: Likewise.
28866 * math/s_ctanhf.c: Likewise.
28867 * math/s_ctanhl.c: Likewise.
28868 * math/s_ctanl.c: Likewise.
28869 * math/w_fmod.c: Likewise.
28870 * math/w_fmodf.c: Likewise.
28871 * math/w_fmodl.c: Likewise.
28872 * math/w_remainder.c: Likewise.
28873 * math/w_remainderf.c: Likewise.
28874 * math/w_remainderl.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28876 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28879 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28880 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28881 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28882 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28884 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28886 * stdio-common/printf_fphex.c: Likewise.
28887 * stdio-common/printf_size.c: Likewise.
28889 * math/e_exp10.c: Include math_private.h using <...> not "...".
28890 * math/e_exp10f.c: Likewise.
28891 * math/e_exp10l.c: Likewise.
28892 * math/e_exp2l.c: Likewise.
28893 * math/e_j0l.c: Likewise.
28894 * math/e_j1l.c: Likewise.
28895 * math/e_jnl.c: Likewise.
28896 * math/e_lgammal_r.c: Likewise.
28897 * math/e_rem_pio2l.c: Likewise.
28898 * math/e_scalb.c: Likewise.
28899 * math/e_scalbf.c: Likewise.
28900 * math/e_scalbl.c: Likewise.
28901 * math/k_cosl.c: Likewise.
28902 * math/k_sinl.c: Likewise.
28903 * math/k_tanl.c: Likewise.
28904 * math/s_cacoshf.c: Likewise.
28905 * math/s_catan.c: Likewise.
28906 * math/s_catanf.c: Likewise.
28907 * math/s_catanh.c: Likewise.
28908 * math/s_catanhf.c: Likewise.
28909 * math/s_catanhl.c: Likewise.
28910 * math/s_catanl.c: Likewise.
28911 * math/s_ccosh.c: Likewise.
28912 * math/s_ccoshf.c: Likewise.
28913 * math/s_ccoshl.c: Likewise.
28914 * math/s_cexp.c: Likewise.
28915 * math/s_cexpf.c: Likewise.
28916 * math/s_cexpl.c: Likewise.
28917 * math/s_clog.c: Likewise.
28918 * math/s_clog10.c: Likewise.
28919 * math/s_clog10f.c: Likewise.
28920 * math/s_clog10l.c: Likewise.
28921 * math/s_clogf.c: Likewise.
28922 * math/s_clogl.c: Likewise.
28923 * math/s_csin.c: Likewise.
28924 * math/s_csinf.c: Likewise.
28925 * math/s_csinh.c: Likewise.
28926 * math/s_csinhf.c: Likewise.
28927 * math/s_csinhl.c: Likewise.
28928 * math/s_csinl.c: Likewise.
28929 * math/s_csqrt.c: Likewise.
28930 * math/s_csqrtf.c: Likewise.
28931 * math/s_csqrtl.c: Likewise.
28932 * math/s_ctan.c: Likewise.
28933 * math/s_ctanf.c: Likewise.
28934 * math/s_ctanh.c: Likewise.
28935 * math/s_ctanhf.c: Likewise.
28936 * math/s_ctanhl.c: Likewise.
28937 * math/s_ctanl.c: Likewise.
28938 * math/s_ldexp.c: Likewise.
28939 * math/s_ldexpf.c: Likewise.
28940 * math/s_ldexpl.c: Likewise.
28941 * math/s_significand.c: Likewise.
28942 * math/s_significandf.c: Likewise.
28943 * math/s_significandl.c: Likewise.
28944 * math/w_acos.c: Likewise.
28945 * math/w_acosf.c: Likewise.
28946 * math/w_acosh.c: Likewise.
28947 * math/w_acoshf.c: Likewise.
28948 * math/w_acoshl.c: Likewise.
28949 * math/w_acosl.c: Likewise.
28950 * math/w_asin.c: Likewise.
28951 * math/w_asinf.c: Likewise.
28952 * math/w_asinl.c: Likewise.
28953 * math/w_atan2.c: Likewise.
28954 * math/w_atan2f.c: Likewise.
28955 * math/w_atan2l.c: Likewise.
28956 * math/w_atanh.c: Likewise.
28957 * math/w_atanhf.c: Likewise.
28958 * math/w_atanhl.c: Likewise.
28959 * math/w_cosh.c: Likewise.
28960 * math/w_coshf.c: Likewise.
28961 * math/w_coshl.c: Likewise.
28962 * math/w_dremf.c: Likewise.
28963 * math/w_exp10.c: Likewise.
28964 * math/w_exp10f.c: Likewise.
28965 * math/w_exp10l.c: Likewise.
28966 * math/w_exp2.c: Likewise.
28967 * math/w_exp2f.c: Likewise.
28968 * math/w_fmod.c: Likewise.
28969 * math/w_fmodf.c: Likewise.
28970 * math/w_fmodl.c: Likewise.
28971 * math/w_hypot.c: Likewise.
28972 * math/w_hypotf.c: Likewise.
28973 * math/w_hypotl.c: Likewise.
28974 * math/w_j0.c: Likewise.
28975 * math/w_j0f.c: Likewise.
28976 * math/w_j0l.c: Likewise.
28977 * math/w_j1.c: Likewise.
28978 * math/w_j1f.c: Likewise.
28979 * math/w_j1l.c: Likewise.
28980 * math/w_jn.c: Likewise.
28981 * math/w_jnf.c: Likewise.
28982 * math/w_jnl.c: Likewise.
28983 * math/w_lgamma.c: Likewise.
28984 * math/w_lgamma_r.c: Likewise.
28985 * math/w_lgammaf.c: Likewise.
28986 * math/w_lgammaf_r.c: Likewise.
28987 * math/w_lgammal.c: Likewise.
28988 * math/w_lgammal_r.c: Likewise.
28989 * math/w_log.c: Likewise.
28990 * math/w_log10.c: Likewise.
28991 * math/w_log10f.c: Likewise.
28992 * math/w_log10l.c: Likewise.
28993 * math/w_log2.c: Likewise.
28994 * math/w_log2f.c: Likewise.
28995 * math/w_log2l.c: Likewise.
28996 * math/w_logf.c: Likewise.
28997 * math/w_logl.c: Likewise.
28998 * math/w_pow.c: Likewise.
28999 * math/w_powf.c: Likewise.
29000 * math/w_powl.c: Likewise.
29001 * math/w_remainder.c: Likewise.
29002 * math/w_remainderf.c: Likewise.
29003 * math/w_remainderl.c: Likewise.
29004 * math/w_scalb.c: Likewise.
29005 * math/w_scalbf.c: Likewise.
29006 * math/w_scalbl.c: Likewise.
29007 * math/w_sinh.c: Likewise.
29008 * math/w_sinhf.c: Likewise.
29009 * math/w_sinhl.c: Likewise.
29010 * math/w_sqrt.c: Likewise.
29011 * math/w_sqrtf.c: Likewise.
29012 * math/w_sqrtl.c: Likewise.
29013 * math/w_tgamma.c: Likewise.
29014 * math/w_tgammaf.c: Likewise.
29015 * math/w_tgammal.c: Likewise.
29017 * po/ja.po: Update from translation team.
29019 2011-09-29 Andreas Jaeger <aj@suse.de>
29022 * sunrpc/netname.c (netname2host): Fix logic.
29026 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29028 * math/w_remainder.c (__remainder): Likewise.
29029 * math/w_remainderf.c (__remainderf): Likewise.
29030 * math/libm-test.inc (remainder_test): Add test cases.
29032 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29034 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29037 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29039 * string/test-memcmp.c: Avoid unncessary #defines.
29040 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29042 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29044 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29045 Use new sse2 version for core i3 - i7 as it's faster
29046 than sse42 version.
29047 (bit_Prefer_PMINUB_for_stringop): New.
29048 * sysdeps/x86_64/rawmemchr.S: Update.
29049 Replace with faster SSE2 version.
29050 * sysdeps/x86_64/memrchr.S: New file.
29051 * sysdeps/x86_64/memchr.S: Update.
29052 Replace with faster SSE2 version.
29054 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29056 * elf/dl-load.c (lose): Add cast to avoid warning.
29058 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29060 * po/ca.po: Update from translation team.
29062 * inet/getnetgrent_r.c: Hook up nscd.
29063 * nscd/Makefile (routines): Add nscd_netgroup.
29064 (nscd-modules): Add netgroupcache.
29065 (CFLAGS-netgroupcache.c): Define.
29066 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29067 (cache_search): Add const to second parameter.
29068 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29070 (dbs): Add netgrdb entry.
29071 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29072 (verify_persistent_db): Handle netgrdb.
29073 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29074 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29076 (netgroup_response_header): Define.
29077 (innetgroup_response_header): Define.
29078 (datahead): Add netgroup_response_header and innetgroup_response_header
29080 * nscd/nscd.conf: Add entries for netgroup cache.
29081 * nscd/nscd.h (dbtype): Add netgrdb.
29082 (_PATH_NSCD_NETGROUP_DB): Define.
29083 (netgroup_iov_disabled): Declare.
29084 (xmalloc, xcalloc, xrealloc): Move declarations here.
29085 (cache_search): Adjust prototype.
29086 Add netgroup-related prototypes.
29087 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29088 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29089 (__nscd_innetgr): Declare.
29090 * nscd/selinux.c (perms): Use access_vector_t as element type and
29091 add netgroup-related initializers.
29092 * nscd/netgroupcache.c: New file.
29093 * nscd/nscd_netgroup.c: New file.
29094 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29095 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29096 For four parameters use innetgr.
29097 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29098 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29099 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29100 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29102 * nscd/connections.c (register_traced_file): Don't register file
29103 for disabled databases.
29105 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29107 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29109 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29110 from tree and freeing node.
29112 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29114 * nss/nsswitch.c (__nss_database_lookup): Handle
29115 nss_parse_service_list out of memory case.
29117 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29119 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29120 out of memory case.
29122 2011-10-04 Andreas Schwab <schwab@redhat.com>
29124 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29125 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29127 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29128 elf_machine_rela, elf_machine_lazy_rel.
29129 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29130 (ELF_DYNAMIC_DO_REL): Likewise.
29131 (ELF_DYNAMIC_DO_RELA): Likewise.
29132 (ELF_DYNAMIC_RELOCATE): Likewise.
29133 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29134 to ELF_DYNAMIC_DO_REL.
29135 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29136 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29137 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29140 skip_ifunc, don't call ifunc function if non-zero.
29141 (elf_machine_rela): Likewise.
29142 (elf_machine_lazy_rel): Likewise.
29143 (elf_machine_lazy_rela): Likewise.
29144 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29145 (elf_machine_lazy_rel): Likewise.
29146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29148 (elf_machine_lazy_rel): Likewise.
29149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29151 (elf_machine_lazy_rel): Likewise.
29152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29153 (elf_machine_lazy_rel): Likewise.
29154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29155 (elf_machine_lazy_rel): Likewise.
29156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29157 (elf_machine_lazy_rel): Likewise.
29158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29159 (elf_machine_lazy_rel): Likewise.
29160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29161 (elf_machine_lazy_rel): Likewise.
29162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29163 (elf_machine_lazy_rel): Likewise.
29165 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29167 * nss/nss_files/files-init.c (_nss_files_init): Use static
29168 initialization for all the *_traced_file variables.
29170 2011-09-28 Andreas Schwab <schwab@redhat.com>
29172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29174 2011-09-27 Roland McGrath <roland@hack.frob.com>
29177 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29179 2011-09-27 Andreas Schwab <schwab@redhat.com>
29181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29182 Reread the line before reparsing it.
29184 2011-09-26 Andreas Schwab <schwab@redhat.com>
29186 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29188 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29189 Maxim Kuvyrkov <maxim@codesourcery.com>
29190 Joseph Myers <joseph@codesourcery.com>
29192 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29193 if needed for __stack_chk_guard.
29195 2011-09-19 Roland McGrath <roland@hack.frob.com>
29197 * sysdeps/posix/spawni.c (script_execute): Always define it.
29198 It will be optimized away if unused.
29199 (maybe_script_execute): New function.
29200 (__spawni): Call it.
29202 * Makerules: Don't include tls.make.
29203 (config-tls): Always set to thread.
29204 * tls.make.c: File removed.
29206 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29208 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29209 * config.make.in (CPPFLAGS-config): New substituted variable.
29211 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29216 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29217 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29219 2011-09-15 Roland McGrath <roland@hack.frob.com>
29221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29222 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29224 (CALL_FAIL): Likewise.
29225 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29226 (CALL_FAIL): Macro removed.
29227 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29229 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29231 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29232 for __FINITE_MATH_ONLY__ == 1.
29234 2011-09-15 Andreas Schwab <schwab@redhat.com>
29236 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29237 __ieee754_sqrt instead of sqrt.
29238 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29239 __ieee754_sqrtf instead of sqrtf.
29240 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29241 __floorf instead of floorf.
29242 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29243 __floorf, __truncf instead of floorf, truncf.
29245 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29247 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29249 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29250 __extern_always_inline.
29251 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29254 2011-09-14 Andreas Schwab <schwab@redhat.com>
29256 * elf/rtld.c (dl_main): Also relocate in dependency order when
29257 doing symbol dependency testing.
29259 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29262 Always define `refsym'.
29264 2011-09-13 Andreas Schwab <schwab@redhat.com>
29266 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29267 (__FD_ELT): Renamed from __FDELT.
29268 * misc/bits/select2.h (__FD_ELT): Likewise.
29269 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29270 __FD_MASK instead of __FDELT, __FDMASK.
29271 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29273 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29276 * elf/Makefile (gen-ldd): Fix pattern.
29278 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29279 (init_tls): Likewise.
29281 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29285 2011-09-12 Andreas Schwab <schwab@redhat.com>
29287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29288 `struct cmsghdr *' instead of `void *'.
29289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29292 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29294 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29296 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29297 ldd_rewrite_script.
29299 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29301 * configure.in: Remove --with-tls option.
29302 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29303 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29304 out in case it is missing.
29305 * sysdeps/ia64/elf/configure.in: Likewise.
29306 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29307 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29308 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29309 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29310 * sysdeps/sh/elf/configure.in: Likewise.
29311 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29313 * sysdeps/x86_64/elf/configure.in: Likewise.
29314 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29315 * sysdeps/mach/hurd/tls.h: Likewise.
29318 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29321 * configure.in: Fix use of AC_INIT.
29323 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29325 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29327 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29329 * malloc/hooks.c: Likewise.
29332 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29333 variables statically.
29334 (narenas): Initialize.
29335 (list_lock): Initialize.
29336 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29337 initializtion of main_arena and list_lock. Small cleanups.
29338 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29339 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29340 Add initializers to main_arena and mp_.
29341 (malloc_state): Remove pagesize member. Change all users to use
29344 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29345 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29346 is always initialized.
29348 * malloc/malloc.c: Removed unused configurations and dead code.
29349 * malloc/arena.c: Likewise.
29350 * malloc/hooks.c: Likewise.
29351 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29353 * include/tls.h: Removed. USE___THREAD must always be defined.
29354 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29355 * elf/dl-libc.c: Likewise.
29356 * elf/dl-tsd.c: Likewise.
29357 * include/errno.h: Likewise.
29358 * include/netdb.h: Likewise.
29359 * include/resolv.h: Likewise.
29360 * inet/herrno-loc.c: Likewise.
29361 * inet/herrno.c: Likewise.
29362 * malloc/arena.c: Likewise.
29363 * malloc/hooks.c: Likewise.
29364 * malloc/malloc.c: Likewise.
29365 * resolv/res-state.c: Likewise.
29366 * resolv/res_libc.c: Likewise.
29367 * sysdeps/i386/dl-machine.h: Likewise.
29368 * sysdeps/ia64/dl-machine.h: Likewise.
29369 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29371 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29372 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29373 * sysdeps/sh/dl-machine.h: Likewise.
29374 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29376 * sysdeps/unix/i386/sysdep.S: Likewise.
29377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29378 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29383 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29388 * sysdeps/x86_64/dl-machine.h: Likewise.
29389 * tls.make.c: Likewise.
29391 * configure.in: Remove --with-__thread option. Make tests for
29392 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29393 tls_model attribute fail if no support is available. Remove
29395 * Makeconfig: Adjust for dropped configure option. All features are
29397 * Makerules: Likewise.
29398 * Versions.def: Likewise.
29399 * argp/argp-fmtstream.c: Likewise.
29400 * argp/argp-fmtstream.h: Likewise.
29401 * argp/argp-help.c: Likewise.
29402 * assert/assert.c: Likewise.
29403 * config.h.in: Likewise.
29404 * config.make.in: Likewise.
29405 * configure: Likewise.
29406 * configure.in: Likewise.
29407 * csu/Versions: Likewise.
29408 * csu/init.c: Likewise.
29409 * elf/tst-audit2.c: Likewise.
29410 * elf/tst-tls10.c: Likewise.
29411 * elf/tst-tls10.h: Likewise.
29412 * elf/tst-tls11.c: Likewise.
29413 * elf/tst-tls12.c: Likewise.
29414 * elf/tst-tls14.c: Likewise.
29415 * elf/tst-tlsmod11.c: Likewise.
29416 * elf/tst-tlsmod12.c: Likewise.
29417 * elf/tst-tlsmod13.c: Likewise.
29418 * elf/tst-tlsmod13a.c: Likewise.
29419 * elf/tst-tlsmod14a.c: Likewise.
29420 * elf/tst-tlsmod15b.c: Likewise.
29421 * elf/tst-tlsmod16a.c: Likewise.
29422 * elf/tst-tlsmod16b.c: Likewise.
29423 * elf/tst-tlsmod7.c: Likewise.
29424 * elf/tst-tlsmod8.c: Likewise.
29425 * elf/tst-tlsmod9.c: Likewise.
29426 * gmon/gmon.c: Likewise.
29427 * grp/fgetgrent_r.c: Likewise.
29428 * grp/putgrent.c: Likewise.
29429 * hurd/fopenport.c: Likewise.
29430 * include/libc-symbols.h: Likewise.
29431 * include/tls.h: Likewise.
29432 * intl/gettextP.h: Likewise.
29433 * intl/loadinfo.h: Likewise.
29434 * locale/global-locale.c: Likewise.
29435 * locale/localeinfo.h: Likewise.
29436 * mach/devstream.c: Likewise.
29437 * malloc/arena.c: Likewise.
29438 * malloc/set-freeres.c: Likewise.
29439 * misc/err.c: Likewise.
29440 * misc/getttyent.c: Likewise.
29441 * misc/mntent_r.c: Likewise.
29442 * posix/getopt.c: Likewise.
29443 * posix/wordexp.c: Likewise.
29444 * pwd/fgetpwent_r.c: Likewise.
29445 * resolv/Versions: Likewise.
29446 * resolv/res_hconf.c: Likewise.
29447 * shadow/fgetspent_r.c: Likewise.
29448 * shadow/putspent.c: Likewise.
29449 * stdio-common/printf_fphex.c: Likewise.
29450 * stdio-common/tmpfile.c: Likewise.
29451 * stdlib/abort.c: Likewise.
29452 * stdlib/fmtmsg.c: Likewise.
29453 * sunrpc/auth_unix.c: Likewise.
29454 * sunrpc/clnt_perr.c: Likewise.
29455 * sunrpc/clnt_tcp.c: Likewise.
29456 * sunrpc/clnt_udp.c: Likewise.
29457 * sunrpc/clnt_unix.c: Likewise.
29458 * sunrpc/openchild.c: Likewise.
29459 * sunrpc/svc_simple.c: Likewise.
29460 * sunrpc/svc_tcp.c: Likewise.
29461 * sunrpc/svc_udp.c: Likewise.
29462 * sunrpc/svc_unix.c: Likewise.
29463 * sunrpc/xdr.c: Likewise.
29464 * sunrpc/xdr_array.c: Likewise.
29465 * sunrpc/xdr_rec.c: Likewise.
29466 * sunrpc/xdr_ref.c: Likewise.
29467 * sunrpc/xdr_stdio.c: Likewise.
29469 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29471 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29473 2011-07-03 Andreas Jaeger <aj@suse.de>
29475 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29476 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29477 regenerate with gen-libm-tests.pl.
29479 2010-05-12 Petr Baudis <pasky@suse.cz>
29482 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29483 around j0() zero points by switching to j1().
29484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29489 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29491 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29496 Patch in part by Pavel Roskin <proski@gnu.org>.
29499 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29501 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29502 Free memory block if necessary.
29505 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29506 be NULL. Don't lock in this case.
29508 2011-09-09 Roland McGrath <roland@hack.frob.com>
29510 * elf/elf.h (ELFOSABI_GNU): New macro.
29511 (ELFOSABI_LINUX): Define to that.
29513 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29515 * string/strncat.c (strncat): Undef the symbol in case it has been
29516 defined in bits/string.h.
29518 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29520 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29522 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29525 2011-08-17 Andreas Jaeger <aj@suse.de>
29527 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29529 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29530 Ian Lance Taylor <iant@google.com>
29532 * math/libm-test.inc (lround_test): New testcase.
29533 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29535 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29537 * Makefile: Remove support for automatic cvs check-ins.
29538 * Makerules: Likewise.
29539 * config.make.in: Likewise.
29540 * configure.in: Likewise.
29541 * intl/Makefile: Likewise.
29542 * locale/Makefile: Likewise.
29543 * po/Makefile: Likewise.
29544 * posix/Makefile: Likewise.
29545 * sysdeps/gnu/Makefile: Likewise.
29546 * sysdeps/mach/hurd/Makefile: Likewise.
29547 * sysdeps/sparc/sparc32/Makefile: Likewise.
29550 * posix/Makefile (bug-regex32-ENV): Define.
29551 Patch by John Stanley <jpsinthemix@verizon.net>.
29553 * misc/Makefile (headers): Add bits/select2.h.
29554 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29555 * misc/bits/select2.h: New file.
29556 * include/bits/select2.h: New file.
29557 * debug/Makefile (routines): Add fdelt_chk.
29558 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29559 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29561 * debug/fdelt_chk.c: New file.
29563 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29564 * wcsmbs/test-wmemcmp.c: Likewise.
29565 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29566 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29568 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29570 * string/Makefile (strop-tests): Add memcmp.
29571 * string/test-wmemcmp.c: New file.
29572 * string/test-memcmp.c: Add wmemcmp support.
29574 2011-09-08 Roland McGrath <roland@hack.frob.com>
29577 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29580 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29581 garbage value in a __mach_port_mod_refs call in the cases of the
29582 task-self and thread-self ports.
29584 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29586 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29588 2011-09-08 Andreas Schwab <schwab@redhat.com>
29590 * elf/dl-load.c (lose): Check for non-null L.
29592 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29594 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29596 * elf/dl-libc.c (dlerror_run): Pass back error code from
29600 * elf/dl-load.c (lose): Free l_origin if it is valid.
29602 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29604 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29609 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29611 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29613 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29614 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29616 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29617 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29618 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29619 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29620 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29621 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29622 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29624 2011-08-15 Alan Modra <amodra@gmail.com>
29627 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29628 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29629 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29630 ppc_mcount to static-only-routines.
29631 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29633 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29634 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29636 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29639 for finite and infinity parameters.
29641 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29643 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29644 and add nop instructions for throughput optimization.
29645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29647 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29650 aligned copy for power7 with vector-scalar instructions.
29651 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29653 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29658 2011-09-07 Andreas Schwab <schwab@redhat.com>
29661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29664 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29666 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29667 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29668 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29669 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29672 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29674 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29675 Forgot to demangle the pointer.
29677 * sysdeps/i386/sysdep.h: Define atom_text_section.
29678 * sysdeps/x86_64/sysdep.h: Likewise.
29679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29680 section with atom_text_section.
29681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29683 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29689 already be defined. Change to take two parameters and don't assign
29690 result to variable. Adjust all users.
29691 Define INTERNAL_GETTIME if not already defined.
29692 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29695 HAVE_CLOCK_GETTIME_VSYSCALL.
29696 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29699 gettimeofday vsyscall, just use time.
29701 2011-09-06 Andreas Schwab <schwab@redhat.com>
29703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29706 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29708 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29712 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29714 syscall if possible.
29716 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29718 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29719 e_ident. Don't pass to find_mapsXX.
29720 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29722 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29725 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29726 * sysdeps/x86_64/multiarch/strchr.S: Update.
29727 Check bit_slow_BSF bit.
29728 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29729 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29730 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29732 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29735 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29737 (tryshell): Define.
29738 (__spawni): Change last parameter to be flag. Test
29739 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29740 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29741 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29742 * posix/spawni.c: Likewise.
29743 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29744 * posix/spawnp.c: Likewise. Change normal version to use
29745 SPAWN_XFLAGS_USE_PATH.
29746 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29747 SPAWN_XFLAGS_TRY_SHELL.
29750 * posix/glob.h: Remove gcc 1.x support.
29753 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29755 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29758 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29760 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29761 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29762 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29767 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29769 * sysdeps/x86_64/wcscmp.S: New file.
29771 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29772 wcscmp-c wcscmp-sse2
29773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29774 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29775 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29776 * wcsmbs/wcscmp.c: Allow renaming.
29778 2011-09-05 David S. Miller <davem@davemloft.net>
29780 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29781 stack slot, rather than the struct return pointer slot.
29782 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29783 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29785 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29787 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29789 * po/ja.po: Update from translation team.
29792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29793 kernel in 64-bit binaries.
29795 2011-09-01 David S. Miller <davem@davemloft.net>
29797 * elf/elf.h (HWCAP_SPARC_*): Move to..
29798 * sysdeps/sparc/sysdep.h: this new file and add new values.
29799 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29800 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29801 _DL_HWCAP_COUNT to 24.
29802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29804 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29805 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29806 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29808 instead of magic constants.
29809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29811 2011-08-31 David S. Miller <davem@davemloft.net>
29813 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29815 Reimplement to do errno handling inline.
29816 (SYSCALL_ERROR_HANDLER): New macro.
29817 (__SYSCALL_STRING): Do not do errno handling in asm.
29818 (__CLONE_SYSCALL_STRING): Delete.
29819 (__INTERNAL_SYSCALL_STRING): Delete.
29820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29821 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29822 (PSEUDO): Reimplement to do errno handling inline.
29823 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29824 (SYSCALL_ERROR_HANDLER): New macro.
29825 (__SYSCALL_STRING): Do not do errno handling in asm.
29826 (__CLONE_SYSCALL_STRING): Delete.
29827 (__INTERNAL_SYSCALL_STRING): Delete.
29828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29829 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29831 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29832 (inline_syscall*): Add 'err' argument.
29833 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29834 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29835 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29836 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29838 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29841 2011-08-30 Andreas Schwab <schwab@redhat.com>
29843 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29845 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29847 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29850 2011-08-24 David S. Miller <davem@davemloft.net>
29852 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29854 2011-08-24 Andreas Schwab <schwab@redhat.com>
29856 * elf/Makefile: Add rules to build and run unload8 test.
29857 * elf/unload8.c: New file.
29858 * elf/unload8mod1.c: New file.
29859 * elf/unload8mod1x.c: New file.
29860 * elf/unload8mod2.c: New file.
29861 * elf/unload8mod3.c: New file.
29863 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29866 2011-08-23 David S. Miller <davem@davemloft.net>
29868 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29869 subtract stack bias.
29870 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29871 %sp not %fp in calculations.
29872 (_JMPBUF_UNWINDS_ADJ): Likewise.
29874 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29875 (aio_suspend): Call it to force an exception region around the
29876 AIO_MISC_WAIT() invocation.
29878 2011-08-23 Andreas Schwab <schwab@redhat.com>
29880 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29883 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29885 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29887 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29888 and <dl-machine.h>.
29889 (Elf64_FuncDesc): Remove.
29891 2011-08-22 David S. Miller <davem@davemloft.net>
29893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29894 sigaltstack check, add missing cfi directives.
29895 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29896 missing cfi directives, and sigaltstack handling.
29898 2011-08-16 Andreas Schwab <schwab@redhat.com>
29901 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29902 object is seen twice.
29903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29905 * elf/Makefile (distribute): Add tst-initorder2.c.
29906 (tests): Add tst-initorder2.
29907 (modules-names): Add tst-initorder2a tst-initorder2b
29908 tst-initorder2c tst-initorder2d. Add rules to build them.
29909 ($(objpfx)tst-initorder2.out): New rule.
29910 * elf/tst-initorder2.c: New file.
29911 * elf/tst-initorder2.exp: New file.
29913 2011-08-22 Andreas Schwab <schwab@redhat.com>
29915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29917 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29918 dependencies back to end of function.
29920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29921 $(elfobjdir)/ld.so.
29923 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29926 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29928 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29929 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29930 of __vdso_gettimeofday.
29931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29932 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29934 (_libc_vdso_platform_setup): Remove initialization of
29935 __vdso_gettimeofday and __vdso_time.
29937 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29939 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29940 and fgetc_unlocked.
29941 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29944 * elf/dl-open.c (add_to_global): Report additions to the global scope
29945 for LD_DEBUG=scopes.
29946 (dl_open_worker): Also print scope of newly loaded dependencies.
29947 (_dl_show_scope): Indicate if there is no scope.
29950 * stdio-common/Makefile (tests): Add bug24.
29951 * stdio-common/bug24.c: New file.
29953 2011-08-19 Andreas Jaeger <aj@suse.de>
29956 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29957 non-existant file when using close-on-exec mode.
29959 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29962 the very first instruction.
29964 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29965 the CFI state in the end.
29966 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29967 inclusion of dl-trampoline.h.
29968 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29970 2011-08-19 Andreas Schwab <schwab@redhat.com>
29972 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29973 expectations for long double.
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29976 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29978 2011-08-14 David S. Miller <davem@davemloft.net>
29980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29981 artificual limit depends upon the system page size.
29983 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29985 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29986 * resolv/Makefile: Define CFLAGS-libresolv.
29988 2011-08-17 Andreas Schwab <schwab@redhat.com>
29990 * nss/makedb.c (compute_tables): Make variables used in nested
29993 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29995 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29996 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29997 if buffer was too small.
29999 * elf/pldd.c (main): Attach to all threads in the process.
30000 Rewrite /proc handling to use *at functions.
30002 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30004 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30005 specifies first scope to show.
30006 (dl_open_worker): Update callers. Move printing scope of new
30007 object to before the relocation.
30008 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30009 * sysdeps/generic/ldsodefs.h: Update declaration.
30011 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30012 string for the scope number.
30014 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30016 * nscd/servicescache.c (cache_addserv): Make sure written is always
30019 2011-08-14 Roland McGrath <roland@hack.frob.com>
30021 * sysdeps/i386/i486/bits/atomic.h
30022 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30023 statement expression, so as to suppress "set but not used" warning.
30024 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30026 * string/strncat.c (STRNCAT): Use prototype definition.
30028 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30029 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30031 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30032 (localedef-modules): Add localedef.
30033 (locale-modules): Add locale.
30035 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30036 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30037 to avoid a warning.
30039 2011-08-14 David S. Miller <davem@davemloft.net>
30041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30042 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30044 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30046 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30047 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30048 * elf/rtld.c (dl_main): Set l_name of vDSO.
30049 Call _dl_show_scope when DL_DEBUG_SCOPES.
30050 (process_dl_debug): Recognize scopes flag and also set it for all.
30051 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30052 Declare _dl_show_scope.
30054 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30055 (do_dlopen): Pass caller_dlopen to dl_open.
30056 (__libc_dlopen_mode): Initialize caller_dlopen.
30058 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30059 of libc. Make tolower call locale-independent. Optimize a bit by
30060 using isdigit instead of isalnum.
30061 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30063 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30065 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30066 was a dependency or dynamically loaded.
30068 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30070 * intl/l10nflist.c: Allow architecture-specific pop function.
30071 * sysdeps/x86_64/l10nflist.c: New file.
30073 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30076 2011-08-10 Andreas Schwab <schwab@redhat.com>
30078 * include/dirent.h: Add libc_hidden_proto for scandirat and
30079 scandirat64. Don't declare __scandirat64.
30080 * dirent/scandirat.c: Add libc_hidden_def.
30081 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30082 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30084 2011-08-10 David S. Miller <davem@davemloft.net>
30086 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30092 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30094 * Versions.def [libc]: Add GLIBC_2.15.
30095 * dirent/Makefile (routines): Add scandirat and scandirat64.
30096 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30098 * dirent/dirent.h: Declare scandirat and scandirat64.
30099 * dirent/scandirat.c: New file.
30100 * dirent/scandirat64.c: New file.
30101 * sysdeps/wordsize-64/scandirat.c: New file.
30102 * sysdeps/wordsize-64/scandirat64.c: New file.
30103 * dirent/opendir.c: Define opendirat.
30104 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30106 * dirent/scandir64.c: Adjust for scandir.c change.
30107 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30108 __scandirat64, and __scandir_cancel_handler.
30109 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30110 additional parameter and use openat instead of open (outside of ld.so).
30111 Add new __opendir as wrapper around __opendirat.
30112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30113 here without requiring old scandirat implementation.
30115 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30117 * dirent/scandir.c (cancel_handler): Renamed to
30118 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30119 defined. Adjust users.
30120 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30123 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30125 * string/test-string.h (IMPL): Use __STRING to expand name and then
30128 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30131 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30133 * string/Makefile: Update.
30134 (strop-tests): Append strncat.
30135 * string/test-wcscmp.c: New file.
30136 New comprehensive test for wcscmp.
30137 * string/test-strcmp.c: Update.
30138 (WIDE): New define.
30140 2011-07-22 Andreas Schwab <schwab@redhat.com>
30142 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30145 2011-07-26 Andreas Schwab <schwab@redhat.com>
30147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30148 encoding to ACE if AI_IDN.
30150 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30153 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30155 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30158 Fix overflow bug in strncat.
30159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30161 * string/test-strncat.c: Update.
30162 Add new tests for checking overflow bugs.
30164 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30167 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30168 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30169 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30171 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30172 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30173 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30174 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30177 (USE_AS_STRCAT): Define.
30178 Add strcat and strncat support.
30179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30181 2011-07-25 Andreas Schwab <schwab@redhat.com>
30183 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30184 __n bigger than INT_MAX+1.
30185 (__strncmp_g): Likewise.
30187 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30189 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30190 * libio/stido.h: Likewise.
30192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30197 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30200 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30204 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30209 (_dl_x86_64_save_sse): Likewise.
30211 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30215 (_dl_x86_64_save_sse): Likewise.
30217 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30219 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30221 2011-07-21 Andreas Schwab <schwab@redhat.com>
30223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30225 (_dl_x86_64_save_sse): Use correct AVX check.
30227 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30230 bug in strncpy/strncat.
30231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30233 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30235 * string/tester.c (test_strcat): Add tests for different alignments
30236 of source and destination.
30237 (test_strncat): Likewise.
30239 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30242 * posix/glob.c (glob): Check passed in values before using them in
30243 expressions to avoid some overflows.
30244 (glob_in_dir): Likewise.
30247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30248 check for AVX enablement so that we don't crash with old kernels and
30250 * elf/tst-audit4.c: Add same checks here.
30251 * elf/tst-audit6.c: Likewise.
30253 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30255 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30257 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30259 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30261 * po/cs.po: Update from translation team.
30262 * po/bg.po: Likewise.
30264 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30266 * misc/sys/cdefs.h: Add support for const attribute.
30267 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30268 to gnu_dev_{major,minor,makedev} functions.
30270 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30272 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30274 2011-07-20 Andreas Schwab <schwab@redhat.com>
30276 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30279 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30282 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30283 register in order to avoid conflicts with the soft frame pointer
30284 being held in r11 when necessary.
30285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30286 (INTERNAL_VSYSCALL_NCS): Likewise.
30288 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30290 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30291 * elf/dl-fini.c (_dl_fini): Adjust caller.
30292 * elf/dl-close.c (_dl_close_worker): Likewise.
30293 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30295 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30297 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30298 "aux_cache->nlibs < 0".
30300 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30301 in the reload-count case.
30303 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30306 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30307 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30309 * sysdeps/x86_64/multiarch/strcat.S: New file.
30310 * sysdeps/x86_64/multiarch/strncat.S: New file.
30311 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30313 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30314 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30315 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30316 (USE_AS_STRCAT): Define.
30317 Add strcat and strncat support.
30318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30321 * string/strncat.c: Update.
30322 (USE_AS_STRNCAT): Define.
30323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30324 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30326 * sysdeps/x86_64/multiarch/init-arch.h
30327 (bit_Prefer_PMINUB_for_stringop): New.
30328 (index_Prefer_PMINUB_for_stringop): Likewise.
30329 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30330 bit_Prefer_PMINUB_for_stringop.
30332 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30334 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30336 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30337 of casting of buffer.
30338 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30339 buffer32 and buffer64.
30340 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30341 writes instead of casting of buffer.
30342 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30344 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30347 2011-07-19 Andreas Schwab <schwab@redhat.com>
30349 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30351 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30353 * nscd/nscd.c (termination_handler): Don't do anything for a database
30354 if it has not yet been initialized.
30356 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30360 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30362 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30364 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30366 * po/nl.po: Update from translation team.
30367 * po/sv.po: Likewise.
30369 2011-07-16 Roland McGrath <roland@hack.frob.com>
30371 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30372 now disallowed by GCC.
30374 * configure.in (use-default-link): Default to yes if a test -shared
30375 link meets our qualifications.
30376 * configure: Regenerated.
30378 * config.make.in (output-format): New variable.
30379 * configure.in: Check for ld --print-output-format support.
30380 * configure: Regenerated.
30381 * Makerules ($(common-objpfx)format.lds)
30382 [$(output-format) != unknown]: Just use $(output-format),
30383 instead of the linker-script munging.
30385 2011-07-14 Roland McGrath <roland@hack.frob.com>
30387 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30388 of $(common-objpfx)shlib.lds.
30389 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30391 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30392 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30394 * configure.in (-z relro check): Adjust test code to add a large
30395 writable data section after it.
30396 * configure: Regenerated.
30398 2011-07-11 Roland McGrath <roland@hack.frob.com>
30400 * configure.in (-z relro check): Fix test code to make the variable
30402 * configure: Regenerated.
30404 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30406 * nscd/nscd.h (struct traced_file): Define.
30407 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30408 elements. Add traced_files.
30409 (inotify_fd): Declare.
30410 (register_traced_file): Declare.
30411 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30412 (inotify_fd): Export.
30413 (resolv_conf_descr): Remove.
30414 (nscd_init): Move inotify descriptor creation to main.
30415 Don't register files for notification here.
30416 (register_traced_file): New function.
30417 (invalidate_cache): Don't use reset_res to determine whether to call
30418 res_init, go through the list of registered files.
30419 (main_loop_poll): The inotify descriptors are now stored in the
30420 structures for the traced files.
30421 (main_loop_epoll): Likewise
30422 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30423 to __nss_disable_nscd.
30424 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30425 for a database anymore. Check the records for all the registered
30427 * nss/Makefile (libnss_files-routines): Add files-init.
30428 (libnss_db-routines): Add db-init.
30429 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30430 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30431 * nss/nss_db/db-init.c: New file.
30432 * nss/nss_files/files-init.c: New file.
30433 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30434 __nss_lookup_function.
30435 (__nss_lookup_function): Call nss_load_library.
30436 (nss_load_all_libraries): New function.
30437 (__nss_disable_nscd): Take parameter with callback function for files
30438 to register. Set is_nscd. Load all the DSOs for the NSS modules
30439 used for the cached services.
30440 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30441 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30442 options for features to all the files in nscd.
30444 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30446 2011-07-10 Roland McGrath <roland@hack.frob.com>
30448 * csu/elf-init.c (__libc_csu_init): Comment typo.
30450 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30452 * po/pl.po: Update from translation team.
30453 * po/ja.po: Likewise.
30454 * po/ru.po: Likewise.
30455 * po/ko.po: Likewise.
30456 * po/fr.po: Likewise.
30458 2011-07-09 Roland McGrath <roland@hack.frob.com>
30460 * configure.in (.ctors/.dtors header and trailer check):
30461 Use an empirical test on a built program.
30462 * configure: Regenerated.
30464 * configure.in (-z relro check): Use an empirical test on a built DSO.
30465 Detect, but do not require, on ia64.
30466 * configure: Regenerated.
30468 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30469 Update tests that use readelf to use $READELF instead.
30470 * configure: Regenerated.
30472 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30474 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30475 if the result is not used.
30477 2011-07-05 Andreas Jaeger <aj@suse.de>
30480 * stdlib/tst-strtod.c: Add testcase.
30482 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30484 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30485 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30486 The latter has a higher limit. Take additional parameter to pass to
30488 (__pathconf): Pass file to __statfs_link_max.
30489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30491 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30495 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30499 (__statfs_filesize_max): Likewise.
30500 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30502 2011-07-05 Andreas Jaeger <aj@suse.de>
30504 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30506 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30508 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30510 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30513 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30515 * Makefile (strop-tests): Add strncat.
30516 * string/test-strncat.c: New file.
30518 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30520 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30522 2011-06-21 Andreas Jaeger <aj@suse.de>
30524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30525 Copy rule from iconvdata/Makefile.
30527 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30530 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30531 but no long options are defined, just return 'W'.
30533 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30536 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30538 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30540 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30542 (innetgr): Likewise.
30544 2011-07-05 Roland McGrath <roland@hack.frob.com>
30546 * config.make.in (install_root): Default to $(DESTDIR).
30548 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30552 2011-07-02 Roland McGrath <roland@hack.frob.com>
30554 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30556 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30557 containing directory rather than embedding absolute directory names.
30559 * scripts/check-local-headers.sh: Rewritten using awk.
30560 Match by word, not by line. Print error messages for matches.
30561 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30563 * Makerules [shlib-lds-flags empty]:
30564 ($(common-objpfx)libc_pic.opts): New target.
30565 ($(common-objpfx)libc_pic.os.clean): New target.
30566 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30568 * config.make.in (OBJCOPY): New variable.
30569 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30570 * configure: Regenerated.
30572 * config.make.in (use-default-link): New variable.
30573 * configure.in (use_default_link): Grok --with-default-link to set it.
30574 * configure: Regenerated.
30575 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30576 (shlib-lds, shlib-lds-flags): Define to empty.
30578 * Makerules (shlib-lds): New variable.
30579 (shlib-lds-flags): New variable.
30580 (build-shlib, build-moduile, build-module-asneeded): Use it.
30581 ($(common-objpfx)libc.so): Use $(shlib-lds).
30582 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30585 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30586 DT_FLAGS/DT_FLAGS_1 with zero flags.
30588 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30589 linker script munging.
30591 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30593 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30595 * crypt/sha512.c (sha512_process_block): Perform total addition using
30596 128-bit if possible.
30597 (__sha512_finish_ctx): Likewise.
30598 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30600 * crypt/sha256.c (SWAP64): Define.
30601 (sha256_process_block): Perform total addition using 64-bit if
30603 (__sha256_finish_ctx): Likewise.
30605 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30607 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30609 * nscd/hstcache.c (cache_addhst): Likewise.
30610 * nscd/grpcache.c (cache_addgr): Likewise.
30611 * nscd/aicache.c (addhstaiX): Likewise
30612 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30614 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30616 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30618 * nscd/hstcache.c (cache_addhst): Likewise.
30619 * nscd/grpcache.c (cache_addgr): Likewise.
30620 * nscd/aicache.c (addhstaiX): Likewise
30622 2011-07-01 Andreas Schwab <schwab@redhat.com>
30624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30625 domain only when needed.
30627 2011-06-30 Andreas Schwab <schwab@redhat.com>
30629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30630 is always restored.
30632 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30634 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30635 are re-adding the entry.
30636 * nscd/servicescache.c (cache_addserv): Likewise.
30638 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30640 * sysdeps/generic/dl-irel.h: fix protection against multiple
30642 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30644 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30647 * malloc/memusage.sh: Fix quoting in message.
30648 * debug/xtrace.sh: Likewise.
30650 * configure.in: Remove support for --experimental-malloc option, make
30652 * config.make.in: Likewise.
30653 * malloc/Makefile: Likewise.
30655 2011-06-27 Andreas Schwab <schwab@redhat.com>
30657 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30658 two-byte characters.
30660 2011-06-27 Roland McGrath <roland@hack.frob.com>
30662 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30663 AC_CACHE_CHECK invocation.
30664 * configure: Regenerated.
30666 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30668 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30671 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30672 bit from old_res_options.
30674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30676 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30677 value type for setfct.
30679 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30682 __gettimeofday instead of gettimeofday.
30684 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30686 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30688 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30695 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30698 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30699 strcpy-sse2-unaligned strncpy-sse2-unaligned
30700 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30701 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30702 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30703 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30704 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30707 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30708 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30709 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30710 (STRCPY): Support SSE2 and SSSE3 versions.
30712 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30716 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30717 kernels which artificially limit size of requests.
30719 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30722 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30723 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30724 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30725 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30726 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30727 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30728 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30729 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30731 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30732 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30733 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30734 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30735 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30737 Enable unaligned load optimization for Intel Core i3, i5 and i7
30739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30741 (index_Fast_Unaligned_Load): Define.
30742 (HAS_FAST_UNALIGNED_LOAD): Define.
30744 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30746 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30748 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30752 until it is clear that the information is realy needed.
30753 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30755 2011-06-22 Andreas Schwab <schwab@redhat.com>
30757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30759 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30762 /sys/devices/system/cpu/online if it is usable.
30764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30765 reading the information from the /proc filesystem to once a second.
30767 2011-06-21 Andreas Jaeger <aj@suse.de>
30769 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30770 NULL after inclusion of kernel headers.
30772 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30774 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30775 calls to internal_setent.
30778 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30779 addresses using gethostbyname4_r ignore IPv4 addresses.
30781 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30782 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30784 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30786 2011-06-20 David S. Miller <davem@davemloft.net>
30788 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30790 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30792 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30793 (elf_irel): Use it.
30794 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30795 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30796 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30797 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30798 * sysdeps/x86_64/dl-irel.h: Likewise.
30800 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30801 * elf/dl-sym.c: Likewise.
30803 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30805 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30806 need to dereference resplen2.
30808 2011-06-14 Andreas Schwab <schwab@redhat.com>
30810 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30812 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30814 * Makeconfig: Define vardbdir and inst_vardbdir.
30815 * nss/Makefile: Add rules to install db-Makefile.
30817 * nss/nss_db/db-XXX.c: Cleanup.
30819 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30820 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30822 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30823 * nss/makedb.c: Implement -g option to specify that value strings
30824 are generated and should not be added to table iterated over for
30826 * nss/nss_db/db-initgroups.c: New file.
30828 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30831 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30832 (internal_getgrouplist): Adjust to name change.
30833 Update use_initgroups_entry if this is not the first call.
30834 * nss/databases.def: Add initgroups entry.
30836 * nss/makedb.c (compute_tables): Check result of multiple hash table
30837 sizes to minimize maximum chain length.
30839 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30841 * Versions.def: Add entry for libnss_db.
30842 * shlib-versions: Likewise.
30843 * nss/Makefile: Add rules to build libnss_db.
30844 * nss/Versions: Add libnss_db information. Organize libnss_files
30846 * nss/db-Makefile: Add gshadow support. Change rules for the new
30847 makedb progra. Some minor improvements to generate smaller files.
30848 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30850 * nss/makedb.c: ...here.
30851 Improve database format to be smaller and require less memory at
30853 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30855 * nss/nss_db/db-netgrp.c: Likewise.
30856 * nss/nss_db/db-open.c: Likewise.
30857 * nss/nss_files/flies-XXX.x: Adjust comments.
30858 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30859 * nss/nss_files/files-grp.c: Likewise.
30860 * nss/nss_files/files-hosts.c: Likewise.
30861 * nss/nss_files/files-network.c: Likewise.
30862 * nss/nss_files/files-proto.c: Likewise.
30863 * nss/nss_files/files-pwd.c: Likewise.
30864 * nss/nss_files/files-rpc.c: Likewise.
30865 * nss/nss_files/files-service.c: Likewise.
30866 * nss/nss_files/files-sgrp.c: Likewise.
30867 * nss/nss_files/files-spwd.c: Likewise.
30868 * nss/nss_db/db-alias.c: Removed.
30869 * nss/nss_db/dummy-db.h: Removed.
30871 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30873 * nss/makedb.c: Rewritten to not use database library.
30874 * nss/Makefile: Update to build new makedb program.
30876 2011-06-14 Andreas Jaeger <aj@suse.de>
30878 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30879 memset declaration.
30881 2011-06-10 Andreas Schwab <schwab@redhat.com>
30883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30886 2011-06-10 Roland McGrath <roland@hack.frob.com>
30888 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30889 * elf/Makefile ($(objpfx)ld.so): Likewise.
30891 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30892 Don't list ld.so twice in dependencies.
30894 * posix/bug-regex31.c: Include <stdlib.h>.
30896 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30898 * nis/nss_compat/compat-spwd.c
30899 (getspent_next_nss_netgr): Remove unused variable.
30900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30902 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30903 nonmembers" output to use the right array.
30905 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30907 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30909 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30910 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30911 * catgets/gencat.c (read_input_file): Likewise.
30912 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30914 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30915 variable definition inside #if's controlling its use.
30917 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30919 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30921 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30923 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30926 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30928 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30929 * configure: Regenerated.
30931 * Makerules: Revert last change.
30932 * elf/Makefile: Likewise.
30934 2011-06-09 Roland McGrath <roland@hack.frob.com>
30936 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30937 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30938 (reloc-link): Likewise.
30940 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30942 * elf/Makefile: Add rules to build pldd.
30943 * elf/pldd.c: New file.
30944 * elf/pldd-xx.c: New file.
30946 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30948 * version.h: Update for 2.15 development version.
30950 2011-06-07 David S. Miller <davem@davemloft.net>
30952 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30955 elf_machine_lazy_rel): Likewise.
30956 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30958 elf_machine_lazy_rel): Likewise.
30959 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30960 dl_hwcap via passed in argument.
30961 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30964 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30966 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30968 2011-06-06 Roland McGrath <roland@hack.frob.com>
30971 * manual/fdl-1.1.texi: New file, verbatim from:
30972 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30973 * manual/lgpl-2.1.texi: New file, verbatim from:
30974 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30975 * manual/Makefile (licenses): New variable, list those new file names.
30977 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30979 * manual/fdl.texi: File removed.
30980 * manual/lesser.texi: File removed.
30981 * manual/libc.texinfo (Copying, Documentation License):
30982 Use new @include file names, put @appendix directive before @include.
30984 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30987 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30988 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30989 (mq_open): Add __NTH.
30991 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30994 Assume Intel Core i3/i5/i7 processor if AVX is available.
30996 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31001 2011-05-31 Andreas Schwab <schwab@redhat.com>
31003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31004 memory. Use alloca_account. Fix memory leak when retrying.
31006 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31008 * version.h (RELEASE): Bump for 2.14 release.
31009 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31011 * config.make.in (RANLIB): Remove entry.
31013 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31015 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31016 (libc.pot): Work around missing support for .ksh extension in xgettext.
31019 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31020 if both request failed.
31021 (send_dg): In case of server errors clear resplen or *resplen2.
31024 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31025 when there are multiple maps.
31026 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31027 (_dl_fini): Remove test here.
31029 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31031 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31034 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31035 bit from old_res_options.
31036 (gaih_inet): Likewise.
31039 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31042 * resolv/res_init.c (res_setoptions): Make the code more compact.
31045 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31049 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31051 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31054 * malloc/malloc.h: Declare malloc hook variables as volatile.
31056 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31060 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31061 raise in the comment.
31062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31066 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31069 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31070 grow the buffers more if it already has to be sufficient.
31071 (build_wcs_upper_buffer): Likewise.
31072 * posix/regexec.c (check_matching): Likewise.
31073 (clean_state_log_if_needed): Likewise.
31074 (extend_buffers): Don't enlarge buffers beyond size of the input
31076 Patches mostly by Emil Wojak <emil@wojak.eu>.
31077 * posix/bug-regex32.c: New file.
31078 * posix/Makefile (tests): Add bug-regex32.
31080 * locale/findlocale.c (_nl_find_locale): Return right away if
31081 _nl_explode_name failed.
31082 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31086 * debug/xtrace.sh: Unify messages.
31087 * malloc/memusage.sh: Likewise.
31090 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31091 time symbol from vDSO. Substitute with vsyscall if not available.
31092 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31095 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31096 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31097 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31098 Add sendmmsg and internal_sendmmsg.
31099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31100 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31103 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31104 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31107 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31110 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31111 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31117 * iconvdata/Makefile (tests): Add bug-iconv9.
31118 * iconvdata/bug-iconv9.c: New file.
31120 2011-05-27 Andreas Schwab <schwab@redhat.com>
31123 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31125 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31128 (struct user_regs_struct): Change intcs field back to cs.
31130 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31132 * po/ja.po: Update from translation team.
31134 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31137 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31140 2011-05-20 Andreas Schwab <schwab@redhat.com>
31142 * stdlib/longlong.h: Update from GCC.
31144 2011-05-23 Andreas Schwab <schwab@redhat.com>
31146 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31148 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31149 Add parameter name.
31150 (__sysconf): Pass it down.
31152 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31155 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31158 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31159 add in in __libc_use_alloca calls. Adjust callers.
31160 (glob): Use malloc in some situations.
31162 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31163 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31166 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31168 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31169 and CLOCK_BOOTTIME_ALARM.
31172 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31175 * string/_strerror.c (__strerror_r): Print negative errors as signed
31179 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31180 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31181 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31183 * configure.in: Fix typo in redirection and correct removal of test
31184 files in two cases.
31187 * locale/setlocale.c (new_composite_name): Fix test to check for
31188 identical name of all categories.
31191 * libio/filedoalloc.c (local_isatty): New function.
31192 (_IO_file_doallocate): Use local_isatty.
31193 * stdio-common/perror.c (perror): In case a new stream is used
31194 forward the stream error.
31195 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31198 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31203 * include/alloca.h (extend_alloca_account): Define.
31206 * posix/regex.h: Fix comments with documentation of user-accessible
31207 fields after compilation and describe correct free'ing of pattern
31208 after re_compile_pattern.
31209 Patch by Reuben Thomas <rrt@sc3d.org>.
31211 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31213 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31214 and -mno-altivec to prevent the compiler from using Altivec and/or
31215 VSX instructions when the corresponding registers are not available.
31217 2011-05-19 Andreas Schwab <schwab@redhat.com>
31219 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31221 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31223 * libio/freopen.c (freopen): Use __dup2, not dup2.
31224 * libio/freopen64.c (freopen64): Likewise.
31226 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31229 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31230 * math/Makefile (tests): Add test-powl.
31231 (CFLAGS-test-powl.c): Define.
31232 * math/test-powl.c: New file.
31234 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31236 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31238 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31241 * iconvdata/gb18030.c: Update to GB18020-2005.
31243 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31245 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31246 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31247 Patch by Aharon Robbins <arnold@skeeve.com>.
31250 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31254 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31255 through underflows.
31258 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31259 point to strings before performing equality test for error_one_per_line
31263 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31267 (struct user_fpregs_struct): Avoid __uint*_t types.
31270 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31271 symbol info. Use it instead of calling _dl_addr locally.
31272 (lock_and_info): New function.
31273 (tr_freehook): Call lock_and_info and pass symbol info as additional
31274 parameter to tr_where.
31275 (tr_mallochook): Likewise.
31276 (tr_reallochook): Likewise.
31277 (tr_memalignhook): Likewise.
31279 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31280 used and couldn't be at all thread-safe.
31282 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31284 * libio/freopen.c (freopen): Don't close old file descriptor
31285 before the new one is opened. Instead dup the new file descriptor
31286 to the old one after the new stream is created.
31287 * libio/freopen64.c (freopen64): Likewise.
31288 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31289 * libio/fileops.c (_IO_new_file_close_it): Handle new
31290 _IO_FLAGS2_NOCLOSE flag.
31291 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31292 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31293 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31294 _IO_FLAGS2_NOCLOSE flag.
31295 * include/unistd.h: Add hidden_proto for dup3.
31296 Define __have_dup3.
31297 * io/dup3.c: Define hidden symbol.
31298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31301 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31302 when an incomplete long option is used.
31303 * posix/tst-getopt_long1.c: New file.
31304 * posix/Makefile (tests): Add tst-getopt_long1.
31307 * scripts/config.guess: Update from autoconf-2.68.
31308 * scripts/config.sub: Likewise.
31311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31313 (has_cpuclock): ...this. New function.
31314 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31315 macro here based on has_cpuclock code.
31318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31319 First byte (not low byte) is now always NUL.
31320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31323 Use non-cancelable interfaces.
31326 * locale/iso-639.def: Add entry for Sorani.
31329 * include/stdlib.h: Move include protection to the right place.
31330 Define abort_msg_s. Declare __abort_msg with it.
31331 * stdlib/abort.c (__abort_msg): Adjust type.
31332 * assert/assert.c (__assert_fail_base): New function. Majority
31333 of code from __assert_fail. Allocate memory for __abort_msg with
31335 (__assert_fail): Now call __assert_fail_base.
31336 * assert/assert-perr.c: Remove bulk of implementation. Use
31337 __assert_fail_base.
31338 * include/assert.hL Declare __assert_fail_base.
31339 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31341 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31343 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31347 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31348 until all modules are registered in the DTV.
31349 * elf/Makefile: Add rules to build and run tst-tls19.
31350 * elf/tst-tls19.c: New file.
31351 * elf/tst-tls19mod1.c: New file.
31352 * elf/tst-tls19mod2.c: New file.
31353 * elf/tst-tls19mod3.c: New file.
31354 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31357 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31361 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31362 two-byte sequence errors.
31363 * iconvdata/Makefile (tests): Add bug-iconv8.
31364 * iconvdata/bug-iconv8.c: New file.
31367 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31370 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31373 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31374 (dummy_getcfa): New function.
31375 (init): Get _Unwind_GetCFA address, use dummy if not found.
31376 (backtrace_helper): In recursion check, also check whether CFA changes.
31377 (__backtrace): Completely initialize arg.
31379 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31380 storing incomplete byte sequence in state object. Avoid testing for
31381 guaranteed too small input if we know there is enough data available.
31383 2011-05-11 Andreas Schwab <schwab@redhat.com>
31385 * Makeconfig (+link-pie): Indent.
31386 * Rules (binaries-pie): Define if $(have-fpie) and
31388 (binaries-shared): Also filter out $(binaries-pie).
31389 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31390 * nscd/Makefile (others-pie): Add nscd.
31391 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31392 ($(objpfx)nscd): Remove command override.
31393 * login/Makefile (others-pie): Add pt_chown.
31394 ($(objpfx)pt_chown): Remove command override.
31395 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31396 remove command overrides.
31398 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31400 * libio/tst_putwc.c: Fix error messages.
31403 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31404 currently writing and seek to current position when not.
31405 * libio/Makefile (tests): Add bug-fclose1.
31406 * libio/bug-fclose1.c: New file.
31408 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31411 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31412 don't set DF_1_NODELETE here.
31413 (do_lookup_x): When entering new entry test for copy relocation
31414 and if necessary set DF_1_NODELETE flag.
31415 * elf/tst-unique4.cc: New file.
31416 * elf/tst-unique4.h: New file.
31417 * elf/tst-unique4lib.cc: New file.
31418 * elf/Makefile: Add rules to build and run tst-unique4.
31419 Patch by Piotr Bury <pbury@goahead.com>.
31421 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31424 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31427 * misc/mntent_r.c (addmntent): Flush the stream after the output
31430 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31431 (is_trusted_path_normalize): Skip initial colon. Append slash
31432 to empty buffer. Duplicate is_trusted_path code but allow
31433 constructed patch to be prefix.
31434 (is_dst): Allow $ORIGIN followed by /.
31435 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31436 Correct testing of result of is_trusted_path_normalize
31437 (decompose_rpath): Fix warning.
31439 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31442 * grp/initgroups.c (internal_getgrouplist): When we found the service
31443 list through the initgroups entry in nsswitch.conf do not always
31444 continue on a successful lookup. Don't always use the
31445 __nss_group_database value if it is set.
31446 * nss/nsswitch.conf (initgroups): Change action for successful db
31447 lookup to continue for compatibility.
31449 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31452 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31454 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31456 * iconvdata/tst-tables.sh: Likewise.
31457 * iconvdata/cp770.c: New file.
31458 * iconvdata/cp771.c: New file.
31459 * iconvdata/cp772.c: New file.
31460 * iconvdata/cp773.c: New file.
31461 * iconvdata/cp774.c: New file.
31462 * iconvdata/testdata/CP770: New file.
31463 * iconvdata/testdata/CP770..UTF8: New file.
31464 * iconvdata/testdata/CP771: New file.
31465 * iconvdata/testdata/CP771..UTF8: New file.
31466 * iconvdata/testdata/CP772: New file.
31467 * iconvdata/testdata/CP772..UTF8: New file.
31468 * iconvdata/testdata/CP773: New file.
31469 * iconvdata/testdata/CP773..UTF8: New file.
31470 * iconvdata/testdata/CP774: New file.
31471 * iconvdata/testdata/CP774..UTF8: New file.
31473 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31475 * iconvdata/gen-8bit-gap.sh: Likewise.
31476 * iconvdata/gen-8bit.sh: Likewise.
31478 * locale/iso-639.def: Add ary entry.
31481 * locale/C-translit.h.in: Add U20A1 transliteration.
31484 * locale/iso-639.def: Add wae entry.
31485 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31488 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31492 * locale/C-translit.h.in: Add entry for U20B9.
31493 Patch by pravin.d.s@gmail.com.
31495 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31498 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31499 ENAMETOOLONG use generic getcwd.
31500 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31501 in rtld. Use *stat64.
31502 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31503 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31504 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31505 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31506 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31507 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31508 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31509 __fstatat64 macros.
31510 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31511 * dirent/rewinddir.c: Add libc_hidden_def.
31512 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31513 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31515 * include/dirent.h (__alloc_dir): Add flags parameter.
31516 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31517 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31519 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31520 from fdopendir if O_CLOEXEC is already set.
31522 2011-03-15 Alan Modra <amodra@gmail.com>
31524 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31525 l_tls_firstbyte_offset non-zero. Save padding offset in
31526 l_tls_firstbyte_offset for later use.
31527 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31528 freeing static tls block.
31530 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31532 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31533 where #ifdef was intended. The intent is to prevent ARG_MAX from
31534 being defined by the kernel headers.
31536 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31539 * resolv/resolv.h: Define RES_NOTLDQUERY.
31540 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31541 no-tld-query and set RES_NOTLDQUERY.
31542 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31543 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31544 modern BIND to search name as TLD unless forbidden.
31546 2011-05-07 Petr Baudis <pasky@suse.cz>
31547 Ulrich Drepper <drepper@gmail.com>
31550 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31551 (is_trusted_path): ...to here.
31552 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31553 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31554 using is_trusted_path_normalize() in setuid scripts.
31556 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31559 __BEGIN/__END_DECLS.
31561 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31564 NSS_STATUS_NOTFOUND if no record was found.
31566 2011-05-05 Andreas Schwab <schwab@redhat.com>
31568 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31569 (headers-not-in-tirpc): Remove rpc/netdb.h
31570 * resolv/netdb.h: Revert last change.
31572 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31574 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31575 circular dependency between libgcc.a and libc.a.
31577 2011-05-05 Andreas Schwab <schwab@redhat.com>
31579 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31580 * nis/Makefile: Don't install rpcsvc/*.
31581 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31582 instead of <rpc/types.h>.
31583 (MAXHOSTNAMELEN): Define.
31585 2011-05-03 Andreas Schwab <schwab@redhat.com>
31587 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31589 2011-04-28 Maciej Babinski <mbabinski@google.com>
31592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31593 gethostbyname4_r when IPv6 results are possible.
31595 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31598 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31599 _PC_PIPE_BUF handling.
31601 2011-04-30 Bruno Haible <bruno@clisp.org>
31604 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31605 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31607 * inet/getnameinfo.c (getnameinfo): Likewise.
31609 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31611 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31612 to groups setting in database lookup.
31613 * nss/nsswitch.conf: Add initgroups entry.
31615 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31618 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31620 Patch by Eric Blake <eblake@redhat.com>.
31622 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31624 * sunrpc/Makefile (need-export-routines): Add svc_run.
31625 (routines): Remove svc_run.
31626 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31627 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31628 * sunrpc/svc_run.c (svc_run): Likewise.
31629 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31631 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31634 problem in reallocation in last patch.
31636 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31638 * sunrpc/Makefile: Move inclusion of Rules.
31640 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31642 * nss/nss_files/files-initgroups.c: New file.
31643 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31644 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31645 _nss_files_initgroups_dyn.
31647 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31649 * elf/elf.h (R_ARM_IRELATIVE): Define.
31651 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31653 * po/ru.po: Update from translation team.
31655 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31657 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31660 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31663 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31664 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31669 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31677 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31680 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31682 * stdlib/bug-getcontext.c: New file.
31683 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31685 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31687 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31688 instructions into .machine "z9-109".
31689 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31690 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31692 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31694 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31695 between environment variables and auxiliary vector.
31697 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31699 * Makefile: Add rules to build linkobj/libc.so.
31700 * include/libc-symbols.h: Define libc_hidden_nolink.
31701 * include/rpc/auth.h: Mark functions which are to be hidden.
31702 * include/rpc/auth_des.h: Likewise.
31703 * include/rpc/auth_unix.h: Likewise.
31704 * include/rpc/clnt.h: Likewise.
31705 * include/rpc/des_crypt.h: Likewise.
31706 * include/rpc/key_prot.h: Likewise.
31707 * include/rpc/pmap_clnt.h: Likewise.
31708 * include/rpc/pmap_prot.h: Likewise.
31709 * include/rpc/pmap_rmt.h: Likewise.
31710 * include/rpc/rpc_msg.h: Likewise.
31711 * include/rpc/svc.h: Likewise.
31712 * include/rpc/svc_auth.h: Likewise.
31713 * include/rpc/xdr.h: Likewise.
31714 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31715 * nss/Makefile: Likewise.
31716 * sunrpc/Makefile: Don't install headers. Build library with normal
31717 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31718 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31719 for the compat linking library. Remove use of INTDEF/INTUSE.
31720 * sunrpc/auth_none.c: Likewise.
31721 * sunrpc/auth_unix.c: Likewise.
31722 * sunrpc/authdes_prot.c: Likewise.
31723 * sunrpc/authuxprot.c: Likewise.
31724 * sunrpc/clnt_gen.c: Likewise.
31725 * sunrpc/clnt_perr.c: Likewise.
31726 * sunrpc/clnt_raw.c: Likewise.
31727 * sunrpc/clnt_simp.c: Likewise.
31728 * sunrpc/clnt_tcp.c: Likewise.
31729 * sunrpc/clnt_udp.c: Likewise.
31730 * sunrpc/clnt_unix.c: Likewise.
31731 * sunrpc/des_crypt.c: Likewise.
31732 * sunrpc/des_soft.c: Likewise.
31733 * sunrpc/get_myaddr.c: Likewise.
31734 * sunrpc/key_call.c: Likewise.
31735 * sunrpc/key_prot.c: Likewise.
31736 * sunrpc/netname.c: Likewise.
31737 * sunrpc/pm_getmaps.c: Likewise.
31738 * sunrpc/pm_getport.c: Likewise.
31739 * sunrpc/pmap_clnt.c: Likewise.
31740 * sunrpc/pmap_prot.c: Likewise.
31741 * sunrpc/pmap_prot2.c: Likewise.
31742 * sunrpc/pmap_rmt.c: Likewise.
31743 * sunrpc/publickey.c: Likewise.
31744 * sunrpc/rpc_cmsg.c: Likewise.
31745 * sunrpc/rpc_common.c: Likewise.
31746 * sunrpc/rpc_dtable.c: Likewise.
31747 * sunrpc/rpc_prot.c: Likewise.
31748 * sunrpc/rpc_thread.c: Likewise.
31749 * sunrpc/rtime.c: Likewise.
31750 * sunrpc/svc.c: Likewise.
31751 * sunrpc/svc_auth.c: Likewise.
31752 * sunrpc/svc_authux.c: Likewise.
31753 * sunrpc/svc_raw.c: Likewise.
31754 * sunrpc/svc_run.c: Likewise.
31755 * sunrpc/svc_simple.c: Likewise.
31756 * sunrpc/svc_tcp.c: Likewise.
31757 * sunrpc/svc_udp.c: Likewise.
31758 * sunrpc/svc_unix.c: Likewise.
31759 * sunrpc/svcauth_des.c: Likewise.
31760 * sunrpc/xcrypt.c: Likewise.
31761 * sunrpc/xdr.c: Likewise.
31762 * sunrpc/xdr_array.c: Likewise.
31763 * sunrpc/xdr_float.c: Likewise.
31764 * sunrpc/xdr_intXX_t.c: Likewise.
31765 * sunrpc/xdr_mem.c: Likewise.
31766 * sunrpc/xdr_rec.c: Likewise.
31767 * sunrpc/xdr_ref.c: Likewise.
31768 * sunrpc/xdr_sizeof.c: Likewise.
31769 * sunrpc/xdr_stdio.c: Likewise.
31771 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31774 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31775 * sysdeps/ia64/dl-tls.h: Likewise.
31776 * sysdeps/powerpc/dl-tls.h: Likewise.
31777 * sysdeps/s390/dl-tls.h: Likewise.
31778 * sysdeps/sh/dl-tls.h: Likewise.
31779 * sysdeps/sparc/dl-tls.h: Likewise.
31780 * sysdeps/x86_64/dl-tls.h: Likewise.
31781 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31783 2011-03-14 Andreas Schwab <schwab@redhat.com>
31785 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31786 rpath element also skip the following colon.
31787 (expand_dynamic_string_token): Add is_path parameter and pass
31788 down to DL_DST_REQUIRED and _dl_dst_substitute.
31789 (decompose_rpath): Call expand_dynamic_string_token with
31790 non-zero is_path. Ignore empty rpaths.
31791 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31794 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31799 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31802 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31803 Patch by Filipe David Manana <fdmanana@apache.org>.
31805 2011-04-07 Andreas Schwab <schwab@redhat.com>
31807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31808 Maintain aligned stack.
31809 (CHECK_RSP): Remove unused macro.
31811 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31813 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31816 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31818 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31820 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31822 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31825 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31826 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31827 * sysdeps/x86_64/memmove.c: New file.
31828 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31829 (memcpy): Renamed to ...
31830 (__new_memcpy): This.
31831 (memcpy): Provide GLIBC_2_14 memcpy.
31832 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31833 (memcpy): Provide GLIBC_2_2_5 memcpy.
31835 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31838 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31840 2011-03-30 Andreas Schwab <schwab@redhat.com>
31842 * misc/syncfs.c: New file.
31843 * misc/Makefile (routines): Add syncfs.
31844 * posix/unistd.h: Declare syncfs.
31845 * sysdeps/unix/syscalls.list: Add syncfs.
31847 2011-04-01 Andreas Schwab <schwab@redhat.com>
31849 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31856 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31859 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31869 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31870 sync_file_range.c with -fexceptions.
31871 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31872 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31873 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31874 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31875 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31876 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31878 sync_file_range as cancellation point
31879 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31880 now a wrapper around __call_sync_file_range with cancellation handling.
31881 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31883 function name to __call_sync_file_range.
31884 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31885 Add call_sync_file_range.
31887 2011-04-01 Andreas Schwab <schwab@redhat.com>
31889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31892 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31894 * iconv/iconv.h: Fix typo in comment.
31895 * io/fcntl.h: Likewise.
31896 * libio/stdio.h: Likewise.
31897 * posix/spawn.h: Likewise.
31898 * posix/unistd.h: Likewise.
31899 * stdlib/stdlib.h: Likewise.
31900 * time/time.h: Likewise.
31901 * wcsmbs/wchar.h: Likewise.
31903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31904 open_by_handle): Add.
31905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31906 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31907 Augment a few comments.
31908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31913 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31916 * io/fcntl.h (AT_EMPTY_PATH): Define.
31918 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31920 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31921 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31922 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31924 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31925 * Versions.def: Add GLIBC_2.14.
31926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31929 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31933 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31935 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31938 * string/test-strncmp.c (do_page_test): New function.
31939 (check2): Likewise.
31940 (test_main): Call check2.
31941 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31943 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31946 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31947 Handle cache information in CPU leaf 4.
31948 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31950 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31953 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31954 character representation.
31955 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31957 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31960 END(__isnan) to END(__isnanf) to match function entry point/label
31961 EALIGN(__isnanf,...).
31963 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31965 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31967 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31970 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31971 copy from the symbol referenced in the relocation to initialize the
31973 Patch by Piotr Bury <pbury@goahead.com>.
31974 * elf/Makefile: Add rules to build and tst-unique3.
31975 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31976 * elf/tst-unique3.cc: New file.
31977 * elf/tst-unique3.h: New file.
31978 * elf/tst-unique3lib.cc: New file.
31979 * elf/tst-unique3lib2.cc: New file.
31981 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31983 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31985 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31986 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31989 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31991 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31992 to-be-loaded object along a path to loader is ld.so.
31994 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31995 Ulrich Drepper <drepper@gmail.com>
31997 * sysdeps/x86_64/memset.S: After aligning destination, code
31998 branches to different locations depending on the value of
31999 misalignment, when multiarch is enabled. Fix this.
32001 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32003 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32004 Set _x86_64_preferred_memory_instruction for AMD processsors.
32005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32006 Set bit_Prefer_SSE_for_memop for AMD processors.
32008 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32010 * libio/fmemopen.c (fmemopen): Optimize a bit.
32012 2011-03-03 Andreas Schwab <schwab@redhat.com>
32014 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32016 2011-03-03 Roland McGrath <roland@redhat.com>
32018 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32020 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32022 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32023 __bzero_ultra1 instead of __memset_ultra1.
32025 2011-02-23 Andreas Schwab <schwab@redhat.com>
32026 Ulrich Drepper <drepper@gmail.com>
32029 * include/link.h (struct link_map): Add l_orig_initfini.
32030 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32031 returning unsuccessfully.
32032 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32033 close of a file loaded at startup, restore the original l_initfini
32035 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32036 list, store the pointer.
32037 * elf/Makefile ($(objpfx)noload-mem): New rule.
32038 (noload-ENV): Define.
32039 (tests): Add $(objpfx)noload-mem.
32040 * elf/noload.c: Include <memcheck.h>.
32041 (main): Call mtrace. Close all opened handles.
32043 2011-02-17 Andreas Schwab <schwab@redhat.com>
32046 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32047 dependencies are missing.
32049 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32051 Fix __if_freereq crash: Unlike the generic version which uses free,
32053 * sysdeps/mach/hurd/ifreq.h: New file.
32055 2011-01-27 Petr Baudis <pasky@suse.cz>
32056 Ulrich Drepper <drepper@gmail.com>
32059 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32060 to extend_alloca().
32061 * stdio-common/bug23.c: New file.
32062 * stdio-common/Makefile (tests): Add bug23.
32064 2010-09-28 Andreas Schwab <schwab@redhat.com>
32065 Ulrich Drepper <drepper@gmail.com>
32068 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32069 before performing relro protection. At old place add assertion
32070 to make sure nothing changed.
32072 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32073 Glauber de Oliveira Costa <glommer@gmail.com>
32075 * elf/elf.h: Add new ARM TLS relocs.
32077 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32080 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32082 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32084 * sysdeps/wordsize-64/tst-writev.c: New file.
32086 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32088 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32089 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32090 insns in _dl_start to prevent a TOC reference before relocs are
32093 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32096 * Makeconfig: Remove RANLIB definition.
32097 * Makerules: Don't use RANLIB.
32098 * aclocal.m4: Remove ranlib test.
32099 * configure.in: No need to check for ranlib.
32100 * elf/rtld-Rules: Don't use RANLIB.
32102 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32104 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32106 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32107 inclusion protection macro.
32109 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32110 SIGRTMIN and SIGRTMAX and print information in that case only when
32111 SIGRTMIN is defined.
32113 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32115 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32116 arginfo fn returning -1.
32118 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32119 and thousands string is zero terminated.
32121 2011-02-03 Andreas Schwab <schwab@redhat.com>
32123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32124 sysdeps/unix/sysv/linux/bits/socket.h.
32126 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32128 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32129 (__CPU_COUNT): Remove old macros.
32130 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32131 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32132 (__CPU_ALLOC, __CPU_FREE): Add macros.
32133 (__sched_cpualloc, __sched_cpufree): Add declarations.
32135 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32137 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32138 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32139 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32140 (readdhstai): Return value of addhstaiX call.
32141 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32142 (addgrbyX): Return value returned by cache_addgr.
32143 (readdgrbyname): Return value returned by addgrbyX.
32144 (readdgrbygid): Likewise.
32145 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32146 (addpwbyX): Return value returned by cache_addpw.
32147 (readdpwbyname): Return value returned by addhstbyX.
32148 (readdpwbyuid): Likewise.
32149 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32150 (addservbyX): Return value returned by cache_addserv.
32151 (readdservbyname): Return value returned by addservbyX:
32152 (readdservbyport): Likewise.
32153 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32154 (addhstbyX): Return value returned by cache_addhst.
32155 (readdhstbyname): Return value returned by addhstbyX.
32156 (readdhstbyaddr): Likewise.
32157 (readdhstbynamev6): Likewise.
32158 (readdhstbyaddrv6): Likewise.
32159 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32160 (readdinitgroups): Return value returned by addinitgroupsX.
32161 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32162 (prune_cache): Keep track of timeout value of re-added entries.
32163 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32164 * nscd/nscd.h: Adjust prototypes of readd* functions.
32166 2011-02-04 Roland McGrath <roland@redhat.com>
32168 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32169 (nis_stats): Likewise.
32170 * nis/nis_modify.c (nis_modify): Likewise.
32171 * nis/nis_remove.c (nis_remove): Likewise.
32172 * nis/nis_add.c (nis_add): Likewise.
32174 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32176 * posix/fnmatch_loop.c: Add some consts.
32178 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32180 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32183 * config.make.in (config-cflags-novzeroupper): Define.
32184 * configure.in: Substitute libc_cv_cc_novzeroupper.
32185 * elf/Makefile (AVX-CFLAGS): Define.
32186 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32187 (CFLAGS-tst-auditmod4a.c): Likewise.
32188 (CFLAGS-tst-auditmod4b.c): Likewise.
32189 (CFLAGS-tst-auditmod6b.c): Likewise.
32190 (CFLAGS-tst-auditmod6c.c): Likewise.
32191 (CFLAGS-tst-auditmod7b.c): Likewise.
32192 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32194 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32196 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32197 function to the callback.
32198 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32200 2011-02-02 Andreas Schwab <schwab@redhat.com>
32202 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32205 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32208 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32210 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32212 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32215 * elf/Makefile: Add rules to build and run new test.
32216 * elf/tst-initorder.c: New file.
32217 * elf/tst-initorder.exp: New file.
32218 * elf/tst-initordera1.c: New file.
32219 * elf/tst-initordera2.c: New file.
32220 * elf/tst-initordera3.c: New file.
32221 * elf/tst-initordera4.c: New file.
32222 * elf/tst-initorderb1.c: New file.
32223 * elf/tst-initorderb2.c: New file.
32224 * elf/tst-order-a1.c: New file.
32225 * elf/tst-order-a2.c: New file.
32226 * elf/tst-order-a3.c: New file.
32227 * elf/tst-order-a4.c: New file.
32228 * elf/tst-order-b1.c: New file.
32229 * elf/tst-order-b2.c: New file.
32230 * elf/tst-order-main.c: New file.
32231 New test case by George Gensure <werkt0@gmail.com>.
32233 2010-10-01 Andreas Schwab <schwab@redhat.com>
32235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32236 decoding ACE if AI_CANONIDN.
32238 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32240 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32242 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32244 * version.h (RELEASE): Bump for 2.13 release.
32245 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32247 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32249 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32251 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32258 * posix/getconf.c: Update copyright year.
32259 * catgets/gencat.c: Likewise.
32260 * csu/version.c: Likewise.
32261 * debug/catchsegv.sh: Likewise.
32262 * debug/xtrace.sh: Likewise.
32263 * elf/ldconfig.c: Likewise.
32264 * elf/ldd.bash.in: Likewise.
32265 * elf/sprof.c (print_version): Likewise.
32266 * iconv/iconv_prog.c: Likewise.
32267 * iconv/iconvconfig.c: Likewise.
32268 * locale/programs/locale.c: Likewise.
32269 * locale/programs/localedef.c: Likewise.
32270 * malloc/memusage.sh: Likewise.
32271 * malloc/mtrace.pl: Likewise.
32272 * nscd/nscd.c (print_version): Likewise.
32273 * nss/getent.c: Likewise.
32275 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32276 PF_CAIF, and PF_ALG.
32277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32279 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32281 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32282 (modules-names): Use them.
32283 (ifunc-test-modules, ifunc-pie-tests): Define.
32284 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32285 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32286 (test-extras): Likewise.
32287 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32288 $(compile-command.c).
32289 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32290 (all-built-dso): Define.
32291 (check-textrel.out, check-execstack.out): Depend on it.
32293 * configure.in: Don't override --enable-multi-arch.
32295 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32298 * nscd/hstcache.c (tryagain): Define.
32299 (cache_addhst): Return tryagain not notfound for temporary errors.
32300 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32303 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32307 to make the syscall.
32308 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32311 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32312 and fall back to matching as normal character if the string ends before
32313 the matching ']' is found. This is what POSIX requires.
32314 * posix/testfnm.c: Adjust test result.
32315 * posix/globtest.sh: Adjust test result. Add new test.
32316 * posix/tst-fnmatch.input: Likewise.
32317 * posix/tst-fnmatch2.c: Add new test.
32319 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32321 * elf/Makefile (check-execstack): Revert last change. Depend on
32323 (check-execstack.h): New target.
32324 (generated): Add check-execstack.h.
32325 * elf/check-execstack.c: Include "check-execstack.h".
32326 (main): Revert last change.
32327 (handle_file): Return zero if GNU_STACK is absent and
32328 DEFAULT_STACK_PERMS doesn't include PF_X.
32330 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32332 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32333 in child fails because the descriptor is already closed.
32334 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32335 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32336 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32339 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32343 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32344 temporary buffer used to handle multi lookups locally.
32345 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32347 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32349 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32352 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32354 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32355 alignment for SSE2.
32357 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32360 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32361 characters. When rounding increased number of integer digits recompute
32363 * stdio-common/tst-grouping.c: New file.
32364 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32366 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32368 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32369 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32371 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32373 * bits/select.h: Likewise.
32375 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32377 * po/ja.po: Update from translation team.
32379 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32382 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32383 implementation just like for lxstat, fxstatat, et al.
32385 2010-12-27 Jim Meyering <meyering@redhat.com>
32388 * posix/regexec.c (build_trtable): Return failure indication upon
32389 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32391 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32394 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32395 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32400 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32403 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32404 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32406 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32408 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32409 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32410 script has SORT_BY_INIT_PRIORITY.
32411 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32412 NO_CTORS_DTORS_SECTIONS is defined.
32413 * elf/soinit.c: Likewise.
32414 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32415 NO_CTORS_DTORS_SECTIONS is defined.
32416 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32417 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32418 * sysdeps/sh/init-first.c: Likewise.
32419 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32421 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32423 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32424 always use the slow path.
32426 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32428 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32429 similar rule which adds the sysdep directories to the header search in
32430 order to pick up the correct platform stackinfo.h.
32431 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32432 perform test if it is, otherwise return successfully without testing.
32433 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32434 DEFAULT_STACK_PERMS define in stackinfo.h.
32435 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32436 defined in stackinfo.h.
32437 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32438 DEFAULT_STACK_PERMS defined in stackinfo.h.
32439 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32440 * sysdeps/ia64/stackinfo.h: Likewise.
32441 * sysdeps/s390/stackinfo.h: Likewise.
32442 * sysdeps/sh/stackinfo.h: Likewise.
32443 * sysdeps/sparc/stackinfo.h: Likewise.
32444 * sysdeps/x86_64/stackinfo.h: Likewise.
32445 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32446 PF_X for powerpc64. Retain PF_X for powerpc32.
32448 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32450 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32452 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32453 GETDENTS_64BIT_ALIGNED.
32455 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32457 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32459 2010-12-10 Andreas Schwab <schwab@redhat.com>
32461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32465 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32467 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32468 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32470 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32473 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32476 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32478 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32480 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32482 * po/it.po: Update from translation team.
32484 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32489 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32491 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32493 2010-11-24 Andreas Schwab <schwab@redhat.com>
32495 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32497 (gaih_getanswer_slice): Likewise.
32499 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32503 2010-05-31 Petr Baudis <pasky@suse.cz>
32506 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32507 silently even in the chroot mode.
32509 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32512 last patch a bit. Pretty printing
32514 2010-05-31 Petr Baudis <pasky@suse.cz>
32517 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32518 initialization of skip_initgroups_dyn.
32520 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32525 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32527 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32529 2010-11-11 Andreas Schwab <schwab@redhat.com>
32531 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32532 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32533 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32534 ($(objpfx)tst-fnmatch-mem): New rule.
32535 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32536 * posix/tst-fnmatch.c (main): Call mtrace.
32538 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32541 Support Intel processor model 6 and model 0x2c.
32543 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32548 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32551 * string/test-strncasecmp.c (check_result): New function.
32552 (do_one_test): Use it.
32553 (check1): New function.
32554 (test_main): Use it.
32555 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32556 Support strcasecmp and strncasecmp.
32558 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32561 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32564 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32566 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32570 * sysdeps/x86_64/multiarch/bzero.S: New file.
32571 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32572 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32573 * sysdeps/x86_64/multiarch/memset.S: New file.
32574 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32576 Set bit_Prefer_SSE_for_memop for Intel processors.
32577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32579 (index_Prefer_SSE_for_memop): Define.
32580 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32582 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32584 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32587 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32590 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32591 (__x86_64_raw_data_cache_size_half): Likewise.
32592 (__x86_64_raw_shared_cache_size): Likewise.
32593 (__x86_64_raw_shared_cache_size_half): Likewise.
32595 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32596 (__x86_64_raw_data_cache_size_half): Likewise.
32597 (__x86_64_raw_shared_cache_size): Likewise.
32598 (__x86_64_raw_shared_cache_size_half): Likewise.
32599 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32600 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32601 and __x86_64_raw_shared_cache_size_half. Round
32602 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32603 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32604 to multiple of 256 bytes.
32606 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32610 of inacessible symlinks. Verify result of symlink before returning it.
32611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32612 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32614 2010-10-28 Erich Ritz <erichritz@gmail.com>
32616 * math/math.h (isinf): Fix typo in comment.
32618 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32620 * po/da.po: Update from translation team.
32622 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32624 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32625 is added to the list.
32627 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32628 Ulrich Drepper <drepper@gmail.com>
32630 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32631 the global list here. Move code to...
32632 (_dl_add_to_namespace_list): ...here. New function.
32633 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32634 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32635 * elf/dl-load.c (lose): Don't remove the element from the list.
32636 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32637 (_dl_map_object): Likewise.
32639 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32642 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32643 into all bytes of SSE register.
32644 Patch by Richard Li <richardpku@gmail.com>.
32646 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32649 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32652 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32654 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32655 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32657 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32662 2010-10-22 Andreas Schwab <schwab@redhat.com>
32664 * include/dlfcn.h (__RTLD_SECURE): Define.
32665 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32666 mode & __RTLD_SECURE instead.
32667 (open_path): Rename preloaded parameter to secure.
32668 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32669 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32670 * elf/dl-deps.c (openaux): Likewise.
32671 * elf/rtld.c (struct map_args): Remove is_preloaded.
32672 (map_doit): Don't use it.
32673 (dl_main): Likewise.
32674 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32675 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32677 2010-09-09 Andreas Schwab <schwab@redhat.com>
32679 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32680 (sysd-rules-targets): Remove duplicates.
32681 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32682 rtld-%.$o dependency.
32684 2010-10-18 Andreas Schwab <schwab@redhat.com>
32686 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32687 _dl_map_object do it.
32689 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32691 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32692 fast fma builtins, define the macros in the C99 standard.
32693 (FP_FAST_FMAF): Likewise.
32694 (FP_FAST_FMAL): Likewise.
32695 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32697 * bits/mathdef.h: Update copyright year.
32698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32700 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32702 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32703 builtins, define the macros in the C99 standard.
32704 (FP_FAST_FMAF): Likewise.
32705 (FP_FAST_FMAL): Likewise.
32706 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32708 (FP_FAST_FMAF): Likewise.
32710 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32713 * math/libm-test.inc (fma_test): Some new testcases.
32714 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32716 y and infinite z. Do multiplication by C already in long double.
32717 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32719 y and infinite z. Do bitwise or of inexact bit into u.d.
32720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32721 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32722 * sysdeps/i386/fpu/s_fma.S: Removed.
32723 * sysdeps/i386/fpu/s_fmal.S: Removed.
32725 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32728 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32730 computation is not scheduled after fetestexcept. Fix value
32731 of minimum denormal long double.
32733 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32736 * math/libm-test.inc (fma_test): Add some more tests.
32737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32740 2010-10-15 Andreas Schwab <schwab@redhat.com>
32742 * scripts/data/localplt-s390-linux-gnu.data: New file.
32743 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32745 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32748 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32749 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32751 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32753 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32755 if one of x and y is very large and the other is subnormal.
32756 * sysdeps/s390/fpu/s_fmaf.c: New file.
32757 * sysdeps/s390/fpu/s_fma.c: New file.
32758 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32759 * sysdeps/powerpc/fpu/s_fma.S: New file.
32760 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32761 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32762 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32764 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32767 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32770 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32771 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32772 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32773 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32774 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32777 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32780 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32781 * posix/bug-regex31.input: Add test case.
32783 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32785 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32786 * posix/bug-regex31.input: New file.
32789 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32790 (parse_sub_exp): Fix last change, use postorder.
32792 * posix/bug-regex31.c: New file.
32793 * posix/Makefile: Add rules to build and run bug-regex31.
32795 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32798 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32801 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32802 to have entries in sys_siglist.
32805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32808 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32811 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32812 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32813 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32814 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32815 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32816 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32817 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32818 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32819 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32820 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32821 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32822 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32823 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32824 * math/ftestexcept.c (fetestexcept): Likewise.
32825 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32826 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32827 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32828 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32829 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32830 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32833 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32836 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32839 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32841 * string/bug-strstr1.c: New file.
32842 * string/Makefile: Add rules to build and run bug-strstr1.
32844 2010-10-05 Eric Blake <eblake@redhat.com>
32847 * string/str-two-way.h (two_way_long_needle): Always clear memory
32848 when skipping input due to the shift table.
32850 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32853 * malloc/mcheck.c: Handle large requests.
32856 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32857 for strncmp and strncasecmp.
32858 * string/stratcliff.c: Add tests for strcmp and strncmp.
32859 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32861 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32863 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32866 2010-09-30 Andreas Jaeger <aj@suse.de>
32868 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32869 (CGROUP_SUPER_MAGIC): Define.
32870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32871 Handle btrfs and cgroup file systems.
32872 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32875 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32877 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32878 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32880 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32883 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32884 trying to locate the ELF header.
32886 2010-09-27 Andreas Schwab <schwab@redhat.com>
32889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32890 Mask out sign-bit copies when constructing f_fsid.
32892 2010-09-24 Petr Baudis <pasky@suse.cz>
32894 * debug/stack_chk_fail_local.c: Add missing licence exception.
32895 * debug/warning-nop.c: Likewise.
32897 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32900 implementing getdents64 using getdents syscall, set d_type if
32901 __ASSUME_GETDENTS32_D_TYPE.
32903 2010-09-16 Andreas Schwab <schwab@redhat.com>
32905 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32906 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32908 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32911 * posix/unistd.h: Undo change of feature selection for ftruncate from
32914 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32916 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32919 2010-09-20 Andreas Schwab <schwab@redhat.com>
32921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32925 2010-09-14 Andreas Schwab <schwab@redhat.com>
32927 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32928 variables after CHECK_SP call.
32929 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32931 2010-09-13 Andreas Schwab <schwab@redhat.com>
32932 Ulrich Drepper <drepper@redhat.com>
32934 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32935 re-relocationg ld.so.
32936 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32937 _dl_init_paths call.
32938 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32941 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32943 * resolv/res_init.c (__res_vinit): Count the default server we added.
32945 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32946 Ulrich Drepper <drepper@redhat.com>
32949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32950 (____longjmp_chk): Use %ebx for saving value across system call.
32953 2010-09-06 Andreas Schwab <schwab@redhat.com>
32955 * manual/Makefile: Don't mix pattern rules with normal rules.
32957 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32959 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32961 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32962 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32963 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32964 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32968 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32971 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32972 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32974 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32976 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32977 * sysdeps/x86_64/addmul_1.S: Likewise.
32978 * sysdeps/x86_64/lshift.S: Likewise.
32979 * sysdeps/x86_64/mul_1.S: Likewise.
32980 * sysdeps/x86_64/rshift.S: Likewise.
32981 * sysdeps/x86_64/sub_n.S: Likewise.
32982 * sysdeps/x86_64/submul_1.S: Likewise.
32984 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32986 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32987 Define __sched_param instead of SCHED_* and sched_param when
32988 <bits/sched.h> is included with __need_schedparam defined.
32989 * bits/sched.h [__need_schedparam]
32990 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32991 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32992 (__defined_schedparam): Define to 1.
32993 (__sched_param): New structure, identical to sched_param.
32994 (__need_schedparam): Undefine.
32996 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32999 (epoll_create1): Declare.
33001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33003 2010-08-31 Andreas Schwab <schwab@redhat.com>
33006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33007 shifting retval into place.
33009 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33011 * nis/rpcsvc/nis.h: Update copyright notice.
33012 * nis/rpcsvc/nis.x: Likewise.
33013 * nis/rpcsvc/nis_callback.h: Likewise.
33014 * nis/rpcsvc/nis_callback.x: Likewise.
33015 * nis/rpcsvc/nis_object.x: Likewise.
33016 * nis/rpcsvc/nis_tags.h: Likewise.
33017 * nis/rpcsvc/yp.h: Likewise.
33018 * nis/rpcsvc/yp.x: Likewise.
33019 * nis/rpcsvc/ypupd.h: Likewise.
33020 * nis/yp_xdr.c: Likewise.
33021 * nis/ypupdate_xdr.c: Likewise.
33023 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33024 mainly the body of pmap_getport. Add parameters to specify timeouts.
33025 (pmap_getport): Use __libc_rpc_getport.
33026 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33027 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33028 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33030 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33035 2010-08-27 Roland McGrath <roland@redhat.com>
33037 * sysdeps/i386/i686/multiarch/Makefile
33038 (CFLAGS-varshift.c): New variable.
33040 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33042 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33043 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33047 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33049 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33051 * sysdeps/x86_64/strlen.S: Unroll the loop.
33052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33053 strlen-sse2 strlen-sse2-bsf.
33054 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33055 __strlen_no_bsf if bit_Slow_BSF is set.
33056 (__strlen_sse42): Removed.
33057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33058 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33060 2010-08-25 Roland McGrath <roland@redhat.com>
33062 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33063 * sysdeps/x86_64/multiarch/varshift.c: New file.
33064 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33065 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33066 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33067 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33069 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33072 strlen-sse2 strlen-sse2-bsf.
33073 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33074 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33075 (__strlen_sse2): Removed.
33076 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33079 bit_Slow_BSF for Atom.
33080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33081 (index_Slow_BSF): Define.
33082 (HAS_SLOW_BSF): Define.
33084 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33087 * resolv/res_init.c (__res_vinit): When no server address at all
33088 is given default to loopback.
33090 2010-08-24 Roland McGrath <roland@redhat.com>
33092 * configure.in: Remove config-name.h generation.
33093 * configure: Regenerated.
33094 * config-name.in: File removed.
33095 * scripts/config-uname.sh: New file.
33096 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33097 ($(objdir)config-name.h): New target.
33099 * sunrpc/rpc_parse.h: Avoid nested comment.
33101 2010-08-24 Richard Henderson <rth@redhat.com>
33102 Ulrich Drepper <drepper@redhat.com>
33103 H.J. Lu <hongjiu.lu@intel.com>
33105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33107 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33108 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33109 _mm_alignr_epi8 with _mm_loadu_si128.
33110 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33111 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33112 (__m128i_shift_right): Removed.
33113 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33114 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33115 * sysdeps/x86_64/multiarch/varshift.h: New file.
33116 * sysdeps/x86_64/multiarch/varshift.S: New file.
33118 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33120 * configure.in: Move assembler checks to before sysdep dir checking.
33122 2010-08-20 Petr Baudis <pasky@suse.cz>
33124 * LICENSES: Sync the sunrpc license.
33126 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33128 * sunrpc/auth_des.c: Update copyright notice once again.
33129 * sunrpc/auth_none.c: Likewise.
33130 * sunrpc/auth_unix.c: Likewise.
33131 * sunrpc/authdes_prot.c: Likewise.
33132 * sunrpc/authuxprot.c: Likewise.
33133 * sunrpc/bindrsvprt.c: Likewise.
33134 * sunrpc/clnt_gen.c: Likewise.
33135 * sunrpc/clnt_perr.c: Likewise.
33136 * sunrpc/clnt_raw.c: Likewise.
33137 * sunrpc/clnt_simp.c: Likewise.
33138 * sunrpc/clnt_tcp.c: Likewise.
33139 * sunrpc/clnt_udp.c: Likewise.
33140 * sunrpc/clnt_unix.c: Likewise.
33141 * sunrpc/des_crypt.c: Likewise.
33142 * sunrpc/des_soft.c: Likewise.
33143 * sunrpc/get_myaddr.c: Likewise.
33144 * sunrpc/getrpcport.c: Likewise.
33145 * sunrpc/key_call.c: Likewise.
33146 * sunrpc/key_prot.c: Likewise.
33147 * sunrpc/openchild.c: Likewise.
33148 * sunrpc/pm_getmaps.c: Likewise.
33149 * sunrpc/pm_getport.c: Likewise.
33150 * sunrpc/pmap_clnt.c: Likewise.
33151 * sunrpc/pmap_prot.c: Likewise.
33152 * sunrpc/pmap_prot2.c: Likewise.
33153 * sunrpc/pmap_rmt.c: Likewise.
33154 * sunrpc/rpc/auth.h: Likewise.
33155 * sunrpc/rpc/auth_unix.h: Likewise.
33156 * sunrpc/rpc/clnt.h: Likewise.
33157 * sunrpc/rpc/des_crypt.h: Likewise.
33158 * sunrpc/rpc/key_prot.h: Likewise.
33159 * sunrpc/rpc/netdb.h: Likewise.
33160 * sunrpc/rpc/pmap_clnt.h: Likewise.
33161 * sunrpc/rpc/pmap_prot.h: Likewise.
33162 * sunrpc/rpc/pmap_rmt.h: Likewise.
33163 * sunrpc/rpc/rpc.h: Likewise.
33164 * sunrpc/rpc/rpc_des.h: Likewise.
33165 * sunrpc/rpc/rpc_msg.h: Likewise.
33166 * sunrpc/rpc/svc.h: Likewise.
33167 * sunrpc/rpc/svc_auth.h: Likewise.
33168 * sunrpc/rpc/types.h: Likewise.
33169 * sunrpc/rpc/xdr.h: Likewise.
33170 * sunrpc/rpc_clntout.c: Likewise.
33171 * sunrpc/rpc_cmsg.c: Likewise.
33172 * sunrpc/rpc_common.c: Likewise.
33173 * sunrpc/rpc_cout.c: Likewise.
33174 * sunrpc/rpc_dtable.c: Likewise.
33175 * sunrpc/rpc_hout.c: Likewise.
33176 * sunrpc/rpc_main.c: Likewise.
33177 * sunrpc/rpc_parse.c: Likewise.
33178 * sunrpc/rpc_parse.h: Likewise.
33179 * sunrpc/rpc_prot.c: Likewise.
33180 * sunrpc/rpc_sample.c: Likewise.
33181 * sunrpc/rpc_scan.c: Likewise.
33182 * sunrpc/rpc_scan.h: Likewise.
33183 * sunrpc/rpc_svcout.c: Likewise.
33184 * sunrpc/rpc_tblout.c: Likewise.
33185 * sunrpc/rpc_util.c: Likewise.
33186 * sunrpc/rpc_util.h: Likewise.
33187 * sunrpc/rpcinfo.c: Likewise.
33188 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33189 * sunrpc/rpcsvc/key_prot.x: Likewise.
33190 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33191 * sunrpc/rpcsvc/mount.x: Likewise.
33192 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33193 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33194 * sunrpc/rpcsvc/rex.x: Likewise.
33195 * sunrpc/rpcsvc/rstat.x: Likewise.
33196 * sunrpc/rpcsvc/rusers.x: Likewise.
33197 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33198 * sunrpc/rpcsvc/spray.x: Likewise.
33199 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33200 * sunrpc/rtime.c: Likewise.
33201 * sunrpc/svc.c: Likewise.
33202 * sunrpc/svc_auth.c: Likewise.
33203 * sunrpc/svc_authux.c: Likewise.
33204 * sunrpc/svc_raw.c: Likewise.
33205 * sunrpc/svc_run.c: Likewise.
33206 * sunrpc/svc_simple.c: Likewise.
33207 * sunrpc/svc_tcp.c: Likewise.
33208 * sunrpc/svc_udp.c: Likewise.
33209 * sunrpc/svc_unix.c: Likewise.
33210 * sunrpc/svcauth_des.c: Likewise.
33211 * sunrpc/xcrypt.c: Likewise.
33212 * sunrpc/xdr.c: Likewise.
33213 * sunrpc/xdr_array.c: Likewise.
33214 * sunrpc/xdr_float.c: Likewise.
33215 * sunrpc/xdr_mem.c: Likewise.
33216 * sunrpc/xdr_rec.c: Likewise.
33217 * sunrpc/xdr_ref.c: Likewise.
33218 * sunrpc/xdr_sizeof.c: Likewise.
33219 * sunrpc/xdr_stdio.c: Likewise.
33221 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33224 2010-08-19 Andreas Schwab <schwab@redhat.com>
33226 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33228 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33230 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33232 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33233 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33235 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33237 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33239 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33240 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33242 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33243 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33245 2010-07-26 Anton Blanchard <anton@samba.org>
33247 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33248 * malloc/arena.c (heap_trim): Likewise.
33250 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33252 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33255 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33257 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33259 * sysdeps/i386/elf/Makefile: New file.
33261 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33263 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33264 from fanotify_init.
33265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33268 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33270 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33272 * sysdeps/multiarch/strcmp.S: Likewise.
33274 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33277 strncase_l-nonascii.
33278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33279 Add strncase_l-ssse3.
33280 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33281 * sysdeps/x86_64/strcmp.S: Likewise.
33282 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33283 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33284 * sysdeps/x86_64/strncase.S: New file.
33285 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33286 * sysdeps/x86_64/strncase_l.S: New file.
33287 * string/Makefile (strop-tests): Add strncasecmp.
33288 * string/test-strncasecmp.c: New file.
33290 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33293 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33294 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33296 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33298 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33300 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33302 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33306 2010-05-01 Alan Modra <amodra@gmail.com>
33308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33309 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33310 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33311 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33312 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33313 tidying. Don't tail-call __sigjmp_save for static lib.
33314 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33316 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33317 (CALL_MCOUNT): Add eh info, and nop after bl.
33318 (TAIL_CALL_SYSCALL_ERROR): New macro.
33319 (PSEUDO_RET): Use it.
33320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33321 Correct save location of integer regs and cr.
33322 (_dl_profile_resolve): Correct cr save location. Delete nops
33323 after bl when SHARED. Reduce cfi size a little by better
33324 placement of cfi directives.
33325 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33326 make a stack frame. Instead use parm save area as a temp.
33327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33328 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33330 Don't make a stack frame for parent, use parm save area.
33331 Increase child stack frame to 112 bytes. Don't save unused reg,
33332 and adjust reg usage. Set up cfi on error recovery and
33333 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33335 (__makecontext): Add dummy nop after jump to exit.
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33337 Use correct parm save area and cr save, reduce stack frame.
33338 Correct cfi for possible PSEUDO_RET frame setup.
33339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33340 Branch to local label emitted by PSEUDO_RET rather than
33343 2010-08-12 Andreas Schwab <schwab@redhat.com>
33346 * locale/programs/locale.c (print_assignment): New function.
33347 (show_locale_vars): Use it.
33349 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33351 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33353 (struct statfs64): Likewise.
33354 (_STATFS_F_FLAGS): Define.
33355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33357 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33358 (ST_VALID): Define locally.
33359 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33360 __statvfs_getflags, use the provided value.
33361 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33362 __ASSUME_STATFS_F_FLAGS.
33364 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33367 Add sys/fanotify.h.
33368 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33369 fanotify_mask for GLIBC_2.13.
33370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33371 fanotify_init and fanotify_mark.
33372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33373 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33377 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33378 prlimit64 for GLIBC_2.13.
33379 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33389 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33392 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33393 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33395 * nss/Makefile: Add rules to build and run tst-nss-test1.
33396 * shlib-versions: Add entry for libnss_test1.
33397 * nss/nss_test1.c: New file.
33398 * nss/tst-nss-test1.c: New file.
33400 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33401 (__nss_configure_lookup): Set appropriate entry in
33402 __nss_configure_lookup to true.
33403 * nss/nsswitch.h: Define enum with indeces of databases in
33404 databases and __nss_database_custom arrays. Declare
33405 __nss_database_custom.
33406 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33407 to avoid using nscd when custom rules are installed.
33408 * nss/getXXbyYY_r.c: Likewise.
33409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33411 * nss/nss_files/files-parse.c: Whitespace fixes.
33413 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33416 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33417 * posix/fnmatch_loop.c: Likewise.
33419 2010-07-17 Andi Kleen <ak@linux.intel.com>
33421 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33422 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33423 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33424 * Versions.def [GLIBC_2.13]: Add.
33426 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33429 Also fail if tpwd after pwuid call is NULL.
33431 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33433 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33434 when converting to ms.
33436 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33438 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33439 EOPNOTSUPP errors with ENOTTY.
33440 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33441 EOPNOTSUPP errors with ENOTTY.
33443 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33446 Add strcasecmp_l-ssse3.
33447 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33449 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33450 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33451 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33453 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33455 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33457 * string/Makefile (strop-tests): Add strcasecmp.
33458 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33459 strcasecmp_l-nonascii.
33460 (gen-as-const-headers): Add locale-defines.sym.
33461 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33462 * sysdeps/x86_64/strcasecmp.S: New file.
33463 * sysdeps/x86_64/strcasecmp_l.S: New file.
33464 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33465 * sysdeps/x86_64/locale-defines.sym: New file.
33466 * string/test-strcasecmp.c: New file.
33468 * string/test-strcasestr.c: Test both ends of the range of characters.
33469 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33471 2010-07-29 Roland McGrath <roland@redhat.com>
33474 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33476 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33478 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33481 2010-07-27 Andreas Schwab <schwab@redhat.com>
33483 * manual/memory.texi (Malloc Tunable Parameters): Document
33486 2010-07-26 Roland McGrath <roland@redhat.com>
33489 * configure.in (-fgnu89-inline check): Set and substitute
33490 gnu89_inline, not libc_cv_gnu89_inline.
33491 * configure: Regenerated.
33492 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33494 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33496 * string/test-strnlen.c: New file.
33497 * string/Makefile (strop-tests): Add strnlen.
33498 * string/tester.c (test_strnlen): Add a few more test cases.
33499 * string/tst-strlen.c: Better error reporting.
33501 * sysdeps/x86_64/strnlen.S: New file.
33503 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33506 lower-latency instructions.
33508 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33510 * string/test-strcasestr.c: New file.
33511 * string/test-strstr.c: New file.
33512 * string/Makefile (strop-tests): Add strstr and strcasestr.
33513 * string/str-two-way.h: Don't undefine MAX.
33514 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33516 2010-07-21 Andreas Schwab <schwab@redhat.com>
33518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33519 strcasestr-nonascii.
33520 (CFLAGS-strcasestr-nonascii.c): Define.
33521 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33523 Remove unused attribute.
33525 2010-07-20 Roland McGrath <roland@redhat.com>
33527 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33528 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33529 ld.so.cache was broken. With it, there is no way to disable dsocaps
33530 like LD_HWCAP_MASK can disable hwcaps.
33532 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33534 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33536 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33538 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33539 call in strcasestr.
33540 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33541 __strcasestr_sse42_nonascii.
33542 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33543 strcasestr-nonascii.c.
33544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33546 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33548 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33553 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33558 2010-07-06 Andreas Schwab <schwab@redhat.com>
33561 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33564 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33567 _PC_PIPE_BUF using F_GETPIPE_SZ.
33569 2010-07-05 Roland McGrath <roland@redhat.com>
33571 * manual/arith.texi (Rounding Functions): Fix rint description
33572 implicit in round description.
33574 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33576 * elf/Makefile: Fix linking for a few tests to make recent linker
33579 2010-06-30 Andreas Schwab <schwab@redhat.com>
33581 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33582 $(common-objpfx)libc_nonshared.a.
33584 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33586 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33587 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33588 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33589 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33590 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33591 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33592 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33608 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33609 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33610 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33611 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33612 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33613 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33614 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33615 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33616 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33617 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33618 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33619 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33635 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33637 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33638 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33639 * string/memmove.c (memmove): Renamed to ...
33640 (MEMMOVE): ...this. Default to memmove.
33641 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33642 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33645 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33646 mempcpy-ssse3-back memmove-ssse3-back.
33647 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33650 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33651 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33652 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33653 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33654 * sysdeps/x86_64/multiarch/memmove.c: New file.
33655 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33656 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33657 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33658 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33659 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33662 (index_Fast_Copy_Backward): Define.
33663 (HAS_ARCH_FEATURE): Define.
33664 (HAS_FAST_REP_STRING): Define.
33665 (HAS_FAST_COPY_BACKWARD): Define.
33667 2010-06-21 Andreas Schwab <schwab@redhat.com>
33669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33670 Restore proper fallback handling.
33672 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33675 * posix/group_member.c (__group_member): Correct checking loop.
33677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33678 OOM in getpwuid_r correctly. Return error number when the caller
33679 should return, otherwise -1.
33680 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33681 call returning > 0 value.
33682 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33684 2010-06-07 Andreas Schwab <schwab@redhat.com>
33686 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33687 libc_nonshared.a from targets in modules-names.
33689 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33691 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33694 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33701 2010-06-02 Andreas Schwab <schwab@redhat.com>
33703 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33705 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33709 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33716 2010-06-14 Roland McGrath <roland@redhat.com>
33718 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33720 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33722 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33723 __REDIRECT followed by __THROW.
33724 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33725 * posix/getopt.h (getopt): Likewise.
33727 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33729 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33730 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33731 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33733 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33734 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33736 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33740 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33744 Properly check family and model.
33746 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33748 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33750 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33752 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33754 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33756 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33759 2010-05-19 Andreas Schwab <schwab@redhat.com>
33761 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33764 2010-05-21 Andreas Schwab <schwab@redhat.com>
33766 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33767 and internal_recvmmsg.
33768 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33769 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33770 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33771 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33773 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33777 2010-05-20 Andreas Schwab <schwab@redhat.com>
33779 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33781 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33783 POWER7 optimizations.
33784 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33785 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33787 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33789 * version.h: Update for 2.13 development version.
33791 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33793 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33794 exceptions. Return 0.
33796 2010-05-07 Roland McGrath <roland@redhat.com>
33798 * elf/ldconfig.c (main): Add a const.
33800 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33802 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33803 (args_options): Add no-idn option.
33804 (ahosts_keys_int): Add idn_flags to ai_flags.
33805 (parse_option): Handle 'i' option to clear idn_flags.
33807 * malloc/malloc.c (_int_free): Possible race in the most recently
33808 added check. Only act on the data if no current modification
33811 See ChangeLog.17 for earlier changes.