1 2013-10-04 Alan Modra <amodra@gmail.com>
3 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4 Formatting. Consistently use rXXX register defines or rN defines.
5 Use early exit labels that avoid restoring unused non-volatile regs.
6 Make cr field use more consistent with rWORDn compares. Rename
7 regs used as shift registers for unaligned loop, using rN defines
8 for short lifetime/multiple use regs.
9 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11 addi 1,1,64 to pop stack frame. Simplify return value code.
12 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14 2013-10-04 Alan Modra <amodra@gmail.com>
16 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17 support. Correct typos, formatting. Optimize tail. Use insrdi
19 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21 little-endian support. Correct typos.
22 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25 in loop and entry code to keep "and." results.
26 (strchr): Add little-endian support. Comment. Move cntlzd
28 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30 2013-10-04 Alan Modra <amodra@gmail.com>
32 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
33 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
34 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37 2013-10-04 Alan Modra <amodra@gmail.com>
39 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40 (rTMP): Define as r11.
41 (strcmp): Add little-endian support. Optimise tail.
42 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50 2013-10-04 Alan Modra <amodra@gmail.com>
52 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
53 little-endian support. Remove unnecessary "are we done" tests.
54 Handle "s" wrapping around zero and extremely large "size".
55 Correct main loop count. Handle single left-over word from main
56 loop inline rather than by using small_loop. Correct comments.
57 Delete "zero" tail, use "end_max" instead.
58 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
60 2013-10-04 Alan Modra <amodra@gmail.com>
62 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
63 support. Don't branch over align.
64 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
65 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
66 support. Rearrange tmp reg use to suit. Comment.
67 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
69 2013-10-04 Alan Modra <amodra@gmail.com>
71 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
73 2013-10-04 Alan Modra <amodra@gmail.com>
75 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
76 conditional form of branch and link when obtaining pc.
77 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
79 2013-10-04 Alan Modra <amodra@gmail.com>
81 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
86 2013-10-04 Alan Modra <amodra@gmail.com>
88 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
89 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
90 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
91 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
92 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
93 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
94 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
95 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
96 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
97 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
99 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
100 Alistair Popple <alistair@ozlabs.au.ibm.com>
101 Alan Modra <amodra@gmail.com>
104 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
105 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
106 _dl_hwcap access for little-endian.
107 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
108 destroy vmx regs when saving unaligned.
109 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
110 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
111 destroy vmx regs when saving unaligned.
113 2013-10-04 Alan Modra <amodra@gmail.com>
115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
116 Don't use a union to pack hi/low value.
118 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
120 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
122 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
124 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
125 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
126 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
128 2013-10-04 Alan Modra <amodra@gmail.com>
130 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
131 constants to usual value for .cst8 section, and remove redundant
133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
134 constant for 0x1p52. Load little-endian words of double from
135 correct stack offsets.
137 2013-10-04 Alan Modra <amodra@gmail.com>
139 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
140 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
141 words of double from correct stack offsets.
142 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
143 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
144 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
145 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
147 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
148 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
149 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
150 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
151 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
152 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
154 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
155 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
156 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
157 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
158 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
160 2013-10-04 Alan Modra <amodra@gmail.com>
162 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
163 64-bit int/double union.
164 (_FPU_SETCW): Likewise.
165 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
166 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
168 2013-10-04 Alan Modra <amodra@gmail.com>
170 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
171 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
173 2013-10-04 Alan Modra <amodra@gmail.com>
175 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
176 use vector int constants.
177 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
179 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
181 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
182 array with long long.
183 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
184 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
185 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
186 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
187 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
188 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
189 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
190 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
191 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
192 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
193 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
194 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
195 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
197 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
199 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
200 (__signbit): Likewise. Correct for little-endian.
201 (__signbitl): Call __signbit.
202 (lrint): Correct for little-endian.
203 (lrintf): Call lrint.
205 2013-10-04 Alan Modra <amodra@gmail.com>
207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
208 union 32-bit int array member with 64-bit int array.
209 (t515, tm256): Double rather than long double.
210 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
212 2013-10-04 Alan Modra <amodra@gmail.com>
214 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
216 (IEEE854_LONG_DOUBLE_BIAS): Delete.
217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
218 version of math_ldbl.h.
220 2013-10-04 Alan Modra <amodra@gmail.com>
222 [BZ #15734], [BZ #15735]
223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
224 all uses of ieee875 long double macros and unions. Simplify test
225 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
226 ldbl_extract_mantissa value for ix,iy exponents. Properly
227 normalize after ldbl_extract_mantissa, and don't add hidden bit
228 already handled. Don't treat low word of ieee854 mantissa like
229 low word of IBM long double and mask off bit when testing for
231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
232 all uses of ieee875 long double macros and unions. Simplify tests
233 for 0.0L and inf. Correct double adjustment of k. Delete dead code
234 adjusting ha,hb. Simplify code setting kld. Delete two600 and
235 two1022, instead use their values. Recognise that tests for large
236 "a" and small "b" are mutually exclusive. Rename vars. Comment.
237 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
238 Rewrite all uses of ieee875 long double macros and unions. Simplify
239 test for 0.0L and nan. Correct negation.
240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
241 ieee875 long double macros and unions. Correct output for large
242 magnitude x. Correct absolute value calculation.
244 * math/libm-test.inc: Add tests for errors discovered in IBM long
245 double versions of fmodl, remainderl, erfl and erfcl.
247 2013-10-04 Alan Modra <amodra@gmail.com>
249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
250 all uses of ieee854 long double macros and unions. Simplify tests
251 for long doubles that are fully specified by the high double.
252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
254 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
255 Remove dead code too.
256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
257 (__ieee754_ynl): Likewise.
258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
261 Remove dead code too.
262 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
269 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
272 Comment on variable precision.
273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
276 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
280 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
282 2013-10-04 Alan Modra <amodra@gmail.com>
284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
285 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
286 all uses of ieee854 long double macros and unions.
287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
295 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
296 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
299 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
300 Simplify sign and nan test too.
301 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
302 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
303 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
306 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
310 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
311 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
312 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
313 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
316 2013-10-04 Alan Modra <amodra@gmail.com>
318 * stdio-common/printf_size.c (__printf_size): Don't use
319 union ieee854_long_double in fpnum union.
320 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
321 signbit macro to retrieve sign from long double.
322 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
323 retrieve sign from long double.
324 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
325 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
326 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
327 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
328 * math/test-misc.c (main): Don't use union ieee854_long_double.
330 2013-10-04 Alan Modra <amodra@gmail.com>
333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
334 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
335 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
336 calculation. Remove unnecessary test for denormal exponent.
337 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
338 Correct handling of denormals. Avoid undefined shift behaviour.
339 Correct normalisation of low mantissa when low double is denormal.
340 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
341 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
342 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
343 Correct normalisation of low mantissa. Test for overflow of high
344 mantissa and normalise.
345 (ldbl_nearbyint): Use more readable constant for two52.
346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
347 (__mpn_construct_long_double): Fix test for overflow of high
348 mantissa and correct normalisation. Avoid undefined shift.
350 2013-10-04 Alan Modra <amodra@gmail.com>
352 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
353 (union ibm_extended_long_double): Define as an array of ieee754_double.
354 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
355 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
356 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
357 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
359 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
361 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
362 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
363 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
364 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
366 2013-10-03 Joseph Myers <joseph@codesourcery.com>
368 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
369 page size instead of calling getpagesize.
371 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
372 (LOCFILE_ALIGN_MASK): Likewise.
373 (LOCFILE_ALIGN_UP): Likewise.
374 (LOCFILE_ALIGNED_P): Likewise.
375 * locale/programs/ld-collate.c (collate_output): Use the new
376 macros instead of __alignof__ (int32_t).
377 * locale/weight.h (findidx): Likewise.
379 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
382 * manual/string.texi: Fix strncat and wcsncat.
384 2013-10-03 Brooks Moses <bmoses@google.com>
387 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
388 * Makerules: ...here, and adjust associated comments.
390 2013-10-02 Will Newton <will.newton@linaro.org>
392 * malloc/Makefile: Add tst-pvalloc.
393 * malloc/tst-pvalloc.c: New file.
395 2013-10-02 Will Newton <will.newton@linaro.org>
397 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
398 improve test coverage.
400 2013-10-02 Will Newton <will.newton@linaro.org>
402 * malloc/Makefile: Add tst-posix_memalign.
403 * malloc/tst-posix_memalign.c: New file.
405 2013-10-01 Eric Blake <eblake@redhat.com>
407 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
408 Use __THROWNL rather than __THROW on static functions.
410 2013-09-30 Petr Machata <pmachata@redhat.com>
412 * elf/elf.h (R_AARCH64_ABS16): New macro.
413 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
414 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
415 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
416 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
417 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
418 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
419 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
420 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
421 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
422 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
423 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
424 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
425 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
426 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
427 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
428 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
429 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
430 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
431 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
432 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
433 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
434 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
435 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
436 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
437 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
438 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
439 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
440 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
441 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
442 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
443 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
444 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
445 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
446 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
447 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
448 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
449 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
450 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
451 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
452 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
453 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
454 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
455 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
456 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
457 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
458 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
459 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
460 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
461 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
462 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
463 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
464 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
465 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
466 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
467 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
468 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
469 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
470 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
471 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
472 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
473 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
474 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
475 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
476 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
477 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
478 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
479 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
480 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
481 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
482 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
483 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
484 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
485 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
486 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
487 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
488 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
489 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
490 (R_AARCH64_TLSDESC_LDR): Likewise.
491 (R_AARCH64_TLSDESC_ADD): Likewise.
492 (R_AARCH64_TLSDESC_CALL): Likewise.
494 2013-09-30 Andreas Schwab <schwab@suse.de>
497 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
498 the nss database lookup.
499 * nscd/initgrcache.c (addinitgroupsX): Likewise.
500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
502 2013-09-28 Mike Frysinger <vapier@gentoo.org>
504 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
506 2013-09-28 P. J. McDermott <pj@pehjota.net>
508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
509 ${Bash-specific parameter/pattern/string} parameter expansion.
510 * sysdeps/unix/make-syscalls.sh: Likewise.
512 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
514 * sysdeps/sh/stackguard-macros.h: New file.
516 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
520 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
521 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
522 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
523 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
525 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
527 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
528 Fix thread ID register.
530 2013-09-25 Joseph Myers <joseph@codesourcery.com>
532 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
533 [POSIX || UNIX98]: Require rather than permitting all symbols from
535 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
536 element of struct sched_param.
537 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
538 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
539 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
540 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
543 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
545 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
546 argument calculation.
548 2013-09-24 Joseph Myers <joseph@codesourcery.com>
550 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
552 [POSIX] (pthread_attr_t): Do not require type.
553 [POSIX] (pthread_cond_t): Likewise.
554 [POSIX] (pthread_condattr_t): Likewise.
555 [POSIX] (pthread_key_t): Likewise.
556 [POSIX] (pthread_mutex_t): Likewise.
557 [POSIX] (pthread_mutexattr_t): Likewise.
558 [POSIX] (pthread_once_t): Likewise.
559 [POSIX] (pthread_t): Likewise.
560 [POSIX-based standards] (pthread_atfork): Expect function.
562 2013-09-24 Joseph Myers <joseph@codesourcery.com>
563 Richard Sandiford <richard@codesourcery.com>
565 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
566 (swap_endianness_p): New extern variable.
567 (set_big_endian): New inline function.
568 (maybe_swap_uint32): Likewise.
569 (maybe_swap_uint32_array): Likewise.
570 (maybe_swap_uint32_obstack): Likewise.
571 * locale/programs/locfile.c: Include <stdbool.h>.
572 (swap_endianness_p): New variable.
573 (add_locale_uint32): Call maybe_swap_uint32.
574 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
575 (write_locale_data): Call maybe_swap_uint32_array.
576 * locale/programs/ld-collate.c (obstack_int32_grow): Call
578 (obstack_int32_grow_fast): Likewise.
579 (output_weightwc): Call maybe_swap_uint32_obstack.
580 (collate_output): Likewise.
581 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
582 (OPT_LITTLE_ENDIAN): Likewise.
583 (options): Add --little-endian and --big-endian options.
584 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
585 * locale/programs/locarchive.c: Include "locfile.h".
589 (create_archive): Use the new macros to access fields of
590 structures directly mapped from or written to locale archives.
591 (oldlocrecentcmp): Likewise.
592 (enlarge_archive): Likewise.
593 (insert_name): Likewise.
594 (add_alias): Likewise.
595 (add_locale): Likewise.
596 (delete_locales_from_archive): Likewise.
597 (show_archive_content): Likewise.
598 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
601 2013-09-24 Roland McGrath <roland@hack.frob.com>
603 * manual/freemanuals.texi: Updated from (newly) canonical copy at
604 http://www.gnu.org/doc/freemanuals.texi.
605 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
607 2013-09-24 Will Newton <will.newton@linaro.org>
609 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
612 2013-09-23 Joseph Myers <joseph@codesourcery.com>
614 * locale/hashval.h (compute_hashval): Interpret bytes of key as
617 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
619 * manual/threads.texi (POSIX Threads): Fix a typo.
621 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * string/tst-strcoll-overflow.c: New test case.
625 * string/Makefile (xtests): Add tst-strcoll-overflow.
626 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
627 cache if string sizes may cause integer overflow.
630 * string/strcoll_l.c (coll_seq): New members rule, idx,
631 save_idx and back_us.
632 (get_next_seq_nocache): New function.
633 (do_compare_nocache): New function.
634 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
637 2013-09-23 Carlos O'Donell <carlos@redhat.com>
640 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
641 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
642 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
645 * elf/Makefile (tests): Add tst-ptrguard1.
646 (tests-static): Add tst-ptrguard1-static.
647 (tst-ptrguard1-ARGS): Define.
648 (tst-ptrguard1-static-ARGS): Define.
649 * elf/tst-ptrguard1.c: New file.
650 * elf/tst-ptrguard1-static.c: New file.
651 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
652 * sysdeps/i386/stackguard-macros.h: Likewise.
653 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
654 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
655 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
656 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
657 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
658 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
660 2013-09-23 Hector Marco <hecmargi@upv.es>
661 Ismael Ripoll <iripoll@disca.upv.es>
662 Carlos O'Donell <carlos@redhat.com>
665 * sysdeps/generic/stackguard-macros.h: Define
666 __pointer_chk_guard_local and POINTER_CHK_GUARD.
667 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
668 Define __pointer_chk_guard_local.
669 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
670 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
672 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
675 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
677 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
679 * include/string.h (__ffs): Declare as hidden.
680 * string/ffs.c (__ffs): Define as hidden.
681 * sysdeps/i386/ffs.c (__ffs): Likewise.
682 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
683 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
684 * sysdeps/s390/ffs.c (__ffs): Likewise.
685 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
687 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
689 * NEWS: Mention malloc probes.
691 * malloc/arena.c (new_heap): New memory_heap_new probe.
692 (grow_heap): New memory_heap_more probe.
693 (shrink_heap): New memory_heap_less probe.
694 (heap_trim): New memory_heap_free probe.
695 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
696 (systrim): New memory_sbrk_less probe.
697 * manual/probes.texi: Document them.
699 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
700 * manual/probes.texi: Document it.
702 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
703 (__libc_realloc): Add memory_realloc_retry probe.
704 (__libc_memalign): Add memory_memalign_retry probe.
705 (__libc_valloc): Add memory_valloc_retry probe.
706 (__libc_pvalloc): Add memory_pvalloc_retry probe.
707 (__libc_calloc): Add memory_calloc_retry probe.
708 * manual/probes.texi: Document them.
710 * malloc/arena.c (get_free_list): Add probe
711 memory_arena_reuse_free_list.
712 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
713 and memory_arena_reuse.
714 (arena_get2) [!PER_THREAD]: Likewise.
715 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
716 memory_arena_reuse_realloc.
717 * manual/probes.texi: Document them.
719 * malloc/malloc.c (__libc_free): Add
720 memory_mallopt_free_dyn_thresholds probe.
721 (__libc_mallopt): Add multiple memory_mallopt probes.
722 * manual/probes.texi: Document them.
724 * malloc/malloc.c: Include stap-probe.h.
725 (__libc_mallopt): Add memory_mallopt probe.
726 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
727 * manual/probes.texi: New.
728 * manual/Makefile (chapters): Add probes.
729 * manual/threads.texi: Set next node.
731 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
734 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
735 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
736 Add `Chinese' to `nan' entry name.
738 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
740 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
741 (POLYNOMIAL): Likewise.
742 (TAYLOR_SINCOS): Likewise.
743 (TAYLOR_SLOW): Likewise.
744 (__sin): Use TAYLOR_SINCOS.
746 (slow): Use TAYLOR_SLOW.
751 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
753 * stdlib/strtod_l.c: Fix buffer overrun.
755 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
757 * benchtests/Makefile (bench): Add sincos.
758 * benchtests/bench-sincos.c: New file.
760 * math/libm-test.inc (cos_test_data): New test inputs.
761 (sin_test_data): Likewise.
763 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
777 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
786 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
788 * config.h.in (HAVE_MIPS_NAN2008): New macro.
789 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
790 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
791 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
792 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
793 * elf/cache.c (print_entry): Handle the new cache flags.
795 2013-09-18 Joseph Myers <joseph@codesourcery.com>
796 Aldy Hernandez <aldyh@redhat.com>
798 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
799 Change condition to [_SOFT_FLOAT].
800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
812 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
815 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
818 2013-09-18 Joseph Myers <joseph@codesourcery.com>
820 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
821 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
822 (__longjmp): Use LOAD_GP to load saved GPRs.
823 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
824 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
825 (__sigsetjmp): Use SAVE_GP to save GPRs.
827 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
828 Do not append -msoft-float.
829 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
831 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
833 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
835 2013-09-17 Joseph Myers <joseph@codesourcery.com>
838 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
839 (_FPU_GETCW): Use initial "__" on variable and field names but not
840 on macro parameter name.
841 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
842 parentheses around reference to macro parameter.
844 2013-09-13 Richard Sandiford <richard@codesourcery.com>
846 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
848 (ctype_startup): Use uint32_t in cast and sizeof for
851 2013-09-11 Jia Liu <proljc@gmail.com>
853 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
855 [__FreeBSD__]: Likewise.
857 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
860 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
861 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
862 (strchr): Remove __strchr_sse42 ifunc selection.
863 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
864 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
866 2013-09-11 Will Newton <will.newton@linaro.org>
868 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
869 parameter to RES. Remove hardcoded 1000 value.
870 * benchtests/bench-skeleton.c (main): Pass RES parameter
871 to TIMING_INIT and multiply result by 1000.
873 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
877 2013-09-11 Andreas Schwab <schwab@suse.de>
879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
881 (O_TMPFILE) [__USE_GNU]: Define.
882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
885 2013-09-11 Will Newton <will.newton@linaro.org>
888 * malloc/malloc.c (__libc_memalign): Check the value of bytes
891 2013-09-11 Will Newton <will.newton@linaro.org>
894 * malloc/malloc.c (__libc_valloc): Check the value of bytes
897 2013-09-11 Will Newton <will.newton@linaro.org>
900 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
903 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
905 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
906 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
907 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
911 2013-09-10 Allan McRae <allan@archlinux.org>
914 * manual/arith.texi (Parsing of Floats): Clarify
918 * manual/install.texi (Running make install): Mention
920 * INSTALL: Regenerated.
922 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
924 * csu/init-first.c (_init): Remove the !SHARED condition around
925 FPU control word initialization.
926 * elf/dl-support.c (_dl_fpu_control): New variable.
927 (_dl_aux_init) <AT_FPUCW>: Initialize it.
928 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
929 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
930 * math/test-fpucw-static.c: New file.
931 * math/test-fpucw-ieee.c: New file.
932 * math/test-fpucw-ieee-static.c: New file.
933 * math/Makefile (tests): Add `test-fpucw-ieee' and
935 (tests-static): New variable.
936 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
938 [($(build-shared),yes)]
939 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
941 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
944 2013-09-09 Allan McRae <allan@archlinux.org>
947 * manual/string.texi (Collation Functions): Fix typo in
949 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
952 * stdlib/isomac.c (get_null_defines): Fix memory leak.
955 * libio/memstream.c (open_memstream): Fix memory leak.
956 * libio/wmemstream.c (open_wmemstream): Likewise.
959 * nscd/netgroupcache.c: Fix nesting of ifdefs.
961 2013-09-09 Will Newton <will.newton@linaro.org>
963 * malloc/Makefile: Add tst-realloc to tests.
964 * malloc/tst-realloc.c: New file.
966 2013-09-09 Allan McRae <allan@archlinux.org>
969 * COPYING: Update from GNU website to fix FSF address.
970 * COPYING.LIB: Likewise.
972 2013-09-06 David S. Miller <davem@davemloft.net>
974 * po/zh_TW.po: Update Chinese (traditional) translation from
977 2013-09-06 Richard Sandiford <richard@codesourcery.com>
978 Joseph Myers <joseph@codesourcery.com>
980 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
982 (obstack_chunk_alloc): New macro.
983 (obstack_chunk_free): Likewise.
984 (record_offset): New function.
985 (init_locale_data): Likewise.
986 (align_locale_data): Likewise.
987 (add_locale_empty): Likewise.
988 (add_locale_raw_data): Likewise.
989 (add_locale_raw_obstack): Likewise.
990 (add_locale_string): Likewise.
991 (add_locale_wstring): Likewise.
992 (add_locale_uint32): Likewise.
993 (add_locale_uint32_array): Likewise.
994 (add_locale_char): Likewise.
995 (start_locale_structure): Likewise.
996 (end_locale_structure): Likewise.
997 (start_locale_prelude): Likewise.
998 (end_locale_prelude): Likewise.
999 (write_locale_data): Take locale_file structure rather than an
1001 * locale/programs/locfile.h: Include "obstack.h".
1002 (struct locale_file): Change to store locale file contents instead
1004 (init_locale_data): New prototype.
1005 (align_locale_data): Likewise.
1006 (add_locale_empty): Likewise.
1007 (add_locale_raw_data): Likewise.
1008 (add_locale_raw_obstack): Likewise.
1009 (add_locale_string): Likewise.
1010 (add_locale_wstring): Likewise.
1011 (add_locale_uint32): Likewise.
1012 (add_locale_uint32_array): Likewise.
1013 (add_locale_char): Likewise.
1014 (start_locale_structure): Likewise.
1015 (end_locale_structure): Likewise.
1016 (start_locale_prelude): Likewise.
1017 (end_locale_prelude): Likewise.
1018 (write_locale_data): Update prototype.
1019 * locale/programs/3level.h (struct TABLE): Remove result field.
1020 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1021 Use new locale_file interface.
1022 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1023 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1024 * locale/programs/ld-address.c (address_output): Use new
1025 locale_file interface.
1026 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1028 (collate_finish): Don't call collseq_table_finalize.
1029 (collate_output): Use new locale_file interface.
1030 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1032 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1033 (TABLE): Move defines earlier in file.
1034 (ELEMENT): Likewise.
1035 (DEFAULT): Likewise.
1036 (wctrans_table_add): Move macro and inline function earlier in
1038 (struct wctype_table): Move type earlier in file.
1039 (add_locale_wctype_table): New static prototype.
1040 (struct locale_ctype_t): Use logical types instead of struct iovec
1041 pointers for members.
1042 (ctype_output): Use new locale_file interface.
1043 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1044 new locale_file interface.
1045 (allocate_arrays): Update for use of new locale_file interface.
1046 * locale/programs/ld-identification.c (identification_output): Use
1047 new locale_file interface.
1048 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1049 * locale/programs/ld-messages.c (messages_output): Likewise.
1050 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1051 * locale/programs/ld-name.c (name_output): Likewise.
1052 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1053 * locale/programs/ld-paper.c (paper_output): Likewise.
1054 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1055 * locale/programs/ld-time.c (time_output): Likewise.
1057 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059 * benchtests/Makefile: Add memrchr benchmark.
1060 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1061 benchmark as memrchr.
1062 * benchtests/bench-memrchr-ifunc.c: New file.
1063 * benchtests/bench-memrchr.c: New file.
1065 2013-09-06 Will Newton <will.newton@linaro.org>
1067 * benchtests/Makefile (string-bench): Add memcpy.
1069 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1070 Cong Wang <amwang@redhat.com>
1072 * sysdeps/unix/sysv/linux/bits/in.h
1073 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1074 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1075 before __USE_KERNEL_IPV6_DEFS uses.
1076 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1078 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1079 sockaddr_in6, or ipv6_mreq.
1081 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1084 memory access for final bytes in some large inputs.
1085 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1087 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089 * string/test-memrchr.c: New file.
1090 * string/test-memrchr-ifunc.c: New file.
1091 * string/Makefile: Add new memrchr testcase.
1093 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1095 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1096 fanotify_init returns EPERM.
1098 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1100 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1102 (top level): Treat second token from macro or constant entries for
1103 allowed headers as allowed.
1104 * include/complex.h: Condition internal declarations on
1106 * include/fenv.h: Condition include of <stdbool.h> and internal
1107 declarations on [!_ISOMAC].
1109 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1112 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1114 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1116 * configure.in (--enable-versioning): Remove configure option.
1117 (libc_cv_asm_symver_directive): Remove configure test.
1118 (libc_cv_ld_version_script_option): Likewise.
1119 (VERSIONING): Remove variable and AC_SUBST.
1120 (DO_VERSIONING): Remove AC_DEFINE.
1121 * configure: Regenerated.
1122 * config.h.in (DO_VERSIONING): Remove macro.
1123 * Makerules [$(versioning) = yes]: Change conditionals to
1124 [$(build-shared) = yes].
1125 * config.make.in (versioning): Remove variable.
1126 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1127 [$(build-shared) = yes].
1128 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1129 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1130 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1131 [$(build-shared) = yes].
1132 * extra-lib.mk [$(versioning) = yes]: Likewise.
1133 * hurd/Makefile [$(versioning) = yes]: Likewise.
1134 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1136 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1138 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1139 [SHARED && !NO_HIDDEN].
1140 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1142 [SHARED && DO_VERSIONING]: Likewise..
1143 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1144 [$(build-shared) = yes].
1145 * manual/install.texi (--disable-versioning): Remove
1147 * INSTALL: Regenerated.
1148 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1150 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1151 [$(build-shared) = yes].
1152 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1153 * sysdeps/i386/i686/multiarch/strstr-c.c
1154 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1155 [SHARED && !NO_HIDDEN].
1156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1157 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1158 * sysdeps/powerpc/powerpc32/dl-machine.c
1159 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1160 * sysdeps/powerpc/powerpc32/sysdep.h
1161 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1162 to [SHARED && PIC && !NO_HIDDEN].
1163 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1164 conditional to [SHARED].
1166 2013-09-04 Will Newton <will.newton@linaro.org>
1168 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1169 * benchtests/bench-string.h: Include bench-timing.h instead
1170 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1171 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1172 call to HP_TIMING_DIFF_INIT.
1173 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1174 instead of hp-timing.h macros.
1175 * benchtests/bench-memchr.c: Likewise.
1176 * benchtests/bench-memcmp.c: Likewise.
1177 * benchtests/bench-memcpy.c: Likewise.
1178 * benchtests/bench-memmem.c: Likewise.
1179 * benchtests/bench-memmove.c: Likewise.
1180 * benchtests/bench-memset.c: Likewise.
1181 * benchtests/bench-rawmemchr.c: Likewise.
1182 * benchtests/bench-strcasecmp.c: Likewise.
1183 * benchtests/bench-strcasestr.c: Likewise.
1184 * benchtests/bench-strcat.c: Likewise.
1185 * benchtests/bench-strchr.c: Likewise.
1186 * benchtests/bench-strcmp.c: Likewise.
1187 * benchtests/bench-strcpy.c: Likewise.
1188 * benchtests/bench-strcpy_chk.c: Likewise.
1189 * benchtests/bench-strlen.c: Likewise.
1190 * benchtests/bench-strncasecmp.c: Likewise.
1191 * benchtests/bench-strncat.c: Likewise.
1192 * benchtests/bench-strncmp.c: Likewise.
1193 * benchtests/bench-strncpy.c: Likewise.
1194 * benchtests/bench-strnlen.c: Likewise.
1195 * benchtests/bench-strpbrk.c: Likewise.
1196 * benchtests/bench-strrchr.c: Likewise.
1197 * benchtests/bench-strspn.c: Likewise.
1198 * benchtests/bench-strstr.c: Likewise.
1200 2013-09-04 Will Newton <will.newton@linaro.org>
1202 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1204 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1208 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1209 * math/libm-test.inc (lgamma_test_data): Add more tests.
1210 * sysdeps/i386/fpu/libm-test-ulps: Update.
1211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1215 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1219 Add strcmp-sse2-unaligned
1220 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1222 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1224 * Versions.def (libc): Add GLIBC_2.19.
1226 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1228 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1229 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1231 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1235 intermediate calculations in recurrence.
1236 (__ieee754_ynf): Likewise.
1237 * math/libm-test.inc (jn_test_data): Do not allow spurious
1238 underflow exception. Add more tests.
1239 (yn_test_data): Add more tests.
1240 * sysdeps/i386/fpu/libm-test-ulps: Update.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1243 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1247 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1249 * csu/init-first.c: Fix then/than typos.
1250 * locale/programs/ld-collate.c: Likewise.
1251 * locale/programs/linereader.h: Likewise.
1252 * manual/charset.texi: Likewise.
1253 * manual/filesys.texi: Likewise.
1254 * manual/stdio.texi: Likewise.
1255 * manual/string.texi: Likewise.
1256 * stdlib/fmtmsg.c: Likewise.
1257 * sysdeps/i386/stpncpy.S: Likewise.
1258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1259 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1263 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1265 * elf/dl-open.c: Fix typos.
1266 * iconvdata/gbbig5.c: Likewise.
1267 * iconvdata/iso-2022-jp.c: Likewise.
1268 * iconv/gconv_int.h: Likewise.
1269 * iconv/loop.c: Likewise.
1270 * nis/rpcsvc/nis.h: Likewise.
1271 * resolv/ns_name.c: Likewise.
1272 * stdio-common/vfscanf.c: Likewise.
1273 * streams/stropts.h: Likewise.
1274 * sunrpc/rpc_thread.c: Likewise.
1275 * sysdeps/i386/strpbrk.S: Likewise.
1276 * sysdeps/ieee754/k_standard.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1279 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1280 * sysdeps/mach/hurd/profil.c: Likewise.
1281 * sysdeps/s390/dl-procinfo.h: Likewise.
1282 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1283 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1285 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1288 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1290 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1293 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1295 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1297 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1298 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1300 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1301 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1306 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1307 Roland McGrath <roland@hack.frob.com>
1309 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1310 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1312 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1314 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1315 __executable_start symbol instead of _start.
1317 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1319 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1320 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1322 * sysdeps/gnu/ldsodefs.h: ... this new file.
1324 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1325 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1326 instead of ELFOSABI_LINUX.
1328 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1329 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1330 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1331 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1333 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1334 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1337 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1338 (ibm_extended_long_double): Add ieee_nan member.
1339 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1340 (do_test): New function.
1342 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1344 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1345 functions, renamed from truncdfsf_test, trunctfsf_test,
1347 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1349 (do_test): Run all these.
1351 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1353 * argp/argp-help.c: Fix typos.
1354 * argp/argp-parse.c: Likewise.
1355 * debug/backtracesyms.c: Likewise.
1356 * elf/elf.h: Likewise.
1357 * malloc/malloc.c: Likewise.
1358 * nis/nis_print.c: Likewise.
1359 * resolv/res_comp.c: Likewise.
1360 * stdlib/stdlib.h: Likewise.
1361 * sunrpc/clnt_tcp.c: Likewise.
1362 * sunrpc/clnt_udp.c: Likewise.
1363 * sunrpc/clnt_unix.c: Likewise.
1364 * sysdeps/unix/bsd/ptsname.c: Likewise.
1365 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1373 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1375 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1377 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1380 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1383 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1384 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1385 ($(objpfx)bug-dl-leaf): New rule.
1386 ($(objpfx)bug-dl-leaf.so): Likewise.
1387 ($(objpfx)bug-dl-leaf.out): Likewise.
1388 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1389 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1390 * dlfcn/bug-dl-leaf.c: New test.
1391 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1392 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1393 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1394 (dlclose): Likewise.
1395 (dlmopen): Likewise.
1397 2013-08-27 Roland McGrath <roland@hack.frob.com>
1399 * include/netdb.h [!_ISOMAC]:
1400 Don't include <tls.h>.
1401 (h_errno, __libc_h_errno): Move declaration and macros out of
1404 * include/resolv.h [_RESOLV_H_]:
1405 Don't include <tls.h>.
1406 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1407 * resolv/res_libc.c: Don't include <tls.h>.
1408 (_res): Use __attribute__ ((nocommon)) in place of
1409 __attribute__ ((section (".bss"))).
1411 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1412 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1414 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1416 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1417 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1419 * resolv/res_mkquery.c: Include <sys/time.h>.
1421 * inet/ifreq.c: Moved to ...
1422 * sysdeps/unix/ifreq.c: ... here.
1423 * inet/ifreq.c: New file, true stub version.
1425 * socket/sa_len.c: New file.
1426 * socket/Makefile (aux): Add it.
1427 * sysdeps/unix/sysv/linux/Makefile
1428 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1429 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1430 and #include <socket/sa_len.c>.
1431 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1432 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1434 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1435 * bits/socket.h: ... here.
1437 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1438 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1439 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1441 2013-08-27 Andreas Schwab <schwab@suse.de>
1444 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1445 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1446 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1447 * string/test-strcasecmp.c (test_main): Run tests in several
1449 * string/test-strncasecmp.c (test_main): Likewise.
1451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1452 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1453 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1455 (__strncasecmp_ssse3) [PIC]: Likewise.
1457 2013-08-26 Roland McGrath <roland@hack.frob.com>
1459 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1461 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1462 instead of explicitly declaring xdecrypt.
1463 * nis/nss_nis/nis-publickey.c: Likewise.
1465 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1468 * nscd/aicache.c: Include res_hconf.h.
1469 (addhstaiX): Initialize res_hconf.
1471 2013-08-26 Andreas Schwab <schwab@suse.de>
1473 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1474 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1476 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1478 * nscd/aicache.c (addhstaiX): Fix indentation.
1480 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1482 * configure.ac: Quote $build_pt_chown test.
1483 * configure: Regenerated.
1485 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1488 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1489 * math/s_cexpf.c (__cexpf): Likewise.
1490 * math/s_cexpl.c (__cexpl): Likewise.
1491 * math/libm-test.inc (cexp_test_data): Correct expected return
1492 value for NaN + i0. Add another test.
1494 2013-08-22 David S. Miller <davem@davemloft.net>
1496 * po/ca.po: Update Catalan translation from translation project.
1497 * po/uk.po: Add Ukrainian translations from translation project.
1499 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1502 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1503 is infinite, not alongside NaN test.
1504 * math/s_fdimf.c (__fdimf): Likewise.
1505 * math/s_fdiml.c (__fdiml): Likewise.
1506 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1509 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1511 * argp/argp-help.c: Fix typos.
1512 * crypt/speeds.c: Likewise.
1513 * csu/check_fds.c: Likewise.
1514 * elf/dl-load.c: Likewise.
1515 * elf/dl-open.c: Likewise.
1516 * elf/reldep3.c: Likewise.
1517 * elf/reldep.c: Likewise.
1518 * elf/sprof.c: Likewise.
1519 * iconv/iconv_charmap.c: Likewise.
1520 * iconv/skeleton.c: Likewise.
1521 * iconv/strtab.c: Likewise.
1522 * io/lockf64.c: Likewise.
1523 * libio/libioP.h: Likewise.
1524 * resolv/gai_notify.c: Likewise.
1525 * resolv/ns_name.c: Likewise.
1526 * resolv/ns_samedomain.c: Likewise.
1527 * resolv/res_send.c: Likewise.
1528 * stdlib/random.c: Likewise.
1529 * sunrpc/rpc/xdr.h: Likewise.
1530 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1531 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1532 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1533 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1538 * sysdeps/mach/hurd/check_fds.c: Likewise.
1539 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1540 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1542 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1543 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1545 * sysdeps/pthread/aio_notify.c: Likewise.
1546 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1547 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1548 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1550 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1552 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1554 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1555 version if bit_Slow_SSE4_2 is set.
1556 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1557 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1559 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1563 trampoline stack frame information.
1564 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1566 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1567 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1568 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1569 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1570 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1571 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1573 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1574 interrupting a syscall and set with option SA_SIGINFO.
1576 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1579 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1580 argument is infinite.
1581 * math/s_cprojf.c (__cprojf): Likewise.
1582 * math/s_cprojl.c (__cprojl): Likewise.
1583 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1584 * math/libm-test.inc (cproj_test_data): Add more tests.
1586 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1588 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1589 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1590 size. Use __ffs to determine corresponding shift.
1592 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1593 Roland McGrath <roland@hack.frob.com>
1595 * Makefile (INSTALL): Remove trailing blank lines from output of
1598 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1600 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1601 Align 32 bit compat elf_greg to 8 bytes.
1603 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1605 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1607 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1609 * string/strcoll_l.c (coll_seq): New structure.
1610 (get_next_seq_cached): New function.
1611 (get_next_seq): New function.
1612 (do_compare): New function.
1613 (STRCOLL): Use GNU style definition. Simplify implementation
1614 by using get_next_seq, get_next_seq_cached and do_compare.
1616 2013-08-16 Florian Weimer <fweimer@redhat.com>
1620 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1622 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1624 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1625 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1626 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1628 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1629 GETDENTS_64BIT_ALIGNED.
1630 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1631 * manual/filesys.texi (Reading/Closing Directory): Document
1632 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1634 * manual/conf.texi (Limits for Files): Add portability note to
1636 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1638 2013-08-13 Andreas Schwab <schwab@suse.de>
1641 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1643 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1644 LDBL_MAX_EXP >= 16384]: Add tests for it.
1646 2013-08-12 David S. Miller <davem@davemloft.net>
1648 * version.h (RELEASE): Set to "development".
1649 (VERSION): Set to "2.18.90".
1650 * NEWS: Add 2.19 section.
1652 2013-08-03 David S. Miller <davem@davemloft.net>
1654 * po/ko.po: Update Korean translation from translation project.
1656 2013-08-01 David S. Miller <davem@davemloft.net>
1658 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1659 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1662 2013-07-30 David S. Miller <davem@davemloft.net>
1664 * po/fr.po: Update French translation from translation project.
1666 2013-07-28 David S. Miller <davem@davemloft.net>
1668 * po/cs.po: Update Czech translation from translation project.
1670 * po/sv.po: Update Swedish translation from translation project.
1672 2013-07-27 David S. Miller <davem@davemloft.net>
1674 * po/eo.po: Update Esperanto translation from translation project.
1676 * po/vi.po: Update Vietnamese translation from translation project.
1678 * po/de.po: Update German translation from translation project.
1680 2013-07-26 David S. Miller <davem@davemloft.net>
1682 * po/bg.po: Update Bulgarian translation from translation project.
1684 * po/nl.po: Update Dutch translation from translation project.
1685 * po/pl.po: Update Polish translation from translation project.
1686 * po/ru.po: Update Russian translation from translation project.
1688 2013-07-24 David S. Miller <davem@davemloft.net>
1690 * po/libc.pot: Update.
1692 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1696 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1698 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1700 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1702 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1704 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1705 Andreas Schwab <schwab@suse.de>
1706 Roland McGrath <roland@hack.frob.com>
1707 Joseph Myers <joseph@codesourcery.com>
1708 Carlos O'Donell <carlos@redhat.com>
1711 * config.h.in: Define HAVE_PT_CHOWN.
1712 * config.make.in (build-pt-chown): New variable.
1713 * configure.in (--enable-pt_chown): New configure option.
1714 * configure: Regenerate.
1715 * login/Makefile: Include Makeconfig. Build pt_chown only if
1716 build-pt-chown is enabled.
1717 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1718 pt_chown to fix pty ownership.
1719 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1721 * manual/install.texi (Configuring and compiling): Mention
1722 --enable-pt_chown. Add @findex for grantpt.
1723 * INSTALL: Regenerate.
1725 2013-07-20 David S. Miller <davem@davemloft.net>
1727 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1728 difference between 32-bit and 64-bit.
1730 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1733 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1734 Avoid system header dependency with -ffreestanding.
1735 ($(objpfx)bits/syscall%d): Likewise.
1737 2013-07-13 David S. Miller <davem@davemloft.net>
1739 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1740 underflows from atanl/atan2l due to bug 15319.
1741 (casinh_test_data): Likewise.
1743 2013-07-07 David S. Miller <davem@davemloft.net>
1745 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1747 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1754 * configure.in (--enable-lock-elision): Fix message text.
1755 * INSTALL: Regenerate.
1756 * configure: Regenerate.
1758 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1762 2013-07-03 Andreas Jaeger <aj@suse.de>
1764 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1766 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1767 (ptrace_peeksiginfo_args): Add.
1768 (__ptrace_peeksiginfo_flags): Add.
1769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1773 2013-07-03 Allan McRae <allan@archlinux.org>
1775 * sysdeps/i386/fpu/libm-test-ulps: Update.
1777 2013-07-02 David S. Miller <davem@davemloft.net>
1779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1781 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1785 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1787 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1790 2013-07-02 Andi Kleen <ak@linux.intel.com>
1792 * config.h.in (ENABLE_LOCK_ELISION): Add.
1793 * configure.in (--enable-lock-elision): Add option.
1794 * manual/install.texi: Document --enable lock elision.
1795 * configure: Regenerate
1796 * INSTALL: Regenerate.
1798 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1800 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1801 SSE4.2 strcasecmp for libc.a.
1802 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1804 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1807 * soft-fp/op-common.h (_FP_FMA): New macro.
1808 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1809 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1810 (_FP_MUL_MEAT_1_imm): ... here.
1811 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1812 (_FP_MUL_MEAT_1_wide): ... here.
1813 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1814 (_FP_MUL_MEAT_1_hard): ... here.
1815 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1816 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1817 (_FP_MUL_MEAT_2_wide): ... here.
1818 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1819 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1820 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1821 (_FP_MUL_MEAT_2_gmp): ... here.
1822 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1823 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1824 (_FP_MUL_MEAT_4_wide): ... here.
1825 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1826 (_FP_MUL_MEAT_4_gmp): ... here.
1827 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1828 (_FP_WFRACBITS_DW_S): Likewise.
1829 (_FP_WFRACXBITS_DW_S): Likewise.
1830 (_FP_HIGHBIT_DW_S): Likewise.
1831 (FP_FMA_S): Likewise.
1832 (_FP_FRAC_HIGH_DW_S): Likewise.
1833 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1834 (_FP_WFRACBITS_DW_D): Likewise.
1835 (_FP_WFRACXBITS_DW_D): Likewise.
1836 (_FP_HIGHBIT_DW_D): Likewise.
1837 (FP_FMA_D): Likewise.
1838 (_FP_FRAC_HIGH_DW_D): Likewise.
1839 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1840 (_FP_WFRACBITS_DW_E): Likewise.
1841 (_FP_WFRACXBITS_DW_E): Likewise.
1842 (_FP_HIGHBIT_DW_E): Likewise.
1843 (FP_FMA_E): Likewise.
1844 (_FP_FRAC_HIGH_DW_E): Likewise.
1845 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1846 (_FP_WFRACBITS_DW_Q): Likewise.
1847 (_FP_WFRACXBITS_DW_Q): Likewise.
1848 (_FP_HIGHBIT_DW_Q): Likewise.
1849 (FP_FMA_Q): Likewise.
1850 (_FP_FRAC_HIGH_DW_Q): Likewise.
1851 * soft-fp/fmasf4.c: New file.
1852 * soft-fp/fmadf4.c: Likewise.
1853 * soft-fp/fmatf4.c: Likewise.
1855 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1858 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1860 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1862 (index_Slow_SSE4_2): Likewise.
1863 (index_Prefer_PMINUB_for_stringop): Likewise.
1864 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1865 bit_Slow_SSE4_2 is set.
1866 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1869 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1871 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1872 rtld_global._dl_hwcap2.
1873 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1875 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1876 POWER8 feature descriptions defined in _dl_hwcap2.
1877 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1878 string handling for POWER8 feature bits.
1879 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1880 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1881 _dl_powerpc_cap_flags.
1882 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1883 * sysdeps/powerpc/rtld-global-offsets.sym
1884 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1885 _dl_hwcap2 in the rtld_global_ro structure.
1887 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1889 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1890 hardware capabilities in support of AT_HWCAP2.
1891 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1892 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1894 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1895 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1896 explicitly the unknown a_type display mechanism is used.
1897 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1898 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1900 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1901 to macro prototype for AT_HWCAP2 support.
1902 * sysdeps/i386/dl-procinfo.h: Likewise.
1903 * sysdeps/s390/dl-procinfo.h: Likewise.
1904 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1905 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1906 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1907 return -1 for unknown a_type display fallback.
1908 * sysdeps/sparc/dl-procinfo.h: Likewise.
1909 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1910 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1912 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1914 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1915 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1917 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1920 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1921 mprotect making __stack_prot writable.
1923 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1924 Joseph Myers <joseph@codesourcery.com>
1926 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1927 as being properly aligned.
1929 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1931 * dlfcn/modstatic5.c: New file.
1932 * dlfcn/tststatic5.c: New file.
1933 * dlfcn/Makefile (tests): Add tststatic5.
1934 (tests-static): Likewise.
1935 (modules-names): Add modstatic5.
1936 (tststatic5-ENV): New variable.
1937 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1940 * elf/dl-support.c (_dl_main_map): New variable.
1941 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1942 (_dl_nns, _dl_load_adds): Set to 1.
1943 (_dl_initial_searchlist): Refer to _dl_main_map.
1944 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1945 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1946 call to _dl_get_origin.
1947 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1949 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1950 * dlfcn/modstatic3.c: New file.
1951 * dlfcn/tststatic3.c: New file.
1952 * dlfcn/tststatic4.c: New file.
1953 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1954 (tests-static): Likewise.
1955 (modules-names): Add modstatic3.
1956 (tststatic3-ENV, tststatic4-ENV): New variables.
1957 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1958 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1960 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1962 * configure.in (CC): Require GCC version 4.4 or later.
1963 * configure: Regenerated.
1964 * manual/install.texi (Tools for Compilation): Update GCC version
1966 * INSTALL: Regenerated.
1968 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1971 * string/test-memcmp.c (check2): New.
1972 (main): Call check2.
1974 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1976 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1979 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1981 (dl_open_worker) [!SHARED]: ... here.
1983 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1985 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1987 2013-06-25 Richard Henderson <rth@redhat.com>
1989 * locale/programs/locarchive.c: Include <libc-internal.h>
1991 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1993 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1994 trailing whitespace removed.
1996 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1999 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2000 * locale/programs/locarchive.c: Include libc-mmap.h.
2001 (prepare_address_space): Take two new outputs (the mmap base and len).
2002 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2004 (create_archive): Declare new mmap base and len values for
2005 prepare_address_space, and store the result in ah.
2006 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2007 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2008 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2009 Declare new mmap base and len values for
2010 prepare_address_space, and store the result in new_ah.
2011 (open_archive): Declare new mmap base and len values for
2012 prepare_address_space, and store the result in ah.
2013 (close_archive): If ah->mmap_base is not NULL, use that and
2014 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2015 * sysdeps/generic/libc-mmap.h: New file.
2017 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2019 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2020 (ALIGN_UP): Likewise.
2021 (PTR_ALIGN_DOWN): Likewise.
2022 (PTR_ALIGN_UP): Likewise.
2024 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2026 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2027 entry mapped to PPC_PLATFORM_POWER8.
2028 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2030 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2031 (_dl_string_platform): Add case for exporting platform position for
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2034 search path to sysdeps/powerpc/powerpc32/power8 directory.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2036 search path to sysdeps/powerpc/powerpc64/power8 directory.
2037 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2039 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2042 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2044 * INSTALL: Regenerate.
2046 * nscd/connections.c (nscd_init): Fix comment.
2048 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2050 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2053 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2054 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2056 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2058 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2060 (DL_DST_REQ_STATIC): Remove macro.
2062 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2065 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2066 with a shift of 0 bits.
2068 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2070 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2073 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2076 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2078 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2080 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2081 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2082 accepts -fno-tree-loop-distribute-patterns.
2083 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2084 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2086 * string/memset.c (memset): Likewise.
2087 * string/test-memmove.c (simple_memmove): Disable loop transformation
2089 * string/test-memset.c (simple_memset): Likewise.
2090 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2091 * benchtests/bench-memset.c (simple_memset): Likewise.
2092 * configure: Regenerated.
2094 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2096 * math/test-misc.c (main): Ignore fesetround failure when failures
2097 of subsequent rounding tests would be ignored.
2100 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2101 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2102 * math/fegetenv.c (__fegetenv): Return 0.
2103 * math/fegetexcept.c (fegetexcept): Return 0.
2104 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2106 * math/feholdexcpt.c (feholdexcept): Return 0.
2107 * math/fesetenv.c (__fesetenv): Return 0.
2108 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2109 argument FE_TONEAREST.
2110 * math/feupdateenv.c (__feupdateenv): Return 0.
2111 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2113 2013-06-18 Roland McGrath <roland@hack.frob.com>
2115 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2116 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2117 ($(objpfx)rtld-%.os rules): Use them.
2119 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2121 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2124 2013-06-17 Roland McGrath <roland@hack.frob.com>
2126 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2127 length of target pattern, then descending length of dependency pattern.
2128 * configure.in (AWK): Require gawk 3.1.2 or newer.
2129 * manual/install.texi (Tools for Compilation): Say that we do.
2130 * configure: Regenerated.
2132 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2133 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2134 * scripts/sysd-rules.awk: ... this new script.
2135 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2136 than a glob-style pattern.
2138 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2140 * math/test-misc.c (main): Do not treat incorrectly rounded
2141 conversions as failure unless ROUNDING_TESTS passes.
2143 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2146 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2147 restore exception state around main square root computation, then
2148 check for inexactness explicitly.
2150 * math/libm-test.inc (fma_test_data): Add another test.
2152 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2154 * manual/threads.texi (Non-POSIX Extensions): New document
2155 node. Document pthread_getattr_default_np and
2156 pthread_setattr_default_np.
2158 * Versions.def (libpthread): Add GLIBC_2.18.
2159 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2179 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2182 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2184 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2185 H.J. Lu <hjl.tools@gmail.com>
2188 * sysdeps/x86_64/rtld-memset.c: Remove file.
2189 * sysdeps/x86_64/rtld-memset.S: New file.
2191 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2193 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2194 (test_in_one_mode): Take arguments for whether the rounding mode
2195 is supported for each floating-point type.
2196 (do_test): Pass new arguments to test_in_one_mode using
2199 2013-06-13 Roland McGrath <roland@hack.frob.com>
2201 * posix/tst-waitid.c (do_test): Distinguish different instances of
2202 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2203 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2204 before entering the kernel for waitpid.
2206 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2208 * NEWS: Fix note on clock function precision. Text by Roland
2211 2013-06-13 Roland McGrath <roland@hack.frob.com>
2213 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2214 it into place only when and if the sanity check passes.
2216 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2218 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2219 output for whether conversion result is exact. Take argument
2220 indicating whether type is IBM long double.
2221 (round_for_all): Change need_exact field to ibm_ld.
2222 * stdlib/tst-strtod-round.c (struct exactness): New type.
2223 (struct test): Change bool ld_ok field to struct exactness exact.
2224 (TEST): Update all definitions for change to field.
2225 (tests): Regenerate array contents.
2226 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2227 field value. Check for IBM long double here.
2228 (do_test): Update calls to test_in_one_mode.
2230 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2233 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2234 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2236 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2240 generated by the compiler on loop optimizations.
2241 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2242 general definitions.
2244 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2246 * math/bug-nextafter.c: Include <math-tests.h>.
2247 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2249 * math/bug-nexttoward.c: Include <math-tests.h>.
2250 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2252 * math/test-misc.c: Include <math-tests.h>.
2253 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2256 2013-06-12 Andreas Jaeger <aj@suse.de>
2258 * po/ia.po: Update Interlingua translation from translation
2261 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2263 * include/fenv.h: Include stdbool.h.
2264 (struct rm_ctx): New structure.
2265 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2267 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2268 (SET_RESTORE_ROUNDF): Likewise.
2269 (SET_RESTORE_ROUNDL): Likewise.
2270 (SET_RESTORE_ROUND_NOEX): Likewise.
2271 (SET_RESTORE_ROUND_NOEXF): Likewise.
2272 (SET_RESTORE_ROUND_NOEXL): Likewise.
2273 (SET_RESTORE_ROUND_53BIT): Likewise.
2274 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2275 (libc_feresetround_noexf_ctx): Likewise.
2276 (libc_feresetround_noexl_ctx): Likewise.
2277 (libc_feholdsetround_53bit_ctx): Likewise.
2278 (libc_feresetround_53bit_ctx): Likewise.
2279 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2280 (libc_feholdexcept_setround_sse_ctx): New function.
2281 (libc_fesetenv_sse_ctx): Likewise.
2282 (libc_feupdateenv_sse_ctx): Likewise.
2283 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2284 (libc_feholdexcept_setround_387_ctx): Likewise.
2285 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2286 (libc_feholdsetround_387_prec_ctx): Likewise.
2287 (libc_feholdsetround_387_ctx): Likewise.
2288 (libc_feholdsetround_387_53bit_ctx): Likewise.
2289 (libc_feholdsetround_sse_ctx): Likewise.
2290 (libc_feresetround_sse_ctx): Likewise.
2291 (libc_feresetround_387_ctx): Likewise.
2292 (libc_feupdateenv_387_ctx): Likewise.
2293 (libc_feholdexcept_setroundf_ctx): Define macro.
2294 (libc_fesetenvf_ctx): Likewise.
2295 (libc_feupdateenvf_ctx): Likewise.
2296 (libc_feholdsetroundf_ctx): Likewise.
2297 (libc_feresetroundf_ctx): Likewise.
2298 (libc_feholdexcept_setround_ctx): Likewise.
2299 (libc_fesetenv_ctx): Likewise.
2300 (libc_feupdateenv_ctx): Likewise.
2301 (libc_feholdsetround_ctx): Likewise.
2302 (libc_feresetround_ctx): Likewise.
2303 (libc_feholdexcept_setroundl_ctx): Likewise.
2304 (libc_feupdateenvl_ctx): Likewise.
2305 (libc_feholdsetroundl_ctx): Likewise.
2306 (libc_feresetroundl_ctx): Likewise.
2307 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2308 (libc_feresetround_53bit_ctx): Likewise.
2310 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2312 * locale/iso-639.def: Convert to UTF-8.
2314 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2316 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2317 (EXCEPTION_TESTS_double): Likewise.
2318 (EXCEPTION_TESTS_long_double): Likewise.
2319 (EXCEPTION_TESTS): Likewise.
2320 * math/libm-test.inc (test_exceptions): Only test exceptions if
2321 EXCEPTION_TESTS (FLOAT).
2323 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2325 * benchtests/Makefile (string-bench): Add strcpy_chk and
2327 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2328 * benchtests/bench-stpcpy_chk.c: New file.
2329 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2330 * benchtests/bench-strcpy_chk.c: New file.
2331 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2333 (do_test): Likewise.
2335 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2337 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2338 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2339 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2340 with tabs where appropriate.
2341 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2343 [PPC_PLATFORM_PPC440]: Likewise.
2344 [PPC_PLATFORM_PPC464]: Likewise.
2345 [PPC_PLATFORM_PPC476]: Likewise.
2346 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2347 ppc464, and ppc476 platform strings merging from ports/
2350 2013-06-11 Andreas Schwab <schwab@suse.de>
2353 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2354 (from_ucs4_idx): Regenerate.
2355 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2356 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2357 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2358 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2359 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2360 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2361 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2362 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2363 from FROM_LOOP and TO_LOOP specific macros.
2364 (BODY): Handle combining characters.
2365 * iconvdata/BIG5HKSCS.irreversible: Update.
2366 * iconvdata/BIG5HKSCS.precomposed: New file.
2367 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2369 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2371 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2373 * include/sys/time.h: Fix indentation and add copyright header.
2375 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2376 (do_test): Likewise.
2377 * string/test-memchr.c (do_one_test): Likewise.
2378 (do_test): Likewise.
2379 * string/test-memcmp.c (do_one_test): Likewise.
2380 (do_test): Likewise.
2381 * string/test-memcpy.c (do_one_test): Likewise.
2382 (do_test): Likewise.
2383 * string/test-memmem.c (do_one_test): Likewise.
2384 (do_test): Likewise.
2385 (do_random_tests): Likewise.
2386 * string/test-memmove.c (do_one_test): Likewise.
2387 (do_test): Likewise.
2388 * string/test-memset.c (do_one_test): Likewise.
2389 (do_test): Likewise.
2390 * string/test-rawmemchr.c (do_one_test): Likewise.
2391 (do_test): Likewise.
2392 * string/test-strcasecmp.c (do_one_test): Likewise.
2393 (do_test): Likewise.
2394 * string/test-strcasestr.c (do_one_test): Likewise.
2395 (do_test): Likewise.
2396 * string/test-strcat.c (do_one_test): Likewise.
2397 (do_test): Likewise.
2398 * string/test-strchr.c (do_one_test): Likewise.
2399 (do_test): Likewise.
2400 * string/test-strcmp.c (do_one_test): Likewise.
2401 (do_test): Likewise.
2402 * string/test-strcpy.c (do_one_test): Likewise.
2403 (do_test): Likewise.
2404 * string/test-string.h: Likewise.
2405 (test_init): Likewise.
2406 * string/test-strlen.c (do_one_test): Likewise.
2407 (do_test): Likewise.
2408 * string/test-strncasecmp.c (do_one_test): Likewise.
2409 (do_test): Likewise.
2410 * string/test-strncat.c (do_one_test): Likewise.
2411 (do_test): Likewise.
2412 * string/test-strncmp.c (do_one_test): Likewise.
2413 (do_test_limit): Likewise.
2414 (do_test): Likewise.
2415 * string/test-strncpy.c (do_one_test): Likewise.
2416 (do_test): Likewise.
2417 * string/test-strnlen.c (do_one_test): Likewise.
2418 (do_test): Likewise.
2419 * string/test-strpbrk.c (do_one_test): Likewise.
2420 (do_test): Likewise.
2421 * string/test-strrchr.c (do_one_test): Likewise.
2422 (do_test): Likewise.
2423 * string/test-strspn.c (do_one_test): Likewise.
2424 (do_test): Likewise.
2425 * string/test-strstr.c (do_one_test): Likewise.
2426 (do_test): Likewise.
2428 * benchtests/Makefile (string-bench): Add string benchmarks.
2429 * benchtests/bench-bcopy-ifunc.c: New file.
2430 * benchtests/bench-bcopy.c: New file.
2431 * benchtests/bench-bzero-ifunc.c: New file.
2432 * benchtests/bench-bzero.c: New file.
2433 * benchtests/bench-memccpy-ifunc.c: New file.
2434 * benchtests/bench-memccpy.c: New file.
2435 * benchtests/bench-memchr-ifunc.c: New file.
2436 * benchtests/bench-memchr.c: New file.
2437 * benchtests/bench-memcmp-ifunc.c: New file.
2438 * benchtests/bench-memcmp.c: New file.
2439 * benchtests/bench-memmem-ifunc.c: New file.
2440 * benchtests/bench-memmem.c: New file.
2441 * benchtests/bench-memmove-ifunc.c: New file.
2442 * benchtests/bench-memmove.c: New file.
2443 * benchtests/bench-mempcpy-ifunc.c: New file.
2444 * benchtests/bench-mempcpy.c: New file.
2445 * benchtests/bench-memset-ifunc.c: New file.
2446 * benchtests/bench-memset.c: New file.
2447 * benchtests/bench-rawmemchr-ifunc.c: New file.
2448 * benchtests/bench-rawmemchr.c: New file.
2449 * benchtests/bench-stpcpy-ifunc.c: New file.
2450 * benchtests/bench-stpcpy.c: New file.
2451 * benchtests/bench-stpncpy-ifunc.c: New file.
2452 * benchtests/bench-stpncpy.c: New file.
2453 * benchtests/bench-strcasecmp-ifunc.c: New file.
2454 * benchtests/bench-strcasecmp.c: New file.
2455 * benchtests/bench-strcasestr-ifunc.c: New file.
2456 * benchtests/bench-strcasestr.c: New file.
2457 * benchtests/bench-strcat-ifunc.c: New file.
2458 * benchtests/bench-strcat.c: New file.
2459 * benchtests/bench-strchr-ifunc.c: New file.
2460 * benchtests/bench-strchr.c: New file.
2461 * benchtests/bench-strchrnul-ifunc.c: New file.
2462 * benchtests/bench-strchrnul.c: New file.
2463 * benchtests/bench-strcmp-ifunc.c: New file.
2464 * benchtests/bench-strcmp.c: New file.
2465 * benchtests/bench-strcpy-ifunc.c: New file.
2466 * benchtests/bench-strcpy.c: New file.
2467 * benchtests/bench-strcspn-ifunc.c: New file.
2468 * benchtests/bench-strcspn.c: New file.
2469 * benchtests/bench-strlen-ifunc.c: New file.
2470 * benchtests/bench-strlen.c: New file.
2471 * benchtests/bench-strncasecmp-ifunc.c: New file.
2472 * benchtests/bench-strncasecmp.c: New file.
2473 * benchtests/bench-strncat-ifunc.c: New file.
2474 * benchtests/bench-strncat.c: New file.
2475 * benchtests/bench-strncmp-ifunc.c: New file.
2476 * benchtests/bench-strncmp.c: New file.
2477 * benchtests/bench-strncpy-ifunc.c: New file.
2478 * benchtests/bench-strncpy.c: New file.
2479 * benchtests/bench-strnlen-ifunc.c: New file.
2480 * benchtests/bench-strnlen.c: New file.
2481 * benchtests/bench-strpbrk-ifunc.c: New file.
2482 * benchtests/bench-strpbrk.c: New file.
2483 * benchtests/bench-strrchr-ifunc.c: New file.
2484 * benchtests/bench-strrchr.c: New file.
2485 * benchtests/bench-strspn-ifunc.c: New file.
2486 * benchtests/bench-strspn.c: New file.
2487 * benchtests/bench-strstr-ifunc.c: New file.
2488 * benchtests/bench-strstr.c: New file.
2490 * benchtests/Makefile: Disable parallel execution of targets.
2491 (string-bench): Add memcpy.
2492 (benchset): New variable to store a list of benchmark sets.
2493 (bench-func): Renamed from bench.
2494 (bench-set): New target.
2495 (bench): Depend on bench-func and bench-set.
2496 * benchtests/README: Add section on benchmark sets.
2497 * benchtests/bench-memcpy-ifunc.c: New file.
2498 * benchtests/bench-memcpy.c: New file.
2499 * benchtests/bench-string.h: New file.
2501 2013-06-11 Andreas Schwab <schwab@suse.de>
2504 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2505 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2506 values in the triple.
2507 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2508 terminator in the group key.
2510 2013-06-11 Andreas Jaeger <aj@suse.de>
2512 * po/zh_TW.po: Update Chinese (traditional) translation from
2513 translation project.
2515 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2517 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2518 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2519 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2521 (clock_getcpuclockid): Likewise.
2522 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2523 Add weak_alias and libc_hidden_def.
2524 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2525 * rt/clock_gettime.c (clock_gettime): Rename to
2526 __clock_gettime. Add weak_alias and libc_hidden_def.
2527 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2528 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2529 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2530 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2531 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2533 * rt/clock_settime.c (clock_settime): Rename to
2534 __clock_settime. Add weak_alias and libc_hidden_def.
2535 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2537 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2539 * mach/err_boot.sub: Remove trailing whitespace.
2540 * mach/err_ipc.sub: Likewise.
2541 * mach/err_mach.sub: Likewise.
2543 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2544 (ROUNDING_TESTS_double): Likewise.
2545 (ROUNDING_TESTS_long_double): Likewise.
2546 (ROUNDING_TESTS): Likewise.
2547 * math/libm-test.inc: Include <math-tests.h>.
2548 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2549 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2550 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2551 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2553 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2555 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2558 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2560 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2561 otherwise empty TRANS lines.
2562 * sysdeps/gnu/errlist.c: Regenerated.
2564 * catgets/gencat.c (error_print): Use (void) in function
2566 * crypt/crypt_util.c (__init_des): Likewise.
2567 * crypt/speeds.c (Stop): Likewise.
2569 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2570 * inet/ruserpass.c (token): Likewise.
2571 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2572 * intl/localealias.c (extend_alias_table): Likewise.
2573 * intl/plural-exp.c (init_germanic_plural): Likewise.
2574 * libio/fcloseall.c (__fcloseall): Likewise.
2575 * libio/genops.c (_IO_flush_all): Likewise.
2576 (_IO_flush_all_linebuffered): Likewise.
2577 (_IO_cleanup): Likewise.
2578 (_IO_iter_begin): Likewise.
2579 (_IO_iter_end): Likewise.
2580 (_IO_list_lock): Likewise.
2581 (_IO_list_unlock): Likewise.
2582 (_IO_list_resetlock): Likewise.
2583 * libio/getchar.c (getchar): Likewise.
2584 * libio/getchar_u.c (getchar_unlocked): Likewise.
2585 * libio/getwchar.c (getwchar): Likewise.
2586 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2587 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2588 * login/getpt.c (__getpt): Likewise.
2589 * login/tst-utmp.c (main): Likewise.
2590 * malloc/hooks.c (__malloc_check_init): Likewise.
2591 * malloc/malloc.c (__malloc_stats): Likewise.
2592 * malloc/mtrace.c (tr_break): Likewise.
2594 (muntrace): Likewise.
2595 * misc/fstab.c (endfsent): Likewise.
2596 * misc/getclktck.c (__getclktck): Likewise.
2597 * misc/getdtsz.c (__getdtablesize): Likewise.
2598 * misc/gethostid.c (gethostid): Likewise.
2599 * misc/getpagesize.c (__getpagesize): Likewise.
2600 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2601 (__get_nprocs): Likewise.
2602 (__get_phys_pages): Likewise.
2603 (__get_avphys_pages): Likewise.
2604 * misc/getttyent.c (getttyent): Likewise.
2605 (setttyent): Likewise.
2606 (endttyent): Likewise.
2607 * misc/getusershell.c (getusershell): Likewise.
2608 (endusershell): Likewise.
2609 (setusershell): Likewise.
2610 (initshells): Likewise.
2611 * misc/hsearch.c (__hdestroy): Likewise.
2612 * misc/sync.c (sync): Likewise.
2613 * misc/syslog.c (closelog_internal): Likewise.
2614 (closelog): Likewise.
2615 * misc/ttyslot.c (ttyslot): Likewise.
2616 * misc/vhangup.c (vhangup): Likewise.
2617 * posix/fork.c (__fork): Likewise.
2618 * posix/getegid.c (__getegid): Likewise.
2619 * posix/geteuid.c (__geteuid): Likewise.
2620 * posix/getgid.c (__getgid): Likewise.
2621 * posix/getpid.c (__getpid): Likewise.
2622 * posix/getppid.c (__getppid): Likewise.
2623 * posix/getuid.c (__getuid): Likewise.
2624 * posix/pause.c (pause): Likewise.
2625 * posix/setpgrp.c (setpgrp): Likewise.
2626 * posix/setsid.c (__setsid): Likewise.
2627 * posix/test-vfork.c (noop): Likewise.
2628 * resolv/gethnamaddr.c (_endhtent): Likewise.
2629 (_gethtent): Likewise.
2630 (ht_endhostent): Likewise.
2631 (gethostent): Likewise.
2632 (dns_service): Likewise.
2633 * stdlib/drand48.c (drand48): Likewise.
2634 * stdlib/lrand48.c (lrand48): Likewise.
2635 * stdlib/mrand48.c (mrand48): Likewise.
2636 * stdlib/rand.c (rand): Likewise.
2637 * stdlib/random.c (__random): Likewise.
2638 * stdlib/setenv.c (clearenv): Likewise.
2639 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2640 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2641 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2642 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2643 (__get_nprocs): Likewise.
2644 (__get_phys_pages): Likewise.
2645 (__get_avphys_pages): Likewise.
2646 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2647 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2648 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2649 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2650 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2651 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2652 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2653 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2654 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2655 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2656 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2657 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2658 * sysdeps/posix/clock.c (clock): Likewise.
2659 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2660 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2661 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2662 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2663 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2665 (__get_nprocs_conf): Likewise.
2666 (__get_phys_pages): Likewise.
2667 (__get_avphys_pages): Likewise.
2668 * time/clock.c (clock): Likewise.
2669 * time/tzset.c (__tzname_max): Likewise.
2671 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2673 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2674 (__bswap_32): Do not use "register".
2675 * crypt/crypt.c (_ufc_doit_r): Likewise.
2676 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2677 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2678 * gmon/gmon.c (__monstartup): Likewise.
2679 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2680 * hurd/hurdmalloc.c (more_memory): Likewise.
2683 (realloc): Likewise.
2684 (malloc_fork_prepare): Likewise.
2685 (malloc_fork_parent): Likewise.
2686 (malloc_fork_child): Likewise.
2687 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2688 (_svcauth_des): Likewise.
2689 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2690 * inet/inet_net.c (inet_network): Likewise.
2691 * inet/inet_netof.c (inet_netof): Likewise.
2692 * inet/rcmd.c (__validuser2_sa): Likewise.
2693 * io/fts.c (fts_open): Likewise.
2694 (fts_load): Likewise.
2695 (fts_close): Likewise.
2696 (fts_read): Likewise.
2697 (fts_children): Likewise.
2698 (fts_build): Likewise.
2699 (fts_stat): Likewise.
2700 (fts_sort): Likewise.
2701 (fts_alloc): Likewise.
2702 (fts_lfree): Likewise.
2703 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2704 (_IO_file_xsgetn): Likewise.
2705 (_IO_file_xsgetn_mmap): Likewise.
2706 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2707 (_IO_cookie_write): Likewise.
2708 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2709 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2710 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2711 * malloc/obstack.c (_obstack_begin): Likewise.
2712 (_obstack_begin_1): Likewise.
2713 (_obstack_newchunk): Likewise.
2714 (_obstack_allocated_p): Likewise.
2715 (obstack_free): Likewise.
2716 (_obstack_memory_used): Likewise.
2717 * misc/getttyent.c (getttynam): Likewise.
2718 (getttyent): Likewise.
2721 * misc/getusershell.c (initshells): Likewise.
2722 * misc/syslog.c (__vsyslog_chk): Likewise.
2723 * misc/ttyslot.c (ttyslot): Likewise.
2724 * nis/nis_hash.c (__nis_hash): Likewise.
2725 * posix/fnmatch_loop.c (FCT): Likewise.
2726 * posix/getconf.c (print_all): Likewise.
2728 * posix/getopt.c (exchange): Likewise.
2729 * posix/glob.c (globfree): Likewise.
2730 (prefix_array): Likewise.
2731 (__glob_pattern_type): Likewise.
2732 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2733 (NS_GET32): Likewise.
2734 (NS_PUT16): Likewise.
2735 (NS_PUT32): Likewise.
2736 * resolv/gethnamaddr.c (getanswer): Likewise.
2737 (gethostbyname2): Likewise.
2738 (gethostbyaddr): Likewise.
2739 (_gethtent): Likewise.
2740 (_gethtbyname2): Likewise.
2741 (_gethtbyaddr): Likewise.
2742 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2743 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2744 * resolv/res_init.c (__res_vinit): Likewise.
2745 (net_mask): Likewise.
2746 * resolv/res_mkquery.c (outchar): Likewise.
2748 * stdio-common/printf_fp.c (outchar): Likewise.
2750 * stdio-common/printf_fphex.c (outchar): Likewise.
2752 * stdio-common/printf_size.c (outchar): Likewise.
2754 * stdio-common/test_rdwr.c (main): Likewise.
2755 * stdio-common/tfformat.c (matches): Likewise.
2756 * stdio-common/vfprintf.c (outchar): Likewise.
2757 (printf_unknown): Likewise.
2758 (buffered_vfprintf): Likewise.
2759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2760 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2761 (ReadFile): Likewise.
2762 * stdlib/qsort.c (SWAP): Likewise.
2763 (_quicksort): Likewise.
2764 * stdlib/setenv.c (__add_to_environ): Likewise.
2765 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2766 * stdlib/strtol_l.c (__strtol_l): Likewise.
2767 * stdlib/tst-strtod.c (main): Likewise.
2768 * stdlib/tst-strtol.c (main): Likewise.
2769 * stdlib/tst-strtoll.c (main): Likewise.
2770 * string/bits/string2.h (__strcmp_cc): Likewise.
2771 (__strcmp_cg): Likewise.
2772 (__strcspn_c1): Likewise.
2773 (__strcspn_c2): Likewise.
2774 (__strcspn_c3): Likewise.
2775 (__strspn_c1): Likewise.
2776 (__strspn_c2): Likewise.
2777 (__strspn_c3): Likewise.
2778 (__strsep_1c): Likewise.
2779 (__strsep_2c): Likewise.
2780 (__strsep_3c): Likewise.
2781 * string/memccpy.c (__memccpy): Likewise.
2782 * string/stpcpy.c (__stpcpy): Likewise.
2783 * string/strcmp.c (strcmp): Likewise.
2784 * string/strrchr.c (strrchr): Likewise.
2785 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2787 * sysdeps/mach/hurd/getcwd.c
2788 (_hurd_canonicalize_directory_name_internal): Likewise.
2789 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2790 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2791 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2792 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2793 Likewise, in both definitions.
2794 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2796 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2797 64] (__bswap_64): Likewise.
2798 * time/test_time.c (main): Likewise.
2799 * time/tzfile.c (__tzfile_read): Likewise.
2800 (__tzfile_compute): Likewise.
2801 * time/tzset.c (__tzset_parse_tz): Likewise.
2802 (tzset_internal): Likewise.
2803 (compute_change): Likewise.
2804 * wcsmbs/wcscat.c (__wcscat): Likewise.
2805 * wcsmbs/wcschr.c (wcschr): Likewise.
2806 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2807 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2808 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2809 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2810 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2811 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2812 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2813 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2814 * wcsmbs/wmemset.c (wmemset): Likewise.
2816 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2818 * scripts/config.guess: Update to version 2013-05-16.
2819 * scripts/config.sub: Update to version 2013-04-24.
2820 * scripts/install-sh: Update to version 2011-11-20.07.
2821 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2822 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2824 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2826 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2827 * elf/sln.c: Likewise.
2828 * hurd/hurd/ioctl.h: Likewise.
2829 * hurd/hurdmalloc.c: Likewise.
2830 * hurd/xattr.c: Likewise.
2831 * include/shlib-compat.h: Likewise.
2832 * inet/ruserpass.c: Likewise.
2833 * libio/iofgets_u.c: Likewise.
2834 * libio/iofgetws_u.c: Likewise.
2835 * locale/programs/ld-identification.c: Likewise.
2836 * locale/programs/ld-time.c: Likewise.
2837 * mach/msg-destroy.c: Likewise.
2838 * nss/nss_files/files-netgrp.c: Likewise.
2839 * resolv/res_data.c: Likewise.
2840 * soft-fp/op-1.h: Likewise.
2841 * soft-fp/op-2.h: Likewise.
2842 * soft-fp/op-4.h: Likewise.
2843 * soft-fp/op-common.h: Likewise.
2844 * stdio-common/printf_fphex.c: Likewise.
2845 * stdlib/strtod_l.c: Likewise.
2846 * sunrpc/rpc/clnt.h: Likewise.
2847 * sysdeps/generic/framestate.c: Likewise.
2848 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2849 * sysdeps/i386/bsd-setjmp.S: Likewise.
2850 * sysdeps/i386/__longjmp.S: Likewise.
2851 * sysdeps/i386/setjmp.S: Likewise.
2852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2853 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2870 * sysdeps/ieee754/support.c: Likewise.
2871 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2872 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2873 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2874 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2875 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2876 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2877 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2878 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2879 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2880 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2881 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2882 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2883 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2884 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2885 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2886 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2887 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2890 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2892 * posix/transbug.c: Remove executable mode.
2894 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2896 * crypt/speeds.c: Remove trailing whitespace.
2897 * dlfcn/default.c: Likewise.
2898 * elf/ifuncdep2.c: Likewise.
2899 * elf/ifuncmain1.c: Likewise.
2900 * elf/ifuncmain1vis.c: Likewise.
2901 * elf/testobj.h: Likewise.
2902 * elf/tst-stackguard1.c: Likewise.
2903 * gmon/sys/gmon.h: Likewise.
2904 * hurd/hurdmsg.c: Likewise.
2905 * hurd/new-fd.c: Likewise.
2906 * hurd/ports-get.c: Likewise.
2907 * iconvdata/ibm1008_420.c: Likewise.
2908 * inet/tst-getni1.c: Likewise.
2909 * inet/tst-getni2.c: Likewise.
2910 * libio/ioungetc.c: Likewise.
2911 * libio/wfiledoalloc.c: Likewise.
2912 * manual/libm-err-tab.pl: Likewise.
2913 * math/w_dremf.c: Likewise.
2914 * misc/ftruncate.c: Likewise.
2915 * posix/bug-glob2.c: Likewise.
2916 * posix/tst-pcre.c: Likewise.
2917 * posix/wait4.c: Likewise.
2918 * resolv/README: Likewise.
2919 * resolv/res_debug.h: Likewise.
2920 * resolv/tst-inet_ntop.c: Likewise.
2921 * setjmp/bug269-setjmp.c: Likewise.
2922 * soft-fp/extended.h: Likewise.
2923 * soft-fp/op-1.h: Likewise.
2924 * soft-fp/op-2.h: Likewise.
2925 * soft-fp/op-4.h: Likewise.
2926 * soft-fp/op-8.h: Likewise.
2927 * soft-fp/testit.c: Likewise.
2928 * stdio-common/bug16.c: Likewise.
2929 * stdlib/random.c: Likewise.
2930 * sunrpc/rpcsvc/rquota.x: Likewise.
2931 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2932 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2933 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2934 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2935 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2936 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2937 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2940 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2941 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2942 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2949 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2950 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2951 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2956 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2960 * sysdeps/ieee754/s_lib_version.c: Likewise.
2961 * sysdeps/mach/hurd/check_fds.c: Likewise.
2962 * sysdeps/mach/hurd/getsockname.c: Likewise.
2963 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2964 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2965 * sysdeps/powerpc/bits/link.h: Likewise.
2966 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2967 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2968 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2969 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2970 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2971 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2972 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2974 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2975 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2976 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2977 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2978 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2979 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2980 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2986 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2987 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2988 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2989 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2990 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2992 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2994 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2995 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2996 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3000 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3002 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3003 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3004 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3005 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3006 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3010 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3011 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3012 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3013 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3015 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3018 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3019 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3020 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3021 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3022 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3024 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3025 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3026 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3027 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3028 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3029 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3030 * sysdeps/powerpc/sysdep.h: Likewise.
3031 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3032 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3033 * sysdeps/sh/dl-trampoline.S: Likewise.
3034 * sysdeps/sh/memset.S: Likewise.
3035 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3036 * sysdeps/sh/strlen.S: Likewise.
3037 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3038 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3039 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3040 * sysdeps/sparc/sparc32/rem.S: Likewise.
3041 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3042 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3043 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3044 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3045 * sysdeps/sparc/sparc32/urem.S: Likewise.
3046 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3047 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3048 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3049 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3050 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3051 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3052 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3053 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3054 * sysdeps/unix/bsd/times.c: Likewise.
3055 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3056 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3060 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3061 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3062 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3063 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3064 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3065 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3066 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3067 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3068 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3069 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3070 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3071 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3072 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3073 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3074 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3075 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3076 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3077 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3078 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3079 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3080 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3083 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3084 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3085 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3086 * sysdeps/x86_64/strcspn.S: Likewise.
3088 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3090 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3091 generated file. Regenerate properly from gen-translit.pl.
3092 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3093 locale/C-translit.h.
3095 2013-06-05 Andreas Schwab <schwab@suse.de>
3098 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3099 week as 6 instead of -1.
3100 * time/tst-strptime.c (day_tests): Add test case.
3102 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3104 * sysdeps/generic/math_private.h
3105 (libc_feholdexcept_setround_53bit): Replace with
3106 libc_feholdsetround_53bit.
3107 (libc_feupdateenv_53bit): Replace with
3108 libc_feresetround_53bit.
3109 (SET_RESTORE_ROUND_53BIT): Adjust.
3111 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3113 * string/test-strchrnul.c: Add copyright header.
3115 * posix/tst-getaddrinfo4.c: Increase test timeout.
3117 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3120 * math/libm-test.inc (MAX_EXP): Remove
3122 (ulp): Use MIN_EXP - MANT_DIG.
3123 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3125 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3127 * po/be.po: Revert last change.
3128 * po/zh_CN.po: Likewise.
3129 * po/header.pot: Likewise.
3131 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3133 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3134 link-libc-deps to empty as target-specific variable.
3135 * Makerules (link-libc-args): New variable.
3136 (libc-for-link): Likewise.
3137 (link-libc-deps): Likewise.
3138 (lib%.so): Depend on $(link-libc-deps). Link with
3140 (build-module): Link with $(link-libc-args).
3141 (build-module-asneeded): Likewise.
3142 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3144 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3145 target-specific variable.
3146 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3147 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3148 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3150 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3152 ($(objpfx)libpcprofile.so): Likewise.
3153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3155 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3156 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3157 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3159 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3160 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3161 * login/Makefile ($(objpfx)libutil.so): Likewise.
3162 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3163 * math/Makefile ($(objpfx)libm.so): Likewise.
3164 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3165 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3166 variable instead of depending directly on libc.
3167 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3168 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3170 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3172 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3173 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3174 ($(objpfx)libanl.so): Likewise.
3175 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3177 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3179 * sysdeps/i386/fpu/Makefile: Remove file.
3180 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3181 ($(objpfx)libm.so): Remove dependency on ld.so.
3183 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3186 * nis/yp_xdr.c (XDRMAXNAME): Define.
3187 (XDRMAXRECORD): Define.
3188 (xdr_domainname): Use XDRMAXNAME.
3189 (xdr_mapname): Likewise.
3190 (xdr_peername): Likewise.
3191 (xdr_keydat): Use XDRMAXRECORD.
3192 (xdr_valdat): Likewise.
3194 2013-05-30 Jeff Law <law@redhat.com>
3197 * manual/errno.texi (ESTALE): Update to account for more than
3198 just NFS file systems.
3199 * sysdeps/gnu/errlist.c: Regenerated.
3201 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3204 * elf/Makefile (tests): Add tst-null-argv.
3205 (modules-names): Add tst-null-argv-lib.
3206 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3207 (tst-null-argv-ENV): Set environment for tst-null-argv.
3208 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3209 (RTLD_PROGNAME): New macro.
3210 * elf/tst-null-argv.c: New test case.
3211 * elf/tst-null-argv-lib.c: Library for test case.
3212 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3213 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3214 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3215 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3216 * elf/dl-init.c (call_init): Likewise.
3217 (_dl_init): Likewise.
3218 * elf/dl-load.c (print_search_path): Likewise.
3219 (_dl_map_object): Likewise.
3220 * elf/dl-lookup.c (do_lookup_x): Likewise.
3221 (add_dependency): Likewise.
3222 (_dl_lookup_symbol_x): Likewise.
3223 (_dl_debug_bindings): Likewise.
3224 * elf/dl-open.c (_dl_show_scope): Likewise.
3225 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3226 * elf/dl-version.c (match_symbol): Likewise.
3227 (_dl_check_map_versions): Likewise.
3228 * elf/rtld.c (dl_main): Likewise.
3229 (print_unresolved): Use RTLD_PROGNAME.
3230 (print_missing_version): Likewise.
3231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3232 (elf_machine_rela): Likewise.
3233 * sysdeps/powerpc/powerpc32/dl-machine.c
3234 (__process_machine_rela): Likewise.
3235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3239 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3241 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3242 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3244 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3248 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3250 * po/be.po: Add descriptive title.
3251 * po/zh_CN.po: Likewise.
3252 * po/header.pot: Likewise.
3254 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3256 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3258 (enlarge_archive): Likewise.
3260 2013-05-28 Ben North <ben@redfrontdoor.org>
3262 * manual/arith.texi (frexp): It is the magnitude of the return
3263 value which lies in [0.5, 1), not the return value itself.
3265 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3269 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3271 * stdio-common/bug26.c (main): Correct fscanf template.
3273 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3274 declare _dl_skip_args.
3276 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3279 * manual/platform.texi: Add missing @end deftypefun.
3281 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3284 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3285 bit of mantissa of 2^16382.
3286 * math/libm-test.inc (hypot_test_data): Add more tests.
3288 * math/libm-test.inc: Add drem and pow10 to list of tested
3290 (pow10_test): New function.
3291 (drem_test): Likewise.
3292 (drem_test_tonearest): Likewise.
3293 (drem_test_towardzero): Likewise.
3294 (drem_test_downward): Likewise.
3295 (drem_test_upward): Likewise.
3296 (main): Call the new functions.
3298 * math/libm-test.inc (finite_test_data): Remove.
3299 (finite_test): Run tests from isfinite_test_data.
3300 (gamma_test_data): Remove.
3301 (gamma_test): Run tests from lgamma_test_data.
3302 * sysdeps/i386/fpu/libm-test-ulps: Update.
3303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3305 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307 * manual/platform.texi: Add PowerPC PPR function set documentation.
3308 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3311 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3313 * math/libm-test.inc (MAX_EXP): Define.
3315 (ulp): New function.
3316 (check_float_internal): Use ULPDIFF.
3317 (cpow_test): Disable failing test.
3318 (check_ulp): Test ulp() implemetnation.
3319 (main): Call check_ulp before starting tests.
3321 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3323 * math/gen-libm-test.pl (generate_testfile): Do not handle
3324 START_DATA and END_DATA.
3325 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3327 (acos_tonearest_test_data): Likewise.
3328 (acos_towardzero_test_data): Likewise.
3329 (acos_downward_test_data): Likewise.
3330 (acos_upward_test_data): Likewise.
3331 (acosh_test_data): Likewise.
3332 (asin_test_data): Likewise.
3333 (asin_tonearest_test_data): Likewise.
3334 (asin_towardzero_test_data): Likewise.
3335 (asin_downward_test_data): Likewise.
3336 (asin_upward_test_data): Likewise.
3337 (asinh_test_data): Likewise.
3338 (atan_test_data): Likewise.
3339 (atanh_test_data): Likewise.
3340 (atan2_test_data): Likewise.
3341 (cabs_test_data): Likewise.
3342 (cacos_test_data): Likewise.
3343 (cacosh_test_data): Likewise.
3344 (carg_test_data): Likewise.
3345 (casin_test_data): Likewise.
3346 (casinh_test_data): Likewise.
3347 (catan_test_data): Likewise.
3348 (catanh_test_data): Likewise.
3349 (cbrt_test_data): Likewise.
3350 (ccos_test_data): Likewise.
3351 (ccosh_test_data): Likewise.
3352 (ceil_test_data): Likewise.
3353 (cexp_test_data): Likewise.
3354 (cimag_test_data): Likewise.
3355 (clog_test_data): Likewise.
3356 (clog10_test_data): Likewise.
3357 (conj_test_data): Likewise.
3358 (copysign_test_data): Likewise.
3359 (cos_test_data): Likewise.
3360 (cos_tonearest_test_data): Likewise.
3361 (cos_towardzero_test_data): Likewise.
3362 (cos_downward_test_data): Likewise.
3363 (cos_upward_test_data): Likewise.
3364 (cosh_test_data): Likewise.
3365 (cosh_tonearest_test_data): Likewise.
3366 (cosh_towardzero_test_data): Likewise.
3367 (cosh_downward_test_data): Likewise.
3368 (cosh_upward_test_data): Likewise.
3369 (cpow_test_data): Likewise.
3370 (cproj_test_data): Likewise.
3371 (creal_test_data): Likewise.
3372 (csin_test_data): Likewise.
3373 (csinh_test_data): Likewise.
3374 (csqrt_test_data): Likewise.
3375 (ctan_test_data): Likewise.
3376 (ctan_tonearest_test_data): Likewise.
3377 (ctan_towardzero_test_data): Likewise.
3378 (ctan_downward_test_data): Likewise.
3379 (ctan_upward_test_data): Likewise.
3380 (ctanh_test_data): Likewise.
3381 (ctanh_tonearest_test_data): Likewise.
3382 (ctanh_towardzero_test_data): Likewise.
3383 (ctanh_downward_test_data): Likewise.
3384 (ctanh_upward_test_data): Likewise.
3385 (erf_test_data): Likewise.
3386 (erfc_test_data): Likewise.
3387 (exp_test_data): Likewise.
3388 (exp_tonearest_test_data): Likewise.
3389 (exp_towardzero_test_data): Likewise.
3390 (exp_downward_test_data): Likewise.
3391 (exp_upward_test_data): Likewise.
3392 (exp10_test_data): Likewise.
3393 (exp2_test_data): Likewise.
3394 (expm1_test_data): Likewise.
3395 (fabs_test_data): Likewise.
3396 (fdim_test_data): Likewise.
3397 (finite_test_data): Likewise.
3398 (floor_test_data): Likewise.
3399 (fma_test_data): Likewise.
3400 (fma_towardzero_test_data): Likewise.
3401 (fma_downward_test_data): Likewise.
3402 (fma_upward_test_data): Likewise.
3403 (fmax_test_data): Likewise.
3404 (fmin_test_data): Likewise.
3405 (fmod_test_data): Likewise.
3406 (fpclassify_test_data): Likewise.
3407 (frexp_test_data): Likewise.
3408 (gamma_test_data): Likewise.
3409 (hypot_test_data): Likewise.
3410 (ilogb_test_data): Likewise.
3411 (isfinite_test_data): Likewise.
3412 (isgreater_test_data): Likewise.
3413 (isgreaterequal_test_data): Likewise.
3414 (isinf_test_data): Likewise.
3415 (isless_test_data): Likewise.
3416 (islessequal_test_data): Likewise.
3417 (islessgreater_test_data): Likewise.
3418 (isnan_test_data): Likewise.
3419 (isnormal_test_data): Likewise.
3420 (issignaling_test_data): Likewise.
3421 (isunordered_test_data): Likewise.
3422 (j0_test_data): Likewise.
3423 (j1_test_data): Likewise.
3424 (jn_test_data): Likewise.
3425 (ldexp_test_data): Likewise.
3426 (lgamma_test_data): Likewise.
3427 (lrint_test_data): Likewise.
3428 (lrint_tonearest_test_data): Likewise.
3429 (lrint_towardzero_test_data): Likewise.
3430 (lrint_downward_test_data): Likewise.
3431 (lrint_upward_test_data): Likewise.
3432 (llrint_test_data): Likewise.
3433 (llrint_tonearest_test_data): Likewise.
3434 (llrint_towardzero_test_data): Likewise.
3435 (llrint_downward_test_data): Likewise.
3436 (llrint_upward_test_data): Likewise.
3437 (log_test_data): Likewise.
3438 (log10_test_data): Likewise.
3439 (log1p_test_data): Likewise.
3440 (log2_test_data): Likewise.
3441 (logb_test_data): Likewise.
3442 (logb_downward_test_data): Likewise.
3443 (lround_test_data): Likewise.
3444 (llround_test_data): Likewise.
3445 (modf_test_data): Likewise.
3446 (nearbyint_test_data): Likewise.
3447 (nextafter_test_data): Likewise.
3448 (nexttoward_test_data): Likewise.
3449 (pow_test_data): Likewise.
3450 (pow_tonearest_test_data): Likewise.
3451 (pow_towardzero_test_data): Likewise.
3452 (pow_downward_test_data): Likewise.
3453 (pow_upward_test_data): Likewise.
3454 (remainder_test_data): Likewise.
3455 (remainder_tonearest_test_data): Likewise.
3456 (remainder_towardzero_test_data): Likewise.
3457 (remainder_downward_test_data): Likewise.
3458 (remainder_upward_test_data): Likewise.
3459 (remquo_test_data): Likewise.
3460 (rint_test_data): Likewise.
3461 (rint_tonearest_test_data): Likewise.
3462 (rint_towardzero_test_data): Likewise.
3463 (rint_downward_test_data): Likewise.
3464 (rint_upward_test_data): Likewise.
3465 (round_test_data): Likewise.
3466 (scalb_test_data): Likewise.
3467 (scalbn_test_data): Likewise.
3468 (scalbln_test_data): Likewise.
3469 (signbit_test_data): Likewise.
3470 (sin_test_data): Likewise.
3471 (sin_tonearest_test_data): Likewise.
3472 (sin_towardzero_test_data): Likewise.
3473 (sin_downward_test_data): Likewise.
3474 (sin_upward_test_data): Likewise.
3475 (sincos_test_data): Likewise.
3476 (sinh_test_data): Likewise.
3477 (sinh_tonearest_test_data): Likewise.
3478 (sinh_towardzero_test_data): Likewise.
3479 (sinh_downward_test_data): Likewise.
3480 (sinh_upward_test_data): Likewise.
3481 (sqrt_test_data): Likewise.
3482 (tan_test_data): Likewise.
3483 (tan_tonearest_test_data): Likewise.
3484 (tan_towardzero_test_data): Likewise.
3485 (tan_downward_test_data): Likewise.
3486 (tan_upward_test_data): Likewise.
3487 (tanh_test_data): Likewise.
3488 (tgamma_test_data): Likewise.
3489 (trunc_test_data): Likewise.
3490 (y0_test_data): Likewise.
3491 (y1_test_data): Likewise.
3492 (yn_test_data): Likewise.
3493 (significand_test_data): Likewise.
3495 * math/gen-libm-test.pl (@functions): Remove variable.
3496 (generate_testfile): Don't handle START and END lines.
3497 * math/libm-test.inc (START): New macro.
3499 (END_COMPLEX): Likewise.
3500 (acos_test): Use END macro without arguments.
3501 (acos_test_tonearest): Likewise.
3502 (acos_test_towardzero): Likewise.
3503 (acos_test_downward): Likewise.
3504 (acos_test_upward): Likewise.
3505 (acosh_test): Likewise.
3506 (asin_test): Likewise.
3507 (asin_test_tonearest): Likewise.
3508 (asin_test_towardzero): Likewise.
3509 (asin_test_downward): Likewise.
3510 (asin_test_upward): Likewise.
3511 (asinh_test): Likewise.
3512 (atan_test): Likewise.
3513 (atanh_test): Likewise.
3514 (atan2_test): Likewise.
3515 (cabs_test): Likewise.
3516 (cacos_test): Use END_COMPLEX macro without arguments.
3517 (cacosh_test): Likewise.
3518 (carg_test): Use END macro without arguments.
3519 (casin_test): Use END_COMPLEX macro without arguments.
3520 (casinh_test): Likewise.
3521 (catan_test): Likewise.
3522 (catanh_test): Likewise.
3523 (cbrt_test): Use END macro without arguments.
3524 (ccos_test): Use END_COMPLEX macro without arguments.
3525 (ccosh_test): Likewise.
3526 (ceil_test): Use END macro without arguments.
3527 (cexp_test): Use END_COMPLEX macro without arguments.
3528 (cimag_test): Use END macro without arguments.
3529 (clog_test): Use END_COMPLEX macro without arguments.
3530 (clog10_test): Likewise.
3531 (conj_test): Likewise.
3532 (copysign_test): Use END macro without arguments.
3533 (cos_test): Likewise.
3534 (cos_test_tonearest): Likewise.
3535 (cos_test_towardzero): Likewise.
3536 (cos_test_downward): Likewise.
3537 (cos_test_upward): Likewise.
3538 (cosh_test): Likewise.
3539 (cosh_test_tonearest): Likewise.
3540 (cosh_test_towardzero): Likewise.
3541 (cosh_test_downward): Likewise.
3542 (cosh_test_upward): Likewise.
3543 (cpow_test): Use END_COMPLEX macro without arguments.
3544 (cproj_test): Likewise.
3545 (creal_test): Use END macro without arguments.
3546 (csin_test): Use END_COMPLEX macro without arguments.
3547 (csinh_test): Likewise.
3548 (csqrt_test): Likewise.
3549 (ctan_test): Likewise.
3550 (ctan_test_tonearest): Likewise.
3551 (ctan_test_towardzero): Likewise.
3552 (ctan_test_downward): Likewise.
3553 (ctan_test_upward): Likewise.
3554 (ctanh_test): Likewise.
3555 (ctanh_test_tonearest): Likewise.
3556 (ctanh_test_towardzero): Likewise.
3557 (ctanh_test_downward): Likewise.
3558 (ctanh_test_upward): Likewise.
3559 (erf_test): Use END macro without arguments.
3560 (erfc_test): Likewise.
3561 (exp_test): Likewise.
3562 (exp_test_tonearest): Likewise.
3563 (exp_test_towardzero): Likewise.
3564 (exp_test_downward): Likewise.
3565 (exp_test_upward): Likewise.
3566 (exp10_test): Likewise.
3567 (exp2_test): Likewise.
3568 (expm1_test): Likewise.
3569 (fabs_test): Likewise.
3570 (fdim_test): Likewise.
3571 (finite_test): Likewise.
3572 (floor_test): Likewise.
3573 (fma_test): Likewise.
3574 (fma_test_towardzero): Likewise.
3575 (fma_test_downward): Likewise.
3576 (fma_test_upward): Likewise.
3577 (fmax_test): Likewise.
3578 (fmin_test): Likewise.
3579 (fmod_test): Likewise.
3580 (fpclassify_test): Likewise.
3581 (frexp_test): Likewise.
3582 (gamma_test): Likewise.
3583 (hypot_test): Likewise.
3584 (ilogb_test): Likewise.
3585 (isfinite_test): Likewise.
3586 (isgreater_test): Likewise.
3587 (isgreaterequal_test): Likewise.
3588 (isinf_test): Likewise.
3589 (isless_test): Likewise.
3590 (islessequal_test): Likewise.
3591 (islessgreater_test): Likewise.
3592 (isnan_test): Likewise.
3593 (isnormal_test): Likewise.
3594 (issignaling_test): Likewise.
3595 (isunordered_test): Likewise.
3596 (j0_test): Likewise.
3597 (j1_test): Likewise.
3598 (jn_test): Likewise.
3599 (ldexp_test): Likewise.
3600 (lgamma_test): Likewise.
3601 (lrint_test): Likewise.
3602 (lrint_test_tonearest): Likewise.
3603 (lrint_test_towardzero): Likewise.
3604 (lrint_test_downward): Likewise.
3605 (lrint_test_upward): Likewise.
3606 (llrint_test): Likewise.
3607 (llrint_test_tonearest): Likewise.
3608 (llrint_test_towardzero): Likewise.
3609 (llrint_test_downward): Likewise.
3610 (llrint_test_upward): Likewise.
3611 (log_test): Likewise.
3612 (log10_test): Likewise.
3613 (log1p_test): Likewise.
3614 (log2_test): Likewise.
3615 (logb_test): Likewise.
3616 (logb_test_downward): Likewise.
3617 (lround_test): Likewise.
3618 (llround_test): Likewise.
3619 (modf_test): Likewise.
3620 (nearbyint_test): Likewise.
3621 (nextafter_test): Likewise.
3622 (nexttoward_test): Likewise.
3623 (pow_test): Likewise.
3624 (pow_test_tonearest): Likewise.
3625 (pow_test_towardzero): Likewise.
3626 (pow_test_downward): Likewise.
3627 (pow_test_upward): Likewise.
3628 (remainder_test): Likewise.
3629 (remainder_test_tonearest): Likewise.
3630 (remainder_test_towardzero): Likewise.
3631 (remainder_test_downward): Likewise.
3632 (remainder_test_upward): Likewise.
3633 (remquo_test): Likewise.
3634 (rint_test): Likewise.
3635 (rint_test_tonearest): Likewise.
3636 (rint_test_towardzero): Likewise.
3637 (rint_test_downward): Likewise.
3638 (rint_test_upward): Likewise.
3639 (round_test): Likewise.
3640 (scalb_test): Likewise.
3641 (scalbn_test): Likewise.
3642 (scalbln_test): Likewise.
3643 (signbit_test): Likewise.
3644 (sin_test): Likewise.
3645 (sin_test_tonearest): Likewise.
3646 (sin_test_towardzero): Likewise.
3647 (sin_test_downward): Likewise.
3648 (sin_test_upward): Likewise.
3649 (sincos_test): Likewise.
3650 (sinh_test): Likewise.
3651 (sinh_test_tonearest): Likewise.
3652 (sinh_test_towardzero): Likewise.
3653 (sinh_test_downward): Likewise.
3654 (sinh_test_upward): Likewise.
3655 (sqrt_test): Likewise.
3656 (tan_test): Likewise.
3657 (tan_test_tonearest): Likewise.
3658 (tan_test_towardzero): Likewise.
3659 (tan_test_downward): Likewise.
3660 (tan_test_upward): Likewise.
3661 (tanh_test): Likewise.
3662 (tgamma_test): Likewise.
3663 (trunc_test): Likewise.
3664 (y0_test): Likewise.
3665 (y1_test): Likewise.
3666 (yn_test): Likewise.
3667 (significand_test): Likewise.
3669 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3672 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3674 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3677 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3678 __ppc_mdoio and __ppc_mdoom.
3679 * manual/platform.texi: Document new functions __ppc_yield,
3680 __ppc_mdoio and __ppc_mdoom.
3682 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3684 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3685 (main): Mention "tls" pseudo-hwcap is legacy.
3686 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3688 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3690 * math/gen-libm-test.pl (parse_args): Output only string of
3691 arguments as text for test name, not full call or descriptions of
3692 tests for extra outputs.
3693 (generate_testfile): Do not pass function name to parse_args.
3694 Generate this_func variable from START.
3695 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3697 (struct test_ff_f_data): Likewise.
3698 (test_ff_f_data_nexttoward): Likewise.
3699 (struct test_fi_f_data): Likewise.
3700 (struct test_fl_f_data): Likewise.
3701 (struct test_if_f_data): Likewise.
3702 (struct test_fff_f_data): Likewise.
3703 (struct test_c_f_data): Likewise.
3704 (struct test_f_f1_data): Likewise. Remove field extra_name.
3705 (struct test_fF_f1_data): Likewise.
3706 (struct test_ffI_f1_data): Likewise.
3707 (struct test_c_c_data): Rename test_name field to arg_str.
3708 (struct test_cc_c_data): Likewise.
3709 (struct test_f_i_data): Likewise.
3710 (struct test_ff_i_data): Likewise.
3711 (struct test_f_l_data): Likewise.
3712 (struct test_f_L_data): Likewise.
3713 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3715 (COMMON_TEST_SETUP): New macro.
3716 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3717 (COMMON_TEST_CLEANUP): Likewise.
3718 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3719 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3721 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3722 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3724 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3725 (RUN_TEST_fff_f): Take argument string. Call new setup and
3727 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3728 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3730 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3731 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3733 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3734 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3736 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3737 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3739 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3740 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3742 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3743 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3745 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3746 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3748 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3749 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3751 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3752 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3754 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3755 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3757 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3758 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3760 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3761 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3763 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3764 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3766 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3767 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3769 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3770 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3772 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3774 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3776 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3777 to _sifields.sigfault.
3778 (si_addr_lsb): Define new macro.
3779 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3783 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3786 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3788 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3790 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3793 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3795 * math/gen-libm-test.pl (parse_args): Do not include expected
3796 result in test name.
3797 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3801 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3804 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3806 * benchtests/Makefile: Sort function entries.
3808 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3809 tanh, asinh, acosh, atanh.
3810 * benchtests/acos-inputs: New file.
3811 * benchtests/acosh-inputs: New file.
3812 * benchtests/asin-inputs: New file.
3813 * benchtests/asinh-inputs: New file.
3814 * benchtests/atanh-inputs: New file.
3815 * benchtests/cosh-inputs: New file.
3816 * benchtests/log-inputs: New file.
3817 * benchtests/sinh-inputs: New file.
3818 * benchtests/tanh-inputs: New file.
3820 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3823 * posix/tst-getaddrinfo4.c: New test.
3824 * posix/Makefile (tests): Add it.
3826 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3829 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3830 when no services were used.
3831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3832 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3834 2013-05-21 Andreas Schwab <schwab@suse.de>
3837 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3838 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3840 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3841 redundant variable declarations and reallocation of buffer when
3842 parsing as IPv6 address. Always set NSS status when called from
3843 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3844 buffer too small. Correct computation of needed size.
3845 * nss/Makefile (tests): Add test-digits-dots.
3846 * nss/test-digits-dots.c: New test.
3848 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3850 * benchtests/Makefile: Remove instructions for adding
3852 * benchtests/README: New file to explain how to execute and
3853 enhance the benchmark tests.
3855 2013-05-21 Andreas Schwab <schwab@suse.de>
3858 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3859 * setjmp/tst-sigsetjmp.c: New test.
3861 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3863 * sysdeps/x86_64/memset.S (memset): New implementation.
3864 (__bzero): Likewise.
3865 (__memset_tail): New function.
3867 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3869 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3870 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3871 __memcpy_sse2_unaligned ifunc selection.
3872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3873 Add memcpy-sse2-unaligned.S.
3874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3875 Add: __memcpy_sse2_unaligned.
3877 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3880 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3881 math_force_eval before restoring floating-point envrionment.
3882 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3885 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3887 (__nearbyintl): Use math_force_eval before restoring
3888 floating-point environment.
3889 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3891 * math/gen-libm-test.pl (special_functions): Remove.
3892 (parse_args): Don't handle TEST_extra. Handle functions with no
3894 * math/libm-test.inc (struct test_sincos_data): Replace with
3895 struct test_fFF_11_data.
3896 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3897 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3898 (sincos_test_data): Change element type to struct
3899 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3900 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3901 RUN_TEST_LOOP_sincos.
3902 * math/README.libm-test: Don't mention special handling of
3903 individual functions.
3904 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3906 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3907 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3908 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3911 * math/gen-libm-test.pl (get_variable): Remove function.
3912 (parse_args): Don't show pointer parameters to call in test
3913 names. Use "extra output N" in test names for extra outputs
3914 rather than naming variables.
3916 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3919 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3920 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3921 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3923 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3925 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3928 * math/gen-libm-test.pl (@tests): Remove variable.
3930 (new_test): Remove function.
3931 (show_exceptions): New function.
3932 (special_functions): Use show_exceptions instead of new_test.
3933 (parse_args): Likewise.
3934 (generate_testfile): Pass only function name in generated call to
3935 print_max_error or print_complex_max_error.
3936 (get_ulps): Do not handle complex tests specially.
3937 (output_test): Rename to ...
3938 (get_all_ulps_for_test): ... this. Return a string rather than
3939 printing to a file. Require ulps to be present.
3940 (output_ulps): Generate arrays rather than #defines.
3941 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3942 (struct ulp_data): New type.
3943 (BUILD_COMPLEX_ULP): Remove macro.
3944 (compare_ulp_data): New function.
3945 (find_ulps): Likewise.
3946 (find_test_ulps): Likewise.
3947 (find_function_ulps): Likewise.
3948 (find_complex_function_ulps): Likewise.
3949 (print_max_error): Determine allowed ulps using
3951 (print_complex_max_error): Determine allowed ulps using
3952 find_complex_function_ulps.
3953 (check_float_internal): Determine max ulps using find_test_ulps.
3954 (check_float): Do not take max_ulp parameter. Update call to
3955 check_float_internal.
3956 (check_complex): Likewise.
3957 (check_int): Do not take max_ulp parameter.
3958 (check_long): Likewise.
3959 (check_bool): Likewise.
3960 (check_longlong): Likewise.
3961 (struct test_f_f_data): Remove max_ulp field.
3962 (struct test_ff_f_data): Likewise.
3963 (struct test_ff_f_data_nexttoward): Likewise.
3964 (struct test_fi_f_data): Likewise.
3965 (struct test_fl_f_data): Likewise.
3966 (struct test_if_f_data): Likewise.
3967 (struct test_fff_f_data): Likewise.
3968 (struct test_c_f_data): Likewise.
3969 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3970 (struct test_fF_f1_data): Likewise.
3971 (struct test_ffI_f1_data): Likewise.
3972 (struct test_c_c_data): Remove max_ulp field.
3973 (struct test_cc_c_data): Likewise.
3974 (struct test_f_i_data): Likewise.
3975 (struct test_ff_i_data): Likewise.
3976 (struct test_f_l_data): Likewise.
3977 (struct test_f_L_data): Likewise.
3978 (struct test_sincos_data): Likewise.
3979 (RUN_TEST_f_f): Do not handle ulps.
3980 (RUN_TEST_LOOP_f_f): Likewise.
3981 (RUN_TEST_2_f): Likewise.
3982 (RUN_TEST_LOOP_2_f): Likewise.
3983 (RUN_TEST_fff_f): Likewise.
3984 (RUN_TEST_LOOP_fff_f): Likewise.
3985 (RUN_TEST_c_f): Likewise.
3986 (RUN_TEST_LOOP_c_f): Likewise.
3987 (RUN_TEST_f_f1): Likewise.
3988 (RUN_TEST_LOOP_f_f1): Likewise.
3989 (RUN_TEST_fF_f1): Likewise.
3990 (RUN_TEST_LOOP_fF_f1): Likewise.
3991 (RUN_TEST_fI_f1): Likewise.
3992 (RUN_TEST_LOOP_fI_f1): Likewise.
3993 (RUN_TEST_ffI_f1): Likewise.
3994 (RUN_TEST_LOOP_ffI_f1): Likewise.
3995 (RUN_TEST_c_c): Likewise.
3996 (RUN_TEST_LOOP_c_c): Likewise.
3997 (RUN_TEST_cc_c): Likewise.
3998 (RUN_TEST_LOOP_cc_c): Likewise.
3999 (RUN_TEST_f_i): Likewise.
4000 (RUN_TEST_LOOP_f_i): Likewise.
4001 (RUN_TEST_f_i_tg): Likewise.
4002 (RUN_TEST_LOOP_f_i_tg): Likewise.
4003 (RUN_TEST_ff_i_tg): Likewise.
4004 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4005 (RUN_TEST_f_b): Likewise.
4006 (RUN_TEST_LOOP_f_b): Likewise.
4007 (RUN_TEST_f_b_tg): Likewise.
4008 (RUN_TEST_LOOP_f_b_tg): Likewise.
4009 (RUN_TEST_f_l): Likewise.
4010 (RUN_TEST_LOOP_f_l): Likewise.
4011 (RUN_TEST_f_L): Likewise.
4012 (RUN_TEST_LOOP_f_L): Likewise.
4013 (RUN_TEST_sincos): Likewise.
4014 (RUN_TEST_LOOP_sincos): Likewise.
4016 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4020 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4021 main case of finite arguments, set rounding mode to FE_TONEAREST
4022 and discard exceptions.
4023 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4025 (remainder_tonearest_test_data): New variable.
4026 (remainder_test_tonearest): New function.
4027 (remainder_towardzero_test_data): New variable.
4028 (remainder_test_towardzero): New function.
4029 (remainder_downward_test_data): New variable.
4030 (remainder_test_downward): New function.
4031 (remainder_upward_test_data): New variable.
4032 (remainder_test_upward): New function.
4033 (main): Call the new test functions.
4035 * math/libm-test.inc (struct test_f_f1_data): Remove field
4037 (struct test_fF_f1_data): Likewise.
4038 (struct test_ffI_f1_data): Likewise.
4039 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4040 based on value of EXTRA_EXPECTED.
4041 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4042 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4043 EXTRA_VAR based on value of EXTRA_EXPECTED.
4044 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4045 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4046 EXTRA_VAR based on value of EXTRA_EXPECTED.
4047 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4048 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4049 EXTRA_VAR based on value of EXTRA_EXPECTED.
4050 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4051 * math/gen-libm-test.pl (parse_args): Don't output initializers
4052 for extra output values.
4054 * math/libm-test.inc (check_int): Expect result to be exactly
4055 equal to expected value and do not handle ulps.
4056 (check_long): Likewise.
4057 (check_longlong): Likewise.
4059 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4061 (cimag_test_data): Likewise.
4062 (conj_test_data): Likewise.
4063 (copysign_test_data): Likewise.
4064 (cproj_test_data): Likewise.
4065 (creal_test_data): Likewise.
4066 (fabs_test_data): Likewise.
4067 (fdim_test_data): Likewise.
4068 (finite_test_data): Likewise.
4069 (floor_test_data): Likewise.
4070 (fmax_test_data): Likewise.
4071 (fmin_test_data): Likewise.
4072 (fmod_test_data): Likewise.
4073 (fpclassify_test_data): Likewise.
4074 (frexp_test_data): Likewise.
4075 (ilogb_test_data): Likewise.
4076 (isfinite_test_data): Likewise.
4077 (isgreater_test_data): Likewise.
4078 (isgreaterequal_test_data): Likewise.
4079 (isinf_test_data): Likewise.
4080 (isless_test_data): Likewise.
4081 (islessequal_test_data): Likewise.
4082 (islessgreater_test_data): Likewise.
4083 (isnan_test_data): Likewise.
4084 (isnormal_test_data): Likewise.
4085 (issignaling_test_data): Likewise.
4086 (isunordered_test_data): Likewise.
4087 (ldexp_test_data): Likewise.
4088 (lrint_test_data): Likewise.
4089 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4090 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4091 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4092 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4093 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4094 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4096 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4097 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4098 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4099 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4101 (lrint_downward_test_data): Test for "inexact" exceptions.
4102 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4103 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4104 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4106 (lrint_upward_test_data): Test for "inexact" exceptions.
4107 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4109 (llrint_test_data): Test for "inexact" exceptions.
4110 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4111 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4112 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4113 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4114 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4115 (llrint_downward_test_data): Test for "inexact" exceptions.
4116 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4117 (llrint_upward_test_data): Test for "inexact" exceptions.
4118 (logb_test_data): Likewise.
4119 (logb_downward_test_data): Likewise.
4120 (nextafter_test_data): Likewise.
4121 (nexttoward_test_data): Likewise.
4122 (remainder_test_data): Likewise.
4123 (remquo_test_data): Likewise.
4124 (scalbn_test_data): Likewise.
4125 (scalbln_test_data): Likewise.
4126 (signbit_test_data): Likewise.
4127 (sqrt_test_data): Likewise.
4128 (significand_test_data): Likewise.
4130 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4133 * benchtests/bench-modf.c (struct args): Mark arg0 as
4135 * scripts/bench.pl: Mark members of struct args as volatile.
4137 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4140 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4141 negative infinity on POWER6 or lower.
4142 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4144 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4147 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4148 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4149 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4150 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4151 (_FP_SETQNAN): New macro.
4152 (_FP_SETQNAN_SEMIRAW): Likewise.
4153 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4154 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4155 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4156 (FP_EXTEND): Use _FP_FRAC_SNANP.
4157 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4158 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4160 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4162 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4165 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4167 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4168 with DIVIDE_BY_ZERO_EXCEPTION.
4169 (gamma_test_data): Likewise.
4170 (lgamma_test_data): Likewise.
4171 (log_test_data): Likewise.
4172 (log10_test_data): Likewise.
4173 (log2_test_data): Likewise.
4174 (tgamma_test_data): Likewise.
4176 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4177 (acos_test_tonearest): Likewise.
4178 (acos_test_towardzero): Likewise.
4179 (acos_test_downward): Likewise.
4180 (acos_test_upward): Likewise.
4181 (acosh_test): Likewise.
4182 (asin_test): Likewise.
4183 (asin_test_tonearest): Likewise.
4184 (asin_test_towardzero): Likewise.
4185 (asin_test_downward): Likewise.
4186 (asin_test_upward): Likewise.
4187 (asinh_test): Likewise.
4188 (atan_test): Likewise.
4189 (atanh_test): Likewise.
4190 (atan2_test): Likewise.
4191 (cabs_test): Likewise.
4192 (cacos_test): Likewise.
4193 (cacosh_test): Likewise.
4194 (casin_test): Likewise.
4195 (casinh_test): Likewise.
4196 (catan_test): Likewise.
4197 (catanh_test): Likewise.
4198 (cbrt_test): Likewise.
4199 (ccos_test): Likewise.
4200 (ccosh_test): Likewise.
4201 (cexp_test): Likewise.
4202 (clog_test): Likewise.
4203 (clog10_test): Likewise.
4204 (cos_test): Likewise.
4205 (cos_test_tonearest): Likewise.
4206 (cos_test_towardzero): Likewise.
4207 (cos_test_downward): Likewise.
4208 (cos_test_upward): Likewise.
4209 (cosh_test): Likewise.
4210 (cosh_test_tonearest): Likewise.
4211 (cosh_test_towardzero): Likewise.
4212 (cosh_test_downward): Likewise.
4213 (cosh_test_upward): Likewise.
4214 (cpow_test): Likewise.
4215 (csin_test): Likewise.
4216 (csinh_test): Likewise.
4217 (csqrt_test): Likewise.
4218 (ctan_test): Likewise.
4219 (ctan_test_tonearest): Likewise.
4220 (ctan_test_towardzero): Likewise.
4221 (ctan_test_downward): Likewise.
4222 (ctan_test_upward): Likewise.
4223 (ctanh_test): Likewise.
4224 (ctanh_test_tonearest): Likewise.
4225 (ctanh_test_towardzero): Likewise.
4226 (ctanh_test_downward): Likewise.
4227 (ctanh_test_upward): Likewise.
4228 (erf_test): Likewise.
4229 (erfc_test): Likewise.
4230 (exp_test): Likewise.
4231 (exp_test_tonearest): Likewise.
4232 (exp_test_towardzero): Likewise.
4233 (exp_test_downward): Likewise.
4234 (exp_test_upward): Likewise.
4235 (exp10_test): Likewise.
4236 (exp2_test): Likewise.
4237 (expm1_test): Likewise.
4238 (fmod_test): Likewise.
4239 (gamma_test): Likewise.
4240 (hypot_test): Likewise.
4241 (j0_test): Likewise.
4242 (j1_test): Likewise.
4243 (jn_test): Likewise.
4244 (lgamma_test): Likewise.
4245 (log_test): Likewise.
4246 (log10_test): Likewise.
4247 (log1p_test): Likewise.
4248 (log2_test): Likewise.
4249 (logb_test_downward): Likewise.
4250 (pow_test): Likewise.
4251 (pow_test_tonearest): Likewise.
4252 (pow_test_towardzero): Likewise.
4253 (pow_test_downward): Likewise.
4254 (pow_test_upward): Likewise.
4255 (remainder_test): Likewise.
4256 (remquo_test): Likewise.
4257 (sin_test): Likewise.
4258 (sin_test_tonearest): Likewise.
4259 (sin_test_towardzero): Likewise.
4260 (sin_test_downward): Likewise.
4261 (sin_test_upward): Likewise.
4262 (sincos_test): Likewise.
4263 (sinh_test): Likewise.
4264 (sinh_test_tonearest): Likewise.
4265 (sinh_test_towardzero): Likewise.
4266 (sinh_test_downward): Likewise.
4267 (sinh_test_upward): Likewise.
4268 (sqrt_test): Likewise.
4269 (tan_test): Likewise.
4270 (tan_test_tonearest): Likewise.
4271 (tan_test_towardzero): Likewise.
4272 (tan_test_downward): Likewise.
4273 (tan_test_upward): Likewise.
4274 (tanh_test): Likewise.
4275 (tgamma_test): Likewise.
4276 (y0_test): Likewise.
4277 (y1_test): Likewise.
4278 (yn_test): Likewise.
4280 * math/gen-libm-test.pl (adjust_arg): Remove function.
4281 (special_function): Remove argument $in_func. Only handle
4282 generating output for tables of tests, not inside functions.
4283 (parse_args): Likewise.
4284 (generate_testfile): Remove variable $in_func. Update call to
4286 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4287 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4288 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4289 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4290 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4291 (MAX_VALUE_INIT): Rename macro to max_value.
4292 (MIN_VALUE_INIT): Rename macro to min_value.
4293 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4294 (plus_zero): Remove variable.
4295 (minus_zero): Likewise.
4296 (plus_infty): Likewise.
4297 (minus_infty): Likewise.
4298 (qnan_value): Likewise.
4299 (max_value): Likewise.
4300 (min_value): Likewise.
4301 (min_subnorm_value): Likewise.
4303 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4305 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4306 uint64_t or uint32_t usage.
4307 * crypt/sha256-block.c: Likewise.
4308 * crypt/sha256-crypt.c: Likewise.
4309 * crypt/sha256.c: Likewise.
4310 * crypt/sha512-block.c: Likewise.
4311 * crypt/sha512-crypt.c: Likewise.
4312 * crypt/sha512.c: Likewise.
4313 * debug/backtrace-tst.c: Likewise.
4314 * debug/pcprofiledump.c: Likewise.
4315 * elf/cache.c: Likewise.
4316 * elf/dl-cache.c: Likewise.
4317 * elf/dl-misc.c: Likewise.
4318 * elf/dl-profile.c: Likewise.
4319 * elf/dl-support.c: Likewise.
4320 * elf/ldconfig.c: Likewise.
4321 * elf/sprof.c: Likewise.
4322 * iconv/dummy-repertoire.c: Likewise.
4323 * iconv/iconv_charmap.c: Likewise.
4324 * iconv/skeleton.c: Likewise.
4325 * iconvdata/8bit-generic.c: Likewise.
4326 * iconvdata/cp737.h: Likewise.
4327 * iconvdata/cp775.h: Likewise.
4328 * iconvdata/ibm1008.h: Likewise.
4329 * iconvdata/ibm1025.h: Likewise.
4330 * iconvdata/ibm1046.h: Likewise.
4331 * iconvdata/ibm1097.h: Likewise.
4332 * iconvdata/ibm1112.h: Likewise.
4333 * iconvdata/ibm1122.h: Likewise.
4334 * iconvdata/ibm1123.h: Likewise.
4335 * iconvdata/ibm1124.h: Likewise.
4336 * iconvdata/ibm1129.h: Likewise.
4337 * iconvdata/ibm1130.h: Likewise.
4338 * iconvdata/ibm1132.h: Likewise.
4339 * iconvdata/ibm1133.h: Likewise.
4340 * iconvdata/ibm1137.h: Likewise.
4341 * iconvdata/ibm1140.h: Likewise.
4342 * iconvdata/ibm1141.h: Likewise.
4343 * iconvdata/ibm1142.h: Likewise.
4344 * iconvdata/ibm1143.h: Likewise.
4345 * iconvdata/ibm1144.h: Likewise.
4346 * iconvdata/ibm1145.h: Likewise.
4347 * iconvdata/ibm1146.h: Likewise.
4348 * iconvdata/ibm1147.h: Likewise.
4349 * iconvdata/ibm1148.h: Likewise.
4350 * iconvdata/ibm1149.h: Likewise.
4351 * iconvdata/ibm1153.h: Likewise.
4352 * iconvdata/ibm1154.h: Likewise.
4353 * iconvdata/ibm1155.h: Likewise.
4354 * iconvdata/ibm1156.h: Likewise.
4355 * iconvdata/ibm1157.h: Likewise.
4356 * iconvdata/ibm1158.h: Likewise.
4357 * iconvdata/ibm1160.h: Likewise.
4358 * iconvdata/ibm1161.h: Likewise.
4359 * iconvdata/ibm1162.h: Likewise.
4360 * iconvdata/ibm1163.h: Likewise.
4361 * iconvdata/ibm1164.h: Likewise.
4362 * iconvdata/ibm1166.h: Likewise.
4363 * iconvdata/ibm1167.h: Likewise.
4364 * iconvdata/ibm12712.h: Likewise.
4365 * iconvdata/ibm1390.h: Likewise.
4366 * iconvdata/ibm1399.h: Likewise.
4367 * iconvdata/ibm16804.h: Likewise.
4368 * iconvdata/ibm4517.h: Likewise.
4369 * iconvdata/ibm4899.h: Likewise.
4370 * iconvdata/ibm4909.h: Likewise.
4371 * iconvdata/ibm4971.h: Likewise.
4372 * iconvdata/ibm5347.h: Likewise.
4373 * iconvdata/ibm803.h: Likewise.
4374 * iconvdata/ibm856.h: Likewise.
4375 * iconvdata/ibm901.h: Likewise.
4376 * iconvdata/ibm902.h: Likewise.
4377 * iconvdata/ibm9030.h: Likewise.
4378 * iconvdata/ibm9066.h: Likewise.
4379 * iconvdata/ibm921.h: Likewise.
4380 * iconvdata/ibm922.h: Likewise.
4381 * iconvdata/ibm9448.h: Likewise.
4382 * iconvdata/isiri-3342.h: Likewise.
4383 * iconvdata/jis0201.h: Likewise.
4384 * include/link.h: Likewise.
4385 * include/netdb.h: Likewise.
4386 * inet/check_native.c: Likewise.
4387 * inet/check_pf.c: Likewise.
4388 * inet/getipv4sourcefilter.c: Likewise.
4389 * inet/getnameinfo.c: Likewise.
4390 * inet/getsourcefilter.c: Likewise.
4391 * inet/htonl.c: Likewise.
4392 * inet/setipv4sourcefilter.c: Likewise.
4393 * inet/setsourcefilter.c: Likewise.
4394 * inet/test-inet6_opt.c: Likewise.
4395 * inet/tst-network.c: Likewise.
4396 * locale/C-collate.c: Likewise.
4397 * locale/C-ctype.c: Likewise.
4398 * locale/C-time.c: Likewise.
4399 * locale/C-translit.h: Likewise.
4400 * locale/loadarchive.c: Likewise.
4401 * locale/programs/3level.h: Likewise.
4402 * locale/programs/charmap.c: Likewise.
4403 * locale/programs/charmap.h: Likewise.
4404 * locale/programs/ld-address.c: Likewise.
4405 * locale/programs/ld-collate.c: Likewise.
4406 * locale/programs/ld-ctype.c: Likewise.
4407 * locale/programs/ld-identification.c: Likewise.
4408 * locale/programs/ld-measurement.c: Likewise.
4409 * locale/programs/ld-messages.c: Likewise.
4410 * locale/programs/ld-monetary.c: Likewise.
4411 * locale/programs/ld-name.c: Likewise.
4412 * locale/programs/ld-numeric.c: Likewise.
4413 * locale/programs/ld-paper.c: Likewise.
4414 * locale/programs/ld-telephone.c: Likewise.
4415 * locale/programs/ld-time.c: Likewise.
4416 * locale/programs/linereader.c: Likewise.
4417 * locale/programs/locale.c: Likewise.
4418 * locale/programs/locarchive.c: Likewise.
4419 * locale/programs/locfile.h: Likewise.
4420 * locale/programs/repertoire.c: Likewise.
4421 * locale/programs/simple-hash.c: Likewise.
4422 * locale/programs/simple-hash.h: Likewise.
4423 * malloc/memusage.c: Likewise.
4424 * malloc/memusagestat.c: Likewise.
4425 * nis/nis_defaults.c: Likewise.
4426 * nis/nis_hash.c: Likewise.
4427 * nis/nis_print.c: Likewise.
4428 * nis/nis_xdr.c: Likewise.
4429 * nscd/connections.c: Likewise.
4430 * nscd/hstcache.c: Likewise.
4431 * nscd/nscd_gethst_r.c: Likewise.
4432 * nscd/nscd_getserv_r.c: Likewise.
4433 * nscd/nscd_helper.c: Likewise.
4434 * nscd/servicescache.c: Likewise.
4435 * nss/makedb.c: Likewise.
4436 * nss/nss_db/db-XXX.c: Likewise.
4437 * nss/nss_db/db-initgroups.c: Likewise.
4438 * nss/nss_db/db-netgrp.c: Likewise.
4439 * nss/nss_files/files-network.c: Likewise.
4440 * nss/nss_files/files-parse.c: Likewise.
4441 * posix/bug-regex5.c: Likewise.
4442 * posix/fnmatch_loop.c: Likewise.
4443 * posix/regcomp.c: Likewise.
4444 * posix/regexec.c: Likewise.
4445 * posix/tst-rfc3484-2.c: Likewise.
4446 * posix/tst-rfc3484-3.c: Likewise.
4447 * posix/tst-rfc3484.c: Likewise.
4448 * resolv/nss_dns/dns-canon.c: Likewise.
4449 * resolv/nss_dns/dns-network.c: Likewise.
4450 * resolv/res_init.c: Likewise.
4451 * resolv/res_mkquery.c: Likewise.
4452 * resolv/tst-aton.c: Likewise.
4453 * stdlib/cxa_atexit.c: Likewise.
4454 * stdlib/cxa_finalize.c: Likewise.
4455 * stdlib/gen-fpioconst.c: Likewise.
4456 * stdlib/strtol_l.c: Likewise.
4457 * string/tst-endian.c: Likewise.
4458 * sunrpc/auth_des.c: Likewise.
4459 * sunrpc/clnt_udp.c: Likewise.
4460 * sunrpc/rtime.c: Likewise.
4461 * sunrpc/svcauth_des.c: Likewise.
4462 * sunrpc/xdr.c: Likewise.
4463 * sunrpc/xdr_intXX_t.c: Likewise.
4464 * sunrpc/xdr_rec.c: Likewise.
4465 * sysdeps/generic/ldconfig.h: Likewise.
4466 * sysdeps/generic/ldsodefs.h: Likewise.
4467 * sysdeps/generic/memusage.h: Likewise.
4468 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4470 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4471 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4478 * sysdeps/posix/getaddrinfo.c: Likewise.
4479 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4480 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4481 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4482 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4483 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4484 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4485 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4486 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4487 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4489 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4490 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4491 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4492 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4493 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4494 * sysdeps/x86_64/dl-tls.h: Likewise.
4495 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4496 * time/alt_digit.c: Likewise.
4497 * time/era.c: Likewise.
4498 * wcsmbs/tst-c16c32-1.c: Likewise.
4500 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4502 * math/libm-test.inc (struct test_sincos_data): New type.
4503 (RUN_TEST_LOOP_sincos): New macro.
4504 (sincos_test_data): New variable.
4505 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4507 2013-05-16 Richard Henderson <rth@redhat.com>
4509 * math/atest-exp2.c (LIMB64): New macro.
4510 (CONSTSZ): New macro.
4511 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4513 (print_mpn_fp): ... to function scope.
4514 (read_mpn_hex): Remove.
4516 (exp2_mpn): Use mp_log2.
4517 (main): Use mp_exp1.
4519 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4521 * math/libm-test.inc: Remove comment about not testing "inexact"
4523 (INEXACT_EXCEPTION): New macro.
4524 (NO_INEXACT_EXCEPTION): Likewise.
4525 (INVALID_EXCEPTION_OK): Update value.
4526 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4527 (OVERFLOW_EXCEPTION_OK): Likewise.
4528 (UNDERFLOW_EXCEPTION_OK): Likewise.
4529 (IGNORE_ZERO_INF_SIGN): Likewise.
4530 (ERRNO_UNCHANGED): Likewise.
4531 (ERRNO_EDOM): Likewise.
4532 (ERRNO_ERANGE): Likewise.
4533 (test_exceptions): Handle testing "inexact" exceptions.
4534 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4535 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4536 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4537 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4539 (rint_towardzero_test_data): Likewise.
4540 (rint_downward_test_data): Likewise.
4541 (rint_upward_test_data): Likewise.
4543 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4544 with OVERFLOW_EXCEPTION.
4545 (exp10_test_data): Likewise.
4546 (exp2_test_data): Likewise.
4547 (expm1_test_data): Likewise.
4548 (lgamma_test_data): Likewise.
4549 (pow_test_data): Likewise.
4550 (tgamma_test_data): Likewise.
4551 (yn_test_data): Remove duplicate test of overflow.
4553 * math/libm-test.inc (struct test_cc_c_data): New type.
4554 (RUN_TEST_LOOP_cc_c): New macro.
4555 (cpow_test_data): New variable.
4556 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4558 * math/libm-test.inc (struct test_f_L_data): New type.
4559 (RUN_TEST_LOOP_f_L): New macro.
4560 (llrint_test_data): New variable.
4561 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4562 (llrint_tonearest_test_data): New variable.
4563 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4564 (llrint_towardzero_test_data): New variable.
4565 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4566 (llrint_downward_test_data): New variable.
4567 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4568 (llrint_upward_test_data): New variable.
4569 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4570 (llround_test_data): New variable.
4571 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4573 2013-05-13 Peter Collingbourne <pcc@google.com>
4575 * math/atest-exp2.c (get_log2): Remove const attribute.
4577 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4579 * math/libm-test.inc (struct test_f_l_data): New type.
4580 (RUN_TEST_LOOP_f_l): New macro.
4581 (lrint_test_data): New variable.
4582 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4583 (lrint_tonearest_test_data): New variable.
4584 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4585 (lrint_towardzero_test_data): New variable.
4586 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4587 (lrint_downward_test_data): New variable.
4588 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4589 (lrint_upward_test_data): New variable.
4590 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4591 (lround_test_data): New variable.
4592 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4594 2013-05-15 Peter Collingbourne <pcc@google.com>
4596 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4597 (EXTRACT_WORDS64) Use where appropriate.
4598 (INSERT_WORDS64) Likewise.
4600 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4601 constraints with x constraints.
4602 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4604 * malloc/obstack.c (_obstack_compat): Add initializer.
4606 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4609 si_trapno and add si_addr_lsb to _sifields.sigfault.
4610 (si_trapno): Remove macro.
4611 (si_addr_lsb): Define new macro.
4612 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4614 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4616 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4617 instead of TEST_f_l.
4618 (llrint_test_tonearest): Likewise.
4619 (llrint_test_towardzero): Likewise.
4620 (llrint_test_downward): Likewise.
4621 (llrint_test_upward): Likewise.
4622 (llround_test): Likewise.
4624 * math/libm-test.inc (struct test_f_i_data): Add comment.
4625 (RUN_TEST_LOOP_f_b): New macro.
4626 (RUN_TEST_LOOP_f_b_tg): Likewise.
4627 (finite_test_data): New variable.
4628 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4629 (isfinite_test_data): New variable.
4630 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4631 (isinf_test_data): New variable.
4632 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4633 (isnan_test_data): New variable.
4634 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4635 (isnormal_test_data): New variable.
4636 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4637 (issignaling_test_data): New variable.
4638 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4639 (signbit_test_data): New variable.
4640 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4642 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4643 with INVALID_EXCEPTION.
4644 (acosh_test_data): Likewise.
4645 (asin_test_data): Likewise.
4646 (atanh_test_data): Likewise.
4647 (fmod_test_data): Likewise.
4648 (log_test_data): Likewise.
4649 (log10_test_data): Likewise.
4650 (log2_test_data): Likewise.
4651 (pow_test_data): Likewise.
4652 (sqrt_test_data): Likewise.
4653 (y0_test_data): Likewise.
4654 (y1_test_data): Likewise.
4655 (yn_test_data): Likewise.
4657 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4660 * math/libm-test.inc (struct test_ff_i_data): New type.
4661 (RUN_TEST_LOOP_ff_i_tg): New macro.
4662 (isgreater_test_data): New variable.
4663 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4664 (isgreaterequal_test_data): New variable.
4665 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4666 (isless_test_data): New variable.
4667 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4668 (islessequal_test_data): New variable.
4669 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4670 (islessgreater_test_data): New variable.
4671 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4672 (isunordered_test_data): New variable.
4673 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4675 2013-05-14 David S. Miller <davem@davemloft.net>
4677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4679 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4681 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4683 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4685 (struct test_f_i_data): Change type of max_ulp to int.
4687 * math/libm-test.inc (test_ffI_f1_data): New type.
4688 (RUN_TEST_LOOP_ffI_f1): New macro.
4689 (remquo_test_data): New variable.
4690 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4692 * setjmp/tst-setjmp-fp.c: New file.
4693 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4694 (link-libm): New variable.
4695 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4697 * math/libm-test.inc (struct test_f_i_data): New type.
4698 (RUN_TEST_LOOP_f_i): New macro.
4699 (RUN_TEST_LOOP_f_i_tg): Likewise.
4700 (fpclassify_test_data): New variable.
4701 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4702 (ilogb_test_data): New variable.
4703 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4705 * math/libm-test.inc (scalbln_test): Correct function name in END
4708 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4709 (RUN_TEST_LOOP_fI_f1): New macro.
4710 (frexp_test_data): New variable.
4711 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4713 * math/libm-test.inc (struct test_fF_f1_data): New type.
4714 (RUN_TEST_LOOP_fF_f1): New macro.
4715 (modf_test_data): New variable.
4716 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4718 * math/libm-test.inc (struct test_f_f1_data): New type.
4719 (RUN_TEST_LOOP_f_f1): New macro.
4720 (gamma_test_data): New variable.
4721 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4722 (lgamma_test_data): New variable.
4723 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4725 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4727 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4728 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4729 (main): Comment "tls" pseudo-hwcap.
4731 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4733 * math/libm-test.inc (struct test_fl_f_data): New type.
4734 (RUN_TEST_LOOP_fl_f): New variable.
4735 (scalbln_test_data): New variable.
4736 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4738 * math/libm-test.inc (struct test_fi_f_data): New type.
4739 (RUN_TEST_LOOP_fi_f): New macro.
4740 (ldexp_test_data): New variable.
4741 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4742 (scalbn_test_data): New variable.
4743 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4745 * math/libm-test.inc (struct test_c_f_data): New type.
4746 (RUN_TEST_LOOP_c_f): New macro.
4747 (cabs_test_data): New variable.
4748 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4749 (carg_test_data): New variable.
4750 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4751 (cimag_test_data): New variable.
4752 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4753 (creal_test_data): New variable.
4754 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4756 * math/libm-test.inc (struct test_if_f_data): New type.
4757 (RUN_TEST_LOOP_if_f): New macro.
4758 (jn_test_data): New variable.
4759 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4760 (yn_test_data): New variable.
4761 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4763 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4765 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4768 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4770 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4772 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4773 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4774 (bench-deps): Add bench-timing.h.
4775 * benchtests-bench-skeleton.c: Include bench-timing.h.
4776 (main): Use TIMING_* macros instead of clock_gettime.
4777 * benchtests/bench-timing.h: New file.
4780 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4781 Renamed from _LIB_VERSION.
4782 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4784 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4786 * math/libm-test.inc (struct test_fff_f_data): New type.
4787 (RUN_TEST_LOOP_fff_f): New macro.
4788 (fma_test_data): New variable.
4789 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4790 (fma_towardzero_test_data): New variable.
4791 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4792 (fma_downward_test_data): New variable.
4793 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4794 (fma_upward_test_data): New variable.
4795 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4797 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4798 (struct test_c_c_data): New type.
4799 (RUN_TEST_LOOP_c_c): New macro.
4800 (cacos_test_data): New variable.
4801 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4802 (cacosh_test_data): New variable.
4803 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4804 (casin_test_data): New variable.
4805 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4806 (casinh_test_data): New variable.
4807 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4808 (catan_test_data): New variable.
4809 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4810 (catanh_test_data): New variable.
4811 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4812 (ccos_test_data): New variable.
4813 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4814 (ccosh_test_data): New variable.
4815 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4816 (cexp_test_data): New variable.
4817 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4818 (clog_test_data): New variable.
4819 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4820 (clog10_test_data): New variable.
4821 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4822 (conj_test_data): New variable.
4823 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4824 (cproj_test_data): New variable.
4825 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4826 (csin_test_data): New variable.
4827 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4828 (csinh_test_data): New variable.
4829 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4830 (csqrt_test_data): New variable.
4831 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4832 (ctan_test_data): New variable.
4833 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4834 (ctan_tonearest_test_data): New variable.
4835 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4836 (ctan_towardzero_test_data): New variable.
4837 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4838 (ctan_downward_test_data): New variable.
4839 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4840 (ctan_upward_test_data): New variable.
4841 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4842 (ctanh_test_data): New variable.
4843 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4844 (ctanh_tonearest_test_data): New variable.
4845 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4846 (ctanh_towardzero_test_data): New variable.
4847 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4848 (ctanh_downward_test_data): New variable.
4849 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4850 (ctanh_upward_test_data): New variable.
4851 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4852 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4855 * math/libm-test.inc (struct test_ff_f_data): New type.
4856 (struct test_ff_f_data_nexttoward): Likewise.
4857 (RUN_TEST_LOOP_2_f): New macro.
4858 (RUN_TEST_LOOP_ff_f): Likewise.
4859 (atan2_test_data): New variable.
4860 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4861 (copysign_test_data): New variable.
4862 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4863 (fdim_test_data): New variable.
4864 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4865 (fmax_test_data): New variable.
4866 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4867 (fmin_test_data): New variable.
4868 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4869 (fmod_test_data): New variable.
4870 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4871 (hypot_test_data): New variable.
4872 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4873 (nextafter_test_data): New variable.
4874 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4875 (nexttoward_test_data): New variable.
4876 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4877 (pow_test_data): New variable.
4878 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4879 (pow_tonearest_test_data): New variable.
4880 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4881 (pow_towardzero_test_data): New variable.
4882 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4883 (pow_downward_test_data): New variable.
4884 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4885 (pow_upward_test_data): New variable.
4886 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4887 (remainder_test_data): New variable.
4888 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4889 (scalb_test_data): New variable.
4890 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4891 * sysdeps/i386/fpu/libm-test-ulps: Update.
4893 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4895 * math/libm-test.inc (fma_test): Use max_value instead of local
4897 (nextafter_test): Likewise.
4899 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4900 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4901 (acos_downward_test_data): New variable.
4902 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4903 (acos_upward_test_data): New variable.
4904 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4905 (acosh_test_data): New variable.
4906 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4907 (asin_test_data): New variable.
4908 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4909 (asin_tonearest_test_data): New variable.
4910 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4911 (asin_towardzero_test_data): New variable.
4912 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4913 (asin_downward_test_data): New variable.
4914 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4915 (asin_upward_test_data): New variable.
4916 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4917 (asinh_test_data): New variable.
4918 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4919 (atan_test_data): New variable.
4920 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4921 (atanh_test_data): New variable.
4922 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4923 (cbrt_test_data): New variable.
4924 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4925 (ceil_test_data): New variable.
4926 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4927 (cos_test_data): New variable.
4928 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4929 (cos_tonearest_test_data): New variable.
4930 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4931 (cos_towardzero_test_data): New variable.
4932 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4933 (cos_downward_test_data): New variable.
4934 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4935 (cos_upward_test_data): New variable.
4936 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4937 (cosh_test_data): New variable.
4938 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4939 (cosh_tonearest_test_data): New variable.
4940 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4941 (cosh_towardzero_test_data): New variable.
4942 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4943 (cosh_downward_test_data): New variable.
4944 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4945 (cosh_upward_test_data): New variable.
4946 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4947 (erf_test_data): New variable.
4948 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4949 (erfc_test_data): New variable.
4950 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4951 (exp_test_data): New variable.
4952 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4953 (exp_tonearest_test_data): New variable.
4954 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4955 (exp_towardzero_test_data): New variable.
4956 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4957 (exp_downward_test_data): New variable.
4958 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4959 (exp_upward_test_data): New variable.
4960 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4961 (exp10_test_data): New variable.
4962 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4963 (exp2_test_data): New variable.
4964 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4965 (expm1_test_data): New variable.
4966 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4967 (fabs_test_data): New variable.
4968 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4969 (floor_test_data): New variable.
4970 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4971 (j0_test_data): New variable.
4972 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4973 (j1_test_data): New variable.
4974 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4975 (log_test_data): New variable.
4976 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4977 (log10_test_data): New variable.
4978 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4979 (log1p_test_data): New variable.
4980 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4981 (log2_test_data): New variable.
4982 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4983 (logb_test_data): New variable.
4984 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4985 (logb_downward_test_data): New variable.
4986 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4987 (nearbyint_test_data): New variable.
4988 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4989 (rint_test_data): New variable.
4990 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4991 (rint_tonearest_test_data): New variable.
4992 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4993 (rint_towardzero_test_data): New variable.
4994 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4995 (rint_downward_test_data): New variable.
4996 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4997 (rint_upward_test_data): New variable.
4998 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4999 (round_test_data): New variable.
5000 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5001 (sin_test_data): New variable.
5002 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5003 (sin_tonearest_test_data): New variable.
5004 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5005 (sin_towardzero_test_data): New variable.
5006 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5007 (sin_downward_test_data): New variable.
5008 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5009 (sin_upward_test_data): New variable.
5010 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5011 (sinh_test_data): New variable.
5012 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5013 (sinh_tonearest_test_data): New variable.
5014 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5015 (sinh_towardzero_test_data): New variable.
5016 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5017 (sinh_downward_test_data): New variable.
5018 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5019 (sinh_upward_test_data): New variable.
5020 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5021 (sqrt_test_data): New variable.
5022 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5023 (tan_test_data): New variable.
5024 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5025 (tan_tonearest_test_data): New variable.
5026 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5027 (tan_towardzero_test_data): New variable.
5028 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5029 (tan_downward_test_data): New variable.
5030 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5031 (tan_upward_test_data): New variable.
5032 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5033 (tanh_test_data): New variable.
5034 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5035 (tgamma_test_data): New variable.
5036 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5037 (trunc_test_data): New variable.
5038 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5039 (y0_test_data): New variable.
5040 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5041 (y1_test_data): New variable.
5042 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5043 (significand_test_data): New variable.
5044 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5046 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5049 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5051 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5053 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5055 2013-05-10 Andreas Jaeger <aj@suse.de>
5058 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5059 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5061 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5063 * math/gen-libm-test.pl (adjust_arg): New function.
5064 (special_functions): Handle generating output in both functions
5066 (parse_args): Likewise.
5067 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5068 $in_func argument to parse_args.
5069 * math/libm-test.inc (struct test_f_f_data): New type.
5070 (IF_ROUND_INIT_): New macro.
5071 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5072 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5073 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5074 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5075 (ROUND_RESTORE_): Likewise.
5076 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5077 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5078 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5079 (ROUND_RESTORE_FE_UPWARD): Likewise.
5080 (RUN_TEST_LOOP_f_f): New macro.
5081 (acos_test_data): New variable.
5082 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5083 (acos_tonearest_test_data): New variable.
5084 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5086 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5088 * benchtests/bench-skeleton.c (startup): Fix coding style.
5090 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5093 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5094 negative infinity argument.
5095 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5096 negative infinity argument.
5097 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5098 negative infinity argument.
5099 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5102 2013-05-10 Florian Weimer <fweimer@redhat.com>
5104 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5105 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5106 * iconv/iconv_prog.c (main): Likewise.
5107 * locale/programs/charmap-dir.c (charmap_readdir)
5108 (fopen_uncompressed): Likewise.
5109 * locale/programs/locfile.c (siblings_uncached)
5110 (write_locale_data): Use lstat64 instead of lstat.
5111 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5114 2013-05-10 Andreas Jaeger <aj@suse.de>
5117 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5121 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5123 * elf/dl-close.c (_dl_close_worker): Add comments.
5125 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5130 (__ieee754_rem_pio2l): Update comments.
5133 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5135 (__ieee754_rem_pio2l): Update comments.
5137 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5138 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5140 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5143 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5144 (M_PI_34_LOG10El): Likewise.
5145 (M_PI2_LOG10El): Likewise.
5146 (M_PI4_LOG10El): Likewise.
5147 (M_PI_LOG10El): Likewise.
5149 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5153 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5155 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5156 (MINUS_ZERO_INIT): Likewise.
5157 (PLUS_INFTY_INIT): Likewise.
5158 (MINUS_INFTY_INIT): Likewise.
5159 (QNAN_VALUE_INIT): Likewise.
5160 (MAX_VALUE_INIT): Likewise.
5161 (MIN_VALUE_INIT): Likewise.
5162 (MIN_SUBNORM_VALUE_INIT): Likewise.
5163 (plus_zero): Initialize with PLUS_ZERO_INIT.
5164 (minus_zero): Initialize with MINUS_ZERO_INIT.
5165 (plus_infty): Initialize with PLUS_INFTY_INIT.
5166 (minus_infty): Initialize with MINUS_INFTY_INIT.
5167 (qnan_value): Initialize with QNAN_VALUE_INIT.
5168 (max_value): Initialize with MAX_VALUE_INIT.
5169 (min_value): Initialize with MIN_VALUE_INIT.
5170 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5172 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5173 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5174 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5175 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5177 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5178 (RUN_TEST_2_f): Likewise.
5179 (RUN_TEST_ff_f): Likewise.
5180 (RUN_TEST_fi_f): Likewise.
5181 (RUN_TEST_fl_f): Likewise.
5182 (RUN_TEST_fff_f): Likewise.
5183 (RUN_TEST_c_f): Likewise.
5184 (RUN_TEST_f_f1): Likewise.
5185 (RUN_TEST_fF_f1): Likewise.
5186 (RUN_TEST_fI_f1): Likewise.
5187 (RUN_TEST_ffI_f1): Likewise.
5188 (RUN_TEST_c_c): Likewise.
5189 (RUN_TEST_cc_c): Likewise.
5190 (RUN_TEST_f_i): Likewise.
5191 (RUN_TEST_f_i_tg): Likewise.
5192 (RUN_TEST_ff_i_tg): Likewise.
5193 (RUN_TEST_f_b): Likewise.
5194 (RUN_TEST_f_b_tg): Likewise.
5195 (RUN_TEST_f_l): Likewise.
5196 (RUN_TEST_f_L): Likewise.
5197 (RUN_TEST_sincos): Likewise.
5198 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5199 whether to show exceptions. Do not include ");\n" in return
5201 (special_functions): Output call to RUN_TEST_sincos instead of
5202 check_float calls. Update calls to new_test.
5203 (parse_args): Output call to single RUN_TEST_* macro instead of
5204 check_* calls and other assignments. Update calls to new_test.
5210 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5211 input to result for tgamma overflow.
5212 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5213 (gamma_coeff): New variable.
5214 (NCOEFF): New macro.
5215 (gamma_positive): New function.
5216 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5217 underflow here. Use gamma_positive instead of exp (lgamma) for
5219 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5220 (gamma_coeff): New variable.
5221 (NCOEFF): New macro.
5222 (gammaf_positive): New function.
5223 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5224 underflow here. Use gamma_positive instead of exp (lgamma) for
5226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5227 (gamma_coeff): New variable.
5228 (NCOEFF): New macro.
5229 (gammal_positive): New function.
5230 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5231 underflow here. Use gamma_positive instead of exp (lgamma) for
5233 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5234 (gamma_coeff): New variable.
5235 (NCOEFF): New macro.
5236 (gammal_positive): New function.
5237 (__ieee754_gammal_r): Handle positive infinity, overflow and
5238 underflow here. Handle NaN the same as positive infinity. Remove
5239 check x < 0xffffffff for negative integers. Use gamma_positive
5240 instead of exp (lgamma) for other arguments.
5241 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5242 (gamma_coeff): New variable.
5243 (NCOEFF): New macro.
5244 (gammal_positive): New function.
5245 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5246 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5250 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5251 * sysdeps/generic/math_private.h (__gamma_productf): New
5253 (__gamma_product): Likewise.
5254 (__gamma_productl): Likewise.
5255 * math/Makefile (libm-calls): Add gamma_product.
5256 * math/libm-test.inc (tgamma_test): Add more tests.
5257 * sysdeps/i386/fpu/libm-test-ulps: Update.
5258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5260 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5262 * benchtests/bench-skeleton.c (main): Preheat CPU.
5264 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5266 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5268 2013-05-07 Roland McGrath <roland@hack.frob.com>
5270 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5271 and _dl_skip_args_internal.
5273 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5275 * manual/message.texi (Message Translation): Talk about users.
5276 Message to key mapping impacts design.
5278 2013-05-06 Roland McGrath <roland@hack.frob.com>
5280 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5282 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5284 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5285 * sysdeps/wordsize-64/glob64.c: ... here.
5287 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5288 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5291 * debug/getlogin_r_chk.c: Moved to ...
5292 * login/getlogin_r_chk.c: ... here.
5293 * debug/Makefile (routines): Move getlogin_r_chk to ...
5294 * login/Makefile (routines): ... here.
5295 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5296 * login/Versions (libc: GLIBC_2.4): ... here.
5298 * io/poll.c (__poll): Renamed from poll.
5299 Add libc_hidden_def.
5300 (poll): Define as weak alias.
5302 * debug/ptsname_r_chk.c: Moved to ...
5303 * login/ptsname_r_chk.c: ... here.
5304 * debug/Makefile (routines): Move ptsname_r_chk to ...
5305 * login/Makefile (routines): ... here.
5306 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5307 * login/Versions (libc: GLIBC_2.4): ... here.
5309 * posix/getlogin.c: Moved to ...
5310 * login/getlogin.c: ... here.
5311 * posix/getlogin_r.c: Moved to ...
5312 * login/getlogin_r.c: ... here.
5313 * posix/getlogin_r.c: Moved to ...
5314 * login/getlogin_r.c: ... here.
5315 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5316 * login/Makefile (routines): ... here.
5317 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5318 * login/Versions (libc: GLIBC_2.0): ... here.
5320 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5321 (setrlimit): Define as weak alias.
5323 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5324 Call __ names for open, ftruncate, and close.
5325 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5326 (truncate): Define as weak alias.
5328 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5330 * math/gen-libm-test.pl (parse_args): Initialize x before each
5331 test of frexp, modf and remquo.
5333 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5336 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5340 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5342 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5344 2013-05-06 Roland McGrath <roland@hack.frob.com>
5346 * elf/dl-writev.h: New file.
5347 * elf/dl-misc.c: Include it.
5348 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5349 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5351 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5353 * math/libm-test.inc (noXFails): Remove variable.
5354 (noXPasses): Likewise.
5355 (BUILD_COMPLEX_INT): Remove macro.
5356 (print_screen): Remove xfail argument.
5357 (print_screen_max_error): Likewise.
5358 (update_stats): Likewise.
5359 (print_max_error): Likewise. Update calls to other affected
5361 (print_complex_max_error): Likewise.
5362 (test_single_exception): Update calls to print_screen.
5363 (test_single_errno): Likewise.
5364 (check_float_internal): Remove xfail argument. Update calls to
5365 other affected functions.
5366 (check_float): Likewise.
5367 (check_complex): Likewise.
5368 (check_int): Likewise.
5369 (check_long): Likewise.
5370 (check_bool): Likewise.
5371 (check_longlong): Likewise.
5372 (main): Don't print noXFails and noXPasses.
5373 * math/gen-libm-test.pl (top level): Don't mention expected
5374 failure handling in comment.
5375 (new_test): Don't handle expected failures.
5376 (parse_args): Don't mention expected failure handling in comment.
5377 (generate_testfile): Don't handle expected failures.
5378 (parse_ulps): Likewise.
5379 (print_ulps_file): Likewise.
5380 (get_failure): Remove function.
5381 (output_test): Don't handle expected failures.
5382 * make/README.libm-test: Don't mention expected failure handling.
5384 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5385 (minus_zero): Likewise.
5386 (plus_infty): Likewise.
5387 (minus_infty): Likewise.
5388 (qnan_value): Likewise.
5389 (max_value): Likewise.
5390 (min_value): Likewise.
5391 (min_subnorm_value): Likewise.
5392 (initialize): Do not initialize those variables dynamically.
5394 2013-05-03 Roland McGrath <roland@hack.frob.com>
5396 * io/open.c (__open_2): Moved to ...
5397 * io/open_2.c: ... this new file.
5398 * io/open64.c (__open64_2): Moved to ...
5399 * io/open64_2.c: ... this new file.
5400 * io/openat.c (__openat_2): Moved to ...
5401 * io/openat_2.c: ... this new file.
5402 * io/openat64.c (__openat64_2): Moved to ...
5403 * io/openat64_2.c: ... this new file.
5404 * io/Makefile (routines): Add them.
5405 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5406 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5407 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5408 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5409 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5410 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5411 (__openat64): Add hidden_ver.
5412 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5413 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5415 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5416 Separately conditionalize setting of GLRO(dl_sysinfo) so
5417 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5418 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5420 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5425 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5426 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5427 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5428 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5429 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5431 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5433 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5436 * math/libm-test.inc (hypot_test): Do not use
5437 IGNORE_ZERO_INF_SIGN.
5439 2013-05-03 Andreas Jaeger <aj@suse.de>
5441 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5443 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5444 (PF_MAX): Adjust for VSOCK change.
5446 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5450 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5453 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5454 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5455 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5457 2013-05-02 David S. Miller <davem@davemloft.net>
5459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5461 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5463 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5465 2013-05-01 Roland McGrath <roland@hack.frob.com>
5467 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5469 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5472 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5473 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5474 Use __attribute__ ((__gnu_inline__)).
5475 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5476 Don't use __attribute__ ((__gnu_inline__)).
5478 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5481 * math/s_catan.c (__catan): Handle small real or imaginary part of
5482 input specially to avoid spurious underflow.
5483 * math/s_catanf.c (__catanf): Likewise.
5484 * math/s_catanh.c (__catanh): Likewise.
5485 * math/s_catanhf.c (__catanhf): Likewise.
5486 * math/s_catanhl.c (__catanhl): Likewise.
5487 * math/s_catanl.c (__catanl): Likewise.
5488 * math/libm-test.inc (catan_test): Add more tests.
5489 (catanh_test): Likewise.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5497 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5500 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5501 accurately for denominator in atan2.
5502 * math/s_catanf.c (__catanf): Likewise.
5503 * math/s_catanh.c (__catanh): Likewise.
5504 * math/s_catanhf.c (__catanhf): Likewise.
5505 * math/s_catanhl.c (__catanhl): Likewise.
5506 * math/s_catanl.c (__catanl): Likewise.
5507 * math/libm-test.inc (catan_test): Add more tests.
5508 (catanh_test): Likewise.
5509 * sysdeps/i386/fpu/libm-test-ulps: Update.
5510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5512 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5514 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5516 * benchtests/Makefile (bench): Remove slow benchmarks.
5517 * benchtests/atan-inputs: Add slow benchmark inputs.
5518 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5519 (BENCH_FUNC): Accept variant offset.
5521 * benchtests/bench-skeleton.c (main): Run benchmark for each
5523 * benchtests/cos-inputs: Add slow benchmark inputs.
5524 * benchtests/exp-inputs: Likewise.
5525 * benchtests/pow-inputs: Likewise.
5526 * benchtests/sin-inputs: Likewise.
5527 * benchtests/slowatan-inputs: Remove.
5528 * benchtests/slowatan.c: Remove.
5529 * benchtests/slowcos-inputs: Remove.
5530 * benchtests/slowcos.c: Remove.
5531 * benchtests/slowexp-inputs: Remove.
5532 * benchtests/slowexp.c: Remove.
5533 * benchtests/slowpow-inputs: Remove.
5534 * benchtests/slowpow.c: Remove.
5535 * benchtests/slowsin-inputs: Remove.
5536 * benchtests/slowsin.c: Remove.
5537 * benchtests/slowtan-inputs: Remove.
5538 * benchtests/slowtan.c: Remove.
5539 * benchtests/tan-inputs: Add slow benchmark inputs.
5540 * scripts/bench.pl: Parse comments and directives.
5542 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5544 ($(objpfx)bench-%.c): Remove *-ITER.
5545 * benchtests/bench-modf.c: Remove definition of ITER.
5546 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5547 (main): Loop for DURATION seconds instead of fixed number of
5549 * scripts/bench.pl: Don't expect iterations in parameters.
5551 2013-04-29 Roland McGrath <roland@hack.frob.com>
5553 * io/fchdir.c (__fchdir): Renamed from fchdir.
5554 (fchdir): Define as weak alias.
5556 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5558 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5559 (ERRNO_EDOM): Likewise.
5560 (ERRNO_ERANGE): Likewise.
5561 (noErrnoTests): New variable.
5562 (init_max_error): Set errno to 0.
5563 (test_single_errno): New function.
5564 (test_errno): Likewise.
5565 (check_float_internal): Call test_errno. Set errno to 0.
5566 (check_complex): Refer to errno tests in comment.
5567 (check_int): Call test_errno. Set errno to 0.
5568 (check_long): Likewise.
5569 (check_bool): Likewise.
5570 (check_longlong): Likewise.
5571 (cos_test): Use ERRNO_* flags for errno tests instead of
5573 (expm1_test): Likewise.
5574 (fmod_test): Likewise.
5575 (ilogb_test): Likewise.
5576 (lgamma_test): Likewise.
5577 (pow_test): Likewise.
5578 (remainder_test): Likewise.
5579 (sin_test): Likewise.
5580 (tan_test): Likewise.
5581 (yn_test): Likewise.
5582 (initialize): Set errno to 0.
5583 (main): Print number of errno tests.
5584 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5586 2013-04-29 Andreas Jaeger <aj@suse.de>
5589 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5593 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5594 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5598 * stdlib/random.c (__initstate): Return NULL if
5602 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5603 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5606 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5610 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5612 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5613 of individual tests.
5614 (casin_test): Likewise.
5615 (casinh_test): Likewise.
5617 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5620 * math/s_catan.c (__catan): Handle arguments with large real or
5621 imaginary part separately without squaring.
5622 * math/s_catanf.c (__catanf): Likewise.
5623 * math/s_catanh.c (__catanh): Likewise.
5624 * math/s_catanhf.c (__catanhf): Likewise.
5625 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5627 (__catanhl): Handle arguments with large real or imaginary part
5628 separately without squaring.
5629 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5631 (__catanl): Handle arguments with large real or imaginary part
5632 separately without squaring.
5633 * math/libm-test.inc (catan_test): Add more tests.
5634 (catanh_test): Likewise.
5635 * sysdeps/i386/fpu/libm-test-ulps: Update.
5636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5638 2013-04-27 Andreas Jaeger <aj@suse.de>
5641 * stdlib/stdlib.h: Update guards for qecvt.
5642 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5645 2013-04-27 Allan McRae <allan@archlinux.org>
5647 * sysdeps/i386/fpu/libm-test-ulps: Update.
5649 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5652 * math/s_catan.c: Include <float.h>.
5653 (__catan): Ensure underflow exception occurs for underflowed
5655 * math/s_catanf.c: Include <float.h>.
5656 (__catanf): Ensure underflow exception occurs for underflowed
5658 * math/s_catanh.c: Include <float.h>.
5659 (__catanh): Ensure underflow exception occurs for underflowed
5661 * math/s_catanhf.c: Include <float.h>.
5662 (__catanhf): Ensure underflow exception occurs for underflowed
5664 * math/s_catanhl.c: Include <float.h>.
5665 (__catanhl): Ensure underflow exception occurs for underflowed
5667 * math/s_catanl.c: Include <float.h>.
5668 (__catanl): Ensure underflow exception occurs for underflowed
5670 * math/libm-test.inc (catan_test): Add more tests.
5671 (catanh_test): Likewise.
5674 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5676 * math/s_ccoshf.c (__ccoshf): Likewise.
5677 * math/s_ccoshl.c (__ccoshl): Likewise.
5678 * math/s_csin.c (__csin): Likewise.
5679 * math/s_csinf.c (__csinf): Likewise.
5680 * math/s_csinh.c (__csinh): Likewise.
5681 * math/s_csinhf.c (__csinhf): Likewise.
5682 * math/s_csinhl.c (__csinhl): Likewise.
5683 * math/s_csinl.c (__csinl): Likewise.
5684 * math/libm-test.inc (ccos_test): Add more tests.
5685 (ccosh_test): Likewise.
5686 (csin_test): Likewise.
5687 (csinh_test): Likewise.
5689 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5691 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5692 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5693 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5694 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5695 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5696 powerpc/power5+/fpu folders.
5697 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5700 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5704 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5706 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5707 additions to variable.
5708 [$(config-machine) = x86_64] (modules-names): Likewise.
5709 ($(objpfx)tst-audit3): Remove dependency.
5710 ($(objpfx)tst-audit3.out): Likewise.
5711 ($(objpfx)tst-audit4): Likewise.
5712 ($(objpfx)tst-audit4.out): Likewise.
5713 ($(objpfx)tst-audit5): Likewise.
5714 ($(objpfx)tst-audit5.out): Likewise.
5715 ($(objpfx)tst-audit6): Likewise.
5716 ($(objpfx)tst-audit6.out): Likewise.
5717 ($(objpfx)tst-audit7): Likewise.
5718 ($(objpfx)tst-audit7.out): Likewise.
5719 (tst-audit3-ENV): Remove variable.
5720 (tst-audit4-ENV): Likewise.
5721 (tst-audit5-ENV): Likewise.
5722 (tst-audit6-ENV): Likewise.
5723 (tst-audit7-ENV): Likewise.
5724 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5725 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5726 addition to variable.
5727 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5728 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5729 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5730 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5731 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5732 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5733 tst-audit3, tst-audit4 and tst-audit5.
5734 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5735 tst-audit6 and tst-audit7.
5736 [$(subdir) = elf] (modules-names): Add audit modules for those
5738 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5739 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5740 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5741 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5742 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5743 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5744 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5745 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5746 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5747 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5748 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5749 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5750 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5751 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5752 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5753 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5755 [$(subdir) = elf && $(config-cflags-avx) = yes]
5756 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5757 [$(subdir) = elf && $(config-cflags-avx) = yes]
5758 (CFLAGS-tst-auditmod4a.c): Likewise.
5759 [$(subdir) = elf && $(config-cflags-avx) = yes]
5760 (CFLAGS-tst-auditmod4b.c): Likewise.
5761 [$(subdir) = elf && $(config-cflags-avx) = yes]
5762 (CFLAGS-tst-auditmod6b.c): Likewise.
5763 [$(subdir) = elf && $(config-cflags-avx) = yes]
5764 (CFLAGS-tst-auditmod6c.c): Likewise.
5765 [$(subdir) = elf && $(config-cflags-avx) = yes]
5766 (CFLAGS-tst-auditmod7b.c): Likewise.
5767 * elf/tst-audit3.c: Move to ...
5768 * sysdeps/x86_64/tst-audit3.c: ... here.
5769 * elf/tst-audit4.c: Move to ...
5770 * sysdeps/x86_64/tst-audit4.c: ... here.
5771 * elf/tst-audit5.c: Move to ...
5772 * sysdeps/x86_64/tst-audit5.c: ... here.
5773 * elf/tst-audit6.c: Move to ...
5774 * sysdeps/x86_64/tst-audit6.c: ... here.
5775 * elf/tst-audit7.c: Move to ...
5776 * sysdeps/x86_64/tst-audit7.c: ... here.
5777 * elf/tst-auditmod3a.c: Move to ...
5778 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5779 * elf/tst-auditmod3b.c: Move to ...
5780 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5781 * elf/tst-auditmod4a.c: Move to ...
5782 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5783 * elf/tst-auditmod4b.c: Move to ...
5784 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5785 * elf/tst-auditmod5a.c: Move to ...
5786 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5787 * elf/tst-auditmod5b.c: Move to ...
5788 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5789 * elf/tst-auditmod6a.c: Move to ...
5790 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5791 * elf/tst-auditmod6b.c: Move to ...
5792 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5793 * elf/tst-auditmod6c.c: Move to ...
5794 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5795 * elf/tst-auditmod7a.c: Move to ...
5796 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5797 * elf/tst-auditmod7b.c: Move to ...
5798 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5800 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5803 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5804 define unconditionally.
5805 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5806 define unconditionally.
5807 (INT8_C, INT16_C, etc.): Likewise.
5809 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5811 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5812 __ehdr_start with hidden visibility.
5814 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5816 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5818 * math/libm-test.inc (cos_test): Use accurate hex constants.
5819 (sincost_test): Likewise.
5821 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5823 * math/libm-test.inc (catan_test): Add more tests.
5824 (catanh_test): Likewise.
5826 * math/s_catanf.c (__catanf): Use suffixed floating-point
5828 * math/s_catanhf.c (__catanhf): Likewise.
5829 * math/s_catanhl.c (__catanhl): Likewise.
5830 * math/s_catanl.c (__catanl): Likewise.
5833 * math/s_catan.c (__catan): Calculate imaginary part of result
5834 with log1p not log unless computing log of number close to 0.
5835 * math/s_catanf.c (__catanf): Likewise.
5836 * math/s_catanl.c (__catanl): Likewise.
5837 * math/s_catanh.c (__catanh): Calculate real part of result with
5838 log1p not log unless computing log of number close to 0.
5839 * math/s_catanhf.c (__catanhf): Likewise.
5840 * math/s_catanhl.c (__catanhl): Likewise.
5841 * math/libm-test.inc (catan_test): Add more tests.
5842 (catanh_test): Likewise.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5846 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5848 * benchtests/Makefile: Mention files in which fast and slow
5849 paths of math functions are implemented.
5851 2013-04-23 Roland McGrath <roland@hack.frob.com>
5853 * sysdeps/posix/timespec_get.c: New file.
5855 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5857 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5859 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5861 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5862 powerpc/power5/fpu folders.
5863 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5864 * benchtests/Makefile: Add modf testcase.
5865 * benchtests/bench-modf.c: New file: Benchmark test for mo
5867 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5870 * time/Makefile (tests): Add tst-strptime-whitespace.
5871 * time/strptime_l.c (get_number): Use ISSPACE.
5872 (__strptime_internal): Likewise.
5873 * time/tst-strptime-whitespace.c: New test case.
5875 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5877 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5879 (_nss_files_init): Set it here.
5881 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5883 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5884 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5887 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5889 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5891 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5896 2013-04-21 David S. Miller <davem@davemloft.net>
5898 * po/ru.po: Update Russion translation from translation project.
5900 2013-04-17 Adam Conrad <adconrad@0c3.net>
5902 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5905 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5907 * configure.in: Remove i386 configure warning. Remove i386 case.
5908 * configure: Regenerate.
5909 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5910 Add example to error message.
5911 * sysdeps/i386/configure: Regenerate.
5913 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5915 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5917 * benchtests/cos-inputs: New file.
5918 * benchtests/slowcos-inputs: New file.
5919 * benchtests/slowcos.c: New file.
5920 * benchtests/slowtan-inputs: New file.
5921 * benchtests/slowtan.c: New file.
5922 * benchtests/tan-inputs: New file.
5924 2013-04-16 Roland McGrath <roland@hack.frob.com>
5926 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5929 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5931 * benchtests/Makefile: Include cppflags-iterator.mk to add
5932 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5934 * Makefile.in (bench-clean): New target.
5935 * benchtests/Makefile (bench-clean): Likewise.
5937 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5939 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5941 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5943 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5945 2013-04-15 Andreas Schwab <schwab@suse.de>
5947 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5949 * nscd/pwdcache.c (cache_addpw): Likewise.
5950 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5953 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5955 * benchtests/Makefile (bench): Write all output to
5956 bench-out.tmp together.
5958 2013-04-15 Andreas Schwab <schwab@suse.de>
5960 * nscd/nscd.c (main): Don't fork again after closing files.
5962 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5964 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5966 * benchtests/Rules (bench-deps): Collect dependencies into a
5967 single variable. Add Makefile to dependencies.
5968 ($(objpfx)bench-%.c): Depend on bench-deps.
5970 2013-04-12 Roland McGrath <roland@hack.frob.com>
5971 Xavier Roche <roche+kml2@exalead.com>
5974 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5975 just that it's a file descriptor.
5976 * manual/llio.texi (Synchronizing AIO Operations): Update description
5977 for EBADF error from aio_fsync.
5979 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5981 * Rules (bench): Move target definition...
5982 * benchtests/Makefile: ... here.
5984 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5986 * math/libm-test.inc (cos_test): Fix PI/2 test.
5987 (sincos_test): Likewise.
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5989 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5991 2013-04-11 Andreas Schwab <schwab@suse.de>
5994 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5995 accept exponent character only when digits were seen.
5996 * stdio-common/Makefile (tests): Add bug26.
5997 * stdio-common/bug26.c: New file.
6000 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6003 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6005 * Makeconfig (rtld-prefix): Define built linker prefix.
6006 * Rules (run-bench): Use it.
6007 * math/Makefile (run-regen-ulps): Likewise.
6009 * Rules (bench): Remove eval.
6011 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6012 Roland McGrath <roland@hack.frob.com>
6013 Ondrej Bilka <neleai@seznam.cz>
6016 * time/getdate.c: Include ctype.h and alloca.h.
6017 (__getdate_r): Trim leading and trailing spaces of input.
6018 * time/tst-getdate.c (tests): Add tests with leading and
6021 2013-04-08 Roland McGrath <roland@hack.frob.com>
6024 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6025 when computing value.
6027 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6029 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6030 Use testrun.sh to run libm tests.
6033 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6035 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6038 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6040 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6042 * Makefile.in (regen-ulps): New target.
6043 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6044 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6045 [ifneq (no,$(PERL)] (regen-ulps): New target.
6046 [ifeq (no,$(PERL)] (regen-ulps): New target.
6047 * math/libm-test.inc (ulps_file_name): Define.
6048 (output_dir): New variable.
6049 (options): Add "output-dir" option.
6050 (parse_opt): Handle 'o' case.
6051 (main): If output_dir is non-NULL use it as a prefix
6053 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6055 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6058 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6059 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6060 fail configure if __sync_val_compare_and_swap is not inlined.
6061 * sysdeps/i386/configure: Regenerate.
6062 * configure.in: Build for i686 when configured for i386.
6063 * configure: Regenerate.
6064 * README: Remove i386 reference.
6066 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6068 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6069 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6071 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6073 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6074 (lmsnanval): New variables.
6075 (F): Add conversion tests.
6076 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6077 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6079 * stdio-common/tstdiomisc.c (F): Properly collect individual
6083 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6084 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6085 Instead, use input NaN values or generate a qNaN by arithmetic
6086 operation. Also fix bugs to comply with the standard.
6087 * math/libm-test.inc (remainder_test): Add more tests.
6090 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6092 input NaN values or generate a qNaN by arithmetic operation.
6094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6097 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6100 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6103 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6105 * math/s_cexpf.c (__cexpf): Likewise.
6106 * math/s_cexpl.c (__cexpl): Likewise.
6107 * math/libm-test.inc (cexp_test): Add more tests.
6109 2013-04-03 Andreas Schwab <schwab@suse.de>
6112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6113 order arrays from heap if bigger than alloca cutoff.
6115 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6117 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6118 (SNAN_TESTS_double): Refer to GCC PR56831.
6119 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6122 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6124 * Rules (bench): Move bench.out after the run is complete.
6126 * Rules (bench): Echo currently running benchmark.
6128 * benchtests/Makefile (bench): Add atan and slowatan.
6129 * benchtests/atan-inputs: New file.
6130 * benchtests/slowatan-inputs: New file.
6131 * benchtests/slowatan.c: New file.
6133 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6134 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6138 * sysdeps/unix/sysv/linux/kernel-features.h
6139 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6140 __ASSUME_XFS_RESTRICTED_CHOWN.
6141 * sysdeps/unix/sysv/linux/pathconf.c
6142 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6143 Save and restore errno.
6145 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6148 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6149 arguments using __kernel_casinh.
6150 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6151 arguments using __kernel_casinhf.
6152 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6153 arguments using __kernel_casinhl.
6154 * math/libm-test.inc (cacosh_test): Add more tests.
6155 * sysdeps/i386/fpu/libm-test-ulps: Update.
6156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6158 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6160 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6163 * bench/Makefile (bench): Add sin and slowsin.
6164 * benchtests/sin-inputs: New file.
6165 * benchtests/slowsin-inputs: New file.
6166 * benchtests/slowsin.c: New file.
6168 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6169 (bench): Add slowexp and slowpow.
6170 (exp-ITER): Increase iterations.
6171 (pow-ITER): Likewise.
6172 * benchtests/exp-inputs: Change input.
6173 * benchtests/pow-inputs: Likewise.
6174 * benchtests/slowexp-inputs: New file.
6175 * benchtests/slowexp.c: New file.
6176 * benchtests/slowpow-inputs: New file.
6177 * benchtests/slowpow.c: New file.
6179 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6183 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6184 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6185 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6186 * benchtests/Makefile: Add rint benchtest.
6187 * benchtests/rint-inputs: Input for rint benchtest.
6189 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6191 * Versions.def (libm): Add GLIBC_2.18.
6192 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6193 hidden libm prototypes.
6194 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6195 * math/Makefile (libm-calls): Add s_issignaling.
6196 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6197 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6198 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6200 * math/math.h [__USE_GNU] (issignaling): New macro.
6201 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6202 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6204 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6207 * manual/arith.texi (issignaling): New section.
6208 * manual/libm-err-tab.pl (@all_functions): Update comment.
6209 * math/gen-libm-test.pl (parse_args): Apply special handling for
6211 * math/libm-test.inc (print_float, issignaling_test): New
6213 (check_float_internal): Add issignaling checks.
6214 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6216 * sysdeps/powerpc/math-tests.h: New file.
6217 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6219 * math/test-snan.c (TEST_FUNC): Likewise.
6221 2013-03-30 David S. Miller <davem@davemloft.net>
6223 * po/de.po: Update from translation team.
6225 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6229 imaginary part less than 1.0 and real part less than 0.5
6231 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6232 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6233 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6234 (cacos_test): Add more tests.
6235 (casin_test): Likewise.
6236 (casinh_test): Likewise.
6237 * sysdeps/i386/fpu/libm-test-ulps: Update.
6238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6240 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6242 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6245 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6246 (__pow_mp): Replace ONE and MONE with their values.
6247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6249 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6250 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6251 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6252 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6254 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6256 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6257 (__pow_mp): Replace ZERO and MZERO with their values.
6258 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6259 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6260 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6262 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6263 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6266 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6268 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6270 2013-03-28 Roland McGrath <roland@hack.frob.com>
6272 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6273 Declare with __attribute__ ((weak)).
6274 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6275 Call __call_tls_dtors only if it's not NULL.
6277 2013-03-28 Roland McGrath <roland@hack.frob.com>
6279 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6280 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6281 magic __ehdr_start linker symbol if it's defined.
6282 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6283 them up here if it was already done.
6285 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6286 (_dl_aux_init): Use const in cast when setting it.
6287 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6288 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6289 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6291 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6293 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6294 * csu/libc-tls.c: Nor here.
6295 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6297 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6298 (__libc_message): Never call vsyslog.
6300 2013-03-28 Alan Modra <amodra@gmail.com>
6302 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6304 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6307 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6314 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6317 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6318 Don't add gid passed as argument.
6320 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6322 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6325 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6326 imaginary part between 1.0 and 1.5 and real part less than 0.5
6328 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6329 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6330 * math/libm-test.inc (cacos_test): Add more tests.
6331 (casin_test): Likewise.
6332 (casinh_test): Likewise.
6333 * sysdeps/i386/fpu/libm-test-ulps: Update.
6334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6336 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6338 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6342 (__dbl_mp): Likewise.
6343 (add_magnitudes): Likewise.
6344 (sub_magnitudes): Likewise.
6352 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6354 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6355 (__dubcos): Likewise.
6356 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6357 (__ieee754_acos): Likewise.
6358 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6359 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6364 (my_log2): Likewise.
6365 (checkint): Likewise.
6366 * sysdeps/ieee754/dbl-64/e_remainder.c
6367 (__ieee754_remainder): Likewise.
6368 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6373 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6375 MANTISSA_STORE_T to store computations on mantissa. Use
6376 macros for rounding and division.
6378 (__dbl_mp): Likewise.
6379 (add_magnitudes): Likewise.
6380 (sub_magnitudes): Likewise.
6383 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6384 powers of two in terms of TWOPOW macro.
6385 (mp_no): Make type of mantissa as MANTISSA_T.
6386 [!RADIXI]: Define RADIXI.
6387 [!TWO52]: Define TWO52.
6388 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6390 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6392 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6393 llroundl symbol when building for PPC32.
6395 2013-03-24 Mark H Weaver <mhw@netris.org>
6397 * manual/arith.texi (Normalization Functions): Fix prototypes for
6398 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6400 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6404 high value to check if expl overflow.
6405 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6406 to check for underflow and overflow.
6407 * math/libm-test.inc: Add exp test.
6409 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6412 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6415 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6420 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6422 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6423 wrap blocks consisting of several statements.
6425 * sysdeps/generic/math-tests.h: New file.
6426 * sysdeps/i386/fpu/math-tests.h: Likewise.
6427 * math/test-snan.c: Include it.
6428 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6430 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6434 (__ieee754_j0l): Do not improve calculations using cos of twice
6435 input for inputs above LDBL_MAX / 2.0L.
6436 (__ieee754_y0l): Likewise.
6437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6438 (__ieee754_j1l): Do not improve calculations using cos of twice
6439 input for inputs above LDBL_MAX / 2.0L.
6440 (__ieee754_y1l): Likewise.
6441 * math/libm-test.inc (j0_test): Add another test.
6442 (j1_test): Likewise.
6443 (y0_test): Likewise.
6444 (y1_test): Likewise.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6447 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6449 * Rules ($(objpfx)bench-%.c): Include code from a C source
6452 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6455 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6456 imaginary part 1.0 and real part less than 0.5 specially.
6457 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6458 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6459 * math/libm-test.inc (cacos_test): Add more tests.
6460 (casin_test): Likewise.
6461 (casinh_test): Likewise.
6462 * sysdeps/i386/fpu/libm-test-ulps: Update.
6463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6467 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6468 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6470 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6472 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6473 * config.make.in (config-cflags-sse4): Remove variable.
6474 (config-cflags-avx): Likewise.
6475 (config-cflags-sse2avx): Likewise.
6476 (config-cflags-novzeroupper): Likewise.
6477 (config-asflags-i686): Likewise.
6478 (have-mfma4): Likewise.
6479 (have-as-vis3): Likewise.
6481 * configure.in (MIG): Do not AC_SUBST.
6482 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6483 (libc_cv_cc_sse4): Do not AC_SUBST.
6484 (libc_cv_cc_avx): Likewise.
6485 (libc_cv_cc_sse2avx): Likewise.
6486 (libc_cv_cc_novzeroupper): Likewise.
6487 (libc_cv_cc_fma4): Likewise.
6488 (libc_cv_as_i686): Likewise.
6489 (libc_cv_sparc_as_vis3): Likewise.
6490 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6492 (config-asflags-i686): Likewise.
6493 (config-cflags-avx): Likewise.
6494 (config-cflags-sse2avx): Likewise.
6495 (have-mfma4): Likewise.
6496 (config-cflags-novzeroupper): Likewise.
6497 * sysdeps/mach/configure.in (MIG): Likewise.
6498 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6499 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6501 (config-cflags-avx): Likewise.
6502 (config-cflags-sse2avx): Likewise.
6503 (have-mfma4): Likewise.
6504 (config-cflags-novzeroupper): Likewise.
6505 * configure: Regenerated.
6506 * sysdeps/i386/configure: Likewise.
6507 * sysdeps/mach/configure: Likewise.
6508 * sysdeps/sparc/configure: Likewise.
6509 * sysdeps/x86_64/configure: Likewise.
6511 2013-03-20 Roland McGrath <roland@hack.frob.com>
6514 * locale/programs/localedef.c (options): Put N_ translation marker
6515 on argument names, not just descriptions.
6517 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6519 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6521 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6524 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6526 2013-03-19 Roland McGrath <roland@hack.frob.com>
6528 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6529 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6530 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6531 [!BEFORE_ABORT] (before_abort): New function.
6532 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6533 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6534 (writev_for_fatal): New function.
6535 (WRITEV_FOR_FATAL): New macro; call that.
6536 (backtrace_and_maps): New function.
6537 (BEFORE_ABORT): New macro; call that.
6538 (struct str_list): Type removed.
6539 (__libc_message, __libc_fatal): Functions removed.
6540 Include <sysdeps/posix/libc_fatal.c> instead.
6542 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6544 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6546 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6549 2013-03-19 Andreas Schwab <schwab@suse.de>
6551 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6552 * sysdeps/gnu/configure: Regenerate.
6554 * configure.in: Substitute libc_cv_rtlddir.
6555 * configure: Regenerate.
6556 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6557 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6558 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6559 * elf/Makefile (install-others, CFLAGS-interp.c)
6560 (ldso_install, common-ldd-rewrite): Likewise.
6561 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6562 $(inst_slibdir)/$(rtld-installed-name).
6563 * scripts/rellns-sh: Add -p option.
6564 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6567 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6569 * manual/nptl.texi: Renamed to ...
6570 * manual/threads.texi: ... this.
6571 * manual/Makefile (chapters): Update.
6573 2013-03-18 Roland McGrath <roland@hack.frob.com>
6576 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6577 on argument names, not just descriptions.
6578 * malloc/memusagestat.c (options): Likewise.
6579 * nss/getent.c (options): Likewise.
6581 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6584 * iconv/iconv_prog.c (options): Put N_ translation marker
6585 on argument names, not just descriptions.
6586 * iconv/iconvconfig.c (options): Likewise.
6588 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6590 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6591 implementation which is faster on all x86_64 architectures.
6592 Tested on AMD, Intel Nehalem, SNB, IVB.
6593 * sysdeps/x86_64/strnlen.S: Likewise.
6595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6596 Remove all multiarch strlen and strnlen versions.
6597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6598 Remove strlen and strnlen related parts.
6600 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6602 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6604 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6605 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6606 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6607 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6608 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6609 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6611 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6613 * manual/memory.texi (Malloc Tunable Parameters):
6614 Sort parameters alphabetically. Add comments for missing entries.
6616 2013-03-17 David S. Miller <davem@davemloft.net>
6618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6620 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6624 for arguments at most half maximum finite value.
6625 * math/libm-test.inc (j0_test): Add more tests.
6626 (j1_test): Likewise.
6627 (y0_test): Likewise.
6628 (y1_test): Likewise.
6629 * sysdeps/i386/fpu/libm-test-ulps: Update.
6630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6633 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6634 1 / x and functions P and Q for arguments above 0x1p256L.
6635 (__ieee754_y0l): Likewise.
6636 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6637 (__ieee754_y1l): Likewise.
6638 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6639 (j1_test): Likewise.
6640 (y0_test): Likewise.
6641 (y1_test): Likewise.
6643 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6645 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6648 2013-03-15 Roland McGrath <roland@hack.frob.com>
6650 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6651 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6652 zero since it's initialized to EXEC_PAGESIZE.
6654 * sysdeps/unix/sysv/linux/ldsodefs.h
6655 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6656 * sysdeps/generic/ldsodefs.h: ... here.
6658 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6660 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6662 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6664 * math/test-snan.c: Renamed from
6665 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6666 * math/Makefile (tests): Add test-snan.
6667 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6670 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6671 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6673 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6674 __builtin_nan family of functions.
6675 * math/libm-test.inc (initialize): Initialize qnan_value with
6676 __builtin_nan family of functions.
6677 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6679 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6681 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6682 storage class. Initialize qNaN_var and sNaN_var with
6683 __builtin_nan and __builtin_nans families of functions,
6686 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6687 (sqrt_test): Remove duplicate test with qNaN input.
6688 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6689 (round_test, signbit_test, significand_test): Note missing +/-Inf
6690 as well as qNaN tests.
6692 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6693 qNaN_var. Fix a few strings, too.
6694 * math/libm-test.inc (nan_value): Rename to qnan_value.
6695 * math/gen-libm-test.pl (%beautify): Adjust to that.
6696 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6697 * math/test-misc.c (main): Likewise.
6698 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6699 to __qnan_bytes, and __qnan_union, respectively.
6700 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6702 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6703 and lqnanval, respectively.
6704 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6705 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6706 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6707 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6709 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6710 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6713 * math/test-misc.c (main): Fix copy'n'pastos.
6714 * misc/tst-efgcvt.c (special): Likewise.
6716 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6717 Remove declarations.
6719 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6721 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6722 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6723 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6724 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6726 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6729 macro to return vdso values correctly in IFUNC implementations.
6730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6731 Optimization by using IFUNC.
6733 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6734 Richard Henderson <rth@redhat.com>
6735 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6737 * Makefile.in (bench): New target.
6738 * NEWS: Mention the benchmark framework.
6739 * Rules (bench): Likewise.
6740 (binaries-bench): Generate binaries for functions to
6742 * benchtests/Makefile: New makefile for benchmark tests.
6743 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6745 * benchtests/exp-inputs: New input file for EXP function.
6746 * benchtests/pow-inputs: New input file for POW function.
6747 * scripts/bench.pl: New script to generate source files for
6750 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6752 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6753 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6754 computations on mantissa. Use macros for rounding and
6757 (__dbl_mp): Likewise.
6758 (add_magnitudes): Likewise.
6759 (sub_magnitudes): Likewise.
6762 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6763 powers of two in terms of TWOPOW macro.
6764 (mp_no): Make type of mantissa as MANTISSA_T.
6765 [!RADIXI]: Define RADIXI.
6766 [!TWO52]: Define TWO52.
6767 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6769 * manual/nptl.texi (cindex): Modify threads to pthreads.
6771 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6773 * sysdeps/x86_64/preconfigure: Regenerated.
6775 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6778 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6780 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6781 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6783 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6784 * math/libm-test.inc (j0_test): Do not allow one spurious
6785 underflow exception.
6786 (y1_test): Likewise.
6788 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6790 * manual/Makefile (chapters): Add nptl.
6791 * manual/debug.texi (Debugging Support): Add link to Threads
6793 * manual/nptl.texi: New file.
6795 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6797 2013-03-14 Petr Baudis <pasky@ucw.cz>
6799 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6800 for non-NULL pointer before the memory validity test. Pointed
6801 out by Holger Brunck <holger.brunck@keymile.com>.
6803 2013-03-13 Andreas Schwab <schwab@suse.de>
6805 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6808 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6810 * timezone/zic.c: Update from tzcode 2013b.
6812 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6814 * manual/install.texi (Configuring and compiling):
6815 Mention i686 and i586.
6816 * INSTALL: Regenerate.
6818 2013-03-12 Roland McGrath <roland@hack.frob.com>
6820 * sysdeps/init_array/elf-init.c: New file.
6822 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6823 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6825 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6826 __gmon_start__ as global, but as static with a .preinit_array pointer.
6827 * sysdeps/init_array/gmon-start.c: New file. Use that.
6828 * sysdeps/init_array/crti.S: New file, empty except for comments.
6829 * sysdeps/init_array/crtn.S: Likewise.
6831 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6833 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6836 Remove Prefer_SSE_for_memop.
6837 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6838 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6839 HAS_PREFER_SSE_FOR_MEMOP.
6840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6843 Remove bzero, memset ifunc support.
6844 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6845 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6846 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6847 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6849 2013-03-11 Andreas Schwab <schwab@suse.de>
6852 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6855 (GLIBC_2.16): Remove pthread_atfork.
6857 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6859 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6860 (ptestcases.h): Likewise.
6862 2013-03-08 Roland McGrath <roland@hack.frob.com>
6864 * Makeconfig ($(common-objpfx)config.status): Depend on
6865 sysdeps/*/preconfigure{,.in} too.
6867 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6869 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6870 (__free_hook): Use void * instead of __malloc_ptr_t.
6871 (__malloc_hook): Likewise.
6872 (__realloc_hook): Likewise.
6873 (__memalign_hook): Likewise.
6874 (__after_morecore_hook): Likewise.
6875 * malloc/arena.c (save_malloc_hook): Likewise.
6876 (save_free_hook): Likewise.
6877 * malloc/hooks.c (malloc_hook_ini): Likewise.
6878 (realloc_hook_ini): Likewise.
6879 (memalign_hook_ini): Likewise.
6880 * malloc/malloc.c (malloc_hook_ini): Likewise.
6881 (realloc_hook_ini): Likewise.
6882 (memalign_hook_ini): Likewise.
6883 (__free_hook): Likewise.
6884 (__malloc_hook): Likewise.
6885 (__realloc_hook): Likewise.
6886 (__memalign_hook): Likewise.
6887 (__libc_malloc): Likewise.
6888 (__libc_free): Likewise.
6889 (__libc_realloc): Likewise.
6890 (__libc_memalign): Likewise.
6891 (__libc_valloc): Likewise.
6892 (__libc_pvalloc): Likewise.
6893 (__libc_calloc): Likewise.
6894 (__posix_memalign): Likewise.
6895 * malloc/morecore.c (__sbrk): Likewise.
6896 (__default_morecore): Likewise.
6898 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6900 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6901 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6904 * malloc/malloc.h (__malloc_size_t): Remove macro.
6905 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6907 (old_memalign_hook): Likewise.
6908 (old_realloc_hook): Likewise.
6909 (struct hdr): Likewise.
6911 (mallochook): Likewise.
6912 (memalignhook): Likewise.
6913 (reallochook): Likewise.
6914 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6915 (tr_old_realloc_hook): Likewise.
6916 (tr_old_memalign_hook): Likewise.
6917 (tr_mallochook): Likewise.
6918 (tr_reallochook): Likewise.
6919 (tr_memalignhook): Likewise.
6921 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6924 default_ldbl_pack and using as default implementation.
6925 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6927 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6928 redundant definition.
6929 (ldbl_insert_mantissa): Likewise.
6930 (ldbl_canonicalize): Likewise.
6931 (ldbl_nearbyint): Likewise.
6932 (ldbl_pack): Rename to ldbl_pack_ppc.
6933 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6934 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6935 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6937 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6940 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6942 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6944 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6945 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6946 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6948 2013-03-07 Andreas Jaeger <aj@suse.de>
6950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6953 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6955 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6956 Include mpa.h and declare __MPEXP.
6957 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6959 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6962 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6963 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6965 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6966 (__slowpow): Use long double EXPL and LOGL functions to
6968 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6969 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6970 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6971 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6972 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6973 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6976 intermediate variable to calculate exponent.
6978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6982 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6983 [!NO__SQR]: Define __sqr.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6985 and NO__SQR. Remove all code except __mul and __sqr. Include
6986 sysdeps/ieee754/dbl-64/mpa.c.
6987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6990 * posix/Makefile (tests): Add tst-pathconf.
6991 * posix/tst-pathconf.c: New test case.
6992 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6994 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6996 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6998 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7000 2013-03-06 Andreas Jaeger <aj@suse.de>
7002 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7003 definition via __MAP_ANONYMOUS.
7005 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7006 it's not part of Linux headers.
7008 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7009 (MAP_HUGE_MASK): Define.
7011 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7013 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7016 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7017 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7019 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7020 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7022 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7024 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7025 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7026 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7027 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7028 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7031 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7034 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7035 Handle f2fs and efivarfs.
7037 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7040 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7041 (EFIVARFS_MAGIC): Add.
7042 (F2FS_LINK_MAX): Add.
7044 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7046 * stdio-common/vfprintf.c: Replace __builtin_expect with
7049 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7052 * sysdeps/generic/bp-sym.h: Remove file.
7053 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7054 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7055 <bp-sym.h> and <bp-asm.h>.
7056 (__longjmp): Don't use BP_SYM.
7057 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7059 (memcpy): Don't use BP_SYM.
7060 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7061 <bp-sym.h> and <bp-asm.h>.
7062 (memcpy): Don't use BP_SYM.
7063 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7065 (memcpy): Don't use BP_SYM.
7066 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7068 (memset): Don't use BP_SYM.
7069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7071 (__bzero): Don't use BP_SYM.
7072 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7073 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7074 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7075 <bp-sym.h> and <bp-asm.h>.
7076 (memcmp): Don't use BP_SYM. Remove comment about bounded
7078 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7079 <bp-sym.h> and <bp-asm.h>.
7080 (memcpy): Don't use BP_SYM.
7081 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7082 <bp-sym.h> and <bp-asm.h>.
7083 (memset): Don't use BP_SYM.
7084 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7085 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7086 (__bzero): Don't use BP_SYM.
7087 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7088 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7090 <bp-sym.h> and <bp-asm.h>.
7091 (strncmp): Don't use BP_SYM. Remove comment about bounded
7093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7094 <bp-sym.h> and <bp-asm.h>.
7095 (memcpy): Don't use BP_SYM.
7096 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7097 <bp-sym.h> and <bp-asm.h>.
7098 (memset): Don't use BP_SYM.
7099 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7100 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7101 (__bzero): Don't use BP_SYM.
7102 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7103 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7105 <bp-sym.h> and <bp-asm.h>.
7106 (__memchr): Don't use BP_SYM.
7107 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7108 <bp-sym.h> and <bp-asm.h>.
7109 (memcmp): Don't use BP_SYM. Remove comment about bounded
7111 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7112 <bp-sym.h> and <bp-asm.h>.
7113 (memcpy): Don't use BP_SYM.
7114 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7115 <bp-sym.h> and <bp-asm.h>.
7116 (__mempcpy): Don't use BP_SYM.
7117 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7118 <bp-sym.h> and <bp-asm.h>.
7119 (__memrchr): Don't use BP_SYM.
7120 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7121 <bp-sym.h> and <bp-asm.h>.
7122 (memset): Don't use BP_SYM.
7123 (__bzero): Likewise.
7124 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7125 <bp-sym.h> and <bp-asm.h>.
7126 (__rawmemchr): Don't use BP_SYM.
7127 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7128 <bp-sym.h> and <bp-asm.h>.
7129 (__STRCMP): Don't use BP_SYM.
7130 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7131 <bp-sym.h> and <bp-asm.h>.
7132 (strchr): Don't use BP_SYM.
7133 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7134 <bp-sym.h> and <bp-asm.h>.
7135 (__strchrnul): Don't use BP_SYM.
7136 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7137 <bp-sym.h> and <bp-asm.h>.
7138 (strlen): Don't use BP_SYM.
7139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7140 <bp-sym.h> and <bp-asm.h>.
7141 (strncmp): Don't use BP_SYM. Remove comment about bounded
7143 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7144 <bp-sym.h> and <bp-asm.h>.
7145 (__strnlen): Don't use BP_SYM.
7146 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7147 <bp-sym.h> and <bp-asm.h>.
7148 (__GI__setjmp): Don't use BP_SYM.
7149 (_setjmp): Likewise.
7150 (__sigsetjmp): Likewise.
7151 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7152 (L(start_addresses)): Don't use BP_SYM.
7154 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7156 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7157 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7158 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7159 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7160 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7162 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7163 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7164 about bounded pointers.
7165 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7166 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7167 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7169 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7170 about bounded pointers. Remove GKM FIXME comments.
7171 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7172 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7174 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7175 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7176 Remove GKM FIXME comments.
7177 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7178 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7179 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7181 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7182 about bounded pointers. Remove GKM FIXME comment.
7183 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7185 (strncmp): Don't use BP_SYM. Remove comment about bounded
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7188 <bp-sym.h> and <bp-asm.h>.
7189 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7191 <bp-sym.h> and <bp-asm.h>.
7192 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7195 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7197 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7200 2013-03-05 David S. Miller <davem@davemloft.net>
7202 * po/es.po: Update from translation team.
7204 2013-03-05 Andreas Jaeger <aj@suse.de>
7206 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7207 <bits/mman-linux.h>.
7208 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7210 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7211 <bits/mman-linux.h> to end of file.
7212 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7214 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7215 <bits/mman-linux.h> to end of file.
7216 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7219 <bits/mman-linux.h> to end of file.
7221 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7222 (MCL_CURRENT, MCL_FUTURE): Define here.
7224 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7229 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7231 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7233 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7234 fourth parameter needed for rt_sigprocmask syscall.
7235 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7236 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7238 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7239 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7240 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7242 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7245 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7246 comment about bounded pointers.
7247 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7248 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7250 2013-03-04 Andreas Jaeger <aj@suse.de>
7252 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7256 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7257 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7259 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7260 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7262 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7265 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7266 __ieee754_sqrl instead of __sqrl.
7268 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7270 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7271 * sysdeps/powerpc/fpu_control.h: ... here.
7272 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7273 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7274 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7275 * sysdeps/powerpc/bits/mathinline.h: ... here.
7277 2013-03-01 Roland McGrath <roland@hack.frob.com>
7279 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7280 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7281 to just [NEED_DL_SYSINFO_DSO].
7282 * elf/dl-support.c: Likewise.
7283 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7284 * elf/rtld.c (dl_main): Likewise.
7285 * elf/setup-vdso.h (setup_vdso): Likewise.
7286 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7287 * sysdeps/unix/sysv/linux/dl-sysdep.c
7288 (_dl_discover_osversion): Likewise.
7290 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7292 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7293 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7295 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7297 * NEWS: Mention libm performance improvements and non-x86 PI
7300 * csu/libc-start.c (__pthread_initialize_minimal): Change
7302 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7304 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7307 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7308 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7309 <bp-sym.h> and <bp-asm.h>.
7310 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7311 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7313 (memcpy): Don't use BP_SYM.
7314 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7316 (__mpn_add_n): Don't use BP_SYM.
7317 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7318 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7320 (__mpn_addmul_1): Don't use BP_SYM.
7321 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7322 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7324 (_setjmp): Don't use BP_SYM.
7325 (__novmx_setjmp): Likewise.
7326 (__GI__setjmp): Likewise.
7327 (__vmx_setjmp): Likewise.
7328 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7330 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7331 (__bzero): Don't use BP_SYM.
7332 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7333 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7334 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7335 <bp-sym.h> and <bp-asm.h>.
7336 (memcpy): Don't use BP_SYM.
7337 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7338 <bp-sym.h> and <bp-asm.h>.
7339 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7340 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7341 <bp-sym.h> and <bp-asm.h>.
7342 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7343 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7345 (__mpn_lshift): Don't use BP_SYM.
7346 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7349 (memset): Don't use BP_SYM.
7350 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7351 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7352 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7354 (__mpn_mul_1): Don't use BP_SYM.
7355 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7357 <bp-sym.h> and <bp-asm.h>.
7358 (memcmp): Don't use BP_SYM.
7359 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7360 <bp-sym.h> and <bp-asm.h>.
7361 (memcpy): Don't use BP_SYM.
7362 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7363 <bp-sym.h> and <bp-asm.h>.
7364 (memset): Don't use BP_SYM.
7365 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7366 <bp-sym.h> and <bp-asm.h>.
7367 (strncmp): Don't use BP_SYM.
7368 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7369 <bp-sym.h> and <bp-asm.h>.
7370 (memcpy): Don't use BP_SYM.
7371 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7372 <bp-sym.h> and <bp-asm.h>.
7373 (memset): Don't use BP_SYM.
7374 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7375 <bp-sym.h> and <bp-asm.h>.
7376 (__memchr): Don't use BP_SYM.
7377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7378 <bp-sym.h> and <bp-asm.h>.
7379 (memcmp): Don't use BP_SYM.
7380 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7381 <bp-sym.h> and <bp-asm.h>.
7382 (memcpy): Don't use BP_SYM.
7383 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7384 <bp-sym.h> and <bp-asm.h>.
7385 (__mempcpy): Don't use BP_SYM.
7386 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7387 <bp-sym.h> and <bp-asm.h>.
7388 (__memrchr): Don't use BP_SYM.
7389 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7390 <bp-sym.h> and <bp-asm.h>.
7391 (memset): Don't use BP_SYM.
7392 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7393 <bp-sym.h> and <bp-asm.h>.
7394 (__rawmemchr): Don't use BP_SYM.
7395 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7396 <bp-sym.h> and <bp-asm.h>.
7397 (__STRCMP): Don't use BP_SYM.
7398 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7399 <bp-sym.h> and <bp-asm.h>.
7400 (strchr): Don't use BP_SYM.
7401 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7402 <bp-sym.h> and <bp-asm.h>.
7403 (__strchrnul): Don't use BP_SYM.
7404 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7405 <bp-sym.h> and <bp-asm.h>.
7406 (strlen): Don't use BP_SYM.
7407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7408 <bp-sym.h> and <bp-asm.h>.
7409 (strncmp): Don't use BP_SYM.
7410 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7411 <bp-sym.h> and <bp-asm.h>.
7412 (__strnlen): Don't use BP_SYM.
7413 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7415 (__mpn_rshift): Don't use BP_SYM.
7416 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7417 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7418 <bp-sym.h> and <bp-asm.h>.
7419 (__sigsetjmp): Don't use BP_SYM.
7420 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7421 (L(start_addresses)): Don't use BP_SYM.
7423 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7425 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7426 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7427 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7428 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7430 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7431 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7432 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7433 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7435 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7437 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7438 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7440 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7442 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7443 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7444 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7446 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7448 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7450 (strncmp): Don't use BP_SYM,
7451 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7453 (__mpn_sub_n): Don't use BP_SYM.
7454 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7455 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7457 (__mpn_submul_1): Don't use BP_SYM.
7458 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7460 <bp-sym.h> and <bp-asm.h>.
7461 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7463 <bp-sym.h> and <bp-asm.h>.
7464 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7467 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7470 Use ZK to minimize writes to Z.
7471 (sub_magnitudes): Simplify code a bit.
7472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7473 Use ZK to minimize writes to Z.
7474 (sub_magnitudes): Simplify code a bit.
7476 2013-02-27 Roland McGrath <roland@hack.frob.com>
7478 * csu/gmon-start.c: Add special exception to license text.
7480 2013-02-27 Richard Henderson <rth@redhat.com>
7482 * scripts/config.guess: Update from config.git.
7483 * scripts/config.sub: Likewise.
7485 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7487 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7489 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7491 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7493 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7495 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7497 2013-02-26 Roland McGrath <roland@hack.frob.com>
7499 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7500 [$(build-shared = yes].
7502 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7504 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7505 (__mul): Reduce iterations for calculating mantissa.
7507 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7509 (__mpranred): Likewise.
7512 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7513 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7515 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7517 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7518 Define __attribute__.
7520 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7522 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7524 * posix/regex_internal.h (__attribute): Remove.
7525 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7526 (re_string_context_at): Likewise.
7527 (bitset_not): Use __attribute__ and mark function as possibly
7529 (bitset_merge): Likewise.
7530 (bitset_mask): Likewise.
7531 (re_string_char_size_at): Likewise.
7532 (re_string_wchar_at): Likewise.
7533 (re_string_elem_size_at): Likewise.
7535 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7537 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7541 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7546 (__dbl_mp): Likewise.
7547 (add_magnitudes): Likewise.
7548 (sub_magnitudes): Likewise.
7552 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7555 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7558 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7562 up changes with default code.
7563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7566 2013-02-24 Allan McRae <allan@archlinux.org>
7568 * manual/socket.texi (The Internet Namespace): Order menu items
7569 to match that in the file.
7571 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7572 node listing of the info page menu.
7574 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7577 * sysdeps/i386/bp-asm.h: Remove file.
7578 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7579 (PARMS): Do not use macros from bp-asm.h.
7583 (__mpn_add_n): Do not use BP_SYM
7584 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7586 (PARMS): Do not use macros from bp-asm.h.
7589 (__mpn_addmul_1): Do not use BP_SYM
7590 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7592 (PARMS): Do not use macros from bp-asm.h.
7594 (_setjmp): Likewise. Do not use BP_SYM.
7595 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7597 (PARMS): Do not use macros from bp-asm.h.
7599 (setjmp): Likewise. Do not use BP_SYM.
7600 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7602 (PARMS): Do not use macros from bp-asm.h.
7603 (__frexp): Do not use BP_SYM.
7605 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7607 (PARMS): Do not use macros from bp-asm.h.
7608 (__frexpf): Do not use BP_SYM.
7610 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7612 (PARMS): Do not use macros from bp-asm.h.
7613 (__frexpl): Do not use BP_SYM.
7615 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7617 (PARMS): Do not use macros from bp-asm.h.
7618 (__remquo): Do not use BP_SYM.
7620 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7622 (PARMS): Do not use macros from bp-asm.h.
7623 (__remquof): Do not use BP_SYM.
7624 (remquof): Likewise.
7625 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7627 (PARMS): Do not use macros from bp-asm.h.
7628 (__remquol): Do not use BP_SYM.
7629 (remquol): Likewise.
7630 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7632 (PARMS): Do not use macros from bp-asm.h.
7635 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7636 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7638 (PARMS): Do not use macros from bp-asm.h.
7639 (strlen): Do not use BP_SYM.
7640 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7642 (PARMS): Do not use macros from bp-asm.h.
7646 (__mpn_add_n): Do not use BP_SYM.
7647 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7649 (PARMS): Do not use macros from bp-asm.h.
7652 (__mpn_addmul_1): Do not use BP_SYM.
7653 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7656 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7658 (PARMS): Do not use macros from bp-asm.h.
7661 (__mpn_lshift): Do not use BP_SYM.
7662 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7664 (PARMS): Do not use macros from bp-asm.h.
7668 (memcpy): Likewise. Do not use BP_SYM.
7669 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7670 libc_hidden_def and weak_alias.
7671 (mempcpy): Do not use BP_SYM in weak_alias.
7672 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7674 (PARMS): Do not use macros from bp-asm.h.
7677 [!BZERO_P] (CHR): Likewise.
7678 (memset): Likewise. Do not use BP_SYM.
7679 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7681 (PARMS): Do not use macros from bp-asm.h.
7684 (__mpn_mul_1): Do not use BP_SYM.
7685 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7687 (PARMS): Do not use macros from bp-asm.h.
7690 (__mpn_rshift): Do not use BP_SYM.
7691 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7693 (PARMS): Do not use macros from bp-asm.h.
7696 (strchr): Likewise. Do not use BP_SYM.
7697 (index): Do not use BP_SYM in weak_alias.
7698 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7700 (PARMS): Do not use macros from bp-asm.h.
7703 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7704 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7706 (PARMS): Do not use macros from bp-asm.h.
7707 (strlen): Do not use BP_SYM.
7708 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7710 (PARMS): Do not use macros from bp-asm.h.
7714 (__mpn_sub_n): Do not use BP_SYM.
7715 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7717 (PARMS): Do not use macros from bp-asm.h.
7720 (__mpn_submul_1): Do not use BP_SYM.
7721 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7723 (PARMS): Do not use macros from bp-asm.h.
7727 (__mpn_add_n): Do not use BP_SYM.
7728 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7731 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7733 (PARMS): Do not use macros from bp-asm.h.
7736 (memcmp): Do not use BP_SYM.
7737 (bcmp): Do not use BP_SYM in weak_alias.
7738 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7740 (PARMS): Do not use macros from bp-asm.h.
7744 (memcpy): Likewise. Do not use BP_SYM.
7745 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7747 (PARMS): Do not use macros from bp-asm.h.
7751 (memmove): Likewise. Do not use BP_SYM.
7752 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7754 (PARMS): Do not use macros from bp-asm.h.
7758 (__mempcpy): Likewise. Do not use BP_SYM.
7759 (mempcpy): Do not use BP_SYM in weak_alias.
7760 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7762 (PARMS): Do not use macros from bp-asm.h.
7765 [!BZERO_P] (CHR): Likewise.
7766 (memset): Likewise. Do not use BP_SYM.
7767 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7769 (PARMS): Do not use macros from bp-asm.h.
7771 (strcmp): Do not use BP_SYM.
7772 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7774 (PARMS): Do not use macros from bp-asm.h.
7777 [USE_AS_STRTOK_R] (SAVE): Likewise.
7778 (FUNCTION): Likewise. Do not use BP_SYM.
7779 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7781 (strtok_r): Likewise.
7782 (__GI___strtok_r): Likewise.
7783 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7784 (PARMS): Do not use macros from bp-asm.h.
7787 (__mpn_lshift): Do not use BP_SYM.
7788 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7789 (PARMS): Do not use macros from bp-asm.h.
7792 (__memchr): Do not use BP_SYM.
7793 (memchr): Do not use BP_SYM in weak_alias.
7794 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7795 (PARMS): Do not use macros from bp-asm.h.
7798 (memcmp): Do not use BP_SYM.
7799 (bcmp): Do not use BP_SYM in weak_alias.
7800 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7801 (PARMS): Do not use macros from bp-asm.h.
7804 (__mpn_mul_1): Do not use BP_SYM.
7805 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7807 (PARMS): Do not use macros from bp-asm.h.
7810 (__rawmemchr): Do not use BP_SYM.
7811 (rawmemchr): Do not use BP_SYM in weak_alias.
7812 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7813 (PARMS): Do not use macros from bp-asm.h.
7816 (__mpn_rshift): Do not use BP_SYM.
7817 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7818 (PARMS): Do not use macros from bp-asm.h.
7820 (__sigsetjmp): Likewise. Do not use BP_SYM.
7821 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7822 (_start): Do not use BP_SYM.
7823 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7824 (PARMS): Do not use macros from bp-asm.h.
7827 (__stpcpy): Likewise. Do not use BP_SYM.
7828 (stpcpy): Do not use BP_SYM in weak_alias.
7829 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7831 (PARMS): Do not use macros from bp-asm.h.
7835 (__stpncpy): Likewise. Do not use BP_SYM.
7836 (stpncpy): Do not use BP_SYM in weak_alias.
7837 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7838 (PARMS): Do not use macros from bp-asm.h.
7841 (strchr): Likewise. Do not use BP_SYM.
7842 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7844 (PARMS): Do not use macros from bp-asm.h.
7847 (__strchrnul): Likewise. Do not use BP_SYM.
7848 (strchrnul): Do not use BP_SYM in weak_alias.
7849 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7851 (PARMS): Do not use macros from bp-asm.h.
7853 (strcspn): Do not use BP_SYM.
7854 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7856 (PARMS): Do not use macros from bp-asm.h.
7859 (strpbrk): Likewise. Do not use BP_SYM.
7860 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7862 (PARMS): Do not use macros from bp-asm.h.
7865 (strrchr): Likewise. Do not use BP_SYM.
7866 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7867 (PARMS): Do not use macros from bp-asm.h.
7869 (strspn): Do not use BP_SYM.
7870 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7871 (PARMS): Do not use macros from bp-asm.h.
7875 (FUNCTION): Likewise. Do not use BP_SYM.
7876 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7878 (strtok_r): Likewise.
7879 (__GI___strtok_r): Likewise.
7880 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7881 (PARMS): Do not use macros from bp-asm.h.
7885 (__mpn_sub_n): Do not use BP_SYM.
7886 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7888 (PARMS): Do not use macros from bp-asm.h.
7891 (__mpn_submul_1): Do not use BP_SYM.
7892 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7894 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7896 (PARMS): Do not use macros from bp-asm.h.
7901 (__clone): Do not use BP_SYM.
7902 (clone): Do not use BP_SYM in weak_alias.
7903 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7905 (PARMS): Do not use macros from bp-asm.h.
7907 (__mmap64): Do not use BP_SYM.
7908 (mmap64): Do not use BP_SYM in weak_alias.
7909 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7910 <bp-sym.h> and <bp-asm.h>.
7911 (PARMS): Do not use macros from bp-asm.h.
7912 (__posix_fadvise64_l64): Do not use BP_SYM.
7913 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7914 (PARMS): Do not use macros from bp-asm.h.
7916 (semtimedop): Do not use BP_SYM.
7917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7920 2013-02-21 Allan McRae <allan@archlinux.org>
7922 * manual/message.texi (Charset conversion in gettext):
7923 Move @end statement to beginning of line.
7925 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7932 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7937 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7939 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7940 tail-call to the resolved function if pltexit isn't needed.
7942 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7945 or Y being zero as being unlikely.
7946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7949 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7951 * manual/nss.texi (System Databases and Name Service Switch):
7952 Remove frobnicate @pxref.
7954 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7956 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7957 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7959 2013-02-20 Petr Machata <pmachata@redhat.com>
7961 * elf/elf.h (R_ARM_TARGET1): New macro.
7962 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7963 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7964 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7965 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7966 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7967 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7968 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7969 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7970 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7971 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7972 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7973 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7974 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7975 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7976 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7977 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7978 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7979 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7980 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7981 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7982 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7983 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7984 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7985 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7986 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7987 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7988 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7989 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7990 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7991 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7992 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7993 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7994 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7995 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7996 (R_ARM_THM_GOT_BREL12): Likewise.
7997 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7998 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7999 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8000 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8001 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8002 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8003 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8004 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8005 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8007 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8009 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8010 __attribute_used__ to __attribute__ ((unused)).
8012 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8014 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8020 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8023 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8025 (ENTER): Remove both macro definitions.
8027 (CHECK_BOUNDS_LOW): Likewise.
8028 (CHECK_BOUNDS_HIGH): Likewise.
8029 (CHECK_BOUNDS_BOTH): Likewise.
8030 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8031 (RETURN_BOUNDED_POINTER): Likewise.
8032 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8033 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8034 (POP_ERRNO_LOCATION_RETURN): Likewise.
8035 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8036 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8037 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8039 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8040 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8041 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8042 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8043 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8044 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8045 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8046 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8047 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8048 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8049 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8050 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8051 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8052 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8054 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8055 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8057 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8058 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8059 * sysdeps/i386/i586/memset.S (memset): Likewise.
8060 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8061 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8062 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8064 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8065 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8066 Change uses of L(2) to L(out).
8067 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8068 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8069 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8070 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8071 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8073 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8074 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8077 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8078 (RETURN): Do not use macro LEAVE.
8079 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8080 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8081 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8082 * sysdeps/i386/i686/memset.S (memset): Likewise.
8083 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8084 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8085 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8086 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8088 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8089 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8090 L(1_2) and L(1_3) into L(1).
8091 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8092 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8093 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8094 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8095 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8096 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8097 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8098 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8099 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8101 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8102 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8103 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8104 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8105 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8106 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8107 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8108 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8109 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8110 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8111 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8112 * sysdeps/i386/strspn.S (strspn): Likewise.
8113 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8115 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8116 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8117 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8118 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8120 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8122 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8126 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8128 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8131 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8133 * math/atest-exp.c (exp_mpn): Remove ROUND.
8134 * math/atest-exp2.c (exp_mpn): Likewise.
8135 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8137 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8138 * stdlib/tst-tls-atexit-lib.c: Likewise.
8139 * stdlib/tst-tls-atexit.c: Likewise.
8141 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8143 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8144 and __attribute_alloc_size__.
8146 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8148 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8149 __attribute_alloc_size__.
8150 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8151 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8153 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8155 * include/programs/xmalloc.h: New file.
8156 * catgets/gencat.c: Include it.
8157 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8158 * elf/pldd.c: Likewise.
8159 * iconv/iconv_charmap.c: Likewise.
8160 * iconv/iconvconfig.c: Likewise.
8161 * iconv/strtab.c: Likewise.
8162 * locale/programs/locale.c: Likewise.
8163 * locale/programs/localedef.h: Likewise.
8164 * locale/programs/simple-hash.c: Likewise.
8165 * nscd/nscd.h: Likewise.
8166 * nss/makedb.c: Likewise.
8167 * sysdeps/generic/ldconfig.h: Likewise.
8169 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8171 * Versions.def: Add GLIBC_2.18.
8172 * include/link.h (struct link_map): New member l_tls_dtor_count.
8173 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8174 (__call_tls_dtors): Likewise.
8175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8176 __cxa_thread_atexit_impl.
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8185 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8193 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8194 (tests): Add test case tst-tls-atexit.
8195 (modules-names): Add shared library for tst-tls-atexit.
8196 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8197 (GLIBC_PRIVATE): Add __call_tls_dtors.
8198 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8200 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8201 * stdlib/tst-tls-atexit.c: New test case.
8202 * stdlib/tst-tls-atexit-lib.c: New test case.
8204 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8206 * elf/Versions (ld): Add _dl_find_dso_for_object.
8207 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8208 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8209 (dl_open_worker): Use _dl_find_dso_for_object.
8210 * elf/dl-sym.c (do_sym): Likewise.
8211 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8213 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8215 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8216 Syntactic changes only.
8217 (_dl_runtime_profile): Do a tail-call to the resolved function.
8219 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8222 * sysdeps/x86_64/bp-asm.h: Remove file.
8223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8224 <bp-sym.h> and <bp-asm.h>.
8225 (__clone): Do not use BP_SYM.
8226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8227 <bp-sym.h> and <bp-asm.h>.
8228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8229 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8231 (_setjmp): Do not use BP_SYM.
8232 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8234 (setjmp): Do not use BP_SYM.
8235 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8237 (mempcpy): Do not use BP_SYM in weak_alias.
8238 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8240 (strchr): Do not use BP_SYM.
8241 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8243 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8244 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8245 (_start): Do not use BP_SYM.
8246 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8248 (strcat): Do not use BP_SYM.
8249 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8251 (STRCMP): Do not use BP_SYM.
8252 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8254 (STRCPY): Do not use BP_SYM.
8255 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8257 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8259 (FUNCTION): Do not use BP_SYM.
8260 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8262 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8264 2013-02-17 Andreas Jaeger <aj@suse.de>
8266 * time/Versions: Sort entries.
8267 * string/Versions: Likewise.
8268 * resolv/Versions: Likewise.
8269 * posix/Versions: Likewise.
8270 * iconv/Versions: Likewise.
8271 * elf/Versions: Likewise.
8272 * wcsmbs/Versions: Likewise.
8274 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8276 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8277 loop termination condition.
8279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8280 variable to calculate EZ.
8283 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8284 the lower precision input.
8286 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8289 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8290 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8291 (run-via-rtld-prefix): Do not handle %-bp tests.
8292 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8293 (all-object-suffixes): Remove .ob.
8294 (bppfx): Remove variable.
8295 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8296 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8297 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8298 [$(build-bounded) = yes] (libtype.ob): Likewise.
8299 * Makerules (elide-routines.ob): Remove variable.
8300 (do-tests-clean): Do not handle *-bp.out.
8301 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8302 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8303 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8304 (tests): Do not include $(tests-bp.out).
8305 (xtests): Do not include $(xtests-bp.out).
8306 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8307 [$(build-bounded) = yes] ($(addprefix
8308 $(objpfx),$(binaries-bounded))): Remove rule.
8309 ($(objpfx)%-bp.out): Remove rule.
8310 * config.make.in (build-bounded): Remove variable.
8311 * crypt/Makefile [$(build-bounded) = yes]
8312 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8313 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8315 [$(build-bounded) = yes] (install-lib): Likewise.
8316 [$(build-bounded) = yes] (generated): Likewise.
8317 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8319 * intl/Makefile [$(build-bounded) = yes]
8320 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8321 * math/Makefile [$(build-bounded) = yes]
8322 ($(tests:%=$(objpfx)%-bp): Likewise.
8323 * misc/Makefile [$(build-bounded) = yes]
8324 ($(objpfx)tst-tsearch-bp): Likewise.
8325 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8326 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8328 * string/Makefile (o-objects.ob): Remove variable.
8329 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8330 (CFLAGS-.ob): Remove variable.
8331 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8332 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8333 both definitions of variable.
8334 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8335 (ASFLAGS-.ob): Remove variable.
8337 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8340 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8341 Remove __BOUNDED_POINTERS__ from condition.
8342 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8343 * string/bits/string2.h [!__NO_STRING_INLINES &&
8344 !__BOUNDED_POINTERS__]: Likewise.
8345 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8347 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8348 Remove conditional code.
8349 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8350 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8351 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8355 * csu/libc-start.c: Do not include <bp-sym.h>.
8356 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8357 * elf/dl-open.c: Do not include <bp-sym.h>.
8358 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8359 * math/fegetenv.c: Do not include <bp-sym.h>.
8360 (fegetenv): Do not use BP_SYM in versioned symbols.
8361 * nptl/sysdeps/pthread/bits/libc-lockP.h
8362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8365 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8367 (__pthread_mutex_destroy): Likewise.
8368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8369 (__pthread_mutex_lock): Likewise.
8370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8371 (__pthread_mutex_trylock): Likewise.
8372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8373 (__pthread_mutex_unlock): Likewise.
8374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8375 (__pthread_mutexattr_init): Likewise.
8376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8377 (__pthread_mutexattr_destroy): Likewise.
8378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8379 (__pthread_mutexattr_settype): Likewise.
8380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8381 (__pthread_rwlock_init): Likewise.
8382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8383 (__pthread_rwlock_destroy): Likewise.
8384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8385 (__pthread_rwlock_rdlock): Likewise.
8386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8387 (__pthread_rwlock_tryrdlock): Likewise.
8388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8389 (__pthread_rwlock_wrlock): Likewise.
8390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8391 (__pthread_rwlock_trywrlock): Likewise.
8392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8393 (__pthread_rwlock_unlock): Likewise.
8394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8395 (__pthread_key_create): Likewise.
8396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8397 (__pthread_setspecific): Likewise.
8398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8399 (__pthread_getspecific): Likewise.
8400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8403 (_pthread_cleanup_push_defer): Likewise.
8404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8405 (_pthread_cleanup_pop_restore): Likewise.
8406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8407 (pthread_setcancelstate): Likewise.
8408 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8410 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8411 (memchr): Do not use BP_SYM in weak_alias.
8412 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8413 (fegetenv): Do not use BP_SYM in versioned symbols.
8414 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8415 (fesetenv): Do not use BP_SYM in versioned symbols.
8416 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8417 (feupdateenv): Do not use BP_SYM in versioned symbols.
8418 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8419 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8420 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8421 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8422 (open64): Do not use BP_SYM in weak_alias.
8423 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8424 (fegetenv): Do not use BP_SYM in versioned symbols.
8425 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8426 (fesetenv): Do not use BP_SYM in versioned symbols.
8427 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8428 (feupdateenv): Do not use BP_SYM in versioned symbols.
8429 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8430 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8431 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8432 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8433 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8434 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8435 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8437 (__libc_start_main): Do not use BP_SYM.
8439 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8442 redundant return line.
8446 (sub_magnitudes): Likewise.
8452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8456 (sub_magnitudes): Likewise.
8463 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8465 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8466 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8469 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8470 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8472 of __mul for squares.
8473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8477 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8478 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8480 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8483 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8485 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8486 prototype or function definition. Rename ubp_* variables and
8487 parameters. Remove argv definitions conditional on
8488 [__BOUNDED_POINTERS__].
8489 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8490 * elf/dl-runtime.c (_dl_fixup): Likewise.
8491 * include/set-hooks.h (RUN_HOOK): Likewise.
8492 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8494 * string/strcpy.c (strcpy): Do not use __unbounded.
8495 * sysdeps/generic/frame.h (struct layout): Likewise.
8496 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8497 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8498 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8499 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8500 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8501 (__backtrace): Likewise.
8502 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8504 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8505 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8506 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8508 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8509 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8510 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8511 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8512 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8513 Do not use __unbounded.
8514 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8515 Rename __unboundedrlimits parameter to rlimits in prototype.
8516 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8517 Do not use __unbounded.
8518 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8521 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8522 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8523 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8524 __ptrvalue or __unbounded.
8525 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8526 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8528 (__new_msgctl): Do not use __ptrvalue.
8529 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8531 (__libc_msgrcv): Do not use __ptrvalue.
8532 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8533 startup_info): Do not use __unbounded.
8534 (__libc_start_main): Likewise. Rename ubp_* variables and
8535 parameters. Remove argv definitions conditional on
8536 [__BOUNDED_POINTERS__].
8537 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8539 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8541 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8543 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8545 (__new_shmctl): Do not use __ptrvalue.
8546 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8547 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8549 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8551 (__libc_sigaction): Likewise.
8552 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8553 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8555 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8557 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8559 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8561 * string/mempcpy.c: Implement by calling memcpy.
8563 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8571 values in the mantissa.
8573 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8574 minimize writes to Z.
8575 (sub_magnitudes): Simplify code a bit.
8577 2013-02-12 Roland McGrath <roland@hack.frob.com>
8579 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8580 from the message. The linker prefixes all warnings with that already.
8582 2013-02-12 Andreas Schwab <schwab@suse.de>
8585 * posix/regexec.c (extend_buffers): Add parameter min_len.
8586 (check_matching): Pass minimum needed length.
8587 (clean_state_log_if_needed): Likewise.
8588 (get_subexp): Likewise.
8589 * posix/Makefile (tests): Add bug-regex34.
8590 (bug-regex34-ENV): Define.
8591 * posix/bug-regex34.c: New file.
8594 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8595 elements compare against the byte sequence of it, not its name.
8596 * posix/Makefile (tests): Add bug-regex35.
8597 (bug-regex35-ENV): Define.
8598 * posix/bug-regex35.c: New file.
8600 2013-02-11 Tom de Vries <tom@codesourcery.com>
8602 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8604 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8605 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8606 (CHECK_EOL): Add undef.
8608 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8610 * bits/stdlib-bsearch.h: New file.
8611 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8612 * stdlib/stdlib.h: Likewise.
8614 2013-02-11 Roland McGrath <roland@hack.frob.com>
8616 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8617 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8619 * manual/search.texi (Array Search Function): Add missing const in
8621 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8622 declaration to use rlim_t.
8623 (Basic Scheduling Functions): Remove erroneous const from
8624 sched_getparam prototype. Remove erroneous * from
8625 sched_get_priority_max and sched_get_priority_min prototypes.
8626 (Resource Usage): Fix summary @comment on vtimes to refer to
8627 sys/vtimes.h rather than vtimes.h.
8628 Add missing *s in vtimes prototype.
8629 (Limits on Resources): Fix ulimit prototype to return long int.
8630 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8631 prototypes to use long int rather than double.
8632 (BSD Random): Fix initstate and setstate to use char *, not void *.
8633 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8634 prototype to make second argument 'struct aiocb64 *const[]'.
8635 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8636 (Status of AIO Operations): Remove erroneous const in aio_return and
8637 aio_return64 prototypes.
8638 (Synchronizing I/O): Fix sync prototype to return void.
8639 * manual/startup.texi (Suboptions): Remove an erroneous const in
8640 getsubopt prototype.
8641 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8642 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8643 use size_t rather than int.
8644 (Scanning All Users): Likewise for getpwent_r.
8645 (Setting Groups): Add missing const to setgroups prototype.
8646 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8647 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8648 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8649 'const void *' rather than 'const char *'.
8650 (Host Address Functions): Likewise for inet_ntop.
8651 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8652 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8653 ssize_t for return value.
8654 (Sending Data): Likewise for send, sendto, sendmsg.
8655 (Socket Option Functions): Add a missing const in setsockopt prototype.
8656 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8657 use wchar_t for the argument.
8658 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8659 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8661 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8662 double/float/long double for second argument.
8663 Fix return types of significand, significandf, significandl.
8664 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8665 argument in fchmod prototype.
8666 (File Owner): Use uid_t and gid_t in fchown prototype.
8667 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8668 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8669 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8670 use 'const struct dirent **' as argument types to CMP function pointer
8672 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8673 (File Times): Fix summary magic @comment for struct utimbuf and utime
8674 to refer to utime.h, not time.h.
8675 * manual/string.texi (Argz Functions): Add missing const in
8676 argz_extract and argz_next prototypes.
8677 (Finding Tokens in a String): Likewise for basename.
8678 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8679 (Copying and Concatenation): Fix typo in wmemmove prototype.
8680 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8681 (Signal Stack): Remove erroneous const in sigstack prototype.
8682 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8684 (Simple Calendar Time): Likewise for stime.
8685 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8687 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8688 say sys/sysctl.h instead.
8689 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8690 and vsyslog prototypes.
8692 2013-02-11 Tom de Vries <tom@codesourcery.com>
8694 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8697 2013-02-11 Roland McGrath <roland@hack.frob.com>
8699 * misc/sys/mman.h: Fix typo in mremap comment.
8701 2013-02-08 Roland McGrath <roland@hack.frob.com>
8703 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8704 the '\0' terminator.
8706 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8709 * debug/segfault.c: Don't include <bp-checks.h>.
8710 * sysdeps/generic/bp-checks.h: Remove file.
8711 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8712 (__GETDENTS): Don't use CHECK_N.
8713 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8714 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8715 (__getgroups): Don't use CHECK_N.
8716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8717 (setgroups): Don't use CHECK_N.
8718 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8719 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8720 (__libc_msgrcv): Don't use CHECK_N.
8721 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8722 (__libc_msgsnd): Don't use CHECK_N.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8725 (__libc_pread): Don't use CHECK_N.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8727 include <bp-checks.h>.
8728 (__libc_pread64): Don't use CHECK_N.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8730 include <bp-checks.h>.
8731 (__libc_pwrite): Don't use CHECK_N.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8733 include <bp-checks.h>.
8734 (__libc_pwrite64): Don't use CHECK_N.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8737 (__libc_pread): Don't use CHECK_N.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8739 include <bp-checks.h>.
8740 (__libc_pread64): Don't use CHECK_N.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8742 include <bp-checks.h>.
8743 (__libc_pwrite): Don't use CHECK_N.
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8745 include <bp-checks.h>.
8746 (__libc_pwrite64): Don't use CHECK_N.
8747 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8748 (do_pread): Don't use CHECK_N.
8749 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8750 (do_pread64): Don't use CHECK_N.
8751 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8752 (do_pwrite): Don't use CHECK_N.
8753 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8754 (do_pwrite64): Don't use CHECK_N.
8755 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8756 (__libc_readv): Don't use CHECK_N.
8757 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8758 (semop): Don't use CHECK_N.
8759 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8761 (semtimedop): Don't use CHECK_N.
8762 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8763 (__libc_pread): Don't use CHECK_N.
8764 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8766 (__libc_pread64): Don't use CHECK_N.
8767 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8769 (__libc_pwrite): Don't use CHECK_N.
8770 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8772 (__libc_pwrite64): Don't use CHECK_N.
8773 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8775 (__libc_msgrcv): Don't use CHECK_N.
8776 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8777 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8778 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8779 (__libc_writev): Don't use CHECK_N.
8781 2013-02-08 Roland McGrath <roland@hack.frob.com>
8783 * string/strcpy.c: Removed unused variable.
8785 * Makeconfig (+sysdep-includes): Define with := rather than =.
8786 Use an existing include/ subdir of each sysdeps dir before it.
8788 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8790 * nscd/connection.c (register_traced_file): Comment function.
8791 [HAVE_INOTIFY] (union __inev): Define.
8792 [HAVE_INOTIFY] (inotify_check_files): New function.
8793 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8794 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8796 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8798 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8800 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8801 loaded if not already and that a failure is permanent.
8803 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8806 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8807 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8809 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8812 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8813 (CHECK_1_NULL_OK): Likewise.
8814 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8815 (__fxstat): Do not use CHECK_1.
8816 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8818 (___fxstat64): Do not use CHECK_1.
8819 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8821 (__fxstatat): Do not use CHECK_1.
8822 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8824 (__fxstatat64): Do not use CHECK_1.
8825 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8827 (__fxstat): Do not use CHECK_1.
8828 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8830 (__fxstatat): Do not use CHECK_1.
8831 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8833 (__getresgid): Do not use CHECK_1.
8834 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8836 (__getresuid): Do not use CHECK_1.
8837 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8839 (__lxstat): Do not use CHECK_1.
8840 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8842 (__old_msgctl): Do not use CHECK_1.
8843 (__new_msgctl): Likewise.
8844 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8846 (__new_setrlimit): Do not use CHECK_1.
8847 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8849 (__old_shmctl): Do not use CHECK_1.
8850 (__new_shmctl): Likewise.
8851 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8853 (__xstat): Do not use CHECK_1.
8854 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8855 (__lxstat): Do not use CHECK_1.
8856 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8858 (___lxstat64): Do not use CHECK_1.
8859 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8860 (__old_msgctl): Do not use CHECK_1.
8861 (__new_msgctl): Likewise.
8862 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8864 (__gettimeofday): Do not use CHECK_1.
8865 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8866 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8867 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8869 (__gettimeofday): Do not use CHECK_1.
8870 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8871 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8872 (__new_shmctl): Do not use CHECK_1.
8873 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8875 (do_sigtimedwait): Do not use CHECK_1.
8876 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8878 (do_sigwaitinfo): Do not use CHECK_1.
8879 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8881 (msgctl): Do not use CHECK_1.
8882 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8884 (shmctl): Do not use CHECK_1.
8885 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8886 (ustat): Do not use CHECK_1.
8887 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8889 (__fxstat): Do not use CHECK_1.
8890 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8892 (__fxstatat): Do not use CHECK_1.
8893 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8895 (__lxstat): Do not use CHECK_1.
8896 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8898 (__xstat): Do not use CHECK_1.
8899 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8900 (__xstat): Do not use CHECK_1.
8901 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8902 (___xstat64): Do not use CHECK_1.
8905 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8907 (CHECK_BOUNDS_HIGH): Likewise.
8908 * string/strcpy.c: Do not include <bp-checks.h>.
8909 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8911 2013-02-07 Roland McGrath <roland@hack.frob.com>
8913 * nscd/nscd-client.h (__nscd_drop_map_ref):
8914 Add __attribute__ ((unused)).
8915 * nis/nss-nisplus.h (niserr2nss): Likewise.
8917 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8918 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8920 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8921 Remove inline keyword.
8922 * include/rounding-mode.h (round_away): Likewise.
8923 * libio/wfileops.c (adjust_wide_data): Likewise.
8924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8925 (__m128i_strloadu_tolower): Likewise.
8926 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8927 (__m128i_strloadu_tolower): Likewise.
8928 * time/mktime.c (ydhms_diff): Likewise.
8929 * locale/elem-hash.h (elem_hash): Likewise.
8930 * locale/setlocale.c (setdata): Likewise.
8931 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8932 (re_string_wchar_at): Likewise.
8933 (bitset_not, bitset_merge, bitset_mask): Likewise.
8934 [!(__GNUC__ > 3)] (inline): Remove macro.
8935 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8936 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8937 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8938 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8939 * string/memcmp.c (memcmp_bytes): Likewise.
8940 * locale/programs/locarchive.c (compute_hashval): Likewise.
8941 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8942 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8943 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8944 * nss/getent.c (print_rpc, print_protocols): Likewise.
8945 (print_passwd, print_group, print_aliases): Likewise.
8946 * nis/nss-nisplus.h (niserr2nss): Likewise.
8947 * nscd/connections.c (restart_p): Likewise.
8948 Change return type to bool.
8950 2013-02-05 Roland McGrath <roland@hack.frob.com>
8952 * Makeconfig (all-Depend-files): Add existing
8953 $(sorted-subdirs:=/Depend) files.
8954 (all-subdirs): Remove nss.
8955 * sysdeps/unix/inet/Subdirs: Add it here instead.
8956 * hesiod/Depend: New file.
8958 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8959 instead of calling alloca.
8961 * io/lseek.c (__lseek): Rename to __libc_lseek.
8962 Define __lseek as an alias.
8964 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8966 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8968 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8969 else clause and remove check for non-standard endianness.
8971 2013-02-04 David S. Miller <davem@davemloft.net>
8973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8975 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8978 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8979 (__ubp_memchr): Remove prototype.
8980 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8981 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8982 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8983 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8984 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8986 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8987 (__ubp_memchr): Likewise.
8988 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8989 (__ubp_memchr): Likewise.
8990 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8991 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8992 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8993 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8995 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8996 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8997 (__getcwd): Do not use CHECK_STRING.
8998 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9000 (__real_chown): Do not use CHECK_STRING.
9001 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9003 (fchownat): Do not use CHECK_STRING.
9004 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9006 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9008 (__lchown): Do not use CHECK_STRING.
9009 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9010 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9012 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9014 include <bp-checks.h>.
9015 (truncate64): Do not use CHECK_STRING.
9016 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9018 (__real_chown): Do not use CHECK_STRING.
9019 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9021 (__lchown): Do not use CHECK_STRING.
9022 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9024 (__chown): Do not use CHECK_STRING.
9025 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9027 (truncate64): Do not use CHECK_STRING.
9028 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9030 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9031 (__xmknod): Do not use CHECK_STRING.
9032 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9034 (__xmknodat): Do not use CHECK_STRING.
9035 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9036 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9038 2013-02-04 Andreas Schwab <schwab@suse.de>
9041 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9042 * include/netdb.h: Likewise for h_errno.
9043 * elf/tst-stackguard1.c: Include <tls.h>.
9045 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9047 * elf/link.h (struct link_map): Extend the l_addr comment.
9048 * include/link.h (struct link_map): Likewise.
9050 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9053 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9054 (BOUNDED_1): Remove macro.
9055 * debug/backtrace.c: Don't include <bp-checks.h>.
9056 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9057 (__backtrace): Likewise.
9058 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9060 (__backtrace): Don't use BOUNDED_1.
9061 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9063 (__backtrace): Don't use BOUNDED_1.
9064 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9065 (__backtrace): Don't use BOUNDED_1.
9066 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9067 (shmat): Don't use BOUNDED_N.
9069 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9072 * sysdeps/generic/bp-start.h: Remove file.
9073 * csu/libc-start.c: Don't include <bp-start.h>.
9074 (LIBC_START_MAIN): Set up __environ directly instead of using
9075 INIT_ARGV_and_ENVIRON.
9076 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9080 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9082 (CHECK_FCNTL): Likewise.
9083 (CHECK_N_PAGES): Likewise.
9086 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9088 (CHECK_SIGSET_NULL_OK): Likewise.
9089 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9091 (sigpending): Don't use CHECK_SIGSET.
9092 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9094 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9095 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9097 (do_sigsuspend): Don't use CHECK_SIGSET.
9098 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9100 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9101 (do_sigwait): Don't use CHECK_SIGSET.
9102 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9105 include <bp-checks.h>.
9106 (sigpending): Don't use CHECK_SIGSET.
9107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9108 include <bp-checks.h>.
9109 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9110 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9112 (sigpending): Don't use CHECK_SIGSET.
9113 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9115 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9118 * sysdeps/generic/bp-semctl.h: Remove file.
9119 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9120 <bp-checks.h> and <bp-semctl.h>.
9121 (__old_semctl): Don't use CHECK_SEMCTL.
9122 (__new_semctl): Likewise.
9123 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9125 (__old_semctl): Don't use CHECK_SEMCTL.
9126 (__new_semctl): Likewise.
9127 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9128 <bp-checks.h> and <bp-semctl.h>.
9129 (__old_semctl): Don't use CHECK_SEMCTL.
9130 (__new_semctl): Likewise.
9131 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9132 <bp-checks.h> and <bp-semctl.h>.
9133 (semctl): Don't use CHECK_SEMCTL.
9136 * Makerules (elide-bp-thunks): Remove variable.
9137 (elide-routines.oS): Don't use $(elide-bp-thunks).
9138 (elide-routines.os): Likewise.
9139 (elide-routines.o): Likewise.
9140 (elide-routines.op): Likewise.
9141 (elide-routines.og): Likewise.
9142 (objects): Don't use $(bp-thunks).
9143 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9145 (common-generated): Do not add s-proto-bp.d.
9146 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9149 Do not generate makefile rules for bounded-pointer thunks.
9150 * sysdeps/generic/bp-thunks.h: Remove file.
9151 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9152 * sysdeps/unix/s-proto-bp.S: Likewise.
9155 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9156 parts of result separately when argument is not close to line from
9157 -i to i and one part of argument is small.
9158 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9159 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9160 * math/libm-test.inc (cacos_test): Add more tests.
9161 (casin_test): Likewise.
9162 (casinh_test): Likewise.
9163 * sysdeps/i386/fpu/libm-test-ulps: Update.
9164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9166 2013-01-31 David S. Miller <davem@davemloft.net>
9168 * po/de.po: Update from translation team.
9170 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9172 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9174 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9176 * configure.in (_AC_PROG_CC_C89): New definition.
9177 * configure: Regenerate.
9179 * configure.in (AC_PROG_CPP): New definition.
9180 * configure: Regenerate.
9182 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9184 * debug/tst-backtrace.h: New file.
9185 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9186 (ret): Remove variable.
9188 (FAIL): Remove macro.
9189 (NO_INLINE): Likewise.
9190 (fn1): Use match function instead of strstr.
9191 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9192 (ret): Remove variable.
9194 (FAIL): Remove macro.
9195 (NO_INLINE): Likewise.
9196 (fn): Use match function instead of strstr.
9197 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9198 (ret): Remove variable.
9200 (FAIL): Remove macro.
9201 (NO_INLINE): Likewise.
9202 (handle_signal): Use match function instead of strstr.
9203 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9204 (ret): Remove variable.
9206 (FAIL): Remove macro.
9207 (NO_INLINE): Likewise.
9208 (handle_signal): Use match function instead of strstr.
9210 2013-01-23 Roland McGrath <roland@hack.frob.com>
9212 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9214 2013-01-23 David S. Miller <davem@davemloft.net>
9216 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9217 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9218 argument of CAS if possible.
9219 * sysdeps/sparc/sparc64/bits/atomic.h
9220 (__arch_compare_and_exchange_val_32_acq): Likewise.
9221 (__arch_compare_and_exchange_val_64_acq): Likewise.
9223 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9225 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9226 * sysdeps/posix/ulimit.c: ... this.
9228 * sysdeps/unix/bsd/ulimit.c: Remove file.
9230 2013-01-23 Adam Conrad <adconrad@0c3.net>
9232 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9233 (LDFLAGS-tst-array5): Likewise.
9235 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9238 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9239 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9240 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9241 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9243 2013-01-21 David S. Miller <davem@davemloft.net>
9245 * sysdeps/sparc/backtrace.c: New file.
9246 * sysdeps/sparc/sparc32/backtrace.h: New file.
9247 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9248 * sysdeps/sparc/sparc64/backtrace.h: New file.
9249 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9250 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9253 2013-01-21 Andreas Schwab <schwab@suse.de>
9256 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9259 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9265 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9266 Mark Mitchell <mark@codesourcery.com>
9267 Tom de Vries <tom@codesourcery.com>
9268 Paul Pluzhnikov <ppluzhnikov@google.com>
9270 * debug/tst-backtrace2.c: New file.
9271 * debug/tst-backtrace3.c: Likewise.
9272 * debug/tst-backtrace4.c: Likewise.
9273 * debug/tst-backtrace5.c: Likewise.
9274 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9275 (CFLAGS-tst-backtrace3.c): Likewise.
9276 (CFLAGS-tst-backtrace4.c): Likewise.
9277 (CFLAGS-tst-backtrace5.c): Likewise.
9278 (LDFLAGS-tst-backtrace2): Likewise.
9279 (LDFLAGS-tst-backtrace3): Likewise.
9280 (LDFLAGS-tst-backtrace4): Likewise.
9281 (LDFLAGS-tst-backtrace5): Likewise.
9282 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9283 tst-backtrace4 and tst-backtrace5.
9285 2013-01-18 Anton Blanchard <anton@samba.org>
9286 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9288 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9289 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9290 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9291 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9293 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9294 "+r" and remove output regs list as redundant. Add explicit inline
9295 asm to specify register of return val to work around compiler codegen
9296 bug. Remove (int) cast on return value. Add return type parameter to
9297 use in macro so that this macro does not truncate return value for
9299 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9300 pass to INTERNAL_VSYSCALL_NCS.
9301 (INLINE_VSYSCALL): Add 'long int' as return type to
9302 INTERNAL_VSYSCALL_NCS macro invocation.
9303 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9304 INTERNAL_VSYSCALL_NCS macro invocation.
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9307 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9310 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9311 Fix application of SIMD FP exception mask.
9313 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9314 mp_no from a power of two.
9315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9316 __mpexp_twomm1. Use __pow_mp.
9318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9321 2013-01-17 David S. Miller <davem@davemloft.net>
9323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9325 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9328 * include/complex.h: Condition contents on [!_COMPLEX_H].
9329 (__kernel_casinhf): New prototype.
9330 (__kernel_casinh): Likewise.
9331 (__kernel_casinhl): Likewise.
9332 * math/Makefile (libm_calls): Add k_casinh.
9333 * math/k_casinh.c: New file.
9334 * math/k_casinhf.c: Likewise.
9335 * math/k_casinhl.c: Likewise.
9336 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9337 finite nonzero arguments.
9338 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9339 finite nonzero arguments.
9340 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9341 finite nonzero arguments.
9342 * math/s_casinh.c: Do not include <float.h>.
9343 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9344 * math/s_casinhf.c: Do not include <float.h>.
9345 (__casinhf): Move code for finite nonzero arguments to
9347 * math/s_casinhl.c: Do not include <float.h>.
9348 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9350 (__casinhl): Move code for finite nonzero arguments to
9352 * math/libm-test.inc (cacos_test): Add more tests.
9353 * sysdeps/i386/fpu/libm-test-ulps: Update.
9354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9356 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9358 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9359 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9360 [!HAVE_MREMAP]: Remove [defined linux] case.
9361 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9363 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9365 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9367 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9369 * elf/elf.h (R_386_SIZE32): New relocation.
9370 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9372 (elf_machine_rela): Likewise.
9373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9374 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9376 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9378 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9379 (FP_FAST_FMA): Do not define.
9380 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9381 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9382 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9383 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9384 !_SOFT_FLOAT]: Likewise.
9385 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9386 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9389 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9390 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9391 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9392 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9393 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9396 2013-01-16 Andreas Schwab <schwab@suse.de>
9399 * include/stdlib.h (__mktemp): Add declaration.
9400 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9401 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9403 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9405 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9407 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9408 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9409 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9411 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9412 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9414 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9416 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9417 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9418 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9420 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9421 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9423 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9425 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9427 2013-01-15 David S. Miller <davem@davemloft.net>
9429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9430 trunc{,f} to libm-sysdep_routes.
9431 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9449 nearbyint{,f} to libm-sysdep_routes.
9450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9464 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9467 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9468 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9470 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9471 libc_feholdexcept and libc_fesetenv.
9473 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9475 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9477 2013-01-14 David S. Miller <davem@davemloft.net>
9479 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9480 (SPARC_ASM_VIS2_IFUNC): Likewise.
9481 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9483 use of 'siam' instruction.
9484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9517 routines to libm-sysdep_routines.
9518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9521 fdim/fdimf to libm-sysdep_routines.
9522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9530 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9531 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9532 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9533 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9535 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9540 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9545 local variable MPTWO.
9546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9549 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9551 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9554 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9556 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9558 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9560 * manual/pattern.texi (glob_t): Document gl_flags.
9561 (glob64_t): Likewise.
9563 2013-01-11 David S. Miller <davem@davemloft.net>
9565 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9566 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9567 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9568 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9569 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9570 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9571 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9572 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9573 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9574 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9575 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9576 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9577 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9579 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9580 sparc V9 rather than using V8 code.
9581 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9582 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9584 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9586 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9589 2013-01-11 Roland McGrath <roland@hack.frob.com>
9591 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9592 not in the main loop.
9593 * configure: Regenerated.
9595 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9597 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9598 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9600 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9601 [!__GLIBC_HAVE_LONG_LONG] case.
9602 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9603 condition to just #else.
9604 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9605 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9606 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9607 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9609 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9610 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9611 #elif condition to just #else.
9612 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9613 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9614 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9615 #elif condition to just #else.
9617 2013-01-11 Steve Ellcey <sellcey@mips.com>
9619 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9620 (EF_MIPS_ARCH_64): Fix value.
9621 (EF_MIPS_ARCH_32R2): New.
9622 (EF_MIPS_ARCH_64R2): New.
9624 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9626 * Makeconfig (+link-pie-before-libc): New.
9627 (+link-pie-after-libc): Likewise.
9628 (+link-pie-tests): Likewise.
9629 (+link-pie): Rewritten.
9630 (link-before-libc): Remove $(config-LDFLAGS).
9631 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9632 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9633 (config-LDFLAGS): Renamed to ...
9634 (rtld-LDFLAGS): This.
9635 (rtld-tests-LDFLAGS): New macro.
9636 (link-libc-rpath-link): Likewise.
9637 (link-libc-tests-rpath-link): Likewise.
9638 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9639 (link-libc): Prepand $(link-libc-rpath-link).
9640 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9641 (test-program-prefix): New macro.
9642 (test-via-rtld-prefix): Likewise.
9643 (test-program-cmd): Likewise.
9644 (host-test-program-cmd): Likewise.
9645 * Makefile ($(common-objpfx)testrun.sh): Replace
9646 $(run-program-prefix) with $(test-program-prefix).
9647 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9649 ($(common-objpfx)shlib.lds): Likewise.
9650 (build-module-helper): Likewise.
9651 ($(common-objpfx)format.lds): Likewise.
9652 * Rules (binaries-pie-tests): New.
9653 (binaries-pie-notests): Likewise.
9654 (binaries-pie): Rewritten.
9655 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9656 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9657 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9658 (make-test-out): Replace $(host-built-program-cmd) with
9659 $(host-test-program-cmd).
9660 * config.make.in (build-hardcoded-path-in-tests): New variable.
9661 * configure.in (--enable-hardcoded-path-in-tests): New configure
9663 (hardcoded_path_in_tests): New AC_SUBST.
9664 * configure: Regenerated.
9665 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9666 $(built-program-cmd) with $(test-program-cmd).
9667 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9668 (test_program_cmd): This.
9669 * elf/Makefile ($(objpfx)order.out): Run test with
9670 $(test-program-prefix).
9671 ($(objpfx)order2.out): Likewise.
9672 ($(objpfx)tst-initorder.out): Likewise.
9673 ($(objpfx)tst-initorder2.out): Likewise.
9674 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9675 $(test-program-cmd).
9676 ($(objpfx)tst-array1-static.out): Likewise.
9677 ($(objpfx)tst-array2.out): Likewise.
9678 ($(objpfx)tst-array3.out): Likewise.
9679 ($(objpfx)tst-array4.out): Likewise.
9680 ($(objpfx)tst-array5.out): Likewise.
9681 ($(objpfx)tst-array5-static.out): Likewise.
9682 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9683 $(test-program-cmd).
9684 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9685 $(run-program-prefix) with $(test-program-prefix).
9686 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9687 (test_program_prefix): This.
9688 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9689 $(run-program-prefix) with $(test-program-prefix).
9690 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9691 (test_program_prefix): This.
9692 * iconvdata/tst-tables.sh: Likewise.
9693 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9694 $(run-program-prefix) with $(test-program-prefix).
9695 ($(objpfx)tst-translit.out): Likewise.
9696 ($(objpfx)tst-gettext2.out): Likewise.
9697 ($(objpfx)tst-gettext4.out): Likewise.
9698 ($(objpfx)tst-gettext6.out): Likewise.
9699 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9700 (test_program_prefix): This.
9701 * intl/tst-gettext2.sh: Likewise.
9702 * intl/tst-gettext4.sh Likewise.
9703 * intl/tst-gettext6.sh: Likewise.
9704 * intl/tst-translit.sh: Likewise.
9705 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9706 with $(test-program-cmd).
9707 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9708 $(run-program-prefix) with $(test-program-prefix).
9709 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9710 (test_program_prefix): This.
9711 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9712 $(run-program-prefix) with $(test-program-prefix).
9713 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9714 (test_program_prefix): This.
9715 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9716 * posix/Makefile ($(objpfx)globtest.out): Replace
9717 $(run-via-rtld-prefix) and $(test-wrapper) with
9718 $(test-program-prefix) and $(test-via-rtld-prefix).
9719 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9720 $(test-program-prefix).
9721 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9722 $(host-test-program-cmd).
9723 (tst-spawn-ARGS): Likewise.
9724 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9725 $(test-program-prefix).
9726 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9727 (test_via_rtld_prefix): This.
9728 (test_wrapper): Renamed to ...
9729 (test_program_prefix): This.
9730 (run_program_prefix): Replaced by test_program_prefix.
9731 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9732 (test_program_prefix): This.
9733 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9734 with $(host-test-program-cmd).
9735 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9736 $(run-program-prefix) with $(test-program-prefix).
9737 ($(objpfx)tst-printf.out): Likewise.
9738 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9739 $(test-program-cmd).
9740 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9741 (test_program_prefix): This.
9742 * stdio-common/tst-unbputc.sh: Likewise.
9743 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9744 $(run-program-prefix) with $(test-program-prefix).
9745 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9746 (test_program_prefix): This.
9747 * string/Makefile ($(objpfx)tst-svc.out): Replace
9748 $(built-program-cmd) with $(test-program-cmd).
9750 2013-01-11 Andreas Jaeger <aj@suse.de>
9753 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9754 value. Sync with Linux 3.7.
9756 2013-01-10 David S. Miller <davem@davemloft.net>
9758 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9759 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9760 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9762 2013-01-10 Roland McGrath <roland@hack.frob.com>
9764 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9766 * configure: Regenerated.
9768 2013-01-10 David S. Miller <davem@davemloft.net>
9770 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9771 sparc V9 rather than using V8 code.
9772 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9773 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9775 2013-01-10 Roland McGrath <roland@hack.frob.com>
9777 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9778 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9779 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9780 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9781 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9782 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9783 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9784 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9785 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9786 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9787 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9788 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9789 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9790 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9791 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9792 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9793 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9794 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9795 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9796 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9797 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9798 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9799 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9800 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9801 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9802 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9803 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9805 2013-01-10 David S. Miller <davem@davemloft.net>
9807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9809 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9811 * posix/Makefile (tests-static): New variable.
9812 (tests): Add $(tests-static).
9813 (tst-exec-static-ARGS): New variable.
9814 (tst-spawn-static-ARGS): Likewise.
9815 * posix/tst-exec-static.c: New file.
9816 * posix/tst-spawn-static.c: Likewise.
9817 * posix/tst-exec.c: Support run directly.
9818 * posix/tst-spawn.c: Likewise.
9820 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9822 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9824 * math/bits/mathcalls.h (llrint): Likewise.
9825 (llround): Likewise.
9826 * stdlib/stdlib.h (struct drand48_data): Likewise.
9827 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9828 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9829 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9831 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9833 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9834 (elf_greg_t): Likewise.
9835 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9836 (__jmp_buf): Likewise.
9837 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9839 (llrint): Likewise, for all definitions.
9840 (llrintl): Likewise.
9842 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9843 Remove [__GNUC__] condition.
9844 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9845 condition to just [__USE_ISOC99].
9846 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9848 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9851 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9852 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9854 (_POSIX_V6_ILP32_OFF32): Likewise.
9855 (_XBS5_ILP32_OFF32): Likewise.
9856 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9857 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9859 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9861 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9864 doubles __mpexp_twomm1. Adjust usage.
9865 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9868 2013-01-10 Andreas Schwab <schwab@suse.de>
9871 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9872 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9874 2013-01-09 David S. Miller <davem@davemloft.net>
9877 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9878 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9879 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9880 TCP_FASTOPEN): Define.
9881 (tcp_repair_opt): New structure.
9882 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9884 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9885 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9886 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9887 (tcp_cookie_transactions): New structure.
9889 2013-01-09 Anton Blanchard <anton@samba.org>
9891 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9892 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9896 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9898 * include/features.h (__USE_ANSI): Remove.
9900 2013-01-09 Roland McGrath <roland@hack.frob.com>
9902 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9904 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9906 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9908 * sysdeps/s390/fpu/libm-test-ulps: Update.
9910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9912 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9917 (__mp_dbl): Likewise.
9918 (__dbl_mp): Likewise.
9919 (add_magnitudes): Likewise.
9920 (sub_magnitudes): Likewise.
9926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9931 (__mp_dbl): Likewise.
9932 (__dbl_mp): Likewise.
9933 (add_magnitudes): Likewise.
9934 (sub_magnitudes): Likewise.
9940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9945 (__mp_dbl): Likewise.
9946 (__dbl_mp): Likewise.
9947 (add_magnitudes): Likewise.
9948 (sub_magnitudes): Likewise.
9955 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9957 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9958 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9959 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9960 2 && __USE_EXTERN_INLINES]: Likewise.
9962 2013-01-08 Andreas Jaeger <aj@suse.de>
9965 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9967 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9968 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9970 2013-01-07 Anton Blanchard <anton@samba.org>
9972 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9973 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9974 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9975 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9976 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9977 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9978 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9979 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9981 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9983 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9984 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9985 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9986 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9988 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9989 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9990 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9991 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9992 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9993 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9995 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9996 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9997 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9998 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9999 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10001 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10002 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10004 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10005 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10014 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10016 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10018 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10019 (__MALLOC_PMT): Likewise.
10020 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10021 [__GNUC__], only on [_LIBC].
10022 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10023 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10024 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10025 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10026 forward declaration.
10027 (realloc_hook_ini): Likewise.
10028 (memalign_hook_ini): Likewise.
10029 (__libc_memalign): Do not use __MALLOC_PMT in variable
10031 (__libc_valloc): Likewise.
10032 (__libc_pvalloc): Likewise.
10033 (__libc_calloc): Likewise.
10034 (__posix_memalign): Likewise.
10037 * math/s_casinh.c: Include <float.h>.
10038 (__casinh): Do not do computation with squaring and square root
10039 for large arguments.
10040 * math/s_casinhf.c: Include <float.h>.
10041 (__casinhf): Do not do computation with squaring and square root
10042 for large arguments.
10043 * math/s_casinhl.c: Include <float.h>.
10044 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10045 (__casinhl): Do not do computation with squaring and square root
10046 for large arguments.
10047 * math/libm-test.inc (casin_test): Add more tests.
10048 (casinh_test): Likewise.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10052 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10054 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10055 (__x86_64_raw_data_cache_size): Likewise.
10056 (__x86_64_data_cache_size_half): Likewise.
10057 (__x86_64_raw_data_cache_size_half): Likewise.
10058 (__x86_64_shared_cache_size): Likewise.
10059 (__x86_64_raw_shared_cache_size): Likewise.
10060 (__x86_64_shared_cache_size_half): Likewise.
10061 (__x86_64_raw_shared_cache_size_half): Likewise.
10062 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10064 (__x86_data_cache_size): This.
10065 (__x86_64_raw_data_cache_size): Renamed to ...
10066 (__x86_raw_data_cache_size): This.
10067 (__x86_64_data_cache_size_half): Renamed to ...
10068 (__x86_data_cache_size_half): This.
10069 (__x86_64_raw_data_cache_size_half): Renamed to ...
10070 (__x86_raw_data_cache_size_half): This.
10071 (__x86_64_shared_cache_size): Renamed to ...
10072 (__x86_shared_cache_size): This.
10073 (__x86_64_raw_shared_cache_size): Renamed to ...
10074 (__x86_raw_shared_cache_size): This.
10075 (__x86_64_shared_cache_size_half): Renamed to ...
10076 (__x86_shared_cache_size_half): This.
10077 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10078 (__x86_raw_shared_cache_size_half): This.
10079 * sysdeps/x86_64/memcpy.S: Updated.
10080 * sysdeps/x86_64/memset.S: Likewise.
10081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10085 2013-01-04 David S. Miller <davem@davemloft.net>
10087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10089 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10091 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10092 1 to avoid redefinition warning.
10093 (__USE_GNU): Don't define.
10094 (init_signaling_nan): Protoize.
10096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10098 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10100 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10102 (__cpymn): Likewise.
10103 (norm): Remove commented code.
10104 (denorm): Likewise.
10105 (__mp_dbl): Likewise.
10107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10108 (__cpymn): Likewise.
10109 (norm): Remove commented code.
10110 (denorm): Likewise.
10111 (__mp_dbl): Likewise.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10115 mp_no value for 1.0 and 2.0.
10116 (norm): Use RADIXI instead of radixi.d.
10117 (denorm): Likewise.
10118 (__mul): Use 0.0 instead of zero.d.
10119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10120 mp_no value for 1.0 and 2.0.
10121 (norm): Use RADIXI instead of radixi.d.
10122 (denorm): Likewise.
10123 (__mul): Use 0.0 instead of zero.d.
10125 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10128 * math/s_casinh.c (__casinh): Reduce finite argument to first
10129 quadrant then set signs of results at the end.
10130 * math/s_casinhf.c (__casinhf): Likewise.
10131 * math/s_casinhl.c (__casinhl): Likewise.
10132 * math/libm-test.inc (casin_test): Add more tests.
10133 (casinh_test): Likewise.
10134 * sysdeps/i386/fpu/libm-test-ulps: Update.
10135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10137 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10139 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10141 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10143 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10145 (denorm): Likewise.
10146 (__mp_dbl): Likewise.
10149 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10150 and adjust the header comment.
10152 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10153 variable name from declaration.
10155 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10158 Initialize COMMON_CPUID_INDEX_7 element.
10159 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10160 (CPUID_RTM): Likewise.
10161 (HAS_RTM): Likewise.
10162 (COMMON_CPUID_INDEX_7): New enum.
10164 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10167 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10168 size is zero, record memory as freed.
10170 2013-01-03 Andreas Jaeger <aj@suse.de>
10172 * po/ia.po: Add new Interlingua translation.
10174 2012-01-03 Allan McRae <allan@archlinux.org>
10176 * locale/programs/localedef.c: Fix description of '--posix' flag.
10178 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10180 * NEWS: Update dates in second copyright notice.
10181 * README: Update copyright dates in example.
10182 * manual/libc.texinfo: Update copyright dates.
10183 * scripts/test-installation.pl: Update copyright date in --version
10186 * hurd/ctty-input.c: Fix copyright notice formatting.
10187 * hurd/ctty-output.c: Likewise.
10188 * hurd/dtable.c: Likewise.
10189 * hurd/hurd-raise.c: Likewise.
10190 * hurd/hurdprio.c: Likewise.
10191 * hurd/msgportdemux.c: Likewise.
10192 * misc/sys/file.h: Likewise.
10193 * misc/sys/ioctl.h: Likewise.
10194 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10195 * sysdeps/mach/hurd/chdir.c: Likewise.
10196 * sysdeps/mach/hurd/fchdir.c: Likewise.
10197 * sysdeps/mach/hurd/rename.c: Likewise.
10198 * sysdeps/mach/hurd/rmdir.c: Likewise.
10199 * sysdeps/mach/hurd/seekdir.c: Likewise.
10200 * sysdeps/mach/hurd/setsid.c: Likewise.
10201 * sysdeps/posix/wait3.c: Likewise.
10203 * All files with FSF copyright notices: Update copyright dates
10204 using scripts/update-copyrights.
10205 * intl/plural.c: Regenerated.
10206 * locale/programs/charmap-kw.h: Likewise.
10207 * locale/programs/locfile-kw.h: Likewise.
10209 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10211 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10214 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10215 calculation loop and add branch prediction.
10217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10218 check access beyond bounds of m1np.
10220 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10222 (__inv): Remove local variable MPTWO to use the global
10224 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10227 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10228 MP3HALFS static const.
10230 2013-01-01 David S. Miller <davem@davemloft.net>
10232 * po/ca.po: Update from translation team.
10234 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10236 * scripts/update-copyrights: New file.
10237 * Makeconfig: Reformat copyright notice.
10238 * ctype/ctype.h: Likewise.
10239 * debug/swprintf_chk.c: Likewise.
10240 * elf/dl-cache.c: Likewise.
10241 * elf/dl-debug.c: Likewise.
10242 * elf/dl-object.c: Likewise.
10243 * grp/initgroups.c: Likewise.
10244 * hurd/Makefile: Likewise.
10245 * hurd/hurd/signal.h: Likewise.
10246 * hurd/hurdfault.c: Likewise.
10247 * hurd/hurdioctl.c: Likewise.
10248 * hurd/hurdlookup.c: Likewise.
10249 * hurd/intr-msg.c: Likewise.
10250 * iconv/gconv_open.c: Likewise.
10251 * libio/swprintf.c: Likewise.
10252 * locale/lc-ctype.c: Likewise.
10253 * locale/nl_langinfo.c: Likewise.
10254 * mach/Machrules: Likewise.
10255 * mach/Makefile: Likewise.
10256 * malloc/obstack.h: Likewise.
10257 * manual/Makefile: Likewise.
10258 * manual/tsort.awk: Likewise.
10259 * misc/bits/stab.def: Likewise.
10260 * nis/nis_print_group_entry.c: Likewise.
10261 * nis/nis_table.c: Likewise.
10262 * nis/nss_compat/compat-pwd.c: Likewise.
10263 * nis/nss_compat/compat-spwd.c: Likewise.
10264 * po/Makefile: Likewise.
10265 * posix/fnmatch.c: Likewise.
10266 * posix/regex.h: Likewise.
10267 * resolv/Makefile: Likewise.
10268 * resolv/nss_dns/dns-network.c: Likewise.
10269 * resolv/res_hconf.c: Likewise.
10270 * scripts/gen-sorted.awk: Likewise.
10271 * soft-fp/soft-fp.h: Likewise.
10272 * stdio-common/printf.h: Likewise.
10273 * stdlib/monetary.h: Likewise.
10274 * stdlib/random.c: Likewise.
10275 * stdlib/random_r.c: Likewise.
10276 * sysdeps/generic/Makefile: Likewise.
10277 * sysdeps/gnu/Makefile: Likewise.
10278 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10306 * sysdeps/mach/hurd/errnos.awk: Likewise.
10307 * sysdeps/mach/hurd/fork.c: Likewise.
10308 * sysdeps/mach/hurd/getcwd.c: Likewise.
10309 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10310 * sysdeps/mach/hurd/mmap.c: Likewise.
10311 * sysdeps/mach/hurd/utimes.c: Likewise.
10312 * sysdeps/mach/hurd/xmknod.c: Likewise.
10313 * sysdeps/posix/profil.c: Likewise.
10314 * sysdeps/posix/readdir_r.c: Likewise.
10315 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10316 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10317 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10318 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10320 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10321 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10322 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10324 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10325 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10326 * sysdeps/pthread/lio_listio.c: Likewise.
10327 * sysdeps/sparc/dl-procinfo.h: Likewise.
10328 * sysdeps/unix/i386/sysdep.S: Likewise.
10329 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10330 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10331 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10332 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10334 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10335 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10336 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10337 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10338 * sysdeps/wordsize-32/divdi3.c: Likewise.
10339 * time/sys/time.h: Likewise.
10340 * wcsmbs/Makefile: Likewise.
10342 2013-01-01 David S. Miller <davem@davemloft.net>
10344 * po/fr.po: Update from translation team.
10346 * catgets/gencat.c: Update copyright year.
10347 * csu/version.c: Likewise.
10348 * debug/catchsegv.sh: Likewise.
10349 * debug/pcprofiledump.c: Likewise.
10350 * debug/xtrace.sh: Likewise.
10351 * elf/ldconfig.c: Likewise.
10352 * elf/ldd.bash.in: Likewise.
10353 * elf/pldd.c: Likewise.
10354 * elf/sotruss.ksh: Likewise.
10355 * elf/sprof.c: Likewise.
10356 * iconv/iconv_prog.c: Likewise.
10357 * iconv/iconvconfig.c: Likewise.
10358 * locale/programs/locale.c: Likewise.
10359 * locale/programs/localedef.c: Likewise.
10360 * login/programs/pt_chown.c: Likewise.
10361 * malloc/memusage.sh: Likewise.
10362 * malloc/memusagestat.c: Likewise.
10363 * malloc/mtrace.pl: Likewise.
10364 * nscd/nscd.c: Likewise.
10365 * nss/getent.c: Likewise.
10366 * nss/makedb.c: Likewise.
10367 * posix/getconf.c: Likewise.
10369 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10371 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10374 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10376 * math/bits/mathcalls.h (modf): Use __nonnull.
10378 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10380 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10381 (split): Use macro CN instead of the bare value.
10382 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10385 instead of the bare value.
10386 (power1): Likewise.
10388 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10390 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10394 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10396 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10398 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10399 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10401 2012-12-28 Andreas Jaeger <aj@suse.de>
10403 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10404 values are from Linux 3.7.
10406 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10407 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10409 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10411 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10416 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10417 variables with preprocessor constants.
10418 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10419 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10420 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10422 2012-12-27 Bruno Haible <bruno@clisp.org>
10425 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10428 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10431 and use variable directly.
10432 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10434 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10436 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10440 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10441 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10442 include directive. Remove local variable MPONE.
10443 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10444 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10447 2012-12-25 David S. Miller <davem@davemloft.net>
10449 * version.h (RELEASE): Set to "development".
10450 (VERSION): Set to "2.17.90".
10451 * NEWS: Add 2.18 section.
10453 2012-12-21 David S. Miller <davem@davemloft.net>
10455 * po/hr.po: Update from translation team.
10457 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10459 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10461 2012-12-19 Steve Ellcey <sellcey@mips.com>
10463 * NEWS: Mention new memcpy for MIPS.
10465 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10467 * manual/contrib.texi (Contributors): Spelling correction.
10469 2012-12-15 David S. Miller <davem@davemloft.net>
10471 * po/ru.po: Update from translation team.
10473 2012-12-13 David S. Miller <davem@davemloft.net>
10475 * NEWS: Mention IFUNC testsuite enhancements.
10477 * po/pl.po: Update from translation team.
10478 * po/bg.po: Likewise.
10480 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10481 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10483 2012-12-11 David S. Miller <davem@davemloft.net>
10485 * po/sv.po: Update from translation team.
10487 * po/vi.po: Update from translation team.
10489 * po/cs.po: Update from translation team.
10491 * po/de.po: Update from translation team.
10492 * po/eo.po: Likewise.
10493 * po/nl.po: Likewise.
10495 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10498 * manual/argp.texi (Argp Helper Functions): Move node to follow
10499 Argp Parsing State.
10502 * manual/conf.texi (Limits on File System Capacity): Mention if
10503 terminating null is included in the max size.
10505 2012-12-10 Andreas Jaeger <aj@suse.de>
10507 * po/cs.po: Update from translation team.
10509 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10511 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10512 void pointer and cast to uintptr_t.
10513 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10515 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10516 * sysdeps/s390/s390-64/memset.S: Likewise.
10518 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10521 * menual/message.texi (Message Translation): Fix typos.
10522 (Helper programs for gettext): Likewise.
10524 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10527 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10530 2012-12-07 David S. Miller <davem@davemloft.net>
10532 * po/libc.pot: Update.
10534 2012-12-07 Richard Henderson <rth@redhat.com>
10537 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10538 normal/normal case to before the switch.
10539 (_FP_DIV): Likewise.
10541 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10542 Mike Frysinger <vapier@gentoo.org>
10544 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10545 check for __NR_fadvise64_64.
10547 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10549 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10550 0, not just to plain "0" as a statement.
10551 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10554 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10556 * NEWS: Use sourceware.org in Bugzilla URL.
10558 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10561 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10563 * stdio-common/tst-put-error.c (do_test): Add newline to the
10564 padded test to ensure flush.
10566 2012-12-05 Jeff Law <law@redhat.com>
10568 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10570 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10572 * README: Don't refer to ports add-on as distributed separately.
10573 Mention AArch64 in list of systems supported in the ports add-on.
10575 * LICENSES: Add more non-FSF copyright and license notices.
10577 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10580 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10582 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10583 10000 as width of padded output.
10585 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10587 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10589 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10590 variable LX with __attribute__ ((unused)).
10591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10593 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10596 with __attribute__ ((unused)).
10598 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10600 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10602 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10604 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10605 (CFLAGS-nldbl-acos.c): New variable.
10606 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10607 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10608 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10609 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10610 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10611 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10612 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10613 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10614 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10615 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10616 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10617 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10618 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10619 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10620 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10621 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10622 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10623 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10624 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10625 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10626 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10627 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10628 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10629 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10630 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10631 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10632 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10633 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10634 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10635 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10636 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10637 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10638 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10639 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10640 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10641 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10642 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10643 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10644 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10645 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10646 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10647 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10648 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10649 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10650 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10651 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10652 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10653 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10654 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10655 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10656 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10657 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10658 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10659 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10660 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10661 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10662 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10663 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10664 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10665 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10666 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10667 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10668 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10669 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10670 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10671 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10672 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10673 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10674 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10675 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10676 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10677 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10678 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10679 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10680 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10681 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10682 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10683 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10684 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10685 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10686 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10687 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10688 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10689 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10690 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10691 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10692 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10693 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10694 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10695 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10696 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10697 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10698 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10699 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10700 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10701 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10702 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10705 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10709 whole low double instead of just low 47 bits when splitting values
10712 2012-12-03 Allan McRae <allan@archlinux.org>
10714 * manual/stdio.texi (Predefined Printf Handlers): Remove
10715 @hsep and @vsep usage.
10717 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10719 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10720 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10722 2012-12-03 Jeff Law <law@redhat.com>
10724 * time/sys/time.h (settimeofday): Do not mark TV argument
10727 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10729 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10730 when currently writing and seek to current position when not.
10731 * libio/Makefile (tests): Remove bug-fclose1.
10732 * libio/bug-fclose1.c: Delete.
10734 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10736 * manual/arith.texi (feenableexcept): Fix typo.
10737 (fedisableexcept): Likewise.
10739 2012-11-30 Roland McGrath <roland@hack.frob.com>
10741 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10742 second, differently-typed declaration, rather than a cast.
10744 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10746 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10747 * include/rpc/svc.h: ... here.
10749 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10752 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10753 depending n and resplen2 to catch cases where answer
10756 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10758 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10759 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10761 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10765 2012-11-29 Roland McGrath <roland@hack.frob.com>
10767 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10769 2012-11-28 Jeff Law <law@redhat.com>
10772 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10773 dataset_temporary. Track alloca usage into alloca_used.
10774 If dataset is large allocate and release it via malloc/free.
10776 2012-06-04 Florian Weimer <fweimer@redhat.com>
10779 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10781 2012-11-28 David S. Miller <davem@davemloft.net>
10783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10785 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10788 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10789 of pi/2 rounded to nearest to 64 bits.
10790 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10791 nearest to 64 bits.
10792 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10795 2012-11-28 Jeff Law <law@redhat.com>
10796 Martin Osvald <mosvald@redhat.com>
10799 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10800 * sunrpc/svc.c: Include time.h.
10801 (__svc_accept_failed): New function.
10802 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10803 any reason other than EINTR, call __svc_accept_failed.
10804 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10805 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10807 2012-11-28 Andreas Schwab <schwab@suse.de>
10809 * scripts/abilist.awk: Also handle indirect functions in .opd
10812 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10815 * sysdeps/x86/fpu/powl_helper.c: New file.
10816 * sysdeps/x86/fpu/Makefile: Likewise.
10817 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10819 (__ieee754_powl): Use __powl_helper for finite arguments except
10820 integer exponents below 8.
10821 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10823 (__ieee754_powl): Use __powl_helper for finite arguments except
10824 integer exponents below 8.
10825 * math/libm-test.inc (pow_test): Add more tests and enable some
10826 previously disabled tests.
10827 * sysdeps/i386/fpu/libm-test-ulps: Update.
10828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10831 Carlos O'Donell <carlos_odonell@mentor.com>
10833 * nss/makedb.c (is_prime): Assert that input is odd and greater
10834 than 4. Note that fact in a comment too.
10835 (next_prime): Add 4 to input.
10837 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10840 * libio/Makefile (tests): Add test case tst-fwrite-error.
10841 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10842 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10843 * libio/tst-fwrite-error.c: New test case.
10845 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10847 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10848 before casting to void *.
10849 * include/libc-internal.h (__pointer_type): New macro.
10850 (__integer_if_pointer_type_sub): Likewise.
10851 (__integer_if_pointer_type): Likewise.
10852 (cast_to_integer): Likewise.
10853 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10854 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10855 before casting to atomic64_t.
10856 (atomic_exchange_acq): Likewise.
10857 (__arch_exchange_and_add_body): Likewise.
10858 (__arch_add_body): Likewise.
10859 (atomic_add_negative): Likewise.
10860 (atomic_add_zero): Likewise.
10862 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10864 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10865 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10866 (add_fdes): Likewise.
10867 (linear_search_fdes): Likewise.
10868 (binary_search_unencoded_fdes): Likewise.
10870 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10872 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10874 2012-11-24 Adam Conrad <adconrad@0c3.net>
10876 * configure.in: Autodetect C++ header directories.
10877 * configure: Regenerated.
10879 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10881 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10883 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10887 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10889 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10890 LDBL_MANT_DIG == 106]: Disable some tests.
10891 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10893 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10898 input for small inputs. Return +/- pi/2 for large inputs.
10899 * math/libm-test.inc (atan_test): Add more tests.
10901 * sysdeps/generic/unwind-dw2-fde-glibc.c
10902 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10903 __attribute__ ((unused)).
10906 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10907 x * y if x and y are nonzero and z is zero.
10910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10911 nonzero exponents with absolute value below 0x1p-117 to +/-
10915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10916 up arguments below 2**-450, not just those below 2**-500.
10917 * math/libm-test.inc (hypot_test): Add another test.
10920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10921 Return a+b for ratio over 2**120, not 2**60.
10922 * math/libm-test.inc (hypot_test): Add another test.
10924 * math/libm-test.inc (clog_test): Use
10925 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10926 (clog10_test): Likewise.
10929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10931 2012-11-22 Andreas Schwab <schwab@suse.de>
10933 * sysdeps/i386/fpu/libm-test-ulps: Update.
10935 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10937 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10938 printf output with newline.
10940 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10943 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10944 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10945 -z nodlopen, -z initfirst and -z execstack support.
10946 * configure: Regenerated.
10948 * elf/elf.h (DF_1_NODIRECT): New macro.
10949 (DF_1_IGNMULDEF): Likewise.
10950 (DF_1_NOKSYMS): Likewise.
10951 (DF_1_NOHDR): Likewise.
10952 (DF_1_EDITED): Likewise.
10953 (DF_1_NORELOC): Likewise.
10954 (DF_1_SYMINTPOSE): Likewise.
10955 (DF_1_GLOBAUDIT): Likewise.
10956 (DF_1_SINGLETON): Likewise.
10957 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10958 DT_1_SUPPORTED_MASK bits.
10959 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10961 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10963 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10965 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10967 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10970 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10971 (sendmmsg): Move declarations...
10972 * socket/sys/socket.h: ... here.
10973 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10974 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10976 * socket/recvmmsg.c: ... this new file.
10977 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10978 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10979 definition of __sendmmsg hidden.
10980 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10981 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10982 Move ENOSYS stub into and include it from...
10983 * socket/sendmmsg.c: ... this new file.
10984 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10985 (sysdep_routines): Move recvmmsg and sendmmsg...
10986 * socket/Makefile (routines): ... here.
10987 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10988 (GLIBC_PRIVATE): Add __sendmmsg.
10989 * include/sys/socket.h (__sendmmsg): Add declarations.
10990 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10993 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10996 variable I1 with __attribute__ ((unused)).
10997 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10999 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11001 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11002 DUMMY variables with __attribute__ ((unused)).
11004 * bits/byteswap.h: Include <bits/types.h>.
11005 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11007 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11009 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11010 string_t. Do not manually set errno.
11011 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11012 length with __strnlen. Make sure to both set errno and return it on
11015 2012-11-19 David S. Miller <davem@davemloft.net>
11017 With help from Joseph Myers.
11018 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11019 very large arguments properly.
11020 * math/libm-test.inc (atan_test): New tests.
11021 (atan2_test): New tests.
11022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11025 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11028 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11031 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11032 [POSIX] (EADDRNOTAVAIL): Likewise.
11033 [POSIX] (EAFNOSUPPORT): Likewise.
11034 [POSIX] (EALREADY): Likewise.
11035 [POSIX] (ECONNABORTED): Likewise.
11036 [POSIX] (ECONNREFUSED): Likewise.
11037 [POSIX] (ECONNRESET): Likewise.
11038 [POSIX] (EDESTADDRREQ): Likewise.
11039 [POSIX] (EDQUOT): Likewise.
11040 [POSIX] (EHOSTUNREACH): Likewise.
11041 [POSIX] (EIDRM): Likewise.
11042 [POSIX] (EISCONN): Likewise.
11043 [POSIX] (ELOOP): Likewise.
11044 [POSIX] (EMULTIHOP): Likewise.
11045 [POSIX] (ENETDOWN): Likewise.
11046 [POSIX] (ENETUNREACH): Likewise.
11047 [POSIX] (ENOBUFS): Likewise.
11048 [POSIX] (ENODATA): Likewise.
11049 [POSIX] (ENOLINK): Likewise.
11050 [POSIX] (ENOMSG): Likewise.
11051 [POSIX] (ENOPROTOOPT): Likewise.
11052 [POSIX] (ENOSR): Likewise.
11053 [POSIX] (ENOSTR): Likewise.
11054 [POSIX] (ENOTCONN): Likewise.
11055 [POSIX] (ENOTSOCK): Likewise.
11056 [POSIX] (EOPNOTSUPP): Likewise.
11057 [POSIX] (EOVERFLOW): Likewise.
11058 [POSIX] (EPROTO): Likewise.
11059 [POSIX] (EPROTONOSUPPORT): Likewise.
11060 [POSIX] (EPROTOTYPE): Likewise.
11061 [POSIX] (ESTALE): Likewise.
11062 [POSIX] (ETIME): Likewise.
11063 [POSIX] (ETXTBSY): Likewise.
11064 [POSIX] (EWOULDBLOCK): Likewise.
11065 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11066 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11067 [POSIX] (SEEK_CUR): Likewise.
11068 [POSIX] (SEEK_END): Likewise.
11069 [POSIX || UNIX98] (mode_t): Do not require.
11070 [POSIX] (off_t): Likewise.
11071 [POSIX] (pid_t): Likewise.
11072 [POSIX] (sys/stat.h): Do not allow header.
11073 [POSIX] (unistd.h): Likewise.
11074 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11075 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11076 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11077 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11079 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11080 sigevent): Specify elements.
11081 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11083 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11084 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11086 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11087 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11088 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11089 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11090 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11091 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11092 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11093 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11094 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11095 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11096 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11097 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11098 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11099 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11101 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11103 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11105 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11107 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11108 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11109 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11110 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11111 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11112 Specify lower bound on value.
11113 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11114 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11115 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11116 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11117 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11118 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11119 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11120 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11122 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11124 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11125 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11126 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11127 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11128 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11129 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11130 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11131 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11132 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11133 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11134 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11135 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11136 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11137 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11138 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11139 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11141 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11143 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11144 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11145 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11146 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11147 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11148 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11150 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11151 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11152 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11153 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11154 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11155 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11156 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11159 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11160 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11161 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11162 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11163 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11164 specify as optional.
11165 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11166 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11167 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11168 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11169 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11170 [XPG3] (NL_LANGMAX): Likewise.
11171 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11172 [POSIX || XPG3] (NL_NMAX): Likewise.
11173 [POSIX || XPG3] (NL_SETMAX): Likewise.
11174 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11175 [XPG3] (NZERO): Likewise.
11176 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11177 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11178 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11179 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11180 (REG_ERANGE): Expect.
11181 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11183 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11184 Use (void) in prototype.
11185 [POSIX] (*_t): Allow.
11186 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11187 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11188 (WRDE_BADVAL): Expect.
11190 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11192 [XPG3 || XPG4] (O_RSYNC): Likewise.
11193 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11195 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11196 [XPG3 || XPG4] (sigqueue): Likewise.
11197 [XPG3 || XPG4] (sigtimedwait): Likewise.
11198 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11199 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11200 [XPG3 || XPG4] (vsnprintf): Likewise.
11201 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11203 [XPG3 || XPG4] (blksize_t): Likewise.
11204 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11206 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11207 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11208 [XPG3 || XPG4] (struct itimerspec): Likewise.
11209 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11210 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11211 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11212 [XPG3 || XPG4] (clockid_t): Likewise.
11213 [XPG3 || XPG4] (timer_t): Likewise.
11214 [XPG3 || XPG4] (clock_getres): Likewise.
11215 [XPG3 || XPG4] (clock_gettime): Likewise.
11216 [XPG3 || XPG4] (clock_settime): Likewise.
11217 [XPG3 || XPG4] (nanosleep): Likewise.
11218 [XPG3 || XPG4] (timer_create): Likewise.
11219 [XPG3 || XPG4] (timer_delete): Likewise.
11220 [XPG3 || XPG4] (timer_gettime): Likewise.
11221 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11222 [XPG3 || XPG4] (timer_settime): Likewise.
11223 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11224 [XPG3 || XPG4] (getlogin_r): Likewise.
11225 [XPG3 || XPG4] (pread): Likewise.
11226 [XPG3 || XPG4] (pthread_atfork): Likewise.
11227 [XPG3 || XPG4] (pwrite): Likewise.
11230 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11233 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11235 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11236 finalizing MALLSTREAM.
11238 * sysdeps/mach/hurd/syncfs.c: New file.
11240 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11243 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11244 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11245 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11246 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11247 (_nss_dns_gethostbyname4_r): Likewise.
11248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11249 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11251 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11254 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11256 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11258 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11259 * elf/cache.c (print_entry): Print ",AArch64" for
11262 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11263 * elf/cache.c (print_entry): Print ",hard-float" for
11266 2012-11-18 David S. Miller <davem@davemloft.net>
11268 With help from Joseph Myers.
11269 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11271 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11273 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11274 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11276 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11277 * math/libm-test.inc (y0_test): New tests.
11278 (y1_test): New tests.
11279 * sysdeps/i386/fpu/libm-test-ulps: Update.
11280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11283 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11285 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11287 * configure: Regenerated.
11289 2012-11-17 David S. Miller <davem@davemloft.net>
11292 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11293 nonzero exponents with absolute value below 0x1p-128 to +/-
11296 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11298 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11300 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11302 * posix/getconf-speclist.c: New file.
11303 * posix/posix-envs.def: Likewise.
11304 * posix/confstr.c (START_ENV_GROUP): New macro.
11305 (END_ENV_GROUP): Likewise.
11306 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11307 (KNOWN_PRESENT_ENV_STRING): Likewise.
11308 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11309 (UNKNOWN_ENVIRONMENT): Likewise.
11310 (confstr): Include posix-envs.def instead of handling
11311 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11312 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11313 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11314 (END_ENV_GROUP): Likewise.
11315 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11316 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11317 (UNKNOWN_ENVIRONMENT): Likewise.
11318 (__sysconf): Include posix-envs.def instead of handling associated
11319 cases directly here.
11320 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11321 preprocessing getconf-speclist.c rather than running getconf or
11322 generating empty file.
11324 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11326 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11328 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11331 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11333 2012-11-16 David S. Miller <davem@davemloft.net>
11335 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11336 smaller than LDBL_EPSILON/2.0L, just return xm1.
11338 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11340 * elf/tst-array1.c (init): Set constructor priority to 1000.
11341 (fini): Set destructor priority to 1000.
11342 * elf/tst-array2dep.c: Likewise.
11344 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11347 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11348 (_IO_new_file_xsputn): Also return EOF if none of the input
11349 data was written when overflow failed.
11350 * libio/iopadn.c (_IO_padn): Likewise.
11351 * libio/iowpadn.c (_IO_wpadn): Likewise.
11352 * stdio-common/tst-put-error.c: Add copyright notice.
11353 (do_test): Add case for printing padded string.
11354 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11355 _IO_padn returned error.
11356 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11357 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11360 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11362 * libio/libioP.h: Add comment note that the references to C++
11363 bits are now obsolete.
11365 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11367 * math/libm-test.inc (check_complex): Use asprintf.
11369 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11371 * debug/pcprofiledump.c (print_version): Update copyright year.
11372 * malloc/memusagestat.c (print_version): Likewise.
11374 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11377 * elf/Makefile (tests): Add tst-audit8.
11378 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11379 ($(objpfx)tst-audit8.out): New target.
11380 (tst-audit8-ENV): New variable.
11381 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11382 audit if l_reloc_result is NULL.
11383 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11384 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11385 * elf/tst-audit8.c: New file.
11387 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11389 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11390 * misc/Makefile (CFLAGS-select.c): Define.
11391 * posix/Makefile (CFLAGS-pause.c): Define.
11393 2012-11-13 David S. Miller <davem@davemloft.net>
11395 * crypt/Makefile: Move test targets after toplevel Rules
11396 inclusion. Grab any necessary sysdep routines when linking.
11397 * crypt/md5.c (md5_process_block): Remove define, we will always
11398 name it __md5_process_block.
11399 (md5_finish_ctx): Update md5_process_block call.
11400 (md5_stream): Likewise.
11401 (md5_process_bytes): Likewise.
11402 (md5_process_block): Rename to __md5_process_block and move to ...
11403 * crypt/md5-block.c: ... here.
11404 * crypt/sha256.c (sha256_process_block): Move to ...
11405 * crypt/sha256-block.c: ... here.
11406 * crypt/sha512.c (sha512_process_block): Move to ...
11407 * crypt/sha512-block.c: ... here.
11408 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11410 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11411 * sysdeps/sparc/sparc64/multiarch/Makefile
11412 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11414 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11417 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11418 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11419 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11420 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11421 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11422 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11423 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11424 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11427 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11428 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11430 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11432 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11434 * timezone/tzselect.ksh: Update from tzcode git revision
11435 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11436 * timezone/zdump.c: Likewise.
11437 * timezone/zic.c: Likewise.
11438 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11439 in TZVERSION setting, not $(PKGVERSION).
11440 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11441 REPORT_BUGS_TO settings.
11444 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11447 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11449 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11450 detection to immediately after _FP_ROUND().
11451 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11454 2012-11-11 David S. Miller <davem@davemloft.net>
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11458 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11459 __close rather than their public counterparts.
11461 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11463 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11465 [UNIX98] (sem_timedwait): Do not expect.
11466 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11467 [XPG4 || UNIX98] (sockatmark): Do not expect.
11468 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11469 (clock_getcpuclockid): Do not expect.
11470 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11471 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11473 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11474 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11475 [UNIX98] (vwscanf): Likewise.
11476 [UNIX98] (vswscanf): Likewise.
11478 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11480 * timezone/version.h: Remove file.
11481 * timezone/README: Do not refer to version.h.
11482 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11483 $(objpfx)version.h.
11484 ($(objpfx)zdump.o): Likewise.
11485 ($(objpfx)version.h): New target.
11487 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11489 * timezone/README: Don't mention modification to tzselect.ksh.
11490 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11491 work on unmodified tzselect.ksh. Substitute version numbers in
11494 * Makefile (format-me): Remove.
11495 (INSTALL): Adjust indentation. Use commands directly instead of
11496 using $(format-me).
11498 * aclocal.m4 (ACX_PKGVERSION): New macro.
11499 (ACX_BUGURL): Likewise.
11500 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11501 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11502 (REPORT_BUGS_TO): Likewise.
11503 * configure: Regenerated.
11504 * config.h.in (PKGVERSION): New macro.
11505 (REPORT_BUGS_TO): Likewise.
11506 * config.make.in (PKGVERSION): New variable.
11507 (PKGVERSION_TEXI): Likewise.
11508 (REPORT_BUGS_TO): Likewise.
11509 (REPORT_BUGS_TEXI): Likewise.
11510 * Makefile (format-me): Use -I$(common-objpfx)manual.
11511 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11512 ($(common-objpfx)manual/%): New target.
11513 (manual/%): Remove target.
11514 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11515 (print_version): Use PKGVERSION.
11516 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11517 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11518 and REPORT_BUGS_TO.
11519 ($(objpfx)xtrace): Likewise.
11520 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11521 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11522 (print_version): Use PKGVERSION.
11523 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11524 (do_version): Use PKGVERSION.
11525 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11527 (common-ldd-rewrite): Likewise.
11528 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11529 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11530 (print_version): Use PKGVERSION.
11531 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11532 * elf/pldd.c (argp_program_bug_address): Remove variable.
11533 (more_help): New function.
11534 (argp): Use more_help.
11535 (print_version): Use PKGVERSION.
11536 * elf/sln.c (main): Use PKGVERSION.
11537 (usage): Use REPORT_BUGS_TO.
11538 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11539 (top level): Use PKGVERSION.
11540 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11541 (print_version): Use PKGVERSION.
11542 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11543 (print_version): Use PKGVERSION.
11544 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11545 (print_version): Use PKGVERSION.
11546 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11547 (print_version): Use PKGVERSION.
11548 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11549 (print_version): Use PKGVERSION.
11550 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11551 (print_version): Use PKGVERSION.
11552 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11554 ($(objpfx)memusage): Likewise.
11555 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11556 (do_version): Use PKGVERSION.
11557 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11558 (print_version): Use PKGVERSION.
11559 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11560 ($PKGVERSION): New variable.
11561 ($REPORT_BUGS_TO): Likewise.
11562 (usage): Use $REPORT_BUGS_TO.
11563 (top level): Use $PKGVERSION.
11564 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11565 ($(objpfx)pkgvers.texi): New rule.
11566 ($(objpfx)stamp-pkgvers): Likewise.
11567 * manual/install.texi: Include pkgvers.texi.
11568 (--with-pkgversion): Document new configure option.
11569 (--with-bugurl): Likewise.
11570 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11571 than necessarily for this particular distribution. Use
11572 REPORT_BUGS_TO for where to report bugs.
11573 * INSTALL: Regenerated.
11574 * manual/libc.texinfo: Include pkgvers.texi.
11575 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11576 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11577 (print_version): Use PKGVERSION.
11578 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11579 (print_version): Use PKGVERSION.
11580 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11581 (print_version): Use PKGVERSION.
11582 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11583 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11585 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11586 (print_version): Use PKGVERSION.
11587 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11588 (print_version): Use PKGVERSION.
11589 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11592 * timezone/checktab.awk: Update from tzcode 2012i.
11593 * timezone/ialloc.c: Likewise.
11594 * timezone/private.h: Likewise.
11595 * timezone/scheck.c: Likewise.
11596 * timezone/tzfile.h: Likewise.
11597 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11598 (TZVERSION): Hardcode tzcode version number.
11599 * timezone/zdump.c: Update from tzcode 2012i.
11600 * timezone/zic.c: Likewise.
11601 * timezone/version.h: New file.
11602 * timezone/README: Describe version.h. Update upstream location.
11605 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11606 (mktemp): Enable declaration.
11607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11624 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11625 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11626 for copies of such integer values.
11627 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11628 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11630 2012-11-09 Andreas Jaeger <aj@suse.de>
11632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11633 definitions and declarations that are provided by
11634 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11636 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11638 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11639 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11640 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11643 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11645 * elf/elf.h: Update comment before AArch64 relocations.
11647 2012-11-07 David S. Miller <davem@davemloft.net>
11649 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11650 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11651 (__start_context): Declare.
11652 (__makecontext_ret): Delete.
11653 (__makecontext): Hook up __start_context instead of
11655 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11656 (sysdep_routines): Add __start_context when in stdlib.
11658 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11660 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11661 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11662 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11664 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11665 (READELF): New variable. Use it instead of hardcoded "readelf".
11667 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11669 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11670 * sysdeps/x86/Makefile: Here.
11671 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11672 * sysdeps/x86/tst-xmmymm.sh: This.
11674 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11676 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11678 [UNIX98] (pthread_barrier_t): Do not expect.
11679 [UNIX98] (pthread_barrierattr_t): Likewise.
11680 [UNIX98] (pthread_spinlock_t): Likewise.
11681 [UNIX98] (pthread_barrier_destroy): Likewise.
11682 [UNIX98] (pthread_barrier_init): Likewise.
11683 [UNIX98] (pthread_barrier_wait): Likewise.
11684 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11685 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11686 [UNIX98] (pthread_barrierattr_init): Likewise.
11687 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11688 [UNIX98] (pthread_getcpuclockid): Likewise.
11689 [UNIX98] (pthread_mutex_timedlock): Likewise.
11690 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11691 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11692 [UNIX98] (pthread_sigmask): Likewise.
11693 [UNIX98] (pthread_spin_destroy): Likewise.
11694 [UNIX98] (pthread_spin_init): Likewise.
11695 [UNIX98] (pthread_spin_lock): Likewise.
11696 [UNIX98] (pthread_spin_trylock): Likewise.
11697 [UNIX98] (pthread_spin_unlock): Likewise.
11698 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11700 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11701 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11702 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11703 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11704 [XPG3 || XPG4] (pthread_key_t): Likewise.
11705 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11706 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11707 [XPG3 || XPG4] (pthread_once_t): Likewise.
11708 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11709 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11710 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11711 [XPG3 || XPG4] (pthread_t): Likewise.
11713 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11715 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11717 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11718 Change function return type to int.
11720 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11721 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11722 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11723 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11724 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11725 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11726 [!POSIX] (posix_madvise): Likewise.
11727 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11729 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11730 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11731 (mode_t): Likewise.
11732 (posix_mem_offset): Likewise.
11733 (posix_typed_mem_get_info): Likewise.
11734 (posix_typed_mem_open): Likewise.
11736 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11737 Change condition to [XOPEN2K8].
11739 * conform/conformtest.pl: Preprocess allow-header data with -x c
11740 instead of from stdin.
11741 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11742 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11743 [C99-based standards] (cerfc): Likewise.
11744 [C99-based standards] (cexp2): Likewise.
11745 [C99-based standards] (cexpm1): Likewise.
11746 [C99-based standards] (clog10): Likewise.
11747 [C99-based standards] (clog1p): Likewise.
11748 [C99-based standards] (clog2): Likewise.
11749 [C99-based standards] (clgamma): Likewise.
11750 [C99-based standards] (ctgamma): Likewise.
11751 [C99-based standards] (cerff): Likewise.
11752 [C99-based standards] (cerfcf): Likewise.
11753 [C99-based standards] (cexp2f): Likewise.
11754 [C99-based standards] (cexpm1f): Likewise.
11755 [C99-based standards] (clog10f): Likewise.
11756 [C99-based standards] (clog1pf): Likewise.
11757 [C99-based standards] (clog2f): Likewise.
11758 [C99-based standards] (clgammaf): Likewise.
11759 [C99-based standards] (ctgammaf): Likewise.
11760 [C99-based standards] (cerfl): Likewise.
11761 [C99-based standards] (cerfcl): Likewise.
11762 [C99-based standards] (cexp2l): Likewise.
11763 [C99-based standards] (cexpm1l): Likewise.
11764 [C99-based standards] (clog10l): Likewise.
11765 [C99-based standards] (clog1pl): Likewise.
11766 [C99-based standards] (clog2l): Likewise.
11767 [C99-based standards] (clgammal): Likewise.
11768 [C99-based standards] (ctgammal): Likewise.
11769 * conform/data/inttypes.h-data [C99-based standards]: Include
11770 stdint.h-data. Remove all expectations for stdint.h contents.
11771 [C99-based standards] (PRI*): Do not allow.
11772 [C99-based standards] (SCN*): Likewise.
11773 [C99-based standards] (*_t): Likewise.
11774 [C99-based-standards] (PRId8): Expect macro.
11775 [C99-based-standards] (PRIi8): Likewise.
11776 [C99-based-standards] (PRIo8): Likewise.
11777 [C99-based-standards] (PRIu8): Likewise.
11778 [C99-based-standards] (PRIx8): Likewise.
11779 [C99-based-standards] (PRIX8): Likewise.
11780 [C99-based-standards] (SCNd8): Likewise.
11781 [C99-based-standards] (SCNi8): Likewise.
11782 [C99-based-standards] (SCNo8): Likewise.
11783 [C99-based-standards] (SCNu8): Likewise.
11784 [C99-based-standards] (SCNx8): Likewise.
11785 [C99-based-standards] (PRIdLEAST8): Likewise.
11786 [C99-based-standards] (PRIiLEAST8): Likewise.
11787 [C99-based-standards] (PRIoLEAST8): Likewise.
11788 [C99-based-standards] (PRIuLEAST8): Likewise.
11789 [C99-based-standards] (PRIxLEAST8): Likewise.
11790 [C99-based-standards] (PRIXLEAST8): Likewise.
11791 [C99-based-standards] (SCNdLEAST8): Likewise.
11792 [C99-based-standards] (SCNiLEAST8): Likewise.
11793 [C99-based-standards] (SCNoLEAST8): Likewise.
11794 [C99-based-standards] (SCNuLEAST8): Likewise.
11795 [C99-based-standards] (SCNxLEAST8): Likewise.
11796 [C99-based-standards] (PRIdFAST8): Likewise.
11797 [C99-based-standards] (PRIiFAST8): Likewise.
11798 [C99-based-standards] (PRIoFAST8): Likewise.
11799 [C99-based-standards] (PRIuFAST8): Likewise.
11800 [C99-based-standards] (PRIxFAST8): Likewise.
11801 [C99-based-standards] (PRIXFAST8): Likewise.
11802 [C99-based-standards] (SCNdFAST8): Likewise.
11803 [C99-based-standards] (SCNiFAST8): Likewise.
11804 [C99-based-standards] (SCNoFAST8): Likewise.
11805 [C99-based-standards] (SCNuFAST8): Likewise.
11806 [C99-based-standards] (SCNxFAST8): Likewise.
11807 [C99-based-standards] (PRId16): Likewise.
11808 [C99-based-standards] (PRIi16): Likewise.
11809 [C99-based-standards] (PRIo16): Likewise.
11810 [C99-based-standards] (PRIu16): Likewise.
11811 [C99-based-standards] (PRIx16): Likewise.
11812 [C99-based-standards] (PRIX16): Likewise.
11813 [C99-based-standards] (SCNd16): Likewise.
11814 [C99-based-standards] (SCNi16): Likewise.
11815 [C99-based-standards] (SCNo16): Likewise.
11816 [C99-based-standards] (SCNu16): Likewise.
11817 [C99-based-standards] (SCNx16): Likewise.
11818 [C99-based-standards] (PRIdLEAST16): Likewise.
11819 [C99-based-standards] (PRIiLEAST16): Likewise.
11820 [C99-based-standards] (PRIoLEAST16): Likewise.
11821 [C99-based-standards] (PRIuLEAST16): Likewise.
11822 [C99-based-standards] (PRIxLEAST16): Likewise.
11823 [C99-based-standards] (PRIXLEAST16): Likewise.
11824 [C99-based-standards] (SCNdLEAST16): Likewise.
11825 [C99-based-standards] (SCNiLEAST16): Likewise.
11826 [C99-based-standards] (SCNoLEAST16): Likewise.
11827 [C99-based-standards] (SCNuLEAST16): Likewise.
11828 [C99-based-standards] (SCNxLEAST16): Likewise.
11829 [C99-based-standards] (PRIdFAST16): Likewise.
11830 [C99-based-standards] (PRIiFAST16): Likewise.
11831 [C99-based-standards] (PRIoFAST16): Likewise.
11832 [C99-based-standards] (PRIuFAST16): Likewise.
11833 [C99-based-standards] (PRIxFAST16): Likewise.
11834 [C99-based-standards] (PRIXFAST16): Likewise.
11835 [C99-based-standards] (SCNdFAST16): Likewise.
11836 [C99-based-standards] (SCNiFAST16): Likewise.
11837 [C99-based-standards] (SCNoFAST16): Likewise.
11838 [C99-based-standards] (SCNuFAST16): Likewise.
11839 [C99-based-standards] (SCNxFAST16): Likewise.
11840 [C99-based-standards] (PRId32): Likewise.
11841 [C99-based-standards] (PRIi32): Likewise.
11842 [C99-based-standards] (PRIo32): Likewise.
11843 [C99-based-standards] (PRIu32): Likewise.
11844 [C99-based-standards] (PRIx32): Likewise.
11845 [C99-based-standards] (PRIX32): Likewise.
11846 [C99-based-standards] (SCNd32): Likewise.
11847 [C99-based-standards] (SCNi32): Likewise.
11848 [C99-based-standards] (SCNo32): Likewise.
11849 [C99-based-standards] (SCNu32): Likewise.
11850 [C99-based-standards] (SCNx32): Likewise.
11851 [C99-based-standards] (PRIdLEAST32): Likewise.
11852 [C99-based-standards] (PRIiLEAST32): Likewise.
11853 [C99-based-standards] (PRIoLEAST32): Likewise.
11854 [C99-based-standards] (PRIuLEAST32): Likewise.
11855 [C99-based-standards] (PRIxLEAST32): Likewise.
11856 [C99-based-standards] (PRIXLEAST32): Likewise.
11857 [C99-based-standards] (SCNdLEAST32): Likewise.
11858 [C99-based-standards] (SCNiLEAST32): Likewise.
11859 [C99-based-standards] (SCNoLEAST32): Likewise.
11860 [C99-based-standards] (SCNuLEAST32): Likewise.
11861 [C99-based-standards] (SCNxLEAST32): Likewise.
11862 [C99-based-standards] (PRIdFAST32): Likewise.
11863 [C99-based-standards] (PRIiFAST32): Likewise.
11864 [C99-based-standards] (PRIoFAST32): Likewise.
11865 [C99-based-standards] (PRIuFAST32): Likewise.
11866 [C99-based-standards] (PRIxFAST32): Likewise.
11867 [C99-based-standards] (PRIXFAST32): Likewise.
11868 [C99-based-standards] (SCNdFAST32): Likewise.
11869 [C99-based-standards] (SCNiFAST32): Likewise.
11870 [C99-based-standards] (SCNoFAST32): Likewise.
11871 [C99-based-standards] (SCNuFAST32): Likewise.
11872 [C99-based-standards] (SCNxFAST32): Likewise.
11873 [C99-based-standards] (PRId64): Likewise.
11874 [C99-based-standards] (PRIi64): Likewise.
11875 [C99-based-standards] (PRIo64): Likewise.
11876 [C99-based-standards] (PRIu64): Likewise.
11877 [C99-based-standards] (PRIx64): Likewise.
11878 [C99-based-standards] (PRIX64): Likewise.
11879 [C99-based-standards] (SCNd64): Likewise.
11880 [C99-based-standards] (SCNi64): Likewise.
11881 [C99-based-standards] (SCNo64): Likewise.
11882 [C99-based-standards] (SCNu64): Likewise.
11883 [C99-based-standards] (SCNx64): Likewise.
11884 [C99-based-standards] (PRIdLEAST64): Likewise.
11885 [C99-based-standards] (PRIiLEAST64): Likewise.
11886 [C99-based-standards] (PRIoLEAST64): Likewise.
11887 [C99-based-standards] (PRIuLEAST64): Likewise.
11888 [C99-based-standards] (PRIxLEAST64): Likewise.
11889 [C99-based-standards] (PRIXLEAST64): Likewise.
11890 [C99-based-standards] (SCNdLEAST64): Likewise.
11891 [C99-based-standards] (SCNiLEAST64): Likewise.
11892 [C99-based-standards] (SCNoLEAST64): Likewise.
11893 [C99-based-standards] (SCNuLEAST64): Likewise.
11894 [C99-based-standards] (SCNxLEAST64): Likewise.
11895 [C99-based-standards] (PRIdFAST64): Likewise.
11896 [C99-based-standards] (PRIiFAST64): Likewise.
11897 [C99-based-standards] (PRIoFAST64): Likewise.
11898 [C99-based-standards] (PRIuFAST64): Likewise.
11899 [C99-based-standards] (PRIxFAST64): Likewise.
11900 [C99-based-standards] (PRIXFAST64): Likewise.
11901 [C99-based-standards] (SCNdFAST64): Likewise.
11902 [C99-based-standards] (SCNiFAST64): Likewise.
11903 [C99-based-standards] (SCNoFAST64): Likewise.
11904 [C99-based-standards] (SCNuFAST64): Likewise.
11905 [C99-based-standards] (SCNxFAST64): Likewise.
11906 [C99-based-standards] (PRIdMAX): Likewise.
11907 [C99-based-standards] (PRIiMAX): Likewise.
11908 [C99-based-standards] (PRIoMAX): Likewise.
11909 [C99-based-standards] (PRIuMAX): Likewise.
11910 [C99-based-standards] (PRIxMAX): Likewise.
11911 [C99-based-standards] (PRIXMAX): Likewise.
11912 [C99-based-standards] (SCNdMAX): Likewise.
11913 [C99-based-standards] (SCNiMAX): Likewise.
11914 [C99-based-standards] (SCNoMAX): Likewise.
11915 [C99-based-standards] (SCNuMAX): Likewise.
11916 [C99-based-standards] (SCNxMAX): Likewise.
11917 [C99-based-standards] (PRIdPTR): Likewise.
11918 [C99-based-standards] (PRIiPTR): Likewise.
11919 [C99-based-standards] (PRIoPTR): Likewise.
11920 [C99-based-standards] (PRIuPTR): Likewise.
11921 [C99-based-standards] (PRIxPTR): Likewise.
11922 [C99-based-standards] (PRIXPTR): Likewise.
11923 [C99-based-standards] (SCNdPTR): Likewise.
11924 [C99-based-standards] (SCNiPTR): Likewise.
11925 [C99-based-standards] (SCNoPTR): Likewise.
11926 [C99-based-standards] (SCNuPTR): Likewise.
11927 [C99-based-standards] (SCNxPTR): Likewise.
11928 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11930 * conform/data/stdint.h-data: Update comments to clarify
11932 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11934 [C99-based standards] (INT8_MAX): Likewise.
11935 [C99-based standards] (INT16_MIN): Likewise.
11936 [C99-based standards] (INT16_MAX): Likewise.
11937 [C99-based standards] (INT32_MIN): Likewise.
11938 [C99-based standards] (INT32_MAX): Likewise.
11939 [C99-based standards] (INT64_MIN): Likewise.
11940 [C99-based standards] (INT64_MAX): Likewise.
11941 [C99-based standards] (UINT8_MAX): Likewise.
11942 [C99-based standards] (UINT16_MAX): Likewise.
11943 [C99-based standards] (UINT32_MAX): Likewise.
11944 [C99-based standards] (UINT64_MAX): Likewise.
11945 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11946 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11947 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11948 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11949 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11950 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11951 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11952 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11953 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11954 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11955 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11956 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11957 [C99-based standards] (INT_FAST8_MIN): Likewise.
11958 [C99-based standards] (INT_FAST8_MAX): Likewise.
11959 [C99-based standards] (INT_FAST16_MIN): Likewise.
11960 [C99-based standards] (INT_FAST16_MAX): Likewise.
11961 [C99-based standards] (INT_FAST32_MIN): Likewise.
11962 [C99-based standards] (INT_FAST32_MAX): Likewise.
11963 [C99-based standards] (INT_FAST64_MIN): Likewise.
11964 [C99-based standards] (INT_FAST64_MAX): Likewise.
11965 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11966 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11967 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11968 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11969 [C99-based standards] (INTPTR_MIN): Likewise.
11970 [C99-based standards] (INTPTR_MAX): Likewise.
11971 [C99-based standards] (UINTPTR_MAX): Likewise.
11972 [C99-based standards] (INTMAX_MIN): Likewise.
11973 [C99-based standards] (INTMAX_MAX): Likewise.
11974 [C99-based standards] (UINTMAX_MAX): Likewise.
11975 [C99-based standards] (PTRDIFF_MIN): Likewise.
11976 [C99-based standards] (PTRDIFF_MAX): Likewise.
11977 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11978 [C99-based standards] (SIZE_MAX): Likewise.
11979 [C99-based standards] (WCHAR_MAX): Likewise.
11980 [C99-based standards] (WINT_MAX): Likewise.
11981 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11982 constraint on value.
11983 [C99-based standards] (WCHAR_MIN): Likewise.
11984 [C99-based standards] (WINT_MIN): Likewise.
11985 [C99-based standards] (*_t): Allow.
11986 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11987 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11988 Include math.h-data and complex.h-data. Remove all expectations
11989 of math.h and complex.h contents.
11990 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11992 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11993 (struct tm): Expect tag.
11994 [C99-based-standards] (wcstof): Expect function.
11995 [C99-based-standards] (wcstold): Likewise.
11996 [C99-based-standards] (wcstoll): Likewise.
11997 [C99-based-standards] (wcstoull): Likewise.
11998 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11999 macro-int-constant. Specify type.
12000 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12001 constraint on value.
12002 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12004 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12006 [ISO C standards]: Do not allow headers.
12007 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12008 wcs[abcdefghijklmnopqrstuvwxyz]*.
12009 [ISO C standards] (*_t): Do not allow.
12010 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12012 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12013 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12015 [ISO C standards]: Do not allow headers.
12016 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12017 is[abcdefghijklmnopqrstuvwxyz]*.
12018 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12019 to[abcdefghijklmnopqrstuvwxyz]*.
12020 [ISO C standards] (*_t): Do not allow.
12021 * conform/data/stdalign.h-data: New file.
12022 * conform/data/stdbool.h-data: Likewise.
12023 * conform/data/stdnoreturn.h-data: Likewise.
12025 2012-11-07 Roland McGrath <roland@hack.frob.com>
12028 * manual/filesys.texi (Directory Entries): Typo fix.
12029 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12031 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12033 * elf/elf.h (EM_AARCH64): New macro.
12034 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12035 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12036 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12037 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12038 (R_AARCH64_TLSDESC): Likewise.
12039 (NT_ARM_TLS): Likewise.
12040 (NT_ARM_HW_BREAK): Likewise.
12041 (NT_ARM_HW_WATCH): Likewise.
12043 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12046 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12047 (__ieee754_powl): Saturate nonzero exponents with absolute value
12048 below 0x1p-79 to +/- 0x1p-79.
12049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12050 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12051 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12052 nonzero exponents with absolute value below 0x1p-32 to +/-
12054 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12055 (__ieee754_powl): Saturate nonzero exponents with absolute value
12056 below 0x1p-79 to +/- 0x1p-79.
12057 * math/libm-test.inc (pow_test): Add more tests.
12059 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12061 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12062 _dl_s390_cap_flags with kernel. Increase string length.
12063 (_dl_s390_platforms): Add z196 and zEC12.
12065 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12067 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12068 Change XOPEN21K to XOPEN2K.
12070 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12072 * string/memmove.c: Use memcpy when possible.
12074 2012-11-06 Andreas Jaeger <aj@suse.de>
12076 * po/eo.po: Update from translation team.
12078 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12082 exponent and small x and y exponents, scale x or y up. Increase
12083 by 2 the exponent used in scaling up.
12084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12086 * math/libm-test.inc (fma_test): Add more tests.
12087 (fma_test_towardzero): Likewise.
12088 (fma_test_downward): Likewise.
12089 (fma_test_upward): Likewise.
12091 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12094 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12098 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12099 namespace for names of struct fields.
12100 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12102 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12103 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12105 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12108 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12110 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12112 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12116 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12119 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12123 definitely overflow as x * y not x * y + z.
12124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12126 * math/libm-test.inc (fma_test): Add more tests.
12127 (fma_test_towardzero): Likewise.
12128 (fma_test_downward): Likewise.
12129 (fma_test_upward): Likewise.
12131 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12135 * include/stub-tag.h: Remove file.
12136 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12138 * manual/maint.texi (Porting): Don't reference it.
12139 * Makerules ($(objpfx)stubs): Likewise.
12140 * dirent/closedir.c: Don't include <stub-tag.h>.
12141 * dirent/dirfd.c: Likewise.
12142 * dirent/fdopendir.c: Likewise.
12143 * dirent/getdents.c: Likewise.
12144 * dirent/getdents64.c: Likewise.
12145 * dirent/opendir.c: Likewise.
12146 * dirent/readdir.c: Likewise.
12147 * dirent/readdir64.c: Likewise.
12148 * dirent/readdir64_r.c: Likewise.
12149 * dirent/readdir_r.c: Likewise.
12150 * dirent/rewinddir.c: Likewise.
12151 * dirent/seekdir.c: Likewise.
12152 * dirent/telldir.c: Likewise.
12153 * gmon/profil.c: Likewise.
12154 * grp/setgroups.c: Likewise.
12155 * inet/if_index.c: Likewise.
12156 * io/access.c: Likewise.
12157 * io/chdir.c: Likewise.
12158 * io/chmod.c: Likewise.
12159 * io/chown.c: Likewise.
12160 * io/close.c: Likewise.
12161 * io/dup.c: Likewise.
12162 * io/dup2.c: Likewise.
12163 * io/dup3.c: Likewise.
12164 * io/euidaccess.c: Likewise.
12165 * io/faccessat.c: Likewise.
12166 * io/fchdir.c: Likewise.
12167 * io/fchmod.c: Likewise.
12168 * io/fchmodat.c: Likewise.
12169 * io/fchown.c: Likewise.
12170 * io/fchownat.c: Likewise.
12171 * io/fcntl.c: Likewise.
12172 * io/flock.c: Likewise.
12173 * io/fstatfs.c: Likewise.
12174 * io/fstatfs64.c: Likewise.
12175 * io/fstatvfs.c: Likewise.
12176 * io/fstatvfs64.c: Likewise.
12177 * io/futimens.c: Likewise.
12178 * io/fxstat.c: Likewise.
12179 * io/fxstat64.c: Likewise.
12180 * io/fxstatat.c: Likewise.
12181 * io/fxstatat64.c: Likewise.
12182 * io/getcwd.c: Likewise.
12183 * io/isatty.c: Likewise.
12184 * io/lchmod.c: Likewise.
12185 * io/lchown.c: Likewise.
12186 * io/link.c: Likewise.
12187 * io/linkat.c: Likewise.
12188 * io/lseek.c: Likewise.
12189 * io/lseek64.c: Likewise.
12190 * io/lxstat64.c: Likewise.
12191 * io/mkdir.c: Likewise.
12192 * io/mkdirat.c: Likewise.
12193 * io/mkfifo.c: Likewise.
12194 * io/mkfifoat.c: Likewise.
12195 * io/open.c: Likewise.
12196 * io/open64.c: Likewise.
12197 * io/openat.c: Likewise.
12198 * io/openat64.c: Likewise.
12199 * io/pipe.c: Likewise.
12200 * io/pipe2.c: Likewise.
12201 * io/poll.c: Likewise.
12202 * io/posix_fadvise.c: Likewise.
12203 * io/posix_fadvise64.c: Likewise.
12204 * io/posix_fallocate.c: Likewise.
12205 * io/posix_fallocate64.c: Likewise.
12206 * io/read.c: Likewise.
12207 * io/readlink.c: Likewise.
12208 * io/readlinkat.c: Likewise.
12209 * io/rmdir.c: Likewise.
12210 * io/sendfile.c: Likewise.
12211 * io/sendfile64.c: Likewise.
12212 * io/statfs.c: Likewise.
12213 * io/statfs64.c: Likewise.
12214 * io/statvfs.c: Likewise.
12215 * io/statvfs64.c: Likewise.
12216 * io/symlink.c: Likewise.
12217 * io/symlinkat.c: Likewise.
12218 * io/ttyname.c: Likewise.
12219 * io/ttyname_r.c: Likewise.
12220 * io/umask.c: Likewise.
12221 * io/unlink.c: Likewise.
12222 * io/unlinkat.c: Likewise.
12223 * io/utime.c: Likewise.
12224 * io/utimensat.c: Likewise.
12225 * io/write.c: Likewise.
12226 * io/xmknod.c: Likewise.
12227 * io/xmknodat.c: Likewise.
12228 * io/xstat.c: Likewise.
12229 * io/xstat64.c: Likewise.
12230 * login/getpt.c: Likewise.
12231 * login/grantpt.c: Likewise.
12232 * login/unlockpt.c: Likewise.
12233 * math/e_acoshl.c: Likewise.
12234 * math/e_acosl.c: Likewise.
12235 * math/e_asinl.c: Likewise.
12236 * math/e_atan2l.c: Likewise.
12237 * math/e_atanhl.c: Likewise.
12238 * math/e_coshl.c: Likewise.
12239 * math/e_expl.c: Likewise.
12240 * math/e_fmodl.c: Likewise.
12241 * math/e_gammal_r.c: Likewise.
12242 * math/e_hypotl.c: Likewise.
12243 * math/e_j0l.c: Likewise.
12244 * math/e_j1l.c: Likewise.
12245 * math/e_jnl.c: Likewise.
12246 * math/e_lgammal_r.c: Likewise.
12247 * math/e_log10l.c: Likewise.
12248 * math/e_log2l.c: Likewise.
12249 * math/e_logl.c: Likewise.
12250 * math/e_powl.c: Likewise.
12251 * math/e_rem_pio2l.c: Likewise.
12252 * math/e_sinhl.c: Likewise.
12253 * math/e_sqrtl.c: Likewise.
12254 * math/fclrexcpt.c: Likewise.
12255 * math/fedisblxcpt.c: Likewise.
12256 * math/feenablxcpt.c: Likewise.
12257 * math/fegetenv.c: Likewise.
12258 * math/fegetexcept.c: Likewise.
12259 * math/fegetround.c: Likewise.
12260 * math/feholdexcpt.c: Likewise.
12261 * math/fesetenv.c: Likewise.
12262 * math/fesetround.c: Likewise.
12263 * math/feupdateenv.c: Likewise.
12264 * math/fgetexcptflg.c: Likewise.
12265 * math/fraiseexcpt.c: Likewise.
12266 * math/fsetexcptflg.c: Likewise.
12267 * math/ftestexcept.c: Likewise.
12268 * math/k_cosl.c: Likewise.
12269 * math/k_rem_pio2l.c: Likewise.
12270 * math/k_sinl.c: Likewise.
12271 * math/k_tanl.c: Likewise.
12272 * math/s_asinhl.c: Likewise.
12273 * math/s_atanl.c: Likewise.
12274 * math/s_cbrtl.c: Likewise.
12275 * math/s_erfl.c: Likewise.
12276 * math/s_expm1l.c: Likewise.
12277 * math/s_log1pl.c: Likewise.
12278 * math/s_tanhl.c: Likewise.
12279 * misc/acct.c: Likewise.
12280 * misc/brk.c: Likewise.
12281 * misc/chflags.c: Likewise.
12282 * misc/chroot.c: Likewise.
12283 * misc/fchflags.c: Likewise.
12284 * misc/fgetxattr.c: Likewise.
12285 * misc/flistxattr.c: Likewise.
12286 * misc/fremovexattr.c: Likewise.
12287 * misc/fsetxattr.c: Likewise.
12288 * misc/fsync.c: Likewise.
12289 * misc/ftruncate.c: Likewise.
12290 * misc/futimes.c: Likewise.
12291 * misc/futimesat.c: Likewise.
12292 * misc/getdomain.c: Likewise.
12293 * misc/getdtsz.c: Likewise.
12294 * misc/gethostid.c: Likewise.
12295 * misc/gethostname.c: Likewise.
12296 * misc/getloadavg.c: Likewise.
12297 * misc/getpagesize.c: Likewise.
12298 * misc/getsysstats.c: Likewise.
12299 * misc/getxattr.c: Likewise.
12300 * misc/gtty.c: Likewise.
12301 * misc/ioctl.c: Likewise.
12302 * misc/lgetxattr.c: Likewise.
12303 * misc/listxattr.c: Likewise.
12304 * misc/llistxattr.c: Likewise.
12305 * misc/lremovexattr.c: Likewise.
12306 * misc/lsetxattr.c: Likewise.
12307 * misc/lutimes.c: Likewise.
12308 * misc/madvise.c: Likewise.
12309 * misc/mincore.c: Likewise.
12310 * misc/mlock.c: Likewise.
12311 * misc/mlockall.c: Likewise.
12312 * misc/mmap.c: Likewise.
12313 * misc/mprotect.c: Likewise.
12314 * misc/msync.c: Likewise.
12315 * misc/munlock.c: Likewise.
12316 * misc/munlockall.c: Likewise.
12317 * misc/munmap.c: Likewise.
12318 * misc/preadv.c: Likewise.
12319 * misc/preadv64.c: Likewise.
12320 * misc/ptrace.c: Likewise.
12321 * misc/pwritev.c: Likewise.
12322 * misc/pwritev64.c: Likewise.
12323 * misc/readv.c: Likewise.
12324 * misc/reboot.c: Likewise.
12325 * misc/remap_file_pages.c: Likewise.
12326 * misc/removexattr.c: Likewise.
12327 * misc/revoke.c: Likewise.
12328 * misc/select.c: Likewise.
12329 * misc/setdomain.c: Likewise.
12330 * misc/setegid.c: Likewise.
12331 * misc/seteuid.c: Likewise.
12332 * misc/sethostid.c: Likewise.
12333 * misc/sethostname.c: Likewise.
12334 * misc/setregid.c: Likewise.
12335 * misc/setreuid.c: Likewise.
12336 * misc/setxattr.c: Likewise.
12337 * misc/sstk.c: Likewise.
12338 * misc/stty.c: Likewise.
12339 * misc/swapoff.c: Likewise.
12340 * misc/swapon.c: Likewise.
12341 * misc/sync.c: Likewise.
12342 * misc/syncfs.c: Likewise.
12343 * misc/syscall.c: Likewise.
12344 * misc/truncate.c: Likewise.
12345 * misc/ualarm.c: Likewise.
12346 * misc/usleep.c: Likewise.
12347 * misc/ustat.c: Likewise.
12348 * misc/utimes.c: Likewise.
12349 * misc/vhangup.c: Likewise.
12350 * misc/writev.c: Likewise.
12351 * posix/_exit.c: Likewise.
12352 * posix/alarm.c: Likewise.
12353 * posix/execve.c: Likewise.
12354 * posix/fexecve.c: Likewise.
12355 * posix/fork.c: Likewise.
12356 * posix/fpathconf.c: Likewise.
12357 * posix/getaddrinfo.c: Likewise.
12358 * posix/getegid.c: Likewise.
12359 * posix/geteuid.c: Likewise.
12360 * posix/getgid.c: Likewise.
12361 * posix/getgroups.c: Likewise.
12362 * posix/getlogin.c: Likewise.
12363 * posix/getlogin_r.c: Likewise.
12364 * posix/getpgid.c: Likewise.
12365 * posix/getpid.c: Likewise.
12366 * posix/getppid.c: Likewise.
12367 * posix/getresgid.c: Likewise.
12368 * posix/getresuid.c: Likewise.
12369 * posix/getsid.c: Likewise.
12370 * posix/getuid.c: Likewise.
12371 * posix/glob64.c: Likewise.
12372 * posix/nanosleep.c: Likewise.
12373 * posix/pathconf.c: Likewise.
12374 * posix/pause.c: Likewise.
12375 * posix/posix_madvise.c: Likewise.
12376 * posix/pread.c: Likewise.
12377 * posix/pread64.c: Likewise.
12378 * posix/pwrite.c: Likewise.
12379 * posix/pwrite64.c: Likewise.
12380 * posix/sched_getaffinity.c: Likewise.
12381 * posix/sched_getp.c: Likewise.
12382 * posix/sched_gets.c: Likewise.
12383 * posix/sched_primax.c: Likewise.
12384 * posix/sched_primin.c: Likewise.
12385 * posix/sched_rr_gi.c: Likewise.
12386 * posix/sched_setaffinity.c: Likewise.
12387 * posix/sched_setp.c: Likewise.
12388 * posix/sched_sets.c: Likewise.
12389 * posix/sched_yield.c: Likewise.
12390 * posix/setgid.c: Likewise.
12391 * posix/setlogin.c: Likewise.
12392 * posix/setpgid.c: Likewise.
12393 * posix/setresgid.c: Likewise.
12394 * posix/setresuid.c: Likewise.
12395 * posix/setsid.c: Likewise.
12396 * posix/setuid.c: Likewise.
12397 * posix/sleep.c: Likewise.
12398 * posix/spawni.c: Likewise.
12399 * posix/sysconf.c: Likewise.
12400 * posix/times.c: Likewise.
12401 * posix/wait.c: Likewise.
12402 * posix/wait3.c: Likewise.
12403 * posix/wait4.c: Likewise.
12404 * posix/waitpid.c: Likewise.
12405 * resolv/gai_sigqueue.c: Likewise.
12406 * resource/getpriority.c: Likewise.
12407 * resource/getrlimit.c: Likewise.
12408 * resource/getrusage.c: Likewise.
12409 * resource/nice.c: Likewise.
12410 * resource/setpriority.c: Likewise.
12411 * resource/setrlimit.c: Likewise.
12412 * resource/ulimit.c: Likewise.
12413 * rt/aio_cancel.c: Likewise.
12414 * rt/aio_fsync.c: Likewise.
12415 * rt/aio_read.c: Likewise.
12416 * rt/aio_sigqueue.c: Likewise.
12417 * rt/aio_suspend.c: Likewise.
12418 * rt/aio_write.c: Likewise.
12419 * rt/clock_getres.c: Likewise.
12420 * rt/clock_gettime.c: Likewise.
12421 * rt/clock_nanosleep.c: Likewise.
12422 * rt/clock_settime.c: Likewise.
12423 * rt/lio_listio.c: Likewise.
12424 * rt/mq_close.c: Likewise.
12425 * rt/mq_getattr.c: Likewise.
12426 * rt/mq_notify.c: Likewise.
12427 * rt/mq_open.c: Likewise.
12428 * rt/mq_receive.c: Likewise.
12429 * rt/mq_send.c: Likewise.
12430 * rt/mq_setattr.c: Likewise.
12431 * rt/mq_timedreceive.c: Likewise.
12432 * rt/mq_timedsend.c: Likewise.
12433 * rt/mq_unlink.c: Likewise.
12434 * rt/shm_open.c: Likewise.
12435 * rt/shm_unlink.c: Likewise.
12436 * rt/timer_create.c: Likewise.
12437 * rt/timer_delete.c: Likewise.
12438 * rt/timer_getoverr.c: Likewise.
12439 * rt/timer_gettime.c: Likewise.
12440 * rt/timer_settime.c: Likewise.
12441 * setjmp/__longjmp.c: Likewise.
12442 * setjmp/setjmp.c: Likewise.
12443 * signal/kill.c: Likewise.
12444 * signal/killpg.c: Likewise.
12445 * signal/raise.c: Likewise.
12446 * signal/sigaction.c: Likewise.
12447 * signal/sigaltstack.c: Likewise.
12448 * signal/sigblock.c: Likewise.
12449 * signal/sigignore.c: Likewise.
12450 * signal/sigintr.c: Likewise.
12451 * signal/signal.c: Likewise.
12452 * signal/sigpause.c: Likewise.
12453 * signal/sigpending.c: Likewise.
12454 * signal/sigqueue.c: Likewise.
12455 * signal/sigreturn.c: Likewise.
12456 * signal/sigset.c: Likewise.
12457 * signal/sigsetmask.c: Likewise.
12458 * signal/sigstack.c: Likewise.
12459 * signal/sigsuspend.c: Likewise.
12460 * signal/sigtimedwait.c: Likewise.
12461 * signal/sigvec.c: Likewise.
12462 * signal/sigwait.c: Likewise.
12463 * signal/sigwaitinfo.c: Likewise.
12464 * signal/sysv_signal.c: Likewise.
12465 * socket/accept.c: Likewise.
12466 * socket/accept4.c: Likewise.
12467 * socket/bind.c: Likewise.
12468 * socket/connect.c: Likewise.
12469 * socket/getpeername.c: Likewise.
12470 * socket/getsockname.c: Likewise.
12471 * socket/getsockopt.c: Likewise.
12472 * socket/isfdtype.c: Likewise.
12473 * socket/listen.c: Likewise.
12474 * socket/recv.c: Likewise.
12475 * socket/recvfrom.c: Likewise.
12476 * socket/recvmsg.c: Likewise.
12477 * socket/send.c: Likewise.
12478 * socket/sendmsg.c: Likewise.
12479 * socket/sendto.c: Likewise.
12480 * socket/setsockopt.c: Likewise.
12481 * socket/shutdown.c: Likewise.
12482 * socket/sockatmark.c: Likewise.
12483 * socket/socket.c: Likewise.
12484 * socket/socketpair.c: Likewise.
12485 * stdio-common/ctermid.c: Likewise.
12486 * stdio-common/cuserid.c: Likewise.
12487 * stdio-common/remove.c: Likewise.
12488 * stdio-common/rename.c: Likewise.
12489 * stdio-common/renameat.c: Likewise.
12490 * stdio-common/tempname.c: Likewise.
12491 * stdlib/getcontext.c: Likewise.
12492 * stdlib/makecontext.c: Likewise.
12493 * stdlib/setcontext.c: Likewise.
12494 * stdlib/swapcontext.c: Likewise.
12495 * stdlib/system.c: Likewise.
12496 * streams/fattach.c: Likewise.
12497 * streams/fdetach.c: Likewise.
12498 * streams/getmsg.c: Likewise.
12499 * streams/getpmsg.c: Likewise.
12500 * streams/putmsg.c: Likewise.
12501 * streams/putpmsg.c: Likewise.
12502 * sysdeps/unix/bsd/getpt.c: Likewise.
12503 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12504 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12505 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12508 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12509 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12510 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12511 * sysvipc/msgctl.c: Likewise.
12512 * sysvipc/msgget.c: Likewise.
12513 * sysvipc/msgrcv.c: Likewise.
12514 * sysvipc/msgsnd.c: Likewise.
12515 * sysvipc/semctl.c: Likewise.
12516 * sysvipc/semget.c: Likewise.
12517 * sysvipc/semop.c: Likewise.
12518 * sysvipc/semtimedop.c: Likewise.
12519 * sysvipc/shmat.c: Likewise.
12520 * sysvipc/shmctl.c: Likewise.
12521 * sysvipc/shmdt.c: Likewise.
12522 * sysvipc/shmget.c: Likewise.
12523 * termios/tcdrain.c: Likewise.
12524 * termios/tcflow.c: Likewise.
12525 * termios/tcflush.c: Likewise.
12526 * termios/tcgetattr.c: Likewise.
12527 * termios/tcgetpgrp.c: Likewise.
12528 * termios/tcsendbrk.c: Likewise.
12529 * termios/tcsetattr.c: Likewise.
12530 * termios/tcsetpgrp.c: Likewise.
12531 * time/adjtime.c: Likewise.
12532 * time/clock.c: Likewise.
12533 * time/getitimer.c: Likewise.
12534 * time/gettimeofday.c: Likewise.
12535 * time/setitimer.c: Likewise.
12536 * time/settimeofday.c: Likewise.
12537 * time/stime.c: Likewise.
12538 * time/time.c: Likewise.
12540 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12542 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12545 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12547 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12549 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12553 FE_TONEAREST before applying Dekker multiplication and Knuth
12554 addition. Clear inexact exceptions and check for exact zero
12555 results afterwards.
12556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12557 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12558 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12559 * math/libm-test.inc (fma_test): Add more tests.
12560 (fma_test_towardzero): Likewise.
12561 (fma_test_downward): Likewise.
12562 (fma_test_upward): Likewise.
12563 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12565 (libc_fesetround): New macro.
12566 (libc_fesetroundf): Likewise.
12567 (libc_fesetroundl): Likewise.
12568 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12570 (libc_fesetround_387): Likewise.
12571 (libc_fesetroundf): New macro.
12572 (libc_fesetround): Likewise.
12573 (libc_fesetroundl): Likewise.
12574 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12576 (libc_fesetroundf): New macro.
12577 (libc_fesetround): Likewise.
12578 (libc_fesetroundl): Likewise.
12579 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12580 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12581 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12583 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12584 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12586 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12587 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12589 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12593 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12594 integer constant usable in #if and use that to give value to enum
12596 (FE_DIVBYZERO): Likewise.
12597 (FE_UNDERFLOW): Likewise.
12598 (FE_OVERFLOW): Likewise.
12599 (FE_INVALID): Likewise.
12600 (FE_INVALID_SNAN): Likewise.
12601 (FE_INVALID_ISI): Likewise.
12602 (FE_INVALID_IDI): Likewise.
12603 (FE_INVALID_ZDZ): Likewise.
12604 (FE_INVALID_IMZ): Likewise.
12605 (FE_INVALID_COMPARE): Likewise.
12606 (FE_INVALID_SOFTWARE): Likewise.
12607 (FE_INVALID_SQRT): Likewise.
12608 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12609 (FE_TONEAREST): Likewise.
12610 (FE_TOWARDZERO): Likewise.
12611 (FE_UPWARD): Likewise.
12612 (FE_DOWNWARD): Likewise.
12613 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12614 (FE_DIVBYZERO): Likewise.
12615 (FE_OVERFLOW): Likewise.
12616 (FE_UNDERFLOW): Likewise.
12617 (FE_INEXACT): Likewise.
12618 (FE_TONEAREST): Likewise.
12619 (FE_DOWNWARD): Likewise.
12620 (FE_UPWARD): Likewise.
12621 (FE_TOWARDZERO): Likewise.
12622 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12623 (FE_UNDERFLOW): Likewise.
12624 (FE_OVERFLOW): Likewise.
12625 (FE_DIVBYZERO): Likewise.
12626 (FE_INVALID): Likewise.
12627 (FE_TONEAREST): Likewise.
12628 (FE_TOWARDZERO): Likewise.
12629 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12630 (FE_OVERFLOW): Likewise.
12631 (FE_UNDERFLOW): Likewise.
12632 (FE_DIVBYZERO): Likewise.
12633 (FE_INEXACT): Likewise.
12634 (FE_TONEAREST): Likewise.
12635 (FE_TOWARDZERO): Likewise.
12636 (FE_UPWARD): Likewise.
12637 (FE_DOWNWARD): Likewise.
12638 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12639 (FE_DIVBYZERO): Likewise.
12640 (FE_OVERFLOW): Likewise.
12641 (FE_UNDERFLOW): Likewise.
12642 (FE_INEXACT): Likewise.
12643 (FE_TONEAREST): Likewise.
12644 (FE_DOWNWARD): Likewise.
12645 (FE_UPWARD): Likewise.
12646 (FE_TOWARDZERO): Likewise.
12648 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12650 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12652 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12654 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12655 commands. Quote $PWD.
12656 (blacklist_exports): Don't use remove_newlines. Replace "declare
12658 (remove_newlines): Remove.
12660 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12662 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12663 * stdlib/stdlib.h (atof): Moved to ...
12664 * include/bits/stdlib-float.h: Here. New file.
12665 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12666 * stdlib/bits/stdlib-float.h: New file.
12667 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12669 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12672 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12674 * conform/conformtest.pl (@headers): Add fenv.h.
12675 * conform/data/fenv.h-data: New file.
12676 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12677 include of <math/fenv.h>.
12679 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12680 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12681 && !UNIX98]. Enables tests for XOPEN2K8.
12682 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12683 POSIX2008]: Likewise.
12685 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12686 (struct rusage): Do not expect type or its members.
12689 * math/math.h (FP_NAN): Define macro to integer constant usable in
12690 #if and use that to give value to enum constant.
12691 (FP_INFINITE): Likewise.
12692 (FP_ZERO): Likewise.
12693 (FP_SUBNORMAL): Likewise.
12694 (FP_NORMAL): Likewise.
12696 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12698 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12699 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12702 2012-11-02 Roland McGrath <roland@hack.frob.com>
12704 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12705 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12706 autoconf-time if not.
12707 * configure.in: Remove AC_PREREQ.
12709 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12711 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12712 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12713 of the internal implementation.
12715 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12717 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12718 except include of <misc/sys/syslog.h>.
12720 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12723 function returns with a NULL context exit with zero.
12725 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12727 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12729 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12731 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12732 (run_program_cmd): This.
12733 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12734 (tst_langinfo): New variable. Use it.
12736 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12738 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12739 floating point opcodes.
12741 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12743 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12746 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12748 * sysdeps/mach/hurd/powerpc: Remove directory.
12749 * sysdeps/mach/powerpc: Likewise.
12751 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12753 * scripts/check-local-headers.sh: Ignore c++ headers.
12755 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12757 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12758 __libc_cleanup_region_start argument.
12760 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12765 x * y using scaling, not as x * y + z.
12766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12768 * math/libm-test.inc (fma_test): Add more tests.
12769 (fma_test_towardzero): Likewise.
12770 (fma_test_downward): Likewise.
12771 (fma_test_upward): Likewise.
12773 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12775 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12777 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12779 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12782 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12784 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12786 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12793 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12796 Fix the order of the list for glibc 2.17.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12800 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12804 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12808 for low part of x being zero before using __atanl (y).
12809 * math/libm-test.inc (atan2_test): Add another test.
12811 * manual/install.texi (Configuring and compiling): Document
12812 general use of test-wrapper and test-wrapper-env.
12813 * INSTALL: Regenerated.
12815 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12816 (__fma): Do not extract and scale down low bits on after-rounding
12817 systems when result rounded to normal precision would have normal
12819 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12820 (__fmal): Do not extract and scale down low bits on after-rounding
12821 systems when result rounded to normal precision would have normal
12823 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12824 (__fmal): Do not extract and scale down low bits on after-rounding
12825 systems when result rounded to normal precision would have normal
12827 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12829 (fma_test): Add more tests.
12830 (fma_test_towardzero): Likewise.
12831 (fma_test_downward): Likewise.
12832 (fma_test_upward): Likewise.
12834 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12836 * sysdeps/i386/tininess.h: Renamed to ...
12837 * sysdeps/x86/tininess.h: This.
12838 * sysdeps/x86_64/tininess.h: Removed.
12840 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12842 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12843 input. Use $(build-program-cmd).
12844 ($(objpfx)tst-array1-static.out): Likewise.
12845 ($(objpfx)tst-array2.out): Likewise.
12846 ($(objpfx)tst-array3.out): Likewise.
12847 ($(objpfx)tst-array4.out): Likewise.
12848 ($(objpfx)tst-array5.out): Likewise.
12849 ($(objpfx)tst-array5-static.out): Likewise.
12851 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12853 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12856 * nss/nsswitch.h (nss_interface_function): Provide new
12857 macro for use with NSS functions.
12858 * grp/initgroups.c: Use new macro.
12859 * nss/getXXbyYY.c: Likewise.
12860 * nss/getXXbyYY_r.c: Likewise.
12861 * nss/getXXent.c: Likewise.
12862 * nss/getXXent_r.c: Likewise.
12863 * sysdeps/posix/getaddrinfo.c: Likewise.
12865 2012-10-30 Andreas Jaeger <aj@suse.de>
12867 * po/ru.po: Update Russion translation from translation project.
12869 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12874 result and shift together with sticky bit instead of replicating
12875 round-to-nearest rounding.
12876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12878 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12879 missing underflow exceptions.
12880 (fma_test_towardzero): Add more tests.
12881 (fma_test_downward): Likewise.
12882 (fma_test_upward): Likewise.
12885 * sysdeps/generic/tininess.h: New file.
12886 * sysdeps/i386/tininess.h: Likewise.
12887 * sysdeps/sh/tininess.h: Likewise.
12888 * sysdeps/x86_64/tininess.h: Likewise.
12889 * stdlib/tst-strtod-underflow.c: Likewise.
12890 * stdlib/tst-tininess.c: Likewise.
12891 * stdlib/strtod_l.c: Include <tininess.h>.
12892 (round_and_return): Do not set errno for exact underflow cases.
12893 Force an underflow exception when setting errno for underflow.
12894 Determine underflow based on rounding to normal precision if
12895 TININESS_AFTER_ROUNDING.
12896 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12897 ERANGE for exact underflow cases.
12898 * stdlib/Makefile (tests): Add tst-tininess and
12899 tst-strtod-underflow.
12900 ($(objpfx)tst-tininess): Use $(link-libm).
12901 ($(objpfx)tst-strtod-underflow): Likewise.
12903 2012-10-30 Andreas Jaeger <aj@suse.de>
12906 * elf/Makefile (tests): Remove conditional for have-initfini-array
12907 since this is now always required and the variable does not exist
12909 (tests-static): Likewise.
12910 (modules-names): Likewise.
12912 * po/eo.po: Add Esperanto translation from translation project.
12914 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12915 merged with constructor/destructor.
12916 (init_array): Likewise.
12917 * elf/tst-array2dep.c (fini_array): Likewise.
12918 (init_array): Likewise.
12920 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12922 * manual/message.texi: Delete @cartouche tags.
12924 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12926 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12928 * sysdeps/mach/hurd/fsync.c: Likewise.
12930 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12931 [_POSIX_REALTIME_SIGNALS]: Change condition to
12932 [_POSIX_REALTIME_SIGNALS > 0].
12934 2012-10-27 Andreas Jaeger <aj@suse.de>
12936 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12937 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12939 [__WORDSIZE != 64]: Likewise.
12941 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12943 * iconvdata/tst-table.sh: Remove ${SHELL}.
12944 * iconvdata/tst-tables.sh: Likewise.
12946 2012-10-25 David S. Miller <davem@davemloft.net>
12948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12949 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12955 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12956 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12959 2012-10-25 Roland McGrath <roland@hack.frob.com>
12961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12962 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12965 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12966 Jim Blandy <jimb@codesourcery.com>
12968 * scripts/cross-test-ssh.sh: New file.
12969 * manual/install.texi (Configuring and compiling): Document use of
12971 * INSTALL: Regenerated.
12973 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12975 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12978 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12980 * Makeconfig (run-program-prefix): Fix comment.
12982 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12983 Jim Blandy <jimb@codesourcery.com>
12985 * Makeconfig (test-wrapper): New variable,
12986 (test-wrapper-env): Likewise.
12987 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12988 (run-built-tests): Define to yes.
12989 (run-program-prefix): Use $(test-wrapper).
12990 (built-program-cmd): Likewise.
12991 * Rules (make-test-out): Use $(test-wrapper-env) and
12992 $(host-built-program-cmd).
12993 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12994 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12996 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12997 $(test-wrapper-env) to tst-rtld-load-self.sh.
12998 ($(objpfx)order2.out): Use $(test-wrapper).
12999 ($(objpfx)tst-initorder.out): Likewise.
13000 ($(objpfx)tst-initorder2.out): Likewise.
13001 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13002 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13003 (test_wrapper_env): New variable. Use it to run ld.so.
13004 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13005 Use it to run ld.so.
13006 (test_wrapper_env): Likewise.
13007 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13008 $(test-wrapper) to run-iconv-test.sh.
13009 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13010 (ICONV): Use $test_wrapper.
13011 * posix/Makefile ($(objpfx)globtest.out): Pass
13012 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13013 globtest.sh, not $(run-program-prefix).
13014 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13015 (test_wrapper): Likewise.
13016 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13017 set together with run_via_rtld_prefix.
13018 (run_program_prefix): Define in terms of test_wrapper and
13019 run_via_rtld_prefix.
13021 2012-10-24 Roland McGrath <roland@hack.frob.com>
13023 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13024 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13028 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13029 Declare __clock_getres, __clock_gettime, __clock_settime,
13030 __clock_nanosleep, and __clock_getcpuclockid.
13031 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13032 Remove librt_hidden_def (clock_gettime).
13033 * sysdeps/unix/clock_gettime.c: Likewise.
13034 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13035 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13036 * rt/clock_getres.c: Define __clock_getres as an alias.
13037 * sysdeps/posix/clock_getres.c: Likewise.
13038 * rt/clock_settime.c: Define __clock_settime as an alias.
13039 * sysdeps/unix/clock_settime.c: Likewise.
13040 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13041 * sysdeps/unix/clock_nanosleep.c: Likewise.
13042 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13043 * rt/clock-compat.c: New file.
13044 * rt/Makefile (librt-routines): Add clock-compat and move
13045 $(clock-routines) to ...
13046 (routines): ... here, new variable.
13047 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13048 Don't add get_clockfreq here.
13049 * rt/Versions (libc: GLIBC_2.17): New version set.
13050 Add clock_* symbols here.
13051 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13053 (GLIBC_2.17): Add clock_* symbols.
13054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13065 * NEWS: Mention the move.
13067 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13068 Use __open, __read, __close rather than their public counterparts.
13069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13070 (__get_clockfreq_via_cpuinfo): Likewise.
13071 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13072 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13074 * config.h.in (HAVE_IFUNC): New #undef.
13075 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13077 * configure: Regenerated.
13079 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13081 * configure.in: Move READELF check to start of file.
13082 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13083 libc_cv_asm_gnu_indirect_function in the process.
13084 * configure: Regenerated.
13086 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13088 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13089 send the output to /dev/null.
13090 (libc_cv_cc_with_libunwind): Likewise.
13091 (libc_cv_as_noexecstack): Likewise.
13092 * configure: Regenerate.
13094 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13096 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13098 * posix/globtest.sh (TMPDIR): Do not set.
13099 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13100 (testout): Likewise.
13102 2012-10-24 Andreas Jaeger <aj@suse.de>
13104 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13105 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13106 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13107 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13108 posix_fadvise64, posix_fallocate64.
13110 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13111 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13112 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13114 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13116 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13119 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13120 <bits/fcntl-linux.h>.
13121 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13124 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13125 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13126 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13127 [__WORDSIZE != 64]: Likewise.
13129 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13131 * Makeconfig (run-built-tests): New variable.
13132 * Rules [$(cross-compiling) = yes]: Change condition to
13133 [$(run-built-tests) = no].
13134 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13135 to [$(run-built-tests) = yes].
13136 * elf/Makefile [$(cross-compiling) = no]: Likewise
13137 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13138 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13139 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13140 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13141 * io/Makefile [$(cross-compiling) = no]: Likewise.
13142 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13143 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13144 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13145 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13146 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13147 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13148 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13149 * string/Makefile [$(cross-compiling) = no]: Likewise.
13151 * posix/Makefile ($(objpfx)globtest.out): Pass
13152 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13153 $(rtld-installed-name).
13154 * posix/globtest.sh (elf_objpfx): Remove variable.
13155 (rtld_installed_name): Likewise.
13156 (library_path): Likewise.
13157 (run_program_prefix): New variable. Use for running globtest
13160 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13161 Joseph Myers <joseph@codesourcery.com>
13163 * Makeconfig (host-built-program-cmd): New variable.
13164 * elf/Makefile (tst-stackguard1-ARGS): Use
13165 $(host-built-program-cmd).
13166 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13167 (tst-spawn-ARGS): Likewise.
13168 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13170 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13171 Jim Blandy <jimb@codesourcery.com>
13173 * Makeconfig (run-via-rtld-prefix): New variable.
13174 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13175 (built-program-cmd): Likewise.
13177 2012-10-22 Andreas Jaeger <aj@suse.de>
13179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13180 __O_RSYNC if it exists, otherwise to O_SYNC.
13182 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13183 Joseph Myers <joseph@codesourcery.com>
13185 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13187 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13189 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13192 2012-10-22 Andreas Jaeger <aj@suse.de>
13194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13199 bits/fcntl-linux.h.
13201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13202 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13209 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13210 Joseph Myers <joseph@codesourcery.com>
13212 * config.make.in (NM): New variable.
13214 2012-10-21 Andreas Jaeger <aj@suse.de>
13216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13217 definitions and declarations that are provided by
13218 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13220 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13223 * elf/Makefile (tests-static): Add tst-leaks1-static.
13224 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13225 ($(objpfx)tst-leaks1-static): New rule.
13226 ($(objpfx)tst-leaks1-static-mem): Likewise.
13227 (tst-leaks1-static-ENV): New macro.
13228 * elf/dl-open.c (dl_open_worker): Check the main application
13229 only if SHARED is defined.
13230 * elf/tst-leaks1-static.c: New file.
13232 2012-10-20 Andreas Jaeger <aj@suse.de>
13234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13235 generic values for Linux.
13236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13237 and declarations that are provided by <bits/fcntl-linux.h> and
13238 include <bits/fcntl-linux.h>.
13239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13242 2012-10-20 Roland McGrath <roland@hack.frob.com>
13244 * io/fcntl.h: Move include of <bits/types.h> to the top and
13245 include it unconditionally.
13247 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13249 * wcsmbs/Makefile (tests-ifunc): New variable.
13250 (tests): Add $(tests-ifunc).
13251 * wcsmbs/test-wcschr-ifunc.c: New file.
13252 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13253 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13254 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13255 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13256 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13258 * string/Makefile (tests-ifunc): New variable.
13259 (tests): Add $(tests-ifunc).
13260 * string/test-memccpy.c (TEST_NAME): New macro.
13261 * string/test-memchr.c (TEST_NAME): Likewise.
13262 * string/test-memcmp.c (TEST_NAME): Likewise.
13263 * string/test-memcpy.c (TEST_NAME): Likewise.
13264 * string/test-memmem.c (TEST_NAME): Likewise.
13265 * string/test-memmove.c (TEST_NAME): Likewise.
13266 * string/test-memset.c (TEST_NAME): Likewise.
13267 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13268 * string/test-stpcpy.c (TEST_NAME): Likewise.
13269 * string/test-stpncpy.c (TEST_NAME): Likewise.
13270 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13271 * string/test-strcasestr.c (TEST_NAME): Likewise.
13272 * string/test-strcat.c (TEST_NAME): Likewise.
13273 * string/test-strchr.c (TEST_NAME): Likewise.
13274 * string/test-strcmp.c(TEST_NAME): Likewise.
13275 * string/test-strcpy.c (TEST_NAME): Likewise.
13276 * string/test-strcspn.c (TEST_NAME): Likewise.
13277 * string/test-strlen.c (TEST_NAME): Likewise.
13278 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13279 * string/test-strncmp.c (TEST_NAME): Likewise.
13280 * string/test-strncpy.c (TEST_NAME): Likewise.
13281 * string/test-strnlen.c (TEST_NAME): Likewise.
13282 * string/test-strpbrk.c (TEST_NAME): Likewise.
13283 * string/test-strrchr.c (TEST_NAME): Likewise.
13284 * string/test-strspn.c (TEST_NAME): Likewise.
13285 * string/test-strstr.c (TEST_NAME): Likewise.
13286 * string/test-bcopy-ifunc.c: New file.
13287 * string/test-bzero-ifunc.c: Likewise.
13288 * string/test-memccpy-ifunc.c: Likewise.
13289 * string/test-memchr-ifunc.c: Likewise.
13290 * string/test-memcmp-ifunc.c: Likewise.
13291 * string/test-memcpy-ifunc.c: Likewise.
13292 * string/test-memmem-ifunc.c: Likewise.
13293 * string/test-memmove-ifunc.c: Likewise.
13294 * string/test-mempcpy-ifunc.c: Likewise.
13295 * string/test-memset-ifunc.c: Likewise.
13296 * string/test-rawmemchr-ifunc.c: Likewise.
13297 * string/test-stpcpy-ifunc.c: Likewise.
13298 * string/test-stpncpy-ifunc.c: Likewise.
13299 * string/test-strcasecmp-ifunc.c: Likewise.
13300 * string/test-strcasestr-ifunc.c: Likewise.
13301 * string/test-strcat-ifunc.c: Likewise.
13302 * string/test-strchr-ifunc.c: Likewise.
13303 * string/test-strchrnul-ifunc.c: Likewise.
13304 * string/test-strcmp-ifunc.c: Likewise.
13305 * string/test-strcpy-ifunc.c: Likewise.
13306 * string/test-strcspn-ifunc.c: Likewise.
13307 * string/test-strlen-ifunc.c: Likewise.
13308 * string/test-strncasecmp-ifunc.c: Likewise.
13309 * string/test-strncat-ifunc.c: Likewise.
13310 * string/test-strncmp-ifunc.c: Likewise.
13311 * string/test-strncpy-ifunc.c: Likewise.
13312 * string/test-strnlen-ifunc.c: Likewise.
13313 * string/test-strpbrk-ifunc.c: Likewise.
13314 * string/test-strrchr-ifunc.c: Likewise.
13315 * string/test-strspn-ifunc.c: Likewise.
13316 * string/test-strstr-ifunc.c: Likewise.
13318 * debug/Makefile (tests-ifunc): New variable.
13319 (tests): Add $(tests-ifunc).
13320 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13321 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13322 * debug/test-stpcpy_chk-ifunc.c: New file.
13323 * debug/test-strcpy_chk-ifunc.c: Likewise.
13325 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13328 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13329 header is not read in.
13331 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13333 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13334 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13335 directly. Pass built executable to script as
13336 $(built-program-cmd).
13337 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13338 $testprogram without using LD_LIBRARY_PATH and $ldso.
13340 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13341 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13342 $(rtld-installed-name).
13343 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13344 (rtld_installed_name): Likewise.
13345 (library_path): Likewise.
13346 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13347 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13348 $(run-program-prefix) to tst-tables.sh.
13349 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13350 it to run tst-table-from and tst-table-to.
13351 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13352 Pass it to tst-table.sh.
13353 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13354 $(run-program-prefix) to tst-gettext.sh.
13355 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13357 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13359 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13360 to run tst-gettext.
13361 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13362 to run tst-gettext2.
13363 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13364 to run tst-translit.
13365 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13366 $(run-program-prefix) to tst-mtrace.sh.
13367 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13369 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13370 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13371 $(rtld-installed-name).
13372 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13373 (rtld_installed_name): Likewise.
13374 (run_program_prefix): New variable. Use it to run wordexp-test.
13376 * Makeconfig (ARCH): Remove all definitions.
13377 (machine): Likewise.
13378 [ARCH]: Remove conditional code.
13379 [!objdir]: Give error.
13380 [!objdir] (objpfx): Remove.
13381 [!objdir] (common-objpfx): Likewise.
13382 [!objdir] (common-objdir): Likewise.
13383 * configure.in (config_makefile): Remove. Hardcode Makefile in
13384 AC_CONFIG_FILES call.
13385 * configure: Regenerated.
13388 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13390 (testout): Likewise.
13392 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13393 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13394 $(rtld-installed-name).
13395 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13396 (rtld_installed_name): Likwise.
13397 (runit): Remove function.
13398 (run_getconf): New variable, Use it for running getconf binary.
13400 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13403 * string/test-memmem.c (check_result): New function.
13404 (do_one_test): Use it.
13405 (check1): New function.
13406 (test_main): Use it.
13408 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13410 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13412 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13414 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13415 (_G_LSEEK64): Likewise.
13416 (_G_MMAP64): Likewise.
13417 (_G_FSTAT64): Likewise.
13418 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13419 (_G_LSEEK64): Likewise.
13420 (_G_MMAP64): Likewise.
13421 (_G_FSTAT64): Likewise.
13422 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13423 unconditional. Call __mmap64 directly.
13424 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13425 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13426 __lseek64 directly.
13427 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13428 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13430 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13431 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13432 __lseek64 directly.
13433 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13434 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13435 __lseek64 directly.
13436 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13437 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13438 __lseek64 directly.
13439 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13440 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13441 __fxstat64 directly.
13442 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13443 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13445 (freopen64) [!_G_OPEN64]: Remove conditional code.
13446 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13448 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13449 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13451 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13452 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13454 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13455 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13457 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13458 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13460 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13461 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13463 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13464 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13466 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13468 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13471 * manual/memory.texi (Malloc Tunable Parameters): Add note
13472 about free list pointers overwriting some perturb bytes.
13473 Wording suggested by Roland McGrath.
13475 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13477 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13478 (lgamma_test): Likewise.
13479 (tgamma_test): Likewise.
13481 2012-10-16 Florian Weimer <fweimer@redhat.com>
13484 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13485 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13487 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13489 * NEWS: Mention BZ #14716.
13490 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13491 when removing AVAILABLE1_USES_J macro.
13493 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13495 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13496 (__bswap_64): __uint64_t for unsigned 64-bit int.
13498 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13500 * include/string.h (memmem): Declare libc hidden alias.
13501 * string/memmem.c (memmem): Define libc hidden alias.
13502 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13503 __read, __close instead of open, read, close.
13505 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13507 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13508 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13510 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13511 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13512 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13514 (__rawmemchr_sse2): Likewise.
13515 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13516 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13517 (__strchr_sse2): Likewise.
13518 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13519 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13520 (__strcasecmp_sse2): Likewise.
13521 (__strncasecmp_sse2): Likewise.
13522 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13523 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13524 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13525 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13526 (__strrchr_sse2): Likewise.
13527 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13529 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13530 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13531 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13532 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13533 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13534 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13535 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13537 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13538 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13539 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13540 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13541 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13542 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13543 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13544 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13545 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13546 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13547 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13548 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13549 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13550 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13551 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13552 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13553 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13554 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13555 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13556 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13557 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13558 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13560 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13562 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13563 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13564 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13565 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13567 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13569 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13570 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13571 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13572 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13574 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13575 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13576 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13577 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13578 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13579 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13580 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13581 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13583 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13584 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13585 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13586 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13587 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13588 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13590 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13591 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13592 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13593 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13594 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13595 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13597 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13598 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13599 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13600 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13601 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13602 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13603 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13604 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13605 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13606 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13607 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13608 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13609 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13610 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13611 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13612 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13613 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13614 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13616 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13617 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13618 * include/ifunc-impl-list.h: New file.
13619 * misc/ifunc-impl-list.c: Likewise.
13620 * misc/Makefile (routines): Add ifunc-impl-list.
13621 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13622 * string/test-string.h: Include <ifunc-impl-list.h>.
13623 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13624 impl_array): New variables.
13625 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13627 (test_init): Call __libc_ifunc_impl_list to initialize
13628 func_list if TEST_IFUNC and TEST_NAME are defined.
13630 * string/Makefile (strop-tests): Add bcopy and bzero.
13631 * string/test-bcopy.c: New file.
13632 * string/test-bzero.c: Likewise.
13633 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13635 * string/test-memset.c: Support bzero test if TEST_BZERO is
13637 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13639 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13641 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13644 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13646 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13647 * configure: Regenerated.
13649 * Makeconfig (+link-static-before-libc): Don't include
13650 $(link-static-libc).
13652 * libio/libio.h (_IO_pos_t): Remove.
13654 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13656 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13659 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13661 * crypt/crypt-entry.c: Include fips-private.h.
13662 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13663 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13664 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13665 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13667 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13669 * crypt/crypt-private.h: Include stdbool.h.
13670 (_ufc_setup_salt_r): Return bool.
13671 * crypt/crypt-entry.c: Include errno.h.
13672 (__crypt_r): Return NULL with EINVAL for bad salt.
13673 * crypt/crypt_util.c (bad_for_salt): New.
13674 (_ufc_setup_salt_r): Check that salt is long enough and within
13675 the specified alphabet.
13676 * crypt/badsalttest.c: New file.
13677 * crypt/Makefile (tests): Add it.
13678 ($(objpfx)badsalttest): New.
13680 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13682 * NEWS: Add entry for BZ #14602.
13684 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13686 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13688 * math/libm-test.inc: Update comment listing what functions and
13690 (isgreater_test): New function.
13691 (isgreaterequal_test): Likewise.
13692 (isless_test): Likewise.
13693 (islessequal_test): Likewise.
13694 (islessgreater_test): Likewise.
13695 (isunordered_test): Likewise.
13696 (main): Call the new functions.
13698 2012-10-09 Roland McGrath <roland@hack.frob.com>
13700 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13701 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13702 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13703 * sysdeps/i386/configure: Regenerated.
13704 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13705 * sysdeps/mach/configure: Regenerated.
13706 * sysdeps/mach/hurd/configure: Regenerated.
13707 * sysdeps/powerpc/configure: Regenerated.
13708 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13709 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13710 * sysdeps/s390/s390-32/configure: Regenerated.
13711 * sysdeps/s390/s390-64/configure: Regenerated.
13712 * sysdeps/sh/configure: Regenerated.
13713 * sysdeps/sparc/configure: Regenerated.
13714 * sysdeps/unix/sysv/linux/configure: Regenerated.
13715 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13716 * sysdeps/x86_64/configure: Regenerated.
13718 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13719 defined. Don't check if MAP is NULL.
13721 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13723 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13724 (_G_stat64): Likewise.
13725 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13726 (_G_stat64): Likewise.
13727 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13728 instead of struct _G_stat64.
13729 * libio/fileops.c (mmap_remap_check): Likewise.
13730 (decide_maybe_mmap): Likewise.
13731 (_IO_new_file_seekoff): Likewise.
13732 (_IO_file_stat): Likewise.
13733 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13735 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13736 instead of struct _G_stat64.
13737 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13739 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13742 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13744 (CHECK_EOL): New macro.
13745 (two_way_short_needle): Check beginning of haystack for EOL. Use
13747 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13748 Replace with CHECK_EOL.
13749 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13750 Replace with CHECK_EOL.
13752 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13754 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13756 * math/libm-test.inc: Update comment listing what functions and
13758 (finite_test): New function.
13759 (isinf_test): Likewise.
13760 (isnan_test): Likewise.
13761 (fpclassify_test): Test subnormal input.
13762 (isfinite_test): Likewise.
13763 (isnormal_test): Likewise.
13764 (main): Call the new functions.
13766 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13769 * Makerules (%.dynsym): Force C locale when running
13770 $(OBJDUMP) --dynamic-syms.
13772 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13774 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13777 2012-10-06 David S. Miller <davem@davemloft.net>
13779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13780 upper 32-bits of the length value in %o2 since we use branch-on-register
13781 tests which consider the entire 64-bit register.
13783 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13785 * string/test-strstr.c (check2): Add a test for page boundary.
13787 2012-10-05 David S. Miller <davem@davemloft.net>
13789 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13790 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13792 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13794 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13795 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13796 and bzero when HWCAP_SPARC_CRYPTO is present.
13798 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13801 * string/test-strstr.c (check2): New function.
13802 (test_main): Call check2.
13804 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13806 * string/bug-strcasestr1.c (do_test): Moved to ...
13807 * string/test-strcasestr.c (check1): Here. New function.
13808 (do_one_test): Break out result checking code into ...
13809 (check_result): This. New function.
13810 (do_one_test): Call check_result.
13811 (test_main): Call check1.
13812 * string/bug-strchr1.c (do_test): Moved to ...
13813 * string/test-strchr.c (check1): Here. New function.
13814 (do_one_test): Break out result checking code into ...
13815 (check_result): This. New function.
13816 (do_one_test): Call check_result.
13817 (test_main): Call check1.
13818 * string/bug-strstr1.c (main): Moved to ...
13819 * string/test-strstr.c (check1): Here. New function.
13820 (do_one_test): Break out result checking code into ...
13821 (check_result): This. New function.
13822 (do_one_test): Call check_result.
13823 (test_main): Call check1.
13824 * string/bug-strcasestr1.c: Removed.
13825 * string/bug-strchr1.c: Likewise.
13826 * string/bug-strstr1.c: Likewise.
13828 * elf/Makefile (dl-routines): Add hwcaps.
13829 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13830 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13831 (_dl_important_hwcaps): Moved to ...
13832 * elf/dl-hwcaps.c: Here. New file.
13833 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13836 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13837 if IS_IN_rtld isn't defined.
13839 * elf/dl-support.c (_dl_sysinfo_map): New.
13840 Include "get-dynamic-info.h" and "setup-vdso.h".
13841 (_dl_non_dynamic_init): Call setup_vdso.
13842 * elf/dynamic-link.h: Don't include <assert.h>.
13843 (elf_get_dynamic_info): Moved to ...
13844 * elf/get-dynamic-info.h: Here. New file.
13845 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13846 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13847 * elf/setup-vdso.h: Here. New file.
13848 * elf/rtld.c: Include "setup-vdso.h".
13849 (dl_main): Call setup_vdso.
13851 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13853 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13854 creal in comment listing functions tested. List finite, isinf,
13855 isnan, isless, islessequal, isgreater, isgreaterequal,
13856 islessgreater, isunordered, lgamma_r and pow10 as functions and
13857 macros not tested. Mention which functions not tested are aliases
13858 for other functions. Fix typo. Note that signs of NaNs are not
13861 * scripts/config.guess: Update from config.git.
13862 * scripts/config.sub: Likewise.
13864 2012-10-04 Roland McGrath <roland@hack.frob.com>
13866 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13867 * misc/madvise.c (madvise): Renamed to __madvise.
13868 Make madvise a weak alias.
13869 * include/sys/mman.h: Declare __madvise.
13870 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13871 * sysdeps/unix/syscalls.list
13872 (madvise): Make __madvise the strong name, and madvise a weak alias.
13873 * sysdeps/unix/sysv/linux/syscalls.list
13874 (madvise, mmap): Remove redundant entries.
13875 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13876 * malloc/malloc.c (mtrim): Likewise.
13877 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13879 2012-10-03 Roland McGrath <roland@hack.frob.com>
13881 * sysdeps/mach/hurd/dl-cache.c: File removed.
13882 * config.h.in (USE_LDCONFIG): New #undef.
13883 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13884 * configure: Regenerated.
13885 * elf/Makefile (dl-routines): Add dl-cache only under
13886 [$(use-ldconfig) = yes].
13887 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13888 cache on [USE_LDCONFIG].
13889 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13891 * elf/rtld.c (dl_main): Likewise.
13893 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13895 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13896 _SC_LEVEL4_CACHE_LINESIZE.
13898 2012-10-03 Roland McGrath <roland@hack.frob.com>
13900 * sysdeps/unix/bsd/confstr.h: File removed.
13902 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13904 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13907 2012-10-02 Roland McGrath <roland@hack.frob.com>
13909 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13910 Make 'mapoff' field ElfW(Off) rather than off_t.
13912 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13914 * nscd/Makefile: Remove nscd-cflags and all its users.
13915 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13916 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13919 * malloc.c (malloc_printerr): Clarify error message.
13921 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13925 Set bit_FMA_Usable if FMA is supported.
13926 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13928 (bit_FMA4_Usable): Updated.
13929 (index_FMA_Usable): New macro.
13930 (CPUID_FMA): Likewise
13931 (HAS_FMA): Defined with bit_FMA_Usable.
13933 2012-10-01 Roland McGrath <roland@hack.frob.com>
13935 * bits/types.h (__swblk_t): Type removed.
13936 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13937 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13938 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13939 (__SWBLK_T_TYPE): Likewise.
13940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13941 (__SWBLK_T_TYPE): Likewise.
13942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13943 (__SWBLK_T_TYPE): Likewise.
13944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13945 (__SWBLK_T_TYPE): Likewise.
13947 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13948 Honza Horak <hhorak@redhat.com>
13950 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13951 (xdr_mapname): Use YPMAXMAP as maxsize.
13952 (xdr_peername): Use YPMAXPEER as maxsize.
13953 (xdr_keydat): Use YPAXRECORD as maxsize.
13954 (xdr_valdat): Use YPMAXRECORD as maxsize.
13956 2012-10-01 Roland McGrath <roland@hack.frob.com>
13958 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13960 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13961 * csu/init-first.c: ... here.
13962 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13963 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13965 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13966 * sysdeps/i386/init-first.c: File removed.
13967 * sysdeps/sh/init-first.c: File removed.
13969 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13973 if x * y might underflow to zero and z is zero.
13974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13976 * math/libm-test.inc (min_subnorm_value): New variable.
13977 (fma_test): Add more tests.
13978 (fma_test_towardzero): Likewise.
13979 (fma_test_downward): Likewise
13980 (fma_test_upward): Likewise.
13981 (initialize): Set min_subnorm_value.
13983 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13989 mode for addition resulting in exact zero.
13990 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13995 * math/libm-test.inc (fma_test): Add more tests.
13996 (fma_test_towardzero): New function.
13997 (fma_test_downward): Likewise.
13998 (fma_test_upward): Likewise.
13999 (main): Call the new functions.
14001 2012-09-28 David S. Miller <davem@davemloft.net>
14003 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14005 2012-09-28 Roland McGrath <roland@hack.frob.com>
14007 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14008 instead of SIGALRM.
14010 * sysdeps/gnu/_G_config.h: Moved to ...
14011 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14012 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14013 * sysdeps/generic/_G_config.h: ... here.
14015 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14017 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14019 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14020 Conditionalize target on [libnss_test1.so-version].
14022 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14024 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14025 (elfobjdir): Move out of conditionals.
14027 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14028 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14029 (__nss_lookup_function): Conditionalize label remove_from_tree on
14030 [!DO_STATIC_NSS || SHARED], matching its only use.
14032 2012-09-28 David S. Miller <davem@davemloft.net>
14034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14035 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14037 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14039 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14041 when HWCAP_SPARC_CRYPTO is present.
14043 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14045 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14047 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14050 * stdio-common/vfprintf.c (process_string_arg): Revert
14053 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14055 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14057 * stdio-common/tst-sprintf.c: Include <locale.h>
14058 (main): Test sprintf's handling of incomplete multibyte
14061 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14063 * elf/dl-runtime.c (VERSYMIDX): Removed.
14064 * elf/dl-version.c (VERSYMIDX): Likewise.
14065 * elf/do-rel.h (VERSYMIDX): Likewise.
14066 (VALIDX): Likewise.
14067 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14068 * elf/rtld.c (VALIDX): Likewise.
14069 (ADDRIDX): Likewise.
14070 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14071 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14072 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14073 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14074 (VALIDX): Likewise.
14075 (ADDRIDX): Likewise.
14077 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14079 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14081 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14084 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14086 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14087 addresses are in the same scope as 192.0.2/24.
14088 * posix/gai.conf: Document new scope table defaults.
14090 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14093 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14094 for ftell. Compute offsets from write pointers instead.
14095 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14097 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14100 * libio/Makefile (tests): New test case tst-fseek.
14101 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14102 combination works in wide mode.
14103 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14104 state when the external buffer state changes.
14106 2012-09-27 David S. Miller <davem@davemloft.net>
14109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14110 pass reloc->r_addend in as the 'high' argument to
14111 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14115 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14117 * rt/tst-aio2.c: Include <pthread.h>.
14118 * rt/tst-aio3.c: Likewise.
14120 2012-09-27 Steve Ellcey <sellcey@mips.com>
14122 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14124 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14126 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14127 contents on [SHARED].
14129 2012-09-26 Marek Polacek <polacek@redhat.com>
14133 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14134 for C++ and GCC <4.3 as well as for non GCC compilers.
14136 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14140 2012-09-25 Roland McGrath <roland@hack.frob.com>
14142 * Makefile.in (all, install): Declare with .PHONY.
14143 Reported by Michael Hope <michael.hope@linaro.org>.
14145 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14147 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14148 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14150 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14152 (sydep_routines): Add the new and the internal functions.
14153 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14154 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14156 (GLIBC_2.17): Add the new function.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14158 (GLIBC_2.17): Likewise.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14160 (GLIBC_2.17): Likewise.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14162 (GLIBC_2.17): Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14165 2012-09-25 Alan Modra <amodra@gmail.com>
14167 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14168 Add release barrier before setting once_control to say
14169 initialisation is done. Add hints on lwarx. Use macro in
14171 (clear_once_control): Add release barrier.
14173 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14176 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14178 * math/s_clog10.c (__clog10): Likewise.
14179 * math/s_clog10f.c (__clog10f): Likewise.
14180 * math/s_clog10l.c (__clog10l): Likewise.
14181 * math/s_clogf.c (__clogf): Likewise.
14182 * math/s_clogl.c (__clogl): Likewise.
14183 * math/Makefile (libm-calls): Add x2y2m1.
14184 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14185 (__x2y2m1): Likewise.
14186 (__x2y2m1l): Likewise.
14187 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14188 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14190 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14191 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14192 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14193 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14194 * sysdeps/i386/fpu/libm-test-ulps: Update.
14195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14198 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14199 int as type of variable DEPTH.
14200 (glob): Use size_t instead of int as type of variables NEWCOUNT
14203 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14205 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14206 Add s_sincosf-sse2.
14207 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14208 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14209 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14210 macros for using routine as __sincosf_ia32.
14211 Use macro for function declaration and weak_alias.
14212 * sysdeps/i386/fpu/libm-test-ulps: Update.
14214 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14217 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14218 subnormal argument.
14219 * math/s_cexpf.c (__cexpf): Likewise.
14220 * math/s_csinf.c (__csinf): Likewise.
14221 * math/s_csinhf.c (__csinhf): Likewise.
14222 * math/s_ctanf.c (__ctanf): Likewise.
14223 * math/s_ctanhf.c (__ctanhf): Likewise.
14224 * math/s_ccosh.c (__ccoshf): Likewise.
14225 * math/s_cexp.c (__cexpl): Likewise.
14226 * math/s_csin.c (__csin): Likewise.
14227 * math/s_csinh.c (__csinh): Likewise.
14228 * math/s_ctan.c (__ctan): Likewise.
14229 * math/s_ctanh.c (ctanh): Likewise.
14230 * math/s_ccoshl.c (__ccoshl): Likewise.
14231 * math/s_cexpl.c (__cexpl): Likewise.
14232 * math/s_csinl.c (__csinl): Likewise.
14233 * math/s_csinhl.c (__csinhl): Likewise.
14234 * math/s_ctanl.c (__ctanl): Likewise.
14235 * math/s_ctanhl.c (__ctanhl): Likewise.
14237 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14239 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14240 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14241 (_IO_off_t): Define to __off_t, not _G_off_t.
14242 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14243 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14244 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14245 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14246 type of __dummy and __dummy2 fields.
14247 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14248 (_G_ssize_t): Likewise.
14249 (_G_off_t): Likewise.
14250 (_G_pid_t): Likewise.
14251 (_G_uid_t): Likewise.
14252 (_G_wchar_t): Likewise.
14253 (_G_wint_t): Likewise.
14254 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14255 (_G_ssize_t): Likewise.
14256 (_G_off_t): Likewise.
14257 (_G_pid_t): Likewise.
14258 (_G_uid_t): Likewise.
14259 (_G_wchar_t): Likewise.
14260 (_G_wint_t): Likewise.
14261 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14262 (_G_ssize_t): Likewise.
14263 (_G_off_t): Likewise.
14264 (_G_pid_t): Likewise.
14265 (_G_uid_t): Likewise.
14266 (_G_wchar_t): Likewise.
14267 (_G_wint_t): Likewise.
14269 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14271 * malloc/arena.c: Include malloc-sysdep.h.
14272 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14273 is sufficient to shrink the heap or an unmap is needed.
14274 * sysdeps/generic/malloc-sysdep.h: New file. Define
14275 new function check_may_shrink_heap.
14276 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14277 new function check_may_shrink_heap.
14279 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14281 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14284 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14286 * catgets/test-gencat.sh: Add "set -e".
14287 * elf/tst-pathopt.sh: Likewise.
14288 * grp/tst_fgetgrent.sh: Likewise.
14289 * iconvdata/run-iconv-test.sh: Likewise.
14290 * intl/tst-gettext.sh: Likewise.
14291 * intl/tst-gettext2.sh: Likewise.
14292 * intl/tst-gettext4.sh: Likewise.
14293 * intl/tst-gettext6.sh: Likewise.
14294 * intl/tst-translit.sh: Likewise.
14295 * io/ftwtest-sh: Likewise.
14296 * libio/test-freopen.sh: Likewise.
14297 * malloc/tst-mtrace.sh: Likewise.
14298 * posix/globtest.sh: Likewise.
14299 * posix/tst-getconf.sh: Likewise.
14300 * posix/wordexp-tst.sh: Likewise.
14301 * stdio-common/tst-printf.sh: Likewise.
14302 * stdio-common/tst-unbputc.sh: Likewise.
14303 * stdlib/tst-fmtmsg.sh: Likewise.
14304 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14305 * catgets/Makefile: Do not specify -e option when running
14306 testsuite shell scripts.
14307 * elf/Makefile: Likewise.
14308 * grp/Makefile: Likewise.
14309 * iconvdata/Makefile: Likewise.
14310 * intl/Makefile: Likewise.
14311 * io/Makefile: Likewise.
14312 * libio/Makefile: Likewise.
14313 * malloc/Makefile: Likewise.
14314 * posix/Makefile: Likewise.
14315 * stdio-common/Makefile: Likewise.
14316 * stdlib/Makefile: Likewise.
14317 * sysdeps/x86_64/Makefile: Likewise.
14319 * io/ftwtest-sh: Add copyright header.
14320 * posix/globtest.sh: Likewise.
14321 * posix/tst-getconf.sh: Likewise.
14322 * posix/wordexp-tst.sh: Likewise.
14323 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14325 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14328 * Makeconfig (+link): Defined as $(+link-static) if
14329 $(build-shared) isn't yes.
14330 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14332 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14334 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14337 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14338 new chunk size with MALLOC_ALIGN_MASK.
14340 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14343 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14345 (__printf_fphex): Determine rounding using get_rounding_mode and
14347 * stdio-common/tst-printf-round.c (struct hex_test): New
14349 (hex_tests): New variable.
14350 (test_hex_in_one_mode): New function.
14351 (do_test): Also run tests for hex float output.
14353 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14355 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14356 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14357 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14358 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14359 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14360 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14361 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14364 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14366 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14367 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14368 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14369 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14371 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14374 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14376 * elf/tst-rtld-load-self.sh: New test.
14377 * elf/Makefile: Run it.
14379 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14381 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14382 (tst-writev-ENV): Remove.
14383 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14385 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14387 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14389 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14391 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14393 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14395 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14396 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14400 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14403 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14404 * config.make.in (have-cpp-asm-debuginfo): Removed.
14405 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14406 * configure: Regenerated.
14408 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14411 * stdio-common/printf_fp.c: Include <stdbool.h> and
14413 (___printf_fp): Determine rounding using get_rounding_mode and
14415 * stdio-common/tst-printf-round.c: New file.
14416 * stdio-common/Makefile (tests): Add tst-printf-round.
14417 (link-libm): New variable.
14418 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14420 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14423 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14424 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14426 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14429 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14431 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14432 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14433 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14434 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14436 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14439 * include/rounding-mode.h: New file.
14440 * sysdeps/generic/get-rounding-mode.h: Likewise.
14441 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14442 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14443 (MAX_VALUE): New macro.
14444 (MIN_VALUE): Likewise.
14445 (overflow_value): New function.
14446 (underflow_value): Likewise.
14447 (round_and_return): Use overflow_value and underflow_value to
14448 determine return values in overflow and underflow cases. Use
14449 round_away to determine rounding depending on rounding mode.
14450 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14451 determine return values in overflow and underflow cases.
14452 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14453 (struct test_results): New structure.
14454 (struct test): Use struct test_results to store expected results
14455 for all rounding modes.
14456 (TEST): Include expected results for all rounding modes.
14457 (test_in_one_mode): New function.
14458 (do_test): Use test_in_one_mode to compute and check results.
14459 Check results for all rounding modes.
14460 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14463 2012-12-09 Allan McRae <allan@archlinux.org>
14465 * sysdeps/i386/fpu/libm-test-ulps: Update
14467 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14469 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14470 (_G_int32_t): Likewise.
14471 (_G_uint16_t): Likewise.
14472 (_G_uint32_t): Likewise.
14473 (_G_HAVE_BOOL): Likewise.
14474 (_G_HAVE_ATEXIT): Likewise.
14475 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14476 (_G_HAVE_IO_FILE_OPEN): Likewise.
14477 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14478 (_G_int32_t): Likewise.
14479 (_G_uint16_t): Likewise.
14480 (_G_uint32_t): Likewise.
14481 (_G_HAVE_BOOL): Likewise.
14482 (_G_HAVE_ATEXIT): Likewise.
14483 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14484 (_G_HAVE_IO_FILE_OPEN): Likewise.
14485 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14486 (_G_int32_t): Likewise.
14487 (_G_uint16_t): Likewise.
14488 (_G_uint32_t): Likewise.
14489 (_G_HAVE_BOOL): Likewise.
14490 (_G_HAVE_ATEXIT): Likewise.
14491 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14492 (_G_HAVE_IO_FILE_OPEN): Likewise.
14494 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14496 * csu/libc-tls.c: Update copyright years.
14498 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14500 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14501 [!_G_USING_THUNKS]: Remove conditional code.
14502 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14503 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14505 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14506 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14507 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14508 (_G_VTABLE_LABEL_PREFIX): Likewise.
14509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14510 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14511 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14512 (_G_VTABLE_LABEL_PREFIX): Likewise.
14513 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14514 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14515 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14516 (_G_VTABLE_LABEL_PREFIX): Likewise.
14517 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14519 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14521 * libio/Makefile: Include ../Makeconfig before tests.
14522 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14523 only if $(build-shared) is yes.
14525 * iconv/gconv_db.c: Update copyright years.
14527 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14530 unwind info if defined PIC. Fix special cases description.
14531 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14533 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14535 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14537 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14539 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14541 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14544 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14545 (LDLIBS-tst-chk4): This.
14546 (LDFLAGS-tst-chk5): Renamed to ...
14547 (LDLIBS-tst-chk5): This.
14548 (LDFLAGS-tst-chk6): Renamed to ...
14549 (LDLIBS-tst-chk6): This.
14550 (LDFLAGS-tst-lfschk4): Renamed to ...
14551 (LDLIBS-tst-lfschk4): This.
14552 (LDFLAGS-tst-lfschk5): Renamed to ...
14553 (LDLIBS-tst-lfschk5): This.
14554 (LDFLAGS-tst-lfschk6): Renamed to ...
14555 (LDLIBS-tst-lfschk6): This.
14557 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14558 on $(common-objpfx)soversions.mk.
14560 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14563 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14566 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14568 * malloc/arena.c (arena_get_retry): New function that gets
14569 another arena for the caller to try its request on.
14570 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14571 current arena cannot fulfill the request.
14572 (__libc_memalign): Likewise.
14573 (__libc_memalign): Likewise.
14574 (__libc_pvalloc): Likewise.
14575 (__libc_calloc): Likewise.
14577 2012-09-05 John Tobey <john.tobey@gmail.com>
14580 * manual/arith.texi (Operations on Complex): Fix description
14581 of carg branch cut.
14583 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14586 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14590 * manual/memory.texi (Memory): Make order of menu items match
14593 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14595 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14596 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14597 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14599 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14601 * csu/libc-tls.c (static_dtv): Renamed to ...
14602 (_dl_static_dtv): This. Make it global.
14603 (_dl_initial_dtv): Removed.
14604 (__libc_setup_tls): Updated.
14605 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14606 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14609 2012-09-06 Petr Machata <pmachata@redhat.com>
14611 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14612 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14613 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14614 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14616 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14619 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14620 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14623 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14626 * Makeconfig (link-static-before-libc): Replace $(+prector)
14628 (link-static-after-libc): Replace $(+postctor) with
14630 (link-bounded): Replace $(+prector)/$(+postctor) with
14631 $(+prectorT)/$(+postctorT).
14632 (+prectorT): New macro.
14633 (+postctorT): Likewise.
14635 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14637 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14638 (round_str): Handle values above the maximum for IBM long double
14640 * stdlib/tst-strtod-round.c (tests): Regenerated.
14642 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14644 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14646 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14647 zarch_nohighgprs around the zarch optimized routines.
14648 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14649 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14653 2012-09-05 David S. Miller <davem@davemloft.net>
14655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14657 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14658 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14659 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14660 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14663 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14665 * malloc/arena.c: Fold copyright years.
14666 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14668 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14670 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14672 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14674 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14678 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14679 change internal state upon failure.
14681 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14683 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14684 * malloc/memusage.c (mmap): Likewise.
14685 (mmap64, mremap): Likewise. Adjust name in comment.
14687 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14689 * libio/fileops.c: Fix typos in comments.
14690 * libio/oldfileops.c: Likewise.
14691 * libio/wfileops.c: Likewise.
14693 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14696 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14697 (tst-malloc-usable-ENV): Set environment for test case.
14698 * malloc/hooks.c (malloc_check_get_size): New function to get
14700 * malloc/malloc.c (musable): Use malloc_check_get_size.
14701 * malloc/tst-malloc-usable.c: New test case.
14703 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14705 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14707 2012-09-05 Allan McRae <allan@archlinux.org>
14710 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14711 determine header location.
14712 * configure: Regenerated.
14714 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14716 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14718 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14719 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14721 (test): Regenerate.
14723 2012-09-04 David S. Miller <davem@davemloft.net>
14725 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14726 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14727 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14729 2012-09-04 Florian Weimer <fweimer@redhat.com>
14731 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14734 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14736 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14739 * libio/iogetdelim.c: Include <limits.h>.
14740 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14741 + len + 1 would overflow.
14743 2012-09-03 Andreas Jaeger <aj@suse.de>
14745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14748 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14750 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14751 Add s_sinf-sse2, s_conf-sse2.
14753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14754 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14755 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14756 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14758 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14759 for using routine as __sinf_ia32.
14760 Use macro for function declaration and weak_alias.
14761 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14762 for using routine as __cosf_ia32.
14763 Use macro for function declaration and weak_alias.
14765 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14766 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14768 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14769 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14772 * math/libm-test.inc (cos_test): Add more test cases.
14773 (sin_test): Likewise.
14774 (sincos_test): Likewise.
14776 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14778 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14779 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14781 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14783 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14786 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14787 first element of the GOT.
14788 (elf_machine_load_address): Return the difference between
14789 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14791 2012-09-01 Allan McRae <allan@archlinux.org>
14794 * configure.in (AWK): Require gawk version 3.0 or later.
14795 * configure: Regenerated.
14797 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14799 * sysdeps/unix/sysv/linux/kernel-features.h
14800 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14802 [__NR_clock_getres]: Make code unconditional.
14803 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14804 (clock_getcpuclockid): Remove code left unreachable by removal of
14806 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14807 code unconditional.
14808 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14809 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14810 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14811 Make code unconditional.
14812 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14813 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14814 * sysdeps/unix/sysv/linux/clock_settime.c
14815 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14817 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14818 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14820 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14823 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14824 scripts/test-installation.pl.
14826 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14827 and $ld_so_version if it is set.
14829 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14832 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14833 failure if reading from procfs failed.
14834 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14836 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14838 * sysdeps/unix/sysv/linux/kernel-features.h
14839 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14840 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14841 Remove conditional code.
14842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14843 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14844 Remove conditional code.
14845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14846 * sysdeps/unix/sysv/linux/i386/fxstat.c
14847 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14848 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14849 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14850 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14852 * sysdeps/unix/sysv/linux/i386/lxstat.c
14853 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14855 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14856 Remove conditional code.
14857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14858 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14859 Remove conditional code.
14860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14861 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14862 <kernel-features.h>.
14863 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14865 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14866 Remove conditional code.
14867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14868 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14869 Remove conditional.
14871 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14874 * NEWS: Add fixed bug number.
14876 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14879 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14880 underflowing exponent in case of negative sign.
14881 * stdlib/tst-strtod-round-data: Add more tests.
14882 * stdlib/tst-strtod-round.c (tests): Regenerated.
14885 * stdlib/strtod_l.c (NDIG): Remove.
14886 (HEXNDIG): Likewise.
14887 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14888 smallest representable value.
14889 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14890 lie within an exact representation of 1/2 ulp of the result.
14891 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14893 (TENS_P9_IDX): Define unconditionally.
14894 (TENS_P9_SIZE): Likewise.
14895 (TENS_P10_IDX): Likewise.
14896 (TENS_P10_SIZE): Likewise.
14897 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14898 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14899 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14900 entries for 10^2^13 and 10^2^14.
14901 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14902 (TENS_P13_IDX): Define.
14903 (TENS_P13_SIZE): Likewise.
14904 (TENS_P14_IDX): Likewise.
14905 (TENS_P14_SIZE): Likewise.
14906 (_fpioconst_pow10): Change array size to
14907 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14909 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14910 1024]: Add entries for 10^2^13 and 10^2^14.
14911 [LAST_POW10 > _LAST_POW10]: Remove #error.
14912 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14913 (_fpioconst_pow10): Change array size to
14914 FPIOCONST_POW10_ARRAY_SIZE.
14915 * stdlib/gen-fpioconst.c: New file.
14916 * stdlib/gen-tst-strtod-round.c: Likewise.
14917 * stdlib/tst-strtod-round-data: Likewise.
14918 * stdlib/tst-strtod-round.c: Likewise.
14919 * stdlib/Makefile (tests): Add tst-strtod-round.
14922 * stdlib/strtod_l.c: Include <stdint.h>.
14923 (NDEBUG): Do not define.
14924 (round_and_return): Change EXPONENT parameter to type intmax_t.
14925 Rearrange calculations to avoid internal overflow possibilities.
14926 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14927 Rearrange calculations to avoid internal overflow possibilities.
14928 Assert that number fits inside MPNSIZE limbs.
14929 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14930 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14931 calculations and add assertions to avoid internal overflow
14932 possibilities. Add casts to avoid signed/unsigned operations.
14933 * stdlib/tst-strtod-overflow.c: New file.
14934 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14936 2012-08-25 Marek Polacek <polacek@redhat.com>
14938 * time/time.h: Fix some typos in comments.
14940 2012-08-23 Roland McGrath <roland@hack.frob.com>
14942 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14943 * posix/tst-rfc3484-2.c: Likewise.
14944 * posix/tst-rfc3484-3.c: Likewise.
14946 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14948 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14949 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14951 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14953 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14954 #include of fxstatat64.c.
14956 2012-08-22 Roland McGrath <roland@hack.frob.com>
14958 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14959 * shadow/getspent_r.c: Likewise.
14960 * shadow/getspnam.c: Likewise.
14961 * shadow/getspnam_r.c: Likewise.
14962 * gshadow/getsgent.c: Likewise.
14963 * gshadow/getsgent_r.c: Likewise.
14964 * gshadow/getsgnam.c: Likewise.
14965 * gshadow/getsgnam_r.c: Likewise.
14966 * inet/getnetbyad.c: Likewise.
14967 * inet/getnetbyad_r.c: Likewise.
14968 * inet/getnetbynm.c: Likewise.
14969 * inet/getnetbynm_r.c: Likewise.
14970 * inet/getnetent.c: Likewise.
14971 * inet/getnetent_r.c: Likewise.
14972 * inet/getproto.c: Likewise.
14973 * inet/getproto_r.c: Likewise.
14974 * inet/getprtent.c: Likewise.
14975 * inet/getprtent_r.c: Likewise.
14976 * inet/getprtname.c: Likewise.
14977 * inet/getprtname_r.c: Likewise.
14978 * inet/getrpcbyname.c: Likewise.
14979 * inet/getrpcbyname_r.c: Likewise.
14980 * inet/getrpcbynumber.c: Likewise.
14981 * inet/getrpcbynumber_r.c: Likewise.
14982 * inet/getrpcent.c: Likewise.
14983 * inet/getrpcent_r.c: Likewise.
14984 * inet/getaliasent.c: Likewise.
14985 * inet/getaliasent_r.c: Likewise.
14986 * inet/getaliasname.c: Likewise.
14987 * inet/getaliasname_r.c: Likewise.
14988 * nscd/getgrgid_r.c: Likewise.
14989 * nscd/getgrnam_r.c: Likewise.
14990 * nscd/gethstbyad_r.c: Likewise.
14991 * nscd/gethstbynm3_r.c: Likewise.
14992 * nscd/getpwnam_r.c: Likewise.
14993 * nscd/getpwuid_r.c: Likewise.
14994 * nscd/getsrvbynm_r.c: Likewise.
14995 * nscd/getsrvbypt_r.c: Likewise.
14996 * nscd/gai.c: Likewise.
14998 * configure.in (build_nscd): New substituted variable, set
14999 by --disable-build-nscd and defaults to $use_nscd.
15000 * configure: Regenerated.
15001 * config.make.in (build-nscd): New substituted variable.
15002 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15003 Change conditional to require [$(build-nscd) = yes] as well.
15004 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15007 * configure.in (use_nscd): New substituted variable, set by
15008 --disable-nscd. If enabled, define USE_NSCD.
15009 * configure: Regenerated.
15010 * config.h.in: Add USE_NSCD.
15011 * config.make.in (use-nscd): New substituted variable.
15012 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15013 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15014 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15015 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15016 (CFLAGS-getgrnam_r.c): Likewise.
15017 (CFLAGS-initgroups.c): Likewise.
15018 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15019 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15021 * inet/getnetgrent_r.c
15022 (nscd_setnetgrent): New function, broken out of ...
15023 (setnetgrent): ... here. Call it.
15024 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15025 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15026 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15027 * nscd/Makefile (routines, aux): Move definitions after include of
15028 Makeconfig. Conditionalize on [$(use-nscd) != no].
15029 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15030 Conditionalize on [USE_NSCD].
15031 (is_nscd, nscd_init_cb): Likewise.
15032 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15033 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15034 * nss/nss_db/db-init.c: Likewise.
15035 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15037 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15038 (make_request): Use it.
15039 (cache_valid_p): New function.
15040 (__check_pf): Use it.
15041 * NEWS: Add item for --disable-nscd.
15043 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15045 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15046 to support sed >= 4.2.1-20-ga9bf076.
15047 * configure: Regenerated.
15049 2012-08-22 Roland McGrath <roland@hack.frob.com>
15051 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15052 Conditionalize whole body on [IREL].
15054 2012-08-22 Jeff Law <law@redhat.com>
15057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15058 if the family is PF_UNSPEC.
15060 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15062 * Makerules (lib-version): Rename from V.
15063 (install-lib-nosubdir): Change V to lib-version.
15065 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15068 * powerpc32/power6/wcschr.c: New file.
15069 * powerpc32/power6/wcscpy.c: New file.
15070 * powerpc32/power6/wcsrchr.c: New file.
15071 * powerpc64/power6/wcschr.c: New file.
15072 * powerpc64/power6/wcscpy.c: New file.
15073 * powerpc64/power6/wcsrchr.c: New file.
15075 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15077 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15078 (two_way_short_needle): Use it.
15079 * string/strstr.c (AVAILABLE1_USES_J): Define.
15080 * string/strcasestr.c: Likewise.
15082 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15084 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15087 * NEWS: Add an entry.
15088 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15089 define their defaults.
15090 (two_way_short_needle): Detect end-of-string on-the-fly.
15091 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15092 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15093 * string/bug-strcasestr1.c: New test.
15094 * string/Makefile: Run it.
15096 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15099 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15100 the first character.
15102 2012-08-21 Roland McGrath <roland@hack.frob.com>
15104 * csu/elf-init.c (__libc_csu_irel): Function removed.
15105 * csu/libc-start.c (apply_irel): New function.
15106 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15108 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15110 * sysdeps/unix/sysv/linux/kernel-features.h
15111 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15112 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15113 <kernel-features.h>.
15114 [__NR_fadvise64_64]: Make code unconditional.
15115 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15116 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15117 !__NR_fadvise64_64)]: Likewise.
15118 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15119 !__NR_fadvise64_64))]: Likewise.
15120 [__NR_fadvise64]: Make code unconditional.
15121 [!__NR_fadvise64]: Remove conditional code.
15122 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15123 <kernel-features.h>.
15124 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15126 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15129 not include <kernel-features.h>.
15130 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15132 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15134 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15135 include <kernel-features.h>.
15136 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15138 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15141 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15144 slight instruction rearrangements per scrollpipe analysis.
15145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15147 2012-08-20 Roland McGrath <roland@hack.frob.com>
15149 * manual/syslog.texi (syslog; vsyslog, closelog):
15150 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15151 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15153 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15154 DSOCAPS to match condition on defining it.
15156 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15158 * sysdeps/unix/sysv/linux/kernel-features.h
15159 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15161 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15162 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15164 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15165 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15167 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15168 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15170 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15171 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15173 * sysdeps/unix/sysv/linux/kernel-features.h
15174 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15175 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15177 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15178 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15179 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15180 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15181 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15182 Make code unconditional.
15183 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15184 (__mmap64) [!__NR_mmap2]: Likewise.
15185 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15186 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15187 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15188 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15189 [__NR_mmap2]: Make code unconditional.
15190 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15191 (__mmap64) [!__NR_mmap2]: Likewise.
15193 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15195 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15197 2012-08-18 Andreas Jaeger <aj@suse.de>
15199 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15201 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15203 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15204 * include/unistd.h (__have_sock_cloexec): Likewise.
15205 (__have_pipe2): Likewise.
15206 (__have_dup3): Likewise.
15208 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15211 * include/unistd.h (__have_pipe2): Change define into an extern int.
15212 (__have_dup3): Likewise.
15213 * socket/have_sock_cloexec.c: Include fcntl.h.
15214 (__have_pipe2): New variable.
15215 (__have_dup3): Likewise.
15217 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15219 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15221 2012-08-17 Marek Polacek <polacek@redhat.com>
15223 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15224 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15226 2012-08-17 Roland McGrath <roland@hack.frob.com>
15228 * configure.in: Add AC_SUBST for sysheaders.
15229 * configure: Regenerated.
15230 * config.make.in (sysheaders): New substituted variable.
15232 * sysdeps/unix/mkfifo.c: Moved ...
15233 * sysdeps/posix/mkfifo.c: ... here.
15234 * sysdeps/unix/mkfifoat.c: Moved ...
15235 * sysdeps/posix/mkfifoat.c: ... here.
15237 * sysdeps/unix/utime.c: Moved ...
15238 * sysdeps/posix/utime.c: ... here.
15240 * sysdeps/unix/time.c: Moved ...
15241 * sysdeps/posix/time.c: ... here.
15242 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15243 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15245 * sysdeps/unix/nice.c: Moved ...
15246 * sysdeps/posix/nice.c: ... here.
15248 * sysdeps/unix/alarm.c: Moved ...
15249 * sysdeps/posix/alarm.c: ... here.
15251 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15253 2012-08-17 Jeff Law <law@redhat.com>
15255 * intl/Makefile (codeset_mo): New variable.
15256 ($(codeset_mo)): New target.
15257 (tst-codeset.out): Depend on that. Remove explicit rule.
15258 (tst-gettext3.out, tst-gettext5.out): Likewise.
15259 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15260 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15261 * intl/tst-codeset.sh: Remove.
15262 * intl/tst-gettext3.sh: Likewise.
15263 * intl/tst-gettext5.sh: Likewise.
15265 2012-08-17 Roland McGrath <roland@hack.frob.com>
15267 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15268 * sysdeps/unix/syscalls.list: ... here.
15270 * sysdeps/posix/getaddrinfo.c
15271 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15272 (gaiconf_init, gaiconf_reload): Use them.
15273 [!_STATBUF_ST_NSEC]
15274 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15275 Define using time_t rather than struct timespec.
15277 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15278 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15280 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15282 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15283 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15286 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15287 __libc_cleanup_push argument.
15289 * bits/param.h: New file.
15290 * misc/sys/param.h: New file.
15291 * include/sys/param.h: New file.
15292 * misc/Makefile (headers): Add bits/param.h.
15293 * sysdeps/generic/sys/param.h: File removed.
15294 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15295 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15296 * sysdeps/mach/hurd/bits/param.h: New file.
15297 * sysdeps/mach/hurd/sys/param.h: File removed.
15299 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15302 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15304 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15305 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15308 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15309 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15310 rather than -D_IO_MTSAFE_IO conditionally.
15311 * stdio-common/Makefile (CPPFLAGS): Likewise.
15312 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15313 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15314 Use $(libio-mtsafe).
15315 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15316 of -D_IO_MTSAFE_IO.
15317 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15318 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15319 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15320 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15321 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15322 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15323 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15324 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15325 (CFLAGS-fread_u_chk.c): Likewise.
15326 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15327 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15328 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15329 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15330 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15331 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15332 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15333 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15334 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15336 * libio/Makefile: Test [$(libc-reentrant) = yes]
15337 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15340 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15341 * sysdeps/pthread/configure: File removed.
15342 * sysdeps/pthread/Makeconfig: New file.
15343 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15344 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15346 2012-08-16 Gary Benson <gbenson@redhat.com>
15348 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15349 unmapping the first object in a namespace.
15351 2012-08-16 Roland McGrath <roland@hack.frob.com>
15353 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15354 (__internal_setnetgrent): ... this. Add internal_function to
15355 definition. Add libc_hidden_def.
15356 (setnetgrent): Update caller.
15357 (internal_endnetgrent): Renamed to ...
15358 (__internal_endnetgrent): ... this. Add internal_function to
15359 definition. Add libc_hidden_def.
15360 (endnetgrent): Update caller.
15361 (internal_getnetgrent_r): Renamed to ...
15362 (__internal_getnetgrent_r): ... this. Add internal_function to
15363 definition. Add libc_hidden_def.
15364 (__getnetgrent_r): Update caller.
15365 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15367 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15369 * stdlib/longlong.h: Update from GCC.
15371 2012-08-16 Roland McGrath <roland@hack.frob.com>
15373 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15374 on _QL, which is set by umul_ppmm but never used.
15375 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15376 variables, which are set by GMP macros but never used.
15377 * stdio-common/_itowa.c (_itowa): Likewise.
15378 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15379 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15381 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15383 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15384 struct La_sh_regs is not constant.
15385 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15386 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15387 and struct La_sparc64_regs are not constant.
15389 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15391 * sysdeps/unix/sysv/linux/kernel-features.h
15392 (__ASSUME_POSIX_TIMERS): Remove.
15393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15394 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15395 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15396 Make code unconditional.
15397 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15398 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15399 Make code unconditional.
15400 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15401 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15402 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15403 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15404 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15405 Make code unconditional.
15406 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15407 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15408 (__libc_missing_posix_timers): Remove.
15410 2012-08-15 Roland McGrath <roland@hack.frob.com>
15412 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15413 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15415 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15417 * elf/dl-sym.c: Include <stdlib.h>.
15419 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15420 constants, which avoids warnings in 32-bit builds.
15422 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15423 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15425 * misc/lseek.c: File moved to ...
15426 * io/lseek.c: ... here.
15428 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15430 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15431 shifting LEN more than 31 bits at once.
15433 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15436 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15437 segmentation fault for a case of two empty input strings.
15438 * string/test-strncasecmp.c (check1): Renamed to...
15439 (bz12205): ...this.
15440 (bz14195): Add new testcase for two empty input strings and N > 0.
15441 (test_main): Call new testcase, adapt for renamed function.
15443 2012-08-15 Andreas Jaeger <aj@suse.de>
15446 * crypt/md5test2.c: New test, based on test supplied by Serge
15447 Belyshev <belyshev@depni.sinp.msu.ru>.
15448 * crypt/Makefile (xtests): Add md5test-giant..
15449 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15451 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15454 * crypt/md5.c (md5_process_block): Don't assume the buffer
15455 length is less than 2**32.
15456 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15457 length is less than 2**64.
15459 2012-08-15 Roland McGrath <roland@hack.frob.com>
15461 * string/str-two-way.h: Include <sys/param.h>.
15462 (MAX): Macro removed.
15464 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15465 Move #define and #undef of memmove to just before and after
15466 including <string.h>.
15468 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15469 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15470 and after including <string.h>. Move declarations of
15471 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15472 to before #include "string/memmove.c".
15474 * include/dirent.h: Declare __getdirentries.
15476 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15477 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15479 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15481 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15482 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15483 * sysdeps/i386/configure: Regenerated.
15484 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15485 STABS_CURRENT_FILE, and STABS_FUN.
15486 (END): Remove call to STABS_FUN_END.
15487 (STABS_CURRENT_FILE1): Delete.
15488 (STABS_CURRENT_FILE): Likewise.
15489 (STABS_FUN): Likewise.
15490 (STABS_FUN_END): Likewise.
15491 (STABS_FUN2): Likewise.
15492 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15493 * sysdeps/x86_64/configure: Regenerated.
15495 2012-08-14 Roland McGrath <roland@hack.frob.com>
15497 * elf/dl-open.c: Include <atomic.h>.
15498 * elf/dl-lookup.c: Likewise.
15500 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15502 * sysdeps/unix/sysv/linux/kernel-features.h
15503 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15504 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15506 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15508 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15509 condition on __ASSUME_CLONE_THREAD_FLAGS.
15511 2012-08-14 Andreas Jaeger <aj@suse.de>
15513 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15517 * include/atomic.h (atomic_exchange_and_add): Split into ...
15518 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15521 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15525 2012-08-13 Jeff Law <law@redhat.com>
15527 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15528 null byte in the output string.
15530 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/unix/sysv/linux/kernel-features.h
15533 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15534 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15535 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15536 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15537 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15538 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15539 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15541 2012-08-09 Jeff Law <law@redhat.com>
15544 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15545 When avoid_arena is set, don't retry in the that arena. Pick the
15546 next one, whatever it might be.
15547 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15548 (arena_lock): Pass in new parameter to arena_get2.
15549 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15551 (__libc_malloc): Unify retrying after main arena failure with
15552 __libc_memalign version.
15553 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15555 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15558 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15559 to __redirect_strstr.
15560 (__strstr_sse42): Use typeof __redirect_strstr.
15561 (__strstr_ia32): Likewise.
15562 (__libc_strstr): New prototype.
15563 (strstr): Renamed to ...
15564 (__libc_strstr): This.
15565 (strstr): New strong alias of __libc_strstr.
15566 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15567 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15570 (__libc_time): New prototype.
15571 (time_ifunc): Replace time with __libc_time.
15572 (time): New strong alias and hidden definition of __libc_time.
15573 (__GI_time): Remove strong alias.
15574 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15575 Include <stddef.h>.
15576 (memmove): Redefined to __redirect_memmove.
15577 (__memmove_sse2): Use typeof __redirect_memmove.
15578 (__memmove_ssse3): Likewise.
15579 (__memmove_ssse3_back): Likewise.
15580 (__libc_memmove): New prototype.
15581 (memmove): Renamed to ...
15582 (__libc_memmove): This.
15583 (memmove): New strong alias of __libc_memmove.
15585 2012-08-08 Mark Salter <msalter@redhat.com>
15588 (R_MN10300_TLS_GD): Define.
15589 (R_MN10300_TLS_LD): Likewise.
15590 (R_MN10300_TLS_LDO): Likewise.
15591 (R_MN10300_TLS_GOTIE): Likewise.
15592 (R_MN10300_TLS_IE): Likewise.
15593 (R_MN10300_TLS_LE): Likewise.
15594 (R_MN10300_TLS_DTPMOD): Likewise.
15595 (R_MN10300_TLS_DTPOFF): Likewise.
15596 (R_MN10300_TLS_TPOFF): Likewise.
15597 (R_MN10300_SYM_DIFF): Likewise.
15598 (R_MN10300_ALIGN): Likewise.
15599 (R_MN10300_NUM): Update.
15601 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15606 2012-08-08 Roland McGrath <roland@hack.frob.com>
15608 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15610 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15611 sysdeps/unix -> sysdeps/posix move.
15612 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15614 2012-08-07 Allan McRae <allan@archlinux.org>
15617 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15618 (SUNOS_CPP): Likewise.
15619 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15621 (open_input): Call CPP using execvp.
15623 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15625 * sysdeps/unix/sysv/linux/kernel-features.h
15626 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15627 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15628 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15629 (__ASSUME_WAITID_SYSCALL): Likewise.
15630 * sysdeps/unix/sysv/linux/dl-execstack.c
15631 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15632 code unconditional.
15633 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15636 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15637 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15639 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15641 [__ASSUME_WAITID_SYSCALL]: Likewise.
15642 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15644 2012-08-07 Roland McGrath <roland@hack.frob.com>
15646 * sysdeps/unix/closedir.c: Renamed to ...
15647 * sysdeps/posix/closedir.c: ... here.
15648 * sysdeps/unix/dirfd.c: Renamed to ...
15649 * sysdeps/posix/dirfd.c: ... here.
15650 * sysdeps/unix/dirstream.h: Renamed to ...
15651 * sysdeps/posix/dirstream.h: ... here.
15652 * sysdeps/unix/fdopendir.c: Renamed to ...
15653 * sysdeps/posix/fdopendir.c: ... here.
15654 * sysdeps/unix/opendir.c: Renamed to ...
15655 * sysdeps/posix/opendir.c: ... here.
15656 * sysdeps/unix/readdir.c: Renamed to ...
15657 * sysdeps/posix/readdir.c: ... here.
15658 * sysdeps/unix/readdir_r.c: Renamed to ...
15659 * sysdeps/posix/readdir_r.c: ... here.
15660 * sysdeps/unix/rewinddir.c: Renamed to ...
15661 * sysdeps/posix/rewinddir.c: ... here.
15662 * sysdeps/unix/seekdir.c: Renamed to ...
15663 * sysdeps/posix/seekdir.c: ... here.
15664 * sysdeps/unix/telldir.c: Renamed to ...
15665 * sysdeps/posix/telldir.c: ... here.
15666 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15667 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15668 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15669 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15671 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15672 * bits/fcntl.h: ... here.
15674 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15676 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15677 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15678 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15679 (struct flock): Move l_start, l_len to the beginning.
15680 Use __pid_t for l_pid.
15681 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15682 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15683 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15684 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15685 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15686 [__USE_LARGEFILE64] (struct flock64): New type.
15687 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15689 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15690 * bits/dirent.h: ... here.
15692 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15693 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15695 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15698 Change from 2.6.0 to 2.6.16.
15699 * sysdeps/unix/sysv/linux/configure: Regenerated.
15700 * sysdeps/unix/sysv/linux/kernel-features.h
15701 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15702 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15704 (__ASSUME_UTIMES): Likewise.
15705 (__ASSUME_CLONE_STOPPED): Remove.
15706 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15707 architectures, not kernel version.
15708 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15709 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15710 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15711 (__ASSUME_WAITID_SYSCALL): Likewise.
15712 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15713 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15714 * README: State 2.6.16 as minimum Linux kernel version. Do not
15715 refer to older versions.
15717 2012-08-06 Roland McGrath <roland@hack.frob.com>
15719 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15720 Define alphasort64 as an alias.
15721 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15722 Define versionsort64 as an alias.
15723 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15724 Define scandir64 as an alias.
15725 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15726 Define scandirat64 as an alias.
15727 * dirent/alphasort64.c (alphasort64):
15728 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15729 * dirent/versionsort64.c: Likewise.
15730 * dirent/scandir64.c: Likewise.
15731 * dirent/scandirat64.c: Likewise.
15732 * sysdeps/wordsize-64/alphasort.c: File removed.
15733 * sysdeps/wordsize-64/alphasort64.c: File removed.
15734 * sysdeps/wordsize-64/scandir.c: File removed.
15735 * sysdeps/wordsize-64/scandir64.c: File removed.
15736 * sysdeps/wordsize-64/scandirat.c: File removed.
15737 * sysdeps/wordsize-64/scandirat64.c: File removed.
15738 * sysdeps/wordsize-64/versionsort.c: File removed.
15739 * sysdeps/wordsize-64/versionsort64.c: File removed.
15740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15741 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15742 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15744 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15749 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15751 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15753 [defined __arch64__ || defined __sparcv9]
15754 (__INO_T_MATCHES_INO64_T): New macro.
15755 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15756 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15757 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15758 * sysdeps/unix/sysv/linux/bits/dirent.h
15759 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15760 (_DIRENT_MATCHES_DIRENT64): New macro.
15762 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15763 Define lockf64 as an alias.
15764 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15765 Define fseeko64 as an alias.
15766 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15767 Define ftello64 as an alias.
15768 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15769 Define _IO_fgetpos64 and fgetpos64 as aliases.
15770 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15771 Define _IO_fsetpos64 and fsetpos64 as aliases.
15772 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15773 Conditionalize body on this.
15774 * libio/fseeko64.c: Likewise.
15775 * libio/ftello64.c: Likewise.
15776 * libio/iofgetpos64.c: Likewise.
15777 * libio/iofsetpos64.c: Likewise.
15778 * sysdeps/wordsize-64/lockf.c: File removed.
15779 * sysdeps/wordsize-64/lockf64.c: File removed.
15780 * sysdeps/wordsize-64/fseeko.c: File removed.
15781 * sysdeps/wordsize-64/fseeko64.c: File removed.
15782 * sysdeps/wordsize-64/ftello.c: File removed.
15783 * sysdeps/wordsize-64/ftello64.c: File removed.
15784 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15785 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15786 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15787 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15794 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15795 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15797 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15799 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15801 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15803 [defined __arch64__ || defined __sparcv9]
15804 (__OFF_T_MATCHES_OFF64_T): New macro.
15805 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15806 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15808 (__OFF_T_MATCHES_OFF64_T): New macro.
15810 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15812 * stdlib/secure-getenv.c (__secure_getenv): Replace
15813 GLIBC_2_16 with GLIBC_2_17.
15815 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15820 2012-08-03 David S. Miller <davem@davemloft.net>
15822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15824 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15826 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15828 (__ASSUME_CORRECT_SI_PID): Likewise.
15829 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15830 (__ASSUME_TMPFS_NAME): Likewise.
15831 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15832 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15833 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15834 (HAVE_AUX_SECURE): Make definition unconditional.
15835 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15836 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15838 2012-08-03 Roland McGrath <roland@hack.frob.com>
15840 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15841 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15842 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15843 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15844 __eloop_threshold instead of SYMLOOP_MAX.
15846 * sysdeps/generic/eloop-threshold.h: New file.
15847 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15849 * elf/chroot_canon.c (chroot_canon): Likewise.
15851 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15854 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15855 Change to 2.6.0 everywhere.
15856 * sysdeps/unix/sysv/linux/configure: Regenerated.
15857 * sysdeps/unix/sysv/linux/kernel-features.h
15858 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15859 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15861 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15862 (__ASSUME_FUTEX_REQUEUE): Remove.
15863 (__ASSUME_STATFS64): Define unconditionally.
15864 (__ASSUME_AT_SECURE): Likewise.
15865 (__ASSUME_CORRECT_SI_PID): Likewise.
15866 (__ASSUME_TGKILL): Define without depending on kernel version for
15868 (__ASSUME_UTIMES): Likewise.
15869 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15871 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15872 (__ASSUME_TMPFS_NAME): Likewise.
15873 * README: Update reference to Linux kernel versions.
15875 2012-08-02 Marek Polacek <polacek@redhat.com>
15878 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15879 libc_cv_asm_type_prefix with %.
15880 * configure: Regenerated.
15881 * include/libc-symbols.h: Remove comment about
15882 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15883 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15884 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15885 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15886 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15887 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15888 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15889 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15890 * elf/tst-unique2mod1.c: Likewise.
15891 * elf/tst-unique1mod2.c: Likewise.
15892 * elf/tst-unique1mod1.c: Likewise.
15893 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15894 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15895 Replace ASM_TYPE_DIRECTIVE with .type.
15896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15897 * sysdeps/i386/sysdep.h: Likewise.
15898 * sysdeps/x86_64/sysdep.h: Likewise.
15899 * sysdeps/sh/sysdep.h: Likewise.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15901 Do not define ASM_TYPE_DIRECTIVE.
15902 * sysdeps/powerpc/sysdep.h: Likewise.
15903 * sysdeps/powerpc/powerpc32/sysdep.h:
15904 Replace ASM_TYPE_DIRECTIVE with .type.
15905 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15906 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15907 * sysdeps/i386/fpu/e_powf.S: Likewise.
15908 * sysdeps/i386/fpu/e_expl.S: Likewise.
15909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15911 * sysdeps/i386/fpu/e_pow.S: Likewise.
15912 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15914 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15915 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15916 * sysdeps/i386/fpu/e_log2.S: Likewise.
15917 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15919 * sysdeps/i386/fpu/e_powl.S: Likewise.
15920 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15921 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15922 * sysdeps/i386/fpu/e_logl.S: Likewise.
15923 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15924 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15925 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15928 * sysdeps/i386/fpu/e_log.S: Likewise.
15929 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15930 * sysdeps/i386/fpu/e_logf.S: Likewise.
15931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15932 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15933 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15934 * sysdeps/i386/fpu/e_log10.S: Likewise.
15935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15941 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15942 * sysdeps/i386/i686/strtok.S: Likewise.
15943 * sysdeps/i386/i386-mcount.S: Likewise.
15944 * sysdeps/i386/strtok.S: Likewise.
15945 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15948 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15950 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15951 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15952 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15953 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15954 * sysdeps/x86_64/_mcount.S: Likewise.
15955 * sysdeps/x86_64/strtok.S: Likewise.
15956 * sysdeps/sh/_mcount.S: Likewise.
15958 2012-08-01 Roland McGrath <roland@hack.frob.com>
15960 * libio/iofopen.c: Include <fcntl.h>.
15961 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15962 (_IO_fopen64, fopen64): Define as aliases.
15963 * libio/iofopen64.c: Include <fcntl.h>.
15964 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15965 Conditionalize body on this.
15966 * sysdeps/wordsize-64/iofopen.c: File removed.
15967 * sysdeps/wordsize-64/iofopen64.c: File removed.
15969 2012-08-01 Marek Polacek <polacek@redhat.com>
15971 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15972 Use dlfcn directly instead of a variable.
15973 (binfmt-subdir): Do not define.
15976 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15978 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15979 Remove all definitions.
15980 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15981 <kernel-features.h>.
15982 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15983 (miss_F_GETOWN_EX): Remove all definitions.
15984 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15986 [!__ASSUME_FCNTL64]: Remove conditional code.
15987 [__ASSUME_FCNTL64]: Make code unconditional.
15988 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15989 <kernel-features.h>.
15990 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15991 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15992 (lockf64) [__NR_fcntl64]: Make code unconditional.
15993 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15995 * sysdeps/unix/sysv/linux/kernel-features.h
15996 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15997 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15998 Make code unconditional.
15999 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16000 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16002 [__NR_vfork]: Make code unconditional.
16003 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16004 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16006 [__NR_vfork]: Make code unconditional.
16007 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16008 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16010 2012-08-01 Roland McGrath <roland@hack.frob.com>
16012 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16013 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16015 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16016 Define mkstemp64 as an alias.
16017 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16018 Define mkstemps64 as an alias.
16019 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16020 Define mkostemp64 as an alias.
16021 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16022 Define mkostemps64 as an alias.
16023 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16024 Conditionalize body on this.
16025 * misc/mkostemp64.c: Likewise.
16026 * misc/mkostemps64.c: Likewise.
16027 * misc/mkstemps64.c: Likewise.
16028 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16029 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16030 * sysdeps/wordsize-64/mkostemp.c: File removed.
16031 * sysdeps/wordsize-64/mkstemp.c: File removed.
16032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16033 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16034 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16035 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16038 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16039 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16040 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16041 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16043 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16044 compat_symbol macros from <shlib-compat.h> rather than the underlying
16045 default_symbol_version and symbol_version macros, so that DEFAULT
16046 lines in shlib-versions are respected.
16047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16049 2012-08-01 Florian Weimer <fweimer@redhat.com>
16051 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16052 Declare with warn_unused_result.
16053 (setgid, setregid, setegid, setresgid): Likewise.
16054 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16056 * WUR-REPORT: Remove set*id functions.
16058 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16060 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16062 2012-07-31 Roland McGrath <roland@hack.frob.com>
16065 * include/sys/socket.h (__libc_accept, __libc_accept4):
16066 Add attribute_hidden.
16067 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16069 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16071 * inet/getnetgrent_r.c (setup): Likewise.
16073 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16075 2012-07-31 David S. Miller <davem@davemloft.net>
16077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16079 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16082 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16083 value between 1.0 and 2.0 and smaller part has absolute value less
16085 * math/s_clog10.c (__clog10): Likewise.
16086 * math/s_clog10f.c (__clog10f): Likewise.
16087 * math/s_clog10l.c (__clog10l): Likewise.
16088 * math/s_clogf.c (__clogf): Likewise.
16089 * math/s_clogl.c (__clogl): Likewise.
16090 * math/libm-test.inc (clog_test): Add more tests.
16091 (clog10_test): Likewise.
16092 * sysdeps/i386/fpu/libm-test-ulps: Update.
16093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16095 2012-07-31 Florian Weimer <fweimer@redhat.com>
16097 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16098 Exit with zero in case no suitable GID is found, and write a
16099 message to standard error.
16101 2012-07-30 Roland McGrath <roland@hack.frob.com>
16103 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16105 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16106 (MAXPATHLEN): Removed.
16107 (NOGROUP, NODEV): New macros.
16108 (setbit, clrbit, isset, isclr): New macros.
16109 (howmany, roundup, powerof2): New macros.
16110 (DEV_BSIZE): New macro.
16112 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16113 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16115 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16116 definition on [!__NO_LONG_DOUBLE_MATH].
16118 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16119 PTR_MANGLE and PTR_DEMANGLE.
16121 * socket/accept4.c (accept4): Rename to __libc_accept4.
16122 Define accept4 as a weak alias.
16124 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16125 on [_DIRENT_HAVE_D_TYPE].
16126 * io/ftw.c (ftw_dir): Likewise.
16128 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16130 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16132 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16133 Use the BSD numbers rather than the arbitrary ones we had.
16134 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16135 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16136 (SIGXCPU, SIGXFSZ): New macros.
16139 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16140 initializer on [_LIBC_REENTRANT].
16142 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16143 definitions inside [_POSIX_MAPPED_FILES].
16145 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16147 * dirent/opendir.c: Include <fcntl.h>.
16149 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16150 (__libc_getspecific): Likewise.
16151 (__libc_key_create): Likewise.
16153 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16154 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16155 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16156 (tmpfile64): Define as alias.
16157 * sysdeps/wordsize-64/tmpfile.c: File removed.
16158 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16160 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16162 * stdio-common/vfscanf.c: Include <stdbool.h>.
16163 * nss/makedb.c: Likewise.
16164 * stdio-common/_i18n_number.h: Likewise.
16165 * argp/argp-help.c: Likewise.
16166 * posix/wordexp.c: Likewise.
16167 * sysdeps/posix/spawni.c: Likewise.
16168 * nss/nss_files/files-initgroups.c: Likewise.
16169 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16170 * nss/nss_files/files-initgroups.c: Likewise.
16171 * nss/nss_db/db-netgrp.c: Likewise.
16172 * nss/nss_db/db-initgroups.c: Likewise.
16173 * io/fchmodat.c: Include <sys/stat.h>.
16175 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16176 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16178 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16181 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16182 Add multiple inclusion protection.
16184 2012-07-27 David S. Miller <davem@davemloft.net>
16186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16188 2012-07-27 Gary Benson <gbenson@redhat.com>
16191 * elf/rtld.c: Include <stap-probe.h>.
16192 (dl_main): Added static probes "init_start" and "init_complete".
16193 * elf/dl-load.c: Include <stap-probe.h>.
16194 (lose): Take new parameter "nsid".
16195 Added static probe "map_failed".
16196 (_dl_map_object_from_fd): Pass namespace id to lose.
16197 Added static probe "map_start".
16198 (open_verify): Pass namespace id to lose.
16199 * elf/dl-open.c: Include <stap-probe.h>.
16200 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16201 and "reloc_complete".
16202 * elf/dl-close.c: Include <stap-probe.h>.
16203 (_dl_close_worker): Added static probes "unmap_start" and
16205 * elf/rtld-debugger-interface.txt: New file documenting the above.
16207 2012-07-26 Roland McGrath <roland@hack.frob.com>
16209 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16210 rather than a string variable.
16211 * sunrpc/rpc_main.c (h_output): Likewise.
16212 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16214 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16216 * inet/check_native.c: New file.
16218 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16221 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16222 if larger part has absolute value 1.0.
16223 * math/s_clog10.c (__clog10): Likewise.
16224 * math/s_clog10f.c (__clog10f): Likewise.
16225 * math/s_clog10l.c (__clog10l): Likewise.
16226 * math/s_clogf.c (__clogf): Likewise.
16227 * math/s_clogl.c (__clogl): Likewise.
16228 * math/libm-test.inc (clog_test): Add more tests.
16229 (clog10_test): Likewise.
16230 * sysdeps/i386/fpu/libm-test-ulps: Update.
16231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16233 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16234 (pltexit): Likewise.
16235 (La_regs): Likewise.
16236 (La_retval): Likewise.
16237 (int_retval): Likewise.
16238 Update #error for removed macros to refer only to definitions in
16240 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16242 (pltexit): Likewise.
16243 (La_regs): Likewise.
16244 (La_retval): Likewise.
16245 (int_retval): Likewise.
16246 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16248 (pltexit): Likewise.
16249 (La_regs): Likewise.
16250 (La_retval): Likewise.
16251 (int_retval): Likewise.
16252 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16254 (pltexit): Likewise.
16255 (La_regs): Likewise.
16256 (La_retval): Likewise.
16257 (int_retval): Likewise.
16258 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16260 (pltexit): Likewise.
16261 (La_regs): Likewise.
16262 (La_retval): Likewise.
16263 (int_retval): Likewise.
16264 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16266 (pltexit): Likewise.
16267 (La_regs): Likewise.
16268 (La_retval): Likewise.
16269 (int_retval): Likewise.
16270 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16272 (pltexit): Likewise.
16273 (La_regs): Likewise.
16274 (La_retval): Likewise.
16275 (int_retval): Likewise.
16276 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16277 macro definitions in tst-audit.h.
16278 * sysdeps/i386/tst-audit.h: New file.
16279 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16280 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16281 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16282 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16283 * sysdeps/sh/tst-audit.h: Likewise.
16284 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16285 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16286 * sysdeps/x86_64/tst-audit.h: Likewise.
16288 2012-07-26 Andreas Jaeger <aj@suse.de>
16290 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16293 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16294 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16295 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16297 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16298 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16299 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16301 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16304 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16306 (si_call_addr, si_syscall, si_arch): Define new macro.
16307 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16309 (si_call_addr, si_syscall, si_arch): Define new marcro.
16310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16312 (si_call_addr, si_syscall, si_arch): Define new macro.
16313 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16315 (si_call_addr, si_syscall, si_arch): Define new macro.
16317 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16321 Change to 2.4.21 where previously 2.4.1.
16322 * sysdeps/unix/sysv/linux/configure: Regenerated.
16323 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16324 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16325 Linux kernel version.
16326 (__ASSUME_STD_AUXV): Remove.
16327 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16329 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16330 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16331 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16332 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16333 (__ASSUME_NETLINK_SUPPORT): Likewise.
16334 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16335 (__no_netlink_support): Remove conditional definition.
16336 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16338 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16339 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16340 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16341 (if_nameindex_ioctl): Remove.
16342 (if_nameindex_netlink): Do not handle __no_netlink_support.
16343 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16345 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16346 Remove conditional code.
16347 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16349 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16351 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16352 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16353 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16355 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16356 [!__ASSUME_STD_AUXV]: Remove conditional code.
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16358 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16359 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16361 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16362 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16364 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16366 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16367 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16369 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16371 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16374 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16377 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16378 code unconditional.
16379 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16381 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16383 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16386 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16388 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16391 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16392 code unconditional.
16393 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16395 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16397 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16400 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16401 code unconditional.
16402 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16404 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16406 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16409 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16411 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16412 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16413 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16414 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16415 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16416 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16417 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16418 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16419 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16420 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16421 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16422 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16423 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16424 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16425 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16426 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16429 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16431 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16432 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16435 2012-07-25 Florian Weimer <fweimer@redhat.com>
16437 * Versions.def: Add GLIBC_2.17.
16438 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16439 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16440 Introduce __libc_secure_getenv.
16441 * stdlib/Versions (2.17): Add secure_getenv
16442 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16443 * stdlib/secure-getenv.c: Rename __secure_getenv to
16444 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16445 symbol __secure_getenv for GLIBC_2.0.
16446 * stdlib/tst-secure-getenv.c: New.
16447 * stdlib/Makefile (tests): Add testcase.
16448 * manual/startup.texi (Environment Access): Document
16450 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16451 __libc_secure_getenv.
16452 * inet/ruserpass.c (ruserpass): Likewise.
16453 * malloc/mtrace.c (mtrace): Likewise.
16454 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16455 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16456 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16457 * sysdeps/posix/tempname.c: Likewise. Evaluate
16458 HAVE_SECURE_GETENV.
16459 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16460 __secure_getenv to __libc_secure_getenv.
16461 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16474 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16476 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16477 (struct La_i86_retval): Likewise.
16478 (struct La_x86_64_regs): Likewise.
16479 (struct La_x86_64_retval): Likewise.
16480 (struct La_x32_regs): Likewise.
16481 (struct La_x32_retval): Likewise.
16482 (struct La_ppc32_regs): Likewise.
16483 (struct La_ppc32_retval): Likewise.
16484 (struct La_ppc64_regs): Likewise.
16485 (struct La_ppc64_retval): Likewise.
16486 (struct La_sh_regs): Likewise.
16487 (struct La_sh_retval): Likewise.
16488 (struct La_s390_32_regs): Likewise.
16489 (struct La_s390_32_retval): Likewise.
16490 (struct La_s390_64_regs): Likewise.
16491 (struct La_s390_64_retval): Likewise.
16492 (struct La_sparc32_regs): Likewise.
16493 (struct La_sparc32_retval): Likewise.
16494 (struct La_sparc64_regs): Likewise.
16495 (struct La_sparc64_retval): Likewise.
16496 (struct audit_ifaces): Remove architecture-specific pltenter and
16498 * sysdeps/i386/ldsodefs.h: New file.
16499 * sysdeps/powerpc/ldsodefs.h: Likewise.
16500 * sysdeps/s390/ldsodefs.h: Likewise.
16501 * sysdeps/sh/ldsodefs.h: Likewise.
16502 * sysdeps/sparc/ldsodefs.h: Likewise.
16503 * sysdeps/x86_64/ldsodefs.h: Likewise.
16505 2012-07-25 Marek Polacek <polacek@redhat.com>
16508 * math/libm-test.inc (yn_test): Add another test.
16509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16510 to ERANGE when the result is +-Inf.
16511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16512 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16513 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16514 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16516 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16518 * conform/data/time.h-data (NULL): Use macro-constant. Require
16520 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16522 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16524 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16526 * configure.in <sysdeps resolving>: Correct printing
16528 * configure: Regenerate.
16530 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16532 * math/w_ilogb.c: Include <limits.h>.
16533 * math/w_ilogbl.c: Likewise.
16535 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16537 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16538 va_copy. Document allowing for unavailable va_copy only as
16539 pre-C99 compatibility.
16540 * manual/string.texi (Copying and Concatenation): Use va_copy
16541 instead of __va_copy in concat example.
16543 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16545 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16546 (__sendto): Use create_address_port. Initialize APORT and deallocate
16549 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16550 with O_NOLINK passed to __file_name_lookup.
16552 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16553 with O_NOLINK passed to __file_name_lookup.
16555 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16556 negative N or less than NGIDS.
16558 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16559 type to string_t. Set ERANGE as errno and return it if NAME is not big
16560 enough. Use memcpy instead of strncpy.
16562 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16564 * elf/Makefile (check-data): Remove.
16565 (localplt.data): New vpath directive.
16566 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16567 instead of $(check-data).
16568 * scripts/data/localplt-generic.data: Move to ...
16569 * sysdeps/generic/localplt.data: ... here.
16570 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16571 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16572 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16575 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16578 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16581 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16584 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16587 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16591 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16593 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16594 PPC32 and PPC64 files.
16595 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16596 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16598 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16600 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16601 __makecontext_ret to ...
16602 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16603 ... here and call exit if uc_link is NULL. New file.
16604 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16605 __makecontext_ret.S.
16606 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16607 __makecontext_ret to ...
16608 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16609 ... here and call exit if uc_link is NULL. New file.
16610 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16611 __makecontext_ret.S.
16613 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16615 * elf/elf.h (R_390_IRELATIVE): New definition.
16616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16617 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16618 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16620 (elf_machine_lazy_rel): Likewise.
16621 * sysdeps/s390/dl-irel.h: New file.
16622 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16623 * sysdeps/s390/s390-64/memset.S: New asm code.
16624 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16625 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16626 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16627 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16628 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16629 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16631 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16632 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16633 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16634 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16635 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16636 * sysdeps/s390/s390-32/memset.S: New asm code.
16637 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16639 2012-07-17 Marek Polacek <polacek@redhat.com>
16642 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16643 * sysdeps/s390/s390-64/configure.in: Likewise.
16644 * sysdeps/sparc/configure.in: Likewise.
16645 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16646 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16647 * sysdeps/i386/configure.in: Likewise.
16648 * sysdeps/x86_64/configure.in: Likewise.
16649 * sysdeps/sh/configure.in: Likewise.
16650 * sysdeps/s390/s390-32/configure: Regenerated.
16651 * sysdeps/s390/s390-64/configure: Likewise.
16652 * sysdeps/x86_64/configure: Likewise.
16653 * sysdeps/sh/configure: Likewise.
16654 * sysdeps/powerpc/powerpc64/configure: Likewise.
16655 * sysdeps/powerpc/powerpc32/configure: Likewise.
16656 * sysdeps/sparc/configure: Likwise.
16657 * sysdeps/i386/configure: Likewise.
16659 * elf/dl-open.c: Comment fixes.
16661 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16663 * Makefile [CXX] (check-data): Remove.
16664 [CXX] (c++-types.data): New vpath directive.
16665 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16666 vpath. Do not allow for C++ type data being missing.
16667 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16668 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16669 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16670 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16671 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16672 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16673 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16676 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16679 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16682 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16685 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16688 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16691 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16694 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16697 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16698 definitions to architecture-specific files.
16699 (TLS_IE): Likewise.
16700 (TLS_LD): Likewise.
16701 (TLS_GD): Likewise.
16702 * sysdeps/i386/tls-macros.h: New file.
16703 * sysdeps/powerpc/tls-macros.h: Likewise.
16704 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16705 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16706 * sysdeps/sh/tls-macros.h: Likewise.
16707 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16708 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16709 * sysdeps/x86_64/tls-macros.h: Likewise.
16711 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16713 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16714 zero value for regular exit case.
16716 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16717 (__start_context): Preserve zero value for regular exit case.
16719 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16720 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16722 * manual/setjmp.texi (setcontext): Clarify normal process
16723 termination when uc_link is the null pointer.
16724 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16727 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16729 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16730 preprocessor. Test for each exception mask separately.
16732 2012-07-16 Andreas Jaeger <aj@suse.de>
16734 * po/ru.po: Update from translation team.
16736 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16738 * conform/data/string.h-data (NULL): Use macro-constant. Require
16740 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16741 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16742 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16743 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16746 2012-07-13 Andreas Jaeger <aj@suse.de>
16748 * po/fr.po: Update from translation team.
16750 2012-07-12 Marek Polacek <polacek@redhat.com>
16753 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16757 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16761 Change to 2.4.1 where previously 2.4.0.
16762 * sysdeps/unix/sysv/linux/configure: Regenerated.
16763 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16764 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16766 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16767 (__ASSUME_AT_CLKTCK): Remove.
16768 (__ASSUME_AT_PAGESIZE): Likewise.
16769 (__ASSUME_AT_XID): Likewise.
16770 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16771 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16772 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16774 (HAVE_AUX_PAGESIZE): Likewise.
16775 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16776 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16777 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16779 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16783 the temporary buffer used to invoke __gethostbyname2_r,
16784 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16785 host_data / struct gaih_addrtuple.
16786 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16787 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16788 header file nss/nsswitch.h.
16789 * nss/nsswitch.h (global scope): Add definition of implementation
16790 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16791 resolv/nss_dns/dns-host.c).
16793 2012-07-11 Andreas Jaeger <aj@suse.de>
16795 * po/fr.po: Update from translation team.
16797 * po/sv.po: Update from translation team
16798 * po/fr.po: Another update from translation team.
16800 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16803 for subnormals or multiply small sinh result by itself.
16804 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16807 2012-07-11 David S. Miller <davem@davemloft.net>
16809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16811 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16814 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16815 (INTERNAL_MARK): Shift it here.
16817 2012-07-10 Marek Polacek <polacek@redhat.com>
16820 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16821 libc_cv_asm_global_directive with .globl.
16822 * configure: Regenerated.
16823 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16825 * sysdeps/i386/configure: Regenerated.
16826 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16828 * sysdeps/x86_64/configure: Regenerated.
16829 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16830 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16831 * elf/tst-unique2mod2.c: Likewise.
16832 * elf/tst-unique2mod1.c: Likewise.
16833 * elf/tst-unique1mod2.c: Likewise.
16834 * elf/tst-unique1mod1.c: Likewise.
16835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16836 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16837 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16838 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16839 * sysdeps/mach/sysdep.h: Likewise.
16840 * sysdeps/i386/sysdep.h: Likewise.
16841 * sysdeps/i386/i386-mcount.S: Likewise.
16842 * sysdeps/x86_64/_mcount.S: Likewise.
16843 * sysdeps/x86_64/sysdep.h: Likewise.
16844 * sysdeps/sh/_mcount.S: Likewise.
16845 * sysdeps/sh/sysdep.h: Likewise.
16846 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16847 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16848 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16849 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16850 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16851 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16852 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16853 * locale/localeinfo.h: Likewise.
16854 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16855 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16857 2012-07-09 Roland McGrath <roland@hack.frob.com>
16860 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16862 * manual/message.texi (The Uniforum approach): Likewise.
16863 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16864 (glibc iconv Implementation): Likewise.
16866 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16869 * math/s_clog.c (__clog): Avoid scaling a value down where that
16870 could result in underflow.
16871 * math/s_clog10.c (__clog10): Likewise.
16872 * math/s_clog10f.c (__clog10f): Likewise.
16873 * math/s_clog10l.c (__clog10l): Likewise.
16874 * math/s_clogf.c (__clogf): Likewise.
16875 * math/s_clogl.c (__clogl): Likewise.
16876 * math/libm-test.inc (clog_test): Add more tests.
16877 (clog10_test): Likewise.
16878 * sysdeps/i386/fpu/libm-test-ulps: Update.
16879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16881 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16884 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16885 by 7 not 8 to examine high bit of fractional part.
16888 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16889 for call to __mcount_internal.
16890 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16891 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16892 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16894 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16897 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16898 approximation for values within 0x1p-13f of an odd multiple of
16900 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16901 exception. Add more tests.
16902 * sysdeps/i386/fpu/libm-test-ulps: Update.
16905 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16906 inputs and return -1 for them. Do not check for +Inf in case not
16907 reachable for +Inf.
16908 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16909 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16910 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16911 and return -1 for them. Do not check for +Inf in case not
16912 reachable for +Inf.
16913 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16916 and return -1 for them. Do not check for +Inf in case not
16917 reachable for +Inf.
16918 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16919 spurious underflow.
16920 * sysdeps/i386/fpu/libm-test-ulps: Update.
16921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16923 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16925 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16927 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16931 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16932 could result in spurious underflow. Scale down values above
16933 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16934 * math/s_csqrtf.c (__csqrtf): Likewise.
16935 * math/s_csqrtl.c (__csqrtl): Likewise.
16936 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16937 spurious underflow.
16938 * sysdeps/i386/fpu/libm-test-ulps: Update.
16939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16941 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16943 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16945 * catgets/xopen-msg.awk: New file.
16946 * catgets/xopen-msg.sed: Removed.
16948 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16950 * intl/po2test.awk: New file.
16951 * intl/po2test.sed: Removed.
16953 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16956 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16957 or multiply small sinh result by itself.
16958 * math/s_ctanf.c (__ctanf): Likewise.
16959 * math/s_ctanh.c (__ctanh): Likewise.
16960 * math/s_ctanhf.c (__ctanhf): Likewise.
16961 * math/s_ctanhl.c (__ctanhl): Likewise.
16962 * math/s_ctanl.c (__ctanl): Likewise.
16963 * math/libm-test.inc (ctan_test_tonearest): New function.
16964 (ctan_test_towardzero): Likewise.
16965 (ctan_test_downward): Likewise.
16966 (ctan_test_upward): Likewise.
16967 (ctanh_test_tonearest): Likewise.
16968 (ctanh_test_towardzero): Likewise.
16969 (ctanh_test_downward): Likewise.
16970 (ctanh_test_upward): Likewise.
16971 (main): Call these new functions.
16972 * sysdeps/i386/fpu/libm-test-ulps: Update.
16973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16975 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16977 * .gitignore: Delete /ports entry.
16979 2012-07-03 Andreas Jaeger <aj@suse.de>
16981 * po/bg.po: Update from translation team.
16982 * po/cs.po: Likewise.
16983 * po/de.po: Likewise.
16984 * po/hr.po: Likewise.
16985 * po/nl.pl: Likewise.
16986 * po/pl.po: Likewise.
16987 * po/vi.po: Likewise.
16989 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16991 * Makeconfig [!+link] (+link-before-libc): New variable.
16992 [!+link] (+link-after-libc): Likewise.
16993 [!+link] (+link-tests): Likewise.
16994 [!+link] (+link): Define in terms of $(+link-before-libc) and
16995 $(+link-after-libc).
16996 [!+link-static] (+link-static-before-libc): New variable.
16997 [!+link-static] (+link-static-after-libc): Likewise.
16998 [!+link-static] (+link-static-tests): Likewise.
16999 [!+link-static] (+link-static): Define in terms of
17000 $(+link-static-before-libc) and $(+link-static-after-libc).
17001 [build-shared] (link-libc-before-gnulib): New variable.
17002 [build-shared] (link-libc-tests): Likewise.
17003 [build-shared] (link-libc): Define in terms of
17004 $(link-libc-before-gnulib).
17005 [!build-shared] (link-libc-tests): New variable.
17006 (link-libc-static-tests): New variable.
17007 [!gnulib] (gnulib-arch): New variable.
17008 [!gnulib] (gnulib-tests): Likewise.
17009 [!gnulib] (static-gnulib-arch): Likewise.
17010 [!gnulib] (static-gnulib-tests): Likewise.
17011 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17012 Define with "=" instead of ":=".
17013 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17014 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17015 * Rules (binaries-all-notests): New variable.
17016 (binaries-all-tests): Likewise.
17017 (binaries-static-notests): Likewise.
17018 (binaries-static-tests): Likewise.
17019 (binaries-all): Define using $(binaries-all-notests) and
17020 $(binaries-all-tests).
17021 (binaries-static): Define using $(binaries-static-notests) and
17022 $(binaries-static-tests).
17023 (binaries-shared-tests): New variable.
17024 (binaries-shared-notests): Likewise.
17025 (binaries-shared): Remove variable.
17026 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17027 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17028 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17029 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17030 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17031 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17032 * elf/Makefile (sln-modules): New variable.
17033 (extra-objs): Add $(sln-modules:=.o).
17034 (ldconfig-modules): Add static-stubs.
17035 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17036 * elf/static-stubs.c: New file.
17039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17040 by 7 not 8 to examine high bit of fractional part. Use volatile
17041 variables when splitting into final array of floats if
17042 __FLT_EVAL_METHOD__ != 0.
17043 * math/libm-test.inc (cos_test): Add another test.
17044 (sin_test): Likewise.
17045 * sysdeps/i386/fpu/libm-test-ulps: Update.
17048 * math/libm-test.inc (cosh_test): Add more tests.
17050 * version.h (RELEASE): Set to "development".
17051 (VERSION): Set to "2.16.90".
17053 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17055 * NEWS: Update copyright. Remove last-updated date.
17056 Mention math library bug fixes and timezone data changes.
17057 * README: Mention GNU/Hurd, x32, and HPPA support status.
17059 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17061 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17063 2012-06-27 Andreas Jaeger <aj@suse.de>
17065 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17067 2012-06-25 Andreas Jaeger <aj@suse.de>
17069 * sysdeps/s390/fpu/libm-test-ulps: Update.
17071 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17072 Thomas Schwinge <thomas@codesourcery.com>
17074 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17075 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17079 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17081 * sysdeps/mach/start.c: Remove file.
17082 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17083 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17084 * sysdeps/sh/init-first.c: Likewise.
17086 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17087 registers for frame unwinding purposes, add CFI directives.
17088 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17090 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17093 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17094 __fortify_fail returning.
17095 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17097 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17098 sysdeps/sh/____longjmp_chk.S.
17099 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17100 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17101 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17102 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17104 * sysdeps/sh/abort-instr.h: New file.
17105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17106 process in case exit returns.
17108 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17109 initialize the GOT register before use.
17111 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17112 calculation of ARGC > 4.
17114 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17115 meaningful names to some local labels.
17117 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17118 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17120 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17121 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17122 (__arch_compare_and_exchange_val_16_acq): Likewise.
17123 (__arch_compare_and_exchange_val_32_acq): Likewise.
17124 (atomic_exchange_and_add): Fix gUSA sequence.
17125 (atomic_add): Likewise.
17126 (atomic_add_negative): Likewise.
17127 (atomic_add_zero): Likewise.
17128 (atomic_bit_test_set): Likewise.
17130 2012-06-22 Andreas Schwab <schwab@redhat.com>
17133 * include/link.h (struct link_map): Add l_free_initfini.
17134 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17136 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17137 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17138 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17141 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17143 * configure.in: Use AC_LANG_SOURCE.
17144 * configure: Regenerate.
17146 2012-06-22 Roland McGrath <roland@hack.frob.com>
17148 * configure.in (libc_cv_localstatedir): New substituted variable.
17149 * configure: Regenerated.
17150 * config.make.in (localstatedir): New variable, substituted from
17151 libc_cv_localstatedir.
17152 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17153 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17154 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17155 * sysdeps/gnu/configure: Regenerated.
17157 2012-06-21 Jeff Law <law@redhat.com>
17160 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17161 free. Simplify list management for _LIBC case.
17163 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17167 Clear sign bit of 64-bit integer value before comparing against
17170 * sysdeps/mach/configure: Regenerated.
17172 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17175 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17177 2012-06-21 Jeff Law <law@redhat.com>
17180 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17181 uint16_t for elements in the "seen" array to avoid char overflows.
17182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17183 * elf/dl-open.c (dl_open_worker): Likewise.
17185 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17187 * scripts/list-sources.sh: Scan PORTS for translations.
17188 * po/libc.pot: Regenerated.
17190 2012-06-21 Andreas Jaeger <aj@suse.de>
17193 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17195 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17196 * bits/byteswap-16.h (__bswap_16): Likewise.
17197 * bits/byteswap.h (__bswap_constant_16): Likewise.
17199 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17202 * sysdeps/i386/fpu_control.h: Removed.
17203 * sysdeps/x86_64/fpu_control.h: Moved to ...
17204 * sysdeps/x86/fpu_control.h: Here.
17206 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17207 (_FPU_SETCW): Likewise.
17209 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17212 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17213 * sysdeps/x86/fpu/bits/mathinline.h: This.
17214 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17218 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17219 functions if __x86_64__ is defined.
17221 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17223 * string/endian.h: Add !__ASSEMBLER__ condition for including
17224 conversion interfaces.
17226 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17230 of ABS(x) in calculating zero to negative powers other than odd
17232 * math/libm-test.inc (pow_test): Add more tests.
17234 2012-06-15 Andreas Jaeger <aj@suse.de>
17236 * manual/contrib.texi (Contributors): Update entry of Liubov
17237 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17240 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17242 * string/string.h: Add __wur to GNU version of strerror_r.
17244 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17247 * string/Makefile (tests): Add tst-strtok_r.
17248 * string/tst-strtok_r.c: New file.
17249 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17250 RAX_LP/RDX_LP on SAVE_PTR.
17252 2012-06-14 Roland McGrath <roland@hack.frob.com>
17254 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17256 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17258 * libm_test.inc (csqrt_test): Allow more spurious underflow
17260 (j0_test): Likewise.
17261 (j1_test): Likewise.
17262 (y0_test): Likewise.
17263 (y1_test): Likewise.
17265 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17267 * po/Makefile (libc.pot): Use UTF-8 charset.
17269 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17272 Suppress sign-conversion warning from FD_SET.
17273 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17274 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17275 not unsigned long int.
17276 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17278 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17282 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17283 __extern_always_inline instead of __extern_inline.
17284 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17285 (__signbit): Likewise.
17286 (__signbitl): Support C++ namespace.
17287 (lrintf): New inline function.
17289 (llrintf): Likewise.
17290 (llrint): Likewise.
17300 (floorf): Likewise.
17301 (nearbyint): Likewise.
17302 (nearbyintf): Likewise.
17304 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17307 non-default versions.
17309 2012-06-11 Roland McGrath <roland@hack.frob.com>
17312 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17314 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17316 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17317 (FE_UPWARD, FE_DOWNWARD): Don't define.
17318 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17319 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17321 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17323 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17324 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17326 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17328 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17330 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17331 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17333 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17336 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17337 * sysdeps/i386/fpu/Implies: New file.
17338 * sysdeps/x86_64/fpu/Implies: Likewise.
17339 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17340 * sysdeps/x86/fpu/bits/fenv.h: This.
17342 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17345 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17348 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17349 character 0xffff that matches the last element of the
17352 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17354 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17357 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17360 values higher than 25.6283.
17362 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17365 subnormal exponent extraction and add some __builtin_expect.
17366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17367 Fix for subnormal mantissa calculation.
17369 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17371 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17372 cpu2 is -1 and errno is not ENOSYS.
17374 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17377 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17378 * sysdeps/x86/bits/string.h: This.
17379 * sysdeps/x86_64/bits/string.h: Removed.
17381 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17382 if not compiling for x86-64, but compiling for >= i486.
17384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17385 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17387 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17388 New macro from Linux kernel 3.4.0.
17389 (FP_XSTATE_MAGIC2): Likewise.
17390 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17391 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17392 (struct _fpx_sw_bytes): New struct.
17393 (struct _xsave_hdr): Likewise.
17394 (struct _ymmh_state): Likewise.
17395 (struct _xstate): Likewise.
17397 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17398 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17399 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17400 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17402 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17404 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17405 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17406 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17407 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17408 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17409 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17411 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17414 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17415 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17416 (sysdep_headers): Include sys/platform/ppc.h.
17417 * sysdeps/powerpc/test-gettimebase.c: Test for
17418 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17419 * manual/Makefile (appendices): Include platform.texi.
17420 * manual/contrib.texi (Contributors): Update @node pointers.
17421 * manual/maint.texi (Maintenance): Likewise.
17422 (Platform): New node.
17423 * manual/platform.texi: New file. Document the new features.
17425 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17426 Jakub Jelinek <jakub@redhat.com>
17429 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17430 where __builtin_expect is unavailable.
17432 2012-06-03 David S. Miller <davem@davemloft.net>
17434 * stdlib/longlong.h: Updated from GCC.
17436 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17439 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17440 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17443 (GLIBC_2.16): Likewise.
17445 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17449 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17452 (default-abi): New variable.
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17454 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17456 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17458 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17463 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17464 definition. Document in comment.
17466 2012-06-01 David S. Miller <davem@davemloft.net>
17468 * stdlib/longlong.h: Updated from GCC.
17470 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17473 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17474 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17475 sys/debugreg.h sys/io.h here.
17476 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17477 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17479 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17480 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17481 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17482 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17483 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17484 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17486 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17487 Define only if __x86_64__ is defined.
17489 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17492 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17493 Use int64_t for variable i.
17494 * math/libm-test.inc (fmod_test): Add more tests.
17496 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17497 z computation is not scheduled after fetestexcept.
17498 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17499 Use math_force_eval instead of asm to ensure calculation scheduled
17500 before exception test.
17501 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17502 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17504 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17507 computation is not scheduled after fetestexcept.
17509 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17512 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17513 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17515 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17517 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17518 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17520 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17523 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17525 (__WCHAR_MIN): Support __WORDSIZE == 64.
17526 (__WCHAR_MAX): Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17533 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17536 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17540 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17542 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17543 Defined to 1 if __x86_64__ isn't defined.
17544 (_STAT_VER_LINUX_OLD): New.
17545 (st_atime): Remove duplicate.
17546 (st_mtime): Likewise.
17547 (st_ctime): Likewise.
17549 2012-05-31 David S. Miller <davem@davemloft.net>
17551 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17554 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17556 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17560 * elf/dl-reloc.c: Include <_itoa.h>.
17561 (_dl_reloc_bad_type): Remove use of INTUSE.
17562 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17563 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17564 * stdio-common/psiginfo.c (psiginfo): Likewise.
17565 * stdio-common/psignal.c (psignal): Likewise.
17566 * string/strsignal.c (strsignal): Likewise.
17567 * include/signal.h (_sys_siglist): Declare hidden proto.
17568 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17569 INTVARDEF with libc_hidden_data_def.
17570 * stdio-common/itoa-udigits.c: Likewise.
17571 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17572 (_itoa_lower_digits_internal): Remove declaration.
17573 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17574 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17575 (_sys_sigabbrev_internal): Remove aliases.
17576 (_sys_siglist): Define hidden alias.
17578 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17583 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17586 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17587 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17589 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17590 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17591 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17592 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17594 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17596 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17598 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17600 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17608 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17609 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17610 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17613 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17615 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17616 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17617 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17619 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17620 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17622 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17623 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17629 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17630 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17632 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17634 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17635 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17636 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17638 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17640 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17642 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17644 * math/math.h (M_El): Use two more decimal places.
17645 (M_LOG2El): Likewise.
17646 (M_LOG10El): Likewise.
17647 (M_LN2l): Likewise.
17648 (M_LN10l): Likewise.
17650 (M_PI_2l): Likewise.
17651 (M_PI_4l): Likewise.
17652 (M_1_PIl): Likewise.
17653 (M_2_PIl): Likewise.
17654 (M_2_SQRTPIl): Likewise.
17655 (M_SQRT2l): Likewise.
17656 (M_SQRT1_2l): Likewise.
17658 2012-05-31 David S. Miller <davem@davemloft.net>
17660 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17661 values between float registers.
17662 * sysdeps/sparc/sparc64/memset.S: Likewise.
17663 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17665 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17667 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17668 -D_FORTIFY_SOURCE=1.
17669 (CPPFLAGS-tst-longjmp_chk.c): Define.
17670 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17671 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17672 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17673 CFLAGS-tst-wchar-h.c.
17675 2012-05-31 Marek Polacek <polacek@redhat.com>
17678 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17679 __endmntent_internal): Remove declaration.
17680 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17681 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17682 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17684 2012-05-30 David S. Miller <davem@davemloft.net>
17686 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17687 (___Q_simulate_exceptions): Use real FP ops rather than writing
17689 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17692 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17695 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17696 * sysdeps/x86/bits/xtitypes.h: This.
17698 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17699 * sysdeps/x86/bits/wordsize.h: This.
17701 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17702 * sysdeps/x86/bits/huge_vall.h: This.
17704 * sysdeps/i386/bits/select.h: Removed.
17705 * sysdeps/x86_64/bits/select.h: Renamed to ...
17706 * sysdeps/x86/bits/select.h: This.
17708 * sysdeps/i386/bits/setjmp.h: Removed.
17709 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17710 * sysdeps/x86/bits/setjmp.h: This.
17712 * sysdeps/i386/bits/mathdef.h: Removed.
17713 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17714 * sysdeps/x86/bits/mathdef.h: This.
17716 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17719 * include/sys/socket.h (__connect_internal)
17720 (__libc_sa_len_internal): Remove declaration.
17721 (__connect, __libc_sa_len): Declare hidden_proto.
17722 (SA_LEN): Remove use of INTUSE.
17723 * socket/connect.c: Add libc_hidden_def.
17724 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17725 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17726 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17728 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17729 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17730 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17731 of adding _internal alias.
17733 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17736 * sysdeps/i386/bits/link.h: Removed.
17737 * sysdeps/i386/bits/linkmap.h: Likewise.
17738 * sysdeps/x86_64/bits/link.h: Renamed to ...
17739 * sysdeps/x86/bits/link.h: This.
17740 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17741 * sysdeps/x86/bits/linkmap.h: This.
17743 * sysdeps/i386/bits/endian.h: Removed.
17744 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17745 * sysdeps/x86/bits/endian.h: This.
17747 * sysdeps/i386/bits/byteswap.h: Removed.
17748 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17749 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17750 * sysdeps/x86/bits/byteswap.h: This.
17751 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17752 * sysdeps/x86/bits/byteswap-16.h: This.
17753 * sysdeps/i386/Implies: Add x86.
17754 * sysdeps/x86_64/Implies: Likewise.
17756 2012-05-30 David S. Miller <davem@davemloft.net>
17758 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17759 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17761 (FP_TRAPPING_EXCEPTIONS): Define.
17762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17763 (FP_TRAPPING_EXCEPTIONS): Define.
17764 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17765 subnormals only when inexact has been signalled or underflow
17766 exceptions are enabled.
17767 (_FP_PACK_CANONICAL): Likewise.
17769 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17773 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17775 2012-05-30 Richard Henderson <rth@twiddle.net>
17777 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17778 with #ifndef NOT_IN_libc.
17780 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17781 marked to avoid plt entry.
17783 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17786 * Makeconfig (default-abi): New macro.
17787 (abi-includes): Likewise.
17788 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17789 $(abi-$(default-abi)-lib-soname) for soname if defined.
17790 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17792 * Makefile (installed-stubs): Likewise.
17793 * include/stubs-biarch.h: Removed.
17794 * scripts/lib-names.awk: Only handle one library at a time.
17795 * scripts/soversions.awk: Remove WORDSIZE support.
17796 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17798 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17800 (syscall-list-default-condition): Likewise.
17801 (syscall-list-default-condition): Likewise.
17802 (syscall-list-includes): Likewise.
17803 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17804 syscall-list-* with abi-*. Handle undefined abi-variants.
17805 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17806 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17807 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17810 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17812 (syscall-list-32-options): Likewise.
17813 (syscall-list-32-condition): Likewise.
17814 (syscall-list-64-options): Likewise.
17815 (syscall-list-64-condition): Likewise.
17816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17818 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17821 (abi-64-ld-soname): New macro.
17822 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17823 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17826 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17827 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17829 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17831 * sysdeps/unix/sysv/linux/kernel-features.h
17832 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17833 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17834 include <kernel-features.h>.
17835 [!__NR_ftruncate64]: Remove conditional code.
17836 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17837 [__NR_ftruncate64]: Make code unconditional.
17838 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17839 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17840 include <kernel-features.h>.
17841 [!__NR_ftruncate64]: Remove conditional code.
17842 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17843 [__NR_ftruncate64]: Make code unconditional.
17844 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17846 include <kernel-features.h>.
17847 [!__NR_ftruncate64]: Remove conditional code.
17848 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17849 [__NR_ftruncate64]: Make code unconditional.
17850 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17852 include <kernel-features.h>.
17853 [!__NR_ftruncate64]: Remove conditional code.
17854 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17855 [__NR_ftruncate64]: Make code unconditional.
17856 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17858 * configure.in (libc_cv_fpie): Weaken to a compile test using
17859 LIBC_TRY_CC_OPTION.
17860 * configure: Regenerated.
17862 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17877 2012-05-27 David S. Miller <davem@davemloft.net>
17879 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17881 (__Q_simulate_exceptions): Return void. Change to simulate
17882 exceptions by writing into the %fsr.
17883 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17884 (__Qp_handle_exceptions): Likewise.
17886 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17887 __Qp_handle_exceptions.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17889 __Qp_handle_exceptions.
17890 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17891 as unused and give dummy FP_RND_NEAREST initializer.
17892 (FP_INHIBIT_RESULTS): Define.
17893 (___Q_simulate_exceptions): Update declaration.
17894 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17896 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17897 as unused and give dummy FP_RND_NEAREST initializer.
17898 (__Qp_handle_exceptions): Update declaration.
17899 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17902 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17904 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17905 the temporary FPU control word.
17906 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17907 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17909 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17910 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17911 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17912 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17913 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17914 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17915 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17918 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17923 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17925 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17926 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17927 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17928 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17930 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17931 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17934 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17936 * po/h.po: Update from translation team.
17938 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17940 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17942 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17943 handling of denormals.
17944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17945 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17946 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17947 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17948 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17953 2012-05-26 Marek Polacek <polacek@redhat.com>
17956 * math/libm-test.inc (fma_test): Don't always expect underflow
17959 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17962 * elf/tst-execstack.c: Include stackinfo.h.
17963 (do_test): Adjust test case to ensure that pthread_getattr_np
17964 behaviour remains the same after marking stack executable.
17966 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17968 * sysdeps/unix/sysv/linux/kernel-features.h
17969 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17970 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17972 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17973 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17974 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17976 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17977 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17979 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17981 * configure.in: Define the default includes to being none.
17982 * configure: Regenerated.
17984 2012-05-25 Roland McGrath <roland@hack.frob.com>
17986 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17987 * sysdeps/x86_64/setjmp.S: Likewise.
17988 * sysdeps/i386/bsd-setjmp.S: Likewise.
17989 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17990 * sysdeps/i386/setjmp.S: Likewise.
17991 * sysdeps/i386/__longjmp.S: Likewise.
17992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17993 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17995 * include/stap-probe.h: New file.
17996 * configure.in: Handle --enable-systemtap.
17997 * configure: Regenerated.
17998 * config.h.in (USE_STAP_PROBE): New #undef.
17999 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18000 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18001 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18003 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18006 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18007 to 2.4.0 where earlier.
18008 * sysdeps/unix/sysv/linux/configure: Regenerated.
18009 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18010 <kernel-features.h>.
18011 [__ASSUME_32BITUIDS]: Make code unconditional.
18012 [!__ASSUME_32BITUIDS]: Remove conditional code.
18013 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18014 <kernel-features.h>.
18015 [__ASSUME_32BITUIDS]: Make code unconditional.
18016 [!__ASSUME_32BITUIDS]: Remove conditional code.
18017 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18018 [__ASSUME_32BITUIDS]: Make code unconditional.
18019 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18020 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18021 <kernel-features.h>.
18022 [__ASSUME_32BITUIDS]: Make code unconditional.
18023 [!__ASSUME_32BITUIDS]: Remove conditional code.
18024 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18025 <kernel-features.h>.
18026 [__ASSUME_32BITUIDS]: Make code unconditional.
18027 [!__ASSUME_32BITUIDS]: Remove conditional code.
18028 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18029 <kernel-features.h>.
18030 [__ASSUME_32BITUIDS]: Make code unconditional.
18031 [!__ASSUME_32BITUIDS]: Remove conditional code.
18032 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18033 <kernel-features.h>.
18034 [__ASSUME_32BITUIDS]: Make code unconditional.
18035 [!__ASSUME_32BITUIDS]: Remove conditional code.
18036 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18037 <kernel-features.h>.
18038 [__ASSUME_32BITUIDS]: Make code unconditional.
18039 [!__ASSUME_32BITUIDS]: Remove conditional code.
18040 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18041 <kernel-features.h>.
18042 [__ASSUME_32BITUIDS]: Make code unconditional.
18043 [!__ASSUME_32BITUIDS]: Remove conditional code.
18044 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18045 <kernel-features.h>.
18046 [__ASSUME_32BITUIDS]: Make code unconditional.
18047 [!__ASSUME_32BITUIDS]: Remove conditional code.
18048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18049 <kernel-features.h>.
18050 [__ASSUME_32BITUIDS]: Make code unconditional.
18051 [!__ASSUME_32BITUIDS]: Remove conditional code.
18052 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18053 <kernel-features.h>.
18054 [__ASSUME_32BITUIDS]: Make code unconditional.
18055 [!__ASSUME_32BITUIDS]: Remove conditional code.
18056 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18057 <kernel-features.h>.
18058 [__ASSUME_32BITUIDS]: Make code unconditional.
18059 [!__ASSUME_32BITUIDS]: Remove conditional code.
18060 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18061 <kernel-features.h>.
18062 [__NR_setresgid] (__setresgid): Do not declare.
18063 [__ASSUME_32BITUIDS]: Make code unconditional.
18064 [!__ASSUME_32BITUIDS]: Remove conditional code.
18065 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18066 <kernel-features.h>.
18067 [__NR_setresuid] (__setresuid): Do not declare.
18068 [__ASSUME_32BITUIDS]: Make code unconditional.
18069 [!__ASSUME_32BITUIDS]: Remove conditional code.
18070 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18071 <kernel-features.h>.
18072 [__ASSUME_32BITUIDS]: Make code unconditional.
18073 [!__ASSUME_32BITUIDS]: Remove conditional code.
18074 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18075 <kernel-features.h>.
18076 [__ASSUME_32BITUIDS]: Make code unconditional.
18077 [!__ASSUME_32BITUIDS]: Remove conditional code.
18078 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18079 <kernel-features.h>.
18080 [__ASSUME_32BITUIDS]: Make code unconditional.
18081 [!__ASSUME_32BITUIDS]: Remove conditional code.
18082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18083 <kernel-features.h>.
18084 [__ASSUME_32BITUIDS]: Make code unconditional.
18085 [!__ASSUME_32BITUIDS]: Remove conditional code.
18086 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18087 <kernel-features.h>.
18088 [__ASSUME_32BITUIDS]: Make code unconditional.
18089 [!__ASSUME_32BITUIDS]: Remove conditional code.
18090 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18091 <kernel-features.h>.
18092 [__ASSUME_32BITUIDS]: Make code unconditional.
18093 [!__ASSUME_32BITUIDS]: Remove conditional code.
18094 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18095 <kernel-features.h>.
18096 [__ASSUME_32BITUIDS]: Make code unconditional.
18097 [!__ASSUME_32BITUIDS]: Remove conditional code.
18098 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18099 <kernel-features.h>.
18100 [__ASSUME_32BITUIDS]: Make code unconditional.
18101 [!__ASSUME_32BITUIDS]: Remove conditional code.
18102 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18103 <kernel-features.h>.
18104 [__ASSUME_32BITUIDS]: Make code unconditional.
18105 [!__ASSUME_32BITUIDS]: Remove conditional code.
18106 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18107 <kernel-features.h>.
18108 [__ASSUME_32BITUIDS]: Make code unconditional.
18109 [!__ASSUME_32BITUIDS]: Remove conditional code.
18110 * sysdeps/unix/sysv/linux/kernel-features.h
18111 (__ASSUME_SETRESUID_SYSCALL): Remove.
18112 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18113 (__ASSUME_32BITUIDS): Likewise.
18114 (__ASSUME_LDT_WORKS): Likewise.
18115 (__ASSUME_O_DIRECTORY): Likewise.
18116 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18117 architecture but not kernel version.
18118 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18119 (__ASSUME_MMAP2_SYSCALL): Likewise.
18120 (__ASSUME_STAT64_SYSCALL): Likewise.
18121 (__ASSUME_IPC64): Likewise.
18122 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18123 <kernel-features.h>.
18124 [__ASSUME_32BITUIDS]: Make code unconditional.
18125 [!__ASSUME_32BITUIDS]: Remove conditional code.
18126 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18127 <kernel-features.h>.
18128 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18129 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18130 132096]: Remove conditional code.
18131 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18132 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18133 <kernel-features.h>.
18134 [__ASSUME_32BITUIDS]: Make code unconditional.
18135 [!__ASSUME_32BITUIDS]: Remove conditional code.
18136 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18137 <kernel-features.h>.
18138 [__ASSUME_32BITUIDS]: Make code unconditional.
18139 [!__ASSUME_32BITUIDS]: Remove conditional code.
18140 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18141 <kernel-features.h>.
18142 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18144 (__setresgid): Do not declare.
18145 [__ASSUME_32BITUIDS]: Make code unconditional.
18146 [!__ASSUME_32BITUIDS]: Remove conditional code.
18147 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18148 <kernel-features.h>.
18149 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18151 (__setresuid): Do not declare.
18152 [__ASSUME_32BITUIDS]: Make code unconditional.
18153 [!__ASSUME_32BITUIDS]: Remove conditional code.
18154 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18155 <kernel-features.h>.
18156 [__ASSUME_32BITUIDS]: Make code unconditional.
18157 [!__ASSUME_32BITUIDS]: Remove conditional code.
18158 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18159 <kernel-features.h>.
18160 [__ASSUME_32BITUIDS]: Make code unconditional.
18161 [!__ASSUME_32BITUIDS]: Remove conditional code.
18163 2012-05-25 Richard Henderson <rth@twiddle.net>
18165 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18166 dl_hwcap to ifunc resolver.
18167 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18169 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18170 dl_hwcap to ifunc resolver.
18171 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18173 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18176 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18177 for |x| <= 2**-26, not 2**-57.
18178 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18181 2012-05-24 Jeff Law <law@redhat.com>
18183 * stdio-common/Makefile (tests): Add bug25.
18184 * stdio-common/bug25.c: New test.
18186 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18189 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18190 multiple of MALLOC_ALIGNMENT in size.
18191 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18193 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18195 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18197 (FILENAME_MAX): Use macro-int-constant.
18198 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18199 (_IOFBF): Use macro-int-constant.
18200 (_IOLBF): Likewise.
18201 (_IONBF): Likewise.
18202 (SEEK_CUR): Likewise.
18203 (SEEK_END): Likewise.
18204 (SEEK_SET): Likewise.
18205 (TMP_MAX): Likewise.
18206 (EOF): Use macro-int-constant. Require < 0.
18207 (NULL): Use macro-constant. Require == 0.
18208 (stdin): Require type to be FILE *.
18209 (stdout): Likewise.
18210 (stderr): Likewise.
18211 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18212 macro-int-constant.
18213 (EXIT_SUCCESS): Likewise.
18214 (NULL): Use macro-constant. Require == 0.
18215 (RAND_MAX): Use macro-int-constant.
18216 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18217 [C99-based standards] (strtof): Require function.
18218 [C99-based standards] (strtold): Likewise.
18219 [C99-based standards] (strtoll): Likewise.
18220 [C99-based standards] (strtoull): Likewise.
18221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18222 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18223 [ISO || ISO99 || ISO11] (math.h): Likewise.
18224 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18225 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18228 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18231 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18232 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18233 * intl/dgettext.c (DCGETTEXT): Likewise.
18234 * intl/gettext.c (DCGETTEXT): Likewise.
18235 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18236 * posix/regex_internal.h (gettext): Likewise.
18237 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18238 Remove declaration.
18239 * include/argz.h (__argz_count_internal)
18240 (__argz_stringify_internal): Remove declaration.
18241 (__argz_count, __argz_stringify): Declare hidden proto.
18242 * intl/dcgettext.c: Remove use of INTDEF.
18243 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18244 * string/argz-stringify.c: Likewise.
18245 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18246 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18247 Declare hidden proto.
18248 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18249 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18250 Declare hidden proto.
18251 * include/stdio.h (__asprintf_internal): Don't declare.
18252 (__asprintf): Don't define as macro. Declare hidden proto.
18253 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18254 (__fsetlocking): Declare hidden proto.
18255 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18256 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18258 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18259 (_IO_setlinebuf): Remove use of INTUSE.
18260 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18261 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18262 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18263 Remove declaration.
18264 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18265 (_IO_do_flush): Remove use of INTUSE.
18266 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18267 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18268 (_IO_adjust_column, _IO_least_wmarker)
18269 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18270 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18271 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18272 (_IO_default_doallocate, _IO_wdefault_doallocate)
18273 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18274 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18275 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18276 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18277 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18278 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18279 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18280 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18281 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18282 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18283 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18284 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18285 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18287 (_IO_flush_all_internal, _IO_adjust_column_internal)
18288 (_IO_default_uflow_internal, _IO_default_finish_internal)
18289 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18290 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18291 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18292 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18293 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18294 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18295 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18296 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18297 (_IO_file_close_internal, _IO_file_close_it_internal)
18298 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18299 (_IO_file_init_internal, _IO_file_attach_internal)
18300 (_IO_file_fopen_internal, _IO_file_read_internal)
18301 (_IO_file_sync_internal, _IO_file_seek_internal)
18302 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18303 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18304 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18305 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18306 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18307 (_IO_list_all_internal, _IO_link_in_internal)
18308 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18309 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18310 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18311 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18312 (_IO_do_write_internal, _IO_padn_internal)
18313 (_IO_getline_info_internal, _IO_getline_internal)
18314 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18315 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18316 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18317 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18318 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18319 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18320 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18321 with libc_hidden_ver, remove use of INTUSE.
18322 * libio/genops.c: Likewise.
18323 * libio/freopen.c: Likewise.
18324 * libio/freopen64.c: Likewise.
18325 * libio/iofclose.c: Likewise.
18326 * libio/iofdopen.c: Likewise.
18327 * libio/iofflush.c: Likewise.
18328 * libio/iofflush_u.c: Likewise.
18329 * libio/iofgets.c: Likewise.
18330 * libio/iofgets_u.c: Likewise.
18331 * libio/iofopen.c: Likewise.
18332 * libio/iofopncook.c: Likewise.
18333 * libio/iofread.c: Likewise.
18334 * libio/iofread_u.c: Likewise.
18335 * libio/ioftell.c: Likewise.
18336 * libio/iofwrite.c: Likewise.
18337 * libio/iogetline.c: Likewise.
18338 * libio/iogets.c: Likewise.
18339 * libio/iogetwline.c: Likewise.
18340 * libio/iopadn.c: Likewise.
18341 * libio/iopopen.c: Likewise.
18342 * libio/ioseekoff.c: Likewise.
18343 * libio/ioseekpos.c: Likewise.
18344 * libio/iosetbuffer.c: Likewise.
18345 * libio/iosetvbuf.c: Likewise.
18346 * libio/ioungetc.c: Likewise.
18347 * libio/ioungetwc.c: Likewise.
18348 * libio/iovdprintf.c: Likewise.
18349 * libio/iovsprintf.c: Likewise.
18350 * libio/iovsscanf.c: Likewise.
18351 * libio/memstream.c: Likewise.
18352 * libio/obprintf.c: Likewise.
18353 * libio/oldfileops.c: Likewise.
18354 * libio/oldiofclose.c: Likewise.
18355 * libio/oldiofdopen.c: Likewise.
18356 * libio/oldiofopen.c: Likewise.
18357 * libio/oldiopopen.c: Likewise.
18358 * libio/oldstdfiles.c: Likewise.
18359 * libio/putc.c: Likewise.
18360 * libio/setbuf.c: Likewise.
18361 * libio/setlinebuf.c: Likewise.
18362 * libio/stdfiles.c: Likewise.
18363 * libio/strops.c: Likewise.
18364 * libio/vasprintf.c: Likewise.
18365 * libio/vscanf.c: Likewise.
18366 * libio/vsnprintf.c: Likewise.
18367 * libio/vswprintf.c: Likewise.
18368 * libio/wfiledoalloc.c: Likewise.
18369 * libio/wfileops.c: Likewise.
18370 * libio/wgenops.c: Likewise.
18371 * libio/wmemstream.c: Likewise.
18372 * libio/wstrops.c: Likewise.
18373 * libio/__fpurge.c: Likewise.
18374 * libio/__fsetlocking.c: Likewise.
18375 * assert/assert.c: Likewise.
18376 * debug/fgets_chk.c: Likewise.
18377 * debug/fgets_u_chk.c: Likewise.
18378 * debug/fread_chk.c: Likewise.
18379 * debug/fread_u_chk.c: Likewise.
18380 * debug/gets_chk.c: Likewise.
18381 * debug/obprintf_chk.c: Likewise.
18382 * debug/vasprintf_chk.c: Likewise.
18383 * debug/vdprintf_chk.c: Likewise.
18384 * debug/vsnprintf_chk.c: Likewise.
18385 * debug/vsprintf_chk.c: Likewise.
18386 * malloc/mtrace.c: Likewise.
18387 * misc/error.c: Likewise.
18388 * misc/syslog.c: Likewise.
18389 * stdio-common/asprintf.c: Likewise.
18390 * stdio-common/fxprintf.c: Likewise.
18391 * stdio-common/getw.c: Likewise.
18392 * stdio-common/isoc99_fscanf.c: Likewise.
18393 * stdio-common/isoc99_scanf.c: Likewise.
18394 * stdio-common/isoc99_vfscanf.c: Likewise.
18395 * stdio-common/isoc99_vscanf.c: Likewise.
18396 * stdio-common/isoc99_vsscanf.c: Likewise.
18397 * stdio-common/printf-prs.c: Likewise.
18398 * stdio-common/printf_fp.c: Likewise.
18399 * stdio-common/printf_fphex.c: Likewise.
18400 * stdio-common/printf_size.c: Likewise.
18401 * stdio-common/putw.c: Likewise.
18402 * stdio-common/scanf.c: Likewise.
18403 * stdio-common/sprintf.c: Likewise.
18404 * stdio-common/tmpfile.c: Likewise.
18405 * stdio-common/vfprintf.c: Likewise.
18406 * stdio-common/vfscanf.c: Likewise.
18407 * stdlib/strfmon_l.c: Likewise.
18408 * sunrpc/openchild.c: Likewise.
18409 * sunrpc/xdr_stdio.c: Likewise.
18410 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18411 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18413 2012-05-24 Roland McGrath <roland@hack.frob.com>
18415 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18417 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18418 in the third column, to generate for the shared library an IFUNC
18419 that uses _dl_vdso_vsym.
18420 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18421 * Makeconfig (object-suffixes-noshared): New variable.
18423 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18424 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18425 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18426 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18429 * include/sys/time.h (__gettimeofday): Remove macro.
18430 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18431 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18433 (__gettimeofday): Add libc_hidden_def.
18434 (gettimeofday): Add libc_hidden_weak.
18435 * sysdeps/mach/gettimeofday.c: Likewise.
18436 * sysdeps/posix/gettimeofday.c: Likewise.
18437 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18438 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18440 (__gettimeofday_internal): Remove strong_alias.
18441 (__gettimeofday): Add libc_hidden_def.
18442 (gettimeofday): Add libc_hidden_weak.
18443 * sysdeps/unix/syscalls.list (gettimeofday):
18444 Remove __gettimeofday_internal alias.
18446 2012-05-24 Daniel Jacobowitz <drow@false.org>
18447 H.J. Lu <hongjiu.lu@intel.com>
18450 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18451 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18452 (largebin_index_32_big): New.
18453 (largebin_index): Use it for 16-byte alignment.
18454 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18455 correction with front_misalign.
18457 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18485 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18486 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18488 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18492 * math/libm-test.inc (exp_test): Add test from bug 14036.
18493 (pow_test): Add test from bug 10846.
18495 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18497 (special_function): Do not include flags in test name.
18498 (parse_args): Likewise.
18499 * sysdeps/i386/fpu/libm-test-ulps: Update.
18500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18501 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18502 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18505 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18507 * math/libm-test.inc ("Philosophy"): Update comment about
18509 (UNDERFLOW_EXCEPTION): New macro.
18510 (UNDERFLOW_EXCEPTION_OK): Likewise.
18511 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18512 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18513 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18514 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18515 (INVALID_EXCEPTION_OK): Update value.
18516 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18517 (OVERFLOW_EXCEPTION_OK): Likewise.
18518 (IGNORE_ZERO_INF_SIGN): Likewise.
18519 (test_exceptions): Handle underflow exceptions.
18520 (acos_test): Update for underflow exception expectations.
18521 (cexp_test): Likewise.
18522 (clog_test): Likewise.
18523 (clog10_test): Likewise.
18524 (csqrt_test): Likewise.
18525 (ctan_test): Likewise.
18526 (ctanh_test): Likewise.
18527 (exp_test): Likewise.
18528 (exp10_test): Likewise.
18529 (exp2_test): Likewise.
18530 (expm1_test): Likewise.
18531 (fma_test): Likewise.
18532 (j0_test): Likewise.
18533 (jn_test): Likewise.
18534 (nexttoward_test): Likewise.
18535 (pow_test): Likewise.
18536 (scalbn_test): Likewise.
18537 (scalbln_test): Likewise.
18538 (tan_test): Likewise.
18539 (y1_test): Likewise.
18540 * sysdeps/i386/fpu/libm-test-ulps: Update.
18541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543 2012-05-23 David S. Miller <davem@davemloft.net>
18545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18546 (__libc_sigaction): Remove unused local variables.
18548 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18550 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18552 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18554 mktime: avoid signed integer overflow
18555 * time/mktime.c (__mktime_internal): Do not mishandle the case
18556 where diff == INT_MIN.
18558 mktime: simplify computation of average
18559 * time/mktime.c (ranged_convert): Use new time_t_avg function
18560 instead of rolling our own (probably-slower) code.
18562 mktime: do not assume signed right shift propagates sign bit
18563 * time/mktime.c (isdst_differ): New static function.
18564 (__mktime_internal): No need to normalize tm_isdst now.
18565 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18568 mktime: merge another wrapv change from gnulib
18569 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18570 from some compilers.
18572 mktime: remove incorrect attempt at unusual arithmetics
18573 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18574 The code didn't really work on such machines anyway.
18575 (TYPE_MINIMUM): Assume two's complement.
18576 (twos_complement_arithmetic): Verify that long_int and time_t
18577 are two's complement (or unsigned, in the latter case).
18579 mktime: check signed shifts on long_int and time_t, too
18580 * time/mktime.c (SHR): Check that shifts work as desired
18581 on the types long_int and time_t too, as SHR is used on
18584 mktime: do not assume 'long' is wide enough
18585 * time/mktime.c (verify): Move decl up.
18586 (long_int): New type.
18587 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18588 to remove assumption in the code that 'long' is wide enough to
18589 store year values. This assumption is not true on x32 and on
18590 some non-glibc platforms.
18592 mktime: merge wrapv change from gnulib
18593 * time/mktime.c (WRAPV): New macro.
18594 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18595 (guess_time_tm, __mktime_internal): Do not assume that signed
18596 integer overflow wraps around; modern compilers generate code
18597 where this assumption is no longer valid.
18599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18601 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18602 Replace "jmp L(pseudo_end)" with "ret".
18603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18606 2012-05-23 Andreas Jaeger <aj@suse.de>
18608 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18609 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18611 2012-05-23 Andreas Jaeger <aj@suse.de>
18612 Maximilian Attems <max@stro.at>
18614 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18617 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18619 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18620 code so that pseudo_end is just ret and the stack pointer is
18621 correct also for static library in error case.
18623 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18625 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18626 move to syscalls.list.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18632 * manual/install.texi (Running make install): Do not mention Linux
18633 kernel version for which pt_chown is not needed.
18634 (Linux): Do not mention problems with nscd with 2.0 kernels.
18635 * INSTALL: Regenerated.
18637 2012-05-23 Andreas Jaeger <aj@suse.de>
18639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18640 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18642 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18644 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18646 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18648 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18652 * sysdeps/unix/sysv/linux/bits/in.h
18653 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18655 2012-05-22 Roland McGrath <roland@hack.frob.com>
18657 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18658 (PREPARE_VERSION): Just use assert instead, it will be elided
18659 under [NDEBUG] anyway.
18661 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18663 * sysdeps/unix/sysv/linux/Makefile: Include
18664 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18665 (sysdep_routines): Remove sysctl.
18666 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18667 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18668 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18669 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18670 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18672 2012-05-22 Andreas Jaeger <aj@suse.de>
18674 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18675 that pseudo_end is just ret and the stack pointer is correct also
18676 for static library in error case.
18678 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18681 * nss/nsswitch.c (defconfig_entries): New variable.
18682 (__nss_database_lookup): Don't leak defconfig entries.
18683 (nss_parse_service_list): Don't leak on error paths.
18684 (free_database_entries): New function.
18685 (free_defconfig): New function.
18686 (free_mem): Move common code to free_database_entries.
18688 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18690 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18692 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18694 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18695 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18698 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18699 (INTERNAL_SYSCALL_TYPES): Likewise.
18700 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18701 (LOAD_REGS_TYPES_[1-6]): Likewise.
18702 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18703 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18705 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18707 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18708 copysignl for GLIBC_2_0.
18709 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18710 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18712 logbl for GLIBC_2_0.
18713 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18714 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18716 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18719 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18721 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18724 * time/mktime.c: Update copyright years.
18726 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18728 mktime: merge comment-quoting-style change from gnulib
18729 * time/mktime.c: Quote 'like this' in comments.
18730 The GNU coding standards suggest that we no longer quote `like this',
18731 as "`" and "'" are typically rendered asymmetrically nowadays.
18732 The typical gnulib style is to quote 'like this' when quoting
18733 code, and "like this" when quoting English.
18735 * time/mktime.c (compile-command): Add "-I.".
18737 mktime: merge mktime-internal.h change from gnulib
18738 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18740 mktime: merge time_r change from gnulib
18741 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18743 mktime: merge DEBUG change from gnulib
18744 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18745 case system <time.h> has a #define.
18747 mktime: merge <sys/types.h> change from gnulib
18748 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18749 since <time.t> is now guaranteed to define time_t.
18751 mktime: merge HAVE_CONFIG_H change from gnulib
18752 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18754 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18759 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18761 (struct rusage): Use anonymous union to pad each field to
18764 2012-05-21 David S. Miller <davem@davemloft.net>
18766 * Makefules (o-iterator): Remove .s cases.
18767 (compile-command.s): Delete.
18768 (COMPILE.s): Delete.
18769 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18771 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18773 * configure.in (libc_cv_predef_stack_protector): Only consider
18774 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18775 * configure: Regenerated.
18777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18780 New macro. Use R*LP on int and pointer.
18781 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18782 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18783 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18786 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18787 [__WORDSIZE_TIME64_COMPAT32] instead of
18788 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18789 (struct utmp): Likewise.
18790 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18791 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18793 (__WORDSIZE_TIME64_COMPAT32): This.
18794 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18795 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18796 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18797 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18798 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18799 (__WORDSIZE_TIME64_COMPAT32): New macro.
18801 2012-05-21 Andreas Jaeger <aj@suse.de>
18803 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18804 only if [SHARED]. Add prototype for __wcschr_ia32.
18806 2012-05-21 Roland McGrath <roland@hack.frob.com>
18808 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18809 of %rbp unmolested in the jmp_buf while mangling the low bits.
18810 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18811 unmolested high bits of %rbp while demangling the low bits.
18812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18814 2012-05-21 Andreas Jaeger <aj@suse.de>
18816 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18817 * sunrpc/svc_simple.c: Use it for registerrpc.
18818 * sunrpc/xcrypt.c: Use it for passwd2des.
18820 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18822 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18824 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18825 Don't define if [__SYSCALL_WORDSIZE != 32].
18826 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18829 2012-05-21 Bruno Haible <bruno@clisp.org>
18830 Andreas Jaeger <aj@suse.de>
18832 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18833 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18834 inptr and inend for must_buffer_ch.
18835 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18836 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18837 * stdio-common/Makefile (tests): Remove bug15.
18838 (bug15-ENV): Remove macro.
18839 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18842 2012-05-19 Andreas Jaeger <aj@suse.de>
18843 Roland McGrath <roland@hack.frob.com>
18845 * manual/contrib.texi: Completely rewritten. It contains now an
18846 alphabetical list of contributors and their contributions.
18848 2012-05-21 Richard Henderson <rth@twiddle.net>
18850 * misc/getauxval.c (__getauxval): Use unsigned long int.
18851 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18852 (getauxval): Use unsigned long int.
18854 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18856 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18858 2012-05-21 Roland McGrath <roland@hack.frob.com>
18860 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18861 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18862 __alignof__ (long double).
18864 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18868 2012-05-20 Richard Henderson <rth@twiddle.net>
18870 * misc/getauxval.c: New file.
18871 * misc/sys/auxv.h: New file.
18872 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18873 (routines): Add getauxval.
18874 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18875 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18876 * elf/dl-sysdep.c (_dl_auxv): Remove.
18877 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18878 * elf/dl-support.c (_dl_auxv): New variable.
18879 (_dl_aux_init): Initialize it.
18880 * manual/startup.texi (Auxiliary Vector): New node.
18881 * sysdeps/generic/bits/hwcap.h: New file.
18882 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18883 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18884 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18885 * sysdeps/sparc/sysdep.h: ... here. Include it.
18886 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18899 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18903 2012-05-19 David S. Miller <davem@davemloft.net>
18905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18907 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18910 * math/s_ccosh.c: Include <float.h>
18911 (__ccosh): Avoid internal overflow calculating sinh and cosh
18912 values before multiplying by sin and cos values.
18913 * math/s_ccoshf.c: Likewise.
18914 * math/s_ccoshl.c: Likewise.
18915 * math/s_csin.c: Likewise.
18916 * math/s_csinf.c: Likewise.
18917 * math/s_csinl.c: Likewise.
18918 * math/s_csinh.c: Likewise.
18919 * math/s_csinhf.c: Likewise.
18920 * math/s_csinhl.c: Likewise.
18921 * math/libm-test.inc (ccos_test): Add more tests.
18922 (ccosh_test): Likewise.
18923 (csin_test): Likewise.
18924 (csinh_test): Likewise.
18925 * sysdeps/i386/fpu/libm-test-ulps: Update.
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18928 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18930 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18931 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18933 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18935 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18937 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18938 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18939 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18940 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18941 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18942 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18943 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18944 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18945 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18946 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18947 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18948 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18949 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18950 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18951 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18952 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18953 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18954 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18955 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18956 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18957 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18958 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18959 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18960 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18961 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18962 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18963 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18964 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18965 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18966 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18967 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18969 2012-05-18 Andreas Jaeger <aj@suse.de>
18971 * csu/.gitignore: Delete.
18973 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18975 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18976 (timex): Use __syscall_slong_t.
18978 2012-05-18 Andreas Jaeger <aj@suse.de>
18979 Carlos O'Donell <carlos_odonell@mentor.com>
18981 * manual/install.texi (Configuring and compiling): Update
18982 description about files modified in the source directory.
18983 * INSTALL: Regenerated.
18985 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18987 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18988 value. Use "or" to set return value to -1.
18989 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18990 negate return value.
18992 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18994 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18995 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18996 failure if the compiler has Graphite support disabled.
18997 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18999 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19000 CFLAGS-memmove.c): Likewise.
19001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19004 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19006 * sysdeps/x86_64/x32/_itoa.h: New file.
19008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19009 getdents system call only if kernel and user dirents have the
19010 same d_ino and d_off.
19012 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19013 LLONG_MAX != LONG_MAX.
19014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19015 (_fitoa_word): Likewise.
19017 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19021 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19023 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19024 include <bits/wordsize.h>. Check __x86_64__ instead of
19026 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19027 if __x86_64__ is defined. Use anonymous union on fpstate.
19029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19032 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19034 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19035 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19036 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19037 Refer to _rtld_local_ro instead of _rtld_global_ro.
19038 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19040 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19042 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19044 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19045 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19046 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19048 * sysdeps/powerpc/powerpc32/dl-machine.c
19049 (__elf_machine_runtime_setup) [PROF]: Don't reference
19052 2012-05-18 Andreas Jaeger <aj@suse.de>
19054 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19055 function only available for GCCs before 3.4 since GCC 3.4
19056 introduced a builtin.
19058 (llrintf): Likewise.
19059 (llrint): Likewise.
19066 (nearbyint): Likewise.
19067 (nearbyintf): Likewise.
19071 (floorf): Likewise.
19073 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19075 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19076 on both fields and cast pointer to __syscall_ulong_t.
19078 * bits/types.h (__fsword_t): New type.
19079 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19080 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19082 (__FSWORD_T_TYPE): Likewise.
19083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19084 (__FSWORD_T_TYPE): Likewise.
19085 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19086 (__FSWORD_T_TYPE): Likewise.
19087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19088 (__FSWORD_T_TYPE): Likewise.
19089 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19090 __SWORD_TYPE with __fsword_t.
19091 (statfs64): Likewise.
19093 2012-05-17 David S. Miller <davem@davemloft.net>
19095 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19097 2012-05-17 Andreas Jaeger <aj@suse.de>
19099 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19102 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19104 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19106 2012-05-17 Andreas Jaeger <aj@suse.de>
19108 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19111 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19113 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19115 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19117 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19118 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19120 2012-05-17 Andreas Jaeger <aj@suse.de>
19121 Carlos O'Donell <carlos_odonell@mentor.com>
19124 * sysdeps/x86_64/multiarch/init-arch.h
19125 (bit_YMM_Usable): Rename to...
19126 (bit_AVX_Usable): ... this.
19127 (bit_FMA4_Usable): New macro.
19128 (bit_XMM_state): New macro.
19129 (bit_YMM_state): New macro.
19130 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19131 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19132 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19133 (CPUID_OSXSAVE): New macro.
19134 (CPUID_AVX): New macro.
19135 (CPUID_FMA4): New macro.
19136 (index_YMM_Usable): Rename to...
19137 (index_AVX_Usable): ... this.
19138 (HAS_AVX): Use HAS_ARCH_FEATURE.
19139 (HAS_FMA4): Likewise.
19140 (HAS_YMM_USABLE): Remove.
19141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19142 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19144 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19145 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19146 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19147 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19148 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19150 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19152 * math/libm-test.c: Support platforms without multiple rounding modes.
19153 * math/bug-nextafter.c: Support platforms without FP exceptions.
19154 * math/bug-nexttoward.c: Likewise.
19155 * math/test-fenv.c: Likewise.
19156 * math/test-misc.c: Likewise.
19157 * stdlib/bug-getcontext.c: Likewise.
19159 2012-05-17 Andreas Jaeger <aj@suse.de>
19161 * manual/examples/search.c (critter_cmp): Change signature to
19163 * manual/string.texi (Collation Functions): Likewise.
19165 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19167 * bits/types.h: Fold copyright years.
19168 * bits/typesizes.h: Likewise.
19169 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19173 * time/time.h: Likewise.
19175 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19178 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19179 in instead of returning them. Return void.
19180 (__libc_mallinfo): Accumulate over all arenas.
19181 (__malloc_stats): Adjust for change in int_mallinfo interface.
19183 2012-05-16 Roland McGrath <roland@hack.frob.com>
19186 * configure.in (NM): Add AC_CHECK_TOOL for it.
19187 (libc_extra_cflags): New substituted variable.
19188 Check for -fstack-protector being used implicitly.
19189 * configure: Regenerated.
19190 * config.make.in (config-extra-cflags): New variable,
19191 gets @libc_extra_cflags@.
19192 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19195 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19196 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19197 * configure: Regenerated.
19198 * config.make.in (CPPUNDEFS): New substituted variable.
19199 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19200 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19201 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19203 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19205 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19206 (mq_attr): Use __syscall_slong_t.
19208 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19210 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19211 Check __x86_64__ instead of __WORDSIZE.
19212 (_STAT_VER_LINUX): Likewise.
19213 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19214 __syscall_ulong_t and __syscall_slong_t.
19215 (stat64): Likewise.
19217 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19221 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19223 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19227 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19230 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19231 include <bits/wordsize.h>. Check __x86_64__ instead of
19233 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19235 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19237 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19238 include <bits/wordsize.h>. Check __x86_64__ instead of
19240 (user_regs_struct): Use "__extension__ unsigned long long"
19241 instead of "unsigned long" if __x86_64__ is defined.
19242 (user): Likewise. Pad after pointer field if __ILP32__ is
19245 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19247 * configure.in (makeinfo): Require version 4.5 or later. Allow
19249 * configure: Regenerated.
19250 * manual/install.texi (texinfo): Increase version requirement to
19252 * INSTALL: Regenerated.
19254 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19258 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19260 * sysdeps/x86_64/x32/ffs.c: New file.
19262 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19264 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19265 defined. Use __syscall_ulong_t.
19266 (shminfo): Use __syscall_ulong_t.
19267 (shm_info): Likewise.
19269 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19272 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19274 (msgqnum_t): Use __syscall_ulong_t.
19275 (msglen_t): Likewise.
19276 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19279 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19282 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19284 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19285 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19287 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19291 include <bits/wordsize.h>. Check __x86_64__ instead of
19294 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19295 "unsigned long long int" if __x86_64__ is defined.
19296 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19300 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19304 (GET_PC): Cast to uintptr_t first.
19305 (GET_FRAME): Likewise.
19306 (GET_STACK): Likewise.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19310 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19311 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19312 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19313 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19314 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19315 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19316 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19317 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19318 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19320 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19324 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19325 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19326 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19330 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19332 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19334 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19336 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19338 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19340 * Makerules (+depfiles): Also collect depfiles from .oS in
19342 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19343 .oS, $(libnldbl-routines)).
19345 * Makerules (native-compile-mkdep-flags): Define.
19346 * sunrpc/Makefile (extra-objs): Add $(addprefix
19347 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19348 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19349 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19350 calling $(make-target-directory).
19352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19354 * bits/types.h (__snseconds_t): Removed.
19355 * time/time.h (struct timespec): Replace __snseconds_t with
19357 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19358 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19361 (__SNSECONDS_T_TYPE): Likewise.
19362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19363 (__SNSECONDS_T_TYPE): Likewise.
19364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19365 (__SNSECONDS_T_TYPE): Likewise.
19367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19369 * sysdeps/mach/hurd/bits/typesizes.h
19370 (__SYSCALL_SLONG_TYPE): New macro.
19371 (__SYSCALL_ULONG_TYPE): Likewise.
19373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19375 * bits/types.h (__syscall_slong_t): New type.
19376 (__syscall_ulong_t): Likewise.
19378 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19379 (__SYSCALL_ULONG_TYPE): Likewise.
19380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19381 (__SYSCALL_SLONG_TYPE): Likewise.
19382 (__SYSCALL_ULONG_TYPE): Likewise.
19383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19384 (__SYSCALL_SLONG_TYPE): Likewise.
19385 (__SYSCALL_ULONG_TYPE): Likewise.
19386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19387 (__SYSCALL_SLONG_TYPE): Likewise.
19388 (__SYSCALL_ULONG_TYPE): Likewise.
19390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19392 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19393 Add sigaltstack-offsets.sym.
19394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19395 <sigaltstack-offsets.h>.
19396 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19397 longjmp_msg pointer.
19398 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19399 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19401 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19403 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19405 * elf/stackguard-macros.h: Remove file.
19406 * sysdeps/generic/stackguard-macros.h: New file.
19407 * sysdeps/i386/stackguard-macros.h: Likewise.
19408 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19409 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19410 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19411 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19412 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19413 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19414 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19415 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19416 <elf/stackguard-macros.h>.
19419 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19420 __aligned__ in attribute.
19421 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19422 (gregset_t): Likewise.
19424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19426 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19427 * sysdeps/x86_64/64/Implies-after: Here. New file.
19428 * sysdeps/x86_64/x32/Implies-after: New file.
19430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19432 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19433 and access return value for _dl_profile_fixup. Use R10_LP to
19436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19438 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19442 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19443 * sysdeps/x86_64/x32/sysdep.h: New file.
19445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19447 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19448 * sysdeps/x86_64/setjmp.S: Likewise.
19450 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19453 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19454 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19455 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19456 remove unused global constant.
19458 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19460 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19461 include of <not-cancel.h>.
19463 2012-05-15 Roland McGrath <roland@hack.frob.com>
19465 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19467 2012-05-15 Jeff Law <law@redhat.com>
19468 Andreas Jaeger <aj@suse.de>
19471 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19473 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19474 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19475 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19476 code changing __hst_map_handle.map.
19478 2012-05-15 Roland McGrath <roland@hack.frob.com>
19480 * configure.in (sysnames): Look for Implies-before and Implies-after
19482 * configure: Regenerated.
19484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19486 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19487 8-byte data alignment with LP_SIZE alignment.
19489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19491 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19496 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19501 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19504 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19508 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19509 (stackinfo_sub_sp): Likewise.
19511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19518 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19528 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19532 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19533 into R11_LP and load __x86_64_shared_cache_size_half into
19536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19538 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19541 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19549 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19550 powerpc32/power7/fpu/s_logb.c via #include.
19551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19552 powerpc32/power7/fpu/s_logbf.c via #include.
19553 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19554 powerpc32/power7/fpu/s_logbl.c via #include.
19556 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19558 * README.libm: Remove file.
19560 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19562 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19563 count for x32. Use R*_LP and omit operand-size suffix.
19565 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19567 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19568 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19569 * sysdeps/x86_64/x32/shlib-versions: New file.
19571 2012-05-14 Roland McGrath <roland@hack.frob.com>
19573 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19574 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19575 Use _dl_fatal_printf instead.
19577 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19579 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19580 set if not set by the user. Do not allow for being unset.
19581 * sysdeps/unix/sysv/linux/configure: Regenerated.
19583 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19585 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19586 the `q' suffix from lea and replace .quad with ASM_ADDR.
19588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19591 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19593 (PTR_DEMANGLE): Likewise.
19595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19597 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19599 (ASM_ADDR): Likewise.
19600 (RAX_LP): Likewise.
19601 (RBP_LP): Likewise.
19602 (RBX_LP): Likewise.
19603 (RCX_LP): Likewise.
19604 (RDI_LP): Likewise.
19605 (RSI_LP): Likewise.
19606 (RSP_LP): Likewise.
19609 (R10_LP): Likewise.
19610 (R10_LP): Likewise.
19611 (R11_LP): Likewise.
19612 (R12_LP): Likewise.
19613 (R13_LP): Likewise.
19614 (R14_LP): Likewise.
19615 (R15_LP): Likewise.
19617 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19619 * sysdeps/x86_64/x32/dl-machine.h: New file.
19621 2012-05-14 Andreas Jaeger <aj@suse.de>
19623 * manual/Makefile (subdir): Remove export of subdir.
19624 (all): Remove target.
19625 (.PHONY): Remove all from list.
19626 (mkinstalldirs): Remove.
19627 (.PHONY): Remove installdirs from list.
19628 ($(inst_infodir)/libc.info): Use make-target-directory.
19629 (installdirs): Remove.
19630 (subdir_%): Remove.
19631 (glibc-targets): Remove.
19634 ($(objpfx)stubs ../po/manual.pot): Remove.
19635 ($(objpfx)stamp%): Remove.
19636 (make-target-directory): Remove.
19637 (subdir_install): Remove.
19638 (routines): Remove.
19645 * manual/.gitignore: Remove, it's not needed anymore.
19646 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19648 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19650 (texis): Renamed to $(objpfx)texis.
19651 (texis-path): New, contains path to generated files.
19652 (chapters.%): Use texis-path for complete path, add extra argument
19654 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19655 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19656 (summary,texi, stamp-summary): Use complete path of
19657 files. Generate files in build dir.
19658 (dir-add.texi): Build in build dir.
19659 (libm-err.texi,stamp-libm-err): Likewise.
19660 (version.texi, stamp-version): Likewise.
19661 (.%c.texi): Likewise.
19662 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19663 (mostlyclean): Remove target.
19664 (realclean): Remove target.
19665 (generated): Add new variable with contents from mostlyclean and
19666 realclean, remove entries duplicated in common-mostlyclean, add
19667 stamp-libm-err and stamp-version.
19668 (generated-dirs): Add libc directory.
19669 ($(inst_infodir)/libc.info): Install files from build dir.
19671 * manual/install.texi (Configuring and compiling): Adjust since
19672 the info files are not part of the tar ball anymore.
19674 2012-05-14 Andreas Jaeger <aj@suse.de>
19676 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19679 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19683 to 2.2.0 where earlier.
19684 * sysdeps/unix/sysv/linux/configure: Regenerated.
19685 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19686 Remove conditional code.
19687 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19688 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19689 Remove conditional code.
19690 [!__NR_lchown]: Likewise.
19691 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19692 [__NR_lchown]: Likewise.
19693 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19694 comment referencing __ASSUME_LCHOWN_SYSCALL.
19695 * sysdeps/unix/sysv/linux/i386/sigaction.c
19696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19698 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19699 Remove conditional code.
19700 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19701 (__protocol_available): Remove #if 0 code.
19702 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19704 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19705 * sysdeps/unix/sysv/linux/kernel-features.h
19706 (__ASSUME_GETCWD_SYSCALL): Don't define.
19707 (__ASSUME_REALTIME_SIGNALS): Likewise.
19708 (__ASSUME_PREAD_SYSCALL): Likewise.
19709 (__ASSUME_PWRITE_SYSCALL): Likewise.
19710 (__ASSUME_POLL_SYSCALL): Likewise.
19711 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19712 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19714 (__ASSUME_SIOCGIFNAME): Don't define.
19715 (__ASSUME_MSG_NOSIGNAL): Likewise.
19716 (__ASSUME_SENDFILE): Define unconditionally.
19717 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19718 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19720 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19721 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19723 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19724 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19725 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19726 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19731 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19737 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19743 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19749 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19751 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19752 Remove conditional code.
19753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19754 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19755 Remove conditional code.
19756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19757 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19758 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19759 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19760 Remove conditional code.
19761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19762 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19763 Remove conditional code.
19764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19765 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19766 Remove conditional code.
19767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19768 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19769 Remove conditional code.
19770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19771 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19772 Remove conditional code.
19773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19774 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19777 * sysdeps/unix/sysv/linux/sigaction.c
19778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19780 * sysdeps/unix/sysv/linux/sigpending.c
19781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19783 * sysdeps/unix/sysv/linux/sigprocmask.c
19784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19786 * sysdeps/unix/sysv/linux/sigsuspend.c
19787 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19788 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19789 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19790 (__libc_missing_rt_sigs): Remove.
19791 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19792 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19793 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19794 Remove conditional code.
19795 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19796 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19799 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19801 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19803 2012-05-14 Andreas Jaeger <aj@suse.de>
19805 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19806 it's not used in glibc.
19807 (__coshm1): Likewise.
19808 (__acosh1p): Likewise.
19811 * manual/string.texi (Copying and Concatenation): Add missing
19812 variable in concat example.
19813 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19815 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19819 __builtin_clzl with __builtin_clzll.
19821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19824 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19827 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19829 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19830 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19831 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19832 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19834 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19836 * NEWS: Update ia64 info.
19838 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19840 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19843 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19845 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19846 * sysdeps/unix/syscalls.list (dup3): Likewise.
19847 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19848 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19850 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19852 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19853 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19855 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19857 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19859 (TLS_IE): Use mov/add instead of movq/addq to load thread
19861 (TLS_GD_PREFIX): New.
19864 2012-05-11 David S. Miller <davem@davemloft.net>
19866 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19867 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19868 (_FPU_SETCW): Likewise.
19870 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19872 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19873 is 32-byte aligned.
19875 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19878 * iconvdata/gb18030.c: Update tables.
19879 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19880 characters specially.
19881 (BODY for TO_LOOP): Add encoding of missing ranges.
19883 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19886 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19887 * sysdeps/mach/hurd/dup3.c: Likewise.
19888 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19889 * sysdeps/powerpc/memmove.c:: Likewise.
19891 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19894 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19896 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19898 * elf/elf.h (R_X86_64_RELATIVE64): New.
19899 (R_X86_64_NUM): Updated.
19900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19901 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19902 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19903 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19904 tst-quad1pie tst-quad2pie
19905 (modules-names): Add tst-quadmod1 tst-quadmod2.
19906 ($(objpfx)tst-quad1): New dependency.
19907 ($(objpfx)tst-quad2): Likewise.
19908 ($(objpfx)tst-quad1pie): Likewise.
19909 ($(objpfx)tst-quad2pie): Likewise.
19910 * sysdeps/x86_64/tst-quad1.c: New file.
19911 * sysdeps/x86_64/tst-quad1pie.c: New file.
19912 * sysdeps/x86_64/tst-quad2.c: Likewise.
19913 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19914 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19915 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19916 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19917 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19921 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19922 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19923 * streams/stropts.h (t_scalar_t): Define type.
19925 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19926 (_PATH_PRESERVE): Set to "/var/lib".
19927 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19929 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19932 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19933 if __dir_mkfile succeeded.
19935 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19936 checking for _hurd_dtablesize. Unlock it right after having
19937 finished _hurd_dtable allocation.
19939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19941 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19942 * sysdeps/mach/hurd/configure: Regenerated.
19943 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19944 special-casing to...
19945 * sysdeps/gnu/configure.in: ... this new file.
19946 * sysdeps/unix/sysv/linux/configure: Regenerated.
19947 * sysdeps/gnu/configure: New generated file.
19949 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19950 for Linux: use nsec instead of usec, as well as:
19951 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19952 members of type struct timespec.
19953 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19955 (struct stat64): Likewise.
19956 (_STATBUF_ST_NSEC): New macro.
19957 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19959 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19960 __strtoul_internal rather than strtoul.
19962 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19964 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19969 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19970 which preserves existing values.
19971 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19973 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19975 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19976 TIMEOUT values. Return EINVAL for NFDS values either negative or
19977 greater than FD_SETSIZE.
19979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19981 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19982 allocated, call __vm_protect to finish enabling the existing space, and
19983 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19984 allocate the remainder.
19986 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19988 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19989 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19993 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19994 sysdeps/mach/hurd/readlink.c.
19996 * posix/tst-sysconf.c (posix_options): Only use
19997 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19998 _POSIX_SYNCHRONIZED_IO when they are defined
19999 * sysdeps/mach/hurd/bits/posix_opt.h:
20000 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20001 (_XOPEN_REALTIME): Undefine macro.
20002 (_XOPEN_REALTIME_THREADS): Undefine macro.
20003 (_XOPEN_SHM): Undefine macro.
20004 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20006 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20008 (_POSIX_ASYNC_IO): Undefine macro.
20009 (_POSIX_PRIORITIZED_IO): Undefine macro.
20010 (_POSIX_SPIN_LOCKS): Define macro to -1.
20012 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20013 SA_NODEFER, SA_RESETHAND.
20014 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20015 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20020 * elf/Makefile (pldd-modules): Define unconditionally.
20022 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20024 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20028 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20029 Return ENOENT when name is empty.
20030 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20034 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20036 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20040 Fix mlock in all cases except non-readable pages.
20041 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20042 instead of VM_PROT_ALL as parameter to __vm_wire function.
20044 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20045 (__mkdir): When path is `/', just fail with EEXIST.
20046 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20050 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20051 <sys/uio.h> (for writev).
20052 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20053 and <sys/param.h> (for MIN).
20055 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20057 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20058 REQUESTED_TIME. Properly set the remaining time and return EINTR
20061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20063 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20064 Depend on against $(link-rpcuserlibs).
20066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20068 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20069 (__libc_stack_end): Do not use attribute_relro.
20070 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20071 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20072 to libthread-provided value.
20073 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20079 * bits/libc-lock.h (__libc_once_get): New macro.
20080 * sysdeps/mach/bits/libc-lock.h: Likewise.
20081 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20083 instead of using implementation details.
20085 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20086 * libio/freopen.c: Likewise.
20087 * libio/freopen64.c: Likewise.
20088 * misc/syslog.c: Likewise.
20089 * nscd/connections.c: Likewise.
20090 * nscd/netgroupcache.c: Likewise.
20091 * sysdeps/posix/getcwd.c: Likewise.
20093 2012-05-10 Roland McGrath <roland@hack.frob.com>
20095 * math/w_ilogbf.c: Add #include <limits.h>.
20097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20099 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20100 path instead of returning without unlocking.
20102 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20103 immediate-write ioctls.
20104 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20108 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20109 __builtin_frame_address instead of making assumptions about the
20110 location of the return address relative to DATA. Force early load of
20111 the return address.
20112 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20113 __builtin_frame_address.
20116 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20117 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20118 implement dup3 and do some further code clean-ups.
20119 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20120 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20124 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20126 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20127 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20128 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20129 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20130 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20133 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20134 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20135 when handler == SIG_ERR, not when handler != SIG_ERR.
20137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20139 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20140 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20143 accept4 for GNU Hurd.
20144 * include/sys/socket.h (__libc_accept4): New prototype.
20145 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20146 to implement __libc_accept4.
20147 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20149 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20151 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20152 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20153 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20154 signal-defines.sym.
20156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20158 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20162 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20163 assertion on O_CLOEXEC flag.
20164 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20165 * hurd/intern-fd.c: Likewise.
20166 * hurd/port2fd.c: Likewise.
20168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20171 * bits/in.h (IPV6_PKTINFO): Define new macro.
20172 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20174 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20179 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20181 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20182 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20184 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20185 * math/libm-test.inc (logb_test) : Additional logb tests.
20187 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20188 Andreas Jaeger <aj@suse.de>
20190 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20191 * configure: Regenerated.
20192 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20193 * config.make.in (link-obsolete-rpc): New substituted variable.
20194 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20195 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20196 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20197 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20198 so that libc.a contains the symbols.
20199 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20200 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20201 * sunrpc/auth_none.c: Likewise.
20202 * sunrpc/auth_unix.c: Likewise.
20203 * sunrpc/authdes_prot.c: Likewise.
20204 * sunrpc/authuxprot.c: Likewise.
20205 * sunrpc/clnt_gen.c: Likewise.
20206 * sunrpc/clnt_perr.c: Likewise.
20207 * sunrpc/clnt_raw.c: Likewise.
20208 * sunrpc/clnt_simp.c: Likewise.
20209 * sunrpc/clnt_tcp.c: Likewise.
20210 * sunrpc/clnt_udp.c: Likewise.
20211 * sunrpc/clnt_unix.c: Likewise.
20212 * sunrpc/des_crypt.c: Likewise.
20213 * sunrpc/des_soft.c: Likewise.
20214 * sunrpc/get_myaddr.c: Likewise.
20215 * sunrpc/key_call.c: Likewise.
20216 * sunrpc/key_prot.c: Likewise.
20217 * sunrpc/netname.c: Likewise.
20218 * sunrpc/pm_getmaps.c: Likewise.
20219 * sunrpc/pm_getport.c: Likewise.
20220 * sunrpc/pmap_clnt.c: Likewise.
20221 * sunrpc/pmap_prot.c: Likewise.
20222 * sunrpc/pmap_prot2.c: Likewise.
20223 * sunrpc/pmap_rmt.c: Likewise.
20224 * sunrpc/publickey.c: Likewise.
20225 * sunrpc/rpc_cmsg.c: Likewise.
20226 * sunrpc/rpc_common.c: Likewise.
20227 * sunrpc/rpc_dtable.c: Likewise.
20228 * sunrpc/rpc_prot.c: Likewise.
20229 * sunrpc/rpc_thread.c: Likewise.
20230 * sunrpc/rtime.c: Likewise.
20231 * sunrpc/svc.c: Likewise.
20232 * sunrpc/svc_auth.c: Likewise.
20233 * sunrpc/svc_raw.c: Likewise.
20234 * sunrpc/svc_run.c: Likewise.
20235 * sunrpc/svc_tcp.c: Likewise.
20236 * sunrpc/svc_udp.c: Likewise.
20237 * sunrpc/svc_unix.c: Likewise.
20238 * sunrpc/svcauth_des.c: Likewise.
20239 * sunrpc/xcrypt.c: Likewise.
20240 * sunrpc/xdr.c: Likewise.
20241 * sunrpc/xdr_array.c: Likewise.
20242 * sunrpc/xdr_float.c: Likewise.
20243 * sunrpc/xdr_intXX_t.c: Likewise.
20244 * sunrpc/xdr_mem.c: Likewise.
20245 * sunrpc/xdr_rec.c: Likewise.
20246 * sunrpc/xdr_ref.c: Likewise.
20247 * sunrpc/xdr_sizeof.c: Likewise.
20248 * sunrpc/xdr_stdio.c: Likewise.
20250 2012-05-10 Roland McGrath <roland@hack.frob.com>
20252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20253 change. Update copyright years.
20255 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20257 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20259 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20260 Joseph Myers <joseph@codesourcery.com>
20261 Paul Pluzhnikov <ppluzhnikov@google.com>
20264 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20266 [cross-compiling] (extra-libs): Likewise.
20267 [cross-compiling] (extra-libs-others): Likewise.
20268 [cross-compiling] (librpcsvc-routines): Likewise.
20269 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20270 [cross-compiling] (omit-deps): Likewise.
20271 (sunrpc-CPPFLAGS): New variable.
20272 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20273 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20274 (cross-rpcgen-objs): New variable.
20275 (extra-objs): Append $(cross-rpcgen-objs).
20276 ($(cross-rpcgen-objs)): New rule.
20277 ($(objpfx)cross-rpcgen): Likewise.
20278 (rpcgen-cmd): Define to use $(built-program-file). Expand
20280 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20281 ($(objpfx)x%.stmp): Likewise.
20282 * sunrpc/proto.h [IS_IN_build] (_): Define.
20283 [IS_IN_build] (_libc_intl_domainname): Likewise.
20285 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20288 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20289 and R_X86_64_TPOFF64.
20291 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20293 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20294 sysdeps/unix/sysv/syscalls.list.
20297 * sysdeps/unix/sysv/syscalls.list: Remove file.
20299 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20302 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20303 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20304 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20305 (__LC_IDENTIFICATION): Make these macros useful in #if
20306 expressions, as required by C99.
20308 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20310 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20311 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20314 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20316 * stdlib/longlong.h: Updated from GCC.
20318 2012-05-09 Andreas Jaeger <aj@suse.de>
20320 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20321 default is first entry.
20322 (run_mode): Set type.
20323 (main): Remove informal message about syslog.
20324 (options): Fix typo.
20327 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20330 (llrintf): Likewise.
20331 (llrint): Likewise.
20334 (nearbyint): Likewise.
20335 (nearbyintf): Likewise.
20337 2012-05-09 Andreas Jaeger <aj@suse.de>
20338 Pedro Alves <palves@redhat.com>
20340 * nscd/nscd.c (run_mode): Use enum.
20341 (main): Cleanup coding style issue.
20343 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20344 Andreas Jaeger <aj@suse.de>
20346 * nscd/nscd.c (go_background): Replaced with...
20347 (run_mode): ... this.
20348 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20349 (options): Add -F --foreground.
20350 (main): Implement it.
20351 (parse_opt): Parse it.
20353 2012-05-09 Andreas Jaeger <aj@suse.de>
20356 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20357 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20358 -Wconversion warning.
20359 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20362 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20364 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20366 (LC_ALL): Use macro-int-constant.
20367 (LC_COLLATE): Likewise.
20368 (LC_CTYPE): Likewise.
20369 (LC_MESSAGES): Likewise.
20370 (LC_MONETARY): Likewise.
20371 (LC_NUMERIC): Likewise.
20372 (LC_TIME): Likewise.
20373 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20374 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20376 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20378 [C99-based standards] (float_t): Expect type.
20379 [C99-based standards] (double_t): Expect type.
20380 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20382 [C99-based standards] (HUGE_VALL): Likewise.
20383 [C99-based standards] (INFINITY): Likewise.
20384 [C99-based standards] (NAN): Likewise.
20385 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20386 [C99-based standards] (FP_NAN): Likewise.
20387 [C99-based standards] (FP_NORMAL): Likewise.
20388 [C99-based standards] (FP_SUBNORMAL): Likewise.
20389 [C99-based standards] (FP_ZERO): Likewise.
20390 [C99-based standards] (FP_FAST_FMA): Use
20391 optional-macro-int-constant. Specify type. Require == 1.
20392 [C99-based standards] (FP_FAST_FMAF): Likewise.
20393 [C99-based standards] (FP_FAST_FMAL): Likewise.
20394 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20395 [C99-based standards] (FP_ILOGBNAN): Likewise.
20396 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20398 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20399 [C99-based standards] (math_errhandling): Specify type.
20400 [ISO99 || ISO11] (signgam): Do not allow.
20401 [non-C99-based standards] (copysignf): Do not allow.
20402 [non-C99-based standards] (exp2f): Likewise.
20403 [non-C99-based standards] (log2f): Likewise.
20404 [non-C99-based standards] (modff): Allow.
20405 [non-C99-based standards] (erff): Do not allow.
20406 [non-C99-based standards] (erfcf): Likewise.
20407 [non-C99-based standards] (gammaf): Likewise.
20408 [non-C99-based standards] (hypotf): Likewise.
20409 [non-C99-based standards] (j0f): Likewise.
20410 [non-C99-based standards] (j1f): Likewise.
20411 [non-C99-based standards] (jnf): Likewise.
20412 [non-C99-based standards] (lgammaf): Likewise.
20413 [non-C99-based standards] (tgammaf): Likewise.
20414 [non-C99-based standards] (y0f): Likewise.
20415 [non-C99-based standards] (y1f): Likewise.
20416 [non-C99-based standards] (ynf): Likewise.
20417 [non-C99-based standards] (isnanf): Likewise.
20418 [non-C99-based standards] (acoshf): Likewise.
20419 [non-C99-based standards] (asinhf): Likewise.
20420 [non-C99-based standards] (atanhf): Likewise.
20421 [non-C99-based standards] (cbrtf): Likewise.
20422 [non-C99-based standards] (expm1f): Likewise.
20423 [non-C99-based standards] (ilogbf): Likewise.
20424 [non-C99-based standards] (log1pf): Likewise.
20425 [non-C99-based standards] (logbf): Likewise.
20426 [non-C99-based standards] (nextafterf): Likewise.
20427 [non-C99-based standards] (remainderf): Likewise.
20428 [non-C99-based standards] (rintf): Likewise.
20429 [non-C99-based standards] (scalbf): Likewise.
20430 [non-C99-based standards] (copysignl): Likewise.
20431 [non-C99-based standards] (exp2l): Likewise.
20432 [non-C99-based standards] (log2l): Likewise.
20433 [non-C99-based standards] (modfl): Allow.
20434 [non-C99-based standards] (erfl): Do not allow.
20435 [non-C99-based standards] (erfcl): Likewise.
20436 [non-C99-based standards] (gammal): Likewise.
20437 [non-C99-based standards] (hypotl): Likewise.
20438 [non-C99-based standards] (j0l): Likewise.
20439 [non-C99-based standards] (j1l): Likewise.
20440 [non-C99-based standards] (jnl): Likewise.
20441 [non-C99-based standards] (lgammal): Likewise.
20442 [non-C99-based standards] (tgammal): Likewise.
20443 [non-C99-based standards] (y0l): Likewise.
20444 [non-C99-based standards] (y1l): Likewise.
20445 [non-C99-based standards] (ynl): Likewise.
20446 [non-C99-based standards] (isnanl): Likewise.
20447 [non-C99-based standards] (acoshl): Likewise.
20448 [non-C99-based standards] (asinhl): Likewise.
20449 [non-C99-based standards] (atanhl): Likewise.
20450 [non-C99-based standards] (cbrtl): Likewise.
20451 [non-C99-based standards] (expm1l): Likewise.
20452 [non-C99-based standards] (ilogbl): Likewise.
20453 [non-C99-based standards] (log1pl): Likewise.
20454 [non-C99-based standards] (logbl): Likewise.
20455 [non-C99-based standards] (nextafterl): Likewise.
20456 [non-C99-based standards] (remainderl): Likewise.
20457 [non-C99-based standards] (rintl): Likewise.
20458 [non-C99-based standards] (scalbl): Likewise.
20459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20460 [non-C99-based standards] (FP_*): Do not allow.
20461 [C99-based standards] (FP_*): Change to
20462 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20463 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20465 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20466 (SIG_ERR): Likewise.
20467 [X/Open-based standards] (SIG_HOLD): Likewise.
20468 (SIG_IGN): Likewise.
20469 (SIGABRT): Use macro-int-constant. Specify type. Require
20471 (SIGFPE): Likewise.
20472 (SIGILL): Likewise.
20473 (SIGINT): Likewise.
20474 (SIGSEGV): Likewise.
20475 (SIGTER): Likewise.
20476 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20477 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20478 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20479 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20480 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20481 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20482 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20483 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20484 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20485 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20486 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20487 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20488 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20489 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20490 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20491 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20492 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20493 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20494 [X/Open-based standards] (SIGTRAP): Likewise.
20495 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20496 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20497 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20498 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20499 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20502 2012-05-08 Ian Wienand <ianw@vmware.com>
20505 * time/tzset.c (__tzset_parse_tz): Update default rules for
20506 daylight time changes in the Energy Policy Act of 2005.
20508 2012-05-09 Andreas Jaeger <aj@suse.de>
20511 * elf/ldconfig.c (parse_conf): Change string to make clear that
20512 ldconfig only issued a warning if ld.so.conf does not exist.
20514 2012-05-08 David S. Miller <davem@davemloft.net>
20516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20517 movxtod instead of popping the value on the stack.
20519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20521 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20523 * config.h.in: Add HAVE_ARM_PCS_VFP.
20525 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20528 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20529 checking but the checks are disabled for any reason.
20531 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20533 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20534 and ELF64_R_TYPE with ELFW(R_TYPE).
20536 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20539 (ulimit): Likewise.
20541 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20542 (settimeofday): Likewise.
20544 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20546 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20547 a struct th_u2 inside the union, and move tu_block/tu_code into
20548 a new th_u3 union of tu_block/tu_code inside of that. Move
20549 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20550 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20551 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20552 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20553 (th_stuff): Change to th_u1.tu_stuff.
20555 (th_msg): Change to th_u1.th_u2.tu_data.
20557 2012-05-07 David S. Miller <davem@davemloft.net>
20559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20562 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20563 (SETUP_PIC_REG): Use it.
20564 (SETUP_PIC_REG_LEAF): Use it.
20566 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20570 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20572 (EXPL_FINITE): Likewise.
20573 (FLDLOG): Likewise.
20574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20575 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20577 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20579 (EXPL_FINITE): Likewise.
20580 (FLDLOG): Likewise.
20581 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20582 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20584 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20585 test of -max_value argument for long double.
20586 * sysdeps/i386/fpu/libm-test-ulps: Update.
20587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20589 2012-05-06 David S. Miller <davem@davemloft.net>
20591 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20592 quad soft-float symbols whose references which are compiler
20594 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20596 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20602 (EXPL_FINITE): Likewise.
20603 (FLDLOG): Likewise.
20606 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20607 Adjust comments for base varying.
20608 (__expl_finite): Change alias to EXPL_FINITE.
20609 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20611 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20612 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20613 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20614 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20617 (EXPL_FINITE): Likewise.
20618 (FLDLOG): Likewise.
20621 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20622 Adjust comments for base varying.
20623 (__expl_finite): Change alias to EXPL_FINITE.
20624 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20629 * math/libm-test.inc (check_float_internal): Correct ulp
20630 calculation for subnormal expected results.
20632 2012-05-06 Andreas Jaeger <aj@suse.de>
20634 * Makeconfig (+math-flags): New, set to -frounding-math.
20635 (+cflags): Add +math-flags so that all of glibc gets compiled with
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20640 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20642 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20648 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20649 (__ieee754_expl): Allow for and saturate large arguments.
20650 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20651 (u_threshold): Likewise.
20652 (__exp): Call __ieee754_exp before checking for overflow and
20654 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20655 (u_threshold): Likewise.
20656 (__expf): Call __ieee754_expf before checking for overflow and
20658 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20659 (u_threshold): Likewise.
20660 (__expl): Call __ieee754_expl before checking for overflow and
20662 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20663 (__ieee754_expl): Allow for and saturate large arguments.
20664 * math/libm-test.inc (exp_test): Add another test. Do not allow
20665 missing overflow exception on overflow.
20666 (expm1_test): Do not allow missing overflow exception on overflow.
20668 * sysdeps/i386/fpu/e_expl.c: Move to ...
20669 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20670 rather than using inline asm.
20671 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20672 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20673 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20675 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20678 (signal): Likewise.
20682 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20684 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20685 sysdeps/unix/common/syscalls.list.
20686 (fchmod): Likewise.
20687 (fchown): Likewise.
20688 (ftruncate): Likewise.
20689 (getrusage): Likewise.
20690 (gettimeofday): Likewise.
20691 (setpgid): Likewise.
20692 (setregid): Likewise.
20693 (setreuid): Likewise.
20694 (sigaction): Likewise.
20695 (truncate): Likewise.
20696 (vhangup): Likewise.
20697 * sysdeps/unix/common/syscalls.list: Remove file.
20698 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20699 * sysdeps/unix/sysv/linux/Implies: Likewise.
20701 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20703 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20705 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20709 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20712 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20715 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20718 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20721 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20724 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20727 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20731 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20735 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20738 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20742 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20746 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20748 * sysdeps/unix/common/bits/dirent.h: Remove file.
20749 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20751 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20752 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20753 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20754 * sysdeps/unix/bsd/isatty.c: Likewise.
20755 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20756 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20757 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20759 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20763 long double comparison inaccuracies.
20764 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20767 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20769 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20772 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20776 nonzero digits before rounding a hex value.
20777 * stdlib/tst-strtod.c (tests): Add another test.
20779 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20781 * sysdeps/s390/fpu/libm-test-ulps: Update.
20783 2012-05-03 Andreas Jaeger <aj@suse.de>
20785 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20786 does not get optimized out.
20787 (malloc_opt_barrier): New.
20789 2012-05-03 Andreas Jaeger <aj@suse.de>
20790 Roland McGrath <roland@hack.frob.com>
20792 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20793 intermediate file deletion.
20794 (generated): Add .symlist files.
20796 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20799 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20800 Redirect under this condition.
20801 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20802 [__USE_GNU] (__dprintf_chk): Not under this condition.
20803 [__USE_GNU] (__vdprintf_chk): Likewise.
20804 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20805 under this condition.
20806 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20807 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20808 [__USE_XOPEN2K8] (vdprintf): Likewise.
20809 [__USE_GNU] (__dprintf_chk): Not under this condition.
20810 [__USE_GNU] (__vdprintf_chk): Likewise.
20811 [__USE_GNU] (dprintf): Likewise.
20812 [__USE_GNU] (vdprintf): Likewise.
20814 2012-05-03 Roland McGrath <roland@hack.frob.com>
20816 * elf/Makefile (common-generated): Set this instead of generated for
20817 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20818 $(all-built-dso)-derived lists.
20820 2012-05-03 Andreas Jaeger <aj@suse.de>
20822 * sysdeps/i386/fpu/libm-test-ulps: Update.
20825 * FAQ.in: Likewise.
20826 * scripts/gen-FAQ.pl: Likewise.
20827 * manual/install.texi (Installation): Point to online location of
20829 * Makefile (files-for-dist): Remove FAQ.
20832 2012-05-02 Allan McRae <allan@archlinux.org>
20834 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20835 (LDFLAGS-reldepmod5.so): Likewise.
20836 (LDFLAGS-reldep6mod1.so): Likewise.
20837 (LDFLAGS-reldep6mod4.so): Likewise.
20838 (LDFLAGS-reldep8mod3.so): Likewise.
20839 (LDFLAGS-unload4mod1.so): Likewise.
20840 (LDFLAGS-unload4mod2.so): Likewise.
20841 (LDFLAGS-tst-initorder): Likewise.
20842 (LDFLAGS-tst-initordera2.so): Likewise.
20843 (LDFLAGS-tst-initordera3.so): Likewise.
20844 (LDFLAGS-tst-initordera4.so): Likewise.
20845 (LDFLAGS-tst-initorderb2.so): Likewise.
20846 (LDFLAGS-noload): Likewise.
20847 (LDFLAGS-next): Likewise.
20848 (LDFLAGS-order2mod1.so): Likewise.
20849 (LDFLAGS-order2mod2.so): Likewise.
20850 (LDFLAGS-tst-initorder2): Likewise.
20851 (LDFLAGS-tst-initorder2a.so): Likewise.
20852 (LDFLAGS-tst-initorder2b.so): Likewise.
20853 (LDFLAGS-tst-initorder2c.so): Likewise.
20854 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20856 2012-05-02 David S. Miller <davem@davemloft.net>
20858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20860 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20863 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20865 2012-05-02 Andreas Jaeger <aj@suse.de>
20867 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20868 since we manipulate rounding mode.
20869 (CPPFLAGS-test-idouble.c): Likewise.
20870 (CPPFLAGS-test-ifloat.c): Likewise.
20871 (CFLAGS-test-ldouble.c): Likewise.
20872 (CFLAGS-test-double.c): Likewise.
20873 (CFLAGS-test-float.c): Likewise.
20874 (CFLAGS-test-misc.c): Likewise.
20875 (CFLAGS-test-test-fenv.c): Likewise.
20877 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20882 comparisons to determine direction to adjust input.
20884 2012-05-01 Roland McGrath <roland@hack.frob.com>
20886 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20887 output to the target.
20889 * scripts/localplt.awk: New file.
20890 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20891 (check-localplt-CFLAGS): Variable removed.
20892 ($(all-built-dso:=.jmprel)): New static pattern rule.
20893 (generated): Add those targets.
20894 (localplt-built-dso): New variable.
20895 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20897 * elf/check-localplt.c: File removed.
20899 * scripts/check-execstack.awk: New file.
20900 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20901 (check-execstack-CFLAGS): Variable removed.
20902 ($(objpfx)check-execstack.h): Target removed.
20903 ($(objpfx)execstack-default): New target.
20904 (generated): Add that instead of check-execstack.h.
20905 ($(all-built-dso:=.phdr)): New static pattern rule.
20906 (generated): Add those targets.
20907 * elf/check-execstack.c: File removed.
20909 * scripts/check-textrel.awk: New file.
20910 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20911 (check-textrel-CFLAGS): Variable removed.
20912 (all-built-dso): Use := to define.o
20913 ($(all-built-dso:=.dyn)): New static pattern rule.
20914 (generated): Add those targets.
20915 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20916 * config.make.in (READELF): New substituted variable.
20917 * elf/check-textrel.c: File removed.
20919 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20921 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20923 * conform/data/ctype.h-data [C99-based standards] (isblank):
20925 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20926 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20928 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20929 Specify type. Require positive value.
20930 (EILSEQ): Likewise.
20931 (ERANGE): Likewise.
20932 [ISO || POSIX] (EILSEQ): Do not expect.
20933 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20934 Specify type. Require positive value.
20935 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20936 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20938 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20939 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20940 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20941 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20943 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20944 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20945 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20946 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20947 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20948 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20953 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20954 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20955 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20959 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20960 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20961 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20962 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20963 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20966 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20968 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20970 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20971 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20972 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20973 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20974 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20975 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20977 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20978 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20979 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20980 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20981 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20984 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20985 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20986 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21009 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21010 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21011 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21013 (FLT_ROUNDS): Expect as macro, not constant.
21014 (FLT_MANT_DIG): Use macro-int-constant.
21015 (DBL_MANT_DIG): Likewise.
21016 (LDBL_MANT_DIG): Likewise.
21017 (FLT_DIG): Likewise.
21018 (DBL_DIG): Likewise.
21019 (LDBL_DIG): Likewise.
21020 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21021 (DBL_MIN_EXP): Likewise.
21022 (LDBL_MIN_EXP): Likewise.
21023 (FLT_MAX_EXP): Use macro-int-constant.
21024 (DBL_MAX_EXP): Likewise.
21025 (LDBL_MAX_EXP): Likewise.
21026 (FLT_MAX_10_EXP): Likewise.
21027 (DBL_MAX_10_EXP): Likewise.
21028 (LDBL_MAX_10_EXP): Likewise.
21029 (FLT_MAX): Use macro-constant.
21030 (DBL_MAX): Likewise.
21031 (LDBL_MAX): Likewise.
21032 (FLT_EPSILON): Use macro-constant. Give upper bound.
21033 (DBL_EPSILON): Likewise.
21034 (LDBL_EPSILON): Likewise.
21035 (FLT_MIN): Likewise.
21036 (DBL_MIN): Likewise.
21037 (LDBL_MIN): Likewise.
21038 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21039 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21040 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21041 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21042 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21043 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21044 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21045 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21046 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21047 [ISO11] (FLT_TRUE_MIN): Likewise.
21048 [ISO11] (LDBL_TRUE_MIN): Likewise.
21049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21050 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21051 (SCHAR_MIN): Use macro-int-constant. Specify type.
21052 (SCHAR_MAX): Likewise.
21053 (UCHAR_MAX): Likewise.
21054 (CHAR_MIN): Likewise.
21055 (CHAR_MAX): Likewise.
21056 (MB_LEN_MAX): Use macro-int-constant.
21057 (SHRT_MIN): Use macro-int-constant. Specify type.
21058 (SHRT_MAX): Likewise.
21059 (USHRT_MAX): Likewise.
21060 (INT_MAX): Likewise.
21061 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21063 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21065 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21067 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21068 bound negative. Suffix upper bound with "L".
21069 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21071 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21073 [C99-based standards] (LLONG_MAX): Likewise.
21074 [C99-based standards] (ULLONG_MAX): Likewise.
21075 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21077 [ISO11] (max_align_t): Require type.
21078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21080 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21081 from $CFLAGS, without defining away __attribute__ calls.
21082 (checknamespace): Use $CFLAGS_namespace.
21084 * conform/conformtest.pl (@keywords): Only include C99 keywords
21085 for standards based on C99 or C11.
21087 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21089 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21092 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21093 usability of symbols in #if.
21095 * conform/conformtest.pl: If macro or constant types start
21096 "promoted:", expect the symbol to be of the following type
21097 promoted by the integer promotions.
21099 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21100 in one place. Also handle "macro-constant".
21102 * conform/conformtest.pl: Only accept expected macro values with
21103 "==". Parse all "macro" lines in one place.
21104 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21106 * conform/conformtest.pl: Handle braced types on "constant" lines
21107 instead of handling "typed-constant".
21108 * conform/data/signal.h-data: Use "constant" instead of
21111 * conform/conformtest.pl: Handle "optional-" at start of lines in
21112 one place rather than duplicating several cases. Handle each
21113 format of "macro" line with initial "optional-".
21115 * conform/conformtest.pl: Only accept expected constant or
21116 optional-constant values with "==". Parse all "constant" lines in
21117 one place. Parse all "optional-constant" lines in one place.
21118 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21119 * conform/data/fmtmsg.h-data: Likewise.
21120 * conform/data/netinet/in.h-data: Likewise.
21121 * conform/data/tar.h-data: Likewise.
21122 * conform/data/limits.h-data: Use "==" form on "constant" and
21123 "optional-constant" lines.
21125 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21126 Use -std=c99 for XOPEN2K.
21127 (@knownproblems): Remove.
21128 (newtoken): Don't check %isknown.
21130 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21131 Do not expect macro.
21132 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21144 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21145 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21153 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21155 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21156 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21157 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21158 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21160 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21162 [XPG3] (acosh): Likewise.
21163 [XPG3] (asinh): Likewise.
21164 [XPG3] (atanh): Likewise.
21165 [XPG3] (cbrt): Likewise.
21166 [XPG3] (expm1): Likewise.
21167 [XPG3] (ilogb): Likewise.
21168 [XPG3] (log1p): Likewise.
21169 [XPG3] (logb): Likewise.
21170 [XPG3] (nextafter): Likewise.
21171 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21173 [XPG3] (remainder): Likewise.
21174 [XPG3] (rint): Likewise.
21175 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21176 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21177 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21179 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21180 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21182 [UNIX98 || XOPEN2K] (scalb): Expect.
21183 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21184 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21186 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21187 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21195 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21196 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21208 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21209 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21213 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21214 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21215 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21217 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21218 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21219 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21220 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21221 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21222 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21223 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21224 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21225 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21226 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21227 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21228 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21229 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21230 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21231 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21232 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21233 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21234 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21235 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21236 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21237 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21238 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21239 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21240 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21241 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21242 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21243 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21244 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21245 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21246 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21247 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21248 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21249 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21250 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21251 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21252 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21253 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21254 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21255 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21256 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21257 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21258 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21259 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21261 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21262 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21264 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21265 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21267 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21268 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21270 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21271 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21273 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21274 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21276 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21277 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21278 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21279 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21280 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21281 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21282 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21283 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21284 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21285 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21286 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21287 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21288 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21289 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21290 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21291 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21292 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21293 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21294 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21295 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21308 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21309 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21321 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21322 _XOPEN_SOURCE_EXTENDED for XPG4.
21324 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21326 * Makeconfig (localtime): Remove variable.
21327 (inst_localtime-file): Likewise.
21329 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21350 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21354 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21355 comparisons to determine direction to adjust input.
21356 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21357 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21360 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21364 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21367 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21369 * math/libm-test.inc (nexttoward_test): Add more tests.
21371 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21375 in version GLIBC_2.1, not GLIBC_2.0.
21376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21379 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21382 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21384 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21385 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21386 * math/libm-test.inc (acos_test): Add more tests.
21387 (asin_test): Likewise.
21388 * sysdeps/i386/fpu/libm-test-ulps: Update.
21389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21392 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21394 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21395 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21396 * math/libm-test.inc (acos_test_tonearest): New function.
21397 (acos_test_towardzero): Likewise.
21398 (acos_test_downward): Likewise.
21399 (acos_test_upward): Likewise.
21400 (asin_test_tonearest): Likewise.
21401 (asin_test_towardzero): Likewise.
21402 (asin_test_downward): Likewise.
21403 (asin_test_upward): Likewise.
21404 (main): Call the new functions.
21405 * sysdeps/i386/fpu/libm-test-ulps: Update.
21406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21410 * math/e_exp10.c: Include <float.h>.
21411 (__ieee754_exp10): Handle underflow here rather than multiplying
21412 large negative argument by M_LN10.
21413 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21415 * math/e_exp10l.c: Include <float.h>.
21416 (__ieee754_exp10l): Handle underflow here rather than multiplying
21417 large negative argument by M_LN10l.
21418 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21419 spurious overflow exception on underflow.
21421 2012-04-29 Marek Polacek <polacek@redhat.com>
21423 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21424 (__fortify_function): New macro.
21425 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21426 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21427 __extern_always_inline.
21428 * libio/bits/stdio2.h: Likewise.
21429 * libio/bits/stdio.h: Likewise.
21430 * string/string.h: Likewise.
21431 * string/bits/string3.h: Likewise.
21432 * include/stdio.h: Likewise.
21433 * stdlib/bits/stdlib.h: Likewise.
21434 * stdlib/stdlib.h: Likewise.
21435 * rt/bits/mqueue2.h: Likewise.
21436 * rt/mqueue.h: Likewise.
21437 * posix/bits/unistd.h: Likewise.
21438 * posix/unistd.h: Likewise.
21439 * io/bits/poll2.h: Likewise.
21440 * io/bits/fcntl2.h: Likewise.
21441 * io/fcntl.h: Likewise.
21442 * io/sys/poll.h: Likewise.
21443 * misc/bits/syslog.h: Likewise.
21444 * misc/bits/syslog-ldbl.h: Likewise.
21445 * misc/sys/syslog.h: Likewise.
21446 * socket/bits/socket2.h: Likewise.
21447 * socket/sys/socket.h: Likewise.
21448 * debug/tst-chk1.c: Likewise.
21449 * wcsmbs/bits/wchar2.h: Likewise.
21450 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21451 * wcsmbs/wchar.h: Likewise.
21453 2012-04-29 Andreas Jaeger <aj@suse.de>
21455 * Makerules (tests): Remove enable-check-abi protection.
21456 (check-abi-warn): Remove.
21457 (check-abi-%): Remove check-abi-warn usage.
21459 * configure.in: Remove check-abi configure option.
21460 * configure: Regenerated.
21461 * config.make.in (enable-check-abi): Remove.
21463 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21466 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21467 double functions to double *_finite functions.
21470 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21471 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21473 * stdio-common/Makefile (tests): Add tst-sprintf3.
21474 * stdio-common/tst-sprintf3.c: New file.
21476 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21477 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21479 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21481 * conform/conformtest.pl: Remove duplicate typed-constant
21484 2012-04-28 David S. Miller <davem@davemloft.net>
21486 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21487 (check-abi-%): Remove AWK script prerequisite and explicit
21489 (check-abi): Rewrite to just diff the symlist with the abilist.
21490 (config-tls, config-abi-config): Delete, no longer used.
21491 (update-abi-%): Remove AWK script and explicit abilist directory.
21492 (update-abi): Rewrite to simply compare and conditionally copy the
21493 symlist and the sysdep abilist file. Remove update-abi-config
21495 * abilist/ld.abilist: Remove.
21496 * abilist/libBrokenLocale.abilist: Remove.
21497 * abilist/libanl.abilist: Remove.
21498 * abilist/libcrypt.abilist: Remove.
21499 * abilist/libdl.abilist: Remove.
21500 * abilist/librt.abilist: Remove.
21501 * abilist/libthread_db.abilist: Remove.
21502 * abilist/libutil.abilist: Remove.
21503 * scripts/extract-abilist.awk: Remove.
21504 * scripts/merge-abilist.awk: Remove.
21505 * sysdeps/generic/libcidn.abilist: New file.
21506 * sysdeps/generic/libnss_compat.abilist: New file.
21507 * sysdeps/generic/libnss_db.abilist: New file.
21508 * sysdeps/generic/libnss_dns.abilist: New file.
21509 * sysdeps/generic/libnss_files.abilist: New file.
21510 * sysdeps/generic/libnss_hesiod.abilist: New file.
21511 * sysdeps/generic/libnss_nis.abilist: New file.
21512 * sysdeps/generic/libnss_nisplus.abilist: New file.
21513 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21514 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21515 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21518 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21519 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21520 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21521 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21522 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21523 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21524 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21525 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21527 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21528 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21529 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21530 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21532 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21533 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21534 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21535 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21536 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21537 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21539 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21540 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21541 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21543 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21646 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21647 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21648 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21651 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21652 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21653 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21654 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21655 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21656 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21657 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21658 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21659 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21711 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21713 * conform/conformtest.pl: Fix typo in handling typed-constant from
21716 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21718 * README: Cut down references to pre-2.6 Linux kernels and
21719 Linuxthreads. Update lists of configurations in libc and ports
21720 and sort alphabetically. Say "or newer" with Linux kernel version
21723 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21725 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21728 * math/libm-test.inc (logb_test_downward): New test to expose
21729 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21732 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21735 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21737 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21738 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21740 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21742 * sysdeps/unix/i386/brk.S: Remove file.
21743 * sysdeps/unix/i386/dl-brk.S: Likewise.
21744 * sysdeps/unix/i386/pipe.S: Likewise.
21745 * sysdeps/unix/i386/sigreturn.S: Likewise.
21746 * sysdeps/unix/i386/syscall.S: Likewise.
21747 * sysdeps/unix/i386/vfork.S: Likewise.
21748 * sysdeps/unix/i386/wait.S: Likewise.
21750 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21751 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21753 * configure.in (arm*-none*): Do not allow without
21754 --enable-hacker-mode.
21755 (netbsd*): Remove case setting base_os.
21756 (386bsd*): Likewise.
21757 (freebsd*): Likewise.
21760 (sunos*): Likewise.
21761 (ultrix*): Likewise.
21762 (newsos*): Likewise.
21763 (dynix*): Likewise.
21769 (minix*): Likewise.
21770 (irix4*): Likewise.
21771 (irix6*): Likewise.
21772 (solaris[2-9]*): Likewise.
21774 * configure: Regenerated.
21776 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21779 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21780 overflow or cancellation in calculating denominator.
21781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21783 down expression to avoid unexpected rounding in newer GCCs.
21784 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21786 2012-04-26 David S. Miller <davem@davemloft.net>
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21789 long-double compat symbols.
21790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21804 2012-04-25 David S. Miller <davem@davemloft.net>
21806 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21807 HWCAP_* values only after the memory barriers have been defined.
21808 (atomic_full_barrier): Define.
21809 (atomic_read_barrier): Define.
21810 (atomic_write_barrier): Define.
21812 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21814 * shlib-versions: Add libgcc_s version information.
21815 * sysdeps/generic/libgcc_s.h: Remove.
21816 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21818 * sysdeps/gnu/unwind-resume.c: Likewise.
21819 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21821 2012-04-25 David S. Miller <davem@davemloft.net>
21823 * sysdeps/unix/sparc/brk.S: Delete.
21824 * sysdeps/unix/sparc/dl-brk.S: Delete.
21825 * sysdeps/unix/sparc/pipe.S: Delete.
21826 * sysdeps/unix/sparc/sysdep.S: Delete.
21827 * sysdeps/unix/sparc/sysdep.h: Delete.
21828 * sysdeps/unix/sparc/vfork.S: Delete.
21829 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21830 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21832 ret_ERRVAL, r0, r1, MOVE): Define.
21833 (JUMPTARGET): Remove.
21834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21835 sysdeps/unix/sparc/sysdep.h
21836 (ENTRY, END): Remove.
21837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21839 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21841 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21842 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21845 * timezone/README: Update upstream location and email address for
21847 * timezone/zdump.c: Update from tzcode 2012b.
21848 * timezone/zic.c: Likewise.
21850 * configure.in (libc_cv_as_needed): Remove test.
21851 * configure: Regenerated.
21852 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21853 conditional definition.
21854 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21855 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21856 * config.make.in (have-as-needed): Remove variable.
21858 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21859 Paul Pluzhnikov <ppluzhnikov@google.com>
21861 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21864 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21866 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21867 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21868 * sysdeps/sh/strlen.S: Likewise.
21870 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21872 * sysdeps/unix/fork.S: Remove file.
21873 * sysdeps/unix/i386/fork.S: Likewise.
21874 * sysdeps/unix/sparc/fork.S: Likewise.
21876 * sysdeps/unix/system.c: Remove file.
21877 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21879 * sysdeps/unix/getegid.S: Remove file.
21880 * sysdeps/unix/geteuid.S: Likewise.
21882 2012-04-24 Roland McGrath <roland@hack.frob.com>
21884 * scripts/check-localplt.awk: New file.
21885 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21887 * scripts/data/localplt-generic.data: Add a comment.
21889 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21890 NODE when __dir_mkfile failed.
21891 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21892 Reported by Ludovic Courtès <ludo@gnu.org>.
21894 2012-04-24 Andreas Jaeger <aj@suse.de>
21896 * Makerules (common-clean): Also remove gen-as-const-headers
21899 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21901 * Makerules (native-compile): Do not change working directory for
21902 build. Use $(OUTPUT_OPTION) in command.
21903 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21905 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21908 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21909 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21910 * math/libm-test.inc (floor_test): Add more tests.
21911 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21913 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21915 * sysdeps/unix/getdents.c: Remove file.
21916 * sysdeps/unix/sysv/getdents.c: Likewise.
21917 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21919 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21920 sysdeps/unix/mman/syscalls.list.
21922 (mprotect): Likewise.
21924 (munmap): Likewise.
21925 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21926 * sysdeps/unix/mman/syscalls.list: Remove.
21927 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21929 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21930 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21931 * configure: Regenerated.
21932 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21933 $(libgcc_s_suffix).
21934 * config.make.in (libgcc_s_suffix): Remove variable.
21936 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21938 * sysdeps/unix/sysv/gethostname.c: Move to ...
21939 * sysdeps/posix/gethostname.c: ... here.
21941 * sysdeps/unix/execve.S: Remove file.
21943 * sysdeps/unix/_exit.S: Remove file.
21945 2012-04-23 Andreas Jaeger <aj@suse.de>
21948 * manual/Makefile: Remove make dist support, there's no
21949 need for a stand-alone documentation tar ball.
21950 (TEXI2DVI): Define always, it's not in Makeconfig.
21953 (edition): Removed.
21954 (glibc-doc-$(edition).tar): Removed
21958 (ETAGS): Remove, it's in Makeconfig.
21959 (move-if-change): Remove, it's in Makeconfig.
21961 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21964 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21965 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21966 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21967 (strtod_l, strtof_l, strtold_l): Remove __wur.
21968 It is not necessarily an error to ignore strtol's return value.
21969 One can reliably look at the stored endptr to decide whether
21970 the number had valid syntax.
21972 2012-04-21 Andreas Jaeger <aj@suse.de>
21975 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21977 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21979 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21980 * sysdeps/unix/sysv/Versions: Remove file.
21982 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21987 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21990 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21991 version from __vm86.
21993 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21995 * sysdeps/unix/common/lxstat.c: Remove file.
21996 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21998 * sysdeps/unix/sysv/Makefile: Remove file.
22000 * sysdeps/unix/sysv/direct.h: Remove file.
22002 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22003 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22004 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22005 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22006 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22007 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22008 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22010 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22012 * sysdeps/unix/xmknod.c: Remove file.
22013 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22015 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22017 * sysdeps/unix/sysv/i386/time.S: Remove file.
22019 * sysdeps/unix/fxstat.c: Remove file.
22020 * sysdeps/unix/xstat.c: Likewise.
22021 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22023 * sysdeps/unix/sysv/sigaction.c: Remove file.
22025 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22026 (sysdep_headers): Remove variable.
22027 [termio.h not in sysdep_headers] (generated): Likewise.
22028 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22029 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22030 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22031 * sysdeps/unix/sysv/tcflow.c: Likewise.
22032 * sysdeps/unix/sysv/tcflush.c: Likewise.
22033 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22034 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22035 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22036 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22037 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22039 * sysdeps/unix/siglist.c: Remove file.
22041 * sysdeps/unix/getppid.S: Remove file.
22043 * sysdeps/unix/mkdir.c: Remove file.
22044 * sysdeps/unix/rmdir.c: Likewise.
22046 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22048 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22050 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22051 errlist-compat value.
22053 2012-04-18 David S. Miller <davem@davemloft.net>
22055 * sysdeps/generic/memcopy.h (reg_char): Delete.
22056 * debug/strcat_chk.c: Use char, not reg_char.
22057 * debug/strcpy_chk.c: Likewise.
22058 * debug/strncat_chk.c: Likewise.
22059 * debug/strncpy_chk.c: Likewise.
22060 * string/memchr.c: Likewise.
22061 * string/memrchr.c: Likewise.
22062 * string/rawmemchr.c: Likewise.
22063 * string/strcat.c: Likewise.
22064 * string/strchr.c: Likewise.
22065 * string/strchrnul.c: Likewise.
22066 * string/strcmp.c: Likewise.
22067 * string/strcpy.c: Likewise.
22068 * string/strncat.c: Likewise.
22069 * string/strncmp.c: Likewise.
22070 * string/strncpy.c: Likewise.
22072 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22074 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22075 __builtin_memcopy is called when src and dest ranges are known to not
22078 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22080 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22081 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22082 fwd_align_merge macro call.
22083 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22084 bwd_align_merge macro call.
22085 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22087 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22089 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22090 bwd_align_merge macros.
22091 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22092 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22093 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22095 2012-04-18 David S. Miller <davem@davemloft.net>
22097 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22099 2012-04-18 Andreas Jaeger <aj@suse.de>
22102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22103 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22104 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22106 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22107 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22108 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22110 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22111 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22112 Adjust for changed ldbl-128 files.
22114 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22115 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22116 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22118 2012-04-17 David S. Miller <davem@davemloft.net>
22120 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22122 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22124 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22125 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22126 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22127 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22128 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22129 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22131 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22134 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22135 * math/libm-test.inc: Add ilogb errno and exception tests.
22136 * math/w_ilogb.c: New file: ilogb wrapper.
22137 * math/w_ilogbf.c: New file: ilogbf wrapper.
22138 * math/w_ilogbl.c: New file: ilogbl wrapper.
22139 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22140 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22141 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22142 exception being thrown with 0.0 as argument.
22143 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22144 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22145 exception being thrown with 0.0 as argument.
22146 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22147 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22148 exception being thrown with 0.0 as argument.
22149 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22150 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22151 exception being thrown with 0.0 as argument.
22152 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22153 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22154 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22155 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22157 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22158 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22159 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22160 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22162 2012-04-17 Petr Baudis <pasky@ucw.cz>
22164 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22167 2012-04-16 Marek Polacek <polacek@redhat.com>
22169 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22171 2012-04-16 Marek Polacek <polacek@redhat.com>
22173 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22174 operands of fdivp instruction.
22176 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22178 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22179 * elf/tst-auditmod3b.c: Likewise.
22180 * elf/tst-auditmod4b.c: Likewise.
22181 * elf/tst-auditmod5b.c: Likewise.
22182 * elf/tst-auditmod6b.c: Likewise.
22183 * elf/tst-auditmod6c.c: Likewise.
22184 * elf/tst-auditmod7b.c: Likewise.
22185 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22186 * sysdeps/x86_64/preconfigure.in: Likewise.
22187 * sysdeps/x86_64/preconfigure: Regenerated.
22189 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22191 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22194 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22197 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22199 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22202 * locale/iso-639.def: Fix gl language name. Spotted by
22205 2012-04-12 Roland McGrath <roland@hack.frob.com>
22208 * libio/libio.h (__io_write_fn): Update comment.
22210 2012-04-12 Petr Baudis <pasky@ucw.cz>
22213 * stdio.texi (Hook Functions): The user provided writer function
22214 is not allowed to return -1.
22216 2012-04-11 David S. Miller <davem@davemloft.net>
22218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22220 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22222 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22223 Add a leading slash to rtkaio.
22225 2012-04-11 Jim Meyering <meyering@redhat.com>
22228 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22229 It is not necessarily an error to ignore fwrite's return
22230 value. One can reliably use ferror to test for errors after
22233 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22235 * bits/types.h (__snseconds_t): New type.
22236 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22238 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22240 (__SNSECONDS_T_TYPE): Likewise.
22241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22242 (__SNSECONDS_T_TYPE): Likewise.
22243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22244 (__SNSECONDS_T_TYPE): Likewise.
22246 2012-04-10 Andreas Jaeger <aj@suse.de>
22249 * manual/time.texi (Processor Time): Return type of times is
22250 elapsed real time since an arbitrary point in the past.
22251 (CPU Time): Move CLK_TCK from here...
22252 (Processor Time): ...to here. Correct description.
22253 * manual/conf.texi (Constants for Sysconf): Correct description of
22256 2012-04-10 David S. Miller <davem@davemloft.net>
22259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22260 where the is a gap between DT_REL(A) and DT_JMPREL.
22262 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22264 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22265 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22266 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22268 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22270 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22271 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22272 (dl_main): Handle --inhibit-cache.
22273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22275 * elf/dl-load.c (_dl_map_object): Use it.
22276 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22278 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22281 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22282 (__ieee754_powl): Saturate large exponents rather than testing for
22283 overflow of y*log2(x).
22284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22285 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22289 * math/s_ctan.c: Include <float.h>.
22290 (__ctan): Avoid internal overflow or cancellation in calculating
22292 * math/s_ctanf.c: Likewise.
22293 * math/s_ctanl.c: Likewise.
22294 * math/s_ctanh.c: Likewise.
22295 * math/s_ctanhf.c: Likewise.
22296 * math/s_ctanhl.c: Likewise.
22297 * math/libm-test.inc (ctan_test): Add more tests.
22298 (ctanh_test): Likewise.
22299 * sysdeps/i386/fpu/libm-test-ulps: Update.
22300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22302 2012-04-09 Andreas Jaeger <aj@suse.de>
22305 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22306 is an optional BSD extension.
22309 * manual/stdio.texi (Opening Streams): Document additional fopen
22312 2012-04-09 Roland McGrath <roland@hack.frob.com>
22314 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22315 %eax without telling the compiler.
22317 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22320 * manual/install.texi: Use sourceware.org.
22322 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22325 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22326 (__ieee754_pow): Generate overflow and underflow using huge*huge
22327 and tiny*tiny rather than just returning constant infinity or zero
22328 for large exponents.
22329 * math/libm-test.inc (pow_test): Require overflow exceptions for
22330 applicable cases of large exponents.
22333 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22334 (__ieee754_pow): Use iterative multiplication algorithm only for
22335 integer exponents with absolute value below 1024. Check for odd
22336 integer exponents when using algorithm for real exponents.
22337 * math/libm-test.inc (pow_test): Add more tests.
22338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22340 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22343 * math/libm-test.inc (exp_test): Do not allow overflow exception
22346 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22349 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22350 instead of __kernel_standard_f.
22352 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22354 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22355 * sysdeps/x86_64/memset_chk.S: Likewise.
22357 2012-04-08 Andreas Jaeger <aj@suse.de>
22360 * manual/startup.texi (Environment Access): Describe return value
22361 for putenv and setenv.
22364 * manual/filesys.texi (Directory Entries): Add description for
22368 * manual/filesys.texi (Directory Entries): Clarify that it's file
22369 system not operating system in the description of DT_UNKNOWN.
22372 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22374 2012-04-08 Stephen Compall <s11@member.fsf.org>
22377 * manual/llio.texi (Opening and Closing Files): Add cross
22378 reference to explain mode argument.
22380 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22382 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22383 * sysdeps/x86_64/memset_chk.S: Likewise.
22385 2012-04-07 David S. Miller <davem@davemloft.net>
22387 * elf/elf.h (R_SPARC_WDISP10): Define.
22388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22391 R_SPARC_SIZE64 and R_SPARC_H34.
22393 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22396 conditions and remove no longer applicable assertion.
22398 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22400 * bits/byteswap.h: Include <features.h>.
22401 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22402 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22404 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22406 * bits/byteswap.h (__bswap_16): Removed.
22407 Include <bits/byteswap-16.h> to get __bswap_16.
22408 * sysdeps/i386/bits/byteswap.h: Likewise.
22409 * sysdeps/s390/bits/byteswap.h: Likewise.
22410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22411 * bits/byteswap-16.h: New file.
22412 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22413 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22414 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22415 * string/Makefile (headers): Add bits/byteswap-16.h.
22417 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22420 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22422 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22423 * nss/tst-nss-static.c: New.
22425 2012-04-06 Robert Millan <rmh@gnu.org>
22428 * manual/llio.texi (File Position Primitive): lseek
22429 refers to WHENCE when it really means OFFSET.
22431 2012-04-06 Andreas Jaeger <aj@suse.de>
22433 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22434 strncmp declarations.
22436 * abilist/libc.abilist: Add __poll and __ppoll.
22438 2012-04-05 David S. Miller <davem@davemloft.net>
22440 * scripts/check-local-headers.sh: Accept a host triplet in the
22441 path matched by the exclude regexp.
22443 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22445 * sysdeps/powerpc/powerpc32/dl-machine.h
22446 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22447 * sysdeps/s390/s390-32/dl-machine.h
22448 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22449 * sysdeps/sparc/sparc32/dl-machine.h
22450 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22451 * sysdeps/sparc/sparc64/dl-machine.h
22452 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22454 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22456 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22457 undefined symbol errors.
22459 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22462 2012-04-05 Michael Matz <matz@suse.de>
22465 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22467 2012-04-05 Andreas Jaeger <aj@suse.de>
22470 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22473 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22475 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22476 which ROUND is no valid rounding mode.
22478 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22480 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22482 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22484 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22487 an exception using FPU order intentionally.
22489 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22491 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22492 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22493 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22494 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22496 2012-04-05 Simon Josefsson <simon@josefsson.org>
22499 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22500 EINVAL when BUFLEN is too smal.
22502 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22505 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22506 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22508 2012-04-03 Andreas Jaeger <aj@suse.de>
22511 * manual/setjmp.texi (System V contexts): Fix sentence.
22514 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22515 New macro for this case.
22516 [!__GNUC__] (__bswap_64): New inline function for this case.
22517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22518 * bits/byteswap.h: Likewise.
22519 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22520 ull, guard with __GLIBC_HAVE_LONG_LONG.
22522 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22523 __GLIBC_HAVE_LONG_LONG.
22525 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22526 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22528 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22531 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22532 inptr and inend, rather than using last_ch.
22534 2012-04-02 David S. Miller <davem@davemloft.net>
22536 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22537 * stdio-common/printf-parse.h (read_int): Change return type to
22538 'int', return -1 on INT_MAX overflow.
22539 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22540 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22541 overflows INT_MAX. Check for overflow of in-format-string precision
22542 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22543 SIZE_MAX not INT_MAX for integer overflow test.
22544 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22545 skip the construct in the format string but do not record anything.
22546 * stdio-common/bug22.c: Adjust to test both width/prevision
22547 INT_MAX overflow as well as total length INT_MAX overflow. Check
22548 explicitly for proper errno values.
22550 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22552 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22554 * string/test-strcmp.c [! WIDE]: Likewise.
22555 * time/tst-mktime2.c: Likewise for INT_MAX.
22556 * string/test-string.h: #include <sys/param.h> for MIN.
22558 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22559 * sysdeps/i386/init-first.c (init): Likewise.
22560 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22561 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22562 * sysdeps/sh/init-first.c (init): Likewise.
22564 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22566 * po/ru.po: Update from translation team.
22567 * po/vi.po: Likewise.
22569 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22571 * resolv/nss_dns/dns-host.c: Merge copyright years.
22573 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22576 Optimize memcpy with prefetch if
22577 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22578 src, dst pointers have unequal 16 byte alignments.
22580 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22583 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22584 from a CNAME entry and return the minimum ttl for the query.
22585 (gaih_getanswer_slice): Likewise.
22587 2012-03-30 Jeff Law <law@redhat.com>
22589 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22591 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22592 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22594 * resolv/nss_dns/dns-host.c: Update copyright year.
22596 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22598 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22599 requests to save a system call. Fix check that all bytes are sent.
22601 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22602 comments for sendmmsg.
22604 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22607 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22608 with only 1 character between 0x0041 and 0x01b0.
22609 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22610 * wcsmbs/tst-mbsnrtowcs.c: New file.
22612 2012-03-29 David S. Miller <davem@davemloft.net>
22614 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22615 small copies by hand.
22617 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22620 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22621 _nss_compat_initgroups_dyn): Fall back to malloc/free
22622 for large group memberships.
22624 2012-03-28 David S. Miller <davem@davemloft.net>
22626 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22627 that branches into memcpy.
22628 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22631 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22634 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22635 implementation too.
22636 * sysdeps/sparc/mempcpy.S: New file.
22638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22639 the IFUNC routine in the libc case.
22640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22642 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22643 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22644 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22645 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22646 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22647 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22648 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22649 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22651 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22652 loop to 256 bytes instead of 64 bytes and fix test signedness.
22654 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22655 * sysdeps/sparc/sparc32/Makefile: rather than here...
22656 * sysdeps/sparc/sparc64/Makefile: and here.
22658 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22660 * malloc/mallocbug.c: Avoid warnings about unused variables.
22662 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22665 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22666 in the right place. Discard and retry query if response is
22667 larger than input buffer size.
22669 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22674 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22675 x for large integer exponent.
22676 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22677 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22678 sign of result as needed afterwards.
22679 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22680 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22681 result for underflowing pow the same as for overflow.
22682 (__kernel_standard_l): Handle powl overflow and underflow here
22683 rather than calling __kernel_standard.
22684 * math/libm-test.inc (pow_test): Add more tests.
22699 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22700 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22701 (__kernel_standard_l): New function.
22702 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22704 * math/w_acosl.c (__acosl): Likewise.
22705 * math/w_asinl.c (__asinl): Likewise.
22706 * math/w_atan2l.c (__atan2l): Likewise.
22707 * math/w_atanhl.c (__atanhl): Likewise.
22708 * math/w_coshl.c (__coshl): Likewise.
22709 * math/w_exp10l.c (__exp10l): Likewise.
22710 * math/w_exp2l.c (__exp2l): Likewise.
22711 * math/w_fmodl.c (__fmodl): Likewise.
22712 * math/w_hypotl.c (__hypotl): Likewise.
22713 * math/w_j0l.c (__j0l, __y0l): Likewise.
22714 * math/w_j1l.c (__j1l, __y1l): Likewise.
22715 * math/w_jnl.c (__jnl, __ynl): Likewise.
22716 * math/w_lgammal.c (__lgammal): Likewise.
22717 * math/w_log10l.c (__log10l): Likewise.
22718 * math/w_log2l.c (__log2l): Likewise.
22719 * math/w_logl.c (__logl): Likewise.
22720 * math/w_powl.c (__powl): Likewise.
22721 * math/w_remainderl.c (__remainderl): Likewise.
22722 * math/w_scalbl.c (sysv_scalbl): Likewise.
22723 * math/w_sinhl.c (__sinhl): Likewise.
22724 * math/w_sqrtl.c (__sqrtl): Likewise.
22725 * math/w_tgammal.c (__tgammal): Likewise.
22726 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22727 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22728 * math/libm-test.inc (acos_test): Add more tests.
22729 (acosh_test): Likewise.
22730 (asin_test): Likewise.
22731 (atanh_test): Likewise.
22732 (exp_test): Likewise.
22733 (exp10_test): Likewise.
22734 (exp2_test): Likewise.
22735 (expm1_test): Likewise.
22736 (lgamma_test): Likewise.
22737 (log_test): Likewise.
22738 (log10_test): Likewise.
22739 (log1p_test): Likewise.
22740 (log2_test): Likewise.
22741 (pow_test): Do not allow some spurious overflow exceptions.
22742 (sqrt_test): Add more tests.
22743 (tgamma_test): Likewise.
22744 (y0_test): Likewise.
22745 (y1_test): Likewise.
22746 (yn_test): Likewise.
22748 2012-03-27 Anton Blanchard <anton@samba.org>
22750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22752 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22756 2012-03-27 David S. Miller <davem@davemloft.net>
22758 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22760 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22761 have-as-vis3 check.
22763 2012-03-27 Andreas Jaeger <aj@suse.de>
22765 * sysdeps/x86_64/elf/configure.in: Moved to ...
22766 * sysdeps/x86_64/configure.in: ... here.
22767 * sysdeps/x86_64/elf/start.S: Moved to ...
22768 * sysdeps/x86_64/start.S: ... here.
22769 * sysdeps/x86_64/elf/configure: Delete.
22771 * sysdeps/x86_64/configure.in: Merge contents from
22772 sysdeps/i386/configure.in (without i686 check).
22774 * sysdeps/i386/elf/Versions: Merge into ...
22775 * sysdeps/i386/Versions: ... this.
22776 * sysdeps/i386/elf/Versions: Delete file.
22777 * sysdeps/i386/elf/start.S: Moved to ...
22778 * sysdeps/i386/start.S: ...here.
22779 * sysdeps/i386/elf/configure.in: Merge into...
22780 * sysdeps/i386/configure.in: ...here.
22781 * sysdeps/i386/elf/configure.in: Delete file.
22782 * sysdeps/i386/elf/configure: Delete file.
22784 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22785 * debug/backtracesyms.c: ... here.
22786 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22787 * debug/backtracesymsfd.c: ... here.
22788 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22789 * sysdeps/generic/ifunc-sel.h: ... here.
22791 * sysdeps/unix/i386/start.c: Delete file.
22792 * sysdeps/unix/sparc/start.c: Delete file.
22793 * sysdeps/unix/start.c: Delete file.
22795 * sysdeps/sh/elf/configure.in: Moved to ...
22796 * sysdeps/sh/configure.in: ... here.
22797 * sysdeps/sh/elf/start.S: Moved to ...
22798 * sysdeps/sh/start.S: ... here.
22799 * sysdeps/sh/elf/configure: Delete file.
22801 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22802 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22803 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22804 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22805 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22806 * sysdeps/powerpc/powerpc64/start.S: here.
22807 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22808 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22809 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22810 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22811 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22813 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22814 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22815 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22816 * sysdeps/powerpc/powerpc32/start.S: ... here.
22817 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22818 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22819 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22821 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22822 * sysdeps/powerpc/ifunc-sel.h: ... here.
22823 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22824 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22826 * sysdeps/sparc/elf/configure.in: Moved to ...
22827 * sysdeps/sparc/configure.in: ... here.
22828 * sysdeps/sparc/elf/configure: Delete file.
22829 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22830 * sysdeps/sparc/sparc32/start.S: ... here.
22831 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22832 * sysdeps/sparc/sparc64/start.S: ... here.
22833 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22834 * sysdeps/sparc/sparc32/Makefile: ... this.
22835 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22836 * sysdeps/sparc/sparc64/Makefile: ... this.
22838 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22839 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22840 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22841 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22842 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22843 * sysdeps/s390/s390-32/setjmp.S: ... here.
22844 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22845 * sysdeps/s390/s390-32/configure.in: ... here.
22846 * sysdeps/s390/s390-32/elf/configure: Delete file.
22847 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22848 * sysdeps/s390/s390-32/start.S: ... here.
22850 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22851 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22852 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22853 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22854 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22855 * sysdeps/s390/s390-64/setjmp.S: ... here.
22856 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22857 * sysdeps/s390/s390-64/configure.in: ... here
22858 * sysdeps/s390/s390-64/elf/configure: Delete file.
22859 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22860 * sysdeps/s390/s390-64/start.S: ... here.
22861 * sysdeps/s390/s390-64/elf/configure: Delete.
22863 * configure.in: Remove support for elf directories in sysdeps.
22865 * configure: Regenerated.
22866 * sysdeps/i386/configure: Regenerated.
22867 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22868 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22869 * sysdeps/s390/s390-32/configure: Regenerated.
22870 * sysdeps/s390/s390-64/configure: Regenerated.
22871 * sysdeps/sh/configure: Regenerated.
22872 * sysdeps/sparc/configure: Regenerated.
22873 * sysdeps/x86_64/configure: Regenerated.
22875 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22879 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22880 denormal result into account.
22882 2012-03-25 Roland McGrath <roland@hack.frob.com>
22884 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22885 Reported by Allan McRae <allan@archlinux.org>.
22887 2012-03-23 Jeff Law <law@redhat.com>
22889 * nss/getnssent.c (__nss_getent): Fix typo.
22891 2012-03-23 David S. Miller <davem@davemloft.net>
22893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22895 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22897 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22898 to pad to uint64_t for each field.
22899 (dl_tls_index): Replace unsigned long with uint64_t.
22901 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22902 Paul Pluzhnikov <ppluzhnikov@google.com>
22905 * grp/Makefile (otherlibs): Don't set it.
22906 * inet/Makefile (otherlibs): Likewise.
22907 * login/Makefile (otherlibs): Likewise.
22908 * nscd/Makefile (otherlibs): Likewise.
22909 * posix/Makefile (otherlibs): Likewise.
22910 * pwd/Makefile (otherlibs): Likewise.
22911 * rt/Makefile (otherlibs): Likewise.
22912 * sunrpc/Makefile (otherlibs): Likewise.
22913 * nss/Makefile (otherlibs): Likewise.
22914 Add libnss_files to routines and static-only-routines.
22915 ($(objpfx)getent): Remove rule.
22916 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22917 static-only-routines.
22919 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22922 * math/s_cexp.c: Include <float.h>.
22923 (__cexp): Handle exp result overflowing not necessarily
22924 overflowing both real and imaginary parts of result.
22925 * math/s_cexpf.c: Likewise.
22926 * math/s_cexpl.c: Likewise.
22927 * math/libm-test.inc (cexp_test): Add more tests.
22928 * sysdeps/i386/fpu/libm-test-ulps: Update.
22929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22931 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22933 * include/link.h (ELFW): New macro.
22934 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22935 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22937 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22939 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22942 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22944 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22946 (struct La_x32_retval): Likewise.
22948 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22950 * sysdeps/x86_64/preconfigure.in: New file.
22951 * sysdeps/x86_64/preconfigure: New generated file.
22953 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22956 * math/e_exp2l.c: Include <float.h>.
22957 (__ieee754_exp2l): Handle overflow and underflow cases
22958 separately. Only pass fractional part of argument to
22960 * math/libm-test.inc (exp2_test): Add more tests.
22962 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22963 negating x to take absolute value.
22964 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22969 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22970 computing low part if x was negated.
22971 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22973 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22975 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22976 la_x32_gnu_pltexit.
22977 (pltexit): Cast int_retval to ptrdiff_t.
22978 * elf/tst-auditmod3b.c: Likewise.
22979 * elf/tst-auditmod4b.c: Likewise.
22980 * elf/tst-auditmod5b.c: Likewise.
22981 * elf/tst-auditmod6b.c: Likewise.
22982 * elf/tst-auditmod6c.c: Likewise.
22983 * elf/tst-auditmod7b.c: Likewise.
22985 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22986 and x32_gnu_pltexit.
22988 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22989 __ELF_NATIVE_CLASS.
22990 (La_x32_regs): New macro.
22991 (La_x32_retval): Likewise.
22992 (la_x32_gnu_pltenter): New function prototype.
22993 (la_x32_gnu_pltexit): Likewise.
22995 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23002 * configure.in (libc_cv_cc_nofma): Check for option to disable
23003 generation of FMA instructions.
23004 * configure: Regenerate.
23005 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23006 * sysdeps/ieee754/dbl-64/Makefile: New file.
23007 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23008 Remove brandred-fma4.
23009 (CFLAGS-brandred-fma4.c): Remove.
23010 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23011 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23013 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23016 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23018 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23019 LLONG_MAX != LONG_MAX.
23020 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23021 (_fitoa_word): Likewise.
23022 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23023 LLONG_MAX != LONG_MAX.
23024 * stdio-common/_itowa.h: Include <_itoa.h>.
23025 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23026 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23027 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23028 only if not defined.
23029 (_ITOA_WORD_TYPE): Likewise.
23030 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23031 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23033 2012-03-21 David S. Miller <davem@davemloft.net>
23035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23037 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23039 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23040 of x86_64 when setting libc_cv_slibdir, libdir and
23042 * sysdeps/unix/sysv/linux/configure: Regenerated.
23044 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23046 * manual/lang.texi (Old Varargs): Remove section.
23047 (How Variadic): Update menu.
23048 (va_start): Do not mention varargs.h.
23050 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23051 Joseph Myers <joseph@codesourcery.com>
23053 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23055 * configure: Regenerated.
23057 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23059 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23060 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23063 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23066 * Makefile (files-for-dist): Remove NOTES.
23067 (NOTES): Remove rule.
23068 * README: Don't refer to NOTES.
23069 * manual/creature.texi: Don't include macros.texi.
23070 * manual/intro.texi (creature.texi): Remove comment referring to
23073 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23074 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23075 * configure: Regenerated.
23076 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23077 LIBC_TRY_CC_OPTION.
23078 (libc_cv_as_i686): Likewise.
23079 (libc_cv_cc_avx): Likewise.
23080 (libc_cv_cc_sse2avx): Likewise.
23081 (libc_cv_cc_fma4): Likewise.
23082 (libc_cv_cc_novzeroupper): Likewise.
23083 * sysdeps/i386/configure: Regenerated.
23086 * sysdeps/i386/fpu/s_cexp.S: Remove.
23087 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23088 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23089 * math/libm-test.inc (cexp_test): Add more tests.
23090 * sysdeps/i386/fpu/libm-test-ulps: Update.
23091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23093 2012-03-21 Allan McRae <allan@archlinux.org>
23095 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23097 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23100 * math/w_exp2.c: Do not include <float.h>.
23101 (o_threshold, u_threshold): Remove.
23102 (__exp2): Calculate result before checking finiteness and calling
23104 * math/w_exp2f.c: Likewise.
23105 * math/w_exp2l.c: Likewise.
23106 * math/libm-test.inc (exp2_test): Require overflow exception for
23110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23111 range of signed 64-bit integers before using fistpll. Remove
23112 checks for whether integers fit in mantissa bits.
23113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23114 the range of signed 32-bit integers before using fistpl. Remove
23115 checks for whether integers fit in mantissa bits.
23116 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23117 (__ieee754_powl): Test for y outside the range of signed 64-bit
23118 integers before using fistpll. Reduce 64-bit values to 63-bit
23120 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23121 divide-by-zero is raised for zero to large negative powers.
23122 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23123 (__ieee754_powl): Test for y outside the range of signed 64-bit
23124 integers before using fistpll. Reduce 64-bit values to 63-bit
23126 * math/libm-test.inc (pow_test): Add more tests.
23128 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23130 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23131 <stdio-common/_itoa.h>.
23132 * debug/segfault.c: Likewise.
23133 * elf/dl-cache.c: Likewise.
23134 * elf/dl-minimal.c: Likewise.
23135 * elf/dl-misc.c: Likewise.
23136 * elf/dl-sysdep.c: Likewise.
23137 * elf/dl-version.c: Likewise.
23138 * elf/rtld.c: Likewise.
23139 * hurd/hurdsock.c: Likewise.
23140 * hurd/lookup-retry.c: Likewise.
23141 * malloc/malloc.c: Likewise.
23142 * malloc/mtrace.c: Likewise.
23143 * nscd/nscd_getgr_r.c: Likewise.
23144 * nscd/nscd_getpw_r.c: Likewise.
23145 * nscd/nscd_getserv_r.c: Likewise.
23146 * posix/getopt_init.c: Likewise.
23147 * posix/wordexp.c: Likewise.
23148 * stdio-common/_itoa.c: Likewise.
23149 * stdio-common/printf_fphex.c: Likewise.
23150 * stdio-common/vfprintf.c: Likewise.
23151 * string/_strerror.c: Likewise.
23152 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23153 * sysdeps/i386/i686/hp-timing.h: Likewise.
23154 * sysdeps/mach/_strerror.c: Likewise.
23155 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23156 * sysdeps/mach/hurd/sethostid.c: Likewise.
23157 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23158 * sysdeps/mach/xpg-strerror.c: Likewise.
23159 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23160 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23161 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23162 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23163 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23164 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23165 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23166 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23167 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23168 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23169 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23170 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23171 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23172 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23173 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23174 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23175 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23176 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23177 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23178 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23181 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23183 * stdio-common/_itoa.h: Moved to ...
23184 * sysdeps/generic/_itoa.h: Here.
23186 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23188 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23189 instead of "_itoa.h" and "_itowa.h".
23190 * stdio-common/vfprintf.: Likewise.
23192 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23194 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23196 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23197 (__signbit): Likwise.
23198 (llrintf): Likwise.
23201 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23203 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23206 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23208 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23209 OVERFLOW_EXCEPTION_OK.
23210 * math/libm-test.inc ("Philosophy"): Update comment about
23212 (OVERFLOW_EXCEPTION): Define.
23213 (OVERFLOW_EXCEPTION_OK): Likewise.
23214 (INVALID_EXCEPTION_OK): Renumber.
23215 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23216 (IGNORE_ZERO_INF_SIGN): Likewise.
23217 (test_exceptions): Handle FE_OVERFLOW.
23218 (exp10_test): Expect overflow exceptions.
23219 (exp2_test): Likewise.
23220 (expm1_test): Likewise.
23221 (nextafter_test): Likewise.
23222 (pow_test): Likewise.
23223 (scalbn_test): Likewise.
23224 (scalbln_test): Likewise.
23226 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23228 * sysdeps/x86_64/bits/atomic.h
23229 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23231 (atomic_exchange_acq): Likewise.
23232 (__arch_exchange_and_add_body): Likewise.
23233 (__arch_add_body): Likewise.
23234 (atomic_add_negative): Likewise.
23235 (atomic_add_zero): Likewise.
23237 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23239 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23240 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23242 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23244 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23245 Check __x86_64__ instead of __WORDSIZE.
23247 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23249 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23251 2012-03-19 David S. Miller <davem@davemloft.net>
23253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23255 * sysdeps/sparc/fpu/fenv_private.h: New file.
23256 * sysdeps/sparc/fpu/math_private.h: Use it.
23257 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23259 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23260 (libc_feholdexcept_setroundl): Remove.
23261 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23263 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23264 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23268 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23269 int64_t instead of long int.
23270 (INSERT_WORDS64): Likwise.
23272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23274 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23275 _Unwind_GetCFA return to _Unwind_Ptr first.
23277 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23280 * math/s_clog.c: Include <float.h>.
23281 (__clog): Scale large or subnormal inputs.
23282 * math/s_clogf.c: Likewise.
23283 * math/s_clogl.c: Likewise.
23284 * math/s_clog10.c: Include <float.h>.
23285 (M_LOG10_2): Define.
23286 (__clog10): Scale large or subnormal inputs.
23287 * math/s_clog10f.c: Likewise.
23288 * math/s_clog10l.c: Likewise.
23289 * math/libm-test.inc (clog_test): Add more tests.
23290 (clog10_test): Likewise.
23291 * sysdeps/i386/fpu/libm-test-ulps: Update.
23292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23295 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23297 * math/libm-test.inc (atan2_test): Add another test.
23299 * Makerules (common-objdir-compile): Remove.
23300 * sysdeps/unix/Makefile (config-generated): Do not add
23301 $(unix-generated) to variable.
23302 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23303 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23305 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23307 [generic bits/local_lim.h] (before-compile): Do not append to
23309 [generic bits/local_lim.h] (common-generated): Likewise.
23310 [generic sys/param.h] (before-compile): Do not append to variable.
23311 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23312 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23313 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23314 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23316 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23317 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23318 [generic sys/param.h] ($(addprefix
23319 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23320 [generic sys/param.h] (common-generated): Do not append to
23322 [generic sys/param.h] (sysdep_headers): Likewise.
23323 [generic bits/errno.h] (before-compile): Do not append to
23325 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23327 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23328 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23329 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23330 [generic bits/errno.h] (common-generated): Do not append to
23332 [generic bits/ioctls.h] (before-compile): Do not append to
23334 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23336 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23337 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23338 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23340 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23341 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23342 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23343 [generic bits/ioctls.h] (common-generated): Do not append to
23345 [generic sys/syscall.h] (syscall.h): Remove variable.
23346 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23348 [generic sys/syscall.h] (before-compile): Do not append to
23350 [generic sys/syscall.h] (common-generated): Likewise.
23351 * sysdeps/unix/errnos-tmpl.c: Remove file.
23352 * sysdeps/unix/errnos.awk: Likewise.
23353 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23354 * sysdeps/unix/ioctls.awk: Likewise.
23355 * sysdeps/unix/mk-local_lim.c: Likewise.
23356 * sysdeps/unix/snarf-ioctls: Likewise.
23358 2012-03-19 Richard Henderson <rth@twiddle.net>
23360 * sysdeps/i386/fpu/fenv_private.h: New file.
23361 * sysdeps/i386/fpu/math_private.h: Use it.
23362 (math_opt_barrier, math_force_eval): Remove.
23363 (libc_feholdexcept_setround_53bit): Remove.
23364 (libc_feupdateenv_53bit): Remove.
23365 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23366 (math_opt_barrier, math_force_eval): Remove.
23367 (libc_feholdexcept): Remove.
23368 (libc_feholdexcept_setround): Remove.
23369 (libc_fetestexcept, libc_fesetenv): Remove.
23370 (libc_feupdateenv_test): Remove.
23371 (libc_feupdateenv, libc_feholdsetround): Remove.
23372 (libc_feresetround): Remove.
23374 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23375 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23377 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23378 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23379 (libc_feupdateenv_testl): New.
23380 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23381 (libc_feupdateenv_testf): New.
23382 (libc_feupdateenv): Use libc_feupdateenv_test.
23383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23386 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23387 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23388 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23389 (libc_feresetround_noex): New.
23390 (libc_feresetround_noexf): New.
23391 (libc_feresetround_noexl): New.
23392 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23393 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23394 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23395 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23400 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23402 SET_RESTORE_ROUND_NOEX.
23403 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23404 SET_RESTORE_ROUND_NOEXF.
23405 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23406 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23407 (libc_feholdsetroundf): New.
23408 (libc_feresetround, libc_feresetroundf): New.
23410 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23411 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23412 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23414 * sysdeps/generic/math_private.h: Include <fenv.h>.
23415 (default_libc_feholdexcept): New.
23416 (default_libc_feholdexcept_setround): New.
23417 (default_libc_fesetenv, default_libc_feupdateenv): New.
23418 (libc_feholdexcept): Only define if undefined.
23419 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23420 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23421 (libc_feholdexcept_setroundl): Likewise.
23422 (libc_feholdexcept_setround_53bit): Likewise.
23423 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23424 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23425 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23426 (libc_feupdateenv_53bit): Likewise.
23427 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23428 (libc_feholdexcept): Convert from macro to inline function.
23429 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23430 (libc_fesetenv, libc_feupdateenv): Likewise.
23432 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23433 not previously defined.
23434 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23435 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23436 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23437 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23438 * sysdeps/ieee754/flt-32/math_private.h: New file.
23439 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23440 math_private.h below SET_FLOAT_WORD.
23441 (__isnan, __isinf_ns, __finite): Remove.
23442 (__isnanf, __isinf_nsf, __finitef): Remove.
23444 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23448 2012-03-17 David S. Miller <davem@davemloft.net>
23451 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23454 2012-03-16 David S. Miller <davem@davemloft.net>
23456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23460 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23462 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23463 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23464 sysdep_routines when subdir is sysvipc.
23465 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23466 __getshmlba helper.
23468 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23470 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23472 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23475 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23478 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23479 (__lround): Renamed to ...
23480 (__llround): This. Replace long int with long long int.
23481 Define lround functions as aliases of llround functions.
23482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23484 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23486 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23487 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23488 adresses to uintptr_t. Replace "long int" and "unsigned long
23489 int" with "greg_t" on va_arg.
23491 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23493 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23494 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23496 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23497 Move e_machine check before EI_CLASS check. Handle x32
23498 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23499 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23500 SKIP_EM_IA_64 and include
23501 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23503 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23504 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23505 (add_system_dir): New macro.
23507 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23508 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23510 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23521 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23523 * math/w_j0f.c (j0f): Likewise.
23525 * math/w_j0l.c (__j0l): Likewise.
23527 * math/w_j1.c (j1): Likewise.
23529 * math/w_j1f.c (j1f): Likewise.
23531 * math/w_j1l.c (__j1l): Likewise.
23533 * math/w_jn.c (jn): Likewise.
23535 * math/w_jnf.c (jnf): Likewise.
23537 * math/w_jnl.c (__jnl): Likewise.
23539 * math/libm-test.inc (j0_test): Add more tests.
23540 (j1_test): Likewise.
23541 (jn_test): Likewise. Add trailing semicolon to existing test.
23542 (y0_test): Likewise.
23543 (y1_test): Likewise.
23544 * sysdeps/i386/fpu/libm-test-ulps: Update.
23545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23549 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23550 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23551 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23552 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23553 (__tanl): Set errno for infinite argument.
23554 * sysdeps/i386/fpu/mptan.c: Remove.
23555 * sysdeps/i386/fpu/s_tan.S: Likewise.
23556 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23557 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23558 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23559 * math/libm-test.inc (tan_test): Add more tests and enable more
23560 tests for double and long double.
23561 * sysdeps/i386/fpu/libm-test-ulps: Update.
23562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23564 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23566 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23567 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23569 2012-03-16 Roland McGrath <roland@hack.frob.com>
23571 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23572 * configure.in: Use it for both main tree and add-ons.
23573 * configure: Regenerated.
23575 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23577 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23579 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23581 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23585 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23586 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23591 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23593 != 0 for prec == 2.
23594 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23595 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23596 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23597 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23598 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23599 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23600 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23601 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23602 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23603 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23604 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23605 * math/libm-test.inc (cos_test): Add more tests and enable more
23606 tests for long double.
23607 (sin_test): Likewise.
23608 (sincos_test): Likewise.
23609 * sysdeps/i386/fpu/libm-test-ulps: Update.
23610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23612 2012-03-16 David S. Miller <davem@davemloft.net>
23614 * sysdeps/sparc/fpu/math_private.h: New file.
23616 2012-03-15 David S. Miller <davem@davemloft.net>
23618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23632 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23635 * sysdeps/sparc/sparc-ifunc.h: New file.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23681 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23683 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23687 2012-03-15 Andreas Jaeger <aj@suse.de>
23690 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23691 ieee754/flt-32 implementation for sin, cos and sincos.
23692 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23693 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23694 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23695 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23696 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23697 ieee754/flt-32 implementation for tan.
23699 * math/libm-test.inc (cos_test): Enable some large input tests for
23701 (sin_test): Likewise.
23702 (sincos_test): Likewise.
23703 (tan_test): Add tests for large input.
23705 * sysdeps/i386/fpu/libm-test-ulps: Update.
23707 2012-03-15 Andreas Jaeger <aj@suse.de>
23710 * math/libm-test.inc (cos_test): Add more test cases.
23711 (sin_test): Likewise.
23712 (sincos_test): Likewise.
23714 2012-03-15 Andreas Jaeger <aj@suse.de>
23717 * math/libm-test.inc (cos_test): Add a test case for large input
23719 (sin_test): Likewise.
23720 (sincos_test): Likewise.
23722 2012-03-15 Andreas Jaeger <aj@suse.de>,
23723 Joseph Myers <joseph@codesourcery.com>
23726 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23727 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23728 * sysdeps/i386/fpu/branred.c: Likewise.
23729 * sysdeps/i386/fpu/dosincos.c: Likewise.
23730 * sysdeps/i386/fpu/mpa.c: Likewise.
23731 * sysdeps/i386/fpu/s_cos.S: Likewise.
23732 * sysdeps/i386/fpu/s_sin.S: Likewise.
23733 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23734 * sysdeps/i386/fpu/sincos32.c: Likewise.
23736 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23738 (libc_feupdateenv_53bit): Define.
23739 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23741 (libc_feupdateenv_53bit): Define.
23743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23744 53 bit (without extend i386 double precision).
23746 * math/libm-test.inc (sincos_test): Add tests for large input.
23750 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23752 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23756 2012-03-15 David S. Miller <davem@davemloft.net>
23758 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23759 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23760 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23761 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23786 fmin/fmax sysdep routines.
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23789 2012-03-14 David S. Miller <davem@davemloft.net>
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23863 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23868 * sysdeps/sparc/configure.in: New file.
23869 * sysdeps/sparc/configure: Generate.
23870 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23871 * configure: Regenerate.
23872 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23873 * config.make.in (have-as-vis3): New.
23874 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23875 available use -Av9d instead of -Av9a.
23876 * sysdeps/sparc/sparc64/Makefile: Likewise.
23877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23892 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23893 fzeros/fnegs to load 0x80000000 into a float register instead of
23895 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23897 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23901 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23902 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23903 ($(inst_includedir)/bits/syscall.h): Remove rule.
23904 ($(objpfx)bits/syscall.d): Include instead of
23905 $(objpfx)syscall-list.d.
23906 (generated): Change syscall-list.h and syscall-list.d to
23907 bits/syscall.h and bits/syscall.d.
23909 2012-03-14 Roland McGrath <roland@hack.frob.com>
23912 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23914 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23917 * math/s_csqrt.c: Include <float.h>.
23918 (__csqrt): Scale large or subnormal inputs.
23919 * math/s_csqrtf.c: Likewise.
23920 * math/s_csqrtl.c: Likewise.
23921 * math/libm-test.inc (csqrt_test): Add more tests.
23922 * sysdeps/i386/fpu/libm-test-ulps: Update.
23923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23926 * math/libm-test.inc (hypot_test): Add more tests.
23928 2012-03-13 David S. Miller <davem@davemloft.net>
23931 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23932 double-precision for the calculation instead of scaling.
23934 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23936 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23937 manipulate bits before adding and subtracting TWO52[sx].
23938 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23939 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23943 2012-03-13 David S. Miller <davem@davemloft.net>
23945 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23946 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23948 rtld-global-offsets.h
23949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23951 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23954 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23956 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23957 'err' in the ifdef scope in which it is actually used.
23959 * nss/nss_db/db-init.c: Include string.h
23961 2012-03-12 David S. Miller <davem@davemloft.net>
23963 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23964 masking out of the most significant byte of random value used.
23965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23966 Fix coding style in previous change.
23968 * sysdeps/unix/sysv/linux/kernel-features.h
23969 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23970 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23972 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23975 2012-03-11 David S. Miller <davem@davemloft.net>
23977 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23978 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23980 for 'resultvar' otherwise things get truncated on 64-bit.
23982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23983 Fix masking out of the most significant byte of random value used.
23985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23987 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23991 2012-03-09 David S. Miller <davem@davemloft.net>
23993 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23994 variables with appropriate CPP guards.
23995 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23996 frame pointer, not the stack pointer. Correct layout comments. Fix test
23997 on resulting framesize and the management of the outregs buffer for pltexit.
23998 Preserve floating point return values across _dl_call_pltexit call.
23999 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24000 framesize and the management of the outregs buffer for pltexit.
24001 Preserve floating point return values across _dl_call_pltexit
24003 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24004 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24005 (print_exit): Fix format string for return register value.
24007 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24009 * sunrpc/Makefile (others): Add rpcgen.
24010 ($(objpfx)rpcgen): Remove special build rule and dependency on
24012 * sunrpc/rpcgen.c: New file.
24014 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24017 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24018 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24019 * sysdeps/i386/crti.S: Likewise.
24020 * sysdeps/i386/crtn.S: Likewise.
24021 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24022 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24023 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24024 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24025 * sysdeps/sh/crti.S: Likewise.
24026 * sysdeps/sh/crtn.S: Likewise.
24027 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24030 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24032 * locale/programs/locfile-kw.gperf: Likewise.
24033 * locale/programs/charmap-kw.h: Regenerated.
24034 * locale/programs/locfile-kw.h: Likewise.
24037 * intl/plural.y: Replace FSF snail mail address with URL.
24038 * intl/plural.c: Regenerated.
24040 2012-03-09 Richard Henderson <rth@twiddle.net>
24042 * include/math_private.h: Remove file.
24043 * math/math_private.h: Move file ...
24044 * sysdeps/generic/math_private.h: ... here.
24046 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24047 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24048 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24050 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24051 and <math_private.h>.
24052 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24053 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24054 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24055 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24056 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24057 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24058 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24060 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24061 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24064 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24066 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24067 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24077 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24092 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24093 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24131 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24140 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24143 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24144 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24145 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24146 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24147 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24149 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24150 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24151 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24152 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24153 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24154 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24155 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24156 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24157 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24158 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24159 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24160 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24161 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24162 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24163 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24164 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24165 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24166 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24167 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24171 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24172 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24173 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24175 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24176 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24177 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24178 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24179 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24180 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24181 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24185 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24186 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24187 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24188 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24189 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24190 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24191 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24194 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24195 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24197 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24199 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24201 * sysdeps/ieee754/k_standard.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24275 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24329 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24334 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24351 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24352 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24362 * sysdeps/ieee754/s_lib_version.c: Likewise.
24363 * sysdeps/ieee754/s_matherr.c: Likewise.
24364 * sysdeps/ieee754/s_signgam.c: Likewise.
24365 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24366 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24367 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24368 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24369 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24370 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24371 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24372 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24373 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24374 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24375 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24376 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24377 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24378 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24379 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24380 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24382 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24383 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24387 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24389 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24390 * sunrpc/rpc_main.c: Likewise.
24391 * sunrpc/rpc_svcout.c: Likewise.
24393 2012-03-09 David S. Miller <davem@davemloft.net>
24395 * include/math_private.h: New file.
24397 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24399 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24400 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24401 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24402 from <bits/socket_type.h>.
24403 (enum __socket_type): Don't define here.
24404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24406 bits/socket_type.h.
24409 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24410 checking __USE_GNU.
24412 * Makerules ($(inst_includedir)/%.h): New rule.
24413 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24414 (install-others): Remove variable setting.
24415 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24417 2012-03-08 Richard Henderson <rth@twiddle.net>
24419 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24420 from macro to inline function; merge with the
24421 !__LIBC_INTERNAL_MATH_INLINES version.
24422 (__ieee754_sqrtf): Likewise.
24424 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24425 to inline function.
24426 (__rintf, __floor, __floorf): Likewise.
24428 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24429 macro to inline function.
24430 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24432 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24433 not <math/math_private.h>.
24435 2012-03-08 David S. Miller <davem@davemloft.net>
24437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24439 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24441 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24443 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24445 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24446 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24448 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24450 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24451 be defined individually, they must be defined as a block. Define
24452 S for printing a string instead of hidint the different by using a
24453 macro for adding the 'l'.
24454 * stdio-common/tst-fphex-wide.c: Adjust.
24456 2012-03-07 Marek Polacek <polacek@redhat.com>
24458 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24460 2012-03-08 Marek Polacek <polacek@redhat.com>
24463 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24464 * stdio-common/tst-fphex.c: Define a few macros to make the
24465 test reusable. Use them.
24466 * stdio-common/tst-fphex-wide.c: New file.
24468 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24471 * manual/macros.texi (gnusystems): New macro.
24472 (nongnusystems): Likewise.
24473 (gnulinuxhurdsystems): Likewise.
24474 (gnuhurdsystems): Likewise..
24475 (gnulinuxsystems): Likewise.
24476 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24477 variants of the GNU system, not "GNU system".
24478 * manual/conf.texi: Likewise.
24479 * manual/errno.texi: Likewise. Update example of errno macro
24481 * manual/filesys.texi: Likewise.
24482 (getumask): Document as specific to GNU/Hurd.
24483 * manual/install.texi: Likewise. Reword some references to
24485 * manual/intro.texi: Likewise.
24486 * manual/io.texi: Likewise.
24487 (File Name Portability): Detail which constraints are inapplicable
24488 to all GNU systems and which are only inapplicable to GNU/Hurd.
24489 * manual/job.texi: Likewise.
24490 * manual/llio.texi: Likewise.
24491 (O_NOCTTY): Document as present on GNU/Linux.
24492 * manual/maint.texi: Likewise.
24493 * manual/memory.texi: Likewise.
24494 * manual/pattern.texi: Likewise.
24495 * manual/pipe.texi: Likewise.
24496 * manual/process.texi: Likewise.
24497 * manual/resource.texi: Likewise.
24498 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24500 * manual/setjmp.texi: Likewise.
24501 * manual/signal.texi: Likewise.
24502 * manual/startup.texi: Likewise.
24503 * manual/stdio.texi: Likewise.
24504 * manual/terminal.texi: Likewise.
24505 (ONLCR): Document as POSIX.
24506 (OXTABS): Document availability on GNU/Linux as XTABS.
24507 (ONOEOT): Document availability separately from other bits.
24508 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24509 * manual/time.texi: Likewise.
24510 * manual/users.texi: Likewise.
24511 * INSTALL: Regenerated.
24512 * sysdeps/gnu/errlist.c: Regenerated.
24514 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24515 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24516 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24518 * configure: Regenerated.
24520 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24522 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24523 default includes instead of AC_HEADER_CHECK.
24524 * sysdeps/i386/configure: Regenerated.
24527 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24528 * math/s_cacoshf.c (__cacoshf): Likewise.
24529 * math/s_cacoshl.c (__cacoshl): Likewise.
24530 * math/s_casinh.c (__casinh): Set signs of result from argument.
24531 * math/s_casinhf.c (__casinhf): Likewise.
24532 * math/s_casinhl.c (__casinhl): Likewise.
24533 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24534 (casinh_test): Add more tests.
24535 * sysdeps/i386/fpu/libm-test-ulps: Update.
24536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24538 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24540 * po/zh_TW.po: Update from translation team.
24542 * login/Makefile (distribute): Remove variable.
24543 * catgets/Makefile: Likewise.
24544 * mach/Makefile: Likewise.
24545 * malloc/Makefile: Likewise.
24546 * misc/Makefile: Likewise.
24547 * iconv/Makefile: Likewise.
24548 * nscd/Makefile: Likewise.
24549 * hurd/Makefile: Likewise.
24550 * manual/Makefile: Likewise.
24551 * locale/Makefile: Likewise.
24552 * intl/Makefile: Likewise.
24553 * conform/Makefile: Likewise.
24554 * nss/Makefile: Likewise.
24555 * time/Makefile: Likewise.
24556 * soft-fp/Makefile: Likewise.
24557 * dirent/Makefile: Likewise.
24558 * gmon/Makefile: Likewise.
24559 * po/Makefile: Likewise.
24560 * rt/Makefile: Likewise.
24561 * socket/Makefile: Likewise.
24562 * math/Makefile: Likewise.
24563 * signal/Makefile: Likewise.
24564 * debug/Makefile: Likewise.
24565 * elf/Makefile: Likewise.
24566 * timezone/Makefile: Likewise.
24567 * stdlib/Makefile: Likewise.
24568 * iconvdata/Makefile: Likewise.
24569 * sunrpc/Makefile: Likewise.
24570 * io/Makefile: Likewise.
24571 * argp/Makefile: Likewise.
24572 * inet/Makefile: Likewise.
24573 * hesiod/Makefile: Likewise.
24574 * grp/Makefile: Likewise.
24575 * csu/Makefile: Likewise.
24576 * wctype/Makefile: Likewise.
24577 * crypt/Makefile: Likewise.
24578 * libio/Makefile: Likewise.
24579 * string/Makefile: Likewise.
24580 * nis/Makefile: Likewise.
24581 * resolv/Makefile: Likewise.
24582 * stdio-common/Makefile: Likewise.
24583 * wcsmbs/Makefile: Likewise.
24584 * dlfcn/Makefile: Likewise.
24585 * posix/Makefile: Likewise.
24588 * timezone/Makefile: Don't install timezone files, just the programs
24591 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24593 * nss/databases.def: Add missing gshadow entry.
24595 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24597 2012-03-06 Marek Polacek <polacek@redhat.com>
24600 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24601 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24602 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24603 * stdio-common/tst-long-dbl-fphex.c: New file.
24605 2012-03-06 David S. Miller <davem@davemloft.net>
24607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24608 (set_obp_int): New function.
24609 (get_obp_int): New function.
24610 (__get_clockfreq_via_dev_openprom): Likewise.
24611 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24612 Avoid unused variable warnings on 'val' and use builtin_expect.
24613 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24615 (INLINE_CLONE_SYSCALL): Likewise.
24617 2012-03-05 David S. Miller <davem@davemloft.net>
24619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24621 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24626 only for |x| >= 40.
24627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24629 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24632 Replace gettimeofday with __vdso_gettimeofday.
24634 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24635 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24636 __vdso_clock_gettime and __vdso_getcpu.
24638 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24639 time with __vdso_time.
24641 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24643 * manual/lang.texi (size_t): Note types to which size_t may be
24644 equivalent with the GNU C Library, but do not describe when
24645 differences between them are significant.
24647 2012-03-05 Andreas Jaeger <aj@suse.de>
24649 * sysdeps/i386/fpu/libm-test-ulps: Update.
24651 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24654 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24655 (__ieee754_pow): Save and restore rounding mode and use
24656 round-to-nearest for main computations.
24657 * math/libm-test.inc (pow_test_tonearest): New function.
24658 (pow_test_towardzero): Likewise.
24659 (pow_test_downward): Likewise.
24660 (pow_test_upward): Likewise.
24661 (main): Call the new functions.
24662 * sysdeps/i386/fpu/libm-test-ulps: Update.
24663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24666 * math/libm-test.inc (cosh_test_tonearest): New function.
24667 (cosh_test_towardzero): Likewise.
24668 (cosh_test_downward): Likewise.
24669 (cosh_test_upward): Likewise.
24670 (sinh_test_tonearest): Likewise.
24671 (sinh_test_towardzero): Likewise.
24672 (sinh_test_downward): Likewise.
24673 (sinh_test_upward): Likewise.
24674 (main): Call the new functions.
24675 * sysdeps/i386/fpu/libm-test-ulps: Update.
24676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24678 2012-03-05 Tom de Vries <tom@codesourcery.com>
24680 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24681 default stack guard is set in last bytes.
24682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24684 2012-03-05 Kees Cook <keescook@chromium.org>
24686 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24689 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24690 possibly allocate from heap instead of stack.
24691 * stdio-common/bug-vfprintf-nargs.c: New file.
24692 * stdio-common/Makefile (tests): Add nargs overflow test.
24694 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24698 2012-03-03 Marek Polacek <polacek@redhat.com>
24700 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24701 * math/math_private.h: Likewise.
24702 * stdlib/tst-strtod.c: Likewise.
24703 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24704 * sysdeps/x86_64/bits/atomic.h: Likewise.
24706 2012-03-02 David S. Miller <davem@davemloft.net>
24708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24712 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24713 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24714 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24715 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24717 2012-03-02 Roland McGrath <roland@hack.frob.com>
24720 * manual/examples/README: New file, says the example source files
24721 can be used under GPL>=2.
24722 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24723 line containing just "*/".
24724 * manual/examples/add.c: Add copyright header (GPL>=2).
24725 * manual/examples/argp-ex1.c: Likewise.
24726 * manual/examples/argp-ex2.c: Likewise.
24727 * manual/examples/argp-ex3.c: Likewise.
24728 * manual/examples/argp-ex4.c: Likewise.
24729 * manual/examples/atexit.c: Likewise.
24730 * manual/examples/db.c: Likewise.
24731 * manual/examples/dir.c: Likewise.
24732 * manual/examples/dir2.c: Likewise.
24733 * manual/examples/execinfo.c: Likewise.
24734 * manual/examples/filecli.c: Likewise.
24735 * manual/examples/filesrv.c: Likewise.
24736 * manual/examples/fmtmsgexpl.c: Likewise.
24737 * manual/examples/genpass.c: Likewise.
24738 * manual/examples/inetcli.c: Likewise.
24739 * manual/examples/inetsrv.c: Likewise.
24740 * manual/examples/isockad.c: Likewise.
24741 * manual/examples/longopt.c: Likewise.
24742 * manual/examples/memopen.c: Likewise.
24743 * manual/examples/memstrm.c: Likewise.
24744 * manual/examples/mkfsock.c: Likewise.
24745 * manual/examples/mkisock.c: Likewise.
24746 * manual/examples/mygetpass.c: Likewise.
24747 * manual/examples/pipe.c: Likewise.
24748 * manual/examples/popen.c: Likewise.
24749 * manual/examples/rprintf.c: Likewise.
24750 * manual/examples/search.c: Likewise.
24751 * manual/examples/select.c: Likewise.
24752 * manual/examples/setjmp.c: Likewise.
24753 * manual/examples/sigh1.c: Likewise.
24754 * manual/examples/sigusr.c: Likewise.
24755 * manual/examples/stpcpy.c: Likewise.
24756 * manual/examples/strdupa.c: Likewise.
24757 * manual/examples/strftim.c: Likewise.
24758 * manual/examples/strncat.c: Likewise.
24759 * manual/examples/subopt.c: Likewise.
24760 * manual/examples/swapcontext.c: Likewise.
24761 * manual/examples/termios.c: Likewise.
24762 * manual/examples/testopt.c: Likewise.
24763 * manual/examples/testpass.c: Likewise.
24764 * manual/examples/timeval_subtract.c: Likewise.
24767 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24769 * manual/timeval_subtract.c.texi: ... here, new file.
24771 2012-03-02 David S. Miller <davem@davemloft.net>
24773 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24775 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24778 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24779 (__sin): Save and restore rounding mode and use round-to-nearest
24780 for all computations.
24781 (__cos): Save and restore rounding mode and use round-to-nearest
24782 for all computations.
24783 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24785 (tan): Save and restore rounding mode and use round-to-nearest for
24787 * math/libm-test.inc (cos_test_tonearest): New function.
24788 (cos_test_towardzero): Likewise.
24789 (cos_test_downward): Likewise.
24790 (cos_test_upward): Likewise.
24791 (sin_test_tonearest): Likewise.
24792 (sin_test_towardzero): Likewise.
24793 (sin_test_downward): Likewise.
24794 (sin_test_upward): Likewise.
24795 (tan_test_tonearest): Likewise.
24796 (tan_test_towardzero): Likewise.
24797 (tan_test_downward): Likewise.
24798 (tan_test_upward): Likewise.
24799 (main): Call the new functions.
24800 * sysdeps/i386/fpu/libm-test-ulps: Update.
24801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24804 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24805 small n, then large n, before computing and testing k+n.
24806 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24811 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24812 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24813 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24814 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24818 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24819 * math/libm-test.inc (scalbn_test): Add more tests.
24820 (scalbln_test): Likewise.
24822 * manual/filesys.texi (mode_t): Describe constraints on size and
24823 signedness, not exact equivalence to a particular type.
24825 (ino64_t): Likewise.
24827 (nlink_t): Likewise.
24828 (blkcnt_t): Likewise.
24829 (blkcnt64_t): Likewise.
24830 * manual/llio.texi (off_t): Likewise.
24833 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24834 (__ieee754_exp): Save and restore rounding mode and use
24835 round-to-nearest for all computations.
24836 * math/libm-test.inc (exp_test_tonearest): New function.
24837 (exp_test_towardzero): Likewise.
24838 (exp_test_downward): Likewise.
24839 (exp_test_upward): Likewise.
24840 (main): Call the new functions.
24841 * sysdeps/i386/fpu/libm-test-ulps: Update.
24842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24844 2012-03-01 Chris Demetriou <cgd@google.com>
24846 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24847 have predictable order.
24849 2012-03-01 David S. Miller <davem@davemloft.net>
24851 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24853 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24854 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24855 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24856 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24858 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24859 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24860 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24862 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24863 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24864 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24865 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24866 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24870 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24871 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24874 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24875 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24876 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24877 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24878 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24879 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24881 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24882 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24885 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24887 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24890 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24891 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24892 * sysdeps/sparc/elf/configure: Regenerated.
24894 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24896 * configure.in (AS, LD): Require binutils 2.20 or later.
24897 * configure: Regenerated.
24898 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24899 as required minimum version.
24900 * INSTALL: Regenerated.
24904 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24905 before squaring exponent.
24906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24907 bottom long double and 27 bits of top long double before squaring
24909 * math/libm-test.inc (erfc_test): Add more tests.
24910 * sysdeps/i386/fpu/libm-test-ulps: Update.
24911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24914 2012-03-01 Kai Tietz <ktietz@redhat.com>
24916 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24917 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24918 containing bit-fields.
24919 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24920 * soft-fp/single.h (_FP_UNION_S): Likewise.
24921 * soft-fp/double.h (_FP_UNION_D): Likewise.
24923 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24926 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24927 not include ../strcmp.S.
24928 [USE_AS_STRNCASECMP_L]: Likewise.
24929 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24930 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24931 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24932 (__strncasecmp_l_ia32): Define as alias to
24933 __strncasecmp_l_nonascii.
24936 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24937 * sysdeps/i386/fpu/libm-test-ulps: Update.
24938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24940 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24943 2012-02-29 Jeff Law <law@redhat.com>
24945 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24946 out of bounds read.
24948 2012-02-29 Marek Polacek <polacek@redhat.com>
24951 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24952 * elf/Makefile: Add rules to run tst-unused-dep.out.
24954 2012-02-28 David S. Miller <davem@davemloft.net>
24956 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24957 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24960 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24961 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24963 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24965 * math/libm-test.inc (llround_test): Move one test from
24966 lround_test. Use TEST_f_L in moved test.
24967 (lround_test): Move misplaced test to llround_test. Add testcase
24970 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24972 * sysdeps/x86_64/fpu/e_expf.S: New file.
24973 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24975 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24978 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24979 of remain_len that may cause incomplete multi-byte character and
24981 * posix/bug-regex33.c: New file.
24982 * posix/Makefile (tests): Add bug-regex33.
24984 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24986 * manual/macros.texi: New file.
24987 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24988 * manual/libc.texinfo: Include macros.texi.
24989 * manual/creatute.texi: Likewise.
24990 * manual/install.texi: Likewise.
24991 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24992 @glibcadj{} in references to the GNU C Library.
24993 * manual/charset.texi: Likewise.
24994 * manual/conf.texi: Likewise.
24995 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24996 when not using those macros.
24997 * manual/creature.texi: Likewise.
24998 * manual/crypt.texi: Likewise.
24999 * manual/errno.texi: Likewise.
25000 * manual/filesys.texi: Likewise.
25001 * manual/header.texi: Likewise.
25002 * manual/install.texi: Likewise.
25003 * manual/intro.texi: Likewise.
25004 * manual/io.texi: Likewise.
25005 * manual/job.texi: Likewise.
25006 * manual/lang.texi: Likewise.
25007 * manual/libc.texiinfo: Likewise.
25008 * manual/llio.texi: Likewise.
25009 * manual/locale.texi: Likewise.
25010 * manual/maint.texi: Likewise.
25011 * manual/math.texi: Likewise.
25012 * manual/memory.texi: Likewise.
25013 * manual/message.texi: Likewise.
25014 * manual/nss.texi: Likewise.
25015 * manual/pattern.texi: Likewise.
25016 * manual/process.texi: Likewise.
25017 * manual/resource.texi: Likewise.
25018 * manual/search.texi: Likewise.
25019 * manual/setjmp.texi: Likewise.
25020 * manual/signal.texi: Likewise.
25021 * manual/socket.texi: Likewise.
25022 * manual/startup.texi: Likewise.
25023 * manual/stdio.texi: Likewise.
25024 * manual/string.texi: Likewise.
25025 * manual/sysinfo.texi: Likewise.
25026 * manual/syslog.texi: Likewise.
25027 * manual/terminal.texi: Likewise.
25028 * manual/time.texi: Likewise.
25029 * manual/users.texi: Likewise.
25030 * INSTALL: Regenerated.
25031 * NOTES: Regenerated.
25032 * sysdeps/gnu/errlist.c: Regenerated.
25034 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25036 * include/dirent.h: Include <dirstream.h> before
25039 2012-02-28 David S. Miller <davem@davemloft.net>
25041 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25042 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25043 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25044 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25046 2012-02-27 David S. Miller <davem@davemloft.net>
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25050 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25051 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25054 frame pointer instead of stack pointer relative arg slot.
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25059 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25062 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25064 2012-02-27 David S. Miller <davem@davemloft.net>
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25072 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25073 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25075 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25077 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25078 later. Allow versions 5-9.
25079 * configure: Regenerated.
25080 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25081 required minimum version and 4.6 as recommended version. Do not
25082 mention bugs in GCC 2.7 and 2.8.
25083 * INSTALL: Regenerated.
25085 2012-02-27 David S. Miller <davem@davemloft.net>
25087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25091 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25092 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25093 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25094 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25096 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25097 manipulate bits before adding and subtracting TWO112[sx].
25098 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25100 2012-02-27 Roland McGrath <roland@hack.frob.com>
25103 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25104 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25105 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25106 being in POSIX, because they are in 1003.1-2008.
25108 * rt/tst-aio.c: Include <fcntl.h>.
25109 * rt/tst-aio7.c: Likewise.
25110 * rt/tst-aio64.c: Likewise.
25112 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25114 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25116 * manual/install.texi (--with-headers): Describe headers as
25117 interface headers, not private headers.
25118 (Specific advice for GNU/Linux systems): Describe use of headers
25119 from "make headers_install", not private headers from older
25121 * INSTALL: Regenerated.
25122 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25124 * sysdeps/unix/sysv/linux/configure: Regenerated.
25126 * manual/llio.texi (fclean): Remove documentation.
25128 * manual/Makefile (libc-texi-generated): New variable. Include
25130 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25131 $(libc-texi-generated), not duplicated list of files.
25132 (version.texi, stamp-version): New rules.
25133 (realclean): Remove $(libc-texi-generated), not individual files
25134 from that list. Do not remove dir-add.texinfo.
25135 * manual/libc.texinfo: Comment out uses of edition numbers and
25136 references to printed manual. Remove last-updated dates.
25137 (EDITION): Comment out.
25139 (VERSION, UPDATED): Remove.
25140 (version.texi): Include.
25142 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25144 * sysdeps/posix/spawni.c: Include <signal.h>.
25145 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25146 * sysdeps/pthread/aio_fsync.c: Likewise.
25148 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25150 * conform/Makefile (tests): Run only when not cross-compiling and
25151 when fast-check is not defined.
25153 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25154 * conform/data/limits.h-data: Fixes for POSIX2008.
25155 * conform/run-conformtest.sh: Run all tests.
25156 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25158 * include/bits/dlfcn.h: Likewise.
25159 * include/langinfo.h: Likewise.
25160 * include/monetary.h: Likewise.
25161 * include/sys/poll.h: Likewise.
25163 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25165 * posix/spawn.h: Define __need_sigset_t.
25166 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25167 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25168 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25169 to get sigevent_t only.
25170 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25171 only for __USE_GNU.
25172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25173 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25174 process_vm_writev only for __USE_GNU.
25175 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25177 * conform/Makefile: For now ignore errors from run-conformtest.
25178 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25179 POSIX to avoid namespace pollution. Don't prepend headers.
25180 * conform/data/aio.h-data: Fixes for POSIX testing.
25181 * conform/data/fcntl.h-data: Likewise.
25182 * conform/data/glob.h-data: Likewise.
25183 * conform/data/grp.h-data: Likewise.
25184 * conform/data/pthread.h-data: Likewise.
25185 * conform/data/pwd.h-data: Likewise.
25186 * conform/data/signal.h-data: Likewise.
25187 * conform/data/spawn.h-data: Likewise.
25188 * conform/data/stdio.h-data: Likewise.
25189 * conform/data/stdlib.h-data: Likewise.
25190 * conform/data/stropts.h-data: Likewise.
25191 * conform/data/sys/mman.h-data: Likewise.
25192 * conform/data/sys/stat.h-data: Likewise.
25193 * conform/data/sys/types.h-data: Likewise.
25194 * conform/data/sys/wait.h-data: Likewise.
25195 * conform/data/time.h-data: Likewise.
25196 * conform/data/unistd.h-data: Likewise.
25197 * conform/data/utime.h-data: Likewise.
25199 * io/sys/stat.h: fchmod was always in POSIX.
25200 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25201 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25202 * rt/aio.h: Define __need_timespec before including <time.h>.
25203 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25204 struct. Add forward declaration of pthread_attr_t and use it in
25206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25208 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25209 always remove CLK_TCK definition.
25211 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25213 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25215 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25217 * conform/run-conformtest.sh: New file.
25218 * conform/Makefile: Run run-conformtest for tests.
25219 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25222 * conform/data/uchar.h-data: New file.
25223 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25224 * conform/data/arpa/inet.h-data: Likewise.
25225 * conform/data/assert.h-data: Likewise.
25226 * conform/data/complex.h-data: Likewise.
25227 * conform/data/cpio.h-data: Likewise.
25228 * conform/data/ctype.h-data: Likewise.
25229 * conform/data/dirent.h-data: Likewise.
25230 * conform/data/dlfcn.h-data: Likewise.
25231 * conform/data/errno.h-data: Likewise.
25232 * conform/data/fcntl.h-data: Likewise.
25233 * conform/data/float.h-data: Likewise.
25234 * conform/data/fmtmsg.h-data: Likewise.
25235 * conform/data/fnmatch.h-data: Likewise.
25236 * conform/data/ftw.h-data: Likewise.
25237 * conform/data/glob.h-data: Likewise.
25238 * conform/data/grp.h-data: Likewise.
25239 * conform/data/iconv.h-data: Likewise.
25240 * conform/data/inttypes.h-data: Likewise.
25241 * conform/data/langinfo.h-data: Likewise.
25242 * conform/data/libgen.h-data: Likewise.
25243 * conform/data/limits.h-data: Likewise.
25244 * conform/data/locale.h-data: Likewise.
25245 * conform/data/math.h-data: Likewise.
25246 * conform/data/monetary.h-data: Likewise.
25247 * conform/data/mqueue.h-data: Likewise.
25248 * conform/data/ndbm.h-data: Likewise.
25249 * conform/data/net/if.h-data: Likewise.
25250 * conform/data/netdb.h-data: Likewise.
25251 * conform/data/netinet/in.h-data: Likewise.
25252 * conform/data/nl_types.h-data: Likewise.
25253 * conform/data/poll.h-data: Likewise.
25254 * conform/data/pthread.h-data: Likewise.
25255 * conform/data/pwd.h-data: Likewise.
25256 * conform/data/regex.h-data: Likewise.
25257 * conform/data/sched.h-data: Likewise.
25258 * conform/data/search.h-data: Likewise.
25259 * conform/data/semaphore.h-data: Likewise.
25260 * conform/data/setjmp.h-data: Likewise.
25261 * conform/data/signal.h-data: Likewise.
25262 * conform/data/spawn.h-data: Likewise.
25263 * conform/data/stdarg.h-data: Likewise.
25264 * conform/data/stdio.h-data: Likewise.
25265 * conform/data/stdlib.h-data: Likewise.
25266 * conform/data/string.h-data: Likewise.
25267 * conform/data/strings.h-data: Likewise.
25268 * conform/data/stropts.h-data: Likewise.
25269 * conform/data/sys/ipc.h-data: Likewise.
25270 * conform/data/sys/mman.h-data: Likewise.
25271 * conform/data/sys/msg.h-data: Likewise.
25272 * conform/data/sys/resource.h-data: Likewise.
25273 * conform/data/sys/select.h-data: Likewise.
25274 * conform/data/sys/sem.h-data: Likewise.
25275 * conform/data/sys/shm.h-data: Likewise.
25276 * conform/data/sys/socket.h-data: Likewise.
25277 * conform/data/sys/stat.h-data: Likewise.
25278 * conform/data/sys/statvfs.h-data: Likewise.
25279 * conform/data/sys/time.h-data: Likewise.
25280 * conform/data/sys/timeb.h-data: Likewise.
25281 * conform/data/sys/times.h-data: Likewise.
25282 * conform/data/sys/types.h-data: Likewise.
25283 * conform/data/sys/uio.h-data: Likewise.
25284 * conform/data/sys/un.h-data: Likewise.
25285 * conform/data/sys/utsname.h-data: Likewise.
25286 * conform/data/sys/wait.h-data: Likewise.
25287 * conform/data/syslog.h-data: Likewise.
25288 * conform/data/tar.h-data: Likewise.
25289 * conform/data/termios.h-data: Likewise.
25290 * conform/data/utime.h-data: Likewise.
25291 * conform/data/utmpx.h-data: Likewise.
25292 * conform/data/varargs.h-data: Likewise.
25293 * conform/data/wchar.h-data: Likewise.
25294 * conform/data/wctype.h-data: Likewise.
25295 * conform/data/wordexp.h-data: Likewise.
25297 * include/stropts.h: New file.
25298 * include/uchar.h: New file.
25299 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25300 * include/assert.h: Likewise.
25301 * include/ctype.h: Likewise.
25302 * include/dirent.h: Likewise.
25303 * include/dlfcn.h: Likewise.
25304 * include/fcntl.h: Likewise.
25305 * include/fnmatch.h: Likewise.
25306 * include/glob.h: Likewise.
25307 * include/grp.h: Likewise.
25308 * include/libio.h: Likewise.
25309 * include/locale.h: Likewise.
25310 * include/math.h: Likewise.
25311 * include/net/if.h: Likewise.
25312 * include/netdb.h: Likewise.
25313 * include/netinet/in.h: Likewise.
25314 * include/pthread.h: Likewise.
25315 * include/pwd.h: Likewise.
25316 * include/regex.h: Likewise.
25317 * include/sched.h: Likewise.
25318 * include/search.h: Likewise.
25319 * include/setjmp.h: Likewise.
25320 * include/signal.h: Likewise.
25321 * include/stdio.h: Likewise.
25322 * include/stdlib.h: Likewise.
25323 * include/string.h: Likewise.
25324 * include/sys/cdefs.h: Likewise.
25325 * include/sys/mman.h: Likewise.
25326 * include/sys/msg.h: Likewise.
25327 * include/sys/resource.h: Likewise.
25328 * include/sys/select.h: Likewise.
25329 * include/sys/socket.h: Likewise.
25330 * include/sys/stat.h: Likewise.
25331 * include/sys/statvfs.h: Likewise.
25332 * include/sys/time.h: Likewise.
25333 * include/sys/times.h: Likewise.
25334 * include/sys/uio.h: Likewise.
25335 * include/sys/utsname.h: Likewise.
25336 * include/sys/wait.h: Likewise.
25337 * include/termios.h: Likewise.
25338 * include/time.h: Likewise.
25339 * include/ulimit.h: Likewise.
25340 * include/unistd.h: Likewise.
25341 * include/utime.h: Likewise.
25342 * include/wchar.h: Likewise.
25343 * include/wctype.h: Likewise.
25344 * include/wordexp.h: Likewise.
25346 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25348 * time/time.h: TIME_UTC must be a macro.
25349 Make timespec_get available for ISO C11 only as well.
25351 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25353 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25354 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25356 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25358 * configure.in: Use -o not -a in test for unsupported multi-arch.
25360 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25362 * manual/texinfo.tex: Update to version 2012-01-19.16.
25364 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25366 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25368 2012-02-24 Roland McGrath <roland@hack.frob.com>
25371 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25372 * manual/fdl-1.3.texi: New file.
25373 * manual/fdl-1.1.texi: File removed.
25376 * manual/libc.texinfo (FDL_VERSION): New @set.
25377 Use it for mention of FDL in cover text.
25378 (Documentation License): Use it in @include file name.
25380 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25381 Roland McGrath <roland@hack.frob.com>
25384 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25385 not LONG_LONG_MAX and LONG_LONG_MIN.
25386 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25387 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25389 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25391 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25395 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25396 manipulate bits before adding and subtracting TWO23[sx].
25397 * math/libm-test.inc (nearbyint_test): Add more tests.
25399 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25402 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25403 bits before adding and subtracting TWO23[sx].
25404 * math/libm-test.inc (rint_test): Add more tests.
25405 (rint_test_tonearest): Likewise.
25406 (rint_test_towardzero): Likewise.
25407 (rint_test_downward): Likewise.
25408 (rint_test_upward: Likewise.
25410 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25413 * include/stdc-predef.h: New file. Extracted from features.h.
25414 * include/features.h: Include stdc-predef.h.
25415 * Makefile (headers): Add stdc-predef.h.
25416 * CONFORMANCE (Compiler limitations): Update.
25418 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25420 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25422 2012-02-21 David S. Miller <davem@davemloft.net>
25424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25425 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25427 2012-02-20 David S. Miller <davem@davemloft.net>
25429 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25430 using a normal save/restore sequence, rather than allocating a
25431 dummy stack frame just to store a frame pointer and restore.
25432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25434 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25436 * manual/install.texi: Fix stray word in line-wrapped comment.
25438 2012-02-20 David S. Miller <davem@davemloft.net>
25440 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25441 both binutils and gcc support GOTDATA.
25443 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25444 "rd %pc" in the PIC register setup sequences.
25446 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25447 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25448 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25449 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25450 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25452 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25455 (SYSCALL_ERROR_HANDLER): Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25457 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25459 (SYSCALL_ERROR_HANDLER): Likewise.
25461 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25462 (HAVE_GCC_GOTDATA): New.
25463 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25464 relocation support in both binutils and gcc.
25465 * sysdeps/sparc/elf/configure: Regenerate.
25467 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25468 * sysdeps/sparc/sparc32/elf/configure: Delete.
25469 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25470 * sysdeps/sparc/sparc64/elf/configure: Delete.
25471 * sysdeps/sparc/elf/configure.in: New file.
25472 * sysdeps/sparc/elf/configure: Generate.
25474 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25475 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25476 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25477 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25478 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25480 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25482 * manual/install.texi: Do not mention specific glibc version
25484 * manual/libc.texinfo (VERSION, UPDATED): Update.
25485 (@copying): Use @copyright{} and range of years.
25487 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25490 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25491 [crti.S not in sysdirs] (generated): Do not append.
25492 [crti.S not in sysdirs] (omit-deps): Likewise.
25493 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25494 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25495 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25496 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25497 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25499 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25500 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25501 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25502 * csu/defs.awk: Remove file.
25503 * sysdeps/generic/initfini.c: Likewise.
25504 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25506 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25509 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25511 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25512 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25513 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25516 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25518 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25519 (__EPOLL_PACKED): Define to empty if not defined by
25521 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25525 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25527 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25528 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25529 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25532 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25536 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25538 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25541 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25547 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25548 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25550 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25552 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25553 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25555 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25557 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25560 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25562 * math/w_acos.c: Use non-signaling floating-point comparisons.
25563 * math/w_acosf.c: Likewise.
25564 * math/w_acosh.c: Likewise.
25565 * math/w_acoshf.c: Likewise.
25566 * math/w_acoshl.c: Likewise.
25567 * math/w_acosl.c: Likewise.
25568 * math/w_asin.c: Likewise.
25569 * math/w_asinf.c: Likewise.
25570 * math/w_asinl.c: Likewise.
25571 * math/w_atanh.c: Likewise.
25572 * math/w_atanhf.c: Likewise.
25573 * math/w_atanhl.c: Likewise.
25574 * math/w_exp2.c: Likewise.
25575 * math/w_exp2f.c: Likewise.
25576 * math/w_exp2l.c: Likewise.
25577 * math/w_j0.c: Likewise.
25578 * math/w_j0f.c: Likewise.
25579 * math/w_j0l.c: Likewise.
25580 * math/w_j1.c: Likewise.
25581 * math/w_j1f.c: Likewise.
25582 * math/w_j1l.c: Likewise.
25583 * math/w_jn.c: Likewise.
25584 * math/w_jnf.c: Likewise.
25585 * math/w_log.c: Likewise.
25586 * math/w_log10.c: Likewise.
25587 * math/w_log10f.c: Likewise.
25588 * math/w_log10l.c: Likewise.
25589 * math/w_log2.c: Likewise.
25590 * math/w_log2f.c: Likewise.
25591 * math/w_log2l.c: Likewise.
25592 * math/w_logf.c: Likewise.
25593 * math/w_logl.c: Likewise.
25594 * math/w_sqrt.c: Likewise.
25595 * math/w_sqrtf.c: Likewise.
25596 * math/w_sqrtl.c: Likewise.
25597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25598 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25603 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25606 * manual/string.texi (strnlen): Use correct parameter name in
25607 equivalent expression.
25609 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25612 * manual/users.texi (seteuid): Consistently use neweuid for
25615 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25618 * manual/nss.texi (Services in the NSS configuration): Correct
25619 list of services in example configuration file.
25621 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25624 * manual/arith.texi: Remove statements about negative zero
25625 behaving identically to zero.
25627 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25630 * manual/install.texi: Do not document upgrading from libc5.
25632 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25635 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25637 2012-02-18 David S. Miller <davem@davemloft.net>
25639 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25640 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25641 %o7 across the call.
25642 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25645 SETUP_PIC_REG_LEAF.
25646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25647 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25648 * sysdeps/sparc/crtn.S: Likewise.
25650 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25652 * aout/Makefile: Remove.
25654 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25657 * manual/examples/argp-ex1.c (main): Format definition in GNU
25659 * manual/examples/argp-ex2.c (main): Likewise.
25660 * manual/examples/argp-ex3.c (main): Likewise.
25661 * manual/examples/argp-ex4.c (main): Likewise.
25662 * manual/examples/longopt.c (main): Use new-style prototype
25664 * manual/examples/strncat.c (main): Specify return type and use
25665 (void) for arguments.
25666 * manual/examples/subopt.c (main): Use char **argv argument.
25668 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25671 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25674 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25677 * manual/string.texi (strchr): Change when strchrnul is
25680 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25683 * manual/locale.texi (setlocale): Document LOCPATH.
25685 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25688 * manual/process.texi (execle): Move @dots{} before last argument.
25690 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25693 * manual/charset.texi (Generic Charset Conversion): Fix typo
25694 (LC_TYPE -> LC_CTYPE).
25696 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25699 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25700 (scalbnf): Likewise.
25701 (scalbnl): Likewise.
25702 (scalbln): Likewise.
25703 (scalblnf): Likewise.
25704 (scalblnl): Likewise.
25705 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25706 (vwarnx): Likewise.
25709 * manual/filesys.texi (telldir): Use braces around return type.
25710 * manual/llio.texi (mmap): Add space after comma.
25711 (mmap64): Likewise.
25712 * manual/math.texi (jn): Use @var{} on parameter names.
25718 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25720 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25722 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25723 (sched_get_priority_max): Likewise.
25724 * manual/signal.texi (sigvec): Add space after comma.
25725 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25727 (if_indextoname): Likewise.
25728 (if_freenameindex): Likewise.
25729 (sendto): Use ',' instead of '.' in prototype.
25730 * manual/startup.texi (syscall): Use @dots{} instead of literal
25732 * manual/stdio.texi (__fpending): Separate initial words of
25733 paragraph from @deftypefun line.
25734 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25736 (vsyslog): Use @var{} on parameter names.
25737 * manual/terminal.texi (stty): Use @var{} on parameter names.
25738 * manual/users.texi (getutmp): Use @var{} on parameter names.
25739 (getutmpx): Likewise.
25741 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25744 * manual/stdio.texi (fopen): Fix typos in description of
25747 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25750 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25751 get clock_id definition.
25753 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25756 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25757 (madvise): Cast every argument to void on its own.
25759 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25762 * manual/startup.texi (Exit Status): Fix typo.
25764 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25767 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25768 * manual/examples/argp-ex2.c: Likewise.
25769 * manual/examples/argp-ex3.c: Likewise.
25771 2012-02-16 Richard Henderson <rth@redhat.com>
25773 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25774 * sysdeps/s390/s390-32/initfini.c: Remove.
25775 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25776 * sysdeps/s390/s390-64/initfini.c: Remove.
25778 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25780 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25781 compiler output for sysdeps/generic/initfini.c.
25782 * sysdeps/sh/elf/initfini.c: Remove file.
25784 2012-02-16 David S. Miller <davem@davemloft.net>
25787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25789 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25790 * sysdeps/sparc/crti.S: New file.
25791 * sysdeps/sparc/crtn.S: New file.
25792 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25793 * sysdeps/sparc/sparc64/Makefile: Likewise.
25795 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25798 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25800 2012-02-15 Roland McGrath <roland@hack.frob.com>
25803 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25805 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25806 (write, read, close): Likewise.
25807 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25809 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25811 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25812 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25813 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25814 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25816 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25820 2012-02-14 Marek Polacek <polacek@redhat.com>
25822 * sysdeps/x86_64/crti.S: New file.
25823 * sysdeps/x86_64/crtn.S: New file.
25824 * sysdeps/x86_64/elf/initfini.c: Remove file.
25826 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25828 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25829 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25830 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25831 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25833 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25837 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25839 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25840 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25841 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25842 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25844 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25848 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25850 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25851 __feraiseexcept instead of feraiseexcept.
25853 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25854 nanosleep invocations.
25855 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25856 strings, and add error checking for a nanosleep invocations.
25858 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25860 Replace FSF snail mail address with URLs, as per GNU coding standards.
25861 Most of the snail mail addresses were wrong anyway, and omitting
25862 them makes the source code easier to maintain. Almost all of the
25863 changes are to license notices and to locale LC_IDENTIFICATION
25864 addresses, except for this one:
25865 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25866 not its snail mail address.
25868 2012-02-09 Richard Henderson <rth@twiddle.net>
25870 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25871 of kernel-features.h.
25873 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25875 2012-02-08 Marek Polacek <polacek@redhat.com>
25877 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25878 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25879 * sysdeps/gnu/_G_config.h: Likewise.
25880 * sysdeps/generic/_G_config.h: Likewise.
25882 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25884 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25888 * sysdeps/powerpc/powerpc32/crti.S: New file.
25889 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25890 * sysdeps/powerpc/powerpc64/crti.S: New file.
25891 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25893 * Makeconfig (have-initfini): Don't set.
25894 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25895 * configure.in (nopic_initfini): Don't substitute.
25896 * config.h.in (HAVE_INITFINI): Don't #undef.
25897 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25898 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25900 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25902 Support crti.S and crtn.S provided directly by architectures.
25903 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25904 [crti.S in sysdirs] (omit-deps): Likewise.
25905 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25906 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25907 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25908 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25909 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25910 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25911 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25912 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25913 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25914 compiler output for sysdeps/generic/initfini.c.
25915 * sysdeps/i386/elf/Makefile: Remove file.
25916 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25918 2012-02-07 Marek Polacek <polacek@redhat.com>
25920 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25921 * sysdeps/gnu/_G_config.h: Likewise.
25922 * sysdeps/mach/hurd/_G_config.h: Likewise.
25924 2012-02-07 Marek Polacek <polacek@redhat.com>
25926 * math/Makefile (tests): Add tst-CMPLX2.
25927 * math/tst-CMPLX2.c: New file.
25929 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25933 * math/libm-test.inc (jn_test): Add missing L suffix.
25935 2012-02-06 Marek Polacek <polacek@redhat.com>
25937 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25938 * sysdeps/i386/fpu/e_powf.S: Likewise.
25939 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25940 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25942 * sysdeps/i386/fpu/e_pow.S: Likewise.
25943 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25945 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25946 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25947 * sysdeps/i386/fpu/e_log2.S: Likewise.
25948 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25949 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25950 * sysdeps/i386/fpu/e_powl.S: Likewise.
25951 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25952 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25953 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25954 * sysdeps/i386/fpu/e_logl.S: Likewise.
25955 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25956 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25957 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25958 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25959 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25960 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25961 * sysdeps/i386/fpu/e_log.S: Likewise.
25962 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25963 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25964 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25965 * sysdeps/i386/fpu/e_logf.S: Likewise.
25966 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25968 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25969 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25970 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25971 * sysdeps/i386/fpu/e_log10.S: Likewise.
25972 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25973 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25974 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25975 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25976 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25977 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25978 * sysdeps/i386/asm-syntax.h: Likewise.
25979 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25980 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25981 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25982 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25983 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25984 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25985 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25986 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25987 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25988 * sysdeps/powerpc/sysdep.h: Likewise.
25989 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25990 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25992 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25995 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25997 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25999 * sysdeps/i386/sysdep.h: Include <features.h>.
26000 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26003 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26005 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26007 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26010 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26012 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26013 (SETUP_PIC_REG): Use GET_PC_THUNK.
26014 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26017 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26019 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26020 for non-PIC compilation.
26021 (SETUP_PIC_REG): Add .p2align directive.
26022 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26023 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26024 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26025 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26026 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26027 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26028 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26029 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26030 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26031 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26032 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26033 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26034 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26035 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26036 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26039 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26045 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26049 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26050 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26051 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26052 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26053 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26054 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26055 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26056 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26057 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26058 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26059 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26060 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26061 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26062 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26064 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26066 * math/tst-CMPLX.c: Include <stdio.h>.
26068 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26070 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26072 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26073 * sysdeps/sparc/bits/mathdef.h: Likewise.
26075 2012-01-31 Marek Polacek <polacek@redhat.com>
26077 * libio/libio.h: Don't define _PARAMS.
26078 * locale/programs/config.h: Don't define PARAMS.
26079 * stdlib/strtol_l.c: Likewise.
26080 (__strtol_l): Remove PARAMS from the prototype.
26082 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26084 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26085 names. Just use the correct names. Remove unnecessary wrapper
26087 * malloc/arena.c: Likewise.
26088 * malloc/hooks.c: Likewise.
26090 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26091 ARENA_TEST says not to. Simplify test for creation of a new arena.
26092 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26094 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26096 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26098 (update_get_addr): New function.
26099 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26100 GET_ADDR_MODULE parameter.
26102 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26104 * crypt/cert.c: Remove __STDC__ conditionals.
26105 * crypt/crypt-entry.c: Likewise.
26106 * crypt/crypt_util.c: Likewise.
26107 * libio/filedoalloc.c: Likewise.
26108 * libio/fileops.c: Likewise.
26109 * libio/genops.c: Likewise.
26110 * libio/iofclose.c: Likewise.
26111 * libio/iofdopen.c: Likewise.
26112 * libio/iofopen.c: Likewise.
26113 * libio/iofopen64.c: Likewise.
26114 * libio/iogetdelim.c: Likewise.
26115 * libio/iopopen.c: Likewise.
26116 * libio/obprintf.c: Likewise.
26117 * libio/oldfileops.c: Likewise.
26118 * libio/oldiofclose.c: Likewise.
26119 * libio/oldiofdopen.c: Likewise.
26120 * libio/oldiofopen.c: Likewise.
26121 * libio/oldiopopen.c: Likewise.
26122 * libio/wfiledoalloc.c: Likewise.
26123 * libio/wgenops.c: Likewise.
26124 * locale/programs/xmalloc.c: Likewise.
26125 * misc/syslog.c: Likewise.
26126 * stdio-common/xbug.c: Likewise.
26127 * string/memchr.c: Likewise.
26128 * string/memcmp.c: Likewise.
26129 * string/memrchr.c: Likewise.
26130 * string/rawmemchr.c: Likewise.
26131 * sysdeps/posix/getcwd.c: Likewise.
26132 * time/strftime_l.c: Likewise.
26134 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26136 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26137 * config.make.in (config-cflags-sse2avx): Define.
26138 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26141 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26143 * scripts/config.guess: Update from upstream config git repository.
26144 * scripts/config.sub: Likewise.
26146 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26148 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26150 (R_TILEPRO_*, R_TILEGX_*): New macros.
26152 * scripts/firstversions.awk: Fix bug in version range handling.
26154 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26156 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26158 * include/sys/epoll.h: New file.
26159 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26162 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26164 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26165 Avoid unnecessary __WORDSIZE == 64 test.
26166 (fmaxf): Use VEX format if possible.
26171 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26172 * math/math_private.h: Remove libc_fegetround* and
26174 * sysdeps/i386/configure.in: Check for -msse2avx.
26175 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26176 also if SSE2AVX is defined.
26177 Remove libc_fegetround* and libc_fesetround*.
26178 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26179 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26180 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26183 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26188 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26190 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26192 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26194 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26196 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26199 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26201 * Makeconfig (libm): Define.
26202 * elf/Makefile: Add rules to build and run tst-relsort1.
26203 * elf/tst-relsort1.c: New file.
26204 * elf/tst-relsort1mod1.c: New file.
26205 * elf/tst-relsort1mod2.c: New file.
26207 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26209 * math/s_ldexp.c: Remove __STDC__ conditionals.
26210 * math/s_ldexpf.c: Likewise.
26211 * math/s_ldexpl.c: Likewise.
26212 * math/s_nextafter.c: Likewise.
26213 * math/s_nexttowardf.c: Likewise.
26214 * math/s_significand.c: Likewise.
26215 * math/s_significandf.c: Likewise.
26216 * math/s_significandl.c: Likewise.
26217 * math/w_jnl.c: Likewise.
26218 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26219 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26220 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26221 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26222 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26237 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26238 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26239 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26240 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26242 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26243 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26244 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26246 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26247 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26248 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26249 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26251 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26252 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26253 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26254 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26255 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26256 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26257 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26258 * sysdeps/ieee754/k_standard.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26338 * sysdeps/ieee754/s_matherr.c: Likewise.
26339 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26340 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26344 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26346 * crypt/md5.h: Remove __STDC__ conditionals.
26347 * libio/libioP.h: Likewise.
26348 * locale/programs/config.h: Likewise.
26349 * sysdeps/generic/sysdep.h: Likewise.
26350 * sysdeps/i386/asm-syntax.h: Likewise.
26351 * sysdeps/s390/asm-syntax.h: Likewise.
26352 * sysdeps/unix/sysdep.h: Likewise.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26356 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26358 * libio/libio.h: Remove __STDC__ conditionals.
26359 * malloc/obstack.h: Likewise.
26360 * math/complex.h: Likewise.
26361 * math/math.h: Likewise.
26362 * sysdeps/generic/_G_config.h: Likewise.
26363 * sysdeps/gnu/_G_config.h: Likewise.
26364 * sysdeps/mach/hurd/_G_config.h: Likewise.
26365 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26366 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26367 * sysdeps/sparc/bits/mathdef.h: Likewise.
26369 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26372 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26373 Clean up HAS_* macros.
26374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26375 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26385 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26387 * elf/tst-unique3.cc (gets): Remove declaration.
26388 * elf/tst-unique3lib.cc (gets): Likewise.
26389 * elf/tst-unique3lib2.cc (gets): Likewise.
26390 * elf/tst-unique4.cc (gets): Likewise.
26392 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26394 * include/stdio.h: Add C++ protection. Add gets declarations and
26396 * debug/tst-chk1.c: Don't declare gets here.
26397 * stdio-common/tst-gets.c: Likewise.
26399 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26401 * posix/glob: Remove directory.
26403 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26405 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26407 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26409 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26410 of the non-standard EPFNOSUPPORT.
26412 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26414 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26415 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26416 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26418 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26420 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26422 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26424 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26426 * nscd/grpcache.c (cache_addgr): Likewise.
26427 * nscd/hstcache.c (cache_addhst): Likewise.
26428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26429 * nscd/pwdcache.c (cache_addpw): Likewise.
26430 * nscd/servicescache.c (cache_addserv): Likewise.
26432 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26434 * malloc/malloc.c: Various cleanups.
26435 * malloc/hooks.c: Likewise.
26437 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26438 * stdlib/bug-fmtmsg1.c: New file.
26440 * stdlib/fmtmsg.c (init): Add missing unlock.
26441 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26443 2012-01-12 Marek Polacek <polacek@redhat.com>
26445 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26448 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26450 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26451 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26452 macro to ensure uniqueness of label name.
26453 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26454 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26456 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26458 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26460 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26461 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26462 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26465 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26467 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26469 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26470 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26471 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26473 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26475 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26476 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26477 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26480 * math/bits/math-finite.h: Add ldexp support.
26482 2012-01-10 Marek Polacek <polacek@redhat.com>
26484 * locale/programs/localedef.h (show_archive_content): Add noreturn
26487 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26489 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26491 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26493 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26495 * io/Makefile (headers): Add bits/poll2.h.
26497 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26500 typo #include statement.
26502 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26504 * include/sys/cdefs.h: Define __attribute_alloc_size.
26505 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26506 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26507 * elf/pldd.c: Likewise.
26508 * iconv/iconv_charmap.c: Likewise.
26509 * iconv/iconvconfig.c: Likewise.
26510 * iconv/strtab.c: Likewise.
26511 * locale/programs/locale.c: Likewise.
26512 * locale/programs/localedef.h: Likewise.
26513 * locale/programs/simple-hash.c: Likewise.
26514 * nscd/nscd.h: Likewise.
26515 * nss/makedb.c: Likewise.
26516 * sysdeps/generic/ldconfig.h: Likewise.
26517 * locale/programs/localedef.c: Remove xmalloc prototype.
26518 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26520 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26522 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26525 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26527 * math/Makefile (tests): Add tst-CMPLX.
26528 * math/tst-CMPLX.c: New file.
26530 * math/complex.h (CMPLXL): Fix typo.
26532 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26533 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26535 * debug/tst-chk1.c: Add poll and ppoll tests.
26536 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26537 * include/sys/poll.h: Add hidden proto for ppoll.
26538 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26539 * sysdeps/mach/hurd/ppoll.c: Likewise.
26540 * io/ppoll.c: Likewise.
26541 * debug/poll_chk.c: New file.
26542 * debug/ppoll_chk.c: New file.
26543 * include/bits/poll2.h: New file.
26544 * io/bits/poll2.h: New file.
26547 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26549 * configure.in: static is always set to yes. Remove.
26550 * config.make.in: Don't set build-static.
26551 * Makeconfig: Remove use of build-static.
26552 * dlfcn/Makefile: Likewise.
26553 * elf/Makefile: Likewise.
26554 * math/Makefile: Likewise.
26555 * misc/Makefile: Likewise.
26556 * nptl/Makefile: Likewise.
26557 * sysdeps/mach/hurd/Makefile: Likewise.
26559 * configure.in: PWD_P is not used anymore.
26560 * config.make.in: Remove PWD_P entry.
26562 * configure.in: Remove last remnants of RANLIB.
26563 No need to check for signed size_t anymore.
26564 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26566 Remove __builtin_expect test because we require at least gcc 3.4.
26567 * aclocal.m4: Likewise.
26569 * wcsmbs/mbrtoc16.c: Implement using towc function.
26570 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26571 * wcsmbs/wcsmbsload.c: Likewise.
26572 * iconv/gconv_simple.c: Likewise.
26573 * iconv/gconv_int.h: Likewise.
26574 * iconv/gconv_builtin.h: Likewise.
26575 * iconv/iconv_prog.c: Remove CHAR16 handling.
26577 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26579 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26581 * configure.in: Remove --with-elf and --enable-bounded options.
26582 Dont set base_machine for ia64. More non-ELF conditions removed.
26583 Remove testing and setting of leading underscore information.
26584 * config.make.in (build-bounded): Set to no.
26585 * config.h.in: Remove NO_UNDERSCORES entry.
26586 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26588 * csu/start.c: Remove !NO_UNDERSCORE code.
26589 * locale/localeinfo.h: Likewise.
26590 * sysdeps/generic/machine-gmon.h: Likewise.
26591 * sysdeps/generic/sysdep.h: Likewise.
26592 * sysdeps/i386/sysdep.h: Likewise.
26593 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26594 * sysdeps/mach/sysdep.h: Likewise.
26595 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26597 * sysdeps/sh/sysdep.h: Likewise.
26598 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26599 * sysdeps/unix/i386/sysdep.S: Likewise.
26600 * sysdeps/unix/sparc/start.c: Likewise.
26601 * sysdeps/unix/sparc/sysdep.S: Likewise.
26602 * sysdeps/unix/sparc/sysdep.h: Likewise.
26603 * sysdeps/unix/start.c: Likewise.
26604 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26605 * sysdeps/x86_64/sysdep.h: Likewise.
26607 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26610 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26612 * argp/argp-fmtstream.h: Use const instead __const.
26613 * argp/argp.h: Likewise.
26614 * assert/assert.h: Likewise.
26615 * bits/fenv.h: Likewise.
26616 * bits/sched.h: Likewise.
26617 * bits/sigset.h: Likewise.
26618 * bits/sigthread.h: Likewise.
26619 * catgets/nl_types.h: Likewise.
26620 * conform/data/pthread.h-data: Likewise.
26621 * crypt/crypt-private.h: Likewise.
26622 * crypt/crypt.h: Likewise.
26623 * crypt/crypt_util.c: Likewise.
26624 * ctype/ctype.h: Likewise.
26625 * debug/execinfo.h: Likewise.
26626 * debug/mbsnrtowcs_chk.c: Likewise.
26627 * debug/mbsrtowcs_chk.c: Likewise.
26628 * debug/wcsnrtombs_chk.c: Likewise.
26629 * debug/wcsrtombs_chk.c: Likewise.
26630 * debug/wcstombs_chk.c: Likewise.
26631 * dirent/dirent.h: Likewise.
26632 * dlfcn/dlfcn.h: Likewise.
26633 * elf/neededtest4.c: Likewise.
26634 * grp/grp.h: Likewise.
26635 * gshadow/gshadow.h: Likewise.
26636 * iconv/gconv.h: Likewise.
26637 * iconv/gconv_int.h: Likewise.
26638 * iconv/gconv_simple.c: Likewise.
26639 * iconv/iconv.h: Likewise.
26640 * iconv/loop.c: Likewise.
26641 * iconv/skeleton.c: Likewise.
26642 * include/aio.h: Likewise.
26643 * include/aliases.h: Likewise.
26644 * include/argz.h: Likewise.
26645 * include/arpa/inet.h: Likewise.
26646 * include/assert.h: Likewise.
26647 * include/dirent.h: Likewise.
26648 * include/dlfcn.h: Likewise.
26649 * include/execinfo.h: Likewise.
26650 * include/fcntl.h: Likewise.
26651 * include/fenv.h: Likewise.
26652 * include/glob.h: Likewise.
26653 * include/grp.h: Likewise.
26654 * include/libintl.h: Likewise.
26655 * include/mntent.h: Likewise.
26656 * include/netdb.h: Likewise.
26657 * include/pwd.h: Likewise.
26658 * include/rpc/netdb.h: Likewise.
26659 * include/sched.h: Likewise.
26660 * include/search.h: Likewise.
26661 * include/shadow.h: Likewise.
26662 * include/signal.h: Likewise.
26663 * include/stdio.h: Likewise.
26664 * include/stdlib.h: Likewise.
26665 * include/string.h: Likewise.
26666 * include/sys/socket.h: Likewise.
26667 * include/sys/stat.h: Likewise.
26668 * include/sys/statfs.h: Likewise.
26669 * include/sys/statvfs.h: Likewise.
26670 * include/sys/syslog.h: Likewise.
26671 * include/sys/time.h: Likewise.
26672 * include/sys/uio.h: Likewise.
26673 * include/time.h: Likewise.
26674 * include/unistd.h: Likewise.
26675 * include/utmp.h: Likewise.
26676 * include/wchar.h: Likewise.
26677 * include/wctype.h: Likewise.
26678 * inet/aliases.h: Likewise.
26679 * inet/arpa/inet.h: Likewise.
26680 * inet/netinet/ether.h: Likewise.
26681 * inet/netinet/in.h: Likewise.
26682 * intl/libintl.h: Likewise.
26683 * io/bits/fcntl2.h: Likewise.
26684 * io/fcntl.h: Likewise.
26685 * io/ftw.h: Likewise.
26686 * io/sys/poll.h: Likewise.
26687 * io/sys/stat.h: Likewise.
26688 * io/sys/statfs.h: Likewise.
26689 * io/sys/statvfs.h: Likewise.
26690 * io/utime.h: Likewise.
26691 * libio/bits/stdio.h: Likewise.
26692 * libio/bits/stdio2.h: Likewise.
26693 * libio/libio.h: Likewise.
26694 * libio/libioP.h: Likewise.
26695 * libio/stdio.h: Likewise.
26696 * locale/lc-ctype.c: Likewise.
26697 * locale/locale.h: Likewise.
26698 * login/utmp.h: Likewise.
26699 * malloc/arena.c: Likewise.
26700 * malloc/malloc.c: Likewise.
26701 * malloc/malloc.h: Likewise.
26702 * malloc/mcheck.c: Likewise.
26703 * malloc/mtrace.c: Likewise.
26704 * math/bits/mathcalls.h: Likewise.
26705 * math/fenv.h: Likewise.
26706 * math/math_private.h: Likewise.
26707 * misc/bits/error.h: Likewise.
26708 * misc/bits/syslog.h: Likewise.
26709 * misc/err.h: Likewise.
26710 * misc/error.h: Likewise.
26711 * misc/fstab.h: Likewise.
26712 * misc/mntent.h: Likewise.
26713 * misc/regexp.h: Likewise.
26714 * misc/search.h: Likewise.
26715 * misc/sgtty.h: Likewise.
26716 * misc/sys/mman.h: Likewise.
26717 * misc/sys/syslog.h: Likewise.
26718 * misc/sys/uio.h: Likewise.
26719 * misc/sys/xattr.h: Likewise.
26720 * misc/ttyent.h: Likewise.
26721 * nis/rpcsvc/ypclnt.h: Likewise.
26722 * nss/nss.h: Likewise.
26723 * posix/bits/unistd.h: Likewise.
26724 * posix/fnmatch.h: Likewise.
26725 * posix/glob.h: Likewise.
26726 * posix/sched.h: Likewise.
26727 * posix/spawn.h: Likewise.
26728 * posix/sys/wait.h: Likewise.
26729 * posix/unistd.h: Likewise.
26730 * posix/wordexp.h: Likewise.
26731 * pwd/pwd.h: Likewise.
26732 * resolv/netdb.h: Likewise.
26733 * resource/sys/resource.h: Likewise.
26734 * rt/aio.h: Likewise.
26735 * rt/bits/mqueue2.h: Likewise.
26736 * rt/mqueue.h: Likewise.
26737 * shadow/shadow.h: Likewise.
26738 * signal/signal.h: Likewise.
26739 * socket/send.c: Likewise.
26740 * socket/sendto.c: Likewise.
26741 * socket/sys/socket.h: Likewise.
26742 * stdio-common/printf.h: Likewise.
26743 * stdlib/bits/stdlib.h: Likewise.
26744 * stdlib/fmtmsg.h: Likewise.
26745 * stdlib/monetary.h: Likewise.
26746 * stdlib/stdlib.h: Likewise.
26747 * stdlib/ucontext.h: Likewise.
26748 * streams/stropts.h: Likewise.
26749 * string/argz.h: Likewise.
26750 * string/bits/string2.h: Likewise.
26751 * string/string.h: Likewise.
26752 * string/strings.h: Likewise.
26753 * sunrpc/rpc/auth.h: Likewise.
26754 * sunrpc/rpc/auth_des.h: Likewise.
26755 * sunrpc/rpc/clnt.h: Likewise.
26756 * sunrpc/rpc/netdb.h: Likewise.
26757 * sunrpc/rpc/pmap_clnt.h: Likewise.
26758 * sunrpc/rpc/xdr.h: Likewise.
26759 * sysdeps/generic/inttypes.h: Likewise.
26760 * sysdeps/generic/net/if.h: Likewise.
26761 * sysdeps/generic/sys/swap.h: Likewise.
26762 * sysdeps/gnu/net/if.h: Likewise.
26763 * sysdeps/gnu/utmpx.h: Likewise.
26764 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26765 * sysdeps/i386/i486/bits/string.h: Likewise.
26766 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26767 * sysdeps/s390/bits/string.h: Likewise.
26768 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26769 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26770 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26771 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26772 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26773 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26774 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26775 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26776 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26777 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26778 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26779 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26780 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26781 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26782 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26783 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26784 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26788 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26789 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26790 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26791 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26792 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26793 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26794 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26796 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26797 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26798 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26799 * sysvipc/sys/ipc.h: Likewise.
26800 * sysvipc/sys/msg.h: Likewise.
26801 * sysvipc/sys/sem.h: Likewise.
26802 * sysvipc/sys/shm.h: Likewise.
26803 * termios/termios.h: Likewise.
26804 * time/sys/time.h: Likewise.
26805 * time/time.h: Likewise.
26806 * wcsmbs/bits/wchar2.h: Likewise.
26807 * wcsmbs/uchar.h: Likewise.
26808 * wcsmbs/wchar.h: Likewise.
26809 * wctype/wctype.h: Likewise.
26812 * Makeconfig: Remove all but ELF support including AIX support.
26813 * Makerules: Likewise.
26814 * config.h.in: Likewise.
26815 * config.make.in: Likewise.
26816 * configure: Likewise.
26817 * configure.in: Likewise.
26818 * csu/Makefile: Likewise.
26819 * csu/version.c: Likewise.
26820 * debug/Makefile: Likewise.
26821 * dlfcn/Makefile: Likewise.
26822 * elf/Makefile: Likewise.
26823 * extra-lib.mk: Likewise.
26824 * iconv/Makefile: Likewise.
26825 * include/libc-symbols.h: Likewise.
26826 * include/shlib-compat.h: Likewise.
26827 * resolv/Makefile: Likewise.
26828 * resolv/res_libc.c: Likewise.
26829 * rt/Makefile: Likewise.
26830 * sysdeps/i386/asm-syntax.h: Likewise.
26831 * sysdeps/i386/sysdep.h: Likewise.
26832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26833 * sysdeps/mach/sysdep.h: Likewise.
26834 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26835 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26836 * sysdeps/s390/asm-syntax.h: Likewise.
26837 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26838 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26839 * sysdeps/sh/sysdep.h: Likewise.
26840 * sysdeps/unix/sparc/sysdep.h: Likewise.
26841 * sysdeps/wordsize-32/divdi3.c: Likewise.
26842 * sysdeps/x86_64/sysdep.h: Likewise.
26844 * argp/Versions: Remove _argp_unlock_xxx.
26847 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26848 * abilist/libBrokenLocale.abilist: Likewise.
26849 * abilist/libanl.abilist: Likewise.
26850 * abilist/libc.abilist: Likewise.
26851 * abilist/libcrypt.abilist: Likewise.
26852 * abilist/libdl.abilist: Likewise.
26853 * abilist/libm.abilist: Likewise.
26854 * abilist/libnsl.abilist: Likewise.
26855 * abilist/libpthread.abilist: Likewise.
26856 * abilist/libresolv.abilist: Likewise.
26857 * abilist/librt.abilist: Likewise.
26858 * abilist/libthread_db.abilist: Likewise.
26859 * abilist/libutil.abilist: Likewise.
26860 * abilist/libnss_db.abilist: New file.
26862 * scripts/abilist.awk: Add support for indirect functions.
26864 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26866 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26868 * shlib-versions: Remove entries for ports architectures.
26870 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26872 * elf/stackguard-macros.h: Remove support for IA-64.
26873 * elf/tst-auditmod1.c: Likewise.
26874 * sysdeps/generic/ldsodefs.h: Likewise.
26876 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26877 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26881 * configure.in: Remove --enable-omitfp support.
26883 * config.make.in: Likewise.
26884 * Makeconfig: Likewise.
26885 * manual/install.texi: Likewise.
26887 In case anyone cares, the IA-64 architecture could move to ports.
26888 * sysdeps/ia64/*: Removed.
26889 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26890 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26893 * configure.in: Remove entries for unsupported architectures.
26896 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26897 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26899 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26900 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26901 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26902 fall back to using wcrtomb.
26903 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26904 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26906 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26907 * wcsmbs/tst-c16c32-1.c: New file.
26909 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26912 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26914 * elf/tst-unique3.cc: Add explicit declaration of gets.
26915 * elf/tst-unique3lib.cc: Likewise.
26916 * elf/tst-unique3lib2.cc: Likewise.
26917 * elf/tst-unique4.cc: Likewise.
26919 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26921 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26924 * assert/assert.h (static_assert): Don't define for C++.
26925 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26926 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26928 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26930 * iconv/loop.c (single loop): Fix assertion in storing of
26933 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26935 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26937 * posix/getconf.c: Update copyright year.
26938 * nss/getent.c: Likewise.
26939 * nss/makedb.c: Likewise.
26940 * iconv/iconvconfig.c: Likewise.
26941 * iconv/iconv_prog.c: Likewise.
26942 * elf/ldconfig.c: Likewise.
26943 * elf/pldd.c: Likewise.
26944 * elf/sotruss.ksh: Likewise.
26945 * catgets/gencat.c: Likewise.
26946 * csu/version.c: Likewise.
26947 * elf/ldd.bash.in: Likewise.
26948 * elf/sprof.c (print_version): Likewise.
26949 * locale/programs/locale.c: Likewise.
26950 * locale/programs/localedef.c: Likewise.
26951 * login/programs/pt_chown.c: Likewise.
26952 * nscd/nscd.c (print_version): Likewise.
26953 * debug/xtrace.sh: Likewise.
26954 * malloc/memusage.sh: Likewise.
26955 * malloc/mtrace.pl: Likewise.
26956 * debug/catchsegv.sh: Likewise.
26958 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26960 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26963 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26966 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26967 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26969 * iconv/gconv_int.h: Likewise.
26970 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26971 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26972 from libc for GLIBC_2.16.
26973 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26974 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26975 * wcsmbs/uchar.h: Really define mbstate_t.
26976 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26977 * wcsmbs/c16rtomb.c: New file.
26978 * wcsmbs/mbrtoc16.c: New file.
26979 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26980 for C/POSIX locale.
26981 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26982 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26984 * wcsmbs/wchar.h: Add missing __restrict.
26986 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26989 * time/Makefile (routines): Add timespec_get.
26990 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26991 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26992 timespec for ISO C11.
26993 * time/timespec_get.c: New file.
26994 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26995 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26998 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26999 * stdlib/stdlib.h: Declare aligned_alloc.
27000 * Versions.def: Add GLIBC_2.16 for libc.
27001 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27004 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27007 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27011 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27014 * assert/assert.h (static_assert): Define.
27016 * version.h: Update for 2.16 development version.
27019 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27022 * version.h (RELEASE): Bump for 2.15 release.
27023 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27025 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27026 Patch by Marek Polacek <mpolacek@redhat.com>.
27028 * bits/byteswap.h: Protect long long constants with __extension__.
27029 * sysdeps/i386/bits/byteswap.h: Likewise.
27030 * sysdeps/ia64/bits/byteswap.h: Likewise.
27031 * sysdeps/s390/bits/byteswap.h: Likewise.
27032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27034 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27038 destination buffer.
27039 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27041 2011-12-23 Marek Polacek <polacek@redhat.com>
27043 * elf/dl-addr.c (determine_info): Add inline keyword.
27044 * elf/tst-auditmod4b.c (check_avx): Likewise.
27045 * elf/tst-auditmod6b.c (check_avx): Likewise.
27046 * elf/tst-auditmod6c.c (check_avx): Likewise.
27047 * elf/tst-auditmod7b.c (check_avx): Likewise.
27049 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27051 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27054 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27057 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27058 processing for last bytes.
27060 2011-08-06 Bruno Haible <bruno@clisp.org>
27063 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27064 U+0385, not to U+1FEE.
27067 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27068 entry for U+00A5 U+0301.
27070 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27073 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27074 buffer for the output is too small.
27076 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27080 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27081 SSE flags if possible.
27083 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27087 processing for last bytes.
27089 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27091 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27092 (syscall-list-default-options, syscall-list-default-condition)
27093 (syscall-list-includes): Define.
27094 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27095 list of ABIs and options and #if conditions for each ABI. Do not
27096 handle common syscalls between ABIs specially.
27097 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27099 (syscall-list-variants, syscall-list-32bit-options)
27100 (syscall-list-32bit-condition, syscall-list-64bit-options)
27101 (syscall-list-64bit-condition): Define.
27102 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27103 (syscall-list-variants, syscall-list-32bit-options)
27104 (syscall-list-32bit-condition, syscall-list-64bit-options)
27105 (syscall-list-64bit-condition): Define.
27106 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27108 (syscall-list-variants, syscall-list-32bit-options)
27109 (syscall-list-32bit-condition, syscall-list-64bit-options)
27110 (syscall-list-64bit-condition): Define.
27111 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27113 (syscall-list-variants, syscall-list-32bit-options)
27114 (syscall-list-32bit-condition, syscall-list-64bit-options)
27115 (syscall-list-64bit-condition): Define.
27117 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27119 * locale/iso-639.def: Add brx entry.
27122 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27123 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27125 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27126 __feraiseexcept_renamed.
27128 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27131 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27132 EPOLLET with unsigned values.
27133 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27136 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27137 to large cancellation.
27138 * math/s_cacoshf.c: Likewise.
27139 * math/s_cacoshl.c: Likewise.
27141 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27145 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27146 * math/s_cacoshf.c: Likewise.
27147 * math/s_cacoshl.c: Likewise.
27149 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27152 * iconv/gconv.h: Define __GCONV_SWAP.
27153 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27154 * iconvdata/utf-16.c: Likewise.
27155 * iconvdata/utf-32.c: Likewise.
27157 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27161 numerator after shifting it by one limb.
27163 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27165 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27166 under [__USE_EXTERN_INLINES].
27168 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27171 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27173 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27175 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27176 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27178 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27179 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27180 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27181 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27182 for strncasecmp/strncasecmp_l compilation.
27183 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27184 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27186 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27189 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27192 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27195 * time/tzfile.c (__tzfile_read): Check values from file header.
27197 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27199 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27200 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27201 * powerpc/powerpc32/dl-start.S: Likewise.
27202 * powerpc/powerpc32/elf/start.S: Likewise.
27203 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27204 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27205 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27206 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27207 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27208 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27209 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27210 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27211 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27212 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27213 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27214 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27215 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27216 * powerpc/powerpc32/memset.S: Likewise.
27217 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27218 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27219 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27220 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27221 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27222 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27223 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27224 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27225 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27226 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27227 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27231 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27233 * math/libm-test.inc: Added more nearbyint tests.
27234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27235 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27237 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27239 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27241 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27244 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27246 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27247 Add wcscpy-ssse3 wcscpy-c.
27248 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27249 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27250 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27251 * sysdeps/x86_64/wcschr.S: New file.
27252 * sysdeps/x86_64/wcsrchr.S: New file.
27253 * string/test-strcmp.c: Remove checking of wcscmp function for
27255 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27256 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27257 wcsrchr-sse2 wcsrchr-c.
27258 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27259 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27260 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27261 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27262 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27263 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27264 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27265 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27266 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27267 * wcsmbc/wcschr.c (WCSCHR): New macro.
27269 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27271 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27272 * wcsmbs/test-wcsrchr.c: New file.
27273 * string/test-strrchr.c: Add wcsrchr support.
27275 * wcsmbs/test-wcscpy.c: New file.
27276 * string/test-strcpy.c: Add wcscpy support.
27279 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27281 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27284 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27287 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27289 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27292 Minor optimizations.
27294 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27295 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27296 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27298 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27300 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27301 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27302 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27303 for gcc to avoid warnings.
27304 * inet/Makefile (tests): Add tst-checks.
27305 * inet/tst-checks.c: New file.
27307 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27310 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27313 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27314 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27316 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27318 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27320 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27323 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27325 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27327 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27328 conditional on GCC version.
27329 (__arch_compare_and_exchange_val_8_acq)
27330 (__arch_compare_and_exchange_val_16_acq)
27331 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27332 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27333 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27335 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27337 * sysdeps/sh/backtrace.c: New file.
27339 2011-12-02 Andreas Schwab <schwab@redhat.com>
27341 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27344 2011-12-01 Andreas Schwab <schwab@redhat.com>
27346 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27347 falling back to utime.
27349 2011-11-30 Andreas Schwab <schwab@redhat.com>
27351 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27352 expectations for float.
27354 2011-11-29 Andreas Schwab <schwab@redhat.com>
27356 * locale/weight.h (findidx): Add parameter len.
27357 * locale/weightwc.h (findidx): Likewise.
27358 * posix/fnmatch_loop.c (FCT): Adjust caller.
27359 * posix/regcomp.c (build_equiv_class): Likewise.
27360 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27361 * posix/regexec.c (check_node_accept_bytes): Likewise.
27362 * string/strcoll_l.c (STRCOLL): Likewise.
27363 * string/strxfrm_l.c (STRXFRM): Likewise.
27365 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27367 * Makefile.in: Remove CVSOPT handling.
27368 * configure.in: Remove use of AC_REVISION.
27369 * iconvdata/Makefile (distribute): No need to filter out CVS.
27370 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27373 2011-11-16 Andreas Schwab <schwab@redhat.com>
27375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27376 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27377 [USE_AS_STRNCASECMP_L]: Likewise.
27378 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27379 NO_TLS_DIRECT_SEG_REFS.
27380 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27381 Fix argument offsets for non-PIC.
27382 [USE_AS_STRNCASECMP_L]: Likewise.
27383 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27384 NO_TLS_DIRECT_SEG_REFS.
27386 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27388 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27390 * locale/loadlocale.c (_nl_load_locale): Likewise.
27392 2011-11-15 Andreas Schwab <schwab@redhat.com>
27394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27395 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27396 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27397 (SYSCALL_GETTIME): Set errno on error.
27399 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27400 count references to noai6ai_cached.
27402 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27404 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27406 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27407 FD_CLOEXEC for /proc/self/maps.
27409 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27410 FD_CLOEXEC for /proc/meminfo.
27412 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27415 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27416 FD_CLOEXEC for given file.
27418 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27420 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27421 FD_CLOEXEC for /etc/hosts.
27422 (_gethtent): Likewise.
27424 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27426 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27427 cancellation and set FD_CLOEXEC for /etc/netgroup.
27429 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27430 reading /etc/publickey.
27432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27433 allow cancellation when reading /etc/group.
27435 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27437 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27439 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27440 when using data file.
27442 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27444 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27445 (write_nis_obj): Use "c" and "e" in fopen.
27447 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27449 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27451 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27453 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27455 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27458 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27460 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27462 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27464 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27465 file parsing and set FD_CLOEXEC.
27467 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27469 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27471 2011-11-14 Andreas Schwab <schwab@redhat.com>
27473 * malloc/arena.c (arena_get2): Don't call reused_arena when
27474 _int_new_arena failed.
27476 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27478 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27479 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27480 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27481 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27482 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27483 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27484 to compile strcasecmp and strncasecmp.
27485 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27486 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27490 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27492 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27493 locale-defines.sym to gen-as-const-headers.
27494 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27495 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27497 to compile strcasecmp and strncasecmp.
27498 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27499 strcasecmp_l and strncasecmp_l.
27500 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27501 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27502 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27503 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27504 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27506 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27507 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27508 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27509 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27510 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27512 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27514 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27515 result of SYSDEP_GETTIME_CPU to retval.
27516 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27517 parameter list to macro. Remove trailing semicolon. Adjust users.
27519 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27522 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27524 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27526 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27527 from unused variable.
27529 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27531 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27534 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27537 * sunrpc/rpc_prot.c (rejected): Fix case value.
27539 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27540 unsigned long long int to avoid warnings in shift.
27542 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27544 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27547 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27548 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27549 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27551 * nis/nis_table.c (nis_list): Use variable of correct type for
27552 result of __follow_path call.
27554 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27556 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27557 of math functions ceil, trunc, floor, round, and sqrt, when
27558 avaliable on the platform.
27559 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27562 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27563 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27565 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27567 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27568 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27570 2011-11-11 Roland McGrath <roland@hack.frob.com>
27572 * include/unistd.h: Fix __readlink return type.
27573 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27575 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27577 * stdlib/ucontext.h: Undo last change for makecontext.
27579 2011-11-11 Andreas Schwab <schwab@redhat.com>
27581 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27583 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27584 * setjmp/setjmp.h: Mark functions as non-leaf.
27585 * setjmp/bits/setjmp2.h: Likewise.
27586 * stdlib/ucontext.h: Likewise.
27588 2011-11-10 Andreas Schwab <schwab@redhat.com>
27590 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27591 (reused_arena): Don't check arena limit.
27592 (arena_get2): Atomically check arena limit.
27594 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27596 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27597 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27602 2011-11-07 Andreas Schwab <schwab@redhat.com>
27604 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27605 handler when locking.
27607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27608 Fix size of allocated buffer.
27610 2011-11-04 Andreas Schwab <schwab@redhat.com>
27613 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27614 declarations for long double functions.
27615 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27617 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27619 2011-11-03 Andreas Schwab <schwab@redhat.com>
27621 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27624 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27627 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27629 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27631 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27633 * include/alloca.h (stackinfo_alloca_round): Define.
27634 (extend_alloca): Use it.
27635 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27636 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27639 * scripts/check-local-headers.sh: Ignore libaudit.h.
27641 * nscd/Makefile (extra-objs): Make recursively expanded.
27643 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27645 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27646 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27648 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27649 * posix/tst-rfc3484-2.c: Likewise.
27650 * posix/tst-rfc3484-3.c: Likewise.
27652 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27654 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27656 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27657 process_vm_writev from libc using GLIBC_2.15 version.
27659 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27661 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27663 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27666 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27669 * nss/getent.c (initgroups_keys): Show error message in case no group
27672 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27673 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27674 __bump_nl_timestamp.
27675 * nscd/connections (nscd_init): When host database is served open
27676 netlink socket and request notification about configuration changes.
27677 (main_loop_poll): Track netlink file descriptor and bump timestamp
27678 in case data becomes available.
27679 (main_loop_epoll): Likewise.
27680 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27681 (database_pers_head): Add extra_data fileds.
27682 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27683 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27684 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27687 in6ai data, call __free_in6ai.
27688 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27689 Add -DHAVE_NETLINK.
27690 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27691 interface information. Reuse previous data if netlink timestamp
27693 (__bump_nl_timestamp): New function.
27694 (__free_in6ai): New function.
27696 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27699 close_not_cancel_no_status here.
27700 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27702 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27705 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27708 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27709 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27710 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27712 2011-07-03 Andreas Jaeger <aj@suse.de>
27715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27716 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27717 * math/libm-test.inc (sin_test): Add test case.
27719 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27722 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27723 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27725 * elf/chroot_canon.c (chroot_canon): Cleanups.
27727 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27730 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27731 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27733 * string/test-strchr.c: Make usable for strchrnul testing.
27734 * string/test-strchrnul.c: New file.
27735 * string/Makefile (strop-tests): Add strchrnul.
27737 * po/it.po: Update from translation team.
27738 * po/es.po: Likewise.
27740 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27742 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27743 the three constants needed as parameters. Drop the others.
27744 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27745 __m128i_strloadu_tolower.
27746 Create and initialize variable zero and use it in all the places
27747 where _mm_setzero_si128 was used.
27749 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27750 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27751 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27752 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27754 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27755 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27756 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27757 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27758 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27759 __mpranred, __mptan.
27760 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27761 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27762 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27763 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27764 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27765 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27766 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27767 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27768 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27770 2011-10-28 Andreas Schwab <schwab@redhat.com>
27772 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27773 redefine if SHARED.
27774 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27777 wide char related routines to wcsmbs subdir.
27779 2011-10-27 Andreas Schwab <schwab@redhat.com>
27782 * misc/sys/cdefs.h (__THROWNL): Define.
27783 * posix/unistd.h: Use __THREADNL instead of __THREAD
27784 for memory synchronization functions.
27786 2011-10-26 Roland McGrath <roland@hack.frob.com>
27789 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27791 * manual/stdio.texi (Obstack Streams): Node removed.
27793 2011-10-26 Andreas Schwab <schwab@redhat.com>
27795 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27796 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27797 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27799 * math/math_private.h (math_force_eval): Allow non-addressable
27801 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27803 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27805 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27806 file is not needed.
27808 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27815 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27817 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27818 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27819 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27820 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27821 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27822 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27823 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27824 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27825 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27826 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27827 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27828 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27831 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27832 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27833 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27834 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27835 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27837 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27838 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27840 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27841 place. Use VEX encoding when compiling for AVX.
27843 2011-10-25 Andreas Schwab <schwab@redhat.com>
27845 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27846 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27848 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27850 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27852 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27853 useless if() expression.
27854 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27855 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27858 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27860 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27862 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27865 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27866 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27867 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27868 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27869 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27872 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27874 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27876 2011-10-25 Andreas Schwab <schwab@redhat.com>
27878 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27880 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27882 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27884 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27885 .text section. Avoid duplicate constants.
27886 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27894 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27896 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27898 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27903 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27909 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27910 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27911 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27912 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27913 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27914 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27915 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27916 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27917 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27918 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27919 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27920 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27921 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27922 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27924 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27925 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27928 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27929 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27930 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27932 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27934 * sysdeps/x86_64/dla.h: Move to ...
27935 * sysdeps/x86_64/fpu/dla.h: ...here.
27936 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27937 situations. Use __builtin_fma only for gcc 4.6 and up.
27939 * config.make.in: Add have-mfma4 entry.
27940 * configure.in: Substitute libc_cv_cc_fma4.
27941 * math/Makefile (dbl-only-routines): Add sincostab.
27942 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27943 Use __sincostab not sincos.
27944 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27946 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27951 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27952 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27953 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27954 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27956 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27957 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27959 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27960 define aliases when function name is a macro.
27961 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27962 sysdeps/ieee754/dbl-64/sincos.tbl.
27963 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27964 fma4-enabled routines.
27965 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27966 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27967 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27968 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27969 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27970 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27971 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27973 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27974 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27975 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27976 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27977 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27978 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27980 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27981 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27982 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27983 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27984 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27985 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27986 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27987 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27988 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27989 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27991 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27992 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27996 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28007 2011-10-24 Andreas Schwab <schwab@redhat.com>
28009 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28011 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28013 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28015 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28019 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28020 Remove unused variable magic_bits.
28021 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28023 * string/strnlen.c: Define and use STRNLEN macro.
28024 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28025 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28027 * wcsmbs/wcslen.c: Define and use WCSLEN.
28028 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28029 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28030 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28031 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28032 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28033 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28034 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28036 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28039 strnlen-sse2-no-bsf.
28040 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28042 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28043 Add strnlen support.
28044 (USE_AS_STRNLEN): New macro.
28045 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28046 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28047 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28048 * sysdeps/x86_64/wcslen.S: New file.
28050 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28053 XMM-moves are used for copying on small sizes.
28055 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28057 * wcsmbs/Makefile (strop-tests): Add wcschr.
28058 * wcsmbs/test-wcschr.c: New file.
28059 * string/test-strchr.c: Update.
28060 Add wcschr support.
28063 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28065 * wcsmbs/Makefile (strop-tests): Add wcslen.
28066 * wcsmbs/test-wcslen.c: New file.
28067 * string/test-strlen.c: Update.
28068 Add wcslen support.
28071 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28073 * po/it.po: Update from translation team.
28075 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28077 * sysdeps/x86_64/wcscmp.S: Update.
28078 Fix wrong comparison semantics.
28079 wcscmp shall use signed comparison not unsigned.
28080 Don't use substraction to avoid overflow bug.
28081 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28082 * wcsmbc/wcscmp.c: Likewise.
28083 * string/test-strcmp.c: Likewise.
28084 Add new tests to check cases with negative values.
28086 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28088 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28089 * sysdeps/x86_64/dla.h: ...here. New file.
28090 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28100 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28103 __ynl_finite aliases.
28105 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28109 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28111 [DLA_FMA] (EMULV): Use DLA_FMA.
28112 [DLA_FMA] (MUL12): Use EMULV.
28113 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28114 that are not needed.
28115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28123 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28125 * math/s_nan.c: Undef __nan.
28126 * math/s_nanf.c: Undef __nanf.
28127 * math/s_nanl.c: Undef __nanl.
28128 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28131 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28133 * math/s_catan.c: Add branch predictions.
28134 * math/s_catanf.c: Likewise.
28135 * math/s_catanh.c: Likewise.
28136 * math/s_catanhf.c: Likewise.
28137 * math/s_catanhl.c: Likewise.
28138 * math/s_catanl.c: Likewise.
28139 * math/s_cexp.c: Likewise.
28140 * math/s_cexpf.c: Likewise.
28141 * math/s_cexpl.c: Likewise.
28142 * math/s_clog.c: Likewise.
28143 * math/s_clog10.c: Likewise.
28144 * math/s_clog10f.c: Likewise.
28145 * math/s_clog10l.c: Likewise.
28146 * math/s_clogf.c: Likewise.
28147 * math/s_clogl.c: Likewise.
28148 * math/s_csqrt.c: Likewise.
28149 * math/s_csqrtf.c: Likewise.
28150 * math/s_csqrtl.c: Likewise.
28151 * math/s_ctanf.c: Likewise.
28152 * math/s_ctanh.c: Likewise.
28153 * math/s_ctanhf.c: Likewise.
28154 * math/s_ctanhl.c: Likewise.
28155 * math/s_ctanl.c: Likewise.
28157 * math/math_private.h: Define __nan, __nanf, __nanl.
28158 * math/s_cacosh.c: Include <math_private.h>.
28159 * math/s_cacoshl.c: Likewise.
28160 * math/s_casinh.c: Likewise.
28161 * math/s_casinhf.c: Likewise.
28162 * math/s_casinhl.c: Likewise.
28163 * math/s_ccos.c: Rely entire on ccosh.
28164 * math/s_ccosf.c: Rely entire on ccoshf.
28165 * math/s_ccosl.c: Rely entirely on ccoshl.
28166 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28167 Remove tests for FE_INVALID.
28168 * math/s_ccoshf.c: Likewise.
28169 * math/s_ccoshl.c: Likewise.
28170 * math/s_csin.c: Likewise.
28171 * math/s_csinf.c: Likewise.
28172 * math/s_csinh.c Likewise.
28173 * math/s_csinhf.c: Likewise.
28174 * math/s_csinhl.c: Likewise.
28175 * math/s_csinl.c: Likewise.
28176 * math/s_ctan.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28178 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28181 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28184 compilation problems.
28186 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28189 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28191 * sysdeps/i386/configure.in: Test for -mfma4 option.
28192 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28193 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28194 COMMON_CPUID_INDEX_80000001.
28195 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28196 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28197 use it if FMA3 is not supported.
28198 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28200 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28201 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28203 2011-10-20 Andreas Schwab <schwab@redhat.com>
28206 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28207 it would create a cycle with a link time dependency.
28209 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28211 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28213 * string/Makefile (strop-tests): Add rawmemchr.
28214 * string/test-rawmemchr.c: New file.
28216 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28218 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28219 when compiling str{,n}casecmp and when AVX is available. Hook up
28220 new optimized code in initializers.
28222 2011-10-19 Andreas Schwab <schwab@redhat.com>
28224 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28225 __feraiseexcept instead of feraiseexcept.
28227 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28229 * math/math_private.h: Define defaults for libc_fetestexcept and
28231 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28232 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28233 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28234 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28236 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28237 libc_fetestexcept and libc_feupdateenv.
28239 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28240 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28241 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28242 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28243 libc_feholdexcept_setround.
28245 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28246 Add s_nearbyint-c and s_nearbyintf-c.
28247 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28248 nearbyintf inlines.
28249 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28250 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28251 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28252 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28254 * math/math_private.h: Define defaults for libc_fegetround,
28255 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28256 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28257 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28258 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28259 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28260 standard functions.
28261 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28262 Remove comments and hacks for old compiler versions.
28263 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28264 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28265 libc_feholdexceptl.
28267 2011-10-18 Andreas Schwab <schwab@redhat.com>
28269 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28270 (__feraiseexcept_renamed): Add __NTH.
28271 (feraiseexcept): Add __NTH. Rename local variables to fix
28272 namespace violations.
28274 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28276 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28278 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28280 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28281 recently added interfaces.
28282 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28284 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28285 about macro parameter expansion.
28287 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28288 __NO_MATH_INLINES is defined. Cleanups.
28290 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28291 and __floorf is target has SSE4.1.
28292 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28294 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28295 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28297 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28299 (floorf): Likewise.
28301 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28303 2011-10-17 Andreas Schwab <schwab@redhat.com>
28305 * misc/sys/cdefs.h: Fix last change.
28307 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28310 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28312 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28314 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28317 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28319 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28320 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28321 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28322 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28323 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28324 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28325 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28326 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28327 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28328 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28329 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28330 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28331 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28332 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28333 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28334 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28335 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28337 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28338 ceil, ceilf, floor, floorf.
28340 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28341 Perform IRELATIVE relocations last.
28343 * elf/do-rel.h: Add another parameter nrelative, replacing the
28344 local variable with the same name. Change name of the function
28345 to end in Rel or Rela (uppercase).
28346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28347 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28348 elf_dynamic_do_##reloc function.
28350 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28352 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28353 is sufficient, at least on modern CPUs.
28355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28357 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28358 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28360 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28362 * math/bits/math-finite.h: Add entries for exp.
28363 * math/e_expl.c: Add __*_finite alias.
28364 * sysdeps/i386/fpu/e_exp.S: Likewise.
28365 * sysdeps/i386/fpu/e_expf.S: Likewise.
28366 * sysdeps/i386/fpu/e_expl.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28368 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28372 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28373 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28375 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28376 is sufficient, at least on modern CPUs.
28378 * ctype/ctype-info.c (__ctype_init): Define.
28379 * include/ctype.h (__ctype_init): Declare.
28380 (__ctype_b_loc): The variable is always initialized.
28381 (__ctype_toupper_loc): Likewise.
28382 (__ctype_tolower_loc): Likewise.
28383 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28384 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28386 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28388 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28390 * configure.in: Also look in $cxxmachine/include for C++ system
28393 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28395 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28396 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28397 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28398 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28399 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28400 (USE_AS_WMEMCMP): New macro.
28402 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28403 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28404 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28405 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28407 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28408 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28409 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28410 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28411 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28413 (USE_AS_WMEMCMP): New macro.
28414 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28415 * sysdeps/string/test-memcmp.c: Update.
28416 Fix simple_wmemcmp.
28418 * wcsmbs/wmemcmp.c: Update.
28419 (WMEMCMP): New macro.
28422 2011-10-12 Andreas Jaeger <aj@suse.de>
28425 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28427 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28429 * libio/iofwide.c (do_length): Avoid warning.
28431 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28433 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28435 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28437 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28438 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28439 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28440 * sysdeps/i386/i686/fpu/e_log.S: New file.
28441 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28442 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28444 * ctype/ctype.h: Add support for inlined isXXX functions when
28445 compiling C++ code.
28447 2011-10-14 Andreas Schwab <schwab@redhat.com>
28449 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28451 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28453 2011-10-13 Roland McGrath <roland@hack.frob.com>
28456 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28458 2011-10-13 Andreas Schwab <schwab@redhat.com>
28460 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28461 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28464 * sysdeps/x86_64/memrchr.S: Check for zero size.
28466 * string/stratcliff.c: Add memrchr tests.
28468 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28471 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28472 rawmemchr-sse2 rawmemchr-sse2-bsf.
28473 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28474 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28475 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28476 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28477 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28478 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28479 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28480 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28481 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28482 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28483 * string/memrchr.c (MEMRCHR): New macro.
28485 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28487 Add integration with gcc's -ffinite-math-only and optimize wrapper
28489 * Versions.def: Define GLIBC_2.15 version for libm.
28490 * math/Makefile (headers): Add bits/math-finite.h.
28491 * math/bits/math-finite.h: New file.
28492 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28493 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28494 * math/e_acoshl.c: Add __*_finite alias.
28495 * math/e_acosl.c: Likewise.
28496 * math/e_asinl.c: Likewise.
28497 * math/e_atan2l.c: Likewise.
28498 * math/e_atanhl.c: Likewise.
28499 * math/e_coshl.c: Likewise.
28500 * math/e_exp10.c: Likewise.
28501 * math/e_exp10f.c: Likewise.
28502 * math/e_exp10l.c: Likewise.
28503 * math/e_exp2l.c: Likewise.
28504 * math/e_fmodl.c: Likewise.
28505 * math/e_gammal_r.c: Likewise.
28506 * math/e_hypotl.c: Likewise.
28507 * math/e_j0l.c: Likewise.
28508 * math/e_j1l.c: Likewise.
28509 * math/e_jnl.c: Likewise.
28510 * math/e_lgammal_r.c: Likewise.
28511 * math/e_log10l.c: Likewise.
28512 * math/e_log2l.c: Likewise.
28513 * math/e_logl.c: Likewise.
28514 * math/e_powl.c: Likewise.
28515 * math/e_sinhl.c: Likewise.
28516 * math/e_sqrtl.c: Likewise.
28517 * math/e_scalb.c: Completely rewritten and optimized.
28518 * math/e_scalbf.c: Likewise.
28519 * math/e_scalbl.c: Likewise.
28520 * math/w_acos.c: Likewise.
28521 * math/w_acosf.c: Likewise.
28522 * math/w_acosl.c: Likewise.
28523 * math/w_acosh.c: Likewise.
28524 * math/w_acoshf.c: Likewise.
28525 * math/w_acoshl.c: Likewise.
28526 * math/w_asin.c: Likewise.
28527 * math/w_asinf.c: Likewise.
28528 * math/w_asinl.c: Likewise.
28529 * math/w_atan2.c: Likewise.
28530 * math/w_atan2f.c: Likewise.
28531 * math/w_atan2l.c: Likewise.
28532 * math/w_atanh.c: Likewise.
28533 * math/w_atanhf.c: Likewise.
28534 * math/w_atanhl.c: Likewise.
28535 * math/w_exp10.c: Likewise.
28536 * math/w_exp10f.c: Likewise.
28537 * math/w_exp10l.c: Likewise.
28538 * math/w_fmod.c: Likewise.
28539 * math/w_fmodf.c: Likewise.
28540 * math/w_fmodl.c: Likewise.
28541 * math/w_j0.c: Likewise.
28542 * math/w_j0f.c: Likewise.
28543 * math/w_j0l.c: Likewise.
28544 * math/w_j1.c: Likewise.
28545 * math/w_j1f.c: Likewise.
28546 * math/w_j1l.c: Likewise.
28547 * math/w_jn.c: Likewise.
28548 * math/w_jnf.c: Likewise.
28549 * math/w_log.c: Likewise.
28550 * math/w_logf.c: Likewise.
28551 * math/w_logl.c: Likewise.
28552 * math/w_log10.c: Likewise.
28553 * math/w_log10f.c: Likewise.
28554 * math/w_log10l.c: Likewise.
28555 * math/w_log2.c: Likewise.
28556 * math/w_log2f.c: Likewise.
28557 * math/w_log2l.c: Likewise.
28558 * math/w_pow.c: Likewise.
28559 * math/w_powf.c: Likewise.
28560 * math/w_powl.c: Likewise.
28561 * math/w_remainder.c: Likewise.
28562 * math/w_remainderf.c: Likewise.
28563 * math/w_remainderl.c: Likewise.
28564 * math/w_scalb.c: Likewise.
28565 * math/w_scalbf.c: Likewise.
28566 * math/w_scalbl.c: Likewise.
28567 * math/w_sqrt.c: Likewise.
28568 * math/w_sqrtf.c: Likewise.
28569 * math/w_sqrtl.c: Likewise.
28570 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28571 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28573 * math/math_private.h: Declare __kernel_standard_f.
28574 * math/w_cosh.c: Remove cruft and optimize a bit.
28575 * math/w_coshf.c: Likewise.
28576 * math/w_coshl.c: Likewise.
28577 * math/w_exp2.c: Likewise.
28578 * math/w_exp2f.c: Likewise.
28579 * math/w_exp2l.c: Likewise.
28580 * math/w_hypot.c: Likewise.
28581 * math/w_hypotf.c: Likewise.
28582 * math/w_hypotl.c: Likewise.
28583 * math/w_lgamma.c: Likewise.
28584 * math/w_lgamma_r.c: Likewise.
28585 * math/w_lgammaf.c: Likewise.
28586 * math/w_lgammaf_r.c: Likewise.
28587 * math/w_lgammal.c: Likewise.
28588 * math/w_lgammal_r.c: Likewise.
28589 * math/w_sinh.c: Likewise.
28590 * math/w_sinhf.c: Likewise.
28591 * math/w_sinhl.c: Likewise.
28592 * math/w_tgamma.c: Likewise.
28593 * math/w_tgammaf.c: Likewise.
28594 * math/w_tgammal.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28597 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28598 Minor optimizations. Pretty printing. Remove cruft.
28599 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28600 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28601 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28603 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28604 * sysdeps/i386/fpu/e_asin.S: Likewise.
28605 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28606 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28607 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28608 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28609 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28610 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28611 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28612 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28613 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28614 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28615 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28616 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28617 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28618 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28619 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28620 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28621 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28622 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28623 * sysdeps/i386/fpu/e_log.S: Likewise.
28624 * sysdeps/i386/fpu/e_log10.S: Likewise.
28625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28626 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28627 * sysdeps/i386/fpu/e_log2.S: Likewise.
28628 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28629 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28630 * sysdeps/i386/fpu/e_logf.S: Likewise.
28631 * sysdeps/i386/fpu/e_logl.S: Likewise.
28632 * sysdeps/i386/fpu/e_pow.S: Likewise.
28633 * sysdeps/i386/fpu/e_powf.S: Likewise.
28634 * sysdeps/i386/fpu/e_powl.S: Likewise.
28635 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28636 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28637 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28638 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28639 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28640 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28641 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28642 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28643 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28650 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28651 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28652 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28653 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28664 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28665 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28667 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28669 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28671 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28673 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28675 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28678 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28679 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28680 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28682 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28684 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28724 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28727 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28729 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28730 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28732 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28735 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28736 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28737 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28738 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28739 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28740 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28741 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28742 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28743 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28744 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28745 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28746 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28747 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28748 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28750 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28752 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28753 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28754 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28755 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28756 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28757 (__isnanf): Likewise.
28758 (__isinf_ns): Likewise.
28759 (__isinf_nsf): Likewise.
28760 (__finite): Likewise.
28761 (__finitef): Likewise.
28762 (__ieee754_sqrt): Define as macro.
28763 (__ieee754_sqrtf): Define as macro.
28764 (__ieee754_sqrtl): Define as macro.
28765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28767 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28768 __FINITE_MATH_ONLY__ consistent.
28769 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28771 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28773 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28776 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28778 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28780 * po/ja.po: Update from translation team.
28782 2011-10-08 Roland McGrath <roland@hack.frob.com>
28784 * locale/programs/locarchive.c (prepare_address_space): New function.
28785 (create_archive, enlarge_archive, open_archive): Use it.
28787 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28788 inside [SHARED], where it is used.
28790 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28792 * nss/getent.c (netgroup_keys): Remove unused variable.
28793 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28795 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28797 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28798 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28801 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28802 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28803 * math/Makefile (libm-calls): Add s_isinf_ns.
28804 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28805 * math/multc3.c: Likewise.
28806 * math/s_casin.c: Likewise.
28807 * math/s_casinf.c: Likewise.
28808 * math/s_casinl.c: Likewise.
28809 * math/s_ccos.c: Likewise.
28810 * math/s_ccosf.c: Likewise.
28811 * math/s_ccosl.c: Likewise.
28812 * math/s_ctan.c: Likewise.
28813 * math/s_ctanf.c: Likewise.
28814 * math/s_ctanh.c: Likewise.
28815 * math/s_ctanhf.c: Likewise.
28816 * math/s_ctanhl.c: Likewise.
28817 * math/s_ctanl.c: Likewise.
28818 * math/w_fmod.c: Likewise.
28819 * math/w_fmodf.c: Likewise.
28820 * math/w_fmodl.c: Likewise.
28821 * math/w_remainder.c: Likewise.
28822 * math/w_remainderf.c: Likewise.
28823 * math/w_remainderl.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28825 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28828 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28829 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28830 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28831 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28833 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28835 * stdio-common/printf_fphex.c: Likewise.
28836 * stdio-common/printf_size.c: Likewise.
28838 * math/e_exp10.c: Include math_private.h using <...> not "...".
28839 * math/e_exp10f.c: Likewise.
28840 * math/e_exp10l.c: Likewise.
28841 * math/e_exp2l.c: Likewise.
28842 * math/e_j0l.c: Likewise.
28843 * math/e_j1l.c: Likewise.
28844 * math/e_jnl.c: Likewise.
28845 * math/e_lgammal_r.c: Likewise.
28846 * math/e_rem_pio2l.c: Likewise.
28847 * math/e_scalb.c: Likewise.
28848 * math/e_scalbf.c: Likewise.
28849 * math/e_scalbl.c: Likewise.
28850 * math/k_cosl.c: Likewise.
28851 * math/k_sinl.c: Likewise.
28852 * math/k_tanl.c: Likewise.
28853 * math/s_cacoshf.c: Likewise.
28854 * math/s_catan.c: Likewise.
28855 * math/s_catanf.c: Likewise.
28856 * math/s_catanh.c: Likewise.
28857 * math/s_catanhf.c: Likewise.
28858 * math/s_catanhl.c: Likewise.
28859 * math/s_catanl.c: Likewise.
28860 * math/s_ccosh.c: Likewise.
28861 * math/s_ccoshf.c: Likewise.
28862 * math/s_ccoshl.c: Likewise.
28863 * math/s_cexp.c: Likewise.
28864 * math/s_cexpf.c: Likewise.
28865 * math/s_cexpl.c: Likewise.
28866 * math/s_clog.c: Likewise.
28867 * math/s_clog10.c: Likewise.
28868 * math/s_clog10f.c: Likewise.
28869 * math/s_clog10l.c: Likewise.
28870 * math/s_clogf.c: Likewise.
28871 * math/s_clogl.c: Likewise.
28872 * math/s_csin.c: Likewise.
28873 * math/s_csinf.c: Likewise.
28874 * math/s_csinh.c: Likewise.
28875 * math/s_csinhf.c: Likewise.
28876 * math/s_csinhl.c: Likewise.
28877 * math/s_csinl.c: Likewise.
28878 * math/s_csqrt.c: Likewise.
28879 * math/s_csqrtf.c: Likewise.
28880 * math/s_csqrtl.c: Likewise.
28881 * math/s_ctan.c: Likewise.
28882 * math/s_ctanf.c: Likewise.
28883 * math/s_ctanh.c: Likewise.
28884 * math/s_ctanhf.c: Likewise.
28885 * math/s_ctanhl.c: Likewise.
28886 * math/s_ctanl.c: Likewise.
28887 * math/s_ldexp.c: Likewise.
28888 * math/s_ldexpf.c: Likewise.
28889 * math/s_ldexpl.c: Likewise.
28890 * math/s_significand.c: Likewise.
28891 * math/s_significandf.c: Likewise.
28892 * math/s_significandl.c: Likewise.
28893 * math/w_acos.c: Likewise.
28894 * math/w_acosf.c: Likewise.
28895 * math/w_acosh.c: Likewise.
28896 * math/w_acoshf.c: Likewise.
28897 * math/w_acoshl.c: Likewise.
28898 * math/w_acosl.c: Likewise.
28899 * math/w_asin.c: Likewise.
28900 * math/w_asinf.c: Likewise.
28901 * math/w_asinl.c: Likewise.
28902 * math/w_atan2.c: Likewise.
28903 * math/w_atan2f.c: Likewise.
28904 * math/w_atan2l.c: Likewise.
28905 * math/w_atanh.c: Likewise.
28906 * math/w_atanhf.c: Likewise.
28907 * math/w_atanhl.c: Likewise.
28908 * math/w_cosh.c: Likewise.
28909 * math/w_coshf.c: Likewise.
28910 * math/w_coshl.c: Likewise.
28911 * math/w_dremf.c: Likewise.
28912 * math/w_exp10.c: Likewise.
28913 * math/w_exp10f.c: Likewise.
28914 * math/w_exp10l.c: Likewise.
28915 * math/w_exp2.c: Likewise.
28916 * math/w_exp2f.c: Likewise.
28917 * math/w_fmod.c: Likewise.
28918 * math/w_fmodf.c: Likewise.
28919 * math/w_fmodl.c: Likewise.
28920 * math/w_hypot.c: Likewise.
28921 * math/w_hypotf.c: Likewise.
28922 * math/w_hypotl.c: Likewise.
28923 * math/w_j0.c: Likewise.
28924 * math/w_j0f.c: Likewise.
28925 * math/w_j0l.c: Likewise.
28926 * math/w_j1.c: Likewise.
28927 * math/w_j1f.c: Likewise.
28928 * math/w_j1l.c: Likewise.
28929 * math/w_jn.c: Likewise.
28930 * math/w_jnf.c: Likewise.
28931 * math/w_jnl.c: Likewise.
28932 * math/w_lgamma.c: Likewise.
28933 * math/w_lgamma_r.c: Likewise.
28934 * math/w_lgammaf.c: Likewise.
28935 * math/w_lgammaf_r.c: Likewise.
28936 * math/w_lgammal.c: Likewise.
28937 * math/w_lgammal_r.c: Likewise.
28938 * math/w_log.c: Likewise.
28939 * math/w_log10.c: Likewise.
28940 * math/w_log10f.c: Likewise.
28941 * math/w_log10l.c: Likewise.
28942 * math/w_log2.c: Likewise.
28943 * math/w_log2f.c: Likewise.
28944 * math/w_log2l.c: Likewise.
28945 * math/w_logf.c: Likewise.
28946 * math/w_logl.c: Likewise.
28947 * math/w_pow.c: Likewise.
28948 * math/w_powf.c: Likewise.
28949 * math/w_powl.c: Likewise.
28950 * math/w_remainder.c: Likewise.
28951 * math/w_remainderf.c: Likewise.
28952 * math/w_remainderl.c: Likewise.
28953 * math/w_scalb.c: Likewise.
28954 * math/w_scalbf.c: Likewise.
28955 * math/w_scalbl.c: Likewise.
28956 * math/w_sinh.c: Likewise.
28957 * math/w_sinhf.c: Likewise.
28958 * math/w_sinhl.c: Likewise.
28959 * math/w_sqrt.c: Likewise.
28960 * math/w_sqrtf.c: Likewise.
28961 * math/w_sqrtl.c: Likewise.
28962 * math/w_tgamma.c: Likewise.
28963 * math/w_tgammaf.c: Likewise.
28964 * math/w_tgammal.c: Likewise.
28966 * po/ja.po: Update from translation team.
28968 2011-09-29 Andreas Jaeger <aj@suse.de>
28971 * sunrpc/netname.c (netname2host): Fix logic.
28975 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28977 * math/w_remainder.c (__remainder): Likewise.
28978 * math/w_remainderf.c (__remainderf): Likewise.
28979 * math/libm-test.inc (remainder_test): Add test cases.
28981 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28983 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28986 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28988 * string/test-memcmp.c: Avoid unncessary #defines.
28989 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28991 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28993 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28994 Use new sse2 version for core i3 - i7 as it's faster
28995 than sse42 version.
28996 (bit_Prefer_PMINUB_for_stringop): New.
28997 * sysdeps/x86_64/rawmemchr.S: Update.
28998 Replace with faster SSE2 version.
28999 * sysdeps/x86_64/memrchr.S: New file.
29000 * sysdeps/x86_64/memchr.S: Update.
29001 Replace with faster SSE2 version.
29003 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29005 * elf/dl-load.c (lose): Add cast to avoid warning.
29007 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29009 * po/ca.po: Update from translation team.
29011 * inet/getnetgrent_r.c: Hook up nscd.
29012 * nscd/Makefile (routines): Add nscd_netgroup.
29013 (nscd-modules): Add netgroupcache.
29014 (CFLAGS-netgroupcache.c): Define.
29015 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29016 (cache_search): Add const to second parameter.
29017 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29019 (dbs): Add netgrdb entry.
29020 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29021 (verify_persistent_db): Handle netgrdb.
29022 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29023 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29025 (netgroup_response_header): Define.
29026 (innetgroup_response_header): Define.
29027 (datahead): Add netgroup_response_header and innetgroup_response_header
29029 * nscd/nscd.conf: Add entries for netgroup cache.
29030 * nscd/nscd.h (dbtype): Add netgrdb.
29031 (_PATH_NSCD_NETGROUP_DB): Define.
29032 (netgroup_iov_disabled): Declare.
29033 (xmalloc, xcalloc, xrealloc): Move declarations here.
29034 (cache_search): Adjust prototype.
29035 Add netgroup-related prototypes.
29036 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29037 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29038 (__nscd_innetgr): Declare.
29039 * nscd/selinux.c (perms): Use access_vector_t as element type and
29040 add netgroup-related initializers.
29041 * nscd/netgroupcache.c: New file.
29042 * nscd/nscd_netgroup.c: New file.
29043 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29044 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29045 For four parameters use innetgr.
29046 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29047 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29048 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29049 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29051 * nscd/connections.c (register_traced_file): Don't register file
29052 for disabled databases.
29054 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29056 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29058 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29059 from tree and freeing node.
29061 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29063 * nss/nsswitch.c (__nss_database_lookup): Handle
29064 nss_parse_service_list out of memory case.
29066 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29068 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29069 out of memory case.
29071 2011-10-04 Andreas Schwab <schwab@redhat.com>
29073 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29074 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29076 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29077 elf_machine_rela, elf_machine_lazy_rel.
29078 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29079 (ELF_DYNAMIC_DO_REL): Likewise.
29080 (ELF_DYNAMIC_DO_RELA): Likewise.
29081 (ELF_DYNAMIC_RELOCATE): Likewise.
29082 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29083 to ELF_DYNAMIC_DO_REL.
29084 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29085 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29086 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29088 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29089 skip_ifunc, don't call ifunc function if non-zero.
29090 (elf_machine_rela): Likewise.
29091 (elf_machine_lazy_rel): Likewise.
29092 (elf_machine_lazy_rela): Likewise.
29093 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29094 (elf_machine_lazy_rel): Likewise.
29095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29097 (elf_machine_lazy_rel): Likewise.
29098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29100 (elf_machine_lazy_rel): Likewise.
29101 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29102 (elf_machine_lazy_rel): Likewise.
29103 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29104 (elf_machine_lazy_rel): Likewise.
29105 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29106 (elf_machine_lazy_rel): Likewise.
29107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29108 (elf_machine_lazy_rel): Likewise.
29109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29110 (elf_machine_lazy_rel): Likewise.
29111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29112 (elf_machine_lazy_rel): Likewise.
29114 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29116 * nss/nss_files/files-init.c (_nss_files_init): Use static
29117 initialization for all the *_traced_file variables.
29119 2011-09-28 Andreas Schwab <schwab@redhat.com>
29121 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29123 2011-09-27 Roland McGrath <roland@hack.frob.com>
29126 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29128 2011-09-27 Andreas Schwab <schwab@redhat.com>
29130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29131 Reread the line before reparsing it.
29133 2011-09-26 Andreas Schwab <schwab@redhat.com>
29135 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29137 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29138 Maxim Kuvyrkov <maxim@codesourcery.com>
29139 Joseph Myers <joseph@codesourcery.com>
29141 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29142 if needed for __stack_chk_guard.
29144 2011-09-19 Roland McGrath <roland@hack.frob.com>
29146 * sysdeps/posix/spawni.c (script_execute): Always define it.
29147 It will be optimized away if unused.
29148 (maybe_script_execute): New function.
29149 (__spawni): Call it.
29151 * Makerules: Don't include tls.make.
29152 (config-tls): Always set to thread.
29153 * tls.make.c: File removed.
29155 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29157 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29158 * config.make.in (CPPFLAGS-config): New substituted variable.
29160 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29162 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29165 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29166 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29168 2011-09-15 Roland McGrath <roland@hack.frob.com>
29170 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29171 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29173 (CALL_FAIL): Likewise.
29174 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29175 (CALL_FAIL): Macro removed.
29176 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29178 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29180 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29181 for __FINITE_MATH_ONLY__ == 1.
29183 2011-09-15 Andreas Schwab <schwab@redhat.com>
29185 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29186 __ieee754_sqrt instead of sqrt.
29187 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29188 __ieee754_sqrtf instead of sqrtf.
29189 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29190 __floorf instead of floorf.
29191 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29192 __floorf, __truncf instead of floorf, truncf.
29194 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29196 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29198 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29199 __extern_always_inline.
29200 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29203 2011-09-14 Andreas Schwab <schwab@redhat.com>
29205 * elf/rtld.c (dl_main): Also relocate in dependency order when
29206 doing symbol dependency testing.
29208 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29211 Always define `refsym'.
29213 2011-09-13 Andreas Schwab <schwab@redhat.com>
29215 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29216 (__FD_ELT): Renamed from __FDELT.
29217 * misc/bits/select2.h (__FD_ELT): Likewise.
29218 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29219 __FD_MASK instead of __FDELT, __FDMASK.
29220 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29222 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29225 * elf/Makefile (gen-ldd): Fix pattern.
29227 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29228 (init_tls): Likewise.
29230 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29234 2011-09-12 Andreas Schwab <schwab@redhat.com>
29236 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29237 `struct cmsghdr *' instead of `void *'.
29238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29241 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29243 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29245 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29246 ldd_rewrite_script.
29248 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29250 * configure.in: Remove --with-tls option.
29251 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29252 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29253 out in case it is missing.
29254 * sysdeps/ia64/elf/configure.in: Likewise.
29255 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29256 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29257 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29258 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29259 * sysdeps/sh/elf/configure.in: Likewise.
29260 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29261 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29262 * sysdeps/x86_64/elf/configure.in: Likewise.
29263 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29264 * sysdeps/mach/hurd/tls.h: Likewise.
29267 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29270 * configure.in: Fix use of AC_INIT.
29272 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29274 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29276 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29278 * malloc/hooks.c: Likewise.
29281 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29282 variables statically.
29283 (narenas): Initialize.
29284 (list_lock): Initialize.
29285 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29286 initializtion of main_arena and list_lock. Small cleanups.
29287 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29288 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29289 Add initializers to main_arena and mp_.
29290 (malloc_state): Remove pagesize member. Change all users to use
29293 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29294 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29295 is always initialized.
29297 * malloc/malloc.c: Removed unused configurations and dead code.
29298 * malloc/arena.c: Likewise.
29299 * malloc/hooks.c: Likewise.
29300 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29302 * include/tls.h: Removed. USE___THREAD must always be defined.
29303 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29304 * elf/dl-libc.c: Likewise.
29305 * elf/dl-tsd.c: Likewise.
29306 * include/errno.h: Likewise.
29307 * include/netdb.h: Likewise.
29308 * include/resolv.h: Likewise.
29309 * inet/herrno-loc.c: Likewise.
29310 * inet/herrno.c: Likewise.
29311 * malloc/arena.c: Likewise.
29312 * malloc/hooks.c: Likewise.
29313 * malloc/malloc.c: Likewise.
29314 * resolv/res-state.c: Likewise.
29315 * resolv/res_libc.c: Likewise.
29316 * sysdeps/i386/dl-machine.h: Likewise.
29317 * sysdeps/ia64/dl-machine.h: Likewise.
29318 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29319 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29320 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29321 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29322 * sysdeps/sh/dl-machine.h: Likewise.
29323 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29324 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29325 * sysdeps/unix/i386/sysdep.S: Likewise.
29326 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29327 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29332 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29337 * sysdeps/x86_64/dl-machine.h: Likewise.
29338 * tls.make.c: Likewise.
29340 * configure.in: Remove --with-__thread option. Make tests for
29341 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29342 tls_model attribute fail if no support is available. Remove
29344 * Makeconfig: Adjust for dropped configure option. All features are
29346 * Makerules: Likewise.
29347 * Versions.def: Likewise.
29348 * argp/argp-fmtstream.c: Likewise.
29349 * argp/argp-fmtstream.h: Likewise.
29350 * argp/argp-help.c: Likewise.
29351 * assert/assert.c: Likewise.
29352 * config.h.in: Likewise.
29353 * config.make.in: Likewise.
29354 * configure: Likewise.
29355 * configure.in: Likewise.
29356 * csu/Versions: Likewise.
29357 * csu/init.c: Likewise.
29358 * elf/tst-audit2.c: Likewise.
29359 * elf/tst-tls10.c: Likewise.
29360 * elf/tst-tls10.h: Likewise.
29361 * elf/tst-tls11.c: Likewise.
29362 * elf/tst-tls12.c: Likewise.
29363 * elf/tst-tls14.c: Likewise.
29364 * elf/tst-tlsmod11.c: Likewise.
29365 * elf/tst-tlsmod12.c: Likewise.
29366 * elf/tst-tlsmod13.c: Likewise.
29367 * elf/tst-tlsmod13a.c: Likewise.
29368 * elf/tst-tlsmod14a.c: Likewise.
29369 * elf/tst-tlsmod15b.c: Likewise.
29370 * elf/tst-tlsmod16a.c: Likewise.
29371 * elf/tst-tlsmod16b.c: Likewise.
29372 * elf/tst-tlsmod7.c: Likewise.
29373 * elf/tst-tlsmod8.c: Likewise.
29374 * elf/tst-tlsmod9.c: Likewise.
29375 * gmon/gmon.c: Likewise.
29376 * grp/fgetgrent_r.c: Likewise.
29377 * grp/putgrent.c: Likewise.
29378 * hurd/fopenport.c: Likewise.
29379 * include/libc-symbols.h: Likewise.
29380 * include/tls.h: Likewise.
29381 * intl/gettextP.h: Likewise.
29382 * intl/loadinfo.h: Likewise.
29383 * locale/global-locale.c: Likewise.
29384 * locale/localeinfo.h: Likewise.
29385 * mach/devstream.c: Likewise.
29386 * malloc/arena.c: Likewise.
29387 * malloc/set-freeres.c: Likewise.
29388 * misc/err.c: Likewise.
29389 * misc/getttyent.c: Likewise.
29390 * misc/mntent_r.c: Likewise.
29391 * posix/getopt.c: Likewise.
29392 * posix/wordexp.c: Likewise.
29393 * pwd/fgetpwent_r.c: Likewise.
29394 * resolv/Versions: Likewise.
29395 * resolv/res_hconf.c: Likewise.
29396 * shadow/fgetspent_r.c: Likewise.
29397 * shadow/putspent.c: Likewise.
29398 * stdio-common/printf_fphex.c: Likewise.
29399 * stdio-common/tmpfile.c: Likewise.
29400 * stdlib/abort.c: Likewise.
29401 * stdlib/fmtmsg.c: Likewise.
29402 * sunrpc/auth_unix.c: Likewise.
29403 * sunrpc/clnt_perr.c: Likewise.
29404 * sunrpc/clnt_tcp.c: Likewise.
29405 * sunrpc/clnt_udp.c: Likewise.
29406 * sunrpc/clnt_unix.c: Likewise.
29407 * sunrpc/openchild.c: Likewise.
29408 * sunrpc/svc_simple.c: Likewise.
29409 * sunrpc/svc_tcp.c: Likewise.
29410 * sunrpc/svc_udp.c: Likewise.
29411 * sunrpc/svc_unix.c: Likewise.
29412 * sunrpc/xdr.c: Likewise.
29413 * sunrpc/xdr_array.c: Likewise.
29414 * sunrpc/xdr_rec.c: Likewise.
29415 * sunrpc/xdr_ref.c: Likewise.
29416 * sunrpc/xdr_stdio.c: Likewise.
29418 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29420 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29422 2011-07-03 Andreas Jaeger <aj@suse.de>
29424 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29425 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29426 regenerate with gen-libm-tests.pl.
29428 2010-05-12 Petr Baudis <pasky@suse.cz>
29431 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29432 around j0() zero points by switching to j1().
29433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29438 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29440 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29442 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29445 Patch in part by Pavel Roskin <proski@gnu.org>.
29448 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29450 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29451 Free memory block if necessary.
29454 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29455 be NULL. Don't lock in this case.
29457 2011-09-09 Roland McGrath <roland@hack.frob.com>
29459 * elf/elf.h (ELFOSABI_GNU): New macro.
29460 (ELFOSABI_LINUX): Define to that.
29462 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29464 * string/strncat.c (strncat): Undef the symbol in case it has been
29465 defined in bits/string.h.
29467 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29469 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29471 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29474 2011-08-17 Andreas Jaeger <aj@suse.de>
29476 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29478 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29479 Ian Lance Taylor <iant@google.com>
29481 * math/libm-test.inc (lround_test): New testcase.
29482 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29484 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29486 * Makefile: Remove support for automatic cvs check-ins.
29487 * Makerules: Likewise.
29488 * config.make.in: Likewise.
29489 * configure.in: Likewise.
29490 * intl/Makefile: Likewise.
29491 * locale/Makefile: Likewise.
29492 * po/Makefile: Likewise.
29493 * posix/Makefile: Likewise.
29494 * sysdeps/gnu/Makefile: Likewise.
29495 * sysdeps/mach/hurd/Makefile: Likewise.
29496 * sysdeps/sparc/sparc32/Makefile: Likewise.
29499 * posix/Makefile (bug-regex32-ENV): Define.
29500 Patch by John Stanley <jpsinthemix@verizon.net>.
29502 * misc/Makefile (headers): Add bits/select2.h.
29503 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29504 * misc/bits/select2.h: New file.
29505 * include/bits/select2.h: New file.
29506 * debug/Makefile (routines): Add fdelt_chk.
29507 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29508 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29510 * debug/fdelt_chk.c: New file.
29512 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29513 * wcsmbs/test-wmemcmp.c: Likewise.
29514 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29515 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29517 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29519 * string/Makefile (strop-tests): Add memcmp.
29520 * string/test-wmemcmp.c: New file.
29521 * string/test-memcmp.c: Add wmemcmp support.
29523 2011-09-08 Roland McGrath <roland@hack.frob.com>
29526 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29529 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29530 garbage value in a __mach_port_mod_refs call in the cases of the
29531 task-self and thread-self ports.
29533 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29535 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29537 2011-09-08 Andreas Schwab <schwab@redhat.com>
29539 * elf/dl-load.c (lose): Check for non-null L.
29541 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29543 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29545 * elf/dl-libc.c (dlerror_run): Pass back error code from
29549 * elf/dl-load.c (lose): Free l_origin if it is valid.
29551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29553 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29558 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29560 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29562 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29563 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29564 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29565 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29566 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29567 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29568 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29569 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29570 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29571 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29573 2011-08-15 Alan Modra <amodra@gmail.com>
29576 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29577 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29578 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29579 ppc_mcount to static-only-routines.
29580 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29582 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29583 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29585 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29587 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29588 for finite and infinity parameters.
29590 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29593 and add nop instructions for throughput optimization.
29594 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29596 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29598 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29599 aligned copy for power7 with vector-scalar instructions.
29600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29602 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29607 2011-09-07 Andreas Schwab <schwab@redhat.com>
29610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29613 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29615 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29616 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29617 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29618 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29621 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29623 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29624 Forgot to demangle the pointer.
29626 * sysdeps/i386/sysdep.h: Define atom_text_section.
29627 * sysdeps/x86_64/sysdep.h: Likewise.
29628 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29629 section with atom_text_section.
29630 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29631 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29632 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29634 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29636 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29638 already be defined. Change to take two parameters and don't assign
29639 result to variable. Adjust all users.
29640 Define INTERNAL_GETTIME if not already defined.
29641 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29644 HAVE_CLOCK_GETTIME_VSYSCALL.
29645 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29648 gettimeofday vsyscall, just use time.
29650 2011-09-06 Andreas Schwab <schwab@redhat.com>
29652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29655 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29657 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29661 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29662 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29663 syscall if possible.
29665 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29667 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29668 e_ident. Don't pass to find_mapsXX.
29669 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29671 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29674 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29675 * sysdeps/x86_64/multiarch/strchr.S: Update.
29676 Check bit_slow_BSF bit.
29677 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29678 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29679 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29681 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29684 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29686 (tryshell): Define.
29687 (__spawni): Change last parameter to be flag. Test
29688 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29689 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29690 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29691 * posix/spawni.c: Likewise.
29692 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29693 * posix/spawnp.c: Likewise. Change normal version to use
29694 SPAWN_XFLAGS_USE_PATH.
29695 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29696 SPAWN_XFLAGS_TRY_SHELL.
29699 * posix/glob.h: Remove gcc 1.x support.
29702 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29704 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29707 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29709 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29710 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29711 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29712 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29713 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29714 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29716 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29718 * sysdeps/x86_64/wcscmp.S: New file.
29720 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29721 wcscmp-c wcscmp-sse2
29722 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29723 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29724 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29725 * wcsmbs/wcscmp.c: Allow renaming.
29727 2011-09-05 David S. Miller <davem@davemloft.net>
29729 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29730 stack slot, rather than the struct return pointer slot.
29731 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29732 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29734 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29736 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29738 * po/ja.po: Update from translation team.
29741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29742 kernel in 64-bit binaries.
29744 2011-09-01 David S. Miller <davem@davemloft.net>
29746 * elf/elf.h (HWCAP_SPARC_*): Move to..
29747 * sysdeps/sparc/sysdep.h: this new file and add new values.
29748 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29749 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29750 _DL_HWCAP_COUNT to 24.
29751 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29753 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29754 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29755 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29757 instead of magic constants.
29758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29760 2011-08-31 David S. Miller <davem@davemloft.net>
29762 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29764 Reimplement to do errno handling inline.
29765 (SYSCALL_ERROR_HANDLER): New macro.
29766 (__SYSCALL_STRING): Do not do errno handling in asm.
29767 (__CLONE_SYSCALL_STRING): Delete.
29768 (__INTERNAL_SYSCALL_STRING): Delete.
29769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29770 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29771 (PSEUDO): Reimplement to do errno handling inline.
29772 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29773 (SYSCALL_ERROR_HANDLER): New macro.
29774 (__SYSCALL_STRING): Do not do errno handling in asm.
29775 (__CLONE_SYSCALL_STRING): Delete.
29776 (__INTERNAL_SYSCALL_STRING): Delete.
29777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29778 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29780 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29781 (inline_syscall*): Add 'err' argument.
29782 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29783 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29784 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29785 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29787 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29788 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29790 2011-08-30 Andreas Schwab <schwab@redhat.com>
29792 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29794 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29796 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29799 2011-08-24 David S. Miller <davem@davemloft.net>
29801 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29803 2011-08-24 Andreas Schwab <schwab@redhat.com>
29805 * elf/Makefile: Add rules to build and run unload8 test.
29806 * elf/unload8.c: New file.
29807 * elf/unload8mod1.c: New file.
29808 * elf/unload8mod1x.c: New file.
29809 * elf/unload8mod2.c: New file.
29810 * elf/unload8mod3.c: New file.
29812 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29815 2011-08-23 David S. Miller <davem@davemloft.net>
29817 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29818 subtract stack bias.
29819 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29820 %sp not %fp in calculations.
29821 (_JMPBUF_UNWINDS_ADJ): Likewise.
29823 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29824 (aio_suspend): Call it to force an exception region around the
29825 AIO_MISC_WAIT() invocation.
29827 2011-08-23 Andreas Schwab <schwab@redhat.com>
29829 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29832 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29834 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29836 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29837 and <dl-machine.h>.
29838 (Elf64_FuncDesc): Remove.
29840 2011-08-22 David S. Miller <davem@davemloft.net>
29842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29843 sigaltstack check, add missing cfi directives.
29844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29845 missing cfi directives, and sigaltstack handling.
29847 2011-08-16 Andreas Schwab <schwab@redhat.com>
29850 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29851 object is seen twice.
29852 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29854 * elf/Makefile (distribute): Add tst-initorder2.c.
29855 (tests): Add tst-initorder2.
29856 (modules-names): Add tst-initorder2a tst-initorder2b
29857 tst-initorder2c tst-initorder2d. Add rules to build them.
29858 ($(objpfx)tst-initorder2.out): New rule.
29859 * elf/tst-initorder2.c: New file.
29860 * elf/tst-initorder2.exp: New file.
29862 2011-08-22 Andreas Schwab <schwab@redhat.com>
29864 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29866 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29867 dependencies back to end of function.
29869 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29870 $(elfobjdir)/ld.so.
29872 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29875 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29877 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29878 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29879 of __vdso_gettimeofday.
29880 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29881 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29883 (_libc_vdso_platform_setup): Remove initialization of
29884 __vdso_gettimeofday and __vdso_time.
29886 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29888 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29889 and fgetc_unlocked.
29890 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29893 * elf/dl-open.c (add_to_global): Report additions to the global scope
29894 for LD_DEBUG=scopes.
29895 (dl_open_worker): Also print scope of newly loaded dependencies.
29896 (_dl_show_scope): Indicate if there is no scope.
29899 * stdio-common/Makefile (tests): Add bug24.
29900 * stdio-common/bug24.c: New file.
29902 2011-08-19 Andreas Jaeger <aj@suse.de>
29905 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29906 non-existant file when using close-on-exec mode.
29908 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29911 the very first instruction.
29913 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29914 the CFI state in the end.
29915 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29916 inclusion of dl-trampoline.h.
29917 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29919 2011-08-19 Andreas Schwab <schwab@redhat.com>
29921 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29922 expectations for long double.
29924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29925 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29927 2011-08-14 David S. Miller <davem@davemloft.net>
29929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29930 artificual limit depends upon the system page size.
29932 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29934 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29935 * resolv/Makefile: Define CFLAGS-libresolv.
29937 2011-08-17 Andreas Schwab <schwab@redhat.com>
29939 * nss/makedb.c (compute_tables): Make variables used in nested
29942 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29944 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29945 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29946 if buffer was too small.
29948 * elf/pldd.c (main): Attach to all threads in the process.
29949 Rewrite /proc handling to use *at functions.
29951 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29953 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29954 specifies first scope to show.
29955 (dl_open_worker): Update callers. Move printing scope of new
29956 object to before the relocation.
29957 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29958 * sysdeps/generic/ldsodefs.h: Update declaration.
29960 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29961 string for the scope number.
29963 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29965 * nscd/servicescache.c (cache_addserv): Make sure written is always
29968 2011-08-14 Roland McGrath <roland@hack.frob.com>
29970 * sysdeps/i386/i486/bits/atomic.h
29971 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29972 statement expression, so as to suppress "set but not used" warning.
29973 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29975 * string/strncat.c (STRNCAT): Use prototype definition.
29977 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29978 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29980 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29981 (localedef-modules): Add localedef.
29982 (locale-modules): Add locale.
29984 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29985 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29986 to avoid a warning.
29988 2011-08-14 David S. Miller <davem@davemloft.net>
29990 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29991 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29993 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29995 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29996 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29997 * elf/rtld.c (dl_main): Set l_name of vDSO.
29998 Call _dl_show_scope when DL_DEBUG_SCOPES.
29999 (process_dl_debug): Recognize scopes flag and also set it for all.
30000 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30001 Declare _dl_show_scope.
30003 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30004 (do_dlopen): Pass caller_dlopen to dl_open.
30005 (__libc_dlopen_mode): Initialize caller_dlopen.
30007 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30008 of libc. Make tolower call locale-independent. Optimize a bit by
30009 using isdigit instead of isalnum.
30010 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30012 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30014 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30015 was a dependency or dynamically loaded.
30017 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30019 * intl/l10nflist.c: Allow architecture-specific pop function.
30020 * sysdeps/x86_64/l10nflist.c: New file.
30022 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30025 2011-08-10 Andreas Schwab <schwab@redhat.com>
30027 * include/dirent.h: Add libc_hidden_proto for scandirat and
30028 scandirat64. Don't declare __scandirat64.
30029 * dirent/scandirat.c: Add libc_hidden_def.
30030 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30031 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30033 2011-08-10 David S. Miller <davem@davemloft.net>
30035 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30041 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30043 * Versions.def [libc]: Add GLIBC_2.15.
30044 * dirent/Makefile (routines): Add scandirat and scandirat64.
30045 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30047 * dirent/dirent.h: Declare scandirat and scandirat64.
30048 * dirent/scandirat.c: New file.
30049 * dirent/scandirat64.c: New file.
30050 * sysdeps/wordsize-64/scandirat.c: New file.
30051 * sysdeps/wordsize-64/scandirat64.c: New file.
30052 * dirent/opendir.c: Define opendirat.
30053 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30055 * dirent/scandir64.c: Adjust for scandir.c change.
30056 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30057 __scandirat64, and __scandir_cancel_handler.
30058 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30059 additional parameter and use openat instead of open (outside of ld.so).
30060 Add new __opendir as wrapper around __opendirat.
30061 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30062 here without requiring old scandirat implementation.
30064 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30066 * dirent/scandir.c (cancel_handler): Renamed to
30067 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30068 defined. Adjust users.
30069 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30070 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30072 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30074 * string/test-string.h (IMPL): Use __STRING to expand name and then
30077 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30080 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30082 * string/Makefile: Update.
30083 (strop-tests): Append strncat.
30084 * string/test-wcscmp.c: New file.
30085 New comprehensive test for wcscmp.
30086 * string/test-strcmp.c: Update.
30087 (WIDE): New define.
30089 2011-07-22 Andreas Schwab <schwab@redhat.com>
30091 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30094 2011-07-26 Andreas Schwab <schwab@redhat.com>
30096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30097 encoding to ACE if AI_IDN.
30099 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30102 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30104 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30107 Fix overflow bug in strncat.
30108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30110 * string/test-strncat.c: Update.
30111 Add new tests for checking overflow bugs.
30113 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30116 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30117 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30118 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30119 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30120 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30121 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30122 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30123 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30126 (USE_AS_STRCAT): Define.
30127 Add strcat and strncat support.
30128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30130 2011-07-25 Andreas Schwab <schwab@redhat.com>
30132 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30133 __n bigger than INT_MAX+1.
30134 (__strncmp_g): Likewise.
30136 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30138 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30139 * libio/stido.h: Likewise.
30141 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30146 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30148 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30149 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30153 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30158 (_dl_x86_64_save_sse): Likewise.
30160 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30164 (_dl_x86_64_save_sse): Likewise.
30166 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30168 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30170 2011-07-21 Andreas Schwab <schwab@redhat.com>
30172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30174 (_dl_x86_64_save_sse): Use correct AVX check.
30176 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30179 bug in strncpy/strncat.
30180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30182 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30184 * string/tester.c (test_strcat): Add tests for different alignments
30185 of source and destination.
30186 (test_strncat): Likewise.
30188 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30191 * posix/glob.c (glob): Check passed in values before using them in
30192 expressions to avoid some overflows.
30193 (glob_in_dir): Likewise.
30196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30197 check for AVX enablement so that we don't crash with old kernels and
30199 * elf/tst-audit4.c: Add same checks here.
30200 * elf/tst-audit6.c: Likewise.
30202 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30204 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30206 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30208 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30210 * po/cs.po: Update from translation team.
30211 * po/bg.po: Likewise.
30213 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30215 * misc/sys/cdefs.h: Add support for const attribute.
30216 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30217 to gnu_dev_{major,minor,makedev} functions.
30219 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30221 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30223 2011-07-20 Andreas Schwab <schwab@redhat.com>
30225 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30228 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30231 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30232 register in order to avoid conflicts with the soft frame pointer
30233 being held in r11 when necessary.
30234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30235 (INTERNAL_VSYSCALL_NCS): Likewise.
30237 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30239 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30240 * elf/dl-fini.c (_dl_fini): Adjust caller.
30241 * elf/dl-close.c (_dl_close_worker): Likewise.
30242 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30244 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30246 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30247 "aux_cache->nlibs < 0".
30249 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30250 in the reload-count case.
30252 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30255 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30256 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30257 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30258 * sysdeps/x86_64/multiarch/strcat.S: New file.
30259 * sysdeps/x86_64/multiarch/strncat.S: New file.
30260 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30261 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30262 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30263 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30264 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30265 (USE_AS_STRCAT): Define.
30266 Add strcat and strncat support.
30267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30268 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30269 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30270 * string/strncat.c: Update.
30271 (USE_AS_STRNCAT): Define.
30272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30273 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30275 * sysdeps/x86_64/multiarch/init-arch.h
30276 (bit_Prefer_PMINUB_for_stringop): New.
30277 (index_Prefer_PMINUB_for_stringop): Likewise.
30278 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30279 bit_Prefer_PMINUB_for_stringop.
30281 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30283 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30285 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30286 of casting of buffer.
30287 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30288 buffer32 and buffer64.
30289 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30290 writes instead of casting of buffer.
30291 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30293 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30296 2011-07-19 Andreas Schwab <schwab@redhat.com>
30298 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30300 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30302 * nscd/nscd.c (termination_handler): Don't do anything for a database
30303 if it has not yet been initialized.
30305 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30307 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30309 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30311 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30313 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30315 * po/nl.po: Update from translation team.
30316 * po/sv.po: Likewise.
30318 2011-07-16 Roland McGrath <roland@hack.frob.com>
30320 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30321 now disallowed by GCC.
30323 * configure.in (use-default-link): Default to yes if a test -shared
30324 link meets our qualifications.
30325 * configure: Regenerated.
30327 * config.make.in (output-format): New variable.
30328 * configure.in: Check for ld --print-output-format support.
30329 * configure: Regenerated.
30330 * Makerules ($(common-objpfx)format.lds)
30331 [$(output-format) != unknown]: Just use $(output-format),
30332 instead of the linker-script munging.
30334 2011-07-14 Roland McGrath <roland@hack.frob.com>
30336 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30337 of $(common-objpfx)shlib.lds.
30338 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30340 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30341 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30343 * configure.in (-z relro check): Adjust test code to add a large
30344 writable data section after it.
30345 * configure: Regenerated.
30347 2011-07-11 Roland McGrath <roland@hack.frob.com>
30349 * configure.in (-z relro check): Fix test code to make the variable
30351 * configure: Regenerated.
30353 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30355 * nscd/nscd.h (struct traced_file): Define.
30356 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30357 elements. Add traced_files.
30358 (inotify_fd): Declare.
30359 (register_traced_file): Declare.
30360 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30361 (inotify_fd): Export.
30362 (resolv_conf_descr): Remove.
30363 (nscd_init): Move inotify descriptor creation to main.
30364 Don't register files for notification here.
30365 (register_traced_file): New function.
30366 (invalidate_cache): Don't use reset_res to determine whether to call
30367 res_init, go through the list of registered files.
30368 (main_loop_poll): The inotify descriptors are now stored in the
30369 structures for the traced files.
30370 (main_loop_epoll): Likewise
30371 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30372 to __nss_disable_nscd.
30373 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30374 for a database anymore. Check the records for all the registered
30376 * nss/Makefile (libnss_files-routines): Add files-init.
30377 (libnss_db-routines): Add db-init.
30378 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30379 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30380 * nss/nss_db/db-init.c: New file.
30381 * nss/nss_files/files-init.c: New file.
30382 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30383 __nss_lookup_function.
30384 (__nss_lookup_function): Call nss_load_library.
30385 (nss_load_all_libraries): New function.
30386 (__nss_disable_nscd): Take parameter with callback function for files
30387 to register. Set is_nscd. Load all the DSOs for the NSS modules
30388 used for the cached services.
30389 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30390 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30391 options for features to all the files in nscd.
30393 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30395 2011-07-10 Roland McGrath <roland@hack.frob.com>
30397 * csu/elf-init.c (__libc_csu_init): Comment typo.
30399 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30401 * po/pl.po: Update from translation team.
30402 * po/ja.po: Likewise.
30403 * po/ru.po: Likewise.
30404 * po/ko.po: Likewise.
30405 * po/fr.po: Likewise.
30407 2011-07-09 Roland McGrath <roland@hack.frob.com>
30409 * configure.in (.ctors/.dtors header and trailer check):
30410 Use an empirical test on a built program.
30411 * configure: Regenerated.
30413 * configure.in (-z relro check): Use an empirical test on a built DSO.
30414 Detect, but do not require, on ia64.
30415 * configure: Regenerated.
30417 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30418 Update tests that use readelf to use $READELF instead.
30419 * configure: Regenerated.
30421 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30423 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30424 if the result is not used.
30426 2011-07-05 Andreas Jaeger <aj@suse.de>
30429 * stdlib/tst-strtod.c: Add testcase.
30431 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30433 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30434 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30435 The latter has a higher limit. Take additional parameter to pass to
30437 (__pathconf): Pass file to __statfs_link_max.
30438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30440 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30444 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30448 (__statfs_filesize_max): Likewise.
30449 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30451 2011-07-05 Andreas Jaeger <aj@suse.de>
30453 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30455 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30457 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30459 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30462 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30464 * Makefile (strop-tests): Add strncat.
30465 * string/test-strncat.c: New file.
30467 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30469 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30471 2011-06-21 Andreas Jaeger <aj@suse.de>
30473 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30474 Copy rule from iconvdata/Makefile.
30476 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30479 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30480 but no long options are defined, just return 'W'.
30482 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30485 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30487 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30489 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30491 (innetgr): Likewise.
30493 2011-07-05 Roland McGrath <roland@hack.frob.com>
30495 * config.make.in (install_root): Default to $(DESTDIR).
30497 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30499 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30501 2011-07-02 Roland McGrath <roland@hack.frob.com>
30503 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30505 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30506 containing directory rather than embedding absolute directory names.
30508 * scripts/check-local-headers.sh: Rewritten using awk.
30509 Match by word, not by line. Print error messages for matches.
30510 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30512 * Makerules [shlib-lds-flags empty]:
30513 ($(common-objpfx)libc_pic.opts): New target.
30514 ($(common-objpfx)libc_pic.os.clean): New target.
30515 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30517 * config.make.in (OBJCOPY): New variable.
30518 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30519 * configure: Regenerated.
30521 * config.make.in (use-default-link): New variable.
30522 * configure.in (use_default_link): Grok --with-default-link to set it.
30523 * configure: Regenerated.
30524 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30525 (shlib-lds, shlib-lds-flags): Define to empty.
30527 * Makerules (shlib-lds): New variable.
30528 (shlib-lds-flags): New variable.
30529 (build-shlib, build-moduile, build-module-asneeded): Use it.
30530 ($(common-objpfx)libc.so): Use $(shlib-lds).
30531 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30532 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30534 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30535 DT_FLAGS/DT_FLAGS_1 with zero flags.
30537 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30538 linker script munging.
30540 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30542 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30544 * crypt/sha512.c (sha512_process_block): Perform total addition using
30545 128-bit if possible.
30546 (__sha512_finish_ctx): Likewise.
30547 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30549 * crypt/sha256.c (SWAP64): Define.
30550 (sha256_process_block): Perform total addition using 64-bit if
30552 (__sha256_finish_ctx): Likewise.
30554 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30556 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30558 * nscd/hstcache.c (cache_addhst): Likewise.
30559 * nscd/grpcache.c (cache_addgr): Likewise.
30560 * nscd/aicache.c (addhstaiX): Likewise
30561 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30563 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30565 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30567 * nscd/hstcache.c (cache_addhst): Likewise.
30568 * nscd/grpcache.c (cache_addgr): Likewise.
30569 * nscd/aicache.c (addhstaiX): Likewise
30571 2011-07-01 Andreas Schwab <schwab@redhat.com>
30573 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30574 domain only when needed.
30576 2011-06-30 Andreas Schwab <schwab@redhat.com>
30578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30579 is always restored.
30581 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30583 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30584 are re-adding the entry.
30585 * nscd/servicescache.c (cache_addserv): Likewise.
30587 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30589 * sysdeps/generic/dl-irel.h: fix protection against multiple
30591 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30593 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30596 * malloc/memusage.sh: Fix quoting in message.
30597 * debug/xtrace.sh: Likewise.
30599 * configure.in: Remove support for --experimental-malloc option, make
30601 * config.make.in: Likewise.
30602 * malloc/Makefile: Likewise.
30604 2011-06-27 Andreas Schwab <schwab@redhat.com>
30606 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30607 two-byte characters.
30609 2011-06-27 Roland McGrath <roland@hack.frob.com>
30611 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30612 AC_CACHE_CHECK invocation.
30613 * configure: Regenerated.
30615 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30617 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30620 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30621 bit from old_res_options.
30623 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30625 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30626 value type for setfct.
30628 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30631 __gettimeofday instead of gettimeofday.
30633 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30635 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30637 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30639 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30644 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30647 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30648 strcpy-sse2-unaligned strncpy-sse2-unaligned
30649 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30650 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30651 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30652 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30653 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30656 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30657 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30658 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30659 (STRCPY): Support SSE2 and SSSE3 versions.
30661 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30664 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30665 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30666 kernels which artificially limit size of requests.
30668 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30671 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30672 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30673 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30674 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30675 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30676 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30677 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30680 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30681 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30682 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30683 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30684 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30686 Enable unaligned load optimization for Intel Core i3, i5 and i7
30688 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30690 (index_Fast_Unaligned_Load): Define.
30691 (HAS_FAST_UNALIGNED_LOAD): Define.
30693 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30695 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30697 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30701 until it is clear that the information is realy needed.
30702 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30704 2011-06-22 Andreas Schwab <schwab@redhat.com>
30706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30708 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30711 /sys/devices/system/cpu/online if it is usable.
30713 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30714 reading the information from the /proc filesystem to once a second.
30716 2011-06-21 Andreas Jaeger <aj@suse.de>
30718 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30719 NULL after inclusion of kernel headers.
30721 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30723 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30724 calls to internal_setent.
30727 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30728 addresses using gethostbyname4_r ignore IPv4 addresses.
30730 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30731 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30733 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30735 2011-06-20 David S. Miller <davem@davemloft.net>
30737 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30739 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30741 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30742 (elf_irel): Use it.
30743 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30744 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30745 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30746 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30747 * sysdeps/x86_64/dl-irel.h: Likewise.
30749 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30750 * elf/dl-sym.c: Likewise.
30752 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30754 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30755 need to dereference resplen2.
30757 2011-06-14 Andreas Schwab <schwab@redhat.com>
30759 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30761 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30763 * Makeconfig: Define vardbdir and inst_vardbdir.
30764 * nss/Makefile: Add rules to install db-Makefile.
30766 * nss/nss_db/db-XXX.c: Cleanup.
30768 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30769 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30771 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30772 * nss/makedb.c: Implement -g option to specify that value strings
30773 are generated and should not be added to table iterated over for
30775 * nss/nss_db/db-initgroups.c: New file.
30777 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30780 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30781 (internal_getgrouplist): Adjust to name change.
30782 Update use_initgroups_entry if this is not the first call.
30783 * nss/databases.def: Add initgroups entry.
30785 * nss/makedb.c (compute_tables): Check result of multiple hash table
30786 sizes to minimize maximum chain length.
30788 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30790 * Versions.def: Add entry for libnss_db.
30791 * shlib-versions: Likewise.
30792 * nss/Makefile: Add rules to build libnss_db.
30793 * nss/Versions: Add libnss_db information. Organize libnss_files
30795 * nss/db-Makefile: Add gshadow support. Change rules for the new
30796 makedb progra. Some minor improvements to generate smaller files.
30797 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30799 * nss/makedb.c: ...here.
30800 Improve database format to be smaller and require less memory at
30802 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30804 * nss/nss_db/db-netgrp.c: Likewise.
30805 * nss/nss_db/db-open.c: Likewise.
30806 * nss/nss_files/flies-XXX.x: Adjust comments.
30807 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30808 * nss/nss_files/files-grp.c: Likewise.
30809 * nss/nss_files/files-hosts.c: Likewise.
30810 * nss/nss_files/files-network.c: Likewise.
30811 * nss/nss_files/files-proto.c: Likewise.
30812 * nss/nss_files/files-pwd.c: Likewise.
30813 * nss/nss_files/files-rpc.c: Likewise.
30814 * nss/nss_files/files-service.c: Likewise.
30815 * nss/nss_files/files-sgrp.c: Likewise.
30816 * nss/nss_files/files-spwd.c: Likewise.
30817 * nss/nss_db/db-alias.c: Removed.
30818 * nss/nss_db/dummy-db.h: Removed.
30820 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30822 * nss/makedb.c: Rewritten to not use database library.
30823 * nss/Makefile: Update to build new makedb program.
30825 2011-06-14 Andreas Jaeger <aj@suse.de>
30827 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30828 memset declaration.
30830 2011-06-10 Andreas Schwab <schwab@redhat.com>
30832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30835 2011-06-10 Roland McGrath <roland@hack.frob.com>
30837 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30838 * elf/Makefile ($(objpfx)ld.so): Likewise.
30840 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30841 Don't list ld.so twice in dependencies.
30843 * posix/bug-regex31.c: Include <stdlib.h>.
30845 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30847 * nis/nss_compat/compat-spwd.c
30848 (getspent_next_nss_netgr): Remove unused variable.
30849 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30851 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30852 nonmembers" output to use the right array.
30854 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30856 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30858 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30859 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30860 * catgets/gencat.c (read_input_file): Likewise.
30861 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30863 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30864 variable definition inside #if's controlling its use.
30866 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30868 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30870 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30872 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30875 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30877 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30878 * configure: Regenerated.
30880 * Makerules: Revert last change.
30881 * elf/Makefile: Likewise.
30883 2011-06-09 Roland McGrath <roland@hack.frob.com>
30885 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30886 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30887 (reloc-link): Likewise.
30889 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30891 * elf/Makefile: Add rules to build pldd.
30892 * elf/pldd.c: New file.
30893 * elf/pldd-xx.c: New file.
30895 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30897 * version.h: Update for 2.15 development version.
30899 2011-06-07 David S. Miller <davem@davemloft.net>
30901 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30904 elf_machine_lazy_rel): Likewise.
30905 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30907 elf_machine_lazy_rel): Likewise.
30908 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30909 dl_hwcap via passed in argument.
30910 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30913 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30915 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30917 2011-06-06 Roland McGrath <roland@hack.frob.com>
30920 * manual/fdl-1.1.texi: New file, verbatim from:
30921 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30922 * manual/lgpl-2.1.texi: New file, verbatim from:
30923 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30924 * manual/Makefile (licenses): New variable, list those new file names.
30926 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30928 * manual/fdl.texi: File removed.
30929 * manual/lesser.texi: File removed.
30930 * manual/libc.texinfo (Copying, Documentation License):
30931 Use new @include file names, put @appendix directive before @include.
30933 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30936 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30937 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30938 (mq_open): Add __NTH.
30940 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30943 Assume Intel Core i3/i5/i7 processor if AVX is available.
30945 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30950 2011-05-31 Andreas Schwab <schwab@redhat.com>
30952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30953 memory. Use alloca_account. Fix memory leak when retrying.
30955 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30957 * version.h (RELEASE): Bump for 2.14 release.
30958 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30960 * config.make.in (RANLIB): Remove entry.
30962 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30964 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30965 (libc.pot): Work around missing support for .ksh extension in xgettext.
30968 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30969 if both request failed.
30970 (send_dg): In case of server errors clear resplen or *resplen2.
30973 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30974 when there are multiple maps.
30975 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30976 (_dl_fini): Remove test here.
30978 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30980 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30983 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30984 bit from old_res_options.
30985 (gaih_inet): Likewise.
30988 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30991 * resolv/res_init.c (res_setoptions): Make the code more compact.
30994 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30998 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31000 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31003 * malloc/malloc.h: Declare malloc hook variables as volatile.
31005 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31009 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31010 raise in the comment.
31011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31012 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31013 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31015 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31018 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31019 grow the buffers more if it already has to be sufficient.
31020 (build_wcs_upper_buffer): Likewise.
31021 * posix/regexec.c (check_matching): Likewise.
31022 (clean_state_log_if_needed): Likewise.
31023 (extend_buffers): Don't enlarge buffers beyond size of the input
31025 Patches mostly by Emil Wojak <emil@wojak.eu>.
31026 * posix/bug-regex32.c: New file.
31027 * posix/Makefile (tests): Add bug-regex32.
31029 * locale/findlocale.c (_nl_find_locale): Return right away if
31030 _nl_explode_name failed.
31031 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31033 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31035 * debug/xtrace.sh: Unify messages.
31036 * malloc/memusage.sh: Likewise.
31039 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31040 time symbol from vDSO. Substitute with vsyscall if not available.
31041 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31044 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31045 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31046 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31047 Add sendmmsg and internal_sendmmsg.
31048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31049 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31050 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31052 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31053 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31056 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31059 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31060 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31062 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31066 * iconvdata/Makefile (tests): Add bug-iconv9.
31067 * iconvdata/bug-iconv9.c: New file.
31069 2011-05-27 Andreas Schwab <schwab@redhat.com>
31072 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31074 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31077 (struct user_regs_struct): Change intcs field back to cs.
31079 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31081 * po/ja.po: Update from translation team.
31083 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31086 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31087 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31089 2011-05-20 Andreas Schwab <schwab@redhat.com>
31091 * stdlib/longlong.h: Update from GCC.
31093 2011-05-23 Andreas Schwab <schwab@redhat.com>
31095 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31097 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31098 Add parameter name.
31099 (__sysconf): Pass it down.
31101 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31104 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31106 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31107 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31108 add in in __libc_use_alloca calls. Adjust callers.
31109 (glob): Use malloc in some situations.
31111 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31112 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31115 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31117 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31118 and CLOCK_BOOTTIME_ALARM.
31121 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31124 * string/_strerror.c (__strerror_r): Print negative errors as signed
31128 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31129 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31130 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31132 * configure.in: Fix typo in redirection and correct removal of test
31133 files in two cases.
31136 * locale/setlocale.c (new_composite_name): Fix test to check for
31137 identical name of all categories.
31140 * libio/filedoalloc.c (local_isatty): New function.
31141 (_IO_file_doallocate): Use local_isatty.
31142 * stdio-common/perror.c (perror): In case a new stream is used
31143 forward the stream error.
31144 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31147 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31152 * include/alloca.h (extend_alloca_account): Define.
31155 * posix/regex.h: Fix comments with documentation of user-accessible
31156 fields after compilation and describe correct free'ing of pattern
31157 after re_compile_pattern.
31158 Patch by Reuben Thomas <rrt@sc3d.org>.
31160 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31162 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31163 and -mno-altivec to prevent the compiler from using Altivec and/or
31164 VSX instructions when the corresponding registers are not available.
31166 2011-05-19 Andreas Schwab <schwab@redhat.com>
31168 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31170 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31172 * libio/freopen.c (freopen): Use __dup2, not dup2.
31173 * libio/freopen64.c (freopen64): Likewise.
31175 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31178 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31179 * math/Makefile (tests): Add test-powl.
31180 (CFLAGS-test-powl.c): Define.
31181 * math/test-powl.c: New file.
31183 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31185 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31187 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31190 * iconvdata/gb18030.c: Update to GB18020-2005.
31192 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31194 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31195 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31196 Patch by Aharon Robbins <arnold@skeeve.com>.
31199 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31203 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31204 through underflows.
31207 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31208 point to strings before performing equality test for error_one_per_line
31212 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31216 (struct user_fpregs_struct): Avoid __uint*_t types.
31219 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31220 symbol info. Use it instead of calling _dl_addr locally.
31221 (lock_and_info): New function.
31222 (tr_freehook): Call lock_and_info and pass symbol info as additional
31223 parameter to tr_where.
31224 (tr_mallochook): Likewise.
31225 (tr_reallochook): Likewise.
31226 (tr_memalignhook): Likewise.
31228 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31229 used and couldn't be at all thread-safe.
31231 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31233 * libio/freopen.c (freopen): Don't close old file descriptor
31234 before the new one is opened. Instead dup the new file descriptor
31235 to the old one after the new stream is created.
31236 * libio/freopen64.c (freopen64): Likewise.
31237 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31238 * libio/fileops.c (_IO_new_file_close_it): Handle new
31239 _IO_FLAGS2_NOCLOSE flag.
31240 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31241 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31242 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31243 _IO_FLAGS2_NOCLOSE flag.
31244 * include/unistd.h: Add hidden_proto for dup3.
31245 Define __have_dup3.
31246 * io/dup3.c: Define hidden symbol.
31247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31250 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31251 when an incomplete long option is used.
31252 * posix/tst-getopt_long1.c: New file.
31253 * posix/Makefile (tests): Add tst-getopt_long1.
31256 * scripts/config.guess: Update from autoconf-2.68.
31257 * scripts/config.sub: Likewise.
31260 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31262 (has_cpuclock): ...this. New function.
31263 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31264 macro here based on has_cpuclock code.
31267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31268 First byte (not low byte) is now always NUL.
31269 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31272 Use non-cancelable interfaces.
31275 * locale/iso-639.def: Add entry for Sorani.
31278 * include/stdlib.h: Move include protection to the right place.
31279 Define abort_msg_s. Declare __abort_msg with it.
31280 * stdlib/abort.c (__abort_msg): Adjust type.
31281 * assert/assert.c (__assert_fail_base): New function. Majority
31282 of code from __assert_fail. Allocate memory for __abort_msg with
31284 (__assert_fail): Now call __assert_fail_base.
31285 * assert/assert-perr.c: Remove bulk of implementation. Use
31286 __assert_fail_base.
31287 * include/assert.hL Declare __assert_fail_base.
31288 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31290 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31292 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31296 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31297 until all modules are registered in the DTV.
31298 * elf/Makefile: Add rules to build and run tst-tls19.
31299 * elf/tst-tls19.c: New file.
31300 * elf/tst-tls19mod1.c: New file.
31301 * elf/tst-tls19mod2.c: New file.
31302 * elf/tst-tls19mod3.c: New file.
31303 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31306 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31310 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31311 two-byte sequence errors.
31312 * iconvdata/Makefile (tests): Add bug-iconv8.
31313 * iconvdata/bug-iconv8.c: New file.
31316 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31319 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31322 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31323 (dummy_getcfa): New function.
31324 (init): Get _Unwind_GetCFA address, use dummy if not found.
31325 (backtrace_helper): In recursion check, also check whether CFA changes.
31326 (__backtrace): Completely initialize arg.
31328 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31329 storing incomplete byte sequence in state object. Avoid testing for
31330 guaranteed too small input if we know there is enough data available.
31332 2011-05-11 Andreas Schwab <schwab@redhat.com>
31334 * Makeconfig (+link-pie): Indent.
31335 * Rules (binaries-pie): Define if $(have-fpie) and
31337 (binaries-shared): Also filter out $(binaries-pie).
31338 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31339 * nscd/Makefile (others-pie): Add nscd.
31340 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31341 ($(objpfx)nscd): Remove command override.
31342 * login/Makefile (others-pie): Add pt_chown.
31343 ($(objpfx)pt_chown): Remove command override.
31344 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31345 remove command overrides.
31347 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31349 * libio/tst_putwc.c: Fix error messages.
31352 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31353 currently writing and seek to current position when not.
31354 * libio/Makefile (tests): Add bug-fclose1.
31355 * libio/bug-fclose1.c: New file.
31357 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31360 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31361 don't set DF_1_NODELETE here.
31362 (do_lookup_x): When entering new entry test for copy relocation
31363 and if necessary set DF_1_NODELETE flag.
31364 * elf/tst-unique4.cc: New file.
31365 * elf/tst-unique4.h: New file.
31366 * elf/tst-unique4lib.cc: New file.
31367 * elf/Makefile: Add rules to build and run tst-unique4.
31368 Patch by Piotr Bury <pbury@goahead.com>.
31370 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31373 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31376 * misc/mntent_r.c (addmntent): Flush the stream after the output
31379 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31380 (is_trusted_path_normalize): Skip initial colon. Append slash
31381 to empty buffer. Duplicate is_trusted_path code but allow
31382 constructed patch to be prefix.
31383 (is_dst): Allow $ORIGIN followed by /.
31384 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31385 Correct testing of result of is_trusted_path_normalize
31386 (decompose_rpath): Fix warning.
31388 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31391 * grp/initgroups.c (internal_getgrouplist): When we found the service
31392 list through the initgroups entry in nsswitch.conf do not always
31393 continue on a successful lookup. Don't always use the
31394 __nss_group_database value if it is set.
31395 * nss/nsswitch.conf (initgroups): Change action for successful db
31396 lookup to continue for compatibility.
31398 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31401 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31403 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31405 * iconvdata/tst-tables.sh: Likewise.
31406 * iconvdata/cp770.c: New file.
31407 * iconvdata/cp771.c: New file.
31408 * iconvdata/cp772.c: New file.
31409 * iconvdata/cp773.c: New file.
31410 * iconvdata/cp774.c: New file.
31411 * iconvdata/testdata/CP770: New file.
31412 * iconvdata/testdata/CP770..UTF8: New file.
31413 * iconvdata/testdata/CP771: New file.
31414 * iconvdata/testdata/CP771..UTF8: New file.
31415 * iconvdata/testdata/CP772: New file.
31416 * iconvdata/testdata/CP772..UTF8: New file.
31417 * iconvdata/testdata/CP773: New file.
31418 * iconvdata/testdata/CP773..UTF8: New file.
31419 * iconvdata/testdata/CP774: New file.
31420 * iconvdata/testdata/CP774..UTF8: New file.
31422 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31424 * iconvdata/gen-8bit-gap.sh: Likewise.
31425 * iconvdata/gen-8bit.sh: Likewise.
31427 * locale/iso-639.def: Add ary entry.
31430 * locale/C-translit.h.in: Add U20A1 transliteration.
31433 * locale/iso-639.def: Add wae entry.
31434 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31437 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31441 * locale/C-translit.h.in: Add entry for U20B9.
31442 Patch by pravin.d.s@gmail.com.
31444 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31447 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31448 ENAMETOOLONG use generic getcwd.
31449 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31450 in rtld. Use *stat64.
31451 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31452 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31453 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31454 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31455 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31456 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31457 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31458 __fstatat64 macros.
31459 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31460 * dirent/rewinddir.c: Add libc_hidden_def.
31461 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31462 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31464 * include/dirent.h (__alloc_dir): Add flags parameter.
31465 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31466 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31468 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31469 from fdopendir if O_CLOEXEC is already set.
31471 2011-03-15 Alan Modra <amodra@gmail.com>
31473 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31474 l_tls_firstbyte_offset non-zero. Save padding offset in
31475 l_tls_firstbyte_offset for later use.
31476 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31477 freeing static tls block.
31479 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31481 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31482 where #ifdef was intended. The intent is to prevent ARG_MAX from
31483 being defined by the kernel headers.
31485 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31488 * resolv/resolv.h: Define RES_NOTLDQUERY.
31489 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31490 no-tld-query and set RES_NOTLDQUERY.
31491 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31492 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31493 modern BIND to search name as TLD unless forbidden.
31495 2011-05-07 Petr Baudis <pasky@suse.cz>
31496 Ulrich Drepper <drepper@gmail.com>
31499 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31500 (is_trusted_path): ...to here.
31501 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31502 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31503 using is_trusted_path_normalize() in setuid scripts.
31505 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31507 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31508 __BEGIN/__END_DECLS.
31510 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31513 NSS_STATUS_NOTFOUND if no record was found.
31515 2011-05-05 Andreas Schwab <schwab@redhat.com>
31517 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31518 (headers-not-in-tirpc): Remove rpc/netdb.h
31519 * resolv/netdb.h: Revert last change.
31521 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31523 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31524 circular dependency between libgcc.a and libc.a.
31526 2011-05-05 Andreas Schwab <schwab@redhat.com>
31528 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31529 * nis/Makefile: Don't install rpcsvc/*.
31530 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31531 instead of <rpc/types.h>.
31532 (MAXHOSTNAMELEN): Define.
31534 2011-05-03 Andreas Schwab <schwab@redhat.com>
31536 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31538 2011-04-28 Maciej Babinski <mbabinski@google.com>
31541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31542 gethostbyname4_r when IPv6 results are possible.
31544 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31547 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31548 _PC_PIPE_BUF handling.
31550 2011-04-30 Bruno Haible <bruno@clisp.org>
31553 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31554 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31556 * inet/getnameinfo.c (getnameinfo): Likewise.
31558 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31560 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31561 to groups setting in database lookup.
31562 * nss/nsswitch.conf: Add initgroups entry.
31564 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31567 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31569 Patch by Eric Blake <eblake@redhat.com>.
31571 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31573 * sunrpc/Makefile (need-export-routines): Add svc_run.
31574 (routines): Remove svc_run.
31575 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31576 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31577 * sunrpc/svc_run.c (svc_run): Likewise.
31578 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31580 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31583 problem in reallocation in last patch.
31585 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31587 * sunrpc/Makefile: Move inclusion of Rules.
31589 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31591 * nss/nss_files/files-initgroups.c: New file.
31592 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31593 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31594 _nss_files_initgroups_dyn.
31596 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31598 * elf/elf.h (R_ARM_IRELATIVE): Define.
31600 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31602 * po/ru.po: Update from translation team.
31604 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31606 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31609 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31612 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31613 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31614 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31615 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31618 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31620 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31622 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31623 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31626 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31629 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31631 * stdlib/bug-getcontext.c: New file.
31632 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31634 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31636 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31637 instructions into .machine "z9-109".
31638 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31639 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31641 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31643 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31644 between environment variables and auxiliary vector.
31646 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31648 * Makefile: Add rules to build linkobj/libc.so.
31649 * include/libc-symbols.h: Define libc_hidden_nolink.
31650 * include/rpc/auth.h: Mark functions which are to be hidden.
31651 * include/rpc/auth_des.h: Likewise.
31652 * include/rpc/auth_unix.h: Likewise.
31653 * include/rpc/clnt.h: Likewise.
31654 * include/rpc/des_crypt.h: Likewise.
31655 * include/rpc/key_prot.h: Likewise.
31656 * include/rpc/pmap_clnt.h: Likewise.
31657 * include/rpc/pmap_prot.h: Likewise.
31658 * include/rpc/pmap_rmt.h: Likewise.
31659 * include/rpc/rpc_msg.h: Likewise.
31660 * include/rpc/svc.h: Likewise.
31661 * include/rpc/svc_auth.h: Likewise.
31662 * include/rpc/xdr.h: Likewise.
31663 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31664 * nss/Makefile: Likewise.
31665 * sunrpc/Makefile: Don't install headers. Build library with normal
31666 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31667 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31668 for the compat linking library. Remove use of INTDEF/INTUSE.
31669 * sunrpc/auth_none.c: Likewise.
31670 * sunrpc/auth_unix.c: Likewise.
31671 * sunrpc/authdes_prot.c: Likewise.
31672 * sunrpc/authuxprot.c: Likewise.
31673 * sunrpc/clnt_gen.c: Likewise.
31674 * sunrpc/clnt_perr.c: Likewise.
31675 * sunrpc/clnt_raw.c: Likewise.
31676 * sunrpc/clnt_simp.c: Likewise.
31677 * sunrpc/clnt_tcp.c: Likewise.
31678 * sunrpc/clnt_udp.c: Likewise.
31679 * sunrpc/clnt_unix.c: Likewise.
31680 * sunrpc/des_crypt.c: Likewise.
31681 * sunrpc/des_soft.c: Likewise.
31682 * sunrpc/get_myaddr.c: Likewise.
31683 * sunrpc/key_call.c: Likewise.
31684 * sunrpc/key_prot.c: Likewise.
31685 * sunrpc/netname.c: Likewise.
31686 * sunrpc/pm_getmaps.c: Likewise.
31687 * sunrpc/pm_getport.c: Likewise.
31688 * sunrpc/pmap_clnt.c: Likewise.
31689 * sunrpc/pmap_prot.c: Likewise.
31690 * sunrpc/pmap_prot2.c: Likewise.
31691 * sunrpc/pmap_rmt.c: Likewise.
31692 * sunrpc/publickey.c: Likewise.
31693 * sunrpc/rpc_cmsg.c: Likewise.
31694 * sunrpc/rpc_common.c: Likewise.
31695 * sunrpc/rpc_dtable.c: Likewise.
31696 * sunrpc/rpc_prot.c: Likewise.
31697 * sunrpc/rpc_thread.c: Likewise.
31698 * sunrpc/rtime.c: Likewise.
31699 * sunrpc/svc.c: Likewise.
31700 * sunrpc/svc_auth.c: Likewise.
31701 * sunrpc/svc_authux.c: Likewise.
31702 * sunrpc/svc_raw.c: Likewise.
31703 * sunrpc/svc_run.c: Likewise.
31704 * sunrpc/svc_simple.c: Likewise.
31705 * sunrpc/svc_tcp.c: Likewise.
31706 * sunrpc/svc_udp.c: Likewise.
31707 * sunrpc/svc_unix.c: Likewise.
31708 * sunrpc/svcauth_des.c: Likewise.
31709 * sunrpc/xcrypt.c: Likewise.
31710 * sunrpc/xdr.c: Likewise.
31711 * sunrpc/xdr_array.c: Likewise.
31712 * sunrpc/xdr_float.c: Likewise.
31713 * sunrpc/xdr_intXX_t.c: Likewise.
31714 * sunrpc/xdr_mem.c: Likewise.
31715 * sunrpc/xdr_rec.c: Likewise.
31716 * sunrpc/xdr_ref.c: Likewise.
31717 * sunrpc/xdr_sizeof.c: Likewise.
31718 * sunrpc/xdr_stdio.c: Likewise.
31720 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31723 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31724 * sysdeps/ia64/dl-tls.h: Likewise.
31725 * sysdeps/powerpc/dl-tls.h: Likewise.
31726 * sysdeps/s390/dl-tls.h: Likewise.
31727 * sysdeps/sh/dl-tls.h: Likewise.
31728 * sysdeps/sparc/dl-tls.h: Likewise.
31729 * sysdeps/x86_64/dl-tls.h: Likewise.
31730 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31732 2011-03-14 Andreas Schwab <schwab@redhat.com>
31734 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31735 rpath element also skip the following colon.
31736 (expand_dynamic_string_token): Add is_path parameter and pass
31737 down to DL_DST_REQUIRED and _dl_dst_substitute.
31738 (decompose_rpath): Call expand_dynamic_string_token with
31739 non-zero is_path. Ignore empty rpaths.
31740 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31743 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31748 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31751 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31752 Patch by Filipe David Manana <fdmanana@apache.org>.
31754 2011-04-07 Andreas Schwab <schwab@redhat.com>
31756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31757 Maintain aligned stack.
31758 (CHECK_RSP): Remove unused macro.
31760 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31762 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31763 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31765 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31767 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31769 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31771 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31774 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31775 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31776 * sysdeps/x86_64/memmove.c: New file.
31777 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31778 (memcpy): Renamed to ...
31779 (__new_memcpy): This.
31780 (memcpy): Provide GLIBC_2_14 memcpy.
31781 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31782 (memcpy): Provide GLIBC_2_2_5 memcpy.
31784 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31787 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31789 2011-03-30 Andreas Schwab <schwab@redhat.com>
31791 * misc/syncfs.c: New file.
31792 * misc/Makefile (routines): Add syncfs.
31793 * posix/unistd.h: Declare syncfs.
31794 * sysdeps/unix/syscalls.list: Add syncfs.
31796 2011-04-01 Andreas Schwab <schwab@redhat.com>
31798 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31800 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31801 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31805 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31808 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31812 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31818 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31819 sync_file_range.c with -fexceptions.
31820 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31821 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31822 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31823 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31824 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31825 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31827 sync_file_range as cancellation point
31828 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31829 now a wrapper around __call_sync_file_range with cancellation handling.
31830 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31831 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31832 function name to __call_sync_file_range.
31833 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31834 Add call_sync_file_range.
31836 2011-04-01 Andreas Schwab <schwab@redhat.com>
31838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31841 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31843 * iconv/iconv.h: Fix typo in comment.
31844 * io/fcntl.h: Likewise.
31845 * libio/stdio.h: Likewise.
31846 * posix/spawn.h: Likewise.
31847 * posix/unistd.h: Likewise.
31848 * stdlib/stdlib.h: Likewise.
31849 * time/time.h: Likewise.
31850 * wcsmbs/wchar.h: Likewise.
31852 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31853 open_by_handle): Add.
31854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31855 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31856 Augment a few comments.
31857 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31859 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31862 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31865 * io/fcntl.h (AT_EMPTY_PATH): Define.
31867 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31869 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31870 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31871 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31873 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31874 * Versions.def: Add GLIBC_2.14.
31875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31878 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31880 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31882 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31884 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31887 * string/test-strncmp.c (do_page_test): New function.
31888 (check2): Likewise.
31889 (test_main): Call check2.
31890 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31892 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31895 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31896 Handle cache information in CPU leaf 4.
31897 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31899 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31902 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31903 character representation.
31904 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31906 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31908 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31909 END(__isnan) to END(__isnanf) to match function entry point/label
31910 EALIGN(__isnanf,...).
31912 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31914 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31916 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31919 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31920 copy from the symbol referenced in the relocation to initialize the
31922 Patch by Piotr Bury <pbury@goahead.com>.
31923 * elf/Makefile: Add rules to build and tst-unique3.
31924 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31925 * elf/tst-unique3.cc: New file.
31926 * elf/tst-unique3.h: New file.
31927 * elf/tst-unique3lib.cc: New file.
31928 * elf/tst-unique3lib2.cc: New file.
31930 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31932 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31934 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31935 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31938 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31940 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31941 to-be-loaded object along a path to loader is ld.so.
31943 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31944 Ulrich Drepper <drepper@gmail.com>
31946 * sysdeps/x86_64/memset.S: After aligning destination, code
31947 branches to different locations depending on the value of
31948 misalignment, when multiarch is enabled. Fix this.
31950 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31952 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31953 Set _x86_64_preferred_memory_instruction for AMD processsors.
31954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31955 Set bit_Prefer_SSE_for_memop for AMD processors.
31957 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31959 * libio/fmemopen.c (fmemopen): Optimize a bit.
31961 2011-03-03 Andreas Schwab <schwab@redhat.com>
31963 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31965 2011-03-03 Roland McGrath <roland@redhat.com>
31967 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31969 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31971 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31972 __bzero_ultra1 instead of __memset_ultra1.
31974 2011-02-23 Andreas Schwab <schwab@redhat.com>
31975 Ulrich Drepper <drepper@gmail.com>
31978 * include/link.h (struct link_map): Add l_orig_initfini.
31979 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31980 returning unsuccessfully.
31981 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31982 close of a file loaded at startup, restore the original l_initfini
31984 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31985 list, store the pointer.
31986 * elf/Makefile ($(objpfx)noload-mem): New rule.
31987 (noload-ENV): Define.
31988 (tests): Add $(objpfx)noload-mem.
31989 * elf/noload.c: Include <memcheck.h>.
31990 (main): Call mtrace. Close all opened handles.
31992 2011-02-17 Andreas Schwab <schwab@redhat.com>
31995 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31996 dependencies are missing.
31998 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32000 Fix __if_freereq crash: Unlike the generic version which uses free,
32002 * sysdeps/mach/hurd/ifreq.h: New file.
32004 2011-01-27 Petr Baudis <pasky@suse.cz>
32005 Ulrich Drepper <drepper@gmail.com>
32008 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32009 to extend_alloca().
32010 * stdio-common/bug23.c: New file.
32011 * stdio-common/Makefile (tests): Add bug23.
32013 2010-09-28 Andreas Schwab <schwab@redhat.com>
32014 Ulrich Drepper <drepper@gmail.com>
32017 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32018 before performing relro protection. At old place add assertion
32019 to make sure nothing changed.
32021 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32022 Glauber de Oliveira Costa <glommer@gmail.com>
32024 * elf/elf.h: Add new ARM TLS relocs.
32026 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32029 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32031 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32033 * sysdeps/wordsize-64/tst-writev.c: New file.
32035 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32037 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32038 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32039 insns in _dl_start to prevent a TOC reference before relocs are
32042 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32045 * Makeconfig: Remove RANLIB definition.
32046 * Makerules: Don't use RANLIB.
32047 * aclocal.m4: Remove ranlib test.
32048 * configure.in: No need to check for ranlib.
32049 * elf/rtld-Rules: Don't use RANLIB.
32051 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32053 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32055 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32056 inclusion protection macro.
32058 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32059 SIGRTMIN and SIGRTMAX and print information in that case only when
32060 SIGRTMIN is defined.
32062 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32064 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32065 arginfo fn returning -1.
32067 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32068 and thousands string is zero terminated.
32070 2011-02-03 Andreas Schwab <schwab@redhat.com>
32072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32073 sysdeps/unix/sysv/linux/bits/socket.h.
32075 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32077 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32078 (__CPU_COUNT): Remove old macros.
32079 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32080 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32081 (__CPU_ALLOC, __CPU_FREE): Add macros.
32082 (__sched_cpualloc, __sched_cpufree): Add declarations.
32084 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32086 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32087 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32088 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32089 (readdhstai): Return value of addhstaiX call.
32090 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32091 (addgrbyX): Return value returned by cache_addgr.
32092 (readdgrbyname): Return value returned by addgrbyX.
32093 (readdgrbygid): Likewise.
32094 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32095 (addpwbyX): Return value returned by cache_addpw.
32096 (readdpwbyname): Return value returned by addhstbyX.
32097 (readdpwbyuid): Likewise.
32098 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32099 (addservbyX): Return value returned by cache_addserv.
32100 (readdservbyname): Return value returned by addservbyX:
32101 (readdservbyport): Likewise.
32102 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32103 (addhstbyX): Return value returned by cache_addhst.
32104 (readdhstbyname): Return value returned by addhstbyX.
32105 (readdhstbyaddr): Likewise.
32106 (readdhstbynamev6): Likewise.
32107 (readdhstbyaddrv6): Likewise.
32108 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32109 (readdinitgroups): Return value returned by addinitgroupsX.
32110 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32111 (prune_cache): Keep track of timeout value of re-added entries.
32112 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32113 * nscd/nscd.h: Adjust prototypes of readd* functions.
32115 2011-02-04 Roland McGrath <roland@redhat.com>
32117 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32118 (nis_stats): Likewise.
32119 * nis/nis_modify.c (nis_modify): Likewise.
32120 * nis/nis_remove.c (nis_remove): Likewise.
32121 * nis/nis_add.c (nis_add): Likewise.
32123 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32125 * posix/fnmatch_loop.c: Add some consts.
32127 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32129 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32132 * config.make.in (config-cflags-novzeroupper): Define.
32133 * configure.in: Substitute libc_cv_cc_novzeroupper.
32134 * elf/Makefile (AVX-CFLAGS): Define.
32135 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32136 (CFLAGS-tst-auditmod4a.c): Likewise.
32137 (CFLAGS-tst-auditmod4b.c): Likewise.
32138 (CFLAGS-tst-auditmod6b.c): Likewise.
32139 (CFLAGS-tst-auditmod6c.c): Likewise.
32140 (CFLAGS-tst-auditmod7b.c): Likewise.
32141 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32143 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32145 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32146 function to the callback.
32147 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32149 2011-02-02 Andreas Schwab <schwab@redhat.com>
32151 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32154 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32157 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32159 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32161 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32164 * elf/Makefile: Add rules to build and run new test.
32165 * elf/tst-initorder.c: New file.
32166 * elf/tst-initorder.exp: New file.
32167 * elf/tst-initordera1.c: New file.
32168 * elf/tst-initordera2.c: New file.
32169 * elf/tst-initordera3.c: New file.
32170 * elf/tst-initordera4.c: New file.
32171 * elf/tst-initorderb1.c: New file.
32172 * elf/tst-initorderb2.c: New file.
32173 * elf/tst-order-a1.c: New file.
32174 * elf/tst-order-a2.c: New file.
32175 * elf/tst-order-a3.c: New file.
32176 * elf/tst-order-a4.c: New file.
32177 * elf/tst-order-b1.c: New file.
32178 * elf/tst-order-b2.c: New file.
32179 * elf/tst-order-main.c: New file.
32180 New test case by George Gensure <werkt0@gmail.com>.
32182 2010-10-01 Andreas Schwab <schwab@redhat.com>
32184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32185 decoding ACE if AI_CANONIDN.
32187 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32189 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32191 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32193 * version.h (RELEASE): Bump for 2.13 release.
32194 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32196 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32198 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32200 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32202 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32203 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32204 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32207 * posix/getconf.c: Update copyright year.
32208 * catgets/gencat.c: Likewise.
32209 * csu/version.c: Likewise.
32210 * debug/catchsegv.sh: Likewise.
32211 * debug/xtrace.sh: Likewise.
32212 * elf/ldconfig.c: Likewise.
32213 * elf/ldd.bash.in: Likewise.
32214 * elf/sprof.c (print_version): Likewise.
32215 * iconv/iconv_prog.c: Likewise.
32216 * iconv/iconvconfig.c: Likewise.
32217 * locale/programs/locale.c: Likewise.
32218 * locale/programs/localedef.c: Likewise.
32219 * malloc/memusage.sh: Likewise.
32220 * malloc/mtrace.pl: Likewise.
32221 * nscd/nscd.c (print_version): Likewise.
32222 * nss/getent.c: Likewise.
32224 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32225 PF_CAIF, and PF_ALG.
32226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32228 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32230 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32231 (modules-names): Use them.
32232 (ifunc-test-modules, ifunc-pie-tests): Define.
32233 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32234 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32235 (test-extras): Likewise.
32236 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32237 $(compile-command.c).
32238 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32239 (all-built-dso): Define.
32240 (check-textrel.out, check-execstack.out): Depend on it.
32242 * configure.in: Don't override --enable-multi-arch.
32244 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32247 * nscd/hstcache.c (tryagain): Define.
32248 (cache_addhst): Return tryagain not notfound for temporary errors.
32249 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32252 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32256 to make the syscall.
32257 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32260 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32261 and fall back to matching as normal character if the string ends before
32262 the matching ']' is found. This is what POSIX requires.
32263 * posix/testfnm.c: Adjust test result.
32264 * posix/globtest.sh: Adjust test result. Add new test.
32265 * posix/tst-fnmatch.input: Likewise.
32266 * posix/tst-fnmatch2.c: Add new test.
32268 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32270 * elf/Makefile (check-execstack): Revert last change. Depend on
32272 (check-execstack.h): New target.
32273 (generated): Add check-execstack.h.
32274 * elf/check-execstack.c: Include "check-execstack.h".
32275 (main): Revert last change.
32276 (handle_file): Return zero if GNU_STACK is absent and
32277 DEFAULT_STACK_PERMS doesn't include PF_X.
32279 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32281 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32282 in child fails because the descriptor is already closed.
32283 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32284 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32285 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32288 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32292 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32293 temporary buffer used to handle multi lookups locally.
32294 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32296 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32298 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32301 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32303 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32304 alignment for SSE2.
32306 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32309 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32310 characters. When rounding increased number of integer digits recompute
32312 * stdio-common/tst-grouping.c: New file.
32313 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32315 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32317 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32318 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32320 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32322 * bits/select.h: Likewise.
32324 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32326 * po/ja.po: Update from translation team.
32328 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32331 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32332 implementation just like for lxstat, fxstatat, et al.
32334 2010-12-27 Jim Meyering <meyering@redhat.com>
32337 * posix/regexec.c (build_trtable): Return failure indication upon
32338 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32340 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32343 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32344 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32345 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32349 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32352 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32353 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32355 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32357 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32358 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32359 script has SORT_BY_INIT_PRIORITY.
32360 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32361 NO_CTORS_DTORS_SECTIONS is defined.
32362 * elf/soinit.c: Likewise.
32363 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32364 NO_CTORS_DTORS_SECTIONS is defined.
32365 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32366 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32367 * sysdeps/sh/init-first.c: Likewise.
32368 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32370 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32372 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32373 always use the slow path.
32375 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32377 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32378 similar rule which adds the sysdep directories to the header search in
32379 order to pick up the correct platform stackinfo.h.
32380 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32381 perform test if it is, otherwise return successfully without testing.
32382 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32383 DEFAULT_STACK_PERMS define in stackinfo.h.
32384 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32385 defined in stackinfo.h.
32386 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32387 DEFAULT_STACK_PERMS defined in stackinfo.h.
32388 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32389 * sysdeps/ia64/stackinfo.h: Likewise.
32390 * sysdeps/s390/stackinfo.h: Likewise.
32391 * sysdeps/sh/stackinfo.h: Likewise.
32392 * sysdeps/sparc/stackinfo.h: Likewise.
32393 * sysdeps/x86_64/stackinfo.h: Likewise.
32394 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32395 PF_X for powerpc64. Retain PF_X for powerpc32.
32397 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32399 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32401 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32402 GETDENTS_64BIT_ALIGNED.
32404 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32406 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32408 2010-12-10 Andreas Schwab <schwab@redhat.com>
32410 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32413 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32414 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32416 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32417 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32419 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32422 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32425 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32427 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32429 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32431 * po/it.po: Update from translation team.
32433 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32438 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32440 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32442 2010-11-24 Andreas Schwab <schwab@redhat.com>
32444 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32446 (gaih_getanswer_slice): Likewise.
32448 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32452 2010-05-31 Petr Baudis <pasky@suse.cz>
32455 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32456 silently even in the chroot mode.
32458 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32460 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32461 last patch a bit. Pretty printing
32463 2010-05-31 Petr Baudis <pasky@suse.cz>
32466 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32467 initialization of skip_initgroups_dyn.
32469 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32471 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32474 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32476 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32478 2010-11-11 Andreas Schwab <schwab@redhat.com>
32480 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32481 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32482 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32483 ($(objpfx)tst-fnmatch-mem): New rule.
32484 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32485 * posix/tst-fnmatch.c (main): Call mtrace.
32487 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32490 Support Intel processor model 6 and model 0x2c.
32492 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32494 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32497 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32500 * string/test-strncasecmp.c (check_result): New function.
32501 (do_one_test): Use it.
32502 (check1): New function.
32503 (test_main): Use it.
32504 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32505 Support strcasecmp and strncasecmp.
32507 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32510 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32511 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32513 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32515 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32519 * sysdeps/x86_64/multiarch/bzero.S: New file.
32520 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32521 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32522 * sysdeps/x86_64/multiarch/memset.S: New file.
32523 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32525 Set bit_Prefer_SSE_for_memop for Intel processors.
32526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32528 (index_Prefer_SSE_for_memop): Define.
32529 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32531 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32533 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32534 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32536 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32539 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32540 (__x86_64_raw_data_cache_size_half): Likewise.
32541 (__x86_64_raw_shared_cache_size): Likewise.
32542 (__x86_64_raw_shared_cache_size_half): Likewise.
32544 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32545 (__x86_64_raw_data_cache_size_half): Likewise.
32546 (__x86_64_raw_shared_cache_size): Likewise.
32547 (__x86_64_raw_shared_cache_size_half): Likewise.
32548 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32549 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32550 and __x86_64_raw_shared_cache_size_half. Round
32551 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32552 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32553 to multiple of 256 bytes.
32555 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32558 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32559 of inacessible symlinks. Verify result of symlink before returning it.
32560 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32561 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32563 2010-10-28 Erich Ritz <erichritz@gmail.com>
32565 * math/math.h (isinf): Fix typo in comment.
32567 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32569 * po/da.po: Update from translation team.
32571 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32573 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32574 is added to the list.
32576 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32577 Ulrich Drepper <drepper@gmail.com>
32579 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32580 the global list here. Move code to...
32581 (_dl_add_to_namespace_list): ...here. New function.
32582 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32583 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32584 * elf/dl-load.c (lose): Don't remove the element from the list.
32585 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32586 (_dl_map_object): Likewise.
32588 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32591 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32592 into all bytes of SSE register.
32593 Patch by Richard Li <richardpku@gmail.com>.
32595 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32598 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32601 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32603 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32604 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32606 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32611 2010-10-22 Andreas Schwab <schwab@redhat.com>
32613 * include/dlfcn.h (__RTLD_SECURE): Define.
32614 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32615 mode & __RTLD_SECURE instead.
32616 (open_path): Rename preloaded parameter to secure.
32617 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32618 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32619 * elf/dl-deps.c (openaux): Likewise.
32620 * elf/rtld.c (struct map_args): Remove is_preloaded.
32621 (map_doit): Don't use it.
32622 (dl_main): Likewise.
32623 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32624 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32626 2010-09-09 Andreas Schwab <schwab@redhat.com>
32628 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32629 (sysd-rules-targets): Remove duplicates.
32630 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32631 rtld-%.$o dependency.
32633 2010-10-18 Andreas Schwab <schwab@redhat.com>
32635 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32636 _dl_map_object do it.
32638 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32640 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32641 fast fma builtins, define the macros in the C99 standard.
32642 (FP_FAST_FMAF): Likewise.
32643 (FP_FAST_FMAL): Likewise.
32644 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32646 * bits/mathdef.h: Update copyright year.
32647 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32649 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32651 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32652 builtins, define the macros in the C99 standard.
32653 (FP_FAST_FMAF): Likewise.
32654 (FP_FAST_FMAL): Likewise.
32655 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32657 (FP_FAST_FMAF): Likewise.
32659 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32662 * math/libm-test.inc (fma_test): Some new testcases.
32663 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32664 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32665 y and infinite z. Do multiplication by C already in long double.
32666 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32668 y and infinite z. Do bitwise or of inexact bit into u.d.
32669 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32670 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32671 * sysdeps/i386/fpu/s_fma.S: Removed.
32672 * sysdeps/i386/fpu/s_fmal.S: Removed.
32674 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32677 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32679 computation is not scheduled after fetestexcept. Fix value
32680 of minimum denormal long double.
32682 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32685 * math/libm-test.inc (fma_test): Add some more tests.
32686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32689 2010-10-15 Andreas Schwab <schwab@redhat.com>
32691 * scripts/data/localplt-s390-linux-gnu.data: New file.
32692 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32694 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32697 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32698 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32700 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32702 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32704 if one of x and y is very large and the other is subnormal.
32705 * sysdeps/s390/fpu/s_fmaf.c: New file.
32706 * sysdeps/s390/fpu/s_fma.c: New file.
32707 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32708 * sysdeps/powerpc/fpu/s_fma.S: New file.
32709 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32710 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32711 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32713 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32716 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32719 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32720 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32721 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32722 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32723 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32726 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32729 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32730 * posix/bug-regex31.input: Add test case.
32732 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32734 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32735 * posix/bug-regex31.input: New file.
32738 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32739 (parse_sub_exp): Fix last change, use postorder.
32741 * posix/bug-regex31.c: New file.
32742 * posix/Makefile: Add rules to build and run bug-regex31.
32744 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32747 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32750 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32751 to have entries in sys_siglist.
32754 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32757 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32760 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32761 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32762 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32763 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32764 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32765 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32766 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32767 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32768 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32769 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32770 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32771 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32772 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32773 * math/ftestexcept.c (fetestexcept): Likewise.
32774 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32775 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32776 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32777 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32778 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32779 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32780 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32782 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32785 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32788 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32790 * string/bug-strstr1.c: New file.
32791 * string/Makefile: Add rules to build and run bug-strstr1.
32793 2010-10-05 Eric Blake <eblake@redhat.com>
32796 * string/str-two-way.h (two_way_long_needle): Always clear memory
32797 when skipping input due to the shift table.
32799 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32802 * malloc/mcheck.c: Handle large requests.
32805 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32806 for strncmp and strncasecmp.
32807 * string/stratcliff.c: Add tests for strcmp and strncmp.
32808 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32810 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32812 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32815 2010-09-30 Andreas Jaeger <aj@suse.de>
32817 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32818 (CGROUP_SUPER_MAGIC): Define.
32819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32820 Handle btrfs and cgroup file systems.
32821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32824 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32826 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32827 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32829 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32832 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32833 trying to locate the ELF header.
32835 2010-09-27 Andreas Schwab <schwab@redhat.com>
32838 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32839 Mask out sign-bit copies when constructing f_fsid.
32841 2010-09-24 Petr Baudis <pasky@suse.cz>
32843 * debug/stack_chk_fail_local.c: Add missing licence exception.
32844 * debug/warning-nop.c: Likewise.
32846 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32848 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32849 implementing getdents64 using getdents syscall, set d_type if
32850 __ASSUME_GETDENTS32_D_TYPE.
32852 2010-09-16 Andreas Schwab <schwab@redhat.com>
32854 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32855 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32857 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32860 * posix/unistd.h: Undo change of feature selection for ftruncate from
32863 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32865 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32868 2010-09-20 Andreas Schwab <schwab@redhat.com>
32870 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32872 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32874 2010-09-14 Andreas Schwab <schwab@redhat.com>
32876 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32877 variables after CHECK_SP call.
32878 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32880 2010-09-13 Andreas Schwab <schwab@redhat.com>
32881 Ulrich Drepper <drepper@redhat.com>
32883 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32884 re-relocationg ld.so.
32885 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32886 _dl_init_paths call.
32887 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32890 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32892 * resolv/res_init.c (__res_vinit): Count the default server we added.
32894 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32895 Ulrich Drepper <drepper@redhat.com>
32898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32899 (____longjmp_chk): Use %ebx for saving value across system call.
32902 2010-09-06 Andreas Schwab <schwab@redhat.com>
32904 * manual/Makefile: Don't mix pattern rules with normal rules.
32906 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32908 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32910 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32911 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32912 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32913 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32917 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32920 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32921 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32923 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32925 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32926 * sysdeps/x86_64/addmul_1.S: Likewise.
32927 * sysdeps/x86_64/lshift.S: Likewise.
32928 * sysdeps/x86_64/mul_1.S: Likewise.
32929 * sysdeps/x86_64/rshift.S: Likewise.
32930 * sysdeps/x86_64/sub_n.S: Likewise.
32931 * sysdeps/x86_64/submul_1.S: Likewise.
32933 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32935 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32936 Define __sched_param instead of SCHED_* and sched_param when
32937 <bits/sched.h> is included with __need_schedparam defined.
32938 * bits/sched.h [__need_schedparam]
32939 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32940 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32941 (__defined_schedparam): Define to 1.
32942 (__sched_param): New structure, identical to sched_param.
32943 (__need_schedparam): Undefine.
32945 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32948 (epoll_create1): Declare.
32950 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32952 2010-08-31 Andreas Schwab <schwab@redhat.com>
32955 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32956 shifting retval into place.
32958 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32960 * nis/rpcsvc/nis.h: Update copyright notice.
32961 * nis/rpcsvc/nis.x: Likewise.
32962 * nis/rpcsvc/nis_callback.h: Likewise.
32963 * nis/rpcsvc/nis_callback.x: Likewise.
32964 * nis/rpcsvc/nis_object.x: Likewise.
32965 * nis/rpcsvc/nis_tags.h: Likewise.
32966 * nis/rpcsvc/yp.h: Likewise.
32967 * nis/rpcsvc/yp.x: Likewise.
32968 * nis/rpcsvc/ypupd.h: Likewise.
32969 * nis/yp_xdr.c: Likewise.
32970 * nis/ypupdate_xdr.c: Likewise.
32972 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32973 mainly the body of pmap_getport. Add parameters to specify timeouts.
32974 (pmap_getport): Use __libc_rpc_getport.
32975 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32976 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32977 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32979 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32984 2010-08-27 Roland McGrath <roland@redhat.com>
32986 * sysdeps/i386/i686/multiarch/Makefile
32987 (CFLAGS-varshift.c): New variable.
32989 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32991 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32992 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32996 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32998 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33000 * sysdeps/x86_64/strlen.S: Unroll the loop.
33001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33002 strlen-sse2 strlen-sse2-bsf.
33003 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33004 __strlen_no_bsf if bit_Slow_BSF is set.
33005 (__strlen_sse42): Removed.
33006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33007 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33009 2010-08-25 Roland McGrath <roland@redhat.com>
33011 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33012 * sysdeps/x86_64/multiarch/varshift.c: New file.
33013 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33014 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33015 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33016 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33018 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33021 strlen-sse2 strlen-sse2-bsf.
33022 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33023 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33024 (__strlen_sse2): Removed.
33025 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33028 bit_Slow_BSF for Atom.
33029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33030 (index_Slow_BSF): Define.
33031 (HAS_SLOW_BSF): Define.
33033 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33036 * resolv/res_init.c (__res_vinit): When no server address at all
33037 is given default to loopback.
33039 2010-08-24 Roland McGrath <roland@redhat.com>
33041 * configure.in: Remove config-name.h generation.
33042 * configure: Regenerated.
33043 * config-name.in: File removed.
33044 * scripts/config-uname.sh: New file.
33045 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33046 ($(objdir)config-name.h): New target.
33048 * sunrpc/rpc_parse.h: Avoid nested comment.
33050 2010-08-24 Richard Henderson <rth@redhat.com>
33051 Ulrich Drepper <drepper@redhat.com>
33052 H.J. Lu <hongjiu.lu@intel.com>
33054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33056 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33057 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33058 _mm_alignr_epi8 with _mm_loadu_si128.
33059 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33060 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33061 (__m128i_shift_right): Removed.
33062 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33063 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33064 * sysdeps/x86_64/multiarch/varshift.h: New file.
33065 * sysdeps/x86_64/multiarch/varshift.S: New file.
33067 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33069 * configure.in: Move assembler checks to before sysdep dir checking.
33071 2010-08-20 Petr Baudis <pasky@suse.cz>
33073 * LICENSES: Sync the sunrpc license.
33075 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33077 * sunrpc/auth_des.c: Update copyright notice once again.
33078 * sunrpc/auth_none.c: Likewise.
33079 * sunrpc/auth_unix.c: Likewise.
33080 * sunrpc/authdes_prot.c: Likewise.
33081 * sunrpc/authuxprot.c: Likewise.
33082 * sunrpc/bindrsvprt.c: Likewise.
33083 * sunrpc/clnt_gen.c: Likewise.
33084 * sunrpc/clnt_perr.c: Likewise.
33085 * sunrpc/clnt_raw.c: Likewise.
33086 * sunrpc/clnt_simp.c: Likewise.
33087 * sunrpc/clnt_tcp.c: Likewise.
33088 * sunrpc/clnt_udp.c: Likewise.
33089 * sunrpc/clnt_unix.c: Likewise.
33090 * sunrpc/des_crypt.c: Likewise.
33091 * sunrpc/des_soft.c: Likewise.
33092 * sunrpc/get_myaddr.c: Likewise.
33093 * sunrpc/getrpcport.c: Likewise.
33094 * sunrpc/key_call.c: Likewise.
33095 * sunrpc/key_prot.c: Likewise.
33096 * sunrpc/openchild.c: Likewise.
33097 * sunrpc/pm_getmaps.c: Likewise.
33098 * sunrpc/pm_getport.c: Likewise.
33099 * sunrpc/pmap_clnt.c: Likewise.
33100 * sunrpc/pmap_prot.c: Likewise.
33101 * sunrpc/pmap_prot2.c: Likewise.
33102 * sunrpc/pmap_rmt.c: Likewise.
33103 * sunrpc/rpc/auth.h: Likewise.
33104 * sunrpc/rpc/auth_unix.h: Likewise.
33105 * sunrpc/rpc/clnt.h: Likewise.
33106 * sunrpc/rpc/des_crypt.h: Likewise.
33107 * sunrpc/rpc/key_prot.h: Likewise.
33108 * sunrpc/rpc/netdb.h: Likewise.
33109 * sunrpc/rpc/pmap_clnt.h: Likewise.
33110 * sunrpc/rpc/pmap_prot.h: Likewise.
33111 * sunrpc/rpc/pmap_rmt.h: Likewise.
33112 * sunrpc/rpc/rpc.h: Likewise.
33113 * sunrpc/rpc/rpc_des.h: Likewise.
33114 * sunrpc/rpc/rpc_msg.h: Likewise.
33115 * sunrpc/rpc/svc.h: Likewise.
33116 * sunrpc/rpc/svc_auth.h: Likewise.
33117 * sunrpc/rpc/types.h: Likewise.
33118 * sunrpc/rpc/xdr.h: Likewise.
33119 * sunrpc/rpc_clntout.c: Likewise.
33120 * sunrpc/rpc_cmsg.c: Likewise.
33121 * sunrpc/rpc_common.c: Likewise.
33122 * sunrpc/rpc_cout.c: Likewise.
33123 * sunrpc/rpc_dtable.c: Likewise.
33124 * sunrpc/rpc_hout.c: Likewise.
33125 * sunrpc/rpc_main.c: Likewise.
33126 * sunrpc/rpc_parse.c: Likewise.
33127 * sunrpc/rpc_parse.h: Likewise.
33128 * sunrpc/rpc_prot.c: Likewise.
33129 * sunrpc/rpc_sample.c: Likewise.
33130 * sunrpc/rpc_scan.c: Likewise.
33131 * sunrpc/rpc_scan.h: Likewise.
33132 * sunrpc/rpc_svcout.c: Likewise.
33133 * sunrpc/rpc_tblout.c: Likewise.
33134 * sunrpc/rpc_util.c: Likewise.
33135 * sunrpc/rpc_util.h: Likewise.
33136 * sunrpc/rpcinfo.c: Likewise.
33137 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33138 * sunrpc/rpcsvc/key_prot.x: Likewise.
33139 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33140 * sunrpc/rpcsvc/mount.x: Likewise.
33141 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33142 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33143 * sunrpc/rpcsvc/rex.x: Likewise.
33144 * sunrpc/rpcsvc/rstat.x: Likewise.
33145 * sunrpc/rpcsvc/rusers.x: Likewise.
33146 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33147 * sunrpc/rpcsvc/spray.x: Likewise.
33148 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33149 * sunrpc/rtime.c: Likewise.
33150 * sunrpc/svc.c: Likewise.
33151 * sunrpc/svc_auth.c: Likewise.
33152 * sunrpc/svc_authux.c: Likewise.
33153 * sunrpc/svc_raw.c: Likewise.
33154 * sunrpc/svc_run.c: Likewise.
33155 * sunrpc/svc_simple.c: Likewise.
33156 * sunrpc/svc_tcp.c: Likewise.
33157 * sunrpc/svc_udp.c: Likewise.
33158 * sunrpc/svc_unix.c: Likewise.
33159 * sunrpc/svcauth_des.c: Likewise.
33160 * sunrpc/xcrypt.c: Likewise.
33161 * sunrpc/xdr.c: Likewise.
33162 * sunrpc/xdr_array.c: Likewise.
33163 * sunrpc/xdr_float.c: Likewise.
33164 * sunrpc/xdr_mem.c: Likewise.
33165 * sunrpc/xdr_rec.c: Likewise.
33166 * sunrpc/xdr_ref.c: Likewise.
33167 * sunrpc/xdr_sizeof.c: Likewise.
33168 * sunrpc/xdr_stdio.c: Likewise.
33170 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33173 2010-08-19 Andreas Schwab <schwab@redhat.com>
33175 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33177 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33179 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33180 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33181 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33182 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33183 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33184 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33185 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33186 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33187 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33188 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33189 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33190 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33191 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33192 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33194 2010-07-26 Anton Blanchard <anton@samba.org>
33196 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33197 * malloc/arena.c (heap_trim): Likewise.
33199 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33201 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33204 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33206 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33208 * sysdeps/i386/elf/Makefile: New file.
33210 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33212 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33213 from fanotify_init.
33214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33215 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33217 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33219 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33221 * sysdeps/multiarch/strcmp.S: Likewise.
33223 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33225 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33226 strncase_l-nonascii.
33227 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33228 Add strncase_l-ssse3.
33229 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33230 * sysdeps/x86_64/strcmp.S: Likewise.
33231 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33232 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33233 * sysdeps/x86_64/strncase.S: New file.
33234 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33235 * sysdeps/x86_64/strncase_l.S: New file.
33236 * string/Makefile (strop-tests): Add strncasecmp.
33237 * string/test-strncasecmp.c: New file.
33239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33242 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33243 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33245 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33247 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33249 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33251 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33252 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33255 2010-05-01 Alan Modra <amodra@gmail.com>
33257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33258 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33259 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33260 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33261 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33262 tidying. Don't tail-call __sigjmp_save for static lib.
33263 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33265 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33266 (CALL_MCOUNT): Add eh info, and nop after bl.
33267 (TAIL_CALL_SYSCALL_ERROR): New macro.
33268 (PSEUDO_RET): Use it.
33269 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33270 Correct save location of integer regs and cr.
33271 (_dl_profile_resolve): Correct cr save location. Delete nops
33272 after bl when SHARED. Reduce cfi size a little by better
33273 placement of cfi directives.
33274 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33275 make a stack frame. Instead use parm save area as a temp.
33276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33277 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33279 Don't make a stack frame for parent, use parm save area.
33280 Increase child stack frame to 112 bytes. Don't save unused reg,
33281 and adjust reg usage. Set up cfi on error recovery and
33282 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33284 (__makecontext): Add dummy nop after jump to exit.
33285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33286 Use correct parm save area and cr save, reduce stack frame.
33287 Correct cfi for possible PSEUDO_RET frame setup.
33288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33289 Branch to local label emitted by PSEUDO_RET rather than
33292 2010-08-12 Andreas Schwab <schwab@redhat.com>
33295 * locale/programs/locale.c (print_assignment): New function.
33296 (show_locale_vars): Use it.
33298 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33300 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33302 (struct statfs64): Likewise.
33303 (_STATFS_F_FLAGS): Define.
33304 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33306 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33307 (ST_VALID): Define locally.
33308 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33309 __statvfs_getflags, use the provided value.
33310 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33311 __ASSUME_STATFS_F_FLAGS.
33313 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33315 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33316 Add sys/fanotify.h.
33317 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33318 fanotify_mask for GLIBC_2.13.
33319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33320 fanotify_init and fanotify_mark.
33321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33322 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33324 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33326 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33327 prlimit64 for GLIBC_2.13.
33328 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33334 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33335 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33338 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33341 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33342 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33344 * nss/Makefile: Add rules to build and run tst-nss-test1.
33345 * shlib-versions: Add entry for libnss_test1.
33346 * nss/nss_test1.c: New file.
33347 * nss/tst-nss-test1.c: New file.
33349 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33350 (__nss_configure_lookup): Set appropriate entry in
33351 __nss_configure_lookup to true.
33352 * nss/nsswitch.h: Define enum with indeces of databases in
33353 databases and __nss_database_custom arrays. Declare
33354 __nss_database_custom.
33355 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33356 to avoid using nscd when custom rules are installed.
33357 * nss/getXXbyYY_r.c: Likewise.
33358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33360 * nss/nss_files/files-parse.c: Whitespace fixes.
33362 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33365 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33366 * posix/fnmatch_loop.c: Likewise.
33368 2010-07-17 Andi Kleen <ak@linux.intel.com>
33370 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33371 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33372 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33373 * Versions.def [GLIBC_2.13]: Add.
33375 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33377 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33378 Also fail if tpwd after pwuid call is NULL.
33380 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33382 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33383 when converting to ms.
33385 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33387 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33388 EOPNOTSUPP errors with ENOTTY.
33389 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33390 EOPNOTSUPP errors with ENOTTY.
33392 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33394 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33395 Add strcasecmp_l-ssse3.
33396 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33398 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33399 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33400 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33402 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33404 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33406 * string/Makefile (strop-tests): Add strcasecmp.
33407 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33408 strcasecmp_l-nonascii.
33409 (gen-as-const-headers): Add locale-defines.sym.
33410 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33411 * sysdeps/x86_64/strcasecmp.S: New file.
33412 * sysdeps/x86_64/strcasecmp_l.S: New file.
33413 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33414 * sysdeps/x86_64/locale-defines.sym: New file.
33415 * string/test-strcasecmp.c: New file.
33417 * string/test-strcasestr.c: Test both ends of the range of characters.
33418 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33420 2010-07-29 Roland McGrath <roland@redhat.com>
33423 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33425 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33427 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33430 2010-07-27 Andreas Schwab <schwab@redhat.com>
33432 * manual/memory.texi (Malloc Tunable Parameters): Document
33435 2010-07-26 Roland McGrath <roland@redhat.com>
33438 * configure.in (-fgnu89-inline check): Set and substitute
33439 gnu89_inline, not libc_cv_gnu89_inline.
33440 * configure: Regenerated.
33441 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33443 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33445 * string/test-strnlen.c: New file.
33446 * string/Makefile (strop-tests): Add strnlen.
33447 * string/tester.c (test_strnlen): Add a few more test cases.
33448 * string/tst-strlen.c: Better error reporting.
33450 * sysdeps/x86_64/strnlen.S: New file.
33452 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33454 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33455 lower-latency instructions.
33457 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33459 * string/test-strcasestr.c: New file.
33460 * string/test-strstr.c: New file.
33461 * string/Makefile (strop-tests): Add strstr and strcasestr.
33462 * string/str-two-way.h: Don't undefine MAX.
33463 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33465 2010-07-21 Andreas Schwab <schwab@redhat.com>
33467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33468 strcasestr-nonascii.
33469 (CFLAGS-strcasestr-nonascii.c): Define.
33470 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33471 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33472 Remove unused attribute.
33474 2010-07-20 Roland McGrath <roland@redhat.com>
33476 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33477 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33478 ld.so.cache was broken. With it, there is no way to disable dsocaps
33479 like LD_HWCAP_MASK can disable hwcaps.
33481 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33483 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33485 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33487 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33488 call in strcasestr.
33489 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33490 __strcasestr_sse42_nonascii.
33491 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33492 strcasestr-nonascii.c.
33493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33495 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33497 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33498 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33499 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33502 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33504 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33507 2010-07-06 Andreas Schwab <schwab@redhat.com>
33510 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33513 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33515 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33516 _PC_PIPE_BUF using F_GETPIPE_SZ.
33518 2010-07-05 Roland McGrath <roland@redhat.com>
33520 * manual/arith.texi (Rounding Functions): Fix rint description
33521 implicit in round description.
33523 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33525 * elf/Makefile: Fix linking for a few tests to make recent linker
33528 2010-06-30 Andreas Schwab <schwab@redhat.com>
33530 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33531 $(common-objpfx)libc_nonshared.a.
33533 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33535 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33536 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33537 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33538 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33539 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33540 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33541 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33542 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33557 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33558 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33559 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33560 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33561 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33562 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33563 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33564 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33565 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33566 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33567 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33568 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33584 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33586 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33587 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33588 * string/memmove.c (memmove): Renamed to ...
33589 (MEMMOVE): ...this. Default to memmove.
33590 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33591 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33594 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33595 mempcpy-ssse3-back memmove-ssse3-back.
33596 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33599 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33600 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33601 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33602 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33603 * sysdeps/x86_64/multiarch/memmove.c: New file.
33604 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33605 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33606 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33607 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33608 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33609 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33611 (index_Fast_Copy_Backward): Define.
33612 (HAS_ARCH_FEATURE): Define.
33613 (HAS_FAST_REP_STRING): Define.
33614 (HAS_FAST_COPY_BACKWARD): Define.
33616 2010-06-21 Andreas Schwab <schwab@redhat.com>
33618 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33619 Restore proper fallback handling.
33621 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33624 * posix/group_member.c (__group_member): Correct checking loop.
33626 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33627 OOM in getpwuid_r correctly. Return error number when the caller
33628 should return, otherwise -1.
33629 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33630 call returning > 0 value.
33631 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33633 2010-06-07 Andreas Schwab <schwab@redhat.com>
33635 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33636 libc_nonshared.a from targets in modules-names.
33638 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33640 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33643 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33645 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33650 2010-06-02 Andreas Schwab <schwab@redhat.com>
33652 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33654 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33656 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33663 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33665 2010-06-14 Roland McGrath <roland@redhat.com>
33667 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33669 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33671 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33672 __REDIRECT followed by __THROW.
33673 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33674 * posix/getopt.h (getopt): Likewise.
33676 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33678 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33679 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33680 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33682 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33683 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33685 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33689 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33693 Properly check family and model.
33695 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33697 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33699 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33701 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33703 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33705 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33708 2010-05-19 Andreas Schwab <schwab@redhat.com>
33710 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33713 2010-05-21 Andreas Schwab <schwab@redhat.com>
33715 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33716 and internal_recvmmsg.
33717 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33718 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33719 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33720 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33722 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33723 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33724 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33726 2010-05-20 Andreas Schwab <schwab@redhat.com>
33728 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33730 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33732 POWER7 optimizations.
33733 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33734 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33736 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33738 * version.h: Update for 2.13 development version.
33740 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33742 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33743 exceptions. Return 0.
33745 2010-05-07 Roland McGrath <roland@redhat.com>
33747 * elf/ldconfig.c (main): Add a const.
33749 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33751 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33752 (args_options): Add no-idn option.
33753 (ahosts_keys_int): Add idn_flags to ai_flags.
33754 (parse_option): Handle 'i' option to clear idn_flags.
33756 * malloc/malloc.c (_int_free): Possible race in the most recently
33757 added check. Only act on the data if no current modification
33760 See ChangeLog.17 for earlier changes.