1 2013-10-04 Alan Modra <amodra@gmail.com>
3 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5 words of double from correct stack offsets.
6 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24 2013-10-04 Alan Modra <amodra@gmail.com>
26 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27 64-bit int/double union.
28 (_FPU_SETCW): Likewise.
29 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32 2013-10-04 Alan Modra <amodra@gmail.com>
34 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37 2013-10-04 Alan Modra <amodra@gmail.com>
39 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40 use vector int constants.
41 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
53 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
64 (__signbit): Likewise. Correct for little-endian.
65 (__signbitl): Call __signbit.
66 (lrint): Correct for little-endian.
69 2013-10-04 Alan Modra <amodra@gmail.com>
71 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
72 union 32-bit int array member with 64-bit int array.
73 (t515, tm256): Double rather than long double.
74 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
76 2013-10-04 Alan Modra <amodra@gmail.com>
78 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
80 (IEEE854_LONG_DOUBLE_BIAS): Delete.
81 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
82 version of math_ldbl.h.
84 2013-10-04 Alan Modra <amodra@gmail.com>
86 [BZ #15734], [BZ #15735]
87 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
88 all uses of ieee875 long double macros and unions. Simplify test
89 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
90 ldbl_extract_mantissa value for ix,iy exponents. Properly
91 normalize after ldbl_extract_mantissa, and don't add hidden bit
92 already handled. Don't treat low word of ieee854 mantissa like
93 low word of IBM long double and mask off bit when testing for
95 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
96 all uses of ieee875 long double macros and unions. Simplify tests
97 for 0.0L and inf. Correct double adjustment of k. Delete dead code
98 adjusting ha,hb. Simplify code setting kld. Delete two600 and
99 two1022, instead use their values. Recognise that tests for large
100 "a" and small "b" are mutually exclusive. Rename vars. Comment.
101 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
102 Rewrite all uses of ieee875 long double macros and unions. Simplify
103 test for 0.0L and nan. Correct negation.
104 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
105 ieee875 long double macros and unions. Correct output for large
106 magnitude x. Correct absolute value calculation.
108 * math/libm-test.inc: Add tests for errors discovered in IBM long
109 double versions of fmodl, remainderl, erfl and erfcl.
111 2013-10-04 Alan Modra <amodra@gmail.com>
113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
114 all uses of ieee854 long double macros and unions. Simplify tests
115 for long doubles that are fully specified by the high double.
116 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
118 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
119 Remove dead code too.
120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
121 (__ieee754_ynl): Likewise.
122 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
123 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
124 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
125 Remove dead code too.
126 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
127 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
128 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
129 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
131 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
133 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
134 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
135 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
136 Comment on variable precision.
137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
138 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
140 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
143 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
144 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
146 2013-10-04 Alan Modra <amodra@gmail.com>
148 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
149 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
150 all uses of ieee854 long double macros and unions.
151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
152 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
153 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
155 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
158 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
159 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
160 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
162 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
163 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
164 Simplify sign and nan test too.
165 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
167 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
168 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
171 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
174 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
175 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
176 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
177 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
180 2013-10-04 Alan Modra <amodra@gmail.com>
182 * stdio-common/printf_size.c (__printf_size): Don't use
183 union ieee854_long_double in fpnum union.
184 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
185 signbit macro to retrieve sign from long double.
186 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
187 retrieve sign from long double.
188 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
189 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
190 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
191 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
192 * math/test-misc.c (main): Don't use union ieee854_long_double.
194 2013-10-04 Alan Modra <amodra@gmail.com>
197 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
198 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
199 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
200 calculation. Remove unnecessary test for denormal exponent.
201 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
202 Correct handling of denormals. Avoid undefined shift behaviour.
203 Correct normalisation of low mantissa when low double is denormal.
204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
205 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
206 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
207 Correct normalisation of low mantissa. Test for overflow of high
208 mantissa and normalise.
209 (ldbl_nearbyint): Use more readable constant for two52.
210 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
211 (__mpn_construct_long_double): Fix test for overflow of high
212 mantissa and correct normalisation. Avoid undefined shift.
214 2013-10-04 Alan Modra <amodra@gmail.com>
216 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
217 (union ibm_extended_long_double): Define as an array of ieee754_double.
218 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
220 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
221 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
223 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
225 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
227 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
228 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
230 2013-10-03 Joseph Myers <joseph@codesourcery.com>
232 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
233 page size instead of calling getpagesize.
235 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
236 (LOCFILE_ALIGN_MASK): Likewise.
237 (LOCFILE_ALIGN_UP): Likewise.
238 (LOCFILE_ALIGNED_P): Likewise.
239 * locale/programs/ld-collate.c (collate_output): Use the new
240 macros instead of __alignof__ (int32_t).
241 * locale/weight.h (findidx): Likewise.
243 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
246 * manual/string.texi: Fix strncat and wcsncat.
248 2013-10-03 Brooks Moses <bmoses@google.com>
251 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
252 * Makerules: ...here, and adjust associated comments.
254 2013-10-02 Will Newton <will.newton@linaro.org>
256 * malloc/Makefile: Add tst-pvalloc.
257 * malloc/tst-pvalloc.c: New file.
259 2013-10-02 Will Newton <will.newton@linaro.org>
261 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
262 improve test coverage.
264 2013-10-02 Will Newton <will.newton@linaro.org>
266 * malloc/Makefile: Add tst-posix_memalign.
267 * malloc/tst-posix_memalign.c: New file.
269 2013-10-01 Eric Blake <eblake@redhat.com>
271 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
272 Use __THROWNL rather than __THROW on static functions.
274 2013-09-30 Petr Machata <pmachata@redhat.com>
276 * elf/elf.h (R_AARCH64_ABS16): New macro.
277 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
278 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
279 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
280 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
281 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
282 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
283 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
284 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
285 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
286 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
287 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
288 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
289 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
290 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
291 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
292 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
293 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
294 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
295 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
296 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
297 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
298 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
299 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
300 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
301 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
302 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
303 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
304 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
305 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
306 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
307 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
308 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
309 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
310 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
311 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
312 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
313 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
314 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
315 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
316 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
317 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
318 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
319 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
320 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
321 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
322 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
323 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
324 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
325 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
326 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
327 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
328 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
329 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
330 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
331 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
332 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
333 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
334 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
335 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
336 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
337 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
338 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
339 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
340 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
341 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
342 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
343 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
344 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
345 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
346 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
347 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
348 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
349 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
350 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
351 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
352 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
353 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
354 (R_AARCH64_TLSDESC_LDR): Likewise.
355 (R_AARCH64_TLSDESC_ADD): Likewise.
356 (R_AARCH64_TLSDESC_CALL): Likewise.
358 2013-09-30 Andreas Schwab <schwab@suse.de>
361 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
362 the nss database lookup.
363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
366 2013-09-28 Mike Frysinger <vapier@gentoo.org>
368 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
370 2013-09-28 P. J. McDermott <pj@pehjota.net>
372 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
373 ${Bash-specific parameter/pattern/string} parameter expansion.
374 * sysdeps/unix/make-syscalls.sh: Likewise.
376 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
378 * sysdeps/sh/stackguard-macros.h: New file.
380 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
383 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
384 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
385 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
386 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
387 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
389 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
392 Fix thread ID register.
394 2013-09-25 Joseph Myers <joseph@codesourcery.com>
396 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
397 [POSIX || UNIX98]: Require rather than permitting all symbols from
399 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
400 element of struct sched_param.
401 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
402 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
403 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
404 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
407 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
409 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
410 argument calculation.
412 2013-09-24 Joseph Myers <joseph@codesourcery.com>
414 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
416 [POSIX] (pthread_attr_t): Do not require type.
417 [POSIX] (pthread_cond_t): Likewise.
418 [POSIX] (pthread_condattr_t): Likewise.
419 [POSIX] (pthread_key_t): Likewise.
420 [POSIX] (pthread_mutex_t): Likewise.
421 [POSIX] (pthread_mutexattr_t): Likewise.
422 [POSIX] (pthread_once_t): Likewise.
423 [POSIX] (pthread_t): Likewise.
424 [POSIX-based standards] (pthread_atfork): Expect function.
426 2013-09-24 Joseph Myers <joseph@codesourcery.com>
427 Richard Sandiford <richard@codesourcery.com>
429 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
430 (swap_endianness_p): New extern variable.
431 (set_big_endian): New inline function.
432 (maybe_swap_uint32): Likewise.
433 (maybe_swap_uint32_array): Likewise.
434 (maybe_swap_uint32_obstack): Likewise.
435 * locale/programs/locfile.c: Include <stdbool.h>.
436 (swap_endianness_p): New variable.
437 (add_locale_uint32): Call maybe_swap_uint32.
438 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
439 (write_locale_data): Call maybe_swap_uint32_array.
440 * locale/programs/ld-collate.c (obstack_int32_grow): Call
442 (obstack_int32_grow_fast): Likewise.
443 (output_weightwc): Call maybe_swap_uint32_obstack.
444 (collate_output): Likewise.
445 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
446 (OPT_LITTLE_ENDIAN): Likewise.
447 (options): Add --little-endian and --big-endian options.
448 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
449 * locale/programs/locarchive.c: Include "locfile.h".
453 (create_archive): Use the new macros to access fields of
454 structures directly mapped from or written to locale archives.
455 (oldlocrecentcmp): Likewise.
456 (enlarge_archive): Likewise.
457 (insert_name): Likewise.
458 (add_alias): Likewise.
459 (add_locale): Likewise.
460 (delete_locales_from_archive): Likewise.
461 (show_archive_content): Likewise.
462 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
465 2013-09-24 Roland McGrath <roland@hack.frob.com>
467 * manual/freemanuals.texi: Updated from (newly) canonical copy at
468 http://www.gnu.org/doc/freemanuals.texi.
469 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
471 2013-09-24 Will Newton <will.newton@linaro.org>
473 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
476 2013-09-23 Joseph Myers <joseph@codesourcery.com>
478 * locale/hashval.h (compute_hashval): Interpret bytes of key as
481 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
483 * manual/threads.texi (POSIX Threads): Fix a typo.
485 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
488 * string/tst-strcoll-overflow.c: New test case.
489 * string/Makefile (xtests): Add tst-strcoll-overflow.
490 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
491 cache if string sizes may cause integer overflow.
494 * string/strcoll_l.c (coll_seq): New members rule, idx,
495 save_idx and back_us.
496 (get_next_seq_nocache): New function.
497 (do_compare_nocache): New function.
498 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
501 2013-09-23 Carlos O'Donell <carlos@redhat.com>
504 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
505 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
506 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
509 * elf/Makefile (tests): Add tst-ptrguard1.
510 (tests-static): Add tst-ptrguard1-static.
511 (tst-ptrguard1-ARGS): Define.
512 (tst-ptrguard1-static-ARGS): Define.
513 * elf/tst-ptrguard1.c: New file.
514 * elf/tst-ptrguard1-static.c: New file.
515 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
516 * sysdeps/i386/stackguard-macros.h: Likewise.
517 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
518 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
519 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
520 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
521 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
522 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
524 2013-09-23 Hector Marco <hecmargi@upv.es>
525 Ismael Ripoll <iripoll@disca.upv.es>
526 Carlos O'Donell <carlos@redhat.com>
529 * sysdeps/generic/stackguard-macros.h: Define
530 __pointer_chk_guard_local and POINTER_CHK_GUARD.
531 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
532 Define __pointer_chk_guard_local.
533 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
534 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
536 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
539 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
541 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
543 * include/string.h (__ffs): Declare as hidden.
544 * string/ffs.c (__ffs): Define as hidden.
545 * sysdeps/i386/ffs.c (__ffs): Likewise.
546 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
547 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
548 * sysdeps/s390/ffs.c (__ffs): Likewise.
549 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
551 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
553 * NEWS: Mention malloc probes.
555 * malloc/arena.c (new_heap): New memory_heap_new probe.
556 (grow_heap): New memory_heap_more probe.
557 (shrink_heap): New memory_heap_less probe.
558 (heap_trim): New memory_heap_free probe.
559 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
560 (systrim): New memory_sbrk_less probe.
561 * manual/probes.texi: Document them.
563 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
564 * manual/probes.texi: Document it.
566 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
567 (__libc_realloc): Add memory_realloc_retry probe.
568 (__libc_memalign): Add memory_memalign_retry probe.
569 (__libc_valloc): Add memory_valloc_retry probe.
570 (__libc_pvalloc): Add memory_pvalloc_retry probe.
571 (__libc_calloc): Add memory_calloc_retry probe.
572 * manual/probes.texi: Document them.
574 * malloc/arena.c (get_free_list): Add probe
575 memory_arena_reuse_free_list.
576 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
577 and memory_arena_reuse.
578 (arena_get2) [!PER_THREAD]: Likewise.
579 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
580 memory_arena_reuse_realloc.
581 * manual/probes.texi: Document them.
583 * malloc/malloc.c (__libc_free): Add
584 memory_mallopt_free_dyn_thresholds probe.
585 (__libc_mallopt): Add multiple memory_mallopt probes.
586 * manual/probes.texi: Document them.
588 * malloc/malloc.c: Include stap-probe.h.
589 (__libc_mallopt): Add memory_mallopt probe.
590 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
591 * manual/probes.texi: New.
592 * manual/Makefile (chapters): Add probes.
593 * manual/threads.texi: Set next node.
595 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
598 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
599 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
600 Add `Chinese' to `nan' entry name.
602 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
605 (POLYNOMIAL): Likewise.
606 (TAYLOR_SINCOS): Likewise.
607 (TAYLOR_SLOW): Likewise.
608 (__sin): Use TAYLOR_SINCOS.
610 (slow): Use TAYLOR_SLOW.
615 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
617 * stdlib/strtod_l.c: Fix buffer overrun.
619 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
621 * benchtests/Makefile (bench): Add sincos.
622 * benchtests/bench-sincos.c: New file.
624 * math/libm-test.inc (cos_test_data): New test inputs.
625 (sin_test_data): Likewise.
627 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
641 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
650 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
652 * config.h.in (HAVE_MIPS_NAN2008): New macro.
653 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
654 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
655 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
656 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
657 * elf/cache.c (print_entry): Handle the new cache flags.
659 2013-09-18 Joseph Myers <joseph@codesourcery.com>
660 Aldy Hernandez <aldyh@redhat.com>
662 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
663 Change condition to [_SOFT_FLOAT].
664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
676 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
679 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
682 2013-09-18 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
685 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
686 (__longjmp): Use LOAD_GP to load saved GPRs.
687 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
688 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
689 (__sigsetjmp): Use SAVE_GP to save GPRs.
691 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
692 Do not append -msoft-float.
693 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
695 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
697 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
699 2013-09-17 Joseph Myers <joseph@codesourcery.com>
702 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
703 (_FPU_GETCW): Use initial "__" on variable and field names but not
704 on macro parameter name.
705 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
706 parentheses around reference to macro parameter.
708 2013-09-13 Richard Sandiford <richard@codesourcery.com>
710 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
712 (ctype_startup): Use uint32_t in cast and sizeof for
715 2013-09-11 Jia Liu <proljc@gmail.com>
717 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
719 [__FreeBSD__]: Likewise.
721 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
724 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
725 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
726 (strchr): Remove __strchr_sse42 ifunc selection.
727 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
728 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
730 2013-09-11 Will Newton <will.newton@linaro.org>
732 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
733 parameter to RES. Remove hardcoded 1000 value.
734 * benchtests/bench-skeleton.c (main): Pass RES parameter
735 to TIMING_INIT and multiply result by 1000.
737 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
741 2013-09-11 Andreas Schwab <schwab@suse.de>
743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
745 (O_TMPFILE) [__USE_GNU]: Define.
746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
749 2013-09-11 Will Newton <will.newton@linaro.org>
752 * malloc/malloc.c (__libc_memalign): Check the value of bytes
755 2013-09-11 Will Newton <will.newton@linaro.org>
758 * malloc/malloc.c (__libc_valloc): Check the value of bytes
761 2013-09-11 Will Newton <will.newton@linaro.org>
764 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
767 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
769 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
770 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
771 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
772 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
773 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
775 2013-09-10 Allan McRae <allan@archlinux.org>
778 * manual/arith.texi (Parsing of Floats): Clarify
782 * manual/install.texi (Running make install): Mention
784 * INSTALL: Regenerated.
786 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
788 * csu/init-first.c (_init): Remove the !SHARED condition around
789 FPU control word initialization.
790 * elf/dl-support.c (_dl_fpu_control): New variable.
791 (_dl_aux_init) <AT_FPUCW>: Initialize it.
792 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
793 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
794 * math/test-fpucw-static.c: New file.
795 * math/test-fpucw-ieee.c: New file.
796 * math/test-fpucw-ieee-static.c: New file.
797 * math/Makefile (tests): Add `test-fpucw-ieee' and
799 (tests-static): New variable.
800 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
802 [($(build-shared),yes)]
803 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
805 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
808 2013-09-09 Allan McRae <allan@archlinux.org>
811 * manual/string.texi (Collation Functions): Fix typo in
813 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
816 * stdlib/isomac.c (get_null_defines): Fix memory leak.
819 * libio/memstream.c (open_memstream): Fix memory leak.
820 * libio/wmemstream.c (open_wmemstream): Likewise.
823 * nscd/netgroupcache.c: Fix nesting of ifdefs.
825 2013-09-09 Will Newton <will.newton@linaro.org>
827 * malloc/Makefile: Add tst-realloc to tests.
828 * malloc/tst-realloc.c: New file.
830 2013-09-09 Allan McRae <allan@archlinux.org>
833 * COPYING: Update from GNU website to fix FSF address.
834 * COPYING.LIB: Likewise.
836 2013-09-06 David S. Miller <davem@davemloft.net>
838 * po/zh_TW.po: Update Chinese (traditional) translation from
841 2013-09-06 Richard Sandiford <richard@codesourcery.com>
842 Joseph Myers <joseph@codesourcery.com>
844 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
846 (obstack_chunk_alloc): New macro.
847 (obstack_chunk_free): Likewise.
848 (record_offset): New function.
849 (init_locale_data): Likewise.
850 (align_locale_data): Likewise.
851 (add_locale_empty): Likewise.
852 (add_locale_raw_data): Likewise.
853 (add_locale_raw_obstack): Likewise.
854 (add_locale_string): Likewise.
855 (add_locale_wstring): Likewise.
856 (add_locale_uint32): Likewise.
857 (add_locale_uint32_array): Likewise.
858 (add_locale_char): Likewise.
859 (start_locale_structure): Likewise.
860 (end_locale_structure): Likewise.
861 (start_locale_prelude): Likewise.
862 (end_locale_prelude): Likewise.
863 (write_locale_data): Take locale_file structure rather than an
865 * locale/programs/locfile.h: Include "obstack.h".
866 (struct locale_file): Change to store locale file contents instead
868 (init_locale_data): New prototype.
869 (align_locale_data): Likewise.
870 (add_locale_empty): Likewise.
871 (add_locale_raw_data): Likewise.
872 (add_locale_raw_obstack): Likewise.
873 (add_locale_string): Likewise.
874 (add_locale_wstring): Likewise.
875 (add_locale_uint32): Likewise.
876 (add_locale_uint32_array): Likewise.
877 (add_locale_char): Likewise.
878 (start_locale_structure): Likewise.
879 (end_locale_structure): Likewise.
880 (start_locale_prelude): Likewise.
881 (end_locale_prelude): Likewise.
882 (write_locale_data): Update prototype.
883 * locale/programs/3level.h (struct TABLE): Remove result field.
884 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
885 Use new locale_file interface.
886 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
887 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
888 * locale/programs/ld-address.c (address_output): Use new
889 locale_file interface.
890 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
892 (collate_finish): Don't call collseq_table_finalize.
893 (collate_output): Use new locale_file interface.
894 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
896 (NO_FINALIZE): Change to NO_ADD_LOCALE.
897 (TABLE): Move defines earlier in file.
900 (wctrans_table_add): Move macro and inline function earlier in
902 (struct wctype_table): Move type earlier in file.
903 (add_locale_wctype_table): New static prototype.
904 (struct locale_ctype_t): Use logical types instead of struct iovec
905 pointers for members.
906 (ctype_output): Use new locale_file interface.
907 (wctype_table_finalize): Change to add_locale_wctype_table. Use
908 new locale_file interface.
909 (allocate_arrays): Update for use of new locale_file interface.
910 * locale/programs/ld-identification.c (identification_output): Use
911 new locale_file interface.
912 * locale/programs/ld-measurement.c (measurement_output): Likewise.
913 * locale/programs/ld-messages.c (messages_output): Likewise.
914 * locale/programs/ld-monetary.c (monetary_output): Likewise.
915 * locale/programs/ld-name.c (name_output): Likewise.
916 * locale/programs/ld-numeric.c (numeric_output): Likewise.
917 * locale/programs/ld-paper.c (paper_output): Likewise.
918 * locale/programs/ld-telephone.c (telephone_output): Likewise.
919 * locale/programs/ld-time.c (time_output): Likewise.
921 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923 * benchtests/Makefile: Add memrchr benchmark.
924 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
925 benchmark as memrchr.
926 * benchtests/bench-memrchr-ifunc.c: New file.
927 * benchtests/bench-memrchr.c: New file.
929 2013-09-06 Will Newton <will.newton@linaro.org>
931 * benchtests/Makefile (string-bench): Add memcpy.
933 2013-09-05 Carlos O'Donell <carlos@redhat.com>
934 Cong Wang <amwang@redhat.com>
936 * sysdeps/unix/sysv/linux/bits/in.h
937 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
938 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
939 before __USE_KERNEL_IPV6_DEFS uses.
940 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
942 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
943 sockaddr_in6, or ipv6_mreq.
945 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
948 memory access for final bytes in some large inputs.
949 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
951 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953 * string/test-memrchr.c: New file.
954 * string/test-memrchr-ifunc.c: New file.
955 * string/Makefile: Add new memrchr testcase.
957 2013-09-05 Mike Frysinger <vapier@gentoo.org>
959 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
960 fanotify_init returns EPERM.
962 2013-09-04 Joseph Myers <joseph@codesourcery.com>
964 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
966 (top level): Treat second token from macro or constant entries for
967 allowed headers as allowed.
968 * include/complex.h: Condition internal declarations on
970 * include/fenv.h: Condition include of <stdbool.h> and internal
971 declarations on [!_ISOMAC].
973 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
976 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
978 2013-09-04 Joseph Myers <joseph@codesourcery.com>
980 * configure.in (--enable-versioning): Remove configure option.
981 (libc_cv_asm_symver_directive): Remove configure test.
982 (libc_cv_ld_version_script_option): Likewise.
983 (VERSIONING): Remove variable and AC_SUBST.
984 (DO_VERSIONING): Remove AC_DEFINE.
985 * configure: Regenerated.
986 * config.h.in (DO_VERSIONING): Remove macro.
987 * Makerules [$(versioning) = yes]: Change conditionals to
988 [$(build-shared) = yes].
989 * config.make.in (versioning): Remove variable.
990 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
991 [$(build-shared) = yes].
992 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
993 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
994 * elf/Makefile [$(versioning) = yes]: Change conditionals to
995 [$(build-shared) = yes].
996 * extra-lib.mk [$(versioning) = yes]: Likewise.
997 * hurd/Makefile [$(versioning) = yes]: Likewise.
998 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1000 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1002 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1003 [SHARED && !NO_HIDDEN].
1004 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1006 [SHARED && DO_VERSIONING]: Likewise..
1007 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1008 [$(build-shared) = yes].
1009 * manual/install.texi (--disable-versioning): Remove
1011 * INSTALL: Regenerated.
1012 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1014 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1015 [$(build-shared) = yes].
1016 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1017 * sysdeps/i386/i686/multiarch/strstr-c.c
1018 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1019 [SHARED && !NO_HIDDEN].
1020 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1021 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1022 * sysdeps/powerpc/powerpc32/dl-machine.c
1023 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1024 * sysdeps/powerpc/powerpc32/sysdep.h
1025 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1026 to [SHARED && PIC && !NO_HIDDEN].
1027 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1028 conditional to [SHARED].
1030 2013-09-04 Will Newton <will.newton@linaro.org>
1032 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1033 * benchtests/bench-string.h: Include bench-timing.h instead
1034 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1035 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1036 call to HP_TIMING_DIFF_INIT.
1037 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1038 instead of hp-timing.h macros.
1039 * benchtests/bench-memchr.c: Likewise.
1040 * benchtests/bench-memcmp.c: Likewise.
1041 * benchtests/bench-memcpy.c: Likewise.
1042 * benchtests/bench-memmem.c: Likewise.
1043 * benchtests/bench-memmove.c: Likewise.
1044 * benchtests/bench-memset.c: Likewise.
1045 * benchtests/bench-rawmemchr.c: Likewise.
1046 * benchtests/bench-strcasecmp.c: Likewise.
1047 * benchtests/bench-strcasestr.c: Likewise.
1048 * benchtests/bench-strcat.c: Likewise.
1049 * benchtests/bench-strchr.c: Likewise.
1050 * benchtests/bench-strcmp.c: Likewise.
1051 * benchtests/bench-strcpy.c: Likewise.
1052 * benchtests/bench-strcpy_chk.c: Likewise.
1053 * benchtests/bench-strlen.c: Likewise.
1054 * benchtests/bench-strncasecmp.c: Likewise.
1055 * benchtests/bench-strncat.c: Likewise.
1056 * benchtests/bench-strncmp.c: Likewise.
1057 * benchtests/bench-strncpy.c: Likewise.
1058 * benchtests/bench-strnlen.c: Likewise.
1059 * benchtests/bench-strpbrk.c: Likewise.
1060 * benchtests/bench-strrchr.c: Likewise.
1061 * benchtests/bench-strspn.c: Likewise.
1062 * benchtests/bench-strstr.c: Likewise.
1064 2013-09-04 Will Newton <will.newton@linaro.org>
1066 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1068 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1071 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1072 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1073 * math/libm-test.inc (lgamma_test_data): Add more tests.
1074 * sysdeps/i386/fpu/libm-test-ulps: Update.
1075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1077 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1079 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1083 Add strcmp-sse2-unaligned
1084 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1086 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1088 * Versions.def (libc): Add GLIBC_2.19.
1090 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1092 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1093 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1095 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1098 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1099 intermediate calculations in recurrence.
1100 (__ieee754_ynf): Likewise.
1101 * math/libm-test.inc (jn_test_data): Do not allow spurious
1102 underflow exception. Add more tests.
1103 (yn_test_data): Add more tests.
1104 * sysdeps/i386/fpu/libm-test-ulps: Update.
1105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1107 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1111 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1113 * csu/init-first.c: Fix then/than typos.
1114 * locale/programs/ld-collate.c: Likewise.
1115 * locale/programs/linereader.h: Likewise.
1116 * manual/charset.texi: Likewise.
1117 * manual/filesys.texi: Likewise.
1118 * manual/stdio.texi: Likewise.
1119 * manual/string.texi: Likewise.
1120 * stdlib/fmtmsg.c: Likewise.
1121 * sysdeps/i386/stpncpy.S: Likewise.
1122 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1123 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1127 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1129 * elf/dl-open.c: Fix typos.
1130 * iconvdata/gbbig5.c: Likewise.
1131 * iconvdata/iso-2022-jp.c: Likewise.
1132 * iconv/gconv_int.h: Likewise.
1133 * iconv/loop.c: Likewise.
1134 * nis/rpcsvc/nis.h: Likewise.
1135 * resolv/ns_name.c: Likewise.
1136 * stdio-common/vfscanf.c: Likewise.
1137 * streams/stropts.h: Likewise.
1138 * sunrpc/rpc_thread.c: Likewise.
1139 * sysdeps/i386/strpbrk.S: Likewise.
1140 * sysdeps/ieee754/k_standard.c: Likewise.
1141 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1143 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1144 * sysdeps/mach/hurd/profil.c: Likewise.
1145 * sysdeps/s390/dl-procinfo.h: Likewise.
1146 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1149 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1152 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1154 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1157 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1159 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1161 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1163 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1164 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1166 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1170 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1171 Roland McGrath <roland@hack.frob.com>
1173 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1174 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1176 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1178 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1179 __executable_start symbol instead of _start.
1181 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1183 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1184 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1186 * sysdeps/gnu/ldsodefs.h: ... this new file.
1188 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1189 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1190 instead of ELFOSABI_LINUX.
1192 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1193 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1194 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1195 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1197 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1198 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1201 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1202 (ibm_extended_long_double): Add ieee_nan member.
1203 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1204 (do_test): New function.
1206 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1208 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1209 functions, renamed from truncdfsf_test, trunctfsf_test,
1211 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1213 (do_test): Run all these.
1215 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1217 * argp/argp-help.c: Fix typos.
1218 * argp/argp-parse.c: Likewise.
1219 * debug/backtracesyms.c: Likewise.
1220 * elf/elf.h: Likewise.
1221 * malloc/malloc.c: Likewise.
1222 * nis/nis_print.c: Likewise.
1223 * resolv/res_comp.c: Likewise.
1224 * stdlib/stdlib.h: Likewise.
1225 * sunrpc/clnt_tcp.c: Likewise.
1226 * sunrpc/clnt_udp.c: Likewise.
1227 * sunrpc/clnt_unix.c: Likewise.
1228 * sysdeps/unix/bsd/ptsname.c: Likewise.
1229 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1230 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1237 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1239 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1241 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1244 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1247 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1248 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1249 ($(objpfx)bug-dl-leaf): New rule.
1250 ($(objpfx)bug-dl-leaf.so): Likewise.
1251 ($(objpfx)bug-dl-leaf.out): Likewise.
1252 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1253 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1254 * dlfcn/bug-dl-leaf.c: New test.
1255 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1256 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1257 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1258 (dlclose): Likewise.
1259 (dlmopen): Likewise.
1261 2013-08-27 Roland McGrath <roland@hack.frob.com>
1263 * include/netdb.h [!_ISOMAC]:
1264 Don't include <tls.h>.
1265 (h_errno, __libc_h_errno): Move declaration and macros out of
1268 * include/resolv.h [_RESOLV_H_]:
1269 Don't include <tls.h>.
1270 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1271 * resolv/res_libc.c: Don't include <tls.h>.
1272 (_res): Use __attribute__ ((nocommon)) in place of
1273 __attribute__ ((section (".bss"))).
1275 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1276 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1278 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1280 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1281 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1283 * resolv/res_mkquery.c: Include <sys/time.h>.
1285 * inet/ifreq.c: Moved to ...
1286 * sysdeps/unix/ifreq.c: ... here.
1287 * inet/ifreq.c: New file, true stub version.
1289 * socket/sa_len.c: New file.
1290 * socket/Makefile (aux): Add it.
1291 * sysdeps/unix/sysv/linux/Makefile
1292 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1293 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1294 and #include <socket/sa_len.c>.
1295 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1296 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1298 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1299 * bits/socket.h: ... here.
1301 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1302 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1303 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1305 2013-08-27 Andreas Schwab <schwab@suse.de>
1308 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1309 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1310 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1311 * string/test-strcasecmp.c (test_main): Run tests in several
1313 * string/test-strncasecmp.c (test_main): Likewise.
1315 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1316 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1317 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1319 (__strncasecmp_ssse3) [PIC]: Likewise.
1321 2013-08-26 Roland McGrath <roland@hack.frob.com>
1323 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1325 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1326 instead of explicitly declaring xdecrypt.
1327 * nis/nss_nis/nis-publickey.c: Likewise.
1329 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1332 * nscd/aicache.c: Include res_hconf.h.
1333 (addhstaiX): Initialize res_hconf.
1335 2013-08-26 Andreas Schwab <schwab@suse.de>
1337 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1338 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1340 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1342 * nscd/aicache.c (addhstaiX): Fix indentation.
1344 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1346 * configure.ac: Quote $build_pt_chown test.
1347 * configure: Regenerated.
1349 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1352 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1353 * math/s_cexpf.c (__cexpf): Likewise.
1354 * math/s_cexpl.c (__cexpl): Likewise.
1355 * math/libm-test.inc (cexp_test_data): Correct expected return
1356 value for NaN + i0. Add another test.
1358 2013-08-22 David S. Miller <davem@davemloft.net>
1360 * po/ca.po: Update Catalan translation from translation project.
1361 * po/uk.po: Add Ukrainian translations from translation project.
1363 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1366 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1367 is infinite, not alongside NaN test.
1368 * math/s_fdimf.c (__fdimf): Likewise.
1369 * math/s_fdiml.c (__fdiml): Likewise.
1370 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1373 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1375 * argp/argp-help.c: Fix typos.
1376 * crypt/speeds.c: Likewise.
1377 * csu/check_fds.c: Likewise.
1378 * elf/dl-load.c: Likewise.
1379 * elf/dl-open.c: Likewise.
1380 * elf/reldep3.c: Likewise.
1381 * elf/reldep.c: Likewise.
1382 * elf/sprof.c: Likewise.
1383 * iconv/iconv_charmap.c: Likewise.
1384 * iconv/skeleton.c: Likewise.
1385 * iconv/strtab.c: Likewise.
1386 * io/lockf64.c: Likewise.
1387 * libio/libioP.h: Likewise.
1388 * resolv/gai_notify.c: Likewise.
1389 * resolv/ns_name.c: Likewise.
1390 * resolv/ns_samedomain.c: Likewise.
1391 * resolv/res_send.c: Likewise.
1392 * stdlib/random.c: Likewise.
1393 * sunrpc/rpc/xdr.h: Likewise.
1394 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1396 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1397 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1399 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1401 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1402 * sysdeps/mach/hurd/check_fds.c: Likewise.
1403 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1404 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1405 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1406 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1407 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1409 * sysdeps/pthread/aio_notify.c: Likewise.
1410 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1411 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1412 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1413 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1414 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1416 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1418 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1419 version if bit_Slow_SSE4_2 is set.
1420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1421 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1423 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1426 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1427 trampoline stack frame information.
1428 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1430 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1431 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1432 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1433 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1434 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1435 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1437 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1438 interrupting a syscall and set with option SA_SIGINFO.
1440 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1443 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1444 argument is infinite.
1445 * math/s_cprojf.c (__cprojf): Likewise.
1446 * math/s_cprojl.c (__cprojl): Likewise.
1447 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1448 * math/libm-test.inc (cproj_test_data): Add more tests.
1450 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1452 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1453 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1454 size. Use __ffs to determine corresponding shift.
1456 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1457 Roland McGrath <roland@hack.frob.com>
1459 * Makefile (INSTALL): Remove trailing blank lines from output of
1462 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1464 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1465 Align 32 bit compat elf_greg to 8 bytes.
1467 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1469 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1471 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1473 * string/strcoll_l.c (coll_seq): New structure.
1474 (get_next_seq_cached): New function.
1475 (get_next_seq): New function.
1476 (do_compare): New function.
1477 (STRCOLL): Use GNU style definition. Simplify implementation
1478 by using get_next_seq, get_next_seq_cached and do_compare.
1480 2013-08-16 Florian Weimer <fweimer@redhat.com>
1484 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1486 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1488 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1489 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1490 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1492 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1493 GETDENTS_64BIT_ALIGNED.
1494 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1495 * manual/filesys.texi (Reading/Closing Directory): Document
1496 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1498 * manual/conf.texi (Limits for Files): Add portability note to
1500 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1502 2013-08-13 Andreas Schwab <schwab@suse.de>
1505 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1507 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1508 LDBL_MAX_EXP >= 16384]: Add tests for it.
1510 2013-08-12 David S. Miller <davem@davemloft.net>
1512 * version.h (RELEASE): Set to "development".
1513 (VERSION): Set to "2.18.90".
1514 * NEWS: Add 2.19 section.
1516 2013-08-03 David S. Miller <davem@davemloft.net>
1518 * po/ko.po: Update Korean translation from translation project.
1520 2013-08-01 David S. Miller <davem@davemloft.net>
1522 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1523 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1526 2013-07-30 David S. Miller <davem@davemloft.net>
1528 * po/fr.po: Update French translation from translation project.
1530 2013-07-28 David S. Miller <davem@davemloft.net>
1532 * po/cs.po: Update Czech translation from translation project.
1534 * po/sv.po: Update Swedish translation from translation project.
1536 2013-07-27 David S. Miller <davem@davemloft.net>
1538 * po/eo.po: Update Esperanto translation from translation project.
1540 * po/vi.po: Update Vietnamese translation from translation project.
1542 * po/de.po: Update German translation from translation project.
1544 2013-07-26 David S. Miller <davem@davemloft.net>
1546 * po/bg.po: Update Bulgarian translation from translation project.
1548 * po/nl.po: Update Dutch translation from translation project.
1549 * po/pl.po: Update Polish translation from translation project.
1550 * po/ru.po: Update Russian translation from translation project.
1552 2013-07-24 David S. Miller <davem@davemloft.net>
1554 * po/libc.pot: Update.
1556 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1558 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1560 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1561 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1562 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1564 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1566 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1568 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1569 Andreas Schwab <schwab@suse.de>
1570 Roland McGrath <roland@hack.frob.com>
1571 Joseph Myers <joseph@codesourcery.com>
1572 Carlos O'Donell <carlos@redhat.com>
1575 * config.h.in: Define HAVE_PT_CHOWN.
1576 * config.make.in (build-pt-chown): New variable.
1577 * configure.in (--enable-pt_chown): New configure option.
1578 * configure: Regenerate.
1579 * login/Makefile: Include Makeconfig. Build pt_chown only if
1580 build-pt-chown is enabled.
1581 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1582 pt_chown to fix pty ownership.
1583 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1585 * manual/install.texi (Configuring and compiling): Mention
1586 --enable-pt_chown. Add @findex for grantpt.
1587 * INSTALL: Regenerate.
1589 2013-07-20 David S. Miller <davem@davemloft.net>
1591 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1592 difference between 32-bit and 64-bit.
1594 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1597 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1598 Avoid system header dependency with -ffreestanding.
1599 ($(objpfx)bits/syscall%d): Likewise.
1601 2013-07-13 David S. Miller <davem@davemloft.net>
1603 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1604 underflows from atanl/atan2l due to bug 15319.
1605 (casinh_test_data): Likewise.
1607 2013-07-07 David S. Miller <davem@davemloft.net>
1609 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1611 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1613 * sysdeps/i386/fpu/libm-test-ulps: Update.
1614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1616 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 * configure.in (--enable-lock-elision): Fix message text.
1619 * INSTALL: Regenerate.
1620 * configure: Regenerate.
1622 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1626 2013-07-03 Andreas Jaeger <aj@suse.de>
1628 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1630 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1631 (ptrace_peeksiginfo_args): Add.
1632 (__ptrace_peeksiginfo_flags): Add.
1633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1637 2013-07-03 Allan McRae <allan@archlinux.org>
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1641 2013-07-02 David S. Miller <davem@davemloft.net>
1643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1645 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1649 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1651 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1654 2013-07-02 Andi Kleen <ak@linux.intel.com>
1656 * config.h.in (ENABLE_LOCK_ELISION): Add.
1657 * configure.in (--enable-lock-elision): Add option.
1658 * manual/install.texi: Document --enable lock elision.
1659 * configure: Regenerate
1660 * INSTALL: Regenerate.
1662 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1664 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1665 SSE4.2 strcasecmp for libc.a.
1666 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1668 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1671 * soft-fp/op-common.h (_FP_FMA): New macro.
1672 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1673 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1674 (_FP_MUL_MEAT_1_imm): ... here.
1675 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1676 (_FP_MUL_MEAT_1_wide): ... here.
1677 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1678 (_FP_MUL_MEAT_1_hard): ... here.
1679 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1680 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1681 (_FP_MUL_MEAT_2_wide): ... here.
1682 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1683 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1684 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1685 (_FP_MUL_MEAT_2_gmp): ... here.
1686 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1687 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1688 (_FP_MUL_MEAT_4_wide): ... here.
1689 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1690 (_FP_MUL_MEAT_4_gmp): ... here.
1691 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1692 (_FP_WFRACBITS_DW_S): Likewise.
1693 (_FP_WFRACXBITS_DW_S): Likewise.
1694 (_FP_HIGHBIT_DW_S): Likewise.
1695 (FP_FMA_S): Likewise.
1696 (_FP_FRAC_HIGH_DW_S): Likewise.
1697 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1698 (_FP_WFRACBITS_DW_D): Likewise.
1699 (_FP_WFRACXBITS_DW_D): Likewise.
1700 (_FP_HIGHBIT_DW_D): Likewise.
1701 (FP_FMA_D): Likewise.
1702 (_FP_FRAC_HIGH_DW_D): Likewise.
1703 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1704 (_FP_WFRACBITS_DW_E): Likewise.
1705 (_FP_WFRACXBITS_DW_E): Likewise.
1706 (_FP_HIGHBIT_DW_E): Likewise.
1707 (FP_FMA_E): Likewise.
1708 (_FP_FRAC_HIGH_DW_E): Likewise.
1709 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1710 (_FP_WFRACBITS_DW_Q): Likewise.
1711 (_FP_WFRACXBITS_DW_Q): Likewise.
1712 (_FP_HIGHBIT_DW_Q): Likewise.
1713 (FP_FMA_Q): Likewise.
1714 (_FP_FRAC_HIGH_DW_Q): Likewise.
1715 * soft-fp/fmasf4.c: New file.
1716 * soft-fp/fmadf4.c: Likewise.
1717 * soft-fp/fmatf4.c: Likewise.
1719 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1722 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1724 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1726 (index_Slow_SSE4_2): Likewise.
1727 (index_Prefer_PMINUB_for_stringop): Likewise.
1728 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1729 bit_Slow_SSE4_2 is set.
1730 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1733 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1735 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1736 rtld_global._dl_hwcap2.
1737 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1739 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1740 POWER8 feature descriptions defined in _dl_hwcap2.
1741 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1742 string handling for POWER8 feature bits.
1743 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1744 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1745 _dl_powerpc_cap_flags.
1746 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1747 * sysdeps/powerpc/rtld-global-offsets.sym
1748 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1749 _dl_hwcap2 in the rtld_global_ro structure.
1751 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1753 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1754 hardware capabilities in support of AT_HWCAP2.
1755 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1756 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1758 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1759 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1760 explicitly the unknown a_type display mechanism is used.
1761 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1762 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1764 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1765 to macro prototype for AT_HWCAP2 support.
1766 * sysdeps/i386/dl-procinfo.h: Likewise.
1767 * sysdeps/s390/dl-procinfo.h: Likewise.
1768 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1769 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1770 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1771 return -1 for unknown a_type display fallback.
1772 * sysdeps/sparc/dl-procinfo.h: Likewise.
1773 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1774 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1776 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1779 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1781 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1784 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1785 mprotect making __stack_prot writable.
1787 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1788 Joseph Myers <joseph@codesourcery.com>
1790 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1791 as being properly aligned.
1793 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1795 * dlfcn/modstatic5.c: New file.
1796 * dlfcn/tststatic5.c: New file.
1797 * dlfcn/Makefile (tests): Add tststatic5.
1798 (tests-static): Likewise.
1799 (modules-names): Add modstatic5.
1800 (tststatic5-ENV): New variable.
1801 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1804 * elf/dl-support.c (_dl_main_map): New variable.
1805 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1806 (_dl_nns, _dl_load_adds): Set to 1.
1807 (_dl_initial_searchlist): Refer to _dl_main_map.
1808 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1809 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1810 call to _dl_get_origin.
1811 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1813 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1814 * dlfcn/modstatic3.c: New file.
1815 * dlfcn/tststatic3.c: New file.
1816 * dlfcn/tststatic4.c: New file.
1817 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1818 (tests-static): Likewise.
1819 (modules-names): Add modstatic3.
1820 (tststatic3-ENV, tststatic4-ENV): New variables.
1821 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1822 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1824 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1826 * configure.in (CC): Require GCC version 4.4 or later.
1827 * configure: Regenerated.
1828 * manual/install.texi (Tools for Compilation): Update GCC version
1830 * INSTALL: Regenerated.
1832 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1835 * string/test-memcmp.c (check2): New.
1836 (main): Call check2.
1838 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1840 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1843 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1845 (dl_open_worker) [!SHARED]: ... here.
1847 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1849 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1851 2013-06-25 Richard Henderson <rth@redhat.com>
1853 * locale/programs/locarchive.c: Include <libc-internal.h>
1855 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1857 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1858 trailing whitespace removed.
1860 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1863 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1864 * locale/programs/locarchive.c: Include libc-mmap.h.
1865 (prepare_address_space): Take two new outputs (the mmap base and len).
1866 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1868 (create_archive): Declare new mmap base and len values for
1869 prepare_address_space, and store the result in ah.
1870 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1871 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1872 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1873 Declare new mmap base and len values for
1874 prepare_address_space, and store the result in new_ah.
1875 (open_archive): Declare new mmap base and len values for
1876 prepare_address_space, and store the result in ah.
1877 (close_archive): If ah->mmap_base is not NULL, use that and
1878 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1879 * sysdeps/generic/libc-mmap.h: New file.
1881 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1883 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1884 (ALIGN_UP): Likewise.
1885 (PTR_ALIGN_DOWN): Likewise.
1886 (PTR_ALIGN_UP): Likewise.
1888 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1891 entry mapped to PPC_PLATFORM_POWER8.
1892 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1894 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1895 (_dl_string_platform): Add case for exporting platform position for
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1898 search path to sysdeps/powerpc/powerpc32/power8 directory.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1900 search path to sysdeps/powerpc/powerpc64/power8 directory.
1901 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1903 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1906 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1908 * INSTALL: Regenerate.
1910 * nscd/connections.c (nscd_init): Fix comment.
1912 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1914 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1917 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1918 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1920 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1922 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1924 (DL_DST_REQ_STATIC): Remove macro.
1926 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1929 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1930 with a shift of 0 bits.
1932 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1934 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1937 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1940 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1942 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1944 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1945 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1946 accepts -fno-tree-loop-distribute-patterns.
1947 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1948 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1950 * string/memset.c (memset): Likewise.
1951 * string/test-memmove.c (simple_memmove): Disable loop transformation
1953 * string/test-memset.c (simple_memset): Likewise.
1954 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1955 * benchtests/bench-memset.c (simple_memset): Likewise.
1956 * configure: Regenerated.
1958 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1960 * math/test-misc.c (main): Ignore fesetround failure when failures
1961 of subsequent rounding tests would be ignored.
1964 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1965 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1966 * math/fegetenv.c (__fegetenv): Return 0.
1967 * math/fegetexcept.c (fegetexcept): Return 0.
1968 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1970 * math/feholdexcpt.c (feholdexcept): Return 0.
1971 * math/fesetenv.c (__fesetenv): Return 0.
1972 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1973 argument FE_TONEAREST.
1974 * math/feupdateenv.c (__feupdateenv): Return 0.
1975 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1977 2013-06-18 Roland McGrath <roland@hack.frob.com>
1979 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1980 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1981 ($(objpfx)rtld-%.os rules): Use them.
1983 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1985 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1988 2013-06-17 Roland McGrath <roland@hack.frob.com>
1990 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1991 length of target pattern, then descending length of dependency pattern.
1992 * configure.in (AWK): Require gawk 3.1.2 or newer.
1993 * manual/install.texi (Tools for Compilation): Say that we do.
1994 * configure: Regenerated.
1996 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1997 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1998 * scripts/sysd-rules.awk: ... this new script.
1999 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2000 than a glob-style pattern.
2002 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2004 * math/test-misc.c (main): Do not treat incorrectly rounded
2005 conversions as failure unless ROUNDING_TESTS passes.
2007 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2011 restore exception state around main square root computation, then
2012 check for inexactness explicitly.
2014 * math/libm-test.inc (fma_test_data): Add another test.
2016 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2018 * manual/threads.texi (Non-POSIX Extensions): New document
2019 node. Document pthread_getattr_default_np and
2020 pthread_setattr_default_np.
2022 * Versions.def (libpthread): Add GLIBC_2.18.
2023 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2032 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2043 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2046 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2048 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2049 H.J. Lu <hjl.tools@gmail.com>
2052 * sysdeps/x86_64/rtld-memset.c: Remove file.
2053 * sysdeps/x86_64/rtld-memset.S: New file.
2055 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2057 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2058 (test_in_one_mode): Take arguments for whether the rounding mode
2059 is supported for each floating-point type.
2060 (do_test): Pass new arguments to test_in_one_mode using
2063 2013-06-13 Roland McGrath <roland@hack.frob.com>
2065 * posix/tst-waitid.c (do_test): Distinguish different instances of
2066 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2067 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2068 before entering the kernel for waitpid.
2070 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2072 * NEWS: Fix note on clock function precision. Text by Roland
2075 2013-06-13 Roland McGrath <roland@hack.frob.com>
2077 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2078 it into place only when and if the sanity check passes.
2080 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2082 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2083 output for whether conversion result is exact. Take argument
2084 indicating whether type is IBM long double.
2085 (round_for_all): Change need_exact field to ibm_ld.
2086 * stdlib/tst-strtod-round.c (struct exactness): New type.
2087 (struct test): Change bool ld_ok field to struct exactness exact.
2088 (TEST): Update all definitions for change to field.
2089 (tests): Regenerate array contents.
2090 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2091 field value. Check for IBM long double here.
2092 (do_test): Update calls to test_in_one_mode.
2094 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2097 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2098 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2100 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2104 generated by the compiler on loop optimizations.
2105 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2106 general definitions.
2108 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2110 * math/bug-nextafter.c: Include <math-tests.h>.
2111 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2113 * math/bug-nexttoward.c: Include <math-tests.h>.
2114 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2116 * math/test-misc.c: Include <math-tests.h>.
2117 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2120 2013-06-12 Andreas Jaeger <aj@suse.de>
2122 * po/ia.po: Update Interlingua translation from translation
2125 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2127 * include/fenv.h: Include stdbool.h.
2128 (struct rm_ctx): New structure.
2129 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2131 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2132 (SET_RESTORE_ROUNDF): Likewise.
2133 (SET_RESTORE_ROUNDL): Likewise.
2134 (SET_RESTORE_ROUND_NOEX): Likewise.
2135 (SET_RESTORE_ROUND_NOEXF): Likewise.
2136 (SET_RESTORE_ROUND_NOEXL): Likewise.
2137 (SET_RESTORE_ROUND_53BIT): Likewise.
2138 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2139 (libc_feresetround_noexf_ctx): Likewise.
2140 (libc_feresetround_noexl_ctx): Likewise.
2141 (libc_feholdsetround_53bit_ctx): Likewise.
2142 (libc_feresetround_53bit_ctx): Likewise.
2143 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2144 (libc_feholdexcept_setround_sse_ctx): New function.
2145 (libc_fesetenv_sse_ctx): Likewise.
2146 (libc_feupdateenv_sse_ctx): Likewise.
2147 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2148 (libc_feholdexcept_setround_387_ctx): Likewise.
2149 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2150 (libc_feholdsetround_387_prec_ctx): Likewise.
2151 (libc_feholdsetround_387_ctx): Likewise.
2152 (libc_feholdsetround_387_53bit_ctx): Likewise.
2153 (libc_feholdsetround_sse_ctx): Likewise.
2154 (libc_feresetround_sse_ctx): Likewise.
2155 (libc_feresetround_387_ctx): Likewise.
2156 (libc_feupdateenv_387_ctx): Likewise.
2157 (libc_feholdexcept_setroundf_ctx): Define macro.
2158 (libc_fesetenvf_ctx): Likewise.
2159 (libc_feupdateenvf_ctx): Likewise.
2160 (libc_feholdsetroundf_ctx): Likewise.
2161 (libc_feresetroundf_ctx): Likewise.
2162 (libc_feholdexcept_setround_ctx): Likewise.
2163 (libc_fesetenv_ctx): Likewise.
2164 (libc_feupdateenv_ctx): Likewise.
2165 (libc_feholdsetround_ctx): Likewise.
2166 (libc_feresetround_ctx): Likewise.
2167 (libc_feholdexcept_setroundl_ctx): Likewise.
2168 (libc_feupdateenvl_ctx): Likewise.
2169 (libc_feholdsetroundl_ctx): Likewise.
2170 (libc_feresetroundl_ctx): Likewise.
2171 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2172 (libc_feresetround_53bit_ctx): Likewise.
2174 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2176 * locale/iso-639.def: Convert to UTF-8.
2178 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2180 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2181 (EXCEPTION_TESTS_double): Likewise.
2182 (EXCEPTION_TESTS_long_double): Likewise.
2183 (EXCEPTION_TESTS): Likewise.
2184 * math/libm-test.inc (test_exceptions): Only test exceptions if
2185 EXCEPTION_TESTS (FLOAT).
2187 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2189 * benchtests/Makefile (string-bench): Add strcpy_chk and
2191 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2192 * benchtests/bench-stpcpy_chk.c: New file.
2193 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2194 * benchtests/bench-strcpy_chk.c: New file.
2195 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2197 (do_test): Likewise.
2199 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2201 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2202 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2203 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2204 with tabs where appropriate.
2205 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2207 [PPC_PLATFORM_PPC440]: Likewise.
2208 [PPC_PLATFORM_PPC464]: Likewise.
2209 [PPC_PLATFORM_PPC476]: Likewise.
2210 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2211 ppc464, and ppc476 platform strings merging from ports/
2214 2013-06-11 Andreas Schwab <schwab@suse.de>
2217 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2218 (from_ucs4_idx): Regenerate.
2219 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2220 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2221 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2222 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2223 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2224 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2225 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2226 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2227 from FROM_LOOP and TO_LOOP specific macros.
2228 (BODY): Handle combining characters.
2229 * iconvdata/BIG5HKSCS.irreversible: Update.
2230 * iconvdata/BIG5HKSCS.precomposed: New file.
2231 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2233 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2235 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2237 * include/sys/time.h: Fix indentation and add copyright header.
2239 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2240 (do_test): Likewise.
2241 * string/test-memchr.c (do_one_test): Likewise.
2242 (do_test): Likewise.
2243 * string/test-memcmp.c (do_one_test): Likewise.
2244 (do_test): Likewise.
2245 * string/test-memcpy.c (do_one_test): Likewise.
2246 (do_test): Likewise.
2247 * string/test-memmem.c (do_one_test): Likewise.
2248 (do_test): Likewise.
2249 (do_random_tests): Likewise.
2250 * string/test-memmove.c (do_one_test): Likewise.
2251 (do_test): Likewise.
2252 * string/test-memset.c (do_one_test): Likewise.
2253 (do_test): Likewise.
2254 * string/test-rawmemchr.c (do_one_test): Likewise.
2255 (do_test): Likewise.
2256 * string/test-strcasecmp.c (do_one_test): Likewise.
2257 (do_test): Likewise.
2258 * string/test-strcasestr.c (do_one_test): Likewise.
2259 (do_test): Likewise.
2260 * string/test-strcat.c (do_one_test): Likewise.
2261 (do_test): Likewise.
2262 * string/test-strchr.c (do_one_test): Likewise.
2263 (do_test): Likewise.
2264 * string/test-strcmp.c (do_one_test): Likewise.
2265 (do_test): Likewise.
2266 * string/test-strcpy.c (do_one_test): Likewise.
2267 (do_test): Likewise.
2268 * string/test-string.h: Likewise.
2269 (test_init): Likewise.
2270 * string/test-strlen.c (do_one_test): Likewise.
2271 (do_test): Likewise.
2272 * string/test-strncasecmp.c (do_one_test): Likewise.
2273 (do_test): Likewise.
2274 * string/test-strncat.c (do_one_test): Likewise.
2275 (do_test): Likewise.
2276 * string/test-strncmp.c (do_one_test): Likewise.
2277 (do_test_limit): Likewise.
2278 (do_test): Likewise.
2279 * string/test-strncpy.c (do_one_test): Likewise.
2280 (do_test): Likewise.
2281 * string/test-strnlen.c (do_one_test): Likewise.
2282 (do_test): Likewise.
2283 * string/test-strpbrk.c (do_one_test): Likewise.
2284 (do_test): Likewise.
2285 * string/test-strrchr.c (do_one_test): Likewise.
2286 (do_test): Likewise.
2287 * string/test-strspn.c (do_one_test): Likewise.
2288 (do_test): Likewise.
2289 * string/test-strstr.c (do_one_test): Likewise.
2290 (do_test): Likewise.
2292 * benchtests/Makefile (string-bench): Add string benchmarks.
2293 * benchtests/bench-bcopy-ifunc.c: New file.
2294 * benchtests/bench-bcopy.c: New file.
2295 * benchtests/bench-bzero-ifunc.c: New file.
2296 * benchtests/bench-bzero.c: New file.
2297 * benchtests/bench-memccpy-ifunc.c: New file.
2298 * benchtests/bench-memccpy.c: New file.
2299 * benchtests/bench-memchr-ifunc.c: New file.
2300 * benchtests/bench-memchr.c: New file.
2301 * benchtests/bench-memcmp-ifunc.c: New file.
2302 * benchtests/bench-memcmp.c: New file.
2303 * benchtests/bench-memmem-ifunc.c: New file.
2304 * benchtests/bench-memmem.c: New file.
2305 * benchtests/bench-memmove-ifunc.c: New file.
2306 * benchtests/bench-memmove.c: New file.
2307 * benchtests/bench-mempcpy-ifunc.c: New file.
2308 * benchtests/bench-mempcpy.c: New file.
2309 * benchtests/bench-memset-ifunc.c: New file.
2310 * benchtests/bench-memset.c: New file.
2311 * benchtests/bench-rawmemchr-ifunc.c: New file.
2312 * benchtests/bench-rawmemchr.c: New file.
2313 * benchtests/bench-stpcpy-ifunc.c: New file.
2314 * benchtests/bench-stpcpy.c: New file.
2315 * benchtests/bench-stpncpy-ifunc.c: New file.
2316 * benchtests/bench-stpncpy.c: New file.
2317 * benchtests/bench-strcasecmp-ifunc.c: New file.
2318 * benchtests/bench-strcasecmp.c: New file.
2319 * benchtests/bench-strcasestr-ifunc.c: New file.
2320 * benchtests/bench-strcasestr.c: New file.
2321 * benchtests/bench-strcat-ifunc.c: New file.
2322 * benchtests/bench-strcat.c: New file.
2323 * benchtests/bench-strchr-ifunc.c: New file.
2324 * benchtests/bench-strchr.c: New file.
2325 * benchtests/bench-strchrnul-ifunc.c: New file.
2326 * benchtests/bench-strchrnul.c: New file.
2327 * benchtests/bench-strcmp-ifunc.c: New file.
2328 * benchtests/bench-strcmp.c: New file.
2329 * benchtests/bench-strcpy-ifunc.c: New file.
2330 * benchtests/bench-strcpy.c: New file.
2331 * benchtests/bench-strcspn-ifunc.c: New file.
2332 * benchtests/bench-strcspn.c: New file.
2333 * benchtests/bench-strlen-ifunc.c: New file.
2334 * benchtests/bench-strlen.c: New file.
2335 * benchtests/bench-strncasecmp-ifunc.c: New file.
2336 * benchtests/bench-strncasecmp.c: New file.
2337 * benchtests/bench-strncat-ifunc.c: New file.
2338 * benchtests/bench-strncat.c: New file.
2339 * benchtests/bench-strncmp-ifunc.c: New file.
2340 * benchtests/bench-strncmp.c: New file.
2341 * benchtests/bench-strncpy-ifunc.c: New file.
2342 * benchtests/bench-strncpy.c: New file.
2343 * benchtests/bench-strnlen-ifunc.c: New file.
2344 * benchtests/bench-strnlen.c: New file.
2345 * benchtests/bench-strpbrk-ifunc.c: New file.
2346 * benchtests/bench-strpbrk.c: New file.
2347 * benchtests/bench-strrchr-ifunc.c: New file.
2348 * benchtests/bench-strrchr.c: New file.
2349 * benchtests/bench-strspn-ifunc.c: New file.
2350 * benchtests/bench-strspn.c: New file.
2351 * benchtests/bench-strstr-ifunc.c: New file.
2352 * benchtests/bench-strstr.c: New file.
2354 * benchtests/Makefile: Disable parallel execution of targets.
2355 (string-bench): Add memcpy.
2356 (benchset): New variable to store a list of benchmark sets.
2357 (bench-func): Renamed from bench.
2358 (bench-set): New target.
2359 (bench): Depend on bench-func and bench-set.
2360 * benchtests/README: Add section on benchmark sets.
2361 * benchtests/bench-memcpy-ifunc.c: New file.
2362 * benchtests/bench-memcpy.c: New file.
2363 * benchtests/bench-string.h: New file.
2365 2013-06-11 Andreas Schwab <schwab@suse.de>
2368 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2369 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2370 values in the triple.
2371 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2372 terminator in the group key.
2374 2013-06-11 Andreas Jaeger <aj@suse.de>
2376 * po/zh_TW.po: Update Chinese (traditional) translation from
2377 translation project.
2379 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2381 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2382 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2383 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2384 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2385 (clock_getcpuclockid): Likewise.
2386 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2387 Add weak_alias and libc_hidden_def.
2388 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2389 * rt/clock_gettime.c (clock_gettime): Rename to
2390 __clock_gettime. Add weak_alias and libc_hidden_def.
2391 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2392 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2393 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2394 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2395 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2397 * rt/clock_settime.c (clock_settime): Rename to
2398 __clock_settime. Add weak_alias and libc_hidden_def.
2399 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2401 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2403 * mach/err_boot.sub: Remove trailing whitespace.
2404 * mach/err_ipc.sub: Likewise.
2405 * mach/err_mach.sub: Likewise.
2407 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2408 (ROUNDING_TESTS_double): Likewise.
2409 (ROUNDING_TESTS_long_double): Likewise.
2410 (ROUNDING_TESTS): Likewise.
2411 * math/libm-test.inc: Include <math-tests.h>.
2412 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2413 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2414 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2415 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2417 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2419 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2422 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2424 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2425 otherwise empty TRANS lines.
2426 * sysdeps/gnu/errlist.c: Regenerated.
2428 * catgets/gencat.c (error_print): Use (void) in function
2430 * crypt/crypt_util.c (__init_des): Likewise.
2431 * crypt/speeds.c (Stop): Likewise.
2433 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2434 * inet/ruserpass.c (token): Likewise.
2435 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2436 * intl/localealias.c (extend_alias_table): Likewise.
2437 * intl/plural-exp.c (init_germanic_plural): Likewise.
2438 * libio/fcloseall.c (__fcloseall): Likewise.
2439 * libio/genops.c (_IO_flush_all): Likewise.
2440 (_IO_flush_all_linebuffered): Likewise.
2441 (_IO_cleanup): Likewise.
2442 (_IO_iter_begin): Likewise.
2443 (_IO_iter_end): Likewise.
2444 (_IO_list_lock): Likewise.
2445 (_IO_list_unlock): Likewise.
2446 (_IO_list_resetlock): Likewise.
2447 * libio/getchar.c (getchar): Likewise.
2448 * libio/getchar_u.c (getchar_unlocked): Likewise.
2449 * libio/getwchar.c (getwchar): Likewise.
2450 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2451 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2452 * login/getpt.c (__getpt): Likewise.
2453 * login/tst-utmp.c (main): Likewise.
2454 * malloc/hooks.c (__malloc_check_init): Likewise.
2455 * malloc/malloc.c (__malloc_stats): Likewise.
2456 * malloc/mtrace.c (tr_break): Likewise.
2458 (muntrace): Likewise.
2459 * misc/fstab.c (endfsent): Likewise.
2460 * misc/getclktck.c (__getclktck): Likewise.
2461 * misc/getdtsz.c (__getdtablesize): Likewise.
2462 * misc/gethostid.c (gethostid): Likewise.
2463 * misc/getpagesize.c (__getpagesize): Likewise.
2464 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2465 (__get_nprocs): Likewise.
2466 (__get_phys_pages): Likewise.
2467 (__get_avphys_pages): Likewise.
2468 * misc/getttyent.c (getttyent): Likewise.
2469 (setttyent): Likewise.
2470 (endttyent): Likewise.
2471 * misc/getusershell.c (getusershell): Likewise.
2472 (endusershell): Likewise.
2473 (setusershell): Likewise.
2474 (initshells): Likewise.
2475 * misc/hsearch.c (__hdestroy): Likewise.
2476 * misc/sync.c (sync): Likewise.
2477 * misc/syslog.c (closelog_internal): Likewise.
2478 (closelog): Likewise.
2479 * misc/ttyslot.c (ttyslot): Likewise.
2480 * misc/vhangup.c (vhangup): Likewise.
2481 * posix/fork.c (__fork): Likewise.
2482 * posix/getegid.c (__getegid): Likewise.
2483 * posix/geteuid.c (__geteuid): Likewise.
2484 * posix/getgid.c (__getgid): Likewise.
2485 * posix/getpid.c (__getpid): Likewise.
2486 * posix/getppid.c (__getppid): Likewise.
2487 * posix/getuid.c (__getuid): Likewise.
2488 * posix/pause.c (pause): Likewise.
2489 * posix/setpgrp.c (setpgrp): Likewise.
2490 * posix/setsid.c (__setsid): Likewise.
2491 * posix/test-vfork.c (noop): Likewise.
2492 * resolv/gethnamaddr.c (_endhtent): Likewise.
2493 (_gethtent): Likewise.
2494 (ht_endhostent): Likewise.
2495 (gethostent): Likewise.
2496 (dns_service): Likewise.
2497 * stdlib/drand48.c (drand48): Likewise.
2498 * stdlib/lrand48.c (lrand48): Likewise.
2499 * stdlib/mrand48.c (mrand48): Likewise.
2500 * stdlib/rand.c (rand): Likewise.
2501 * stdlib/random.c (__random): Likewise.
2502 * stdlib/setenv.c (clearenv): Likewise.
2503 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2504 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2505 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2506 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2507 (__get_nprocs): Likewise.
2508 (__get_phys_pages): Likewise.
2509 (__get_avphys_pages): Likewise.
2510 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2511 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2512 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2513 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2514 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2515 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2516 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2517 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2518 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2519 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2520 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2521 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2522 * sysdeps/posix/clock.c (clock): Likewise.
2523 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2524 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2525 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2526 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2527 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2529 (__get_nprocs_conf): Likewise.
2530 (__get_phys_pages): Likewise.
2531 (__get_avphys_pages): Likewise.
2532 * time/clock.c (clock): Likewise.
2533 * time/tzset.c (__tzname_max): Likewise.
2535 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2537 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2538 (__bswap_32): Do not use "register".
2539 * crypt/crypt.c (_ufc_doit_r): Likewise.
2540 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2541 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2542 * gmon/gmon.c (__monstartup): Likewise.
2543 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2544 * hurd/hurdmalloc.c (more_memory): Likewise.
2547 (realloc): Likewise.
2548 (malloc_fork_prepare): Likewise.
2549 (malloc_fork_parent): Likewise.
2550 (malloc_fork_child): Likewise.
2551 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2552 (_svcauth_des): Likewise.
2553 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2554 * inet/inet_net.c (inet_network): Likewise.
2555 * inet/inet_netof.c (inet_netof): Likewise.
2556 * inet/rcmd.c (__validuser2_sa): Likewise.
2557 * io/fts.c (fts_open): Likewise.
2558 (fts_load): Likewise.
2559 (fts_close): Likewise.
2560 (fts_read): Likewise.
2561 (fts_children): Likewise.
2562 (fts_build): Likewise.
2563 (fts_stat): Likewise.
2564 (fts_sort): Likewise.
2565 (fts_alloc): Likewise.
2566 (fts_lfree): Likewise.
2567 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2568 (_IO_file_xsgetn): Likewise.
2569 (_IO_file_xsgetn_mmap): Likewise.
2570 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2571 (_IO_cookie_write): Likewise.
2572 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2573 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2574 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2575 * malloc/obstack.c (_obstack_begin): Likewise.
2576 (_obstack_begin_1): Likewise.
2577 (_obstack_newchunk): Likewise.
2578 (_obstack_allocated_p): Likewise.
2579 (obstack_free): Likewise.
2580 (_obstack_memory_used): Likewise.
2581 * misc/getttyent.c (getttynam): Likewise.
2582 (getttyent): Likewise.
2585 * misc/getusershell.c (initshells): Likewise.
2586 * misc/syslog.c (__vsyslog_chk): Likewise.
2587 * misc/ttyslot.c (ttyslot): Likewise.
2588 * nis/nis_hash.c (__nis_hash): Likewise.
2589 * posix/fnmatch_loop.c (FCT): Likewise.
2590 * posix/getconf.c (print_all): Likewise.
2592 * posix/getopt.c (exchange): Likewise.
2593 * posix/glob.c (globfree): Likewise.
2594 (prefix_array): Likewise.
2595 (__glob_pattern_type): Likewise.
2596 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2597 (NS_GET32): Likewise.
2598 (NS_PUT16): Likewise.
2599 (NS_PUT32): Likewise.
2600 * resolv/gethnamaddr.c (getanswer): Likewise.
2601 (gethostbyname2): Likewise.
2602 (gethostbyaddr): Likewise.
2603 (_gethtent): Likewise.
2604 (_gethtbyname2): Likewise.
2605 (_gethtbyaddr): Likewise.
2606 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2607 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2608 * resolv/res_init.c (__res_vinit): Likewise.
2609 (net_mask): Likewise.
2610 * resolv/res_mkquery.c (outchar): Likewise.
2612 * stdio-common/printf_fp.c (outchar): Likewise.
2614 * stdio-common/printf_fphex.c (outchar): Likewise.
2616 * stdio-common/printf_size.c (outchar): Likewise.
2618 * stdio-common/test_rdwr.c (main): Likewise.
2619 * stdio-common/tfformat.c (matches): Likewise.
2620 * stdio-common/vfprintf.c (outchar): Likewise.
2621 (printf_unknown): Likewise.
2622 (buffered_vfprintf): Likewise.
2623 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2624 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2625 (ReadFile): Likewise.
2626 * stdlib/qsort.c (SWAP): Likewise.
2627 (_quicksort): Likewise.
2628 * stdlib/setenv.c (__add_to_environ): Likewise.
2629 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2630 * stdlib/strtol_l.c (__strtol_l): Likewise.
2631 * stdlib/tst-strtod.c (main): Likewise.
2632 * stdlib/tst-strtol.c (main): Likewise.
2633 * stdlib/tst-strtoll.c (main): Likewise.
2634 * string/bits/string2.h (__strcmp_cc): Likewise.
2635 (__strcmp_cg): Likewise.
2636 (__strcspn_c1): Likewise.
2637 (__strcspn_c2): Likewise.
2638 (__strcspn_c3): Likewise.
2639 (__strspn_c1): Likewise.
2640 (__strspn_c2): Likewise.
2641 (__strspn_c3): Likewise.
2642 (__strsep_1c): Likewise.
2643 (__strsep_2c): Likewise.
2644 (__strsep_3c): Likewise.
2645 * string/memccpy.c (__memccpy): Likewise.
2646 * string/stpcpy.c (__stpcpy): Likewise.
2647 * string/strcmp.c (strcmp): Likewise.
2648 * string/strrchr.c (strrchr): Likewise.
2649 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2651 * sysdeps/mach/hurd/getcwd.c
2652 (_hurd_canonicalize_directory_name_internal): Likewise.
2653 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2654 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2655 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2656 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2657 Likewise, in both definitions.
2658 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2660 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2661 64] (__bswap_64): Likewise.
2662 * time/test_time.c (main): Likewise.
2663 * time/tzfile.c (__tzfile_read): Likewise.
2664 (__tzfile_compute): Likewise.
2665 * time/tzset.c (__tzset_parse_tz): Likewise.
2666 (tzset_internal): Likewise.
2667 (compute_change): Likewise.
2668 * wcsmbs/wcscat.c (__wcscat): Likewise.
2669 * wcsmbs/wcschr.c (wcschr): Likewise.
2670 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2671 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2672 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2673 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2674 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2675 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2676 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2677 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2678 * wcsmbs/wmemset.c (wmemset): Likewise.
2680 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2682 * scripts/config.guess: Update to version 2013-05-16.
2683 * scripts/config.sub: Update to version 2013-04-24.
2684 * scripts/install-sh: Update to version 2011-11-20.07.
2685 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2686 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2688 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2690 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2691 * elf/sln.c: Likewise.
2692 * hurd/hurd/ioctl.h: Likewise.
2693 * hurd/hurdmalloc.c: Likewise.
2694 * hurd/xattr.c: Likewise.
2695 * include/shlib-compat.h: Likewise.
2696 * inet/ruserpass.c: Likewise.
2697 * libio/iofgets_u.c: Likewise.
2698 * libio/iofgetws_u.c: Likewise.
2699 * locale/programs/ld-identification.c: Likewise.
2700 * locale/programs/ld-time.c: Likewise.
2701 * mach/msg-destroy.c: Likewise.
2702 * nss/nss_files/files-netgrp.c: Likewise.
2703 * resolv/res_data.c: Likewise.
2704 * soft-fp/op-1.h: Likewise.
2705 * soft-fp/op-2.h: Likewise.
2706 * soft-fp/op-4.h: Likewise.
2707 * soft-fp/op-common.h: Likewise.
2708 * stdio-common/printf_fphex.c: Likewise.
2709 * stdlib/strtod_l.c: Likewise.
2710 * sunrpc/rpc/clnt.h: Likewise.
2711 * sysdeps/generic/framestate.c: Likewise.
2712 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2713 * sysdeps/i386/bsd-setjmp.S: Likewise.
2714 * sysdeps/i386/__longjmp.S: Likewise.
2715 * sysdeps/i386/setjmp.S: Likewise.
2716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2717 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2721 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2725 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2726 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2727 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2728 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2729 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2730 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2732 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2733 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2734 * sysdeps/ieee754/support.c: Likewise.
2735 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2736 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2737 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2738 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2739 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2740 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2741 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2742 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2743 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2744 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2745 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2746 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2747 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2748 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2749 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2750 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2751 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2754 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2756 * posix/transbug.c: Remove executable mode.
2758 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2760 * crypt/speeds.c: Remove trailing whitespace.
2761 * dlfcn/default.c: Likewise.
2762 * elf/ifuncdep2.c: Likewise.
2763 * elf/ifuncmain1.c: Likewise.
2764 * elf/ifuncmain1vis.c: Likewise.
2765 * elf/testobj.h: Likewise.
2766 * elf/tst-stackguard1.c: Likewise.
2767 * gmon/sys/gmon.h: Likewise.
2768 * hurd/hurdmsg.c: Likewise.
2769 * hurd/new-fd.c: Likewise.
2770 * hurd/ports-get.c: Likewise.
2771 * iconvdata/ibm1008_420.c: Likewise.
2772 * inet/tst-getni1.c: Likewise.
2773 * inet/tst-getni2.c: Likewise.
2774 * libio/ioungetc.c: Likewise.
2775 * libio/wfiledoalloc.c: Likewise.
2776 * manual/libm-err-tab.pl: Likewise.
2777 * math/w_dremf.c: Likewise.
2778 * misc/ftruncate.c: Likewise.
2779 * posix/bug-glob2.c: Likewise.
2780 * posix/tst-pcre.c: Likewise.
2781 * posix/wait4.c: Likewise.
2782 * resolv/README: Likewise.
2783 * resolv/res_debug.h: Likewise.
2784 * resolv/tst-inet_ntop.c: Likewise.
2785 * setjmp/bug269-setjmp.c: Likewise.
2786 * soft-fp/extended.h: Likewise.
2787 * soft-fp/op-1.h: Likewise.
2788 * soft-fp/op-2.h: Likewise.
2789 * soft-fp/op-4.h: Likewise.
2790 * soft-fp/op-8.h: Likewise.
2791 * soft-fp/testit.c: Likewise.
2792 * stdio-common/bug16.c: Likewise.
2793 * stdlib/random.c: Likewise.
2794 * sunrpc/rpcsvc/rquota.x: Likewise.
2795 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2796 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2798 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2799 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2800 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2803 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2805 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2807 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2811 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2822 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2824 * sysdeps/ieee754/s_lib_version.c: Likewise.
2825 * sysdeps/mach/hurd/check_fds.c: Likewise.
2826 * sysdeps/mach/hurd/getsockname.c: Likewise.
2827 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2828 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2829 * sysdeps/powerpc/bits/link.h: Likewise.
2830 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2831 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2832 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2833 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2834 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2836 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2837 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2838 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2839 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2840 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2841 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2842 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2843 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2844 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2845 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2846 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2847 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2851 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2852 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2853 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2854 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2856 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2857 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2864 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2865 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2866 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2867 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2868 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2869 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2870 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2871 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2872 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2873 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2874 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2875 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2876 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2877 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2878 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2879 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2882 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2883 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2884 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2885 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2886 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2887 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2888 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2889 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2894 * sysdeps/powerpc/sysdep.h: Likewise.
2895 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2896 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2897 * sysdeps/sh/dl-trampoline.S: Likewise.
2898 * sysdeps/sh/memset.S: Likewise.
2899 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2900 * sysdeps/sh/strlen.S: Likewise.
2901 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2902 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2903 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2904 * sysdeps/sparc/sparc32/rem.S: Likewise.
2905 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2906 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2907 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2908 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2909 * sysdeps/sparc/sparc32/urem.S: Likewise.
2910 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2911 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2912 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2913 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2914 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2915 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2916 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2917 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2918 * sysdeps/unix/bsd/times.c: Likewise.
2919 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2920 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2924 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2925 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2926 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2927 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2928 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2929 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2930 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2931 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2932 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2933 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2934 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2936 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2937 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2938 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2939 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2940 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2941 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2942 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2943 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2944 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2947 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2948 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2949 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2950 * sysdeps/x86_64/strcspn.S: Likewise.
2952 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2954 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2955 generated file. Regenerate properly from gen-translit.pl.
2956 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2957 locale/C-translit.h.
2959 2013-06-05 Andreas Schwab <schwab@suse.de>
2962 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2963 week as 6 instead of -1.
2964 * time/tst-strptime.c (day_tests): Add test case.
2966 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2968 * sysdeps/generic/math_private.h
2969 (libc_feholdexcept_setround_53bit): Replace with
2970 libc_feholdsetround_53bit.
2971 (libc_feupdateenv_53bit): Replace with
2972 libc_feresetround_53bit.
2973 (SET_RESTORE_ROUND_53BIT): Adjust.
2975 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2977 * string/test-strchrnul.c: Add copyright header.
2979 * posix/tst-getaddrinfo4.c: Increase test timeout.
2981 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2984 * math/libm-test.inc (MAX_EXP): Remove
2986 (ulp): Use MIN_EXP - MANT_DIG.
2987 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2989 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2991 * po/be.po: Revert last change.
2992 * po/zh_CN.po: Likewise.
2993 * po/header.pot: Likewise.
2995 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2997 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2998 link-libc-deps to empty as target-specific variable.
2999 * Makerules (link-libc-args): New variable.
3000 (libc-for-link): Likewise.
3001 (link-libc-deps): Likewise.
3002 (lib%.so): Depend on $(link-libc-deps). Link with
3004 (build-module): Link with $(link-libc-args).
3005 (build-module-asneeded): Likewise.
3006 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3008 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3009 target-specific variable.
3010 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3011 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3012 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3014 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3016 ($(objpfx)libpcprofile.so): Likewise.
3017 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3019 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3020 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3023 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3024 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3025 * login/Makefile ($(objpfx)libutil.so): Likewise.
3026 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3027 * math/Makefile ($(objpfx)libm.so): Likewise.
3028 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3029 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3030 variable instead of depending directly on libc.
3031 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3032 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3034 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3036 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3037 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3038 ($(objpfx)libanl.so): Likewise.
3039 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3041 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3043 * sysdeps/i386/fpu/Makefile: Remove file.
3044 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3045 ($(objpfx)libm.so): Remove dependency on ld.so.
3047 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3050 * nis/yp_xdr.c (XDRMAXNAME): Define.
3051 (XDRMAXRECORD): Define.
3052 (xdr_domainname): Use XDRMAXNAME.
3053 (xdr_mapname): Likewise.
3054 (xdr_peername): Likewise.
3055 (xdr_keydat): Use XDRMAXRECORD.
3056 (xdr_valdat): Likewise.
3058 2013-05-30 Jeff Law <law@redhat.com>
3061 * manual/errno.texi (ESTALE): Update to account for more than
3062 just NFS file systems.
3063 * sysdeps/gnu/errlist.c: Regenerated.
3065 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3068 * elf/Makefile (tests): Add tst-null-argv.
3069 (modules-names): Add tst-null-argv-lib.
3070 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3071 (tst-null-argv-ENV): Set environment for tst-null-argv.
3072 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3073 (RTLD_PROGNAME): New macro.
3074 * elf/tst-null-argv.c: New test case.
3075 * elf/tst-null-argv-lib.c: Library for test case.
3076 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3077 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3078 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3079 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3080 * elf/dl-init.c (call_init): Likewise.
3081 (_dl_init): Likewise.
3082 * elf/dl-load.c (print_search_path): Likewise.
3083 (_dl_map_object): Likewise.
3084 * elf/dl-lookup.c (do_lookup_x): Likewise.
3085 (add_dependency): Likewise.
3086 (_dl_lookup_symbol_x): Likewise.
3087 (_dl_debug_bindings): Likewise.
3088 * elf/dl-open.c (_dl_show_scope): Likewise.
3089 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3090 * elf/dl-version.c (match_symbol): Likewise.
3091 (_dl_check_map_versions): Likewise.
3092 * elf/rtld.c (dl_main): Likewise.
3093 (print_unresolved): Use RTLD_PROGNAME.
3094 (print_missing_version): Likewise.
3095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3096 (elf_machine_rela): Likewise.
3097 * sysdeps/powerpc/powerpc32/dl-machine.c
3098 (__process_machine_rela): Likewise.
3099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3101 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3103 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3105 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3112 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3114 * po/be.po: Add descriptive title.
3115 * po/zh_CN.po: Likewise.
3116 * po/header.pot: Likewise.
3118 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3120 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3122 (enlarge_archive): Likewise.
3124 2013-05-28 Ben North <ben@redfrontdoor.org>
3126 * manual/arith.texi (frexp): It is the magnitude of the return
3127 value which lies in [0.5, 1), not the return value itself.
3129 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3133 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3135 * stdio-common/bug26.c (main): Correct fscanf template.
3137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3138 declare _dl_skip_args.
3140 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3143 * manual/platform.texi: Add missing @end deftypefun.
3145 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3149 bit of mantissa of 2^16382.
3150 * math/libm-test.inc (hypot_test_data): Add more tests.
3152 * math/libm-test.inc: Add drem and pow10 to list of tested
3154 (pow10_test): New function.
3155 (drem_test): Likewise.
3156 (drem_test_tonearest): Likewise.
3157 (drem_test_towardzero): Likewise.
3158 (drem_test_downward): Likewise.
3159 (drem_test_upward): Likewise.
3160 (main): Call the new functions.
3162 * math/libm-test.inc (finite_test_data): Remove.
3163 (finite_test): Run tests from isfinite_test_data.
3164 (gamma_test_data): Remove.
3165 (gamma_test): Run tests from lgamma_test_data.
3166 * sysdeps/i386/fpu/libm-test-ulps: Update.
3167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3169 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171 * manual/platform.texi: Add PowerPC PPR function set documentation.
3172 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3175 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3177 * math/libm-test.inc (MAX_EXP): Define.
3179 (ulp): New function.
3180 (check_float_internal): Use ULPDIFF.
3181 (cpow_test): Disable failing test.
3182 (check_ulp): Test ulp() implemetnation.
3183 (main): Call check_ulp before starting tests.
3185 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3187 * math/gen-libm-test.pl (generate_testfile): Do not handle
3188 START_DATA and END_DATA.
3189 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3191 (acos_tonearest_test_data): Likewise.
3192 (acos_towardzero_test_data): Likewise.
3193 (acos_downward_test_data): Likewise.
3194 (acos_upward_test_data): Likewise.
3195 (acosh_test_data): Likewise.
3196 (asin_test_data): Likewise.
3197 (asin_tonearest_test_data): Likewise.
3198 (asin_towardzero_test_data): Likewise.
3199 (asin_downward_test_data): Likewise.
3200 (asin_upward_test_data): Likewise.
3201 (asinh_test_data): Likewise.
3202 (atan_test_data): Likewise.
3203 (atanh_test_data): Likewise.
3204 (atan2_test_data): Likewise.
3205 (cabs_test_data): Likewise.
3206 (cacos_test_data): Likewise.
3207 (cacosh_test_data): Likewise.
3208 (carg_test_data): Likewise.
3209 (casin_test_data): Likewise.
3210 (casinh_test_data): Likewise.
3211 (catan_test_data): Likewise.
3212 (catanh_test_data): Likewise.
3213 (cbrt_test_data): Likewise.
3214 (ccos_test_data): Likewise.
3215 (ccosh_test_data): Likewise.
3216 (ceil_test_data): Likewise.
3217 (cexp_test_data): Likewise.
3218 (cimag_test_data): Likewise.
3219 (clog_test_data): Likewise.
3220 (clog10_test_data): Likewise.
3221 (conj_test_data): Likewise.
3222 (copysign_test_data): Likewise.
3223 (cos_test_data): Likewise.
3224 (cos_tonearest_test_data): Likewise.
3225 (cos_towardzero_test_data): Likewise.
3226 (cos_downward_test_data): Likewise.
3227 (cos_upward_test_data): Likewise.
3228 (cosh_test_data): Likewise.
3229 (cosh_tonearest_test_data): Likewise.
3230 (cosh_towardzero_test_data): Likewise.
3231 (cosh_downward_test_data): Likewise.
3232 (cosh_upward_test_data): Likewise.
3233 (cpow_test_data): Likewise.
3234 (cproj_test_data): Likewise.
3235 (creal_test_data): Likewise.
3236 (csin_test_data): Likewise.
3237 (csinh_test_data): Likewise.
3238 (csqrt_test_data): Likewise.
3239 (ctan_test_data): Likewise.
3240 (ctan_tonearest_test_data): Likewise.
3241 (ctan_towardzero_test_data): Likewise.
3242 (ctan_downward_test_data): Likewise.
3243 (ctan_upward_test_data): Likewise.
3244 (ctanh_test_data): Likewise.
3245 (ctanh_tonearest_test_data): Likewise.
3246 (ctanh_towardzero_test_data): Likewise.
3247 (ctanh_downward_test_data): Likewise.
3248 (ctanh_upward_test_data): Likewise.
3249 (erf_test_data): Likewise.
3250 (erfc_test_data): Likewise.
3251 (exp_test_data): Likewise.
3252 (exp_tonearest_test_data): Likewise.
3253 (exp_towardzero_test_data): Likewise.
3254 (exp_downward_test_data): Likewise.
3255 (exp_upward_test_data): Likewise.
3256 (exp10_test_data): Likewise.
3257 (exp2_test_data): Likewise.
3258 (expm1_test_data): Likewise.
3259 (fabs_test_data): Likewise.
3260 (fdim_test_data): Likewise.
3261 (finite_test_data): Likewise.
3262 (floor_test_data): Likewise.
3263 (fma_test_data): Likewise.
3264 (fma_towardzero_test_data): Likewise.
3265 (fma_downward_test_data): Likewise.
3266 (fma_upward_test_data): Likewise.
3267 (fmax_test_data): Likewise.
3268 (fmin_test_data): Likewise.
3269 (fmod_test_data): Likewise.
3270 (fpclassify_test_data): Likewise.
3271 (frexp_test_data): Likewise.
3272 (gamma_test_data): Likewise.
3273 (hypot_test_data): Likewise.
3274 (ilogb_test_data): Likewise.
3275 (isfinite_test_data): Likewise.
3276 (isgreater_test_data): Likewise.
3277 (isgreaterequal_test_data): Likewise.
3278 (isinf_test_data): Likewise.
3279 (isless_test_data): Likewise.
3280 (islessequal_test_data): Likewise.
3281 (islessgreater_test_data): Likewise.
3282 (isnan_test_data): Likewise.
3283 (isnormal_test_data): Likewise.
3284 (issignaling_test_data): Likewise.
3285 (isunordered_test_data): Likewise.
3286 (j0_test_data): Likewise.
3287 (j1_test_data): Likewise.
3288 (jn_test_data): Likewise.
3289 (ldexp_test_data): Likewise.
3290 (lgamma_test_data): Likewise.
3291 (lrint_test_data): Likewise.
3292 (lrint_tonearest_test_data): Likewise.
3293 (lrint_towardzero_test_data): Likewise.
3294 (lrint_downward_test_data): Likewise.
3295 (lrint_upward_test_data): Likewise.
3296 (llrint_test_data): Likewise.
3297 (llrint_tonearest_test_data): Likewise.
3298 (llrint_towardzero_test_data): Likewise.
3299 (llrint_downward_test_data): Likewise.
3300 (llrint_upward_test_data): Likewise.
3301 (log_test_data): Likewise.
3302 (log10_test_data): Likewise.
3303 (log1p_test_data): Likewise.
3304 (log2_test_data): Likewise.
3305 (logb_test_data): Likewise.
3306 (logb_downward_test_data): Likewise.
3307 (lround_test_data): Likewise.
3308 (llround_test_data): Likewise.
3309 (modf_test_data): Likewise.
3310 (nearbyint_test_data): Likewise.
3311 (nextafter_test_data): Likewise.
3312 (nexttoward_test_data): Likewise.
3313 (pow_test_data): Likewise.
3314 (pow_tonearest_test_data): Likewise.
3315 (pow_towardzero_test_data): Likewise.
3316 (pow_downward_test_data): Likewise.
3317 (pow_upward_test_data): Likewise.
3318 (remainder_test_data): Likewise.
3319 (remainder_tonearest_test_data): Likewise.
3320 (remainder_towardzero_test_data): Likewise.
3321 (remainder_downward_test_data): Likewise.
3322 (remainder_upward_test_data): Likewise.
3323 (remquo_test_data): Likewise.
3324 (rint_test_data): Likewise.
3325 (rint_tonearest_test_data): Likewise.
3326 (rint_towardzero_test_data): Likewise.
3327 (rint_downward_test_data): Likewise.
3328 (rint_upward_test_data): Likewise.
3329 (round_test_data): Likewise.
3330 (scalb_test_data): Likewise.
3331 (scalbn_test_data): Likewise.
3332 (scalbln_test_data): Likewise.
3333 (signbit_test_data): Likewise.
3334 (sin_test_data): Likewise.
3335 (sin_tonearest_test_data): Likewise.
3336 (sin_towardzero_test_data): Likewise.
3337 (sin_downward_test_data): Likewise.
3338 (sin_upward_test_data): Likewise.
3339 (sincos_test_data): Likewise.
3340 (sinh_test_data): Likewise.
3341 (sinh_tonearest_test_data): Likewise.
3342 (sinh_towardzero_test_data): Likewise.
3343 (sinh_downward_test_data): Likewise.
3344 (sinh_upward_test_data): Likewise.
3345 (sqrt_test_data): Likewise.
3346 (tan_test_data): Likewise.
3347 (tan_tonearest_test_data): Likewise.
3348 (tan_towardzero_test_data): Likewise.
3349 (tan_downward_test_data): Likewise.
3350 (tan_upward_test_data): Likewise.
3351 (tanh_test_data): Likewise.
3352 (tgamma_test_data): Likewise.
3353 (trunc_test_data): Likewise.
3354 (y0_test_data): Likewise.
3355 (y1_test_data): Likewise.
3356 (yn_test_data): Likewise.
3357 (significand_test_data): Likewise.
3359 * math/gen-libm-test.pl (@functions): Remove variable.
3360 (generate_testfile): Don't handle START and END lines.
3361 * math/libm-test.inc (START): New macro.
3363 (END_COMPLEX): Likewise.
3364 (acos_test): Use END macro without arguments.
3365 (acos_test_tonearest): Likewise.
3366 (acos_test_towardzero): Likewise.
3367 (acos_test_downward): Likewise.
3368 (acos_test_upward): Likewise.
3369 (acosh_test): Likewise.
3370 (asin_test): Likewise.
3371 (asin_test_tonearest): Likewise.
3372 (asin_test_towardzero): Likewise.
3373 (asin_test_downward): Likewise.
3374 (asin_test_upward): Likewise.
3375 (asinh_test): Likewise.
3376 (atan_test): Likewise.
3377 (atanh_test): Likewise.
3378 (atan2_test): Likewise.
3379 (cabs_test): Likewise.
3380 (cacos_test): Use END_COMPLEX macro without arguments.
3381 (cacosh_test): Likewise.
3382 (carg_test): Use END macro without arguments.
3383 (casin_test): Use END_COMPLEX macro without arguments.
3384 (casinh_test): Likewise.
3385 (catan_test): Likewise.
3386 (catanh_test): Likewise.
3387 (cbrt_test): Use END macro without arguments.
3388 (ccos_test): Use END_COMPLEX macro without arguments.
3389 (ccosh_test): Likewise.
3390 (ceil_test): Use END macro without arguments.
3391 (cexp_test): Use END_COMPLEX macro without arguments.
3392 (cimag_test): Use END macro without arguments.
3393 (clog_test): Use END_COMPLEX macro without arguments.
3394 (clog10_test): Likewise.
3395 (conj_test): Likewise.
3396 (copysign_test): Use END macro without arguments.
3397 (cos_test): Likewise.
3398 (cos_test_tonearest): Likewise.
3399 (cos_test_towardzero): Likewise.
3400 (cos_test_downward): Likewise.
3401 (cos_test_upward): Likewise.
3402 (cosh_test): Likewise.
3403 (cosh_test_tonearest): Likewise.
3404 (cosh_test_towardzero): Likewise.
3405 (cosh_test_downward): Likewise.
3406 (cosh_test_upward): Likewise.
3407 (cpow_test): Use END_COMPLEX macro without arguments.
3408 (cproj_test): Likewise.
3409 (creal_test): Use END macro without arguments.
3410 (csin_test): Use END_COMPLEX macro without arguments.
3411 (csinh_test): Likewise.
3412 (csqrt_test): Likewise.
3413 (ctan_test): Likewise.
3414 (ctan_test_tonearest): Likewise.
3415 (ctan_test_towardzero): Likewise.
3416 (ctan_test_downward): Likewise.
3417 (ctan_test_upward): Likewise.
3418 (ctanh_test): Likewise.
3419 (ctanh_test_tonearest): Likewise.
3420 (ctanh_test_towardzero): Likewise.
3421 (ctanh_test_downward): Likewise.
3422 (ctanh_test_upward): Likewise.
3423 (erf_test): Use END macro without arguments.
3424 (erfc_test): Likewise.
3425 (exp_test): Likewise.
3426 (exp_test_tonearest): Likewise.
3427 (exp_test_towardzero): Likewise.
3428 (exp_test_downward): Likewise.
3429 (exp_test_upward): Likewise.
3430 (exp10_test): Likewise.
3431 (exp2_test): Likewise.
3432 (expm1_test): Likewise.
3433 (fabs_test): Likewise.
3434 (fdim_test): Likewise.
3435 (finite_test): Likewise.
3436 (floor_test): Likewise.
3437 (fma_test): Likewise.
3438 (fma_test_towardzero): Likewise.
3439 (fma_test_downward): Likewise.
3440 (fma_test_upward): Likewise.
3441 (fmax_test): Likewise.
3442 (fmin_test): Likewise.
3443 (fmod_test): Likewise.
3444 (fpclassify_test): Likewise.
3445 (frexp_test): Likewise.
3446 (gamma_test): Likewise.
3447 (hypot_test): Likewise.
3448 (ilogb_test): Likewise.
3449 (isfinite_test): Likewise.
3450 (isgreater_test): Likewise.
3451 (isgreaterequal_test): Likewise.
3452 (isinf_test): Likewise.
3453 (isless_test): Likewise.
3454 (islessequal_test): Likewise.
3455 (islessgreater_test): Likewise.
3456 (isnan_test): Likewise.
3457 (isnormal_test): Likewise.
3458 (issignaling_test): Likewise.
3459 (isunordered_test): Likewise.
3460 (j0_test): Likewise.
3461 (j1_test): Likewise.
3462 (jn_test): Likewise.
3463 (ldexp_test): Likewise.
3464 (lgamma_test): Likewise.
3465 (lrint_test): Likewise.
3466 (lrint_test_tonearest): Likewise.
3467 (lrint_test_towardzero): Likewise.
3468 (lrint_test_downward): Likewise.
3469 (lrint_test_upward): Likewise.
3470 (llrint_test): Likewise.
3471 (llrint_test_tonearest): Likewise.
3472 (llrint_test_towardzero): Likewise.
3473 (llrint_test_downward): Likewise.
3474 (llrint_test_upward): Likewise.
3475 (log_test): Likewise.
3476 (log10_test): Likewise.
3477 (log1p_test): Likewise.
3478 (log2_test): Likewise.
3479 (logb_test): Likewise.
3480 (logb_test_downward): Likewise.
3481 (lround_test): Likewise.
3482 (llround_test): Likewise.
3483 (modf_test): Likewise.
3484 (nearbyint_test): Likewise.
3485 (nextafter_test): Likewise.
3486 (nexttoward_test): Likewise.
3487 (pow_test): Likewise.
3488 (pow_test_tonearest): Likewise.
3489 (pow_test_towardzero): Likewise.
3490 (pow_test_downward): Likewise.
3491 (pow_test_upward): Likewise.
3492 (remainder_test): Likewise.
3493 (remainder_test_tonearest): Likewise.
3494 (remainder_test_towardzero): Likewise.
3495 (remainder_test_downward): Likewise.
3496 (remainder_test_upward): Likewise.
3497 (remquo_test): Likewise.
3498 (rint_test): Likewise.
3499 (rint_test_tonearest): Likewise.
3500 (rint_test_towardzero): Likewise.
3501 (rint_test_downward): Likewise.
3502 (rint_test_upward): Likewise.
3503 (round_test): Likewise.
3504 (scalb_test): Likewise.
3505 (scalbn_test): Likewise.
3506 (scalbln_test): Likewise.
3507 (signbit_test): Likewise.
3508 (sin_test): Likewise.
3509 (sin_test_tonearest): Likewise.
3510 (sin_test_towardzero): Likewise.
3511 (sin_test_downward): Likewise.
3512 (sin_test_upward): Likewise.
3513 (sincos_test): Likewise.
3514 (sinh_test): Likewise.
3515 (sinh_test_tonearest): Likewise.
3516 (sinh_test_towardzero): Likewise.
3517 (sinh_test_downward): Likewise.
3518 (sinh_test_upward): Likewise.
3519 (sqrt_test): Likewise.
3520 (tan_test): Likewise.
3521 (tan_test_tonearest): Likewise.
3522 (tan_test_towardzero): Likewise.
3523 (tan_test_downward): Likewise.
3524 (tan_test_upward): Likewise.
3525 (tanh_test): Likewise.
3526 (tgamma_test): Likewise.
3527 (trunc_test): Likewise.
3528 (y0_test): Likewise.
3529 (y1_test): Likewise.
3530 (yn_test): Likewise.
3531 (significand_test): Likewise.
3533 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3536 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3538 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3541 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3542 __ppc_mdoio and __ppc_mdoom.
3543 * manual/platform.texi: Document new functions __ppc_yield,
3544 __ppc_mdoio and __ppc_mdoom.
3546 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3548 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3549 (main): Mention "tls" pseudo-hwcap is legacy.
3550 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3552 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3554 * math/gen-libm-test.pl (parse_args): Output only string of
3555 arguments as text for test name, not full call or descriptions of
3556 tests for extra outputs.
3557 (generate_testfile): Do not pass function name to parse_args.
3558 Generate this_func variable from START.
3559 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3561 (struct test_ff_f_data): Likewise.
3562 (test_ff_f_data_nexttoward): Likewise.
3563 (struct test_fi_f_data): Likewise.
3564 (struct test_fl_f_data): Likewise.
3565 (struct test_if_f_data): Likewise.
3566 (struct test_fff_f_data): Likewise.
3567 (struct test_c_f_data): Likewise.
3568 (struct test_f_f1_data): Likewise. Remove field extra_name.
3569 (struct test_fF_f1_data): Likewise.
3570 (struct test_ffI_f1_data): Likewise.
3571 (struct test_c_c_data): Rename test_name field to arg_str.
3572 (struct test_cc_c_data): Likewise.
3573 (struct test_f_i_data): Likewise.
3574 (struct test_ff_i_data): Likewise.
3575 (struct test_f_l_data): Likewise.
3576 (struct test_f_L_data): Likewise.
3577 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3579 (COMMON_TEST_SETUP): New macro.
3580 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3581 (COMMON_TEST_CLEANUP): Likewise.
3582 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3583 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3585 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3586 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3588 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3589 (RUN_TEST_fff_f): Take argument string. Call new setup and
3591 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3592 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3594 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3595 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3597 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3598 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3600 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3601 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3603 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3604 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3606 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3607 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3609 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3610 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3612 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3613 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3615 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3616 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3618 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3619 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3621 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3622 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3624 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3625 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3627 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3628 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3630 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3631 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3633 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3634 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3636 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3638 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3640 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3641 to _sifields.sigfault.
3642 (si_addr_lsb): Define new macro.
3643 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3645 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3647 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3650 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3652 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3654 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3657 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3659 * math/gen-libm-test.pl (parse_args): Do not include expected
3660 result in test name.
3661 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3663 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3664 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3665 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3668 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3670 * benchtests/Makefile: Sort function entries.
3672 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3673 tanh, asinh, acosh, atanh.
3674 * benchtests/acos-inputs: New file.
3675 * benchtests/acosh-inputs: New file.
3676 * benchtests/asin-inputs: New file.
3677 * benchtests/asinh-inputs: New file.
3678 * benchtests/atanh-inputs: New file.
3679 * benchtests/cosh-inputs: New file.
3680 * benchtests/log-inputs: New file.
3681 * benchtests/sinh-inputs: New file.
3682 * benchtests/tanh-inputs: New file.
3684 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3687 * posix/tst-getaddrinfo4.c: New test.
3688 * posix/Makefile (tests): Add it.
3690 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3693 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3694 when no services were used.
3695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3696 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3698 2013-05-21 Andreas Schwab <schwab@suse.de>
3701 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3702 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3704 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3705 redundant variable declarations and reallocation of buffer when
3706 parsing as IPv6 address. Always set NSS status when called from
3707 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3708 buffer too small. Correct computation of needed size.
3709 * nss/Makefile (tests): Add test-digits-dots.
3710 * nss/test-digits-dots.c: New test.
3712 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3714 * benchtests/Makefile: Remove instructions for adding
3716 * benchtests/README: New file to explain how to execute and
3717 enhance the benchmark tests.
3719 2013-05-21 Andreas Schwab <schwab@suse.de>
3722 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3723 * setjmp/tst-sigsetjmp.c: New test.
3725 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3727 * sysdeps/x86_64/memset.S (memset): New implementation.
3728 (__bzero): Likewise.
3729 (__memset_tail): New function.
3731 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3733 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3734 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3735 __memcpy_sse2_unaligned ifunc selection.
3736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3737 Add memcpy-sse2-unaligned.S.
3738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3739 Add: __memcpy_sse2_unaligned.
3741 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3745 math_force_eval before restoring floating-point envrionment.
3746 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3749 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3751 (__nearbyintl): Use math_force_eval before restoring
3752 floating-point environment.
3753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3755 * math/gen-libm-test.pl (special_functions): Remove.
3756 (parse_args): Don't handle TEST_extra. Handle functions with no
3758 * math/libm-test.inc (struct test_sincos_data): Replace with
3759 struct test_fFF_11_data.
3760 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3761 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3762 (sincos_test_data): Change element type to struct
3763 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3764 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3765 RUN_TEST_LOOP_sincos.
3766 * math/README.libm-test: Don't mention special handling of
3767 individual functions.
3768 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3770 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3771 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3772 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775 * math/gen-libm-test.pl (get_variable): Remove function.
3776 (parse_args): Don't show pointer parameters to call in test
3777 names. Use "extra output N" in test names for extra outputs
3778 rather than naming variables.
3780 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3783 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3784 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3785 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3787 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3789 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3792 * math/gen-libm-test.pl (@tests): Remove variable.
3794 (new_test): Remove function.
3795 (show_exceptions): New function.
3796 (special_functions): Use show_exceptions instead of new_test.
3797 (parse_args): Likewise.
3798 (generate_testfile): Pass only function name in generated call to
3799 print_max_error or print_complex_max_error.
3800 (get_ulps): Do not handle complex tests specially.
3801 (output_test): Rename to ...
3802 (get_all_ulps_for_test): ... this. Return a string rather than
3803 printing to a file. Require ulps to be present.
3804 (output_ulps): Generate arrays rather than #defines.
3805 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3806 (struct ulp_data): New type.
3807 (BUILD_COMPLEX_ULP): Remove macro.
3808 (compare_ulp_data): New function.
3809 (find_ulps): Likewise.
3810 (find_test_ulps): Likewise.
3811 (find_function_ulps): Likewise.
3812 (find_complex_function_ulps): Likewise.
3813 (print_max_error): Determine allowed ulps using
3815 (print_complex_max_error): Determine allowed ulps using
3816 find_complex_function_ulps.
3817 (check_float_internal): Determine max ulps using find_test_ulps.
3818 (check_float): Do not take max_ulp parameter. Update call to
3819 check_float_internal.
3820 (check_complex): Likewise.
3821 (check_int): Do not take max_ulp parameter.
3822 (check_long): Likewise.
3823 (check_bool): Likewise.
3824 (check_longlong): Likewise.
3825 (struct test_f_f_data): Remove max_ulp field.
3826 (struct test_ff_f_data): Likewise.
3827 (struct test_ff_f_data_nexttoward): Likewise.
3828 (struct test_fi_f_data): Likewise.
3829 (struct test_fl_f_data): Likewise.
3830 (struct test_if_f_data): Likewise.
3831 (struct test_fff_f_data): Likewise.
3832 (struct test_c_f_data): Likewise.
3833 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3834 (struct test_fF_f1_data): Likewise.
3835 (struct test_ffI_f1_data): Likewise.
3836 (struct test_c_c_data): Remove max_ulp field.
3837 (struct test_cc_c_data): Likewise.
3838 (struct test_f_i_data): Likewise.
3839 (struct test_ff_i_data): Likewise.
3840 (struct test_f_l_data): Likewise.
3841 (struct test_f_L_data): Likewise.
3842 (struct test_sincos_data): Likewise.
3843 (RUN_TEST_f_f): Do not handle ulps.
3844 (RUN_TEST_LOOP_f_f): Likewise.
3845 (RUN_TEST_2_f): Likewise.
3846 (RUN_TEST_LOOP_2_f): Likewise.
3847 (RUN_TEST_fff_f): Likewise.
3848 (RUN_TEST_LOOP_fff_f): Likewise.
3849 (RUN_TEST_c_f): Likewise.
3850 (RUN_TEST_LOOP_c_f): Likewise.
3851 (RUN_TEST_f_f1): Likewise.
3852 (RUN_TEST_LOOP_f_f1): Likewise.
3853 (RUN_TEST_fF_f1): Likewise.
3854 (RUN_TEST_LOOP_fF_f1): Likewise.
3855 (RUN_TEST_fI_f1): Likewise.
3856 (RUN_TEST_LOOP_fI_f1): Likewise.
3857 (RUN_TEST_ffI_f1): Likewise.
3858 (RUN_TEST_LOOP_ffI_f1): Likewise.
3859 (RUN_TEST_c_c): Likewise.
3860 (RUN_TEST_LOOP_c_c): Likewise.
3861 (RUN_TEST_cc_c): Likewise.
3862 (RUN_TEST_LOOP_cc_c): Likewise.
3863 (RUN_TEST_f_i): Likewise.
3864 (RUN_TEST_LOOP_f_i): Likewise.
3865 (RUN_TEST_f_i_tg): Likewise.
3866 (RUN_TEST_LOOP_f_i_tg): Likewise.
3867 (RUN_TEST_ff_i_tg): Likewise.
3868 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3869 (RUN_TEST_f_b): Likewise.
3870 (RUN_TEST_LOOP_f_b): Likewise.
3871 (RUN_TEST_f_b_tg): Likewise.
3872 (RUN_TEST_LOOP_f_b_tg): Likewise.
3873 (RUN_TEST_f_l): Likewise.
3874 (RUN_TEST_LOOP_f_l): Likewise.
3875 (RUN_TEST_f_L): Likewise.
3876 (RUN_TEST_LOOP_f_L): Likewise.
3877 (RUN_TEST_sincos): Likewise.
3878 (RUN_TEST_LOOP_sincos): Likewise.
3880 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3884 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3885 main case of finite arguments, set rounding mode to FE_TONEAREST
3886 and discard exceptions.
3887 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3889 (remainder_tonearest_test_data): New variable.
3890 (remainder_test_tonearest): New function.
3891 (remainder_towardzero_test_data): New variable.
3892 (remainder_test_towardzero): New function.
3893 (remainder_downward_test_data): New variable.
3894 (remainder_test_downward): New function.
3895 (remainder_upward_test_data): New variable.
3896 (remainder_test_upward): New function.
3897 (main): Call the new test functions.
3899 * math/libm-test.inc (struct test_f_f1_data): Remove field
3901 (struct test_fF_f1_data): Likewise.
3902 (struct test_ffI_f1_data): Likewise.
3903 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3904 based on value of EXTRA_EXPECTED.
3905 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3906 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3907 EXTRA_VAR based on value of EXTRA_EXPECTED.
3908 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3909 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3910 EXTRA_VAR based on value of EXTRA_EXPECTED.
3911 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3912 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3913 EXTRA_VAR based on value of EXTRA_EXPECTED.
3914 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3915 * math/gen-libm-test.pl (parse_args): Don't output initializers
3916 for extra output values.
3918 * math/libm-test.inc (check_int): Expect result to be exactly
3919 equal to expected value and do not handle ulps.
3920 (check_long): Likewise.
3921 (check_longlong): Likewise.
3923 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3925 (cimag_test_data): Likewise.
3926 (conj_test_data): Likewise.
3927 (copysign_test_data): Likewise.
3928 (cproj_test_data): Likewise.
3929 (creal_test_data): Likewise.
3930 (fabs_test_data): Likewise.
3931 (fdim_test_data): Likewise.
3932 (finite_test_data): Likewise.
3933 (floor_test_data): Likewise.
3934 (fmax_test_data): Likewise.
3935 (fmin_test_data): Likewise.
3936 (fmod_test_data): Likewise.
3937 (fpclassify_test_data): Likewise.
3938 (frexp_test_data): Likewise.
3939 (ilogb_test_data): Likewise.
3940 (isfinite_test_data): Likewise.
3941 (isgreater_test_data): Likewise.
3942 (isgreaterequal_test_data): Likewise.
3943 (isinf_test_data): Likewise.
3944 (isless_test_data): Likewise.
3945 (islessequal_test_data): Likewise.
3946 (islessgreater_test_data): Likewise.
3947 (isnan_test_data): Likewise.
3948 (isnormal_test_data): Likewise.
3949 (issignaling_test_data): Likewise.
3950 (isunordered_test_data): Likewise.
3951 (ldexp_test_data): Likewise.
3952 (lrint_test_data): Likewise.
3953 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3954 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3955 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3956 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3957 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3958 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3960 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3961 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3962 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3963 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3965 (lrint_downward_test_data): Test for "inexact" exceptions.
3966 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3967 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3968 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3970 (lrint_upward_test_data): Test for "inexact" exceptions.
3971 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3973 (llrint_test_data): Test for "inexact" exceptions.
3974 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3975 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3976 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3977 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3978 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3979 (llrint_downward_test_data): Test for "inexact" exceptions.
3980 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3981 (llrint_upward_test_data): Test for "inexact" exceptions.
3982 (logb_test_data): Likewise.
3983 (logb_downward_test_data): Likewise.
3984 (nextafter_test_data): Likewise.
3985 (nexttoward_test_data): Likewise.
3986 (remainder_test_data): Likewise.
3987 (remquo_test_data): Likewise.
3988 (scalbn_test_data): Likewise.
3989 (scalbln_test_data): Likewise.
3990 (signbit_test_data): Likewise.
3991 (sqrt_test_data): Likewise.
3992 (significand_test_data): Likewise.
3994 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3997 * benchtests/bench-modf.c (struct args): Mark arg0 as
3999 * scripts/bench.pl: Mark members of struct args as volatile.
4001 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4004 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4005 negative infinity on POWER6 or lower.
4006 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4008 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4011 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4012 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4013 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4014 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4015 (_FP_SETQNAN): New macro.
4016 (_FP_SETQNAN_SEMIRAW): Likewise.
4017 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4018 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4019 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4020 (FP_EXTEND): Use _FP_FRAC_SNANP.
4021 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4022 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4024 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4026 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4029 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4031 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4032 with DIVIDE_BY_ZERO_EXCEPTION.
4033 (gamma_test_data): Likewise.
4034 (lgamma_test_data): Likewise.
4035 (log_test_data): Likewise.
4036 (log10_test_data): Likewise.
4037 (log2_test_data): Likewise.
4038 (tgamma_test_data): Likewise.
4040 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4041 (acos_test_tonearest): Likewise.
4042 (acos_test_towardzero): Likewise.
4043 (acos_test_downward): Likewise.
4044 (acos_test_upward): Likewise.
4045 (acosh_test): Likewise.
4046 (asin_test): Likewise.
4047 (asin_test_tonearest): Likewise.
4048 (asin_test_towardzero): Likewise.
4049 (asin_test_downward): Likewise.
4050 (asin_test_upward): Likewise.
4051 (asinh_test): Likewise.
4052 (atan_test): Likewise.
4053 (atanh_test): Likewise.
4054 (atan2_test): Likewise.
4055 (cabs_test): Likewise.
4056 (cacos_test): Likewise.
4057 (cacosh_test): Likewise.
4058 (casin_test): Likewise.
4059 (casinh_test): Likewise.
4060 (catan_test): Likewise.
4061 (catanh_test): Likewise.
4062 (cbrt_test): Likewise.
4063 (ccos_test): Likewise.
4064 (ccosh_test): Likewise.
4065 (cexp_test): Likewise.
4066 (clog_test): Likewise.
4067 (clog10_test): Likewise.
4068 (cos_test): Likewise.
4069 (cos_test_tonearest): Likewise.
4070 (cos_test_towardzero): Likewise.
4071 (cos_test_downward): Likewise.
4072 (cos_test_upward): Likewise.
4073 (cosh_test): Likewise.
4074 (cosh_test_tonearest): Likewise.
4075 (cosh_test_towardzero): Likewise.
4076 (cosh_test_downward): Likewise.
4077 (cosh_test_upward): Likewise.
4078 (cpow_test): Likewise.
4079 (csin_test): Likewise.
4080 (csinh_test): Likewise.
4081 (csqrt_test): Likewise.
4082 (ctan_test): Likewise.
4083 (ctan_test_tonearest): Likewise.
4084 (ctan_test_towardzero): Likewise.
4085 (ctan_test_downward): Likewise.
4086 (ctan_test_upward): Likewise.
4087 (ctanh_test): Likewise.
4088 (ctanh_test_tonearest): Likewise.
4089 (ctanh_test_towardzero): Likewise.
4090 (ctanh_test_downward): Likewise.
4091 (ctanh_test_upward): Likewise.
4092 (erf_test): Likewise.
4093 (erfc_test): Likewise.
4094 (exp_test): Likewise.
4095 (exp_test_tonearest): Likewise.
4096 (exp_test_towardzero): Likewise.
4097 (exp_test_downward): Likewise.
4098 (exp_test_upward): Likewise.
4099 (exp10_test): Likewise.
4100 (exp2_test): Likewise.
4101 (expm1_test): Likewise.
4102 (fmod_test): Likewise.
4103 (gamma_test): Likewise.
4104 (hypot_test): Likewise.
4105 (j0_test): Likewise.
4106 (j1_test): Likewise.
4107 (jn_test): Likewise.
4108 (lgamma_test): Likewise.
4109 (log_test): Likewise.
4110 (log10_test): Likewise.
4111 (log1p_test): Likewise.
4112 (log2_test): Likewise.
4113 (logb_test_downward): Likewise.
4114 (pow_test): Likewise.
4115 (pow_test_tonearest): Likewise.
4116 (pow_test_towardzero): Likewise.
4117 (pow_test_downward): Likewise.
4118 (pow_test_upward): Likewise.
4119 (remainder_test): Likewise.
4120 (remquo_test): Likewise.
4121 (sin_test): Likewise.
4122 (sin_test_tonearest): Likewise.
4123 (sin_test_towardzero): Likewise.
4124 (sin_test_downward): Likewise.
4125 (sin_test_upward): Likewise.
4126 (sincos_test): Likewise.
4127 (sinh_test): Likewise.
4128 (sinh_test_tonearest): Likewise.
4129 (sinh_test_towardzero): Likewise.
4130 (sinh_test_downward): Likewise.
4131 (sinh_test_upward): Likewise.
4132 (sqrt_test): Likewise.
4133 (tan_test): Likewise.
4134 (tan_test_tonearest): Likewise.
4135 (tan_test_towardzero): Likewise.
4136 (tan_test_downward): Likewise.
4137 (tan_test_upward): Likewise.
4138 (tanh_test): Likewise.
4139 (tgamma_test): Likewise.
4140 (y0_test): Likewise.
4141 (y1_test): Likewise.
4142 (yn_test): Likewise.
4144 * math/gen-libm-test.pl (adjust_arg): Remove function.
4145 (special_function): Remove argument $in_func. Only handle
4146 generating output for tables of tests, not inside functions.
4147 (parse_args): Likewise.
4148 (generate_testfile): Remove variable $in_func. Update call to
4150 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4151 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4152 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4153 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4154 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4155 (MAX_VALUE_INIT): Rename macro to max_value.
4156 (MIN_VALUE_INIT): Rename macro to min_value.
4157 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4158 (plus_zero): Remove variable.
4159 (minus_zero): Likewise.
4160 (plus_infty): Likewise.
4161 (minus_infty): Likewise.
4162 (qnan_value): Likewise.
4163 (max_value): Likewise.
4164 (min_value): Likewise.
4165 (min_subnorm_value): Likewise.
4167 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4169 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4170 uint64_t or uint32_t usage.
4171 * crypt/sha256-block.c: Likewise.
4172 * crypt/sha256-crypt.c: Likewise.
4173 * crypt/sha256.c: Likewise.
4174 * crypt/sha512-block.c: Likewise.
4175 * crypt/sha512-crypt.c: Likewise.
4176 * crypt/sha512.c: Likewise.
4177 * debug/backtrace-tst.c: Likewise.
4178 * debug/pcprofiledump.c: Likewise.
4179 * elf/cache.c: Likewise.
4180 * elf/dl-cache.c: Likewise.
4181 * elf/dl-misc.c: Likewise.
4182 * elf/dl-profile.c: Likewise.
4183 * elf/dl-support.c: Likewise.
4184 * elf/ldconfig.c: Likewise.
4185 * elf/sprof.c: Likewise.
4186 * iconv/dummy-repertoire.c: Likewise.
4187 * iconv/iconv_charmap.c: Likewise.
4188 * iconv/skeleton.c: Likewise.
4189 * iconvdata/8bit-generic.c: Likewise.
4190 * iconvdata/cp737.h: Likewise.
4191 * iconvdata/cp775.h: Likewise.
4192 * iconvdata/ibm1008.h: Likewise.
4193 * iconvdata/ibm1025.h: Likewise.
4194 * iconvdata/ibm1046.h: Likewise.
4195 * iconvdata/ibm1097.h: Likewise.
4196 * iconvdata/ibm1112.h: Likewise.
4197 * iconvdata/ibm1122.h: Likewise.
4198 * iconvdata/ibm1123.h: Likewise.
4199 * iconvdata/ibm1124.h: Likewise.
4200 * iconvdata/ibm1129.h: Likewise.
4201 * iconvdata/ibm1130.h: Likewise.
4202 * iconvdata/ibm1132.h: Likewise.
4203 * iconvdata/ibm1133.h: Likewise.
4204 * iconvdata/ibm1137.h: Likewise.
4205 * iconvdata/ibm1140.h: Likewise.
4206 * iconvdata/ibm1141.h: Likewise.
4207 * iconvdata/ibm1142.h: Likewise.
4208 * iconvdata/ibm1143.h: Likewise.
4209 * iconvdata/ibm1144.h: Likewise.
4210 * iconvdata/ibm1145.h: Likewise.
4211 * iconvdata/ibm1146.h: Likewise.
4212 * iconvdata/ibm1147.h: Likewise.
4213 * iconvdata/ibm1148.h: Likewise.
4214 * iconvdata/ibm1149.h: Likewise.
4215 * iconvdata/ibm1153.h: Likewise.
4216 * iconvdata/ibm1154.h: Likewise.
4217 * iconvdata/ibm1155.h: Likewise.
4218 * iconvdata/ibm1156.h: Likewise.
4219 * iconvdata/ibm1157.h: Likewise.
4220 * iconvdata/ibm1158.h: Likewise.
4221 * iconvdata/ibm1160.h: Likewise.
4222 * iconvdata/ibm1161.h: Likewise.
4223 * iconvdata/ibm1162.h: Likewise.
4224 * iconvdata/ibm1163.h: Likewise.
4225 * iconvdata/ibm1164.h: Likewise.
4226 * iconvdata/ibm1166.h: Likewise.
4227 * iconvdata/ibm1167.h: Likewise.
4228 * iconvdata/ibm12712.h: Likewise.
4229 * iconvdata/ibm1390.h: Likewise.
4230 * iconvdata/ibm1399.h: Likewise.
4231 * iconvdata/ibm16804.h: Likewise.
4232 * iconvdata/ibm4517.h: Likewise.
4233 * iconvdata/ibm4899.h: Likewise.
4234 * iconvdata/ibm4909.h: Likewise.
4235 * iconvdata/ibm4971.h: Likewise.
4236 * iconvdata/ibm5347.h: Likewise.
4237 * iconvdata/ibm803.h: Likewise.
4238 * iconvdata/ibm856.h: Likewise.
4239 * iconvdata/ibm901.h: Likewise.
4240 * iconvdata/ibm902.h: Likewise.
4241 * iconvdata/ibm9030.h: Likewise.
4242 * iconvdata/ibm9066.h: Likewise.
4243 * iconvdata/ibm921.h: Likewise.
4244 * iconvdata/ibm922.h: Likewise.
4245 * iconvdata/ibm9448.h: Likewise.
4246 * iconvdata/isiri-3342.h: Likewise.
4247 * iconvdata/jis0201.h: Likewise.
4248 * include/link.h: Likewise.
4249 * include/netdb.h: Likewise.
4250 * inet/check_native.c: Likewise.
4251 * inet/check_pf.c: Likewise.
4252 * inet/getipv4sourcefilter.c: Likewise.
4253 * inet/getnameinfo.c: Likewise.
4254 * inet/getsourcefilter.c: Likewise.
4255 * inet/htonl.c: Likewise.
4256 * inet/setipv4sourcefilter.c: Likewise.
4257 * inet/setsourcefilter.c: Likewise.
4258 * inet/test-inet6_opt.c: Likewise.
4259 * inet/tst-network.c: Likewise.
4260 * locale/C-collate.c: Likewise.
4261 * locale/C-ctype.c: Likewise.
4262 * locale/C-time.c: Likewise.
4263 * locale/C-translit.h: Likewise.
4264 * locale/loadarchive.c: Likewise.
4265 * locale/programs/3level.h: Likewise.
4266 * locale/programs/charmap.c: Likewise.
4267 * locale/programs/charmap.h: Likewise.
4268 * locale/programs/ld-address.c: Likewise.
4269 * locale/programs/ld-collate.c: Likewise.
4270 * locale/programs/ld-ctype.c: Likewise.
4271 * locale/programs/ld-identification.c: Likewise.
4272 * locale/programs/ld-measurement.c: Likewise.
4273 * locale/programs/ld-messages.c: Likewise.
4274 * locale/programs/ld-monetary.c: Likewise.
4275 * locale/programs/ld-name.c: Likewise.
4276 * locale/programs/ld-numeric.c: Likewise.
4277 * locale/programs/ld-paper.c: Likewise.
4278 * locale/programs/ld-telephone.c: Likewise.
4279 * locale/programs/ld-time.c: Likewise.
4280 * locale/programs/linereader.c: Likewise.
4281 * locale/programs/locale.c: Likewise.
4282 * locale/programs/locarchive.c: Likewise.
4283 * locale/programs/locfile.h: Likewise.
4284 * locale/programs/repertoire.c: Likewise.
4285 * locale/programs/simple-hash.c: Likewise.
4286 * locale/programs/simple-hash.h: Likewise.
4287 * malloc/memusage.c: Likewise.
4288 * malloc/memusagestat.c: Likewise.
4289 * nis/nis_defaults.c: Likewise.
4290 * nis/nis_hash.c: Likewise.
4291 * nis/nis_print.c: Likewise.
4292 * nis/nis_xdr.c: Likewise.
4293 * nscd/connections.c: Likewise.
4294 * nscd/hstcache.c: Likewise.
4295 * nscd/nscd_gethst_r.c: Likewise.
4296 * nscd/nscd_getserv_r.c: Likewise.
4297 * nscd/nscd_helper.c: Likewise.
4298 * nscd/servicescache.c: Likewise.
4299 * nss/makedb.c: Likewise.
4300 * nss/nss_db/db-XXX.c: Likewise.
4301 * nss/nss_db/db-initgroups.c: Likewise.
4302 * nss/nss_db/db-netgrp.c: Likewise.
4303 * nss/nss_files/files-network.c: Likewise.
4304 * nss/nss_files/files-parse.c: Likewise.
4305 * posix/bug-regex5.c: Likewise.
4306 * posix/fnmatch_loop.c: Likewise.
4307 * posix/regcomp.c: Likewise.
4308 * posix/regexec.c: Likewise.
4309 * posix/tst-rfc3484-2.c: Likewise.
4310 * posix/tst-rfc3484-3.c: Likewise.
4311 * posix/tst-rfc3484.c: Likewise.
4312 * resolv/nss_dns/dns-canon.c: Likewise.
4313 * resolv/nss_dns/dns-network.c: Likewise.
4314 * resolv/res_init.c: Likewise.
4315 * resolv/res_mkquery.c: Likewise.
4316 * resolv/tst-aton.c: Likewise.
4317 * stdlib/cxa_atexit.c: Likewise.
4318 * stdlib/cxa_finalize.c: Likewise.
4319 * stdlib/gen-fpioconst.c: Likewise.
4320 * stdlib/strtol_l.c: Likewise.
4321 * string/tst-endian.c: Likewise.
4322 * sunrpc/auth_des.c: Likewise.
4323 * sunrpc/clnt_udp.c: Likewise.
4324 * sunrpc/rtime.c: Likewise.
4325 * sunrpc/svcauth_des.c: Likewise.
4326 * sunrpc/xdr.c: Likewise.
4327 * sunrpc/xdr_intXX_t.c: Likewise.
4328 * sunrpc/xdr_rec.c: Likewise.
4329 * sysdeps/generic/ldconfig.h: Likewise.
4330 * sysdeps/generic/ldsodefs.h: Likewise.
4331 * sysdeps/generic/memusage.h: Likewise.
4332 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4335 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4342 * sysdeps/posix/getaddrinfo.c: Likewise.
4343 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4344 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4345 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4346 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4347 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4348 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4349 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4350 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4351 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4353 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4354 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4355 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4356 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4358 * sysdeps/x86_64/dl-tls.h: Likewise.
4359 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4360 * time/alt_digit.c: Likewise.
4361 * time/era.c: Likewise.
4362 * wcsmbs/tst-c16c32-1.c: Likewise.
4364 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4366 * math/libm-test.inc (struct test_sincos_data): New type.
4367 (RUN_TEST_LOOP_sincos): New macro.
4368 (sincos_test_data): New variable.
4369 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4371 2013-05-16 Richard Henderson <rth@redhat.com>
4373 * math/atest-exp2.c (LIMB64): New macro.
4374 (CONSTSZ): New macro.
4375 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4377 (print_mpn_fp): ... to function scope.
4378 (read_mpn_hex): Remove.
4380 (exp2_mpn): Use mp_log2.
4381 (main): Use mp_exp1.
4383 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4385 * math/libm-test.inc: Remove comment about not testing "inexact"
4387 (INEXACT_EXCEPTION): New macro.
4388 (NO_INEXACT_EXCEPTION): Likewise.
4389 (INVALID_EXCEPTION_OK): Update value.
4390 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4391 (OVERFLOW_EXCEPTION_OK): Likewise.
4392 (UNDERFLOW_EXCEPTION_OK): Likewise.
4393 (IGNORE_ZERO_INF_SIGN): Likewise.
4394 (ERRNO_UNCHANGED): Likewise.
4395 (ERRNO_EDOM): Likewise.
4396 (ERRNO_ERANGE): Likewise.
4397 (test_exceptions): Handle testing "inexact" exceptions.
4398 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4399 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4400 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4401 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4403 (rint_towardzero_test_data): Likewise.
4404 (rint_downward_test_data): Likewise.
4405 (rint_upward_test_data): Likewise.
4407 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4408 with OVERFLOW_EXCEPTION.
4409 (exp10_test_data): Likewise.
4410 (exp2_test_data): Likewise.
4411 (expm1_test_data): Likewise.
4412 (lgamma_test_data): Likewise.
4413 (pow_test_data): Likewise.
4414 (tgamma_test_data): Likewise.
4415 (yn_test_data): Remove duplicate test of overflow.
4417 * math/libm-test.inc (struct test_cc_c_data): New type.
4418 (RUN_TEST_LOOP_cc_c): New macro.
4419 (cpow_test_data): New variable.
4420 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4422 * math/libm-test.inc (struct test_f_L_data): New type.
4423 (RUN_TEST_LOOP_f_L): New macro.
4424 (llrint_test_data): New variable.
4425 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4426 (llrint_tonearest_test_data): New variable.
4427 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4428 (llrint_towardzero_test_data): New variable.
4429 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4430 (llrint_downward_test_data): New variable.
4431 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4432 (llrint_upward_test_data): New variable.
4433 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4434 (llround_test_data): New variable.
4435 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4437 2013-05-13 Peter Collingbourne <pcc@google.com>
4439 * math/atest-exp2.c (get_log2): Remove const attribute.
4441 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4443 * math/libm-test.inc (struct test_f_l_data): New type.
4444 (RUN_TEST_LOOP_f_l): New macro.
4445 (lrint_test_data): New variable.
4446 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4447 (lrint_tonearest_test_data): New variable.
4448 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4449 (lrint_towardzero_test_data): New variable.
4450 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4451 (lrint_downward_test_data): New variable.
4452 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4453 (lrint_upward_test_data): New variable.
4454 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4455 (lround_test_data): New variable.
4456 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4458 2013-05-15 Peter Collingbourne <pcc@google.com>
4460 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4461 (EXTRACT_WORDS64) Use where appropriate.
4462 (INSERT_WORDS64) Likewise.
4464 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4465 constraints with x constraints.
4466 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4468 * malloc/obstack.c (_obstack_compat): Add initializer.
4470 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4472 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4473 si_trapno and add si_addr_lsb to _sifields.sigfault.
4474 (si_trapno): Remove macro.
4475 (si_addr_lsb): Define new macro.
4476 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4478 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4480 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4481 instead of TEST_f_l.
4482 (llrint_test_tonearest): Likewise.
4483 (llrint_test_towardzero): Likewise.
4484 (llrint_test_downward): Likewise.
4485 (llrint_test_upward): Likewise.
4486 (llround_test): Likewise.
4488 * math/libm-test.inc (struct test_f_i_data): Add comment.
4489 (RUN_TEST_LOOP_f_b): New macro.
4490 (RUN_TEST_LOOP_f_b_tg): Likewise.
4491 (finite_test_data): New variable.
4492 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4493 (isfinite_test_data): New variable.
4494 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4495 (isinf_test_data): New variable.
4496 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4497 (isnan_test_data): New variable.
4498 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4499 (isnormal_test_data): New variable.
4500 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4501 (issignaling_test_data): New variable.
4502 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4503 (signbit_test_data): New variable.
4504 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4506 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4507 with INVALID_EXCEPTION.
4508 (acosh_test_data): Likewise.
4509 (asin_test_data): Likewise.
4510 (atanh_test_data): Likewise.
4511 (fmod_test_data): Likewise.
4512 (log_test_data): Likewise.
4513 (log10_test_data): Likewise.
4514 (log2_test_data): Likewise.
4515 (pow_test_data): Likewise.
4516 (sqrt_test_data): Likewise.
4517 (y0_test_data): Likewise.
4518 (y1_test_data): Likewise.
4519 (yn_test_data): Likewise.
4521 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4524 * math/libm-test.inc (struct test_ff_i_data): New type.
4525 (RUN_TEST_LOOP_ff_i_tg): New macro.
4526 (isgreater_test_data): New variable.
4527 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4528 (isgreaterequal_test_data): New variable.
4529 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4530 (isless_test_data): New variable.
4531 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4532 (islessequal_test_data): New variable.
4533 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4534 (islessgreater_test_data): New variable.
4535 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4536 (isunordered_test_data): New variable.
4537 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4539 2013-05-14 David S. Miller <davem@davemloft.net>
4541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4543 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4545 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4547 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4549 (struct test_f_i_data): Change type of max_ulp to int.
4551 * math/libm-test.inc (test_ffI_f1_data): New type.
4552 (RUN_TEST_LOOP_ffI_f1): New macro.
4553 (remquo_test_data): New variable.
4554 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4556 * setjmp/tst-setjmp-fp.c: New file.
4557 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4558 (link-libm): New variable.
4559 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4561 * math/libm-test.inc (struct test_f_i_data): New type.
4562 (RUN_TEST_LOOP_f_i): New macro.
4563 (RUN_TEST_LOOP_f_i_tg): Likewise.
4564 (fpclassify_test_data): New variable.
4565 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4566 (ilogb_test_data): New variable.
4567 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4569 * math/libm-test.inc (scalbln_test): Correct function name in END
4572 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4573 (RUN_TEST_LOOP_fI_f1): New macro.
4574 (frexp_test_data): New variable.
4575 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4577 * math/libm-test.inc (struct test_fF_f1_data): New type.
4578 (RUN_TEST_LOOP_fF_f1): New macro.
4579 (modf_test_data): New variable.
4580 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4582 * math/libm-test.inc (struct test_f_f1_data): New type.
4583 (RUN_TEST_LOOP_f_f1): New macro.
4584 (gamma_test_data): New variable.
4585 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4586 (lgamma_test_data): New variable.
4587 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4589 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4591 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4592 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4593 (main): Comment "tls" pseudo-hwcap.
4595 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4597 * math/libm-test.inc (struct test_fl_f_data): New type.
4598 (RUN_TEST_LOOP_fl_f): New variable.
4599 (scalbln_test_data): New variable.
4600 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4602 * math/libm-test.inc (struct test_fi_f_data): New type.
4603 (RUN_TEST_LOOP_fi_f): New macro.
4604 (ldexp_test_data): New variable.
4605 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4606 (scalbn_test_data): New variable.
4607 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4609 * math/libm-test.inc (struct test_c_f_data): New type.
4610 (RUN_TEST_LOOP_c_f): New macro.
4611 (cabs_test_data): New variable.
4612 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4613 (carg_test_data): New variable.
4614 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4615 (cimag_test_data): New variable.
4616 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4617 (creal_test_data): New variable.
4618 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4620 * math/libm-test.inc (struct test_if_f_data): New type.
4621 (RUN_TEST_LOOP_if_f): New macro.
4622 (jn_test_data): New variable.
4623 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4624 (yn_test_data): New variable.
4625 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4627 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4629 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4631 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4632 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4634 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4636 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4637 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4638 (bench-deps): Add bench-timing.h.
4639 * benchtests-bench-skeleton.c: Include bench-timing.h.
4640 (main): Use TIMING_* macros instead of clock_gettime.
4641 * benchtests/bench-timing.h: New file.
4644 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4645 Renamed from _LIB_VERSION.
4646 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4648 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4650 * math/libm-test.inc (struct test_fff_f_data): New type.
4651 (RUN_TEST_LOOP_fff_f): New macro.
4652 (fma_test_data): New variable.
4653 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4654 (fma_towardzero_test_data): New variable.
4655 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4656 (fma_downward_test_data): New variable.
4657 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4658 (fma_upward_test_data): New variable.
4659 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4661 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4662 (struct test_c_c_data): New type.
4663 (RUN_TEST_LOOP_c_c): New macro.
4664 (cacos_test_data): New variable.
4665 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4666 (cacosh_test_data): New variable.
4667 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4668 (casin_test_data): New variable.
4669 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4670 (casinh_test_data): New variable.
4671 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4672 (catan_test_data): New variable.
4673 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4674 (catanh_test_data): New variable.
4675 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4676 (ccos_test_data): New variable.
4677 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4678 (ccosh_test_data): New variable.
4679 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4680 (cexp_test_data): New variable.
4681 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4682 (clog_test_data): New variable.
4683 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4684 (clog10_test_data): New variable.
4685 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4686 (conj_test_data): New variable.
4687 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4688 (cproj_test_data): New variable.
4689 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4690 (csin_test_data): New variable.
4691 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4692 (csinh_test_data): New variable.
4693 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4694 (csqrt_test_data): New variable.
4695 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4696 (ctan_test_data): New variable.
4697 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4698 (ctan_tonearest_test_data): New variable.
4699 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4700 (ctan_towardzero_test_data): New variable.
4701 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4702 (ctan_downward_test_data): New variable.
4703 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4704 (ctan_upward_test_data): New variable.
4705 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4706 (ctanh_test_data): New variable.
4707 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4708 (ctanh_tonearest_test_data): New variable.
4709 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4710 (ctanh_towardzero_test_data): New variable.
4711 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4712 (ctanh_downward_test_data): New variable.
4713 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4714 (ctanh_upward_test_data): New variable.
4715 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4716 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4719 * math/libm-test.inc (struct test_ff_f_data): New type.
4720 (struct test_ff_f_data_nexttoward): Likewise.
4721 (RUN_TEST_LOOP_2_f): New macro.
4722 (RUN_TEST_LOOP_ff_f): Likewise.
4723 (atan2_test_data): New variable.
4724 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4725 (copysign_test_data): New variable.
4726 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4727 (fdim_test_data): New variable.
4728 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4729 (fmax_test_data): New variable.
4730 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4731 (fmin_test_data): New variable.
4732 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4733 (fmod_test_data): New variable.
4734 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4735 (hypot_test_data): New variable.
4736 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4737 (nextafter_test_data): New variable.
4738 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4739 (nexttoward_test_data): New variable.
4740 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4741 (pow_test_data): New variable.
4742 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4743 (pow_tonearest_test_data): New variable.
4744 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4745 (pow_towardzero_test_data): New variable.
4746 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4747 (pow_downward_test_data): New variable.
4748 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4749 (pow_upward_test_data): New variable.
4750 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4751 (remainder_test_data): New variable.
4752 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4753 (scalb_test_data): New variable.
4754 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4755 * sysdeps/i386/fpu/libm-test-ulps: Update.
4757 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4759 * math/libm-test.inc (fma_test): Use max_value instead of local
4761 (nextafter_test): Likewise.
4763 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4764 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4765 (acos_downward_test_data): New variable.
4766 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4767 (acos_upward_test_data): New variable.
4768 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4769 (acosh_test_data): New variable.
4770 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4771 (asin_test_data): New variable.
4772 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4773 (asin_tonearest_test_data): New variable.
4774 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4775 (asin_towardzero_test_data): New variable.
4776 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4777 (asin_downward_test_data): New variable.
4778 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4779 (asin_upward_test_data): New variable.
4780 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4781 (asinh_test_data): New variable.
4782 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4783 (atan_test_data): New variable.
4784 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4785 (atanh_test_data): New variable.
4786 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4787 (cbrt_test_data): New variable.
4788 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4789 (ceil_test_data): New variable.
4790 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4791 (cos_test_data): New variable.
4792 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4793 (cos_tonearest_test_data): New variable.
4794 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4795 (cos_towardzero_test_data): New variable.
4796 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4797 (cos_downward_test_data): New variable.
4798 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4799 (cos_upward_test_data): New variable.
4800 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4801 (cosh_test_data): New variable.
4802 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4803 (cosh_tonearest_test_data): New variable.
4804 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4805 (cosh_towardzero_test_data): New variable.
4806 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4807 (cosh_downward_test_data): New variable.
4808 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4809 (cosh_upward_test_data): New variable.
4810 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4811 (erf_test_data): New variable.
4812 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4813 (erfc_test_data): New variable.
4814 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4815 (exp_test_data): New variable.
4816 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4817 (exp_tonearest_test_data): New variable.
4818 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4819 (exp_towardzero_test_data): New variable.
4820 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4821 (exp_downward_test_data): New variable.
4822 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4823 (exp_upward_test_data): New variable.
4824 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4825 (exp10_test_data): New variable.
4826 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4827 (exp2_test_data): New variable.
4828 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4829 (expm1_test_data): New variable.
4830 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4831 (fabs_test_data): New variable.
4832 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4833 (floor_test_data): New variable.
4834 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4835 (j0_test_data): New variable.
4836 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4837 (j1_test_data): New variable.
4838 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4839 (log_test_data): New variable.
4840 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4841 (log10_test_data): New variable.
4842 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4843 (log1p_test_data): New variable.
4844 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4845 (log2_test_data): New variable.
4846 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4847 (logb_test_data): New variable.
4848 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4849 (logb_downward_test_data): New variable.
4850 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4851 (nearbyint_test_data): New variable.
4852 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4853 (rint_test_data): New variable.
4854 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4855 (rint_tonearest_test_data): New variable.
4856 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4857 (rint_towardzero_test_data): New variable.
4858 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4859 (rint_downward_test_data): New variable.
4860 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4861 (rint_upward_test_data): New variable.
4862 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4863 (round_test_data): New variable.
4864 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4865 (sin_test_data): New variable.
4866 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4867 (sin_tonearest_test_data): New variable.
4868 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4869 (sin_towardzero_test_data): New variable.
4870 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4871 (sin_downward_test_data): New variable.
4872 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4873 (sin_upward_test_data): New variable.
4874 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4875 (sinh_test_data): New variable.
4876 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4877 (sinh_tonearest_test_data): New variable.
4878 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4879 (sinh_towardzero_test_data): New variable.
4880 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4881 (sinh_downward_test_data): New variable.
4882 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4883 (sinh_upward_test_data): New variable.
4884 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4885 (sqrt_test_data): New variable.
4886 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4887 (tan_test_data): New variable.
4888 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4889 (tan_tonearest_test_data): New variable.
4890 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4891 (tan_towardzero_test_data): New variable.
4892 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4893 (tan_downward_test_data): New variable.
4894 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4895 (tan_upward_test_data): New variable.
4896 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4897 (tanh_test_data): New variable.
4898 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4899 (tgamma_test_data): New variable.
4900 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4901 (trunc_test_data): New variable.
4902 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4903 (y0_test_data): New variable.
4904 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4905 (y1_test_data): New variable.
4906 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4907 (significand_test_data): New variable.
4908 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4910 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4913 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4915 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4917 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4919 2013-05-10 Andreas Jaeger <aj@suse.de>
4922 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4923 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4925 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4927 * math/gen-libm-test.pl (adjust_arg): New function.
4928 (special_functions): Handle generating output in both functions
4930 (parse_args): Likewise.
4931 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4932 $in_func argument to parse_args.
4933 * math/libm-test.inc (struct test_f_f_data): New type.
4934 (IF_ROUND_INIT_): New macro.
4935 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4936 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4937 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4938 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4939 (ROUND_RESTORE_): Likewise.
4940 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4941 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4942 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4943 (ROUND_RESTORE_FE_UPWARD): Likewise.
4944 (RUN_TEST_LOOP_f_f): New macro.
4945 (acos_test_data): New variable.
4946 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4947 (acos_tonearest_test_data): New variable.
4948 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4950 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4952 * benchtests/bench-skeleton.c (startup): Fix coding style.
4954 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4957 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4958 negative infinity argument.
4959 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4960 negative infinity argument.
4961 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4962 negative infinity argument.
4963 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4966 2013-05-10 Florian Weimer <fweimer@redhat.com>
4968 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4969 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4970 * iconv/iconv_prog.c (main): Likewise.
4971 * locale/programs/charmap-dir.c (charmap_readdir)
4972 (fopen_uncompressed): Likewise.
4973 * locale/programs/locfile.c (siblings_uncached)
4974 (write_locale_data): Use lstat64 instead of lstat.
4975 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4978 2013-05-10 Andreas Jaeger <aj@suse.de>
4981 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4985 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4987 * elf/dl-close.c (_dl_close_worker): Add comments.
4989 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4992 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4994 (__ieee754_rem_pio2l): Update comments.
4997 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4999 (__ieee754_rem_pio2l): Update comments.
5001 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5002 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5004 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5007 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5008 (M_PI_34_LOG10El): Likewise.
5009 (M_PI2_LOG10El): Likewise.
5010 (M_PI4_LOG10El): Likewise.
5011 (M_PI_LOG10El): Likewise.
5013 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5017 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5019 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5020 (MINUS_ZERO_INIT): Likewise.
5021 (PLUS_INFTY_INIT): Likewise.
5022 (MINUS_INFTY_INIT): Likewise.
5023 (QNAN_VALUE_INIT): Likewise.
5024 (MAX_VALUE_INIT): Likewise.
5025 (MIN_VALUE_INIT): Likewise.
5026 (MIN_SUBNORM_VALUE_INIT): Likewise.
5027 (plus_zero): Initialize with PLUS_ZERO_INIT.
5028 (minus_zero): Initialize with MINUS_ZERO_INIT.
5029 (plus_infty): Initialize with PLUS_INFTY_INIT.
5030 (minus_infty): Initialize with MINUS_INFTY_INIT.
5031 (qnan_value): Initialize with QNAN_VALUE_INIT.
5032 (max_value): Initialize with MAX_VALUE_INIT.
5033 (min_value): Initialize with MIN_VALUE_INIT.
5034 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5036 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5037 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5038 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5039 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5041 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5042 (RUN_TEST_2_f): Likewise.
5043 (RUN_TEST_ff_f): Likewise.
5044 (RUN_TEST_fi_f): Likewise.
5045 (RUN_TEST_fl_f): Likewise.
5046 (RUN_TEST_fff_f): Likewise.
5047 (RUN_TEST_c_f): Likewise.
5048 (RUN_TEST_f_f1): Likewise.
5049 (RUN_TEST_fF_f1): Likewise.
5050 (RUN_TEST_fI_f1): Likewise.
5051 (RUN_TEST_ffI_f1): Likewise.
5052 (RUN_TEST_c_c): Likewise.
5053 (RUN_TEST_cc_c): Likewise.
5054 (RUN_TEST_f_i): Likewise.
5055 (RUN_TEST_f_i_tg): Likewise.
5056 (RUN_TEST_ff_i_tg): Likewise.
5057 (RUN_TEST_f_b): Likewise.
5058 (RUN_TEST_f_b_tg): Likewise.
5059 (RUN_TEST_f_l): Likewise.
5060 (RUN_TEST_f_L): Likewise.
5061 (RUN_TEST_sincos): Likewise.
5062 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5063 whether to show exceptions. Do not include ");\n" in return
5065 (special_functions): Output call to RUN_TEST_sincos instead of
5066 check_float calls. Update calls to new_test.
5067 (parse_args): Output call to single RUN_TEST_* macro instead of
5068 check_* calls and other assignments. Update calls to new_test.
5074 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5075 input to result for tgamma overflow.
5076 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5077 (gamma_coeff): New variable.
5078 (NCOEFF): New macro.
5079 (gamma_positive): New function.
5080 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5081 underflow here. Use gamma_positive instead of exp (lgamma) for
5083 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5084 (gamma_coeff): New variable.
5085 (NCOEFF): New macro.
5086 (gammaf_positive): New function.
5087 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5088 underflow here. Use gamma_positive instead of exp (lgamma) for
5090 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5091 (gamma_coeff): New variable.
5092 (NCOEFF): New macro.
5093 (gammal_positive): New function.
5094 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5095 underflow here. Use gamma_positive instead of exp (lgamma) for
5097 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5098 (gamma_coeff): New variable.
5099 (NCOEFF): New macro.
5100 (gammal_positive): New function.
5101 (__ieee754_gammal_r): Handle positive infinity, overflow and
5102 underflow here. Handle NaN the same as positive infinity. Remove
5103 check x < 0xffffffff for negative integers. Use gamma_positive
5104 instead of exp (lgamma) for other arguments.
5105 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5106 (gamma_coeff): New variable.
5107 (NCOEFF): New macro.
5108 (gammal_positive): New function.
5109 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5110 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5114 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5115 * sysdeps/generic/math_private.h (__gamma_productf): New
5117 (__gamma_product): Likewise.
5118 (__gamma_productl): Likewise.
5119 * math/Makefile (libm-calls): Add gamma_product.
5120 * math/libm-test.inc (tgamma_test): Add more tests.
5121 * sysdeps/i386/fpu/libm-test-ulps: Update.
5122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5126 * benchtests/bench-skeleton.c (main): Preheat CPU.
5128 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5130 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5132 2013-05-07 Roland McGrath <roland@hack.frob.com>
5134 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5135 and _dl_skip_args_internal.
5137 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5139 * manual/message.texi (Message Translation): Talk about users.
5140 Message to key mapping impacts design.
5142 2013-05-06 Roland McGrath <roland@hack.frob.com>
5144 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5146 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5148 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5149 * sysdeps/wordsize-64/glob64.c: ... here.
5151 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5152 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5155 * debug/getlogin_r_chk.c: Moved to ...
5156 * login/getlogin_r_chk.c: ... here.
5157 * debug/Makefile (routines): Move getlogin_r_chk to ...
5158 * login/Makefile (routines): ... here.
5159 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5160 * login/Versions (libc: GLIBC_2.4): ... here.
5162 * io/poll.c (__poll): Renamed from poll.
5163 Add libc_hidden_def.
5164 (poll): Define as weak alias.
5166 * debug/ptsname_r_chk.c: Moved to ...
5167 * login/ptsname_r_chk.c: ... here.
5168 * debug/Makefile (routines): Move ptsname_r_chk to ...
5169 * login/Makefile (routines): ... here.
5170 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5171 * login/Versions (libc: GLIBC_2.4): ... here.
5173 * posix/getlogin.c: Moved to ...
5174 * login/getlogin.c: ... here.
5175 * posix/getlogin_r.c: Moved to ...
5176 * login/getlogin_r.c: ... here.
5177 * posix/getlogin_r.c: Moved to ...
5178 * login/getlogin_r.c: ... here.
5179 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5180 * login/Makefile (routines): ... here.
5181 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5182 * login/Versions (libc: GLIBC_2.0): ... here.
5184 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5185 (setrlimit): Define as weak alias.
5187 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5188 Call __ names for open, ftruncate, and close.
5189 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5190 (truncate): Define as weak alias.
5192 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5194 * math/gen-libm-test.pl (parse_args): Initialize x before each
5195 test of frexp, modf and remquo.
5197 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5200 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5204 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5208 2013-05-06 Roland McGrath <roland@hack.frob.com>
5210 * elf/dl-writev.h: New file.
5211 * elf/dl-misc.c: Include it.
5212 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5213 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5215 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5217 * math/libm-test.inc (noXFails): Remove variable.
5218 (noXPasses): Likewise.
5219 (BUILD_COMPLEX_INT): Remove macro.
5220 (print_screen): Remove xfail argument.
5221 (print_screen_max_error): Likewise.
5222 (update_stats): Likewise.
5223 (print_max_error): Likewise. Update calls to other affected
5225 (print_complex_max_error): Likewise.
5226 (test_single_exception): Update calls to print_screen.
5227 (test_single_errno): Likewise.
5228 (check_float_internal): Remove xfail argument. Update calls to
5229 other affected functions.
5230 (check_float): Likewise.
5231 (check_complex): Likewise.
5232 (check_int): Likewise.
5233 (check_long): Likewise.
5234 (check_bool): Likewise.
5235 (check_longlong): Likewise.
5236 (main): Don't print noXFails and noXPasses.
5237 * math/gen-libm-test.pl (top level): Don't mention expected
5238 failure handling in comment.
5239 (new_test): Don't handle expected failures.
5240 (parse_args): Don't mention expected failure handling in comment.
5241 (generate_testfile): Don't handle expected failures.
5242 (parse_ulps): Likewise.
5243 (print_ulps_file): Likewise.
5244 (get_failure): Remove function.
5245 (output_test): Don't handle expected failures.
5246 * make/README.libm-test: Don't mention expected failure handling.
5248 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5249 (minus_zero): Likewise.
5250 (plus_infty): Likewise.
5251 (minus_infty): Likewise.
5252 (qnan_value): Likewise.
5253 (max_value): Likewise.
5254 (min_value): Likewise.
5255 (min_subnorm_value): Likewise.
5256 (initialize): Do not initialize those variables dynamically.
5258 2013-05-03 Roland McGrath <roland@hack.frob.com>
5260 * io/open.c (__open_2): Moved to ...
5261 * io/open_2.c: ... this new file.
5262 * io/open64.c (__open64_2): Moved to ...
5263 * io/open64_2.c: ... this new file.
5264 * io/openat.c (__openat_2): Moved to ...
5265 * io/openat_2.c: ... this new file.
5266 * io/openat64.c (__openat64_2): Moved to ...
5267 * io/openat64_2.c: ... this new file.
5268 * io/Makefile (routines): Add them.
5269 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5270 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5271 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5272 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5273 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5274 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5275 (__openat64): Add hidden_ver.
5276 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5277 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5279 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5280 Separately conditionalize setting of GLRO(dl_sysinfo) so
5281 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5282 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5284 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5286 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5289 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5290 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5291 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5292 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5293 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5295 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5297 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5300 * math/libm-test.inc (hypot_test): Do not use
5301 IGNORE_ZERO_INF_SIGN.
5303 2013-05-03 Andreas Jaeger <aj@suse.de>
5305 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5307 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5308 (PF_MAX): Adjust for VSOCK change.
5310 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5314 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5317 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5318 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5319 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5321 2013-05-02 David S. Miller <davem@davemloft.net>
5323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5325 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5327 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5329 2013-05-01 Roland McGrath <roland@hack.frob.com>
5331 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5333 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5336 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5337 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5338 Use __attribute__ ((__gnu_inline__)).
5339 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5340 Don't use __attribute__ ((__gnu_inline__)).
5342 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5345 * math/s_catan.c (__catan): Handle small real or imaginary part of
5346 input specially to avoid spurious underflow.
5347 * math/s_catanf.c (__catanf): Likewise.
5348 * math/s_catanh.c (__catanh): Likewise.
5349 * math/s_catanhf.c (__catanhf): Likewise.
5350 * math/s_catanhl.c (__catanhl): Likewise.
5351 * math/s_catanl.c (__catanl): Likewise.
5352 * math/libm-test.inc (catan_test): Add more tests.
5353 (catanh_test): Likewise.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5361 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5364 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5365 accurately for denominator in atan2.
5366 * math/s_catanf.c (__catanf): Likewise.
5367 * math/s_catanh.c (__catanh): Likewise.
5368 * math/s_catanhf.c (__catanhf): Likewise.
5369 * math/s_catanhl.c (__catanhl): Likewise.
5370 * math/s_catanl.c (__catanl): Likewise.
5371 * math/libm-test.inc (catan_test): Add more tests.
5372 (catanh_test): Likewise.
5373 * sysdeps/i386/fpu/libm-test-ulps: Update.
5374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5378 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5380 * benchtests/Makefile (bench): Remove slow benchmarks.
5381 * benchtests/atan-inputs: Add slow benchmark inputs.
5382 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5383 (BENCH_FUNC): Accept variant offset.
5385 * benchtests/bench-skeleton.c (main): Run benchmark for each
5387 * benchtests/cos-inputs: Add slow benchmark inputs.
5388 * benchtests/exp-inputs: Likewise.
5389 * benchtests/pow-inputs: Likewise.
5390 * benchtests/sin-inputs: Likewise.
5391 * benchtests/slowatan-inputs: Remove.
5392 * benchtests/slowatan.c: Remove.
5393 * benchtests/slowcos-inputs: Remove.
5394 * benchtests/slowcos.c: Remove.
5395 * benchtests/slowexp-inputs: Remove.
5396 * benchtests/slowexp.c: Remove.
5397 * benchtests/slowpow-inputs: Remove.
5398 * benchtests/slowpow.c: Remove.
5399 * benchtests/slowsin-inputs: Remove.
5400 * benchtests/slowsin.c: Remove.
5401 * benchtests/slowtan-inputs: Remove.
5402 * benchtests/slowtan.c: Remove.
5403 * benchtests/tan-inputs: Add slow benchmark inputs.
5404 * scripts/bench.pl: Parse comments and directives.
5406 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5408 ($(objpfx)bench-%.c): Remove *-ITER.
5409 * benchtests/bench-modf.c: Remove definition of ITER.
5410 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5411 (main): Loop for DURATION seconds instead of fixed number of
5413 * scripts/bench.pl: Don't expect iterations in parameters.
5415 2013-04-29 Roland McGrath <roland@hack.frob.com>
5417 * io/fchdir.c (__fchdir): Renamed from fchdir.
5418 (fchdir): Define as weak alias.
5420 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5422 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5423 (ERRNO_EDOM): Likewise.
5424 (ERRNO_ERANGE): Likewise.
5425 (noErrnoTests): New variable.
5426 (init_max_error): Set errno to 0.
5427 (test_single_errno): New function.
5428 (test_errno): Likewise.
5429 (check_float_internal): Call test_errno. Set errno to 0.
5430 (check_complex): Refer to errno tests in comment.
5431 (check_int): Call test_errno. Set errno to 0.
5432 (check_long): Likewise.
5433 (check_bool): Likewise.
5434 (check_longlong): Likewise.
5435 (cos_test): Use ERRNO_* flags for errno tests instead of
5437 (expm1_test): Likewise.
5438 (fmod_test): Likewise.
5439 (ilogb_test): Likewise.
5440 (lgamma_test): Likewise.
5441 (pow_test): Likewise.
5442 (remainder_test): Likewise.
5443 (sin_test): Likewise.
5444 (tan_test): Likewise.
5445 (yn_test): Likewise.
5446 (initialize): Set errno to 0.
5447 (main): Print number of errno tests.
5448 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5450 2013-04-29 Andreas Jaeger <aj@suse.de>
5453 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5457 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5458 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5462 * stdlib/random.c (__initstate): Return NULL if
5466 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5467 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5470 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5474 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5476 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5477 of individual tests.
5478 (casin_test): Likewise.
5479 (casinh_test): Likewise.
5481 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5484 * math/s_catan.c (__catan): Handle arguments with large real or
5485 imaginary part separately without squaring.
5486 * math/s_catanf.c (__catanf): Likewise.
5487 * math/s_catanh.c (__catanh): Likewise.
5488 * math/s_catanhf.c (__catanhf): Likewise.
5489 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5491 (__catanhl): Handle arguments with large real or imaginary part
5492 separately without squaring.
5493 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5495 (__catanl): Handle arguments with large real or imaginary part
5496 separately without squaring.
5497 * math/libm-test.inc (catan_test): Add more tests.
5498 (catanh_test): Likewise.
5499 * sysdeps/i386/fpu/libm-test-ulps: Update.
5500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5502 2013-04-27 Andreas Jaeger <aj@suse.de>
5505 * stdlib/stdlib.h: Update guards for qecvt.
5506 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5509 2013-04-27 Allan McRae <allan@archlinux.org>
5511 * sysdeps/i386/fpu/libm-test-ulps: Update.
5513 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5516 * math/s_catan.c: Include <float.h>.
5517 (__catan): Ensure underflow exception occurs for underflowed
5519 * math/s_catanf.c: Include <float.h>.
5520 (__catanf): Ensure underflow exception occurs for underflowed
5522 * math/s_catanh.c: Include <float.h>.
5523 (__catanh): Ensure underflow exception occurs for underflowed
5525 * math/s_catanhf.c: Include <float.h>.
5526 (__catanhf): Ensure underflow exception occurs for underflowed
5528 * math/s_catanhl.c: Include <float.h>.
5529 (__catanhl): Ensure underflow exception occurs for underflowed
5531 * math/s_catanl.c: Include <float.h>.
5532 (__catanl): Ensure underflow exception occurs for underflowed
5534 * math/libm-test.inc (catan_test): Add more tests.
5535 (catanh_test): Likewise.
5538 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5540 * math/s_ccoshf.c (__ccoshf): Likewise.
5541 * math/s_ccoshl.c (__ccoshl): Likewise.
5542 * math/s_csin.c (__csin): Likewise.
5543 * math/s_csinf.c (__csinf): Likewise.
5544 * math/s_csinh.c (__csinh): Likewise.
5545 * math/s_csinhf.c (__csinhf): Likewise.
5546 * math/s_csinhl.c (__csinhl): Likewise.
5547 * math/s_csinl.c (__csinl): Likewise.
5548 * math/libm-test.inc (ccos_test): Add more tests.
5549 (ccosh_test): Likewise.
5550 (csin_test): Likewise.
5551 (csinh_test): Likewise.
5553 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5555 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5556 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5557 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5558 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5559 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5560 powerpc/power5+/fpu folders.
5561 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5564 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5568 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5570 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5571 additions to variable.
5572 [$(config-machine) = x86_64] (modules-names): Likewise.
5573 ($(objpfx)tst-audit3): Remove dependency.
5574 ($(objpfx)tst-audit3.out): Likewise.
5575 ($(objpfx)tst-audit4): Likewise.
5576 ($(objpfx)tst-audit4.out): Likewise.
5577 ($(objpfx)tst-audit5): Likewise.
5578 ($(objpfx)tst-audit5.out): Likewise.
5579 ($(objpfx)tst-audit6): Likewise.
5580 ($(objpfx)tst-audit6.out): Likewise.
5581 ($(objpfx)tst-audit7): Likewise.
5582 ($(objpfx)tst-audit7.out): Likewise.
5583 (tst-audit3-ENV): Remove variable.
5584 (tst-audit4-ENV): Likewise.
5585 (tst-audit5-ENV): Likewise.
5586 (tst-audit6-ENV): Likewise.
5587 (tst-audit7-ENV): Likewise.
5588 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5589 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5590 addition to variable.
5591 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5592 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5593 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5594 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5596 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5597 tst-audit3, tst-audit4 and tst-audit5.
5598 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5599 tst-audit6 and tst-audit7.
5600 [$(subdir) = elf] (modules-names): Add audit modules for those
5602 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5603 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5604 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5605 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5606 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5607 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5608 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5609 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5610 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5611 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5612 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5613 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5614 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5615 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5616 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5617 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5619 [$(subdir) = elf && $(config-cflags-avx) = yes]
5620 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5621 [$(subdir) = elf && $(config-cflags-avx) = yes]
5622 (CFLAGS-tst-auditmod4a.c): Likewise.
5623 [$(subdir) = elf && $(config-cflags-avx) = yes]
5624 (CFLAGS-tst-auditmod4b.c): Likewise.
5625 [$(subdir) = elf && $(config-cflags-avx) = yes]
5626 (CFLAGS-tst-auditmod6b.c): Likewise.
5627 [$(subdir) = elf && $(config-cflags-avx) = yes]
5628 (CFLAGS-tst-auditmod6c.c): Likewise.
5629 [$(subdir) = elf && $(config-cflags-avx) = yes]
5630 (CFLAGS-tst-auditmod7b.c): Likewise.
5631 * elf/tst-audit3.c: Move to ...
5632 * sysdeps/x86_64/tst-audit3.c: ... here.
5633 * elf/tst-audit4.c: Move to ...
5634 * sysdeps/x86_64/tst-audit4.c: ... here.
5635 * elf/tst-audit5.c: Move to ...
5636 * sysdeps/x86_64/tst-audit5.c: ... here.
5637 * elf/tst-audit6.c: Move to ...
5638 * sysdeps/x86_64/tst-audit6.c: ... here.
5639 * elf/tst-audit7.c: Move to ...
5640 * sysdeps/x86_64/tst-audit7.c: ... here.
5641 * elf/tst-auditmod3a.c: Move to ...
5642 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5643 * elf/tst-auditmod3b.c: Move to ...
5644 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5645 * elf/tst-auditmod4a.c: Move to ...
5646 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5647 * elf/tst-auditmod4b.c: Move to ...
5648 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5649 * elf/tst-auditmod5a.c: Move to ...
5650 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5651 * elf/tst-auditmod5b.c: Move to ...
5652 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5653 * elf/tst-auditmod6a.c: Move to ...
5654 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5655 * elf/tst-auditmod6b.c: Move to ...
5656 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5657 * elf/tst-auditmod6c.c: Move to ...
5658 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5659 * elf/tst-auditmod7a.c: Move to ...
5660 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5661 * elf/tst-auditmod7b.c: Move to ...
5662 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5664 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5667 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5668 define unconditionally.
5669 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5670 define unconditionally.
5671 (INT8_C, INT16_C, etc.): Likewise.
5673 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5675 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5676 __ehdr_start with hidden visibility.
5678 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5680 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5682 * math/libm-test.inc (cos_test): Use accurate hex constants.
5683 (sincost_test): Likewise.
5685 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5687 * math/libm-test.inc (catan_test): Add more tests.
5688 (catanh_test): Likewise.
5690 * math/s_catanf.c (__catanf): Use suffixed floating-point
5692 * math/s_catanhf.c (__catanhf): Likewise.
5693 * math/s_catanhl.c (__catanhl): Likewise.
5694 * math/s_catanl.c (__catanl): Likewise.
5697 * math/s_catan.c (__catan): Calculate imaginary part of result
5698 with log1p not log unless computing log of number close to 0.
5699 * math/s_catanf.c (__catanf): Likewise.
5700 * math/s_catanl.c (__catanl): Likewise.
5701 * math/s_catanh.c (__catanh): Calculate real part of result with
5702 log1p not log unless computing log of number close to 0.
5703 * math/s_catanhf.c (__catanhf): Likewise.
5704 * math/s_catanhl.c (__catanhl): Likewise.
5705 * math/libm-test.inc (catan_test): Add more tests.
5706 (catanh_test): Likewise.
5707 * sysdeps/i386/fpu/libm-test-ulps: Update.
5708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5710 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5712 * benchtests/Makefile: Mention files in which fast and slow
5713 paths of math functions are implemented.
5715 2013-04-23 Roland McGrath <roland@hack.frob.com>
5717 * sysdeps/posix/timespec_get.c: New file.
5719 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5721 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5723 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5725 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5726 powerpc/power5/fpu folders.
5727 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5728 * benchtests/Makefile: Add modf testcase.
5729 * benchtests/bench-modf.c: New file: Benchmark test for mo
5731 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5734 * time/Makefile (tests): Add tst-strptime-whitespace.
5735 * time/strptime_l.c (get_number): Use ISSPACE.
5736 (__strptime_internal): Likewise.
5737 * time/tst-strptime-whitespace.c: New test case.
5739 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5741 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5743 (_nss_files_init): Set it here.
5745 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5747 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5748 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5751 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5753 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5755 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5757 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5760 2013-04-21 David S. Miller <davem@davemloft.net>
5762 * po/ru.po: Update Russion translation from translation project.
5764 2013-04-17 Adam Conrad <adconrad@0c3.net>
5766 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5769 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5771 * configure.in: Remove i386 configure warning. Remove i386 case.
5772 * configure: Regenerate.
5773 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5774 Add example to error message.
5775 * sysdeps/i386/configure: Regenerate.
5777 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5779 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5781 * benchtests/cos-inputs: New file.
5782 * benchtests/slowcos-inputs: New file.
5783 * benchtests/slowcos.c: New file.
5784 * benchtests/slowtan-inputs: New file.
5785 * benchtests/slowtan.c: New file.
5786 * benchtests/tan-inputs: New file.
5788 2013-04-16 Roland McGrath <roland@hack.frob.com>
5790 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5793 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5795 * benchtests/Makefile: Include cppflags-iterator.mk to add
5796 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5798 * Makefile.in (bench-clean): New target.
5799 * benchtests/Makefile (bench-clean): Likewise.
5801 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5803 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5805 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5807 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5809 2013-04-15 Andreas Schwab <schwab@suse.de>
5811 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5813 * nscd/pwdcache.c (cache_addpw): Likewise.
5814 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5817 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5819 * benchtests/Makefile (bench): Write all output to
5820 bench-out.tmp together.
5822 2013-04-15 Andreas Schwab <schwab@suse.de>
5824 * nscd/nscd.c (main): Don't fork again after closing files.
5826 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5828 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5830 * benchtests/Rules (bench-deps): Collect dependencies into a
5831 single variable. Add Makefile to dependencies.
5832 ($(objpfx)bench-%.c): Depend on bench-deps.
5834 2013-04-12 Roland McGrath <roland@hack.frob.com>
5835 Xavier Roche <roche+kml2@exalead.com>
5838 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5839 just that it's a file descriptor.
5840 * manual/llio.texi (Synchronizing AIO Operations): Update description
5841 for EBADF error from aio_fsync.
5843 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5845 * Rules (bench): Move target definition...
5846 * benchtests/Makefile: ... here.
5848 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5850 * math/libm-test.inc (cos_test): Fix PI/2 test.
5851 (sincos_test): Likewise.
5852 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5853 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5855 2013-04-11 Andreas Schwab <schwab@suse.de>
5858 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5859 accept exponent character only when digits were seen.
5860 * stdio-common/Makefile (tests): Add bug26.
5861 * stdio-common/bug26.c: New file.
5864 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5867 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5869 * Makeconfig (rtld-prefix): Define built linker prefix.
5870 * Rules (run-bench): Use it.
5871 * math/Makefile (run-regen-ulps): Likewise.
5873 * Rules (bench): Remove eval.
5875 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5876 Roland McGrath <roland@hack.frob.com>
5877 Ondrej Bilka <neleai@seznam.cz>
5880 * time/getdate.c: Include ctype.h and alloca.h.
5881 (__getdate_r): Trim leading and trailing spaces of input.
5882 * time/tst-getdate.c (tests): Add tests with leading and
5885 2013-04-08 Roland McGrath <roland@hack.frob.com>
5888 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5889 when computing value.
5891 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5893 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5894 Use testrun.sh to run libm tests.
5897 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5899 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5902 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5904 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5906 * Makefile.in (regen-ulps): New target.
5907 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5908 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5909 [ifneq (no,$(PERL)] (regen-ulps): New target.
5910 [ifeq (no,$(PERL)] (regen-ulps): New target.
5911 * math/libm-test.inc (ulps_file_name): Define.
5912 (output_dir): New variable.
5913 (options): Add "output-dir" option.
5914 (parse_opt): Handle 'o' case.
5915 (main): If output_dir is non-NULL use it as a prefix
5917 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5919 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5922 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5923 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5924 fail configure if __sync_val_compare_and_swap is not inlined.
5925 * sysdeps/i386/configure: Regenerate.
5926 * configure.in: Build for i686 when configured for i386.
5927 * configure: Regenerate.
5928 * README: Remove i386 reference.
5930 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5932 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5933 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5935 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5937 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5938 (lmsnanval): New variables.
5939 (F): Add conversion tests.
5940 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5941 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5943 * stdio-common/tstdiomisc.c (F): Properly collect individual
5947 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5948 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5949 Instead, use input NaN values or generate a qNaN by arithmetic
5950 operation. Also fix bugs to comply with the standard.
5951 * math/libm-test.inc (remainder_test): Add more tests.
5954 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5955 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5956 input NaN values or generate a qNaN by arithmetic operation.
5958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5961 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5964 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5967 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5969 * math/s_cexpf.c (__cexpf): Likewise.
5970 * math/s_cexpl.c (__cexpl): Likewise.
5971 * math/libm-test.inc (cexp_test): Add more tests.
5973 2013-04-03 Andreas Schwab <schwab@suse.de>
5976 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5977 order arrays from heap if bigger than alloca cutoff.
5979 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5981 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5982 (SNAN_TESTS_double): Refer to GCC PR56831.
5983 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5986 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5988 * Rules (bench): Move bench.out after the run is complete.
5990 * Rules (bench): Echo currently running benchmark.
5992 * benchtests/Makefile (bench): Add atan and slowatan.
5993 * benchtests/atan-inputs: New file.
5994 * benchtests/slowatan-inputs: New file.
5995 * benchtests/slowatan.c: New file.
5997 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5998 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6002 * sysdeps/unix/sysv/linux/kernel-features.h
6003 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6004 __ASSUME_XFS_RESTRICTED_CHOWN.
6005 * sysdeps/unix/sysv/linux/pathconf.c
6006 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6007 Save and restore errno.
6009 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6012 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6013 arguments using __kernel_casinh.
6014 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6015 arguments using __kernel_casinhf.
6016 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6017 arguments using __kernel_casinhl.
6018 * math/libm-test.inc (cacosh_test): Add more tests.
6019 * sysdeps/i386/fpu/libm-test-ulps: Update.
6020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6022 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6024 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6027 * bench/Makefile (bench): Add sin and slowsin.
6028 * benchtests/sin-inputs: New file.
6029 * benchtests/slowsin-inputs: New file.
6030 * benchtests/slowsin.c: New file.
6032 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6033 (bench): Add slowexp and slowpow.
6034 (exp-ITER): Increase iterations.
6035 (pow-ITER): Likewise.
6036 * benchtests/exp-inputs: Change input.
6037 * benchtests/pow-inputs: Likewise.
6038 * benchtests/slowexp-inputs: New file.
6039 * benchtests/slowexp.c: New file.
6040 * benchtests/slowpow-inputs: New file.
6041 * benchtests/slowpow.c: New file.
6043 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6045 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6047 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6048 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6049 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6050 * benchtests/Makefile: Add rint benchtest.
6051 * benchtests/rint-inputs: Input for rint benchtest.
6053 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6055 * Versions.def (libm): Add GLIBC_2.18.
6056 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6057 hidden libm prototypes.
6058 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6059 * math/Makefile (libm-calls): Add s_issignaling.
6060 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6061 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6062 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6064 * math/math.h [__USE_GNU] (issignaling): New macro.
6065 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6066 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6071 * manual/arith.texi (issignaling): New section.
6072 * manual/libm-err-tab.pl (@all_functions): Update comment.
6073 * math/gen-libm-test.pl (parse_args): Apply special handling for
6075 * math/libm-test.inc (print_float, issignaling_test): New
6077 (check_float_internal): Add issignaling checks.
6078 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6080 * sysdeps/powerpc/math-tests.h: New file.
6081 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6083 * math/test-snan.c (TEST_FUNC): Likewise.
6085 2013-03-30 David S. Miller <davem@davemloft.net>
6087 * po/de.po: Update from translation team.
6089 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6092 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6093 imaginary part less than 1.0 and real part less than 0.5
6095 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6096 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6097 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6098 (cacos_test): Add more tests.
6099 (casin_test): Likewise.
6100 (casinh_test): Likewise.
6101 * sysdeps/i386/fpu/libm-test-ulps: Update.
6102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6104 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6106 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6109 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6110 (__pow_mp): Replace ONE and MONE with their values.
6111 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6112 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6114 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6115 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6118 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6120 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6121 (__pow_mp): Replace ZERO and MZERO with their values.
6122 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6123 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6124 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6126 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6127 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6130 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6132 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6134 2013-03-28 Roland McGrath <roland@hack.frob.com>
6136 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6137 Declare with __attribute__ ((weak)).
6138 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6139 Call __call_tls_dtors only if it's not NULL.
6141 2013-03-28 Roland McGrath <roland@hack.frob.com>
6143 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6144 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6145 magic __ehdr_start linker symbol if it's defined.
6146 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6147 them up here if it was already done.
6149 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6150 (_dl_aux_init): Use const in cast when setting it.
6151 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6152 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6153 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6155 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6157 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6158 * csu/libc-tls.c: Nor here.
6159 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6161 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6162 (__libc_message): Never call vsyslog.
6164 2013-03-28 Alan Modra <amodra@gmail.com>
6166 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6168 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6171 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6178 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6181 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6182 Don't add gid passed as argument.
6184 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6186 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6189 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6190 imaginary part between 1.0 and 1.5 and real part less than 0.5
6192 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6193 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6194 * math/libm-test.inc (cacos_test): Add more tests.
6195 (casin_test): Likewise.
6196 (casinh_test): Likewise.
6197 * sysdeps/i386/fpu/libm-test-ulps: Update.
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6200 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6202 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6206 (__dbl_mp): Likewise.
6207 (add_magnitudes): Likewise.
6208 (sub_magnitudes): Likewise.
6216 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6218 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6219 (__dubcos): Likewise.
6220 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6221 (__ieee754_acos): Likewise.
6222 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6223 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6225 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6228 (my_log2): Likewise.
6229 (checkint): Likewise.
6230 * sysdeps/ieee754/dbl-64/e_remainder.c
6231 (__ieee754_remainder): Likewise.
6232 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6237 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6238 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6239 MANTISSA_STORE_T to store computations on mantissa. Use
6240 macros for rounding and division.
6242 (__dbl_mp): Likewise.
6243 (add_magnitudes): Likewise.
6244 (sub_magnitudes): Likewise.
6247 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6248 powers of two in terms of TWOPOW macro.
6249 (mp_no): Make type of mantissa as MANTISSA_T.
6250 [!RADIXI]: Define RADIXI.
6251 [!TWO52]: Define TWO52.
6252 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6254 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6256 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6257 llroundl symbol when building for PPC32.
6259 2013-03-24 Mark H Weaver <mhw@netris.org>
6261 * manual/arith.texi (Normalization Functions): Fix prototypes for
6262 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6264 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6268 high value to check if expl overflow.
6269 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6270 to check for underflow and overflow.
6271 * math/libm-test.inc: Add exp test.
6273 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6276 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6279 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6284 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6286 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6287 wrap blocks consisting of several statements.
6289 * sysdeps/generic/math-tests.h: New file.
6290 * sysdeps/i386/fpu/math-tests.h: Likewise.
6291 * math/test-snan.c: Include it.
6292 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6294 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6297 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6298 (__ieee754_j0l): Do not improve calculations using cos of twice
6299 input for inputs above LDBL_MAX / 2.0L.
6300 (__ieee754_y0l): Likewise.
6301 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6302 (__ieee754_j1l): Do not improve calculations using cos of twice
6303 input for inputs above LDBL_MAX / 2.0L.
6304 (__ieee754_y1l): Likewise.
6305 * math/libm-test.inc (j0_test): Add another test.
6306 (j1_test): Likewise.
6307 (y0_test): Likewise.
6308 (y1_test): Likewise.
6309 * sysdeps/i386/fpu/libm-test-ulps: Update.
6311 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6313 * Rules ($(objpfx)bench-%.c): Include code from a C source
6316 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6319 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6320 imaginary part 1.0 and real part less than 0.5 specially.
6321 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6322 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6323 * math/libm-test.inc (cacos_test): Add more tests.
6324 (casin_test): Likewise.
6325 (casinh_test): Likewise.
6326 * sysdeps/i386/fpu/libm-test-ulps: Update.
6327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6329 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6332 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6334 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6336 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6337 * config.make.in (config-cflags-sse4): Remove variable.
6338 (config-cflags-avx): Likewise.
6339 (config-cflags-sse2avx): Likewise.
6340 (config-cflags-novzeroupper): Likewise.
6341 (config-asflags-i686): Likewise.
6342 (have-mfma4): Likewise.
6343 (have-as-vis3): Likewise.
6345 * configure.in (MIG): Do not AC_SUBST.
6346 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6347 (libc_cv_cc_sse4): Do not AC_SUBST.
6348 (libc_cv_cc_avx): Likewise.
6349 (libc_cv_cc_sse2avx): Likewise.
6350 (libc_cv_cc_novzeroupper): Likewise.
6351 (libc_cv_cc_fma4): Likewise.
6352 (libc_cv_as_i686): Likewise.
6353 (libc_cv_sparc_as_vis3): Likewise.
6354 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6356 (config-asflags-i686): Likewise.
6357 (config-cflags-avx): Likewise.
6358 (config-cflags-sse2avx): Likewise.
6359 (have-mfma4): Likewise.
6360 (config-cflags-novzeroupper): Likewise.
6361 * sysdeps/mach/configure.in (MIG): Likewise.
6362 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6363 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6365 (config-cflags-avx): Likewise.
6366 (config-cflags-sse2avx): Likewise.
6367 (have-mfma4): Likewise.
6368 (config-cflags-novzeroupper): Likewise.
6369 * configure: Regenerated.
6370 * sysdeps/i386/configure: Likewise.
6371 * sysdeps/mach/configure: Likewise.
6372 * sysdeps/sparc/configure: Likewise.
6373 * sysdeps/x86_64/configure: Likewise.
6375 2013-03-20 Roland McGrath <roland@hack.frob.com>
6378 * locale/programs/localedef.c (options): Put N_ translation marker
6379 on argument names, not just descriptions.
6381 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6383 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6385 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6388 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6390 2013-03-19 Roland McGrath <roland@hack.frob.com>
6392 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6393 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6394 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6395 [!BEFORE_ABORT] (before_abort): New function.
6396 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6397 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6398 (writev_for_fatal): New function.
6399 (WRITEV_FOR_FATAL): New macro; call that.
6400 (backtrace_and_maps): New function.
6401 (BEFORE_ABORT): New macro; call that.
6402 (struct str_list): Type removed.
6403 (__libc_message, __libc_fatal): Functions removed.
6404 Include <sysdeps/posix/libc_fatal.c> instead.
6406 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6408 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6410 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6413 2013-03-19 Andreas Schwab <schwab@suse.de>
6415 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6416 * sysdeps/gnu/configure: Regenerate.
6418 * configure.in: Substitute libc_cv_rtlddir.
6419 * configure: Regenerate.
6420 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6421 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6422 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6423 * elf/Makefile (install-others, CFLAGS-interp.c)
6424 (ldso_install, common-ldd-rewrite): Likewise.
6425 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6426 $(inst_slibdir)/$(rtld-installed-name).
6427 * scripts/rellns-sh: Add -p option.
6428 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6431 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6433 * manual/nptl.texi: Renamed to ...
6434 * manual/threads.texi: ... this.
6435 * manual/Makefile (chapters): Update.
6437 2013-03-18 Roland McGrath <roland@hack.frob.com>
6440 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6441 on argument names, not just descriptions.
6442 * malloc/memusagestat.c (options): Likewise.
6443 * nss/getent.c (options): Likewise.
6445 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6448 * iconv/iconv_prog.c (options): Put N_ translation marker
6449 on argument names, not just descriptions.
6450 * iconv/iconvconfig.c (options): Likewise.
6452 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6454 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6455 implementation which is faster on all x86_64 architectures.
6456 Tested on AMD, Intel Nehalem, SNB, IVB.
6457 * sysdeps/x86_64/strnlen.S: Likewise.
6459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6460 Remove all multiarch strlen and strnlen versions.
6461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6462 Remove strlen and strnlen related parts.
6464 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6466 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6468 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6469 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6470 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6471 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6472 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6473 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6475 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6477 * manual/memory.texi (Malloc Tunable Parameters):
6478 Sort parameters alphabetically. Add comments for missing entries.
6480 2013-03-17 David S. Miller <davem@davemloft.net>
6482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6484 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6488 for arguments at most half maximum finite value.
6489 * math/libm-test.inc (j0_test): Add more tests.
6490 (j1_test): Likewise.
6491 (y0_test): Likewise.
6492 (y1_test): Likewise.
6493 * sysdeps/i386/fpu/libm-test-ulps: Update.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6497 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6498 1 / x and functions P and Q for arguments above 0x1p256L.
6499 (__ieee754_y0l): Likewise.
6500 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6501 (__ieee754_y1l): Likewise.
6502 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6503 (j1_test): Likewise.
6504 (y0_test): Likewise.
6505 (y1_test): Likewise.
6507 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6509 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6512 2013-03-15 Roland McGrath <roland@hack.frob.com>
6514 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6515 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6516 zero since it's initialized to EXEC_PAGESIZE.
6518 * sysdeps/unix/sysv/linux/ldsodefs.h
6519 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6520 * sysdeps/generic/ldsodefs.h: ... here.
6522 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6524 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6526 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6528 * math/test-snan.c: Renamed from
6529 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6530 * math/Makefile (tests): Add test-snan.
6531 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6534 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6535 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6537 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6538 __builtin_nan family of functions.
6539 * math/libm-test.inc (initialize): Initialize qnan_value with
6540 __builtin_nan family of functions.
6541 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6543 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6545 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6546 storage class. Initialize qNaN_var and sNaN_var with
6547 __builtin_nan and __builtin_nans families of functions,
6550 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6551 (sqrt_test): Remove duplicate test with qNaN input.
6552 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6553 (round_test, signbit_test, significand_test): Note missing +/-Inf
6554 as well as qNaN tests.
6556 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6557 qNaN_var. Fix a few strings, too.
6558 * math/libm-test.inc (nan_value): Rename to qnan_value.
6559 * math/gen-libm-test.pl (%beautify): Adjust to that.
6560 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6561 * math/test-misc.c (main): Likewise.
6562 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6563 to __qnan_bytes, and __qnan_union, respectively.
6564 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6566 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6567 and lqnanval, respectively.
6568 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6569 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6570 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6571 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6573 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6574 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6577 * math/test-misc.c (main): Fix copy'n'pastos.
6578 * misc/tst-efgcvt.c (special): Likewise.
6580 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6581 Remove declarations.
6583 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6585 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6586 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6587 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6588 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6590 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6592 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6593 macro to return vdso values correctly in IFUNC implementations.
6594 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6595 Optimization by using IFUNC.
6597 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6598 Richard Henderson <rth@redhat.com>
6599 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6601 * Makefile.in (bench): New target.
6602 * NEWS: Mention the benchmark framework.
6603 * Rules (bench): Likewise.
6604 (binaries-bench): Generate binaries for functions to
6606 * benchtests/Makefile: New makefile for benchmark tests.
6607 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6609 * benchtests/exp-inputs: New input file for EXP function.
6610 * benchtests/pow-inputs: New input file for POW function.
6611 * scripts/bench.pl: New script to generate source files for
6614 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6616 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6617 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6618 computations on mantissa. Use macros for rounding and
6621 (__dbl_mp): Likewise.
6622 (add_magnitudes): Likewise.
6623 (sub_magnitudes): Likewise.
6626 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6627 powers of two in terms of TWOPOW macro.
6628 (mp_no): Make type of mantissa as MANTISSA_T.
6629 [!RADIXI]: Define RADIXI.
6630 [!TWO52]: Define TWO52.
6631 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6633 * manual/nptl.texi (cindex): Modify threads to pthreads.
6635 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6637 * sysdeps/x86_64/preconfigure: Regenerated.
6639 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6642 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6644 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6645 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6647 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6648 * math/libm-test.inc (j0_test): Do not allow one spurious
6649 underflow exception.
6650 (y1_test): Likewise.
6652 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6654 * manual/Makefile (chapters): Add nptl.
6655 * manual/debug.texi (Debugging Support): Add link to Threads
6657 * manual/nptl.texi: New file.
6659 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6661 2013-03-14 Petr Baudis <pasky@ucw.cz>
6663 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6664 for non-NULL pointer before the memory validity test. Pointed
6665 out by Holger Brunck <holger.brunck@keymile.com>.
6667 2013-03-13 Andreas Schwab <schwab@suse.de>
6669 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6672 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6674 * timezone/zic.c: Update from tzcode 2013b.
6676 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6678 * manual/install.texi (Configuring and compiling):
6679 Mention i686 and i586.
6680 * INSTALL: Regenerate.
6682 2013-03-12 Roland McGrath <roland@hack.frob.com>
6684 * sysdeps/init_array/elf-init.c: New file.
6686 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6687 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6689 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6690 __gmon_start__ as global, but as static with a .preinit_array pointer.
6691 * sysdeps/init_array/gmon-start.c: New file. Use that.
6692 * sysdeps/init_array/crti.S: New file, empty except for comments.
6693 * sysdeps/init_array/crtn.S: Likewise.
6695 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6697 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6700 Remove Prefer_SSE_for_memop.
6701 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6702 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6703 HAS_PREFER_SSE_FOR_MEMOP.
6704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6707 Remove bzero, memset ifunc support.
6708 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6709 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6710 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6711 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6713 2013-03-11 Andreas Schwab <schwab@suse.de>
6716 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6719 (GLIBC_2.16): Remove pthread_atfork.
6721 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6723 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6724 (ptestcases.h): Likewise.
6726 2013-03-08 Roland McGrath <roland@hack.frob.com>
6728 * Makeconfig ($(common-objpfx)config.status): Depend on
6729 sysdeps/*/preconfigure{,.in} too.
6731 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6733 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6734 (__free_hook): Use void * instead of __malloc_ptr_t.
6735 (__malloc_hook): Likewise.
6736 (__realloc_hook): Likewise.
6737 (__memalign_hook): Likewise.
6738 (__after_morecore_hook): Likewise.
6739 * malloc/arena.c (save_malloc_hook): Likewise.
6740 (save_free_hook): Likewise.
6741 * malloc/hooks.c (malloc_hook_ini): Likewise.
6742 (realloc_hook_ini): Likewise.
6743 (memalign_hook_ini): Likewise.
6744 * malloc/malloc.c (malloc_hook_ini): Likewise.
6745 (realloc_hook_ini): Likewise.
6746 (memalign_hook_ini): Likewise.
6747 (__free_hook): Likewise.
6748 (__malloc_hook): Likewise.
6749 (__realloc_hook): Likewise.
6750 (__memalign_hook): Likewise.
6751 (__libc_malloc): Likewise.
6752 (__libc_free): Likewise.
6753 (__libc_realloc): Likewise.
6754 (__libc_memalign): Likewise.
6755 (__libc_valloc): Likewise.
6756 (__libc_pvalloc): Likewise.
6757 (__libc_calloc): Likewise.
6758 (__posix_memalign): Likewise.
6759 * malloc/morecore.c (__sbrk): Likewise.
6760 (__default_morecore): Likewise.
6762 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6764 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6765 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6768 * malloc/malloc.h (__malloc_size_t): Remove macro.
6769 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6771 (old_memalign_hook): Likewise.
6772 (old_realloc_hook): Likewise.
6773 (struct hdr): Likewise.
6775 (mallochook): Likewise.
6776 (memalignhook): Likewise.
6777 (reallochook): Likewise.
6778 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6779 (tr_old_realloc_hook): Likewise.
6780 (tr_old_memalign_hook): Likewise.
6781 (tr_mallochook): Likewise.
6782 (tr_reallochook): Likewise.
6783 (tr_memalignhook): Likewise.
6785 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6788 default_ldbl_pack and using as default implementation.
6789 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6791 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6792 redundant definition.
6793 (ldbl_insert_mantissa): Likewise.
6794 (ldbl_canonicalize): Likewise.
6795 (ldbl_nearbyint): Likewise.
6796 (ldbl_pack): Rename to ldbl_pack_ppc.
6797 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6798 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6799 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6801 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6804 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6805 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6806 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6809 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6810 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6812 2013-03-07 Andreas Jaeger <aj@suse.de>
6814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6817 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6819 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6820 Include mpa.h and declare __MPEXP.
6821 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6822 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6823 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6825 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6826 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6829 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6830 (__slowpow): Use long double EXPL and LOGL functions to
6832 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6833 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6835 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6836 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6840 intermediate variable to calculate exponent.
6842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6846 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6847 [!NO__SQR]: Define __sqr.
6848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6849 and NO__SQR. Remove all code except __mul and __sqr. Include
6850 sysdeps/ieee754/dbl-64/mpa.c.
6851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6854 * posix/Makefile (tests): Add tst-pathconf.
6855 * posix/tst-pathconf.c: New test case.
6856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6858 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6860 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6862 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6864 2013-03-06 Andreas Jaeger <aj@suse.de>
6866 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6867 definition via __MAP_ANONYMOUS.
6869 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6870 it's not part of Linux headers.
6872 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6873 (MAP_HUGE_MASK): Define.
6875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6877 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6880 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6881 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6883 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6884 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6888 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6889 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6890 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6891 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6892 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6893 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6895 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6899 Handle f2fs and efivarfs.
6901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6904 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6905 (EFIVARFS_MAGIC): Add.
6906 (F2FS_LINK_MAX): Add.
6908 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6910 * stdio-common/vfprintf.c: Replace __builtin_expect with
6913 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6916 * sysdeps/generic/bp-sym.h: Remove file.
6917 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6918 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6919 <bp-sym.h> and <bp-asm.h>.
6920 (__longjmp): Don't use BP_SYM.
6921 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6923 (memcpy): Don't use BP_SYM.
6924 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6925 <bp-sym.h> and <bp-asm.h>.
6926 (memcpy): Don't use BP_SYM.
6927 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6929 (memcpy): Don't use BP_SYM.
6930 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6932 (memset): Don't use BP_SYM.
6933 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6934 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6935 (__bzero): Don't use BP_SYM.
6936 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6937 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6938 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6939 <bp-sym.h> and <bp-asm.h>.
6940 (memcmp): Don't use BP_SYM. Remove comment about bounded
6942 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6943 <bp-sym.h> and <bp-asm.h>.
6944 (memcpy): Don't use BP_SYM.
6945 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6946 <bp-sym.h> and <bp-asm.h>.
6947 (memset): Don't use BP_SYM.
6948 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6949 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6950 (__bzero): Don't use BP_SYM.
6951 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6952 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6953 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6954 <bp-sym.h> and <bp-asm.h>.
6955 (strncmp): Don't use BP_SYM. Remove comment about bounded
6957 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6958 <bp-sym.h> and <bp-asm.h>.
6959 (memcpy): Don't use BP_SYM.
6960 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6961 <bp-sym.h> and <bp-asm.h>.
6962 (memset): Don't use BP_SYM.
6963 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6964 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6965 (__bzero): Don't use BP_SYM.
6966 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6967 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6969 <bp-sym.h> and <bp-asm.h>.
6970 (__memchr): Don't use BP_SYM.
6971 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6972 <bp-sym.h> and <bp-asm.h>.
6973 (memcmp): Don't use BP_SYM. Remove comment about bounded
6975 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6976 <bp-sym.h> and <bp-asm.h>.
6977 (memcpy): Don't use BP_SYM.
6978 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6979 <bp-sym.h> and <bp-asm.h>.
6980 (__mempcpy): Don't use BP_SYM.
6981 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6982 <bp-sym.h> and <bp-asm.h>.
6983 (__memrchr): Don't use BP_SYM.
6984 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6985 <bp-sym.h> and <bp-asm.h>.
6986 (memset): Don't use BP_SYM.
6987 (__bzero): Likewise.
6988 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (__rawmemchr): Don't use BP_SYM.
6991 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (__STRCMP): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (strchr): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (__strchrnul): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (strlen): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (strncmp): Don't use BP_SYM. Remove comment about bounded
7007 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7008 <bp-sym.h> and <bp-asm.h>.
7009 (__strnlen): Don't use BP_SYM.
7010 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7011 <bp-sym.h> and <bp-asm.h>.
7012 (__GI__setjmp): Don't use BP_SYM.
7013 (_setjmp): Likewise.
7014 (__sigsetjmp): Likewise.
7015 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7016 (L(start_addresses)): Don't use BP_SYM.
7018 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7020 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7021 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7022 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7023 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7024 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7026 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7027 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7028 about bounded pointers.
7029 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7030 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7031 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7033 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7034 about bounded pointers. Remove GKM FIXME comments.
7035 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7036 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7038 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7039 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7040 Remove GKM FIXME comments.
7041 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7042 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7043 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7045 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7046 about bounded pointers. Remove GKM FIXME comment.
7047 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7049 (strncmp): Don't use BP_SYM. Remove comment about bounded
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7052 <bp-sym.h> and <bp-asm.h>.
7053 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7055 <bp-sym.h> and <bp-asm.h>.
7056 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7059 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7061 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7064 2013-03-05 David S. Miller <davem@davemloft.net>
7066 * po/es.po: Update from translation team.
7068 2013-03-05 Andreas Jaeger <aj@suse.de>
7070 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7071 <bits/mman-linux.h>.
7072 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7074 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7075 <bits/mman-linux.h> to end of file.
7076 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7078 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7079 <bits/mman-linux.h> to end of file.
7080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7083 <bits/mman-linux.h> to end of file.
7085 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7086 (MCL_CURRENT, MCL_FUTURE): Define here.
7088 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7093 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7095 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7097 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7098 fourth parameter needed for rt_sigprocmask syscall.
7099 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7100 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7101 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7102 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7103 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7104 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7106 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7109 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7110 comment about bounded pointers.
7111 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7112 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7114 2013-03-04 Andreas Jaeger <aj@suse.de>
7116 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7119 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7120 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7121 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7122 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7126 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7130 __ieee754_sqrl instead of __sqrl.
7132 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7134 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7135 * sysdeps/powerpc/fpu_control.h: ... here.
7136 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7137 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7138 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7139 * sysdeps/powerpc/bits/mathinline.h: ... here.
7141 2013-03-01 Roland McGrath <roland@hack.frob.com>
7143 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7144 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7145 to just [NEED_DL_SYSINFO_DSO].
7146 * elf/dl-support.c: Likewise.
7147 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7148 * elf/rtld.c (dl_main): Likewise.
7149 * elf/setup-vdso.h (setup_vdso): Likewise.
7150 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7151 * sysdeps/unix/sysv/linux/dl-sysdep.c
7152 (_dl_discover_osversion): Likewise.
7154 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7156 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7157 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7159 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7161 * NEWS: Mention libm performance improvements and non-x86 PI
7164 * csu/libc-start.c (__pthread_initialize_minimal): Change
7166 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7168 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7172 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7173 <bp-sym.h> and <bp-asm.h>.
7174 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7175 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7177 (memcpy): Don't use BP_SYM.
7178 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7180 (__mpn_add_n): Don't use BP_SYM.
7181 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7182 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7184 (__mpn_addmul_1): Don't use BP_SYM.
7185 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7186 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7188 (_setjmp): Don't use BP_SYM.
7189 (__novmx_setjmp): Likewise.
7190 (__GI__setjmp): Likewise.
7191 (__vmx_setjmp): Likewise.
7192 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7194 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7195 (__bzero): Don't use BP_SYM.
7196 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7197 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7198 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7199 <bp-sym.h> and <bp-asm.h>.
7200 (memcpy): Don't use BP_SYM.
7201 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7202 <bp-sym.h> and <bp-asm.h>.
7203 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7205 <bp-sym.h> and <bp-asm.h>.
7206 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7207 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7209 (__mpn_lshift): Don't use BP_SYM.
7210 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7211 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7213 (memset): Don't use BP_SYM.
7214 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7215 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7216 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7218 (__mpn_mul_1): Don't use BP_SYM.
7219 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7221 <bp-sym.h> and <bp-asm.h>.
7222 (memcmp): Don't use BP_SYM.
7223 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7224 <bp-sym.h> and <bp-asm.h>.
7225 (memcpy): Don't use BP_SYM.
7226 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7227 <bp-sym.h> and <bp-asm.h>.
7228 (memset): Don't use BP_SYM.
7229 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7230 <bp-sym.h> and <bp-asm.h>.
7231 (strncmp): Don't use BP_SYM.
7232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7233 <bp-sym.h> and <bp-asm.h>.
7234 (memcpy): Don't use BP_SYM.
7235 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7236 <bp-sym.h> and <bp-asm.h>.
7237 (memset): Don't use BP_SYM.
7238 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7239 <bp-sym.h> and <bp-asm.h>.
7240 (__memchr): Don't use BP_SYM.
7241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7242 <bp-sym.h> and <bp-asm.h>.
7243 (memcmp): Don't use BP_SYM.
7244 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7245 <bp-sym.h> and <bp-asm.h>.
7246 (memcpy): Don't use BP_SYM.
7247 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7248 <bp-sym.h> and <bp-asm.h>.
7249 (__mempcpy): Don't use BP_SYM.
7250 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7251 <bp-sym.h> and <bp-asm.h>.
7252 (__memrchr): Don't use BP_SYM.
7253 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7254 <bp-sym.h> and <bp-asm.h>.
7255 (memset): Don't use BP_SYM.
7256 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7257 <bp-sym.h> and <bp-asm.h>.
7258 (__rawmemchr): Don't use BP_SYM.
7259 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7260 <bp-sym.h> and <bp-asm.h>.
7261 (__STRCMP): Don't use BP_SYM.
7262 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7263 <bp-sym.h> and <bp-asm.h>.
7264 (strchr): Don't use BP_SYM.
7265 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7266 <bp-sym.h> and <bp-asm.h>.
7267 (__strchrnul): Don't use BP_SYM.
7268 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (strlen): Don't use BP_SYM.
7271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7272 <bp-sym.h> and <bp-asm.h>.
7273 (strncmp): Don't use BP_SYM.
7274 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7275 <bp-sym.h> and <bp-asm.h>.
7276 (__strnlen): Don't use BP_SYM.
7277 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7279 (__mpn_rshift): Don't use BP_SYM.
7280 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7281 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7282 <bp-sym.h> and <bp-asm.h>.
7283 (__sigsetjmp): Don't use BP_SYM.
7284 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7285 (L(start_addresses)): Don't use BP_SYM.
7287 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7289 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7290 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7291 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7292 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7294 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7295 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7296 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7297 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7299 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7301 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7302 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7304 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7306 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7307 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7308 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7310 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7312 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7314 (strncmp): Don't use BP_SYM,
7315 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7317 (__mpn_sub_n): Don't use BP_SYM.
7318 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7319 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7321 (__mpn_submul_1): Don't use BP_SYM.
7322 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7324 <bp-sym.h> and <bp-asm.h>.
7325 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7327 <bp-sym.h> and <bp-asm.h>.
7328 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7331 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7334 Use ZK to minimize writes to Z.
7335 (sub_magnitudes): Simplify code a bit.
7336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7337 Use ZK to minimize writes to Z.
7338 (sub_magnitudes): Simplify code a bit.
7340 2013-02-27 Roland McGrath <roland@hack.frob.com>
7342 * csu/gmon-start.c: Add special exception to license text.
7344 2013-02-27 Richard Henderson <rth@redhat.com>
7346 * scripts/config.guess: Update from config.git.
7347 * scripts/config.sub: Likewise.
7349 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7351 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7353 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7355 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7357 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7359 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7361 2013-02-26 Roland McGrath <roland@hack.frob.com>
7363 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7364 [$(build-shared = yes].
7366 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7368 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7369 (__mul): Reduce iterations for calculating mantissa.
7371 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7373 (__mpranred): Likewise.
7376 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7377 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7379 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7381 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7382 Define __attribute__.
7384 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7386 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7388 * posix/regex_internal.h (__attribute): Remove.
7389 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7390 (re_string_context_at): Likewise.
7391 (bitset_not): Use __attribute__ and mark function as possibly
7393 (bitset_merge): Likewise.
7394 (bitset_mask): Likewise.
7395 (re_string_char_size_at): Likewise.
7396 (re_string_wchar_at): Likewise.
7397 (re_string_elem_size_at): Likewise.
7399 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7401 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7405 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7410 (__dbl_mp): Likewise.
7411 (add_magnitudes): Likewise.
7412 (sub_magnitudes): Likewise.
7416 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7419 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7422 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7426 up changes with default code.
7427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7430 2013-02-24 Allan McRae <allan@archlinux.org>
7432 * manual/socket.texi (The Internet Namespace): Order menu items
7433 to match that in the file.
7435 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7436 node listing of the info page menu.
7438 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7441 * sysdeps/i386/bp-asm.h: Remove file.
7442 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7443 (PARMS): Do not use macros from bp-asm.h.
7447 (__mpn_add_n): Do not use BP_SYM
7448 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7450 (PARMS): Do not use macros from bp-asm.h.
7453 (__mpn_addmul_1): Do not use BP_SYM
7454 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7456 (PARMS): Do not use macros from bp-asm.h.
7458 (_setjmp): Likewise. Do not use BP_SYM.
7459 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7461 (PARMS): Do not use macros from bp-asm.h.
7463 (setjmp): Likewise. Do not use BP_SYM.
7464 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7466 (PARMS): Do not use macros from bp-asm.h.
7467 (__frexp): Do not use BP_SYM.
7469 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7471 (PARMS): Do not use macros from bp-asm.h.
7472 (__frexpf): Do not use BP_SYM.
7474 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7476 (PARMS): Do not use macros from bp-asm.h.
7477 (__frexpl): Do not use BP_SYM.
7479 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7481 (PARMS): Do not use macros from bp-asm.h.
7482 (__remquo): Do not use BP_SYM.
7484 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7486 (PARMS): Do not use macros from bp-asm.h.
7487 (__remquof): Do not use BP_SYM.
7488 (remquof): Likewise.
7489 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7491 (PARMS): Do not use macros from bp-asm.h.
7492 (__remquol): Do not use BP_SYM.
7493 (remquol): Likewise.
7494 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7496 (PARMS): Do not use macros from bp-asm.h.
7499 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7500 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7502 (PARMS): Do not use macros from bp-asm.h.
7503 (strlen): Do not use BP_SYM.
7504 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7506 (PARMS): Do not use macros from bp-asm.h.
7510 (__mpn_add_n): Do not use BP_SYM.
7511 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7513 (PARMS): Do not use macros from bp-asm.h.
7516 (__mpn_addmul_1): Do not use BP_SYM.
7517 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7520 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7522 (PARMS): Do not use macros from bp-asm.h.
7525 (__mpn_lshift): Do not use BP_SYM.
7526 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7528 (PARMS): Do not use macros from bp-asm.h.
7532 (memcpy): Likewise. Do not use BP_SYM.
7533 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7534 libc_hidden_def and weak_alias.
7535 (mempcpy): Do not use BP_SYM in weak_alias.
7536 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7538 (PARMS): Do not use macros from bp-asm.h.
7541 [!BZERO_P] (CHR): Likewise.
7542 (memset): Likewise. Do not use BP_SYM.
7543 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7545 (PARMS): Do not use macros from bp-asm.h.
7548 (__mpn_mul_1): Do not use BP_SYM.
7549 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7551 (PARMS): Do not use macros from bp-asm.h.
7554 (__mpn_rshift): Do not use BP_SYM.
7555 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7557 (PARMS): Do not use macros from bp-asm.h.
7560 (strchr): Likewise. Do not use BP_SYM.
7561 (index): Do not use BP_SYM in weak_alias.
7562 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7564 (PARMS): Do not use macros from bp-asm.h.
7567 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7568 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7570 (PARMS): Do not use macros from bp-asm.h.
7571 (strlen): Do not use BP_SYM.
7572 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7574 (PARMS): Do not use macros from bp-asm.h.
7578 (__mpn_sub_n): Do not use BP_SYM.
7579 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7581 (PARMS): Do not use macros from bp-asm.h.
7584 (__mpn_submul_1): Do not use BP_SYM.
7585 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7587 (PARMS): Do not use macros from bp-asm.h.
7591 (__mpn_add_n): Do not use BP_SYM.
7592 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7595 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7597 (PARMS): Do not use macros from bp-asm.h.
7600 (memcmp): Do not use BP_SYM.
7601 (bcmp): Do not use BP_SYM in weak_alias.
7602 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7604 (PARMS): Do not use macros from bp-asm.h.
7608 (memcpy): Likewise. Do not use BP_SYM.
7609 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7611 (PARMS): Do not use macros from bp-asm.h.
7615 (memmove): Likewise. Do not use BP_SYM.
7616 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7618 (PARMS): Do not use macros from bp-asm.h.
7622 (__mempcpy): Likewise. Do not use BP_SYM.
7623 (mempcpy): Do not use BP_SYM in weak_alias.
7624 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7626 (PARMS): Do not use macros from bp-asm.h.
7629 [!BZERO_P] (CHR): Likewise.
7630 (memset): Likewise. Do not use BP_SYM.
7631 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7633 (PARMS): Do not use macros from bp-asm.h.
7635 (strcmp): Do not use BP_SYM.
7636 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7638 (PARMS): Do not use macros from bp-asm.h.
7641 [USE_AS_STRTOK_R] (SAVE): Likewise.
7642 (FUNCTION): Likewise. Do not use BP_SYM.
7643 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7645 (strtok_r): Likewise.
7646 (__GI___strtok_r): Likewise.
7647 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7648 (PARMS): Do not use macros from bp-asm.h.
7651 (__mpn_lshift): Do not use BP_SYM.
7652 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7653 (PARMS): Do not use macros from bp-asm.h.
7656 (__memchr): Do not use BP_SYM.
7657 (memchr): Do not use BP_SYM in weak_alias.
7658 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7659 (PARMS): Do not use macros from bp-asm.h.
7662 (memcmp): Do not use BP_SYM.
7663 (bcmp): Do not use BP_SYM in weak_alias.
7664 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7665 (PARMS): Do not use macros from bp-asm.h.
7668 (__mpn_mul_1): Do not use BP_SYM.
7669 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7671 (PARMS): Do not use macros from bp-asm.h.
7674 (__rawmemchr): Do not use BP_SYM.
7675 (rawmemchr): Do not use BP_SYM in weak_alias.
7676 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7677 (PARMS): Do not use macros from bp-asm.h.
7680 (__mpn_rshift): Do not use BP_SYM.
7681 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7682 (PARMS): Do not use macros from bp-asm.h.
7684 (__sigsetjmp): Likewise. Do not use BP_SYM.
7685 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7686 (_start): Do not use BP_SYM.
7687 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7688 (PARMS): Do not use macros from bp-asm.h.
7691 (__stpcpy): Likewise. Do not use BP_SYM.
7692 (stpcpy): Do not use BP_SYM in weak_alias.
7693 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7695 (PARMS): Do not use macros from bp-asm.h.
7699 (__stpncpy): Likewise. Do not use BP_SYM.
7700 (stpncpy): Do not use BP_SYM in weak_alias.
7701 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7702 (PARMS): Do not use macros from bp-asm.h.
7705 (strchr): Likewise. Do not use BP_SYM.
7706 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7708 (PARMS): Do not use macros from bp-asm.h.
7711 (__strchrnul): Likewise. Do not use BP_SYM.
7712 (strchrnul): Do not use BP_SYM in weak_alias.
7713 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7715 (PARMS): Do not use macros from bp-asm.h.
7717 (strcspn): Do not use BP_SYM.
7718 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7720 (PARMS): Do not use macros from bp-asm.h.
7723 (strpbrk): Likewise. Do not use BP_SYM.
7724 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7726 (PARMS): Do not use macros from bp-asm.h.
7729 (strrchr): Likewise. Do not use BP_SYM.
7730 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7731 (PARMS): Do not use macros from bp-asm.h.
7733 (strspn): Do not use BP_SYM.
7734 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7735 (PARMS): Do not use macros from bp-asm.h.
7739 (FUNCTION): Likewise. Do not use BP_SYM.
7740 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7742 (strtok_r): Likewise.
7743 (__GI___strtok_r): Likewise.
7744 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7745 (PARMS): Do not use macros from bp-asm.h.
7749 (__mpn_sub_n): Do not use BP_SYM.
7750 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7752 (PARMS): Do not use macros from bp-asm.h.
7755 (__mpn_submul_1): Do not use BP_SYM.
7756 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7758 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7760 (PARMS): Do not use macros from bp-asm.h.
7765 (__clone): Do not use BP_SYM.
7766 (clone): Do not use BP_SYM in weak_alias.
7767 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7769 (PARMS): Do not use macros from bp-asm.h.
7771 (__mmap64): Do not use BP_SYM.
7772 (mmap64): Do not use BP_SYM in weak_alias.
7773 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7774 <bp-sym.h> and <bp-asm.h>.
7775 (PARMS): Do not use macros from bp-asm.h.
7776 (__posix_fadvise64_l64): Do not use BP_SYM.
7777 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7778 (PARMS): Do not use macros from bp-asm.h.
7780 (semtimedop): Do not use BP_SYM.
7781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7784 2013-02-21 Allan McRae <allan@archlinux.org>
7786 * manual/message.texi (Charset conversion in gettext):
7787 Move @end statement to beginning of line.
7789 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7796 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7801 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7803 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7804 tail-call to the resolved function if pltexit isn't needed.
7806 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7809 or Y being zero as being unlikely.
7810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7813 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7815 * manual/nss.texi (System Databases and Name Service Switch):
7816 Remove frobnicate @pxref.
7818 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7820 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7821 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7823 2013-02-20 Petr Machata <pmachata@redhat.com>
7825 * elf/elf.h (R_ARM_TARGET1): New macro.
7826 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7827 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7828 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7829 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7830 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7831 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7832 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7833 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7834 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7835 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7836 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7837 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7838 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7839 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7840 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7841 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7842 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7843 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7844 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7845 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7846 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7847 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7848 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7849 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7850 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7851 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7852 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7853 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7854 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7855 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7856 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7857 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7858 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7859 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7860 (R_ARM_THM_GOT_BREL12): Likewise.
7861 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7862 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7863 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7864 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7865 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7866 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7867 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7868 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7869 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7871 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7873 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7874 __attribute_used__ to __attribute__ ((unused)).
7876 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7878 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7884 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7889 (ENTER): Remove both macro definitions.
7891 (CHECK_BOUNDS_LOW): Likewise.
7892 (CHECK_BOUNDS_HIGH): Likewise.
7893 (CHECK_BOUNDS_BOTH): Likewise.
7894 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7895 (RETURN_BOUNDED_POINTER): Likewise.
7896 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7897 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7898 (POP_ERRNO_LOCATION_RETURN): Likewise.
7899 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7900 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7901 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7903 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7904 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7905 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7906 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7907 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7908 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7909 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7910 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7911 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7912 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7913 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7914 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7915 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7916 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7918 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7919 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7921 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7922 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7923 * sysdeps/i386/i586/memset.S (memset): Likewise.
7924 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7925 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7926 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7928 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7929 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7930 Change uses of L(2) to L(out).
7931 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7932 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7933 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7934 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7935 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7937 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7938 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7940 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7941 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7942 (RETURN): Do not use macro LEAVE.
7943 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7944 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7945 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7946 * sysdeps/i386/i686/memset.S (memset): Likewise.
7947 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7948 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7949 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7950 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7952 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7953 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7954 L(1_2) and L(1_3) into L(1).
7955 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7956 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7957 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7958 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7959 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7960 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7961 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7962 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7963 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7965 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7966 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7967 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7968 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7969 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7970 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7971 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7972 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7973 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7974 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7975 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7976 * sysdeps/i386/strspn.S (strspn): Likewise.
7977 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7979 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7980 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7981 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7982 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7984 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7986 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7990 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7992 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7995 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7997 * math/atest-exp.c (exp_mpn): Remove ROUND.
7998 * math/atest-exp2.c (exp_mpn): Likewise.
7999 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8001 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8002 * stdlib/tst-tls-atexit-lib.c: Likewise.
8003 * stdlib/tst-tls-atexit.c: Likewise.
8005 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8007 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8008 and __attribute_alloc_size__.
8010 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8012 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8013 __attribute_alloc_size__.
8014 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8015 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8017 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8019 * include/programs/xmalloc.h: New file.
8020 * catgets/gencat.c: Include it.
8021 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8022 * elf/pldd.c: Likewise.
8023 * iconv/iconv_charmap.c: Likewise.
8024 * iconv/iconvconfig.c: Likewise.
8025 * iconv/strtab.c: Likewise.
8026 * locale/programs/locale.c: Likewise.
8027 * locale/programs/localedef.h: Likewise.
8028 * locale/programs/simple-hash.c: Likewise.
8029 * nscd/nscd.h: Likewise.
8030 * nss/makedb.c: Likewise.
8031 * sysdeps/generic/ldconfig.h: Likewise.
8033 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8035 * Versions.def: Add GLIBC_2.18.
8036 * include/link.h (struct link_map): New member l_tls_dtor_count.
8037 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8038 (__call_tls_dtors): Likewise.
8039 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8040 __cxa_thread_atexit_impl.
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8057 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8058 (tests): Add test case tst-tls-atexit.
8059 (modules-names): Add shared library for tst-tls-atexit.
8060 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8061 (GLIBC_PRIVATE): Add __call_tls_dtors.
8062 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8064 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8065 * stdlib/tst-tls-atexit.c: New test case.
8066 * stdlib/tst-tls-atexit-lib.c: New test case.
8068 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8070 * elf/Versions (ld): Add _dl_find_dso_for_object.
8071 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8072 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8073 (dl_open_worker): Use _dl_find_dso_for_object.
8074 * elf/dl-sym.c (do_sym): Likewise.
8075 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8077 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8079 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8080 Syntactic changes only.
8081 (_dl_runtime_profile): Do a tail-call to the resolved function.
8083 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8086 * sysdeps/x86_64/bp-asm.h: Remove file.
8087 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8088 <bp-sym.h> and <bp-asm.h>.
8089 (__clone): Do not use BP_SYM.
8090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8091 <bp-sym.h> and <bp-asm.h>.
8092 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8093 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8095 (_setjmp): Do not use BP_SYM.
8096 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8098 (setjmp): Do not use BP_SYM.
8099 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8101 (mempcpy): Do not use BP_SYM in weak_alias.
8102 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8104 (strchr): Do not use BP_SYM.
8105 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8107 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8108 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8109 (_start): Do not use BP_SYM.
8110 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8112 (strcat): Do not use BP_SYM.
8113 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8115 (STRCMP): Do not use BP_SYM.
8116 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8118 (STRCPY): Do not use BP_SYM.
8119 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8121 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8123 (FUNCTION): Do not use BP_SYM.
8124 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8126 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8128 2013-02-17 Andreas Jaeger <aj@suse.de>
8130 * time/Versions: Sort entries.
8131 * string/Versions: Likewise.
8132 * resolv/Versions: Likewise.
8133 * posix/Versions: Likewise.
8134 * iconv/Versions: Likewise.
8135 * elf/Versions: Likewise.
8136 * wcsmbs/Versions: Likewise.
8138 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8140 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8141 loop termination condition.
8143 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8144 variable to calculate EZ.
8147 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8148 the lower precision input.
8150 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8153 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8154 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8155 (run-via-rtld-prefix): Do not handle %-bp tests.
8156 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8157 (all-object-suffixes): Remove .ob.
8158 (bppfx): Remove variable.
8159 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8160 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8161 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8162 [$(build-bounded) = yes] (libtype.ob): Likewise.
8163 * Makerules (elide-routines.ob): Remove variable.
8164 (do-tests-clean): Do not handle *-bp.out.
8165 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8166 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8167 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8168 (tests): Do not include $(tests-bp.out).
8169 (xtests): Do not include $(xtests-bp.out).
8170 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8171 [$(build-bounded) = yes] ($(addprefix
8172 $(objpfx),$(binaries-bounded))): Remove rule.
8173 ($(objpfx)%-bp.out): Remove rule.
8174 * config.make.in (build-bounded): Remove variable.
8175 * crypt/Makefile [$(build-bounded) = yes]
8176 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8177 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8179 [$(build-bounded) = yes] (install-lib): Likewise.
8180 [$(build-bounded) = yes] (generated): Likewise.
8181 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8183 * intl/Makefile [$(build-bounded) = yes]
8184 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8185 * math/Makefile [$(build-bounded) = yes]
8186 ($(tests:%=$(objpfx)%-bp): Likewise.
8187 * misc/Makefile [$(build-bounded) = yes]
8188 ($(objpfx)tst-tsearch-bp): Likewise.
8189 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8190 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8192 * string/Makefile (o-objects.ob): Remove variable.
8193 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8194 (CFLAGS-.ob): Remove variable.
8195 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8196 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8197 both definitions of variable.
8198 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8199 (ASFLAGS-.ob): Remove variable.
8201 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8204 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8205 Remove __BOUNDED_POINTERS__ from condition.
8206 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8207 * string/bits/string2.h [!__NO_STRING_INLINES &&
8208 !__BOUNDED_POINTERS__]: Likewise.
8209 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8211 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8212 Remove conditional code.
8213 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8214 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8215 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8219 * csu/libc-start.c: Do not include <bp-sym.h>.
8220 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8221 * elf/dl-open.c: Do not include <bp-sym.h>.
8222 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8223 * math/fegetenv.c: Do not include <bp-sym.h>.
8224 (fegetenv): Do not use BP_SYM in versioned symbols.
8225 * nptl/sysdeps/pthread/bits/libc-lockP.h
8226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8229 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8231 (__pthread_mutex_destroy): Likewise.
8232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8233 (__pthread_mutex_lock): Likewise.
8234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8235 (__pthread_mutex_trylock): Likewise.
8236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8237 (__pthread_mutex_unlock): Likewise.
8238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8239 (__pthread_mutexattr_init): Likewise.
8240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8241 (__pthread_mutexattr_destroy): Likewise.
8242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8243 (__pthread_mutexattr_settype): Likewise.
8244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8245 (__pthread_rwlock_init): Likewise.
8246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8247 (__pthread_rwlock_destroy): Likewise.
8248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8249 (__pthread_rwlock_rdlock): Likewise.
8250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8251 (__pthread_rwlock_tryrdlock): Likewise.
8252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8253 (__pthread_rwlock_wrlock): Likewise.
8254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8255 (__pthread_rwlock_trywrlock): Likewise.
8256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8257 (__pthread_rwlock_unlock): Likewise.
8258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8259 (__pthread_key_create): Likewise.
8260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8261 (__pthread_setspecific): Likewise.
8262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8263 (__pthread_getspecific): Likewise.
8264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8267 (_pthread_cleanup_push_defer): Likewise.
8268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8269 (_pthread_cleanup_pop_restore): Likewise.
8270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8271 (pthread_setcancelstate): Likewise.
8272 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8274 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8275 (memchr): Do not use BP_SYM in weak_alias.
8276 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8277 (fegetenv): Do not use BP_SYM in versioned symbols.
8278 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8279 (fesetenv): Do not use BP_SYM in versioned symbols.
8280 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8281 (feupdateenv): Do not use BP_SYM in versioned symbols.
8282 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8283 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8284 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8285 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8286 (open64): Do not use BP_SYM in weak_alias.
8287 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8288 (fegetenv): Do not use BP_SYM in versioned symbols.
8289 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8290 (fesetenv): Do not use BP_SYM in versioned symbols.
8291 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8292 (feupdateenv): Do not use BP_SYM in versioned symbols.
8293 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8294 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8295 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8296 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8297 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8298 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8299 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8301 (__libc_start_main): Do not use BP_SYM.
8303 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8306 redundant return line.
8310 (sub_magnitudes): Likewise.
8316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8320 (sub_magnitudes): Likewise.
8327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8329 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8330 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8333 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8334 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8336 of __mul for squares.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8341 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8342 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8344 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8347 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8349 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8350 prototype or function definition. Rename ubp_* variables and
8351 parameters. Remove argv definitions conditional on
8352 [__BOUNDED_POINTERS__].
8353 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8354 * elf/dl-runtime.c (_dl_fixup): Likewise.
8355 * include/set-hooks.h (RUN_HOOK): Likewise.
8356 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8358 * string/strcpy.c (strcpy): Do not use __unbounded.
8359 * sysdeps/generic/frame.h (struct layout): Likewise.
8360 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8361 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8362 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8363 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8364 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8365 (__backtrace): Likewise.
8366 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8368 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8369 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8370 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8372 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8373 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8374 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8375 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8376 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8377 Do not use __unbounded.
8378 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8379 Rename __unboundedrlimits parameter to rlimits in prototype.
8380 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8381 Do not use __unbounded.
8382 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8384 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8385 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8386 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8387 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8388 __ptrvalue or __unbounded.
8389 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8390 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8392 (__new_msgctl): Do not use __ptrvalue.
8393 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8395 (__libc_msgrcv): Do not use __ptrvalue.
8396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8397 startup_info): Do not use __unbounded.
8398 (__libc_start_main): Likewise. Rename ubp_* variables and
8399 parameters. Remove argv definitions conditional on
8400 [__BOUNDED_POINTERS__].
8401 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8403 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8407 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8409 (__new_shmctl): Do not use __ptrvalue.
8410 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8411 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8413 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8414 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8415 (__libc_sigaction): Likewise.
8416 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8419 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8421 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8423 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8425 * string/mempcpy.c: Implement by calling memcpy.
8427 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8434 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8435 values in the mantissa.
8437 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8438 minimize writes to Z.
8439 (sub_magnitudes): Simplify code a bit.
8441 2013-02-12 Roland McGrath <roland@hack.frob.com>
8443 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8444 from the message. The linker prefixes all warnings with that already.
8446 2013-02-12 Andreas Schwab <schwab@suse.de>
8449 * posix/regexec.c (extend_buffers): Add parameter min_len.
8450 (check_matching): Pass minimum needed length.
8451 (clean_state_log_if_needed): Likewise.
8452 (get_subexp): Likewise.
8453 * posix/Makefile (tests): Add bug-regex34.
8454 (bug-regex34-ENV): Define.
8455 * posix/bug-regex34.c: New file.
8458 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8459 elements compare against the byte sequence of it, not its name.
8460 * posix/Makefile (tests): Add bug-regex35.
8461 (bug-regex35-ENV): Define.
8462 * posix/bug-regex35.c: New file.
8464 2013-02-11 Tom de Vries <tom@codesourcery.com>
8466 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8468 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8469 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8470 (CHECK_EOL): Add undef.
8472 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8474 * bits/stdlib-bsearch.h: New file.
8475 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8476 * stdlib/stdlib.h: Likewise.
8478 2013-02-11 Roland McGrath <roland@hack.frob.com>
8480 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8481 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8483 * manual/search.texi (Array Search Function): Add missing const in
8485 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8486 declaration to use rlim_t.
8487 (Basic Scheduling Functions): Remove erroneous const from
8488 sched_getparam prototype. Remove erroneous * from
8489 sched_get_priority_max and sched_get_priority_min prototypes.
8490 (Resource Usage): Fix summary @comment on vtimes to refer to
8491 sys/vtimes.h rather than vtimes.h.
8492 Add missing *s in vtimes prototype.
8493 (Limits on Resources): Fix ulimit prototype to return long int.
8494 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8495 prototypes to use long int rather than double.
8496 (BSD Random): Fix initstate and setstate to use char *, not void *.
8497 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8498 prototype to make second argument 'struct aiocb64 *const[]'.
8499 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8500 (Status of AIO Operations): Remove erroneous const in aio_return and
8501 aio_return64 prototypes.
8502 (Synchronizing I/O): Fix sync prototype to return void.
8503 * manual/startup.texi (Suboptions): Remove an erroneous const in
8504 getsubopt prototype.
8505 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8506 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8507 use size_t rather than int.
8508 (Scanning All Users): Likewise for getpwent_r.
8509 (Setting Groups): Add missing const to setgroups prototype.
8510 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8511 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8512 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8513 'const void *' rather than 'const char *'.
8514 (Host Address Functions): Likewise for inet_ntop.
8515 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8516 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8517 ssize_t for return value.
8518 (Sending Data): Likewise for send, sendto, sendmsg.
8519 (Socket Option Functions): Add a missing const in setsockopt prototype.
8520 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8521 use wchar_t for the argument.
8522 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8523 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8525 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8526 double/float/long double for second argument.
8527 Fix return types of significand, significandf, significandl.
8528 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8529 argument in fchmod prototype.
8530 (File Owner): Use uid_t and gid_t in fchown prototype.
8531 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8532 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8533 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8534 use 'const struct dirent **' as argument types to CMP function pointer
8536 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8537 (File Times): Fix summary magic @comment for struct utimbuf and utime
8538 to refer to utime.h, not time.h.
8539 * manual/string.texi (Argz Functions): Add missing const in
8540 argz_extract and argz_next prototypes.
8541 (Finding Tokens in a String): Likewise for basename.
8542 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8543 (Copying and Concatenation): Fix typo in wmemmove prototype.
8544 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8545 (Signal Stack): Remove erroneous const in sigstack prototype.
8546 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8548 (Simple Calendar Time): Likewise for stime.
8549 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8551 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8552 say sys/sysctl.h instead.
8553 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8554 and vsyslog prototypes.
8556 2013-02-11 Tom de Vries <tom@codesourcery.com>
8558 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8561 2013-02-11 Roland McGrath <roland@hack.frob.com>
8563 * misc/sys/mman.h: Fix typo in mremap comment.
8565 2013-02-08 Roland McGrath <roland@hack.frob.com>
8567 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8568 the '\0' terminator.
8570 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8573 * debug/segfault.c: Don't include <bp-checks.h>.
8574 * sysdeps/generic/bp-checks.h: Remove file.
8575 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8576 (__GETDENTS): Don't use CHECK_N.
8577 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8578 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8579 (__getgroups): Don't use CHECK_N.
8580 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8581 (setgroups): Don't use CHECK_N.
8582 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8583 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8584 (__libc_msgrcv): Don't use CHECK_N.
8585 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8586 (__libc_msgsnd): Don't use CHECK_N.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8589 (__libc_pread): Don't use CHECK_N.
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8591 include <bp-checks.h>.
8592 (__libc_pread64): Don't use CHECK_N.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8594 include <bp-checks.h>.
8595 (__libc_pwrite): Don't use CHECK_N.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8597 include <bp-checks.h>.
8598 (__libc_pwrite64): Don't use CHECK_N.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8601 (__libc_pread): Don't use CHECK_N.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8603 include <bp-checks.h>.
8604 (__libc_pread64): Don't use CHECK_N.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8606 include <bp-checks.h>.
8607 (__libc_pwrite): Don't use CHECK_N.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8609 include <bp-checks.h>.
8610 (__libc_pwrite64): Don't use CHECK_N.
8611 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8612 (do_pread): Don't use CHECK_N.
8613 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8614 (do_pread64): Don't use CHECK_N.
8615 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8616 (do_pwrite): Don't use CHECK_N.
8617 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8618 (do_pwrite64): Don't use CHECK_N.
8619 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8620 (__libc_readv): Don't use CHECK_N.
8621 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8622 (semop): Don't use CHECK_N.
8623 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8625 (semtimedop): Don't use CHECK_N.
8626 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8627 (__libc_pread): Don't use CHECK_N.
8628 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8630 (__libc_pread64): Don't use CHECK_N.
8631 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8633 (__libc_pwrite): Don't use CHECK_N.
8634 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8636 (__libc_pwrite64): Don't use CHECK_N.
8637 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8639 (__libc_msgrcv): Don't use CHECK_N.
8640 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8641 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8642 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8643 (__libc_writev): Don't use CHECK_N.
8645 2013-02-08 Roland McGrath <roland@hack.frob.com>
8647 * string/strcpy.c: Removed unused variable.
8649 * Makeconfig (+sysdep-includes): Define with := rather than =.
8650 Use an existing include/ subdir of each sysdeps dir before it.
8652 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8654 * nscd/connection.c (register_traced_file): Comment function.
8655 [HAVE_INOTIFY] (union __inev): Define.
8656 [HAVE_INOTIFY] (inotify_check_files): New function.
8657 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8658 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8660 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8662 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8664 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8665 loaded if not already and that a failure is permanent.
8667 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8670 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8671 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8673 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8676 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8677 (CHECK_1_NULL_OK): Likewise.
8678 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8679 (__fxstat): Do not use CHECK_1.
8680 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8682 (___fxstat64): Do not use CHECK_1.
8683 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8685 (__fxstatat): Do not use CHECK_1.
8686 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8688 (__fxstatat64): Do not use CHECK_1.
8689 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8691 (__fxstat): Do not use CHECK_1.
8692 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8694 (__fxstatat): Do not use CHECK_1.
8695 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8697 (__getresgid): Do not use CHECK_1.
8698 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8700 (__getresuid): Do not use CHECK_1.
8701 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8703 (__lxstat): Do not use CHECK_1.
8704 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8706 (__old_msgctl): Do not use CHECK_1.
8707 (__new_msgctl): Likewise.
8708 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8710 (__new_setrlimit): Do not use CHECK_1.
8711 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8713 (__old_shmctl): Do not use CHECK_1.
8714 (__new_shmctl): Likewise.
8715 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8717 (__xstat): Do not use CHECK_1.
8718 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8719 (__lxstat): Do not use CHECK_1.
8720 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8722 (___lxstat64): Do not use CHECK_1.
8723 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8724 (__old_msgctl): Do not use CHECK_1.
8725 (__new_msgctl): Likewise.
8726 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8728 (__gettimeofday): Do not use CHECK_1.
8729 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8730 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8731 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8733 (__gettimeofday): Do not use CHECK_1.
8734 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8735 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8736 (__new_shmctl): Do not use CHECK_1.
8737 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8739 (do_sigtimedwait): Do not use CHECK_1.
8740 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8742 (do_sigwaitinfo): Do not use CHECK_1.
8743 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8745 (msgctl): Do not use CHECK_1.
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8748 (shmctl): Do not use CHECK_1.
8749 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8750 (ustat): Do not use CHECK_1.
8751 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8753 (__fxstat): Do not use CHECK_1.
8754 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8756 (__fxstatat): Do not use CHECK_1.
8757 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8759 (__lxstat): Do not use CHECK_1.
8760 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8762 (__xstat): Do not use CHECK_1.
8763 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8764 (__xstat): Do not use CHECK_1.
8765 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8766 (___xstat64): Do not use CHECK_1.
8769 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8771 (CHECK_BOUNDS_HIGH): Likewise.
8772 * string/strcpy.c: Do not include <bp-checks.h>.
8773 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8775 2013-02-07 Roland McGrath <roland@hack.frob.com>
8777 * nscd/nscd-client.h (__nscd_drop_map_ref):
8778 Add __attribute__ ((unused)).
8779 * nis/nss-nisplus.h (niserr2nss): Likewise.
8781 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8782 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8784 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8785 Remove inline keyword.
8786 * include/rounding-mode.h (round_away): Likewise.
8787 * libio/wfileops.c (adjust_wide_data): Likewise.
8788 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8789 (__m128i_strloadu_tolower): Likewise.
8790 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8791 (__m128i_strloadu_tolower): Likewise.
8792 * time/mktime.c (ydhms_diff): Likewise.
8793 * locale/elem-hash.h (elem_hash): Likewise.
8794 * locale/setlocale.c (setdata): Likewise.
8795 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8796 (re_string_wchar_at): Likewise.
8797 (bitset_not, bitset_merge, bitset_mask): Likewise.
8798 [!(__GNUC__ > 3)] (inline): Remove macro.
8799 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8800 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8801 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8802 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8803 * string/memcmp.c (memcmp_bytes): Likewise.
8804 * locale/programs/locarchive.c (compute_hashval): Likewise.
8805 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8806 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8807 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8808 * nss/getent.c (print_rpc, print_protocols): Likewise.
8809 (print_passwd, print_group, print_aliases): Likewise.
8810 * nis/nss-nisplus.h (niserr2nss): Likewise.
8811 * nscd/connections.c (restart_p): Likewise.
8812 Change return type to bool.
8814 2013-02-05 Roland McGrath <roland@hack.frob.com>
8816 * Makeconfig (all-Depend-files): Add existing
8817 $(sorted-subdirs:=/Depend) files.
8818 (all-subdirs): Remove nss.
8819 * sysdeps/unix/inet/Subdirs: Add it here instead.
8820 * hesiod/Depend: New file.
8822 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8823 instead of calling alloca.
8825 * io/lseek.c (__lseek): Rename to __libc_lseek.
8826 Define __lseek as an alias.
8828 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8830 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8832 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8833 else clause and remove check for non-standard endianness.
8835 2013-02-04 David S. Miller <davem@davemloft.net>
8837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8839 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8842 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8843 (__ubp_memchr): Remove prototype.
8844 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8845 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8846 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8847 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8848 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8850 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8851 (__ubp_memchr): Likewise.
8852 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8853 (__ubp_memchr): Likewise.
8854 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8855 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8856 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8857 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8859 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8860 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8861 (__getcwd): Do not use CHECK_STRING.
8862 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8864 (__real_chown): Do not use CHECK_STRING.
8865 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8867 (fchownat): Do not use CHECK_STRING.
8868 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8870 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8872 (__lchown): Do not use CHECK_STRING.
8873 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8874 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8875 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8876 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8878 include <bp-checks.h>.
8879 (truncate64): Do not use CHECK_STRING.
8880 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8882 (__real_chown): Do not use CHECK_STRING.
8883 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8885 (__lchown): Do not use CHECK_STRING.
8886 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8888 (__chown): Do not use CHECK_STRING.
8889 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8891 (truncate64): Do not use CHECK_STRING.
8892 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8894 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8895 (__xmknod): Do not use CHECK_STRING.
8896 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8898 (__xmknodat): Do not use CHECK_STRING.
8899 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8900 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8902 2013-02-04 Andreas Schwab <schwab@suse.de>
8905 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8906 * include/netdb.h: Likewise for h_errno.
8907 * elf/tst-stackguard1.c: Include <tls.h>.
8909 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8911 * elf/link.h (struct link_map): Extend the l_addr comment.
8912 * include/link.h (struct link_map): Likewise.
8914 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8917 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8918 (BOUNDED_1): Remove macro.
8919 * debug/backtrace.c: Don't include <bp-checks.h>.
8920 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8921 (__backtrace): Likewise.
8922 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8924 (__backtrace): Don't use BOUNDED_1.
8925 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8927 (__backtrace): Don't use BOUNDED_1.
8928 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8929 (__backtrace): Don't use BOUNDED_1.
8930 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8931 (shmat): Don't use BOUNDED_N.
8933 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8936 * sysdeps/generic/bp-start.h: Remove file.
8937 * csu/libc-start.c: Don't include <bp-start.h>.
8938 (LIBC_START_MAIN): Set up __environ directly instead of using
8939 INIT_ARGV_and_ENVIRON.
8940 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8944 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8946 (CHECK_FCNTL): Likewise.
8947 (CHECK_N_PAGES): Likewise.
8950 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8952 (CHECK_SIGSET_NULL_OK): Likewise.
8953 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8955 (sigpending): Don't use CHECK_SIGSET.
8956 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8958 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8959 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8961 (do_sigsuspend): Don't use CHECK_SIGSET.
8962 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8964 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8965 (do_sigwait): Don't use CHECK_SIGSET.
8966 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8969 include <bp-checks.h>.
8970 (sigpending): Don't use CHECK_SIGSET.
8971 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8972 include <bp-checks.h>.
8973 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8974 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8976 (sigpending): Don't use CHECK_SIGSET.
8977 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8979 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8982 * sysdeps/generic/bp-semctl.h: Remove file.
8983 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8984 <bp-checks.h> and <bp-semctl.h>.
8985 (__old_semctl): Don't use CHECK_SEMCTL.
8986 (__new_semctl): Likewise.
8987 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8989 (__old_semctl): Don't use CHECK_SEMCTL.
8990 (__new_semctl): Likewise.
8991 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8992 <bp-checks.h> and <bp-semctl.h>.
8993 (__old_semctl): Don't use CHECK_SEMCTL.
8994 (__new_semctl): Likewise.
8995 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8996 <bp-checks.h> and <bp-semctl.h>.
8997 (semctl): Don't use CHECK_SEMCTL.
9000 * Makerules (elide-bp-thunks): Remove variable.
9001 (elide-routines.oS): Don't use $(elide-bp-thunks).
9002 (elide-routines.os): Likewise.
9003 (elide-routines.o): Likewise.
9004 (elide-routines.op): Likewise.
9005 (elide-routines.og): Likewise.
9006 (objects): Don't use $(bp-thunks).
9007 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9009 (common-generated): Do not add s-proto-bp.d.
9010 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9013 Do not generate makefile rules for bounded-pointer thunks.
9014 * sysdeps/generic/bp-thunks.h: Remove file.
9015 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9016 * sysdeps/unix/s-proto-bp.S: Likewise.
9019 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9020 parts of result separately when argument is not close to line from
9021 -i to i and one part of argument is small.
9022 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9023 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9024 * math/libm-test.inc (cacos_test): Add more tests.
9025 (casin_test): Likewise.
9026 (casinh_test): Likewise.
9027 * sysdeps/i386/fpu/libm-test-ulps: Update.
9028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9030 2013-01-31 David S. Miller <davem@davemloft.net>
9032 * po/de.po: Update from translation team.
9034 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9036 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9038 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9040 * configure.in (_AC_PROG_CC_C89): New definition.
9041 * configure: Regenerate.
9043 * configure.in (AC_PROG_CPP): New definition.
9044 * configure: Regenerate.
9046 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9048 * debug/tst-backtrace.h: New file.
9049 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9050 (ret): Remove variable.
9052 (FAIL): Remove macro.
9053 (NO_INLINE): Likewise.
9054 (fn1): Use match function instead of strstr.
9055 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9056 (ret): Remove variable.
9058 (FAIL): Remove macro.
9059 (NO_INLINE): Likewise.
9060 (fn): Use match function instead of strstr.
9061 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9062 (ret): Remove variable.
9064 (FAIL): Remove macro.
9065 (NO_INLINE): Likewise.
9066 (handle_signal): Use match function instead of strstr.
9067 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9068 (ret): Remove variable.
9070 (FAIL): Remove macro.
9071 (NO_INLINE): Likewise.
9072 (handle_signal): Use match function instead of strstr.
9074 2013-01-23 Roland McGrath <roland@hack.frob.com>
9076 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9078 2013-01-23 David S. Miller <davem@davemloft.net>
9080 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9081 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9082 argument of CAS if possible.
9083 * sysdeps/sparc/sparc64/bits/atomic.h
9084 (__arch_compare_and_exchange_val_32_acq): Likewise.
9085 (__arch_compare_and_exchange_val_64_acq): Likewise.
9087 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9089 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9090 * sysdeps/posix/ulimit.c: ... this.
9092 * sysdeps/unix/bsd/ulimit.c: Remove file.
9094 2013-01-23 Adam Conrad <adconrad@0c3.net>
9096 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9097 (LDFLAGS-tst-array5): Likewise.
9099 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9102 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9103 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9104 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9105 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9107 2013-01-21 David S. Miller <davem@davemloft.net>
9109 * sysdeps/sparc/backtrace.c: New file.
9110 * sysdeps/sparc/sparc32/backtrace.h: New file.
9111 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9112 * sysdeps/sparc/sparc64/backtrace.h: New file.
9113 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9114 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9117 2013-01-21 Andreas Schwab <schwab@suse.de>
9120 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9123 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9129 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9130 Mark Mitchell <mark@codesourcery.com>
9131 Tom de Vries <tom@codesourcery.com>
9132 Paul Pluzhnikov <ppluzhnikov@google.com>
9134 * debug/tst-backtrace2.c: New file.
9135 * debug/tst-backtrace3.c: Likewise.
9136 * debug/tst-backtrace4.c: Likewise.
9137 * debug/tst-backtrace5.c: Likewise.
9138 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9139 (CFLAGS-tst-backtrace3.c): Likewise.
9140 (CFLAGS-tst-backtrace4.c): Likewise.
9141 (CFLAGS-tst-backtrace5.c): Likewise.
9142 (LDFLAGS-tst-backtrace2): Likewise.
9143 (LDFLAGS-tst-backtrace3): Likewise.
9144 (LDFLAGS-tst-backtrace4): Likewise.
9145 (LDFLAGS-tst-backtrace5): Likewise.
9146 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9147 tst-backtrace4 and tst-backtrace5.
9149 2013-01-18 Anton Blanchard <anton@samba.org>
9150 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9152 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9153 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9154 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9155 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9157 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9158 "+r" and remove output regs list as redundant. Add explicit inline
9159 asm to specify register of return val to work around compiler codegen
9160 bug. Remove (int) cast on return value. Add return type parameter to
9161 use in macro so that this macro does not truncate return value for
9163 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9164 pass to INTERNAL_VSYSCALL_NCS.
9165 (INLINE_VSYSCALL): Add 'long int' as return type to
9166 INTERNAL_VSYSCALL_NCS macro invocation.
9167 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9168 INTERNAL_VSYSCALL_NCS macro invocation.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9171 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9174 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9175 Fix application of SIMD FP exception mask.
9177 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9178 mp_no from a power of two.
9179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9180 __mpexp_twomm1. Use __pow_mp.
9182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9185 2013-01-17 David S. Miller <davem@davemloft.net>
9187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9189 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9192 * include/complex.h: Condition contents on [!_COMPLEX_H].
9193 (__kernel_casinhf): New prototype.
9194 (__kernel_casinh): Likewise.
9195 (__kernel_casinhl): Likewise.
9196 * math/Makefile (libm_calls): Add k_casinh.
9197 * math/k_casinh.c: New file.
9198 * math/k_casinhf.c: Likewise.
9199 * math/k_casinhl.c: Likewise.
9200 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9201 finite nonzero arguments.
9202 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9203 finite nonzero arguments.
9204 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9205 finite nonzero arguments.
9206 * math/s_casinh.c: Do not include <float.h>.
9207 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9208 * math/s_casinhf.c: Do not include <float.h>.
9209 (__casinhf): Move code for finite nonzero arguments to
9211 * math/s_casinhl.c: Do not include <float.h>.
9212 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9214 (__casinhl): Move code for finite nonzero arguments to
9216 * math/libm-test.inc (cacos_test): Add more tests.
9217 * sysdeps/i386/fpu/libm-test-ulps: Update.
9218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9220 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9222 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9223 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9224 [!HAVE_MREMAP]: Remove [defined linux] case.
9225 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9227 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9229 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9231 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9233 * elf/elf.h (R_386_SIZE32): New relocation.
9234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9236 (elf_machine_rela): Likewise.
9237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9238 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9240 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9242 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9243 (FP_FAST_FMA): Do not define.
9244 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9245 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9246 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9247 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9248 !_SOFT_FLOAT]: Likewise.
9249 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9250 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9252 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9253 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9255 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9256 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9257 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9260 2013-01-16 Andreas Schwab <schwab@suse.de>
9263 * include/stdlib.h (__mktemp): Add declaration.
9264 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9265 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9267 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9269 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9271 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9272 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9273 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9275 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9276 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9278 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9280 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9281 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9282 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9284 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9285 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9287 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9289 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9291 2013-01-15 David S. Miller <davem@davemloft.net>
9293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9294 trunc{,f} to libm-sysdep_routes.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9305 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9306 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9309 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9310 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9313 nearbyint{,f} to libm-sysdep_routes.
9314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9327 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9328 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9330 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9331 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9332 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9334 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9335 libc_feholdexcept and libc_fesetenv.
9337 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9339 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9341 2013-01-14 David S. Miller <davem@davemloft.net>
9343 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9344 (SPARC_ASM_VIS2_IFUNC): Likewise.
9345 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9347 use of 'siam' instruction.
9348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9381 routines to libm-sysdep_routines.
9382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9385 fdim/fdimf to libm-sysdep_routines.
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9394 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9395 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9396 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9397 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9399 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9401 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9404 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9409 local variable MPTWO.
9410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9413 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9415 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9418 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9420 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9422 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9424 * manual/pattern.texi (glob_t): Document gl_flags.
9425 (glob64_t): Likewise.
9427 2013-01-11 David S. Miller <davem@davemloft.net>
9429 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9430 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9431 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9432 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9433 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9434 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9435 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9436 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9437 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9438 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9439 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9440 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9441 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9443 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9444 sparc V9 rather than using V8 code.
9445 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9446 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9450 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9453 2013-01-11 Roland McGrath <roland@hack.frob.com>
9455 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9456 not in the main loop.
9457 * configure: Regenerated.
9459 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9461 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9462 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9464 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9465 [!__GLIBC_HAVE_LONG_LONG] case.
9466 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9467 condition to just #else.
9468 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9469 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9470 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9471 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9473 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9474 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9475 #elif condition to just #else.
9476 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9477 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9478 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9479 #elif condition to just #else.
9481 2013-01-11 Steve Ellcey <sellcey@mips.com>
9483 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9484 (EF_MIPS_ARCH_64): Fix value.
9485 (EF_MIPS_ARCH_32R2): New.
9486 (EF_MIPS_ARCH_64R2): New.
9488 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9490 * Makeconfig (+link-pie-before-libc): New.
9491 (+link-pie-after-libc): Likewise.
9492 (+link-pie-tests): Likewise.
9493 (+link-pie): Rewritten.
9494 (link-before-libc): Remove $(config-LDFLAGS).
9495 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9496 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9497 (config-LDFLAGS): Renamed to ...
9498 (rtld-LDFLAGS): This.
9499 (rtld-tests-LDFLAGS): New macro.
9500 (link-libc-rpath-link): Likewise.
9501 (link-libc-tests-rpath-link): Likewise.
9502 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9503 (link-libc): Prepand $(link-libc-rpath-link).
9504 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9505 (test-program-prefix): New macro.
9506 (test-via-rtld-prefix): Likewise.
9507 (test-program-cmd): Likewise.
9508 (host-test-program-cmd): Likewise.
9509 * Makefile ($(common-objpfx)testrun.sh): Replace
9510 $(run-program-prefix) with $(test-program-prefix).
9511 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9513 ($(common-objpfx)shlib.lds): Likewise.
9514 (build-module-helper): Likewise.
9515 ($(common-objpfx)format.lds): Likewise.
9516 * Rules (binaries-pie-tests): New.
9517 (binaries-pie-notests): Likewise.
9518 (binaries-pie): Rewritten.
9519 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9520 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9521 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9522 (make-test-out): Replace $(host-built-program-cmd) with
9523 $(host-test-program-cmd).
9524 * config.make.in (build-hardcoded-path-in-tests): New variable.
9525 * configure.in (--enable-hardcoded-path-in-tests): New configure
9527 (hardcoded_path_in_tests): New AC_SUBST.
9528 * configure: Regenerated.
9529 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9530 $(built-program-cmd) with $(test-program-cmd).
9531 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9532 (test_program_cmd): This.
9533 * elf/Makefile ($(objpfx)order.out): Run test with
9534 $(test-program-prefix).
9535 ($(objpfx)order2.out): Likewise.
9536 ($(objpfx)tst-initorder.out): Likewise.
9537 ($(objpfx)tst-initorder2.out): Likewise.
9538 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9539 $(test-program-cmd).
9540 ($(objpfx)tst-array1-static.out): Likewise.
9541 ($(objpfx)tst-array2.out): Likewise.
9542 ($(objpfx)tst-array3.out): Likewise.
9543 ($(objpfx)tst-array4.out): Likewise.
9544 ($(objpfx)tst-array5.out): Likewise.
9545 ($(objpfx)tst-array5-static.out): Likewise.
9546 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9547 $(test-program-cmd).
9548 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9549 $(run-program-prefix) with $(test-program-prefix).
9550 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9551 (test_program_prefix): This.
9552 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9553 $(run-program-prefix) with $(test-program-prefix).
9554 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9555 (test_program_prefix): This.
9556 * iconvdata/tst-tables.sh: Likewise.
9557 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9558 $(run-program-prefix) with $(test-program-prefix).
9559 ($(objpfx)tst-translit.out): Likewise.
9560 ($(objpfx)tst-gettext2.out): Likewise.
9561 ($(objpfx)tst-gettext4.out): Likewise.
9562 ($(objpfx)tst-gettext6.out): Likewise.
9563 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9564 (test_program_prefix): This.
9565 * intl/tst-gettext2.sh: Likewise.
9566 * intl/tst-gettext4.sh Likewise.
9567 * intl/tst-gettext6.sh: Likewise.
9568 * intl/tst-translit.sh: Likewise.
9569 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9570 with $(test-program-cmd).
9571 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9572 $(run-program-prefix) with $(test-program-prefix).
9573 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9574 (test_program_prefix): This.
9575 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9576 $(run-program-prefix) with $(test-program-prefix).
9577 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9578 (test_program_prefix): This.
9579 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9580 * posix/Makefile ($(objpfx)globtest.out): Replace
9581 $(run-via-rtld-prefix) and $(test-wrapper) with
9582 $(test-program-prefix) and $(test-via-rtld-prefix).
9583 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9584 $(test-program-prefix).
9585 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9586 $(host-test-program-cmd).
9587 (tst-spawn-ARGS): Likewise.
9588 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9589 $(test-program-prefix).
9590 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9591 (test_via_rtld_prefix): This.
9592 (test_wrapper): Renamed to ...
9593 (test_program_prefix): This.
9594 (run_program_prefix): Replaced by test_program_prefix.
9595 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9596 (test_program_prefix): This.
9597 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9598 with $(host-test-program-cmd).
9599 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9600 $(run-program-prefix) with $(test-program-prefix).
9601 ($(objpfx)tst-printf.out): Likewise.
9602 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9603 $(test-program-cmd).
9604 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9605 (test_program_prefix): This.
9606 * stdio-common/tst-unbputc.sh: Likewise.
9607 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9608 $(run-program-prefix) with $(test-program-prefix).
9609 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9610 (test_program_prefix): This.
9611 * string/Makefile ($(objpfx)tst-svc.out): Replace
9612 $(built-program-cmd) with $(test-program-cmd).
9614 2013-01-11 Andreas Jaeger <aj@suse.de>
9617 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9618 value. Sync with Linux 3.7.
9620 2013-01-10 David S. Miller <davem@davemloft.net>
9622 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9626 2013-01-10 Roland McGrath <roland@hack.frob.com>
9628 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9630 * configure: Regenerated.
9632 2013-01-10 David S. Miller <davem@davemloft.net>
9634 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9635 sparc V9 rather than using V8 code.
9636 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9637 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9639 2013-01-10 Roland McGrath <roland@hack.frob.com>
9641 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9642 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9643 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9644 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9645 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9646 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9647 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9648 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9649 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9650 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9651 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9652 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9653 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9654 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9655 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9656 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9657 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9658 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9659 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9660 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9661 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9662 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9663 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9664 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9665 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9666 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9667 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9669 2013-01-10 David S. Miller <davem@davemloft.net>
9671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9673 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9675 * posix/Makefile (tests-static): New variable.
9676 (tests): Add $(tests-static).
9677 (tst-exec-static-ARGS): New variable.
9678 (tst-spawn-static-ARGS): Likewise.
9679 * posix/tst-exec-static.c: New file.
9680 * posix/tst-spawn-static.c: Likewise.
9681 * posix/tst-exec.c: Support run directly.
9682 * posix/tst-spawn.c: Likewise.
9684 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9686 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9688 * math/bits/mathcalls.h (llrint): Likewise.
9689 (llround): Likewise.
9690 * stdlib/stdlib.h (struct drand48_data): Likewise.
9691 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9692 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9695 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9697 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9698 (elf_greg_t): Likewise.
9699 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9700 (__jmp_buf): Likewise.
9701 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9703 (llrint): Likewise, for all definitions.
9704 (llrintl): Likewise.
9706 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9707 Remove [__GNUC__] condition.
9708 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9709 condition to just [__USE_ISOC99].
9710 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9712 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9715 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9716 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9718 (_POSIX_V6_ILP32_OFF32): Likewise.
9719 (_XBS5_ILP32_OFF32): Likewise.
9720 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9721 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9723 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9725 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9728 doubles __mpexp_twomm1. Adjust usage.
9729 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9732 2013-01-10 Andreas Schwab <schwab@suse.de>
9735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9736 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9738 2013-01-09 David S. Miller <davem@davemloft.net>
9741 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9742 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9743 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9744 TCP_FASTOPEN): Define.
9745 (tcp_repair_opt): New structure.
9746 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9748 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9749 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9750 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9751 (tcp_cookie_transactions): New structure.
9753 2013-01-09 Anton Blanchard <anton@samba.org>
9755 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9756 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9757 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9758 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9760 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9762 * include/features.h (__USE_ANSI): Remove.
9764 2013-01-09 Roland McGrath <roland@hack.frob.com>
9766 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9768 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9770 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9772 * sysdeps/s390/fpu/libm-test-ulps: Update.
9774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9776 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9781 (__mp_dbl): Likewise.
9782 (__dbl_mp): Likewise.
9783 (add_magnitudes): Likewise.
9784 (sub_magnitudes): Likewise.
9790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9795 (__mp_dbl): Likewise.
9796 (__dbl_mp): Likewise.
9797 (add_magnitudes): Likewise.
9798 (sub_magnitudes): Likewise.
9804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9809 (__mp_dbl): Likewise.
9810 (__dbl_mp): Likewise.
9811 (add_magnitudes): Likewise.
9812 (sub_magnitudes): Likewise.
9819 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9821 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9822 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9823 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9824 2 && __USE_EXTERN_INLINES]: Likewise.
9826 2013-01-08 Andreas Jaeger <aj@suse.de>
9829 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9831 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9832 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9834 2013-01-07 Anton Blanchard <anton@samba.org>
9836 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9837 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9838 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9839 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9840 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9842 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9843 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9845 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9846 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9847 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9851 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9852 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9854 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9855 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9856 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9857 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9858 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9859 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9860 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9861 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9863 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9865 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9866 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9869 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9870 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9871 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9872 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9874 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9875 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9878 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9880 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9882 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9883 (__MALLOC_PMT): Likewise.
9884 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9885 [__GNUC__], only on [_LIBC].
9886 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9887 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9888 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9889 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9890 forward declaration.
9891 (realloc_hook_ini): Likewise.
9892 (memalign_hook_ini): Likewise.
9893 (__libc_memalign): Do not use __MALLOC_PMT in variable
9895 (__libc_valloc): Likewise.
9896 (__libc_pvalloc): Likewise.
9897 (__libc_calloc): Likewise.
9898 (__posix_memalign): Likewise.
9901 * math/s_casinh.c: Include <float.h>.
9902 (__casinh): Do not do computation with squaring and square root
9903 for large arguments.
9904 * math/s_casinhf.c: Include <float.h>.
9905 (__casinhf): Do not do computation with squaring and square root
9906 for large arguments.
9907 * math/s_casinhl.c: Include <float.h>.
9908 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9909 (__casinhl): Do not do computation with squaring and square root
9910 for large arguments.
9911 * math/libm-test.inc (casin_test): Add more tests.
9912 (casinh_test): Likewise.
9913 * sysdeps/i386/fpu/libm-test-ulps: Update.
9914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9916 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9918 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9919 (__x86_64_raw_data_cache_size): Likewise.
9920 (__x86_64_data_cache_size_half): Likewise.
9921 (__x86_64_raw_data_cache_size_half): Likewise.
9922 (__x86_64_shared_cache_size): Likewise.
9923 (__x86_64_raw_shared_cache_size): Likewise.
9924 (__x86_64_shared_cache_size_half): Likewise.
9925 (__x86_64_raw_shared_cache_size_half): Likewise.
9926 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9928 (__x86_data_cache_size): This.
9929 (__x86_64_raw_data_cache_size): Renamed to ...
9930 (__x86_raw_data_cache_size): This.
9931 (__x86_64_data_cache_size_half): Renamed to ...
9932 (__x86_data_cache_size_half): This.
9933 (__x86_64_raw_data_cache_size_half): Renamed to ...
9934 (__x86_raw_data_cache_size_half): This.
9935 (__x86_64_shared_cache_size): Renamed to ...
9936 (__x86_shared_cache_size): This.
9937 (__x86_64_raw_shared_cache_size): Renamed to ...
9938 (__x86_raw_shared_cache_size): This.
9939 (__x86_64_shared_cache_size_half): Renamed to ...
9940 (__x86_shared_cache_size_half): This.
9941 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9942 (__x86_raw_shared_cache_size_half): This.
9943 * sysdeps/x86_64/memcpy.S: Updated.
9944 * sysdeps/x86_64/memset.S: Likewise.
9945 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9947 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9949 2013-01-04 David S. Miller <davem@davemloft.net>
9951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9953 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9955 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9956 1 to avoid redefinition warning.
9957 (__USE_GNU): Don't define.
9958 (init_signaling_nan): Protoize.
9960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9962 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9964 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9966 (__cpymn): Likewise.
9967 (norm): Remove commented code.
9969 (__mp_dbl): Likewise.
9971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9972 (__cpymn): Likewise.
9973 (norm): Remove commented code.
9975 (__mp_dbl): Likewise.
9978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9979 mp_no value for 1.0 and 2.0.
9980 (norm): Use RADIXI instead of radixi.d.
9982 (__mul): Use 0.0 instead of zero.d.
9983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9984 mp_no value for 1.0 and 2.0.
9985 (norm): Use RADIXI instead of radixi.d.
9987 (__mul): Use 0.0 instead of zero.d.
9989 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9992 * math/s_casinh.c (__casinh): Reduce finite argument to first
9993 quadrant then set signs of results at the end.
9994 * math/s_casinhf.c (__casinhf): Likewise.
9995 * math/s_casinhl.c (__casinhl): Likewise.
9996 * math/libm-test.inc (casin_test): Add more tests.
9997 (casinh_test): Likewise.
9998 * sysdeps/i386/fpu/libm-test-ulps: Update.
9999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10001 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10003 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10005 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10007 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10009 (denorm): Likewise.
10010 (__mp_dbl): Likewise.
10013 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10014 and adjust the header comment.
10016 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10017 variable name from declaration.
10019 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10022 Initialize COMMON_CPUID_INDEX_7 element.
10023 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10024 (CPUID_RTM): Likewise.
10025 (HAS_RTM): Likewise.
10026 (COMMON_CPUID_INDEX_7): New enum.
10028 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10031 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10032 size is zero, record memory as freed.
10034 2013-01-03 Andreas Jaeger <aj@suse.de>
10036 * po/ia.po: Add new Interlingua translation.
10038 2012-01-03 Allan McRae <allan@archlinux.org>
10040 * locale/programs/localedef.c: Fix description of '--posix' flag.
10042 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10044 * NEWS: Update dates in second copyright notice.
10045 * README: Update copyright dates in example.
10046 * manual/libc.texinfo: Update copyright dates.
10047 * scripts/test-installation.pl: Update copyright date in --version
10050 * hurd/ctty-input.c: Fix copyright notice formatting.
10051 * hurd/ctty-output.c: Likewise.
10052 * hurd/dtable.c: Likewise.
10053 * hurd/hurd-raise.c: Likewise.
10054 * hurd/hurdprio.c: Likewise.
10055 * hurd/msgportdemux.c: Likewise.
10056 * misc/sys/file.h: Likewise.
10057 * misc/sys/ioctl.h: Likewise.
10058 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10059 * sysdeps/mach/hurd/chdir.c: Likewise.
10060 * sysdeps/mach/hurd/fchdir.c: Likewise.
10061 * sysdeps/mach/hurd/rename.c: Likewise.
10062 * sysdeps/mach/hurd/rmdir.c: Likewise.
10063 * sysdeps/mach/hurd/seekdir.c: Likewise.
10064 * sysdeps/mach/hurd/setsid.c: Likewise.
10065 * sysdeps/posix/wait3.c: Likewise.
10067 * All files with FSF copyright notices: Update copyright dates
10068 using scripts/update-copyrights.
10069 * intl/plural.c: Regenerated.
10070 * locale/programs/charmap-kw.h: Likewise.
10071 * locale/programs/locfile-kw.h: Likewise.
10073 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10075 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10078 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10079 calculation loop and add branch prediction.
10081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10082 check access beyond bounds of m1np.
10084 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10086 (__inv): Remove local variable MPTWO to use the global
10088 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10092 MP3HALFS static const.
10094 2013-01-01 David S. Miller <davem@davemloft.net>
10096 * po/ca.po: Update from translation team.
10098 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10100 * scripts/update-copyrights: New file.
10101 * Makeconfig: Reformat copyright notice.
10102 * ctype/ctype.h: Likewise.
10103 * debug/swprintf_chk.c: Likewise.
10104 * elf/dl-cache.c: Likewise.
10105 * elf/dl-debug.c: Likewise.
10106 * elf/dl-object.c: Likewise.
10107 * grp/initgroups.c: Likewise.
10108 * hurd/Makefile: Likewise.
10109 * hurd/hurd/signal.h: Likewise.
10110 * hurd/hurdfault.c: Likewise.
10111 * hurd/hurdioctl.c: Likewise.
10112 * hurd/hurdlookup.c: Likewise.
10113 * hurd/intr-msg.c: Likewise.
10114 * iconv/gconv_open.c: Likewise.
10115 * libio/swprintf.c: Likewise.
10116 * locale/lc-ctype.c: Likewise.
10117 * locale/nl_langinfo.c: Likewise.
10118 * mach/Machrules: Likewise.
10119 * mach/Makefile: Likewise.
10120 * malloc/obstack.h: Likewise.
10121 * manual/Makefile: Likewise.
10122 * manual/tsort.awk: Likewise.
10123 * misc/bits/stab.def: Likewise.
10124 * nis/nis_print_group_entry.c: Likewise.
10125 * nis/nis_table.c: Likewise.
10126 * nis/nss_compat/compat-pwd.c: Likewise.
10127 * nis/nss_compat/compat-spwd.c: Likewise.
10128 * po/Makefile: Likewise.
10129 * posix/fnmatch.c: Likewise.
10130 * posix/regex.h: Likewise.
10131 * resolv/Makefile: Likewise.
10132 * resolv/nss_dns/dns-network.c: Likewise.
10133 * resolv/res_hconf.c: Likewise.
10134 * scripts/gen-sorted.awk: Likewise.
10135 * soft-fp/soft-fp.h: Likewise.
10136 * stdio-common/printf.h: Likewise.
10137 * stdlib/monetary.h: Likewise.
10138 * stdlib/random.c: Likewise.
10139 * stdlib/random_r.c: Likewise.
10140 * sysdeps/generic/Makefile: Likewise.
10141 * sysdeps/gnu/Makefile: Likewise.
10142 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10170 * sysdeps/mach/hurd/errnos.awk: Likewise.
10171 * sysdeps/mach/hurd/fork.c: Likewise.
10172 * sysdeps/mach/hurd/getcwd.c: Likewise.
10173 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10174 * sysdeps/mach/hurd/mmap.c: Likewise.
10175 * sysdeps/mach/hurd/utimes.c: Likewise.
10176 * sysdeps/mach/hurd/xmknod.c: Likewise.
10177 * sysdeps/posix/profil.c: Likewise.
10178 * sysdeps/posix/readdir_r.c: Likewise.
10179 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10180 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10181 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10182 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10186 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10188 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10189 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10190 * sysdeps/pthread/lio_listio.c: Likewise.
10191 * sysdeps/sparc/dl-procinfo.h: Likewise.
10192 * sysdeps/unix/i386/sysdep.S: Likewise.
10193 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10194 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10195 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10196 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10198 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10199 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10200 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10201 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10202 * sysdeps/wordsize-32/divdi3.c: Likewise.
10203 * time/sys/time.h: Likewise.
10204 * wcsmbs/Makefile: Likewise.
10206 2013-01-01 David S. Miller <davem@davemloft.net>
10208 * po/fr.po: Update from translation team.
10210 * catgets/gencat.c: Update copyright year.
10211 * csu/version.c: Likewise.
10212 * debug/catchsegv.sh: Likewise.
10213 * debug/pcprofiledump.c: Likewise.
10214 * debug/xtrace.sh: Likewise.
10215 * elf/ldconfig.c: Likewise.
10216 * elf/ldd.bash.in: Likewise.
10217 * elf/pldd.c: Likewise.
10218 * elf/sotruss.ksh: Likewise.
10219 * elf/sprof.c: Likewise.
10220 * iconv/iconv_prog.c: Likewise.
10221 * iconv/iconvconfig.c: Likewise.
10222 * locale/programs/locale.c: Likewise.
10223 * locale/programs/localedef.c: Likewise.
10224 * login/programs/pt_chown.c: Likewise.
10225 * malloc/memusage.sh: Likewise.
10226 * malloc/memusagestat.c: Likewise.
10227 * malloc/mtrace.pl: Likewise.
10228 * nscd/nscd.c: Likewise.
10229 * nss/getent.c: Likewise.
10230 * nss/makedb.c: Likewise.
10231 * posix/getconf.c: Likewise.
10233 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10235 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10238 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10240 * math/bits/mathcalls.h (modf): Use __nonnull.
10242 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10244 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10245 (split): Use macro CN instead of the bare value.
10246 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10249 instead of the bare value.
10250 (power1): Likewise.
10252 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10254 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10256 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10258 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10260 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10261 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10262 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10263 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10265 2012-12-28 Andreas Jaeger <aj@suse.de>
10267 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10268 values are from Linux 3.7.
10270 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10271 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10273 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10275 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10278 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10280 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10281 variables with preprocessor constants.
10282 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10283 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10284 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10286 2012-12-27 Bruno Haible <bruno@clisp.org>
10289 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10292 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10295 and use variable directly.
10296 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10298 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10300 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10301 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10303 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10305 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10306 include directive. Remove local variable MPONE.
10307 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10308 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10309 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10311 2012-12-25 David S. Miller <davem@davemloft.net>
10313 * version.h (RELEASE): Set to "development".
10314 (VERSION): Set to "2.17.90".
10315 * NEWS: Add 2.18 section.
10317 2012-12-21 David S. Miller <davem@davemloft.net>
10319 * po/hr.po: Update from translation team.
10321 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10323 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10325 2012-12-19 Steve Ellcey <sellcey@mips.com>
10327 * NEWS: Mention new memcpy for MIPS.
10329 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10331 * manual/contrib.texi (Contributors): Spelling correction.
10333 2012-12-15 David S. Miller <davem@davemloft.net>
10335 * po/ru.po: Update from translation team.
10337 2012-12-13 David S. Miller <davem@davemloft.net>
10339 * NEWS: Mention IFUNC testsuite enhancements.
10341 * po/pl.po: Update from translation team.
10342 * po/bg.po: Likewise.
10344 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10345 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10347 2012-12-11 David S. Miller <davem@davemloft.net>
10349 * po/sv.po: Update from translation team.
10351 * po/vi.po: Update from translation team.
10353 * po/cs.po: Update from translation team.
10355 * po/de.po: Update from translation team.
10356 * po/eo.po: Likewise.
10357 * po/nl.po: Likewise.
10359 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10362 * manual/argp.texi (Argp Helper Functions): Move node to follow
10363 Argp Parsing State.
10366 * manual/conf.texi (Limits on File System Capacity): Mention if
10367 terminating null is included in the max size.
10369 2012-12-10 Andreas Jaeger <aj@suse.de>
10371 * po/cs.po: Update from translation team.
10373 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10375 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10376 void pointer and cast to uintptr_t.
10377 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10379 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10380 * sysdeps/s390/s390-64/memset.S: Likewise.
10382 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10385 * menual/message.texi (Message Translation): Fix typos.
10386 (Helper programs for gettext): Likewise.
10388 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10391 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10394 2012-12-07 David S. Miller <davem@davemloft.net>
10396 * po/libc.pot: Update.
10398 2012-12-07 Richard Henderson <rth@redhat.com>
10401 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10402 normal/normal case to before the switch.
10403 (_FP_DIV): Likewise.
10405 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10406 Mike Frysinger <vapier@gentoo.org>
10408 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10409 check for __NR_fadvise64_64.
10411 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10413 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10414 0, not just to plain "0" as a statement.
10415 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10418 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10420 * NEWS: Use sourceware.org in Bugzilla URL.
10422 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10425 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10427 * stdio-common/tst-put-error.c (do_test): Add newline to the
10428 padded test to ensure flush.
10430 2012-12-05 Jeff Law <law@redhat.com>
10432 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10434 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10436 * README: Don't refer to ports add-on as distributed separately.
10437 Mention AArch64 in list of systems supported in the ports add-on.
10439 * LICENSES: Add more non-FSF copyright and license notices.
10441 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10444 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10446 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10447 10000 as width of padded output.
10449 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10451 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10453 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10454 variable LX with __attribute__ ((unused)).
10455 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10457 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10460 with __attribute__ ((unused)).
10462 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10464 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10466 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10468 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10469 (CFLAGS-nldbl-acos.c): New variable.
10470 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10471 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10472 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10473 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10474 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10475 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10476 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10477 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10478 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10479 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10480 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10481 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10482 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10483 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10484 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10485 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10486 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10487 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10488 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10489 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10490 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10491 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10492 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10493 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10494 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10495 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10496 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10497 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10498 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10499 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10500 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10501 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10502 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10503 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10504 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10505 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10506 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10507 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10508 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10509 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10510 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10511 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10512 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10513 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10514 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10515 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10516 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10517 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10518 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10519 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10520 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10521 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10522 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10523 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10524 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10525 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10526 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10527 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10528 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10529 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10530 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10531 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10532 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10533 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10534 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10536 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10537 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10538 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10539 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10540 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10541 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10542 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10543 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10544 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10545 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10546 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10547 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10548 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10549 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10550 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10551 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10552 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10553 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10554 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10555 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10556 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10557 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10558 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10559 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10560 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10561 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10562 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10563 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10564 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10565 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10566 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10569 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10573 whole low double instead of just low 47 bits when splitting values
10576 2012-12-03 Allan McRae <allan@archlinux.org>
10578 * manual/stdio.texi (Predefined Printf Handlers): Remove
10579 @hsep and @vsep usage.
10581 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10583 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10584 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10586 2012-12-03 Jeff Law <law@redhat.com>
10588 * time/sys/time.h (settimeofday): Do not mark TV argument
10591 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10593 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10594 when currently writing and seek to current position when not.
10595 * libio/Makefile (tests): Remove bug-fclose1.
10596 * libio/bug-fclose1.c: Delete.
10598 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10600 * manual/arith.texi (feenableexcept): Fix typo.
10601 (fedisableexcept): Likewise.
10603 2012-11-30 Roland McGrath <roland@hack.frob.com>
10605 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10606 second, differently-typed declaration, rather than a cast.
10608 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10610 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10611 * include/rpc/svc.h: ... here.
10613 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10616 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10617 depending n and resplen2 to catch cases where answer
10620 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10622 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10623 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10625 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10627 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10629 2012-11-29 Roland McGrath <roland@hack.frob.com>
10631 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10633 2012-11-28 Jeff Law <law@redhat.com>
10636 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10637 dataset_temporary. Track alloca usage into alloca_used.
10638 If dataset is large allocate and release it via malloc/free.
10640 2012-06-04 Florian Weimer <fweimer@redhat.com>
10643 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10645 2012-11-28 David S. Miller <davem@davemloft.net>
10647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10649 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10652 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10653 of pi/2 rounded to nearest to 64 bits.
10654 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10655 nearest to 64 bits.
10656 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10659 2012-11-28 Jeff Law <law@redhat.com>
10660 Martin Osvald <mosvald@redhat.com>
10663 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10664 * sunrpc/svc.c: Include time.h.
10665 (__svc_accept_failed): New function.
10666 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10667 any reason other than EINTR, call __svc_accept_failed.
10668 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10669 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10671 2012-11-28 Andreas Schwab <schwab@suse.de>
10673 * scripts/abilist.awk: Also handle indirect functions in .opd
10676 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10679 * sysdeps/x86/fpu/powl_helper.c: New file.
10680 * sysdeps/x86/fpu/Makefile: Likewise.
10681 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10683 (__ieee754_powl): Use __powl_helper for finite arguments except
10684 integer exponents below 8.
10685 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10687 (__ieee754_powl): Use __powl_helper for finite arguments except
10688 integer exponents below 8.
10689 * math/libm-test.inc (pow_test): Add more tests and enable some
10690 previously disabled tests.
10691 * sysdeps/i386/fpu/libm-test-ulps: Update.
10692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10694 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10695 Carlos O'Donell <carlos_odonell@mentor.com>
10697 * nss/makedb.c (is_prime): Assert that input is odd and greater
10698 than 4. Note that fact in a comment too.
10699 (next_prime): Add 4 to input.
10701 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10704 * libio/Makefile (tests): Add test case tst-fwrite-error.
10705 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10706 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10707 * libio/tst-fwrite-error.c: New test case.
10709 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10711 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10712 before casting to void *.
10713 * include/libc-internal.h (__pointer_type): New macro.
10714 (__integer_if_pointer_type_sub): Likewise.
10715 (__integer_if_pointer_type): Likewise.
10716 (cast_to_integer): Likewise.
10717 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10718 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10719 before casting to atomic64_t.
10720 (atomic_exchange_acq): Likewise.
10721 (__arch_exchange_and_add_body): Likewise.
10722 (__arch_add_body): Likewise.
10723 (atomic_add_negative): Likewise.
10724 (atomic_add_zero): Likewise.
10726 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10728 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10729 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10730 (add_fdes): Likewise.
10731 (linear_search_fdes): Likewise.
10732 (binary_search_unencoded_fdes): Likewise.
10734 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10736 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10738 2012-11-24 Adam Conrad <adconrad@0c3.net>
10740 * configure.in: Autodetect C++ header directories.
10741 * configure: Regenerated.
10743 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10745 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10747 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10751 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10753 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10754 LDBL_MANT_DIG == 106]: Disable some tests.
10755 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10757 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10762 input for small inputs. Return +/- pi/2 for large inputs.
10763 * math/libm-test.inc (atan_test): Add more tests.
10765 * sysdeps/generic/unwind-dw2-fde-glibc.c
10766 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10767 __attribute__ ((unused)).
10770 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10771 x * y if x and y are nonzero and z is zero.
10774 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10775 nonzero exponents with absolute value below 0x1p-117 to +/-
10779 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10780 up arguments below 2**-450, not just those below 2**-500.
10781 * math/libm-test.inc (hypot_test): Add another test.
10784 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10785 Return a+b for ratio over 2**120, not 2**60.
10786 * math/libm-test.inc (hypot_test): Add another test.
10788 * math/libm-test.inc (clog_test): Use
10789 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10790 (clog10_test): Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10795 2012-11-22 Andreas Schwab <schwab@suse.de>
10797 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10801 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10802 printf output with newline.
10804 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10807 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10808 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10809 -z nodlopen, -z initfirst and -z execstack support.
10810 * configure: Regenerated.
10812 * elf/elf.h (DF_1_NODIRECT): New macro.
10813 (DF_1_IGNMULDEF): Likewise.
10814 (DF_1_NOKSYMS): Likewise.
10815 (DF_1_NOHDR): Likewise.
10816 (DF_1_EDITED): Likewise.
10817 (DF_1_NORELOC): Likewise.
10818 (DF_1_SYMINTPOSE): Likewise.
10819 (DF_1_GLOBAUDIT): Likewise.
10820 (DF_1_SINGLETON): Likewise.
10821 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10822 DT_1_SUPPORTED_MASK bits.
10823 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10825 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10827 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10829 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10831 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10834 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10835 (sendmmsg): Move declarations...
10836 * socket/sys/socket.h: ... here.
10837 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10838 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10840 * socket/recvmmsg.c: ... this new file.
10841 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10842 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10843 definition of __sendmmsg hidden.
10844 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10845 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10846 Move ENOSYS stub into and include it from...
10847 * socket/sendmmsg.c: ... this new file.
10848 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10849 (sysdep_routines): Move recvmmsg and sendmmsg...
10850 * socket/Makefile (routines): ... here.
10851 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10852 (GLIBC_PRIVATE): Add __sendmmsg.
10853 * include/sys/socket.h (__sendmmsg): Add declarations.
10854 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10857 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10860 variable I1 with __attribute__ ((unused)).
10861 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10863 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10865 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10866 DUMMY variables with __attribute__ ((unused)).
10868 * bits/byteswap.h: Include <bits/types.h>.
10869 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10871 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10873 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10874 string_t. Do not manually set errno.
10875 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10876 length with __strnlen. Make sure to both set errno and return it on
10879 2012-11-19 David S. Miller <davem@davemloft.net>
10881 With help from Joseph Myers.
10882 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10883 very large arguments properly.
10884 * math/libm-test.inc (atan_test): New tests.
10885 (atan2_test): New tests.
10886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10889 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10892 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10895 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10896 [POSIX] (EADDRNOTAVAIL): Likewise.
10897 [POSIX] (EAFNOSUPPORT): Likewise.
10898 [POSIX] (EALREADY): Likewise.
10899 [POSIX] (ECONNABORTED): Likewise.
10900 [POSIX] (ECONNREFUSED): Likewise.
10901 [POSIX] (ECONNRESET): Likewise.
10902 [POSIX] (EDESTADDRREQ): Likewise.
10903 [POSIX] (EDQUOT): Likewise.
10904 [POSIX] (EHOSTUNREACH): Likewise.
10905 [POSIX] (EIDRM): Likewise.
10906 [POSIX] (EISCONN): Likewise.
10907 [POSIX] (ELOOP): Likewise.
10908 [POSIX] (EMULTIHOP): Likewise.
10909 [POSIX] (ENETDOWN): Likewise.
10910 [POSIX] (ENETUNREACH): Likewise.
10911 [POSIX] (ENOBUFS): Likewise.
10912 [POSIX] (ENODATA): Likewise.
10913 [POSIX] (ENOLINK): Likewise.
10914 [POSIX] (ENOMSG): Likewise.
10915 [POSIX] (ENOPROTOOPT): Likewise.
10916 [POSIX] (ENOSR): Likewise.
10917 [POSIX] (ENOSTR): Likewise.
10918 [POSIX] (ENOTCONN): Likewise.
10919 [POSIX] (ENOTSOCK): Likewise.
10920 [POSIX] (EOPNOTSUPP): Likewise.
10921 [POSIX] (EOVERFLOW): Likewise.
10922 [POSIX] (EPROTO): Likewise.
10923 [POSIX] (EPROTONOSUPPORT): Likewise.
10924 [POSIX] (EPROTOTYPE): Likewise.
10925 [POSIX] (ESTALE): Likewise.
10926 [POSIX] (ETIME): Likewise.
10927 [POSIX] (ETXTBSY): Likewise.
10928 [POSIX] (EWOULDBLOCK): Likewise.
10929 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10930 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10931 [POSIX] (SEEK_CUR): Likewise.
10932 [POSIX] (SEEK_END): Likewise.
10933 [POSIX || UNIX98] (mode_t): Do not require.
10934 [POSIX] (off_t): Likewise.
10935 [POSIX] (pid_t): Likewise.
10936 [POSIX] (sys/stat.h): Do not allow header.
10937 [POSIX] (unistd.h): Likewise.
10938 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10939 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10940 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10941 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10943 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10944 sigevent): Specify elements.
10945 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10947 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10948 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10950 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10951 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10952 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10953 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10954 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10955 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10956 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10957 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10958 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10959 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10960 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10961 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10962 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10963 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10965 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10971 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10972 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10973 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10974 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10975 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10976 Specify lower bound on value.
10977 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10978 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10979 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10983 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10984 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10986 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10988 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10993 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10994 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10995 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10996 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10997 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10998 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11001 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11005 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11007 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11008 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11010 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11011 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11012 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11014 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11015 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11016 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11019 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11020 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11022 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11023 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11026 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11027 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11028 specify as optional.
11029 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11030 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11031 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11032 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11033 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11034 [XPG3] (NL_LANGMAX): Likewise.
11035 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11036 [POSIX || XPG3] (NL_NMAX): Likewise.
11037 [POSIX || XPG3] (NL_SETMAX): Likewise.
11038 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11039 [XPG3] (NZERO): Likewise.
11040 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11041 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11042 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11043 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11044 (REG_ERANGE): Expect.
11045 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11047 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11048 Use (void) in prototype.
11049 [POSIX] (*_t): Allow.
11050 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11051 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11052 (WRDE_BADVAL): Expect.
11054 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11056 [XPG3 || XPG4] (O_RSYNC): Likewise.
11057 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11059 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11060 [XPG3 || XPG4] (sigqueue): Likewise.
11061 [XPG3 || XPG4] (sigtimedwait): Likewise.
11062 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11063 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11064 [XPG3 || XPG4] (vsnprintf): Likewise.
11065 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11067 [XPG3 || XPG4] (blksize_t): Likewise.
11068 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11070 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11071 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11072 [XPG3 || XPG4] (struct itimerspec): Likewise.
11073 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11074 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11075 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11076 [XPG3 || XPG4] (clockid_t): Likewise.
11077 [XPG3 || XPG4] (timer_t): Likewise.
11078 [XPG3 || XPG4] (clock_getres): Likewise.
11079 [XPG3 || XPG4] (clock_gettime): Likewise.
11080 [XPG3 || XPG4] (clock_settime): Likewise.
11081 [XPG3 || XPG4] (nanosleep): Likewise.
11082 [XPG3 || XPG4] (timer_create): Likewise.
11083 [XPG3 || XPG4] (timer_delete): Likewise.
11084 [XPG3 || XPG4] (timer_gettime): Likewise.
11085 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11086 [XPG3 || XPG4] (timer_settime): Likewise.
11087 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11088 [XPG3 || XPG4] (getlogin_r): Likewise.
11089 [XPG3 || XPG4] (pread): Likewise.
11090 [XPG3 || XPG4] (pthread_atfork): Likewise.
11091 [XPG3 || XPG4] (pwrite): Likewise.
11094 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11097 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11099 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11100 finalizing MALLSTREAM.
11102 * sysdeps/mach/hurd/syncfs.c: New file.
11104 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11108 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11109 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11110 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11111 (_nss_dns_gethostbyname4_r): Likewise.
11112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11113 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11115 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11118 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11120 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11122 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11123 * elf/cache.c (print_entry): Print ",AArch64" for
11126 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11127 * elf/cache.c (print_entry): Print ",hard-float" for
11130 2012-11-18 David S. Miller <davem@davemloft.net>
11132 With help from Joseph Myers.
11133 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11135 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11137 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11138 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11140 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11141 * math/libm-test.inc (y0_test): New tests.
11142 (y1_test): New tests.
11143 * sysdeps/i386/fpu/libm-test-ulps: Update.
11144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11147 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11149 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11151 * configure: Regenerated.
11153 2012-11-17 David S. Miller <davem@davemloft.net>
11156 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11157 nonzero exponents with absolute value below 0x1p-128 to +/-
11160 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11162 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11164 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11166 * posix/getconf-speclist.c: New file.
11167 * posix/posix-envs.def: Likewise.
11168 * posix/confstr.c (START_ENV_GROUP): New macro.
11169 (END_ENV_GROUP): Likewise.
11170 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11171 (KNOWN_PRESENT_ENV_STRING): Likewise.
11172 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11173 (UNKNOWN_ENVIRONMENT): Likewise.
11174 (confstr): Include posix-envs.def instead of handling
11175 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11176 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11177 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11178 (END_ENV_GROUP): Likewise.
11179 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11180 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11181 (UNKNOWN_ENVIRONMENT): Likewise.
11182 (__sysconf): Include posix-envs.def instead of handling associated
11183 cases directly here.
11184 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11185 preprocessing getconf-speclist.c rather than running getconf or
11186 generating empty file.
11188 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11190 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11192 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11195 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11197 2012-11-16 David S. Miller <davem@davemloft.net>
11199 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11200 smaller than LDBL_EPSILON/2.0L, just return xm1.
11202 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11204 * elf/tst-array1.c (init): Set constructor priority to 1000.
11205 (fini): Set destructor priority to 1000.
11206 * elf/tst-array2dep.c: Likewise.
11208 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11211 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11212 (_IO_new_file_xsputn): Also return EOF if none of the input
11213 data was written when overflow failed.
11214 * libio/iopadn.c (_IO_padn): Likewise.
11215 * libio/iowpadn.c (_IO_wpadn): Likewise.
11216 * stdio-common/tst-put-error.c: Add copyright notice.
11217 (do_test): Add case for printing padded string.
11218 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11219 _IO_padn returned error.
11220 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11221 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11224 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11226 * libio/libioP.h: Add comment note that the references to C++
11227 bits are now obsolete.
11229 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11231 * math/libm-test.inc (check_complex): Use asprintf.
11233 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11235 * debug/pcprofiledump.c (print_version): Update copyright year.
11236 * malloc/memusagestat.c (print_version): Likewise.
11238 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11241 * elf/Makefile (tests): Add tst-audit8.
11242 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11243 ($(objpfx)tst-audit8.out): New target.
11244 (tst-audit8-ENV): New variable.
11245 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11246 audit if l_reloc_result is NULL.
11247 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11248 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11249 * elf/tst-audit8.c: New file.
11251 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11253 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11254 * misc/Makefile (CFLAGS-select.c): Define.
11255 * posix/Makefile (CFLAGS-pause.c): Define.
11257 2012-11-13 David S. Miller <davem@davemloft.net>
11259 * crypt/Makefile: Move test targets after toplevel Rules
11260 inclusion. Grab any necessary sysdep routines when linking.
11261 * crypt/md5.c (md5_process_block): Remove define, we will always
11262 name it __md5_process_block.
11263 (md5_finish_ctx): Update md5_process_block call.
11264 (md5_stream): Likewise.
11265 (md5_process_bytes): Likewise.
11266 (md5_process_block): Rename to __md5_process_block and move to ...
11267 * crypt/md5-block.c: ... here.
11268 * crypt/sha256.c (sha256_process_block): Move to ...
11269 * crypt/sha256-block.c: ... here.
11270 * crypt/sha512.c (sha512_process_block): Move to ...
11271 * crypt/sha512-block.c: ... here.
11272 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11274 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11275 * sysdeps/sparc/sparc64/multiarch/Makefile
11276 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11278 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11281 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11282 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11283 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11284 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11285 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11286 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11287 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11288 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11289 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11291 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11292 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11294 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11296 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11298 * timezone/tzselect.ksh: Update from tzcode git revision
11299 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11300 * timezone/zdump.c: Likewise.
11301 * timezone/zic.c: Likewise.
11302 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11303 in TZVERSION setting, not $(PKGVERSION).
11304 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11305 REPORT_BUGS_TO settings.
11308 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11311 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11313 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11314 detection to immediately after _FP_ROUND().
11315 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11318 2012-11-11 David S. Miller <davem@davemloft.net>
11320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11322 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11323 __close rather than their public counterparts.
11325 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11327 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11329 [UNIX98] (sem_timedwait): Do not expect.
11330 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11331 [XPG4 || UNIX98] (sockatmark): Do not expect.
11332 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11333 (clock_getcpuclockid): Do not expect.
11334 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11335 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11337 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11338 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11339 [UNIX98] (vwscanf): Likewise.
11340 [UNIX98] (vswscanf): Likewise.
11342 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11344 * timezone/version.h: Remove file.
11345 * timezone/README: Do not refer to version.h.
11346 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11347 $(objpfx)version.h.
11348 ($(objpfx)zdump.o): Likewise.
11349 ($(objpfx)version.h): New target.
11351 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11353 * timezone/README: Don't mention modification to tzselect.ksh.
11354 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11355 work on unmodified tzselect.ksh. Substitute version numbers in
11358 * Makefile (format-me): Remove.
11359 (INSTALL): Adjust indentation. Use commands directly instead of
11360 using $(format-me).
11362 * aclocal.m4 (ACX_PKGVERSION): New macro.
11363 (ACX_BUGURL): Likewise.
11364 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11365 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11366 (REPORT_BUGS_TO): Likewise.
11367 * configure: Regenerated.
11368 * config.h.in (PKGVERSION): New macro.
11369 (REPORT_BUGS_TO): Likewise.
11370 * config.make.in (PKGVERSION): New variable.
11371 (PKGVERSION_TEXI): Likewise.
11372 (REPORT_BUGS_TO): Likewise.
11373 (REPORT_BUGS_TEXI): Likewise.
11374 * Makefile (format-me): Use -I$(common-objpfx)manual.
11375 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11376 ($(common-objpfx)manual/%): New target.
11377 (manual/%): Remove target.
11378 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11379 (print_version): Use PKGVERSION.
11380 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11381 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11382 and REPORT_BUGS_TO.
11383 ($(objpfx)xtrace): Likewise.
11384 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11385 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11386 (print_version): Use PKGVERSION.
11387 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11388 (do_version): Use PKGVERSION.
11389 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11391 (common-ldd-rewrite): Likewise.
11392 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11393 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11394 (print_version): Use PKGVERSION.
11395 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11396 * elf/pldd.c (argp_program_bug_address): Remove variable.
11397 (more_help): New function.
11398 (argp): Use more_help.
11399 (print_version): Use PKGVERSION.
11400 * elf/sln.c (main): Use PKGVERSION.
11401 (usage): Use REPORT_BUGS_TO.
11402 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11403 (top level): Use PKGVERSION.
11404 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11405 (print_version): Use PKGVERSION.
11406 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11407 (print_version): Use PKGVERSION.
11408 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11409 (print_version): Use PKGVERSION.
11410 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11411 (print_version): Use PKGVERSION.
11412 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11413 (print_version): Use PKGVERSION.
11414 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11415 (print_version): Use PKGVERSION.
11416 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11418 ($(objpfx)memusage): Likewise.
11419 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11420 (do_version): Use PKGVERSION.
11421 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11422 (print_version): Use PKGVERSION.
11423 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11424 ($PKGVERSION): New variable.
11425 ($REPORT_BUGS_TO): Likewise.
11426 (usage): Use $REPORT_BUGS_TO.
11427 (top level): Use $PKGVERSION.
11428 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11429 ($(objpfx)pkgvers.texi): New rule.
11430 ($(objpfx)stamp-pkgvers): Likewise.
11431 * manual/install.texi: Include pkgvers.texi.
11432 (--with-pkgversion): Document new configure option.
11433 (--with-bugurl): Likewise.
11434 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11435 than necessarily for this particular distribution. Use
11436 REPORT_BUGS_TO for where to report bugs.
11437 * INSTALL: Regenerated.
11438 * manual/libc.texinfo: Include pkgvers.texi.
11439 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11440 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11441 (print_version): Use PKGVERSION.
11442 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11443 (print_version): Use PKGVERSION.
11444 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11445 (print_version): Use PKGVERSION.
11446 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11447 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11449 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11450 (print_version): Use PKGVERSION.
11451 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11452 (print_version): Use PKGVERSION.
11453 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11456 * timezone/checktab.awk: Update from tzcode 2012i.
11457 * timezone/ialloc.c: Likewise.
11458 * timezone/private.h: Likewise.
11459 * timezone/scheck.c: Likewise.
11460 * timezone/tzfile.h: Likewise.
11461 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11462 (TZVERSION): Hardcode tzcode version number.
11463 * timezone/zdump.c: Update from tzcode 2012i.
11464 * timezone/zic.c: Likewise.
11465 * timezone/version.h: New file.
11466 * timezone/README: Describe version.h. Update upstream location.
11469 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11470 (mktemp): Enable declaration.
11471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11488 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11489 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11490 for copies of such integer values.
11491 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11492 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11494 2012-11-09 Andreas Jaeger <aj@suse.de>
11496 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11497 definitions and declarations that are provided by
11498 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11500 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11502 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11503 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11504 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11507 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11509 * elf/elf.h: Update comment before AArch64 relocations.
11511 2012-11-07 David S. Miller <davem@davemloft.net>
11513 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11514 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11515 (__start_context): Declare.
11516 (__makecontext_ret): Delete.
11517 (__makecontext): Hook up __start_context instead of
11519 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11520 (sysdep_routines): Add __start_context when in stdlib.
11522 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11524 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11525 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11526 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11528 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11529 (READELF): New variable. Use it instead of hardcoded "readelf".
11531 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11533 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11534 * sysdeps/x86/Makefile: Here.
11535 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11536 * sysdeps/x86/tst-xmmymm.sh: This.
11538 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11540 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11542 [UNIX98] (pthread_barrier_t): Do not expect.
11543 [UNIX98] (pthread_barrierattr_t): Likewise.
11544 [UNIX98] (pthread_spinlock_t): Likewise.
11545 [UNIX98] (pthread_barrier_destroy): Likewise.
11546 [UNIX98] (pthread_barrier_init): Likewise.
11547 [UNIX98] (pthread_barrier_wait): Likewise.
11548 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11549 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11550 [UNIX98] (pthread_barrierattr_init): Likewise.
11551 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11552 [UNIX98] (pthread_getcpuclockid): Likewise.
11553 [UNIX98] (pthread_mutex_timedlock): Likewise.
11554 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11555 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11556 [UNIX98] (pthread_sigmask): Likewise.
11557 [UNIX98] (pthread_spin_destroy): Likewise.
11558 [UNIX98] (pthread_spin_init): Likewise.
11559 [UNIX98] (pthread_spin_lock): Likewise.
11560 [UNIX98] (pthread_spin_trylock): Likewise.
11561 [UNIX98] (pthread_spin_unlock): Likewise.
11562 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11564 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11565 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11566 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11567 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11568 [XPG3 || XPG4] (pthread_key_t): Likewise.
11569 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11570 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11571 [XPG3 || XPG4] (pthread_once_t): Likewise.
11572 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11573 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11574 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11575 [XPG3 || XPG4] (pthread_t): Likewise.
11577 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11579 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11581 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11582 Change function return type to int.
11584 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11585 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11586 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11587 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11588 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11589 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11590 [!POSIX] (posix_madvise): Likewise.
11591 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11593 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11594 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11595 (mode_t): Likewise.
11596 (posix_mem_offset): Likewise.
11597 (posix_typed_mem_get_info): Likewise.
11598 (posix_typed_mem_open): Likewise.
11600 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11601 Change condition to [XOPEN2K8].
11603 * conform/conformtest.pl: Preprocess allow-header data with -x c
11604 instead of from stdin.
11605 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11606 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11607 [C99-based standards] (cerfc): Likewise.
11608 [C99-based standards] (cexp2): Likewise.
11609 [C99-based standards] (cexpm1): Likewise.
11610 [C99-based standards] (clog10): Likewise.
11611 [C99-based standards] (clog1p): Likewise.
11612 [C99-based standards] (clog2): Likewise.
11613 [C99-based standards] (clgamma): Likewise.
11614 [C99-based standards] (ctgamma): Likewise.
11615 [C99-based standards] (cerff): Likewise.
11616 [C99-based standards] (cerfcf): Likewise.
11617 [C99-based standards] (cexp2f): Likewise.
11618 [C99-based standards] (cexpm1f): Likewise.
11619 [C99-based standards] (clog10f): Likewise.
11620 [C99-based standards] (clog1pf): Likewise.
11621 [C99-based standards] (clog2f): Likewise.
11622 [C99-based standards] (clgammaf): Likewise.
11623 [C99-based standards] (ctgammaf): Likewise.
11624 [C99-based standards] (cerfl): Likewise.
11625 [C99-based standards] (cerfcl): Likewise.
11626 [C99-based standards] (cexp2l): Likewise.
11627 [C99-based standards] (cexpm1l): Likewise.
11628 [C99-based standards] (clog10l): Likewise.
11629 [C99-based standards] (clog1pl): Likewise.
11630 [C99-based standards] (clog2l): Likewise.
11631 [C99-based standards] (clgammal): Likewise.
11632 [C99-based standards] (ctgammal): Likewise.
11633 * conform/data/inttypes.h-data [C99-based standards]: Include
11634 stdint.h-data. Remove all expectations for stdint.h contents.
11635 [C99-based standards] (PRI*): Do not allow.
11636 [C99-based standards] (SCN*): Likewise.
11637 [C99-based standards] (*_t): Likewise.
11638 [C99-based-standards] (PRId8): Expect macro.
11639 [C99-based-standards] (PRIi8): Likewise.
11640 [C99-based-standards] (PRIo8): Likewise.
11641 [C99-based-standards] (PRIu8): Likewise.
11642 [C99-based-standards] (PRIx8): Likewise.
11643 [C99-based-standards] (PRIX8): Likewise.
11644 [C99-based-standards] (SCNd8): Likewise.
11645 [C99-based-standards] (SCNi8): Likewise.
11646 [C99-based-standards] (SCNo8): Likewise.
11647 [C99-based-standards] (SCNu8): Likewise.
11648 [C99-based-standards] (SCNx8): Likewise.
11649 [C99-based-standards] (PRIdLEAST8): Likewise.
11650 [C99-based-standards] (PRIiLEAST8): Likewise.
11651 [C99-based-standards] (PRIoLEAST8): Likewise.
11652 [C99-based-standards] (PRIuLEAST8): Likewise.
11653 [C99-based-standards] (PRIxLEAST8): Likewise.
11654 [C99-based-standards] (PRIXLEAST8): Likewise.
11655 [C99-based-standards] (SCNdLEAST8): Likewise.
11656 [C99-based-standards] (SCNiLEAST8): Likewise.
11657 [C99-based-standards] (SCNoLEAST8): Likewise.
11658 [C99-based-standards] (SCNuLEAST8): Likewise.
11659 [C99-based-standards] (SCNxLEAST8): Likewise.
11660 [C99-based-standards] (PRIdFAST8): Likewise.
11661 [C99-based-standards] (PRIiFAST8): Likewise.
11662 [C99-based-standards] (PRIoFAST8): Likewise.
11663 [C99-based-standards] (PRIuFAST8): Likewise.
11664 [C99-based-standards] (PRIxFAST8): Likewise.
11665 [C99-based-standards] (PRIXFAST8): Likewise.
11666 [C99-based-standards] (SCNdFAST8): Likewise.
11667 [C99-based-standards] (SCNiFAST8): Likewise.
11668 [C99-based-standards] (SCNoFAST8): Likewise.
11669 [C99-based-standards] (SCNuFAST8): Likewise.
11670 [C99-based-standards] (SCNxFAST8): Likewise.
11671 [C99-based-standards] (PRId16): Likewise.
11672 [C99-based-standards] (PRIi16): Likewise.
11673 [C99-based-standards] (PRIo16): Likewise.
11674 [C99-based-standards] (PRIu16): Likewise.
11675 [C99-based-standards] (PRIx16): Likewise.
11676 [C99-based-standards] (PRIX16): Likewise.
11677 [C99-based-standards] (SCNd16): Likewise.
11678 [C99-based-standards] (SCNi16): Likewise.
11679 [C99-based-standards] (SCNo16): Likewise.
11680 [C99-based-standards] (SCNu16): Likewise.
11681 [C99-based-standards] (SCNx16): Likewise.
11682 [C99-based-standards] (PRIdLEAST16): Likewise.
11683 [C99-based-standards] (PRIiLEAST16): Likewise.
11684 [C99-based-standards] (PRIoLEAST16): Likewise.
11685 [C99-based-standards] (PRIuLEAST16): Likewise.
11686 [C99-based-standards] (PRIxLEAST16): Likewise.
11687 [C99-based-standards] (PRIXLEAST16): Likewise.
11688 [C99-based-standards] (SCNdLEAST16): Likewise.
11689 [C99-based-standards] (SCNiLEAST16): Likewise.
11690 [C99-based-standards] (SCNoLEAST16): Likewise.
11691 [C99-based-standards] (SCNuLEAST16): Likewise.
11692 [C99-based-standards] (SCNxLEAST16): Likewise.
11693 [C99-based-standards] (PRIdFAST16): Likewise.
11694 [C99-based-standards] (PRIiFAST16): Likewise.
11695 [C99-based-standards] (PRIoFAST16): Likewise.
11696 [C99-based-standards] (PRIuFAST16): Likewise.
11697 [C99-based-standards] (PRIxFAST16): Likewise.
11698 [C99-based-standards] (PRIXFAST16): Likewise.
11699 [C99-based-standards] (SCNdFAST16): Likewise.
11700 [C99-based-standards] (SCNiFAST16): Likewise.
11701 [C99-based-standards] (SCNoFAST16): Likewise.
11702 [C99-based-standards] (SCNuFAST16): Likewise.
11703 [C99-based-standards] (SCNxFAST16): Likewise.
11704 [C99-based-standards] (PRId32): Likewise.
11705 [C99-based-standards] (PRIi32): Likewise.
11706 [C99-based-standards] (PRIo32): Likewise.
11707 [C99-based-standards] (PRIu32): Likewise.
11708 [C99-based-standards] (PRIx32): Likewise.
11709 [C99-based-standards] (PRIX32): Likewise.
11710 [C99-based-standards] (SCNd32): Likewise.
11711 [C99-based-standards] (SCNi32): Likewise.
11712 [C99-based-standards] (SCNo32): Likewise.
11713 [C99-based-standards] (SCNu32): Likewise.
11714 [C99-based-standards] (SCNx32): Likewise.
11715 [C99-based-standards] (PRIdLEAST32): Likewise.
11716 [C99-based-standards] (PRIiLEAST32): Likewise.
11717 [C99-based-standards] (PRIoLEAST32): Likewise.
11718 [C99-based-standards] (PRIuLEAST32): Likewise.
11719 [C99-based-standards] (PRIxLEAST32): Likewise.
11720 [C99-based-standards] (PRIXLEAST32): Likewise.
11721 [C99-based-standards] (SCNdLEAST32): Likewise.
11722 [C99-based-standards] (SCNiLEAST32): Likewise.
11723 [C99-based-standards] (SCNoLEAST32): Likewise.
11724 [C99-based-standards] (SCNuLEAST32): Likewise.
11725 [C99-based-standards] (SCNxLEAST32): Likewise.
11726 [C99-based-standards] (PRIdFAST32): Likewise.
11727 [C99-based-standards] (PRIiFAST32): Likewise.
11728 [C99-based-standards] (PRIoFAST32): Likewise.
11729 [C99-based-standards] (PRIuFAST32): Likewise.
11730 [C99-based-standards] (PRIxFAST32): Likewise.
11731 [C99-based-standards] (PRIXFAST32): Likewise.
11732 [C99-based-standards] (SCNdFAST32): Likewise.
11733 [C99-based-standards] (SCNiFAST32): Likewise.
11734 [C99-based-standards] (SCNoFAST32): Likewise.
11735 [C99-based-standards] (SCNuFAST32): Likewise.
11736 [C99-based-standards] (SCNxFAST32): Likewise.
11737 [C99-based-standards] (PRId64): Likewise.
11738 [C99-based-standards] (PRIi64): Likewise.
11739 [C99-based-standards] (PRIo64): Likewise.
11740 [C99-based-standards] (PRIu64): Likewise.
11741 [C99-based-standards] (PRIx64): Likewise.
11742 [C99-based-standards] (PRIX64): Likewise.
11743 [C99-based-standards] (SCNd64): Likewise.
11744 [C99-based-standards] (SCNi64): Likewise.
11745 [C99-based-standards] (SCNo64): Likewise.
11746 [C99-based-standards] (SCNu64): Likewise.
11747 [C99-based-standards] (SCNx64): Likewise.
11748 [C99-based-standards] (PRIdLEAST64): Likewise.
11749 [C99-based-standards] (PRIiLEAST64): Likewise.
11750 [C99-based-standards] (PRIoLEAST64): Likewise.
11751 [C99-based-standards] (PRIuLEAST64): Likewise.
11752 [C99-based-standards] (PRIxLEAST64): Likewise.
11753 [C99-based-standards] (PRIXLEAST64): Likewise.
11754 [C99-based-standards] (SCNdLEAST64): Likewise.
11755 [C99-based-standards] (SCNiLEAST64): Likewise.
11756 [C99-based-standards] (SCNoLEAST64): Likewise.
11757 [C99-based-standards] (SCNuLEAST64): Likewise.
11758 [C99-based-standards] (SCNxLEAST64): Likewise.
11759 [C99-based-standards] (PRIdFAST64): Likewise.
11760 [C99-based-standards] (PRIiFAST64): Likewise.
11761 [C99-based-standards] (PRIoFAST64): Likewise.
11762 [C99-based-standards] (PRIuFAST64): Likewise.
11763 [C99-based-standards] (PRIxFAST64): Likewise.
11764 [C99-based-standards] (PRIXFAST64): Likewise.
11765 [C99-based-standards] (SCNdFAST64): Likewise.
11766 [C99-based-standards] (SCNiFAST64): Likewise.
11767 [C99-based-standards] (SCNoFAST64): Likewise.
11768 [C99-based-standards] (SCNuFAST64): Likewise.
11769 [C99-based-standards] (SCNxFAST64): Likewise.
11770 [C99-based-standards] (PRIdMAX): Likewise.
11771 [C99-based-standards] (PRIiMAX): Likewise.
11772 [C99-based-standards] (PRIoMAX): Likewise.
11773 [C99-based-standards] (PRIuMAX): Likewise.
11774 [C99-based-standards] (PRIxMAX): Likewise.
11775 [C99-based-standards] (PRIXMAX): Likewise.
11776 [C99-based-standards] (SCNdMAX): Likewise.
11777 [C99-based-standards] (SCNiMAX): Likewise.
11778 [C99-based-standards] (SCNoMAX): Likewise.
11779 [C99-based-standards] (SCNuMAX): Likewise.
11780 [C99-based-standards] (SCNxMAX): Likewise.
11781 [C99-based-standards] (PRIdPTR): Likewise.
11782 [C99-based-standards] (PRIiPTR): Likewise.
11783 [C99-based-standards] (PRIoPTR): Likewise.
11784 [C99-based-standards] (PRIuPTR): Likewise.
11785 [C99-based-standards] (PRIxPTR): Likewise.
11786 [C99-based-standards] (PRIXPTR): Likewise.
11787 [C99-based-standards] (SCNdPTR): Likewise.
11788 [C99-based-standards] (SCNiPTR): Likewise.
11789 [C99-based-standards] (SCNoPTR): Likewise.
11790 [C99-based-standards] (SCNuPTR): Likewise.
11791 [C99-based-standards] (SCNxPTR): Likewise.
11792 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11794 * conform/data/stdint.h-data: Update comments to clarify
11796 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11798 [C99-based standards] (INT8_MAX): Likewise.
11799 [C99-based standards] (INT16_MIN): Likewise.
11800 [C99-based standards] (INT16_MAX): Likewise.
11801 [C99-based standards] (INT32_MIN): Likewise.
11802 [C99-based standards] (INT32_MAX): Likewise.
11803 [C99-based standards] (INT64_MIN): Likewise.
11804 [C99-based standards] (INT64_MAX): Likewise.
11805 [C99-based standards] (UINT8_MAX): Likewise.
11806 [C99-based standards] (UINT16_MAX): Likewise.
11807 [C99-based standards] (UINT32_MAX): Likewise.
11808 [C99-based standards] (UINT64_MAX): Likewise.
11809 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11810 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11811 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11812 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11813 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11814 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11815 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11816 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11817 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11818 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11819 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11820 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11821 [C99-based standards] (INT_FAST8_MIN): Likewise.
11822 [C99-based standards] (INT_FAST8_MAX): Likewise.
11823 [C99-based standards] (INT_FAST16_MIN): Likewise.
11824 [C99-based standards] (INT_FAST16_MAX): Likewise.
11825 [C99-based standards] (INT_FAST32_MIN): Likewise.
11826 [C99-based standards] (INT_FAST32_MAX): Likewise.
11827 [C99-based standards] (INT_FAST64_MIN): Likewise.
11828 [C99-based standards] (INT_FAST64_MAX): Likewise.
11829 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11830 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11831 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11832 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11833 [C99-based standards] (INTPTR_MIN): Likewise.
11834 [C99-based standards] (INTPTR_MAX): Likewise.
11835 [C99-based standards] (UINTPTR_MAX): Likewise.
11836 [C99-based standards] (INTMAX_MIN): Likewise.
11837 [C99-based standards] (INTMAX_MAX): Likewise.
11838 [C99-based standards] (UINTMAX_MAX): Likewise.
11839 [C99-based standards] (PTRDIFF_MIN): Likewise.
11840 [C99-based standards] (PTRDIFF_MAX): Likewise.
11841 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11842 [C99-based standards] (SIZE_MAX): Likewise.
11843 [C99-based standards] (WCHAR_MAX): Likewise.
11844 [C99-based standards] (WINT_MAX): Likewise.
11845 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11846 constraint on value.
11847 [C99-based standards] (WCHAR_MIN): Likewise.
11848 [C99-based standards] (WINT_MIN): Likewise.
11849 [C99-based standards] (*_t): Allow.
11850 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11851 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11852 Include math.h-data and complex.h-data. Remove all expectations
11853 of math.h and complex.h contents.
11854 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11856 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11857 (struct tm): Expect tag.
11858 [C99-based-standards] (wcstof): Expect function.
11859 [C99-based-standards] (wcstold): Likewise.
11860 [C99-based-standards] (wcstoll): Likewise.
11861 [C99-based-standards] (wcstoull): Likewise.
11862 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11863 macro-int-constant. Specify type.
11864 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11865 constraint on value.
11866 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11868 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11870 [ISO C standards]: Do not allow headers.
11871 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11872 wcs[abcdefghijklmnopqrstuvwxyz]*.
11873 [ISO C standards] (*_t): Do not allow.
11874 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11876 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11877 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11879 [ISO C standards]: Do not allow headers.
11880 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11881 is[abcdefghijklmnopqrstuvwxyz]*.
11882 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11883 to[abcdefghijklmnopqrstuvwxyz]*.
11884 [ISO C standards] (*_t): Do not allow.
11885 * conform/data/stdalign.h-data: New file.
11886 * conform/data/stdbool.h-data: Likewise.
11887 * conform/data/stdnoreturn.h-data: Likewise.
11889 2012-11-07 Roland McGrath <roland@hack.frob.com>
11892 * manual/filesys.texi (Directory Entries): Typo fix.
11893 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11895 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11897 * elf/elf.h (EM_AARCH64): New macro.
11898 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11899 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11900 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11901 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11902 (R_AARCH64_TLSDESC): Likewise.
11903 (NT_ARM_TLS): Likewise.
11904 (NT_ARM_HW_BREAK): Likewise.
11905 (NT_ARM_HW_WATCH): Likewise.
11907 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11910 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11911 (__ieee754_powl): Saturate nonzero exponents with absolute value
11912 below 0x1p-79 to +/- 0x1p-79.
11913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11914 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11915 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11916 nonzero exponents with absolute value below 0x1p-32 to +/-
11918 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11919 (__ieee754_powl): Saturate nonzero exponents with absolute value
11920 below 0x1p-79 to +/- 0x1p-79.
11921 * math/libm-test.inc (pow_test): Add more tests.
11923 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11925 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11926 _dl_s390_cap_flags with kernel. Increase string length.
11927 (_dl_s390_platforms): Add z196 and zEC12.
11929 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11931 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11932 Change XOPEN21K to XOPEN2K.
11934 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11936 * string/memmove.c: Use memcpy when possible.
11938 2012-11-06 Andreas Jaeger <aj@suse.de>
11940 * po/eo.po: Update from translation team.
11942 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11946 exponent and small x and y exponents, scale x or y up. Increase
11947 by 2 the exponent used in scaling up.
11948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11950 * math/libm-test.inc (fma_test): Add more tests.
11951 (fma_test_towardzero): Likewise.
11952 (fma_test_downward): Likewise.
11953 (fma_test_upward): Likewise.
11955 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11958 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11962 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11963 namespace for names of struct fields.
11964 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11966 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11967 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11969 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11972 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11974 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11976 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11980 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11983 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11987 definitely overflow as x * y not x * y + z.
11988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11990 * math/libm-test.inc (fma_test): Add more tests.
11991 (fma_test_towardzero): Likewise.
11992 (fma_test_downward): Likewise.
11993 (fma_test_upward): Likewise.
11995 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11999 * include/stub-tag.h: Remove file.
12000 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12002 * manual/maint.texi (Porting): Don't reference it.
12003 * Makerules ($(objpfx)stubs): Likewise.
12004 * dirent/closedir.c: Don't include <stub-tag.h>.
12005 * dirent/dirfd.c: Likewise.
12006 * dirent/fdopendir.c: Likewise.
12007 * dirent/getdents.c: Likewise.
12008 * dirent/getdents64.c: Likewise.
12009 * dirent/opendir.c: Likewise.
12010 * dirent/readdir.c: Likewise.
12011 * dirent/readdir64.c: Likewise.
12012 * dirent/readdir64_r.c: Likewise.
12013 * dirent/readdir_r.c: Likewise.
12014 * dirent/rewinddir.c: Likewise.
12015 * dirent/seekdir.c: Likewise.
12016 * dirent/telldir.c: Likewise.
12017 * gmon/profil.c: Likewise.
12018 * grp/setgroups.c: Likewise.
12019 * inet/if_index.c: Likewise.
12020 * io/access.c: Likewise.
12021 * io/chdir.c: Likewise.
12022 * io/chmod.c: Likewise.
12023 * io/chown.c: Likewise.
12024 * io/close.c: Likewise.
12025 * io/dup.c: Likewise.
12026 * io/dup2.c: Likewise.
12027 * io/dup3.c: Likewise.
12028 * io/euidaccess.c: Likewise.
12029 * io/faccessat.c: Likewise.
12030 * io/fchdir.c: Likewise.
12031 * io/fchmod.c: Likewise.
12032 * io/fchmodat.c: Likewise.
12033 * io/fchown.c: Likewise.
12034 * io/fchownat.c: Likewise.
12035 * io/fcntl.c: Likewise.
12036 * io/flock.c: Likewise.
12037 * io/fstatfs.c: Likewise.
12038 * io/fstatfs64.c: Likewise.
12039 * io/fstatvfs.c: Likewise.
12040 * io/fstatvfs64.c: Likewise.
12041 * io/futimens.c: Likewise.
12042 * io/fxstat.c: Likewise.
12043 * io/fxstat64.c: Likewise.
12044 * io/fxstatat.c: Likewise.
12045 * io/fxstatat64.c: Likewise.
12046 * io/getcwd.c: Likewise.
12047 * io/isatty.c: Likewise.
12048 * io/lchmod.c: Likewise.
12049 * io/lchown.c: Likewise.
12050 * io/link.c: Likewise.
12051 * io/linkat.c: Likewise.
12052 * io/lseek.c: Likewise.
12053 * io/lseek64.c: Likewise.
12054 * io/lxstat64.c: Likewise.
12055 * io/mkdir.c: Likewise.
12056 * io/mkdirat.c: Likewise.
12057 * io/mkfifo.c: Likewise.
12058 * io/mkfifoat.c: Likewise.
12059 * io/open.c: Likewise.
12060 * io/open64.c: Likewise.
12061 * io/openat.c: Likewise.
12062 * io/openat64.c: Likewise.
12063 * io/pipe.c: Likewise.
12064 * io/pipe2.c: Likewise.
12065 * io/poll.c: Likewise.
12066 * io/posix_fadvise.c: Likewise.
12067 * io/posix_fadvise64.c: Likewise.
12068 * io/posix_fallocate.c: Likewise.
12069 * io/posix_fallocate64.c: Likewise.
12070 * io/read.c: Likewise.
12071 * io/readlink.c: Likewise.
12072 * io/readlinkat.c: Likewise.
12073 * io/rmdir.c: Likewise.
12074 * io/sendfile.c: Likewise.
12075 * io/sendfile64.c: Likewise.
12076 * io/statfs.c: Likewise.
12077 * io/statfs64.c: Likewise.
12078 * io/statvfs.c: Likewise.
12079 * io/statvfs64.c: Likewise.
12080 * io/symlink.c: Likewise.
12081 * io/symlinkat.c: Likewise.
12082 * io/ttyname.c: Likewise.
12083 * io/ttyname_r.c: Likewise.
12084 * io/umask.c: Likewise.
12085 * io/unlink.c: Likewise.
12086 * io/unlinkat.c: Likewise.
12087 * io/utime.c: Likewise.
12088 * io/utimensat.c: Likewise.
12089 * io/write.c: Likewise.
12090 * io/xmknod.c: Likewise.
12091 * io/xmknodat.c: Likewise.
12092 * io/xstat.c: Likewise.
12093 * io/xstat64.c: Likewise.
12094 * login/getpt.c: Likewise.
12095 * login/grantpt.c: Likewise.
12096 * login/unlockpt.c: Likewise.
12097 * math/e_acoshl.c: Likewise.
12098 * math/e_acosl.c: Likewise.
12099 * math/e_asinl.c: Likewise.
12100 * math/e_atan2l.c: Likewise.
12101 * math/e_atanhl.c: Likewise.
12102 * math/e_coshl.c: Likewise.
12103 * math/e_expl.c: Likewise.
12104 * math/e_fmodl.c: Likewise.
12105 * math/e_gammal_r.c: Likewise.
12106 * math/e_hypotl.c: Likewise.
12107 * math/e_j0l.c: Likewise.
12108 * math/e_j1l.c: Likewise.
12109 * math/e_jnl.c: Likewise.
12110 * math/e_lgammal_r.c: Likewise.
12111 * math/e_log10l.c: Likewise.
12112 * math/e_log2l.c: Likewise.
12113 * math/e_logl.c: Likewise.
12114 * math/e_powl.c: Likewise.
12115 * math/e_rem_pio2l.c: Likewise.
12116 * math/e_sinhl.c: Likewise.
12117 * math/e_sqrtl.c: Likewise.
12118 * math/fclrexcpt.c: Likewise.
12119 * math/fedisblxcpt.c: Likewise.
12120 * math/feenablxcpt.c: Likewise.
12121 * math/fegetenv.c: Likewise.
12122 * math/fegetexcept.c: Likewise.
12123 * math/fegetround.c: Likewise.
12124 * math/feholdexcpt.c: Likewise.
12125 * math/fesetenv.c: Likewise.
12126 * math/fesetround.c: Likewise.
12127 * math/feupdateenv.c: Likewise.
12128 * math/fgetexcptflg.c: Likewise.
12129 * math/fraiseexcpt.c: Likewise.
12130 * math/fsetexcptflg.c: Likewise.
12131 * math/ftestexcept.c: Likewise.
12132 * math/k_cosl.c: Likewise.
12133 * math/k_rem_pio2l.c: Likewise.
12134 * math/k_sinl.c: Likewise.
12135 * math/k_tanl.c: Likewise.
12136 * math/s_asinhl.c: Likewise.
12137 * math/s_atanl.c: Likewise.
12138 * math/s_cbrtl.c: Likewise.
12139 * math/s_erfl.c: Likewise.
12140 * math/s_expm1l.c: Likewise.
12141 * math/s_log1pl.c: Likewise.
12142 * math/s_tanhl.c: Likewise.
12143 * misc/acct.c: Likewise.
12144 * misc/brk.c: Likewise.
12145 * misc/chflags.c: Likewise.
12146 * misc/chroot.c: Likewise.
12147 * misc/fchflags.c: Likewise.
12148 * misc/fgetxattr.c: Likewise.
12149 * misc/flistxattr.c: Likewise.
12150 * misc/fremovexattr.c: Likewise.
12151 * misc/fsetxattr.c: Likewise.
12152 * misc/fsync.c: Likewise.
12153 * misc/ftruncate.c: Likewise.
12154 * misc/futimes.c: Likewise.
12155 * misc/futimesat.c: Likewise.
12156 * misc/getdomain.c: Likewise.
12157 * misc/getdtsz.c: Likewise.
12158 * misc/gethostid.c: Likewise.
12159 * misc/gethostname.c: Likewise.
12160 * misc/getloadavg.c: Likewise.
12161 * misc/getpagesize.c: Likewise.
12162 * misc/getsysstats.c: Likewise.
12163 * misc/getxattr.c: Likewise.
12164 * misc/gtty.c: Likewise.
12165 * misc/ioctl.c: Likewise.
12166 * misc/lgetxattr.c: Likewise.
12167 * misc/listxattr.c: Likewise.
12168 * misc/llistxattr.c: Likewise.
12169 * misc/lremovexattr.c: Likewise.
12170 * misc/lsetxattr.c: Likewise.
12171 * misc/lutimes.c: Likewise.
12172 * misc/madvise.c: Likewise.
12173 * misc/mincore.c: Likewise.
12174 * misc/mlock.c: Likewise.
12175 * misc/mlockall.c: Likewise.
12176 * misc/mmap.c: Likewise.
12177 * misc/mprotect.c: Likewise.
12178 * misc/msync.c: Likewise.
12179 * misc/munlock.c: Likewise.
12180 * misc/munlockall.c: Likewise.
12181 * misc/munmap.c: Likewise.
12182 * misc/preadv.c: Likewise.
12183 * misc/preadv64.c: Likewise.
12184 * misc/ptrace.c: Likewise.
12185 * misc/pwritev.c: Likewise.
12186 * misc/pwritev64.c: Likewise.
12187 * misc/readv.c: Likewise.
12188 * misc/reboot.c: Likewise.
12189 * misc/remap_file_pages.c: Likewise.
12190 * misc/removexattr.c: Likewise.
12191 * misc/revoke.c: Likewise.
12192 * misc/select.c: Likewise.
12193 * misc/setdomain.c: Likewise.
12194 * misc/setegid.c: Likewise.
12195 * misc/seteuid.c: Likewise.
12196 * misc/sethostid.c: Likewise.
12197 * misc/sethostname.c: Likewise.
12198 * misc/setregid.c: Likewise.
12199 * misc/setreuid.c: Likewise.
12200 * misc/setxattr.c: Likewise.
12201 * misc/sstk.c: Likewise.
12202 * misc/stty.c: Likewise.
12203 * misc/swapoff.c: Likewise.
12204 * misc/swapon.c: Likewise.
12205 * misc/sync.c: Likewise.
12206 * misc/syncfs.c: Likewise.
12207 * misc/syscall.c: Likewise.
12208 * misc/truncate.c: Likewise.
12209 * misc/ualarm.c: Likewise.
12210 * misc/usleep.c: Likewise.
12211 * misc/ustat.c: Likewise.
12212 * misc/utimes.c: Likewise.
12213 * misc/vhangup.c: Likewise.
12214 * misc/writev.c: Likewise.
12215 * posix/_exit.c: Likewise.
12216 * posix/alarm.c: Likewise.
12217 * posix/execve.c: Likewise.
12218 * posix/fexecve.c: Likewise.
12219 * posix/fork.c: Likewise.
12220 * posix/fpathconf.c: Likewise.
12221 * posix/getaddrinfo.c: Likewise.
12222 * posix/getegid.c: Likewise.
12223 * posix/geteuid.c: Likewise.
12224 * posix/getgid.c: Likewise.
12225 * posix/getgroups.c: Likewise.
12226 * posix/getlogin.c: Likewise.
12227 * posix/getlogin_r.c: Likewise.
12228 * posix/getpgid.c: Likewise.
12229 * posix/getpid.c: Likewise.
12230 * posix/getppid.c: Likewise.
12231 * posix/getresgid.c: Likewise.
12232 * posix/getresuid.c: Likewise.
12233 * posix/getsid.c: Likewise.
12234 * posix/getuid.c: Likewise.
12235 * posix/glob64.c: Likewise.
12236 * posix/nanosleep.c: Likewise.
12237 * posix/pathconf.c: Likewise.
12238 * posix/pause.c: Likewise.
12239 * posix/posix_madvise.c: Likewise.
12240 * posix/pread.c: Likewise.
12241 * posix/pread64.c: Likewise.
12242 * posix/pwrite.c: Likewise.
12243 * posix/pwrite64.c: Likewise.
12244 * posix/sched_getaffinity.c: Likewise.
12245 * posix/sched_getp.c: Likewise.
12246 * posix/sched_gets.c: Likewise.
12247 * posix/sched_primax.c: Likewise.
12248 * posix/sched_primin.c: Likewise.
12249 * posix/sched_rr_gi.c: Likewise.
12250 * posix/sched_setaffinity.c: Likewise.
12251 * posix/sched_setp.c: Likewise.
12252 * posix/sched_sets.c: Likewise.
12253 * posix/sched_yield.c: Likewise.
12254 * posix/setgid.c: Likewise.
12255 * posix/setlogin.c: Likewise.
12256 * posix/setpgid.c: Likewise.
12257 * posix/setresgid.c: Likewise.
12258 * posix/setresuid.c: Likewise.
12259 * posix/setsid.c: Likewise.
12260 * posix/setuid.c: Likewise.
12261 * posix/sleep.c: Likewise.
12262 * posix/spawni.c: Likewise.
12263 * posix/sysconf.c: Likewise.
12264 * posix/times.c: Likewise.
12265 * posix/wait.c: Likewise.
12266 * posix/wait3.c: Likewise.
12267 * posix/wait4.c: Likewise.
12268 * posix/waitpid.c: Likewise.
12269 * resolv/gai_sigqueue.c: Likewise.
12270 * resource/getpriority.c: Likewise.
12271 * resource/getrlimit.c: Likewise.
12272 * resource/getrusage.c: Likewise.
12273 * resource/nice.c: Likewise.
12274 * resource/setpriority.c: Likewise.
12275 * resource/setrlimit.c: Likewise.
12276 * resource/ulimit.c: Likewise.
12277 * rt/aio_cancel.c: Likewise.
12278 * rt/aio_fsync.c: Likewise.
12279 * rt/aio_read.c: Likewise.
12280 * rt/aio_sigqueue.c: Likewise.
12281 * rt/aio_suspend.c: Likewise.
12282 * rt/aio_write.c: Likewise.
12283 * rt/clock_getres.c: Likewise.
12284 * rt/clock_gettime.c: Likewise.
12285 * rt/clock_nanosleep.c: Likewise.
12286 * rt/clock_settime.c: Likewise.
12287 * rt/lio_listio.c: Likewise.
12288 * rt/mq_close.c: Likewise.
12289 * rt/mq_getattr.c: Likewise.
12290 * rt/mq_notify.c: Likewise.
12291 * rt/mq_open.c: Likewise.
12292 * rt/mq_receive.c: Likewise.
12293 * rt/mq_send.c: Likewise.
12294 * rt/mq_setattr.c: Likewise.
12295 * rt/mq_timedreceive.c: Likewise.
12296 * rt/mq_timedsend.c: Likewise.
12297 * rt/mq_unlink.c: Likewise.
12298 * rt/shm_open.c: Likewise.
12299 * rt/shm_unlink.c: Likewise.
12300 * rt/timer_create.c: Likewise.
12301 * rt/timer_delete.c: Likewise.
12302 * rt/timer_getoverr.c: Likewise.
12303 * rt/timer_gettime.c: Likewise.
12304 * rt/timer_settime.c: Likewise.
12305 * setjmp/__longjmp.c: Likewise.
12306 * setjmp/setjmp.c: Likewise.
12307 * signal/kill.c: Likewise.
12308 * signal/killpg.c: Likewise.
12309 * signal/raise.c: Likewise.
12310 * signal/sigaction.c: Likewise.
12311 * signal/sigaltstack.c: Likewise.
12312 * signal/sigblock.c: Likewise.
12313 * signal/sigignore.c: Likewise.
12314 * signal/sigintr.c: Likewise.
12315 * signal/signal.c: Likewise.
12316 * signal/sigpause.c: Likewise.
12317 * signal/sigpending.c: Likewise.
12318 * signal/sigqueue.c: Likewise.
12319 * signal/sigreturn.c: Likewise.
12320 * signal/sigset.c: Likewise.
12321 * signal/sigsetmask.c: Likewise.
12322 * signal/sigstack.c: Likewise.
12323 * signal/sigsuspend.c: Likewise.
12324 * signal/sigtimedwait.c: Likewise.
12325 * signal/sigvec.c: Likewise.
12326 * signal/sigwait.c: Likewise.
12327 * signal/sigwaitinfo.c: Likewise.
12328 * signal/sysv_signal.c: Likewise.
12329 * socket/accept.c: Likewise.
12330 * socket/accept4.c: Likewise.
12331 * socket/bind.c: Likewise.
12332 * socket/connect.c: Likewise.
12333 * socket/getpeername.c: Likewise.
12334 * socket/getsockname.c: Likewise.
12335 * socket/getsockopt.c: Likewise.
12336 * socket/isfdtype.c: Likewise.
12337 * socket/listen.c: Likewise.
12338 * socket/recv.c: Likewise.
12339 * socket/recvfrom.c: Likewise.
12340 * socket/recvmsg.c: Likewise.
12341 * socket/send.c: Likewise.
12342 * socket/sendmsg.c: Likewise.
12343 * socket/sendto.c: Likewise.
12344 * socket/setsockopt.c: Likewise.
12345 * socket/shutdown.c: Likewise.
12346 * socket/sockatmark.c: Likewise.
12347 * socket/socket.c: Likewise.
12348 * socket/socketpair.c: Likewise.
12349 * stdio-common/ctermid.c: Likewise.
12350 * stdio-common/cuserid.c: Likewise.
12351 * stdio-common/remove.c: Likewise.
12352 * stdio-common/rename.c: Likewise.
12353 * stdio-common/renameat.c: Likewise.
12354 * stdio-common/tempname.c: Likewise.
12355 * stdlib/getcontext.c: Likewise.
12356 * stdlib/makecontext.c: Likewise.
12357 * stdlib/setcontext.c: Likewise.
12358 * stdlib/swapcontext.c: Likewise.
12359 * stdlib/system.c: Likewise.
12360 * streams/fattach.c: Likewise.
12361 * streams/fdetach.c: Likewise.
12362 * streams/getmsg.c: Likewise.
12363 * streams/getpmsg.c: Likewise.
12364 * streams/putmsg.c: Likewise.
12365 * streams/putpmsg.c: Likewise.
12366 * sysdeps/unix/bsd/getpt.c: Likewise.
12367 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12368 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12369 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12372 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12373 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12374 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12375 * sysvipc/msgctl.c: Likewise.
12376 * sysvipc/msgget.c: Likewise.
12377 * sysvipc/msgrcv.c: Likewise.
12378 * sysvipc/msgsnd.c: Likewise.
12379 * sysvipc/semctl.c: Likewise.
12380 * sysvipc/semget.c: Likewise.
12381 * sysvipc/semop.c: Likewise.
12382 * sysvipc/semtimedop.c: Likewise.
12383 * sysvipc/shmat.c: Likewise.
12384 * sysvipc/shmctl.c: Likewise.
12385 * sysvipc/shmdt.c: Likewise.
12386 * sysvipc/shmget.c: Likewise.
12387 * termios/tcdrain.c: Likewise.
12388 * termios/tcflow.c: Likewise.
12389 * termios/tcflush.c: Likewise.
12390 * termios/tcgetattr.c: Likewise.
12391 * termios/tcgetpgrp.c: Likewise.
12392 * termios/tcsendbrk.c: Likewise.
12393 * termios/tcsetattr.c: Likewise.
12394 * termios/tcsetpgrp.c: Likewise.
12395 * time/adjtime.c: Likewise.
12396 * time/clock.c: Likewise.
12397 * time/getitimer.c: Likewise.
12398 * time/gettimeofday.c: Likewise.
12399 * time/setitimer.c: Likewise.
12400 * time/settimeofday.c: Likewise.
12401 * time/stime.c: Likewise.
12402 * time/time.c: Likewise.
12404 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12406 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12409 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12411 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12413 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12417 FE_TONEAREST before applying Dekker multiplication and Knuth
12418 addition. Clear inexact exceptions and check for exact zero
12419 results afterwards.
12420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12421 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12422 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12423 * math/libm-test.inc (fma_test): Add more tests.
12424 (fma_test_towardzero): Likewise.
12425 (fma_test_downward): Likewise.
12426 (fma_test_upward): Likewise.
12427 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12429 (libc_fesetround): New macro.
12430 (libc_fesetroundf): Likewise.
12431 (libc_fesetroundl): Likewise.
12432 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12434 (libc_fesetround_387): Likewise.
12435 (libc_fesetroundf): New macro.
12436 (libc_fesetround): Likewise.
12437 (libc_fesetroundl): Likewise.
12438 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12440 (libc_fesetroundf): New macro.
12441 (libc_fesetround): Likewise.
12442 (libc_fesetroundl): Likewise.
12443 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12444 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12445 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12447 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12448 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12450 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12451 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12453 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12457 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12458 integer constant usable in #if and use that to give value to enum
12460 (FE_DIVBYZERO): Likewise.
12461 (FE_UNDERFLOW): Likewise.
12462 (FE_OVERFLOW): Likewise.
12463 (FE_INVALID): Likewise.
12464 (FE_INVALID_SNAN): Likewise.
12465 (FE_INVALID_ISI): Likewise.
12466 (FE_INVALID_IDI): Likewise.
12467 (FE_INVALID_ZDZ): Likewise.
12468 (FE_INVALID_IMZ): Likewise.
12469 (FE_INVALID_COMPARE): Likewise.
12470 (FE_INVALID_SOFTWARE): Likewise.
12471 (FE_INVALID_SQRT): Likewise.
12472 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12473 (FE_TONEAREST): Likewise.
12474 (FE_TOWARDZERO): Likewise.
12475 (FE_UPWARD): Likewise.
12476 (FE_DOWNWARD): Likewise.
12477 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12478 (FE_DIVBYZERO): Likewise.
12479 (FE_OVERFLOW): Likewise.
12480 (FE_UNDERFLOW): Likewise.
12481 (FE_INEXACT): Likewise.
12482 (FE_TONEAREST): Likewise.
12483 (FE_DOWNWARD): Likewise.
12484 (FE_UPWARD): Likewise.
12485 (FE_TOWARDZERO): Likewise.
12486 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12487 (FE_UNDERFLOW): Likewise.
12488 (FE_OVERFLOW): Likewise.
12489 (FE_DIVBYZERO): Likewise.
12490 (FE_INVALID): Likewise.
12491 (FE_TONEAREST): Likewise.
12492 (FE_TOWARDZERO): Likewise.
12493 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12494 (FE_OVERFLOW): Likewise.
12495 (FE_UNDERFLOW): Likewise.
12496 (FE_DIVBYZERO): Likewise.
12497 (FE_INEXACT): Likewise.
12498 (FE_TONEAREST): Likewise.
12499 (FE_TOWARDZERO): Likewise.
12500 (FE_UPWARD): Likewise.
12501 (FE_DOWNWARD): Likewise.
12502 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12503 (FE_DIVBYZERO): Likewise.
12504 (FE_OVERFLOW): Likewise.
12505 (FE_UNDERFLOW): Likewise.
12506 (FE_INEXACT): Likewise.
12507 (FE_TONEAREST): Likewise.
12508 (FE_DOWNWARD): Likewise.
12509 (FE_UPWARD): Likewise.
12510 (FE_TOWARDZERO): Likewise.
12512 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12514 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12516 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12518 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12519 commands. Quote $PWD.
12520 (blacklist_exports): Don't use remove_newlines. Replace "declare
12522 (remove_newlines): Remove.
12524 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12526 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12527 * stdlib/stdlib.h (atof): Moved to ...
12528 * include/bits/stdlib-float.h: Here. New file.
12529 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12530 * stdlib/bits/stdlib-float.h: New file.
12531 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12533 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12536 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12538 * conform/conformtest.pl (@headers): Add fenv.h.
12539 * conform/data/fenv.h-data: New file.
12540 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12541 include of <math/fenv.h>.
12543 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12544 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12545 && !UNIX98]. Enables tests for XOPEN2K8.
12546 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12547 POSIX2008]: Likewise.
12549 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12550 (struct rusage): Do not expect type or its members.
12553 * math/math.h (FP_NAN): Define macro to integer constant usable in
12554 #if and use that to give value to enum constant.
12555 (FP_INFINITE): Likewise.
12556 (FP_ZERO): Likewise.
12557 (FP_SUBNORMAL): Likewise.
12558 (FP_NORMAL): Likewise.
12560 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12562 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12563 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12566 2012-11-02 Roland McGrath <roland@hack.frob.com>
12568 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12569 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12570 autoconf-time if not.
12571 * configure.in: Remove AC_PREREQ.
12573 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12575 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12576 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12577 of the internal implementation.
12579 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12581 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12582 except include of <misc/sys/syslog.h>.
12584 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12587 function returns with a NULL context exit with zero.
12589 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12591 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12593 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12595 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12596 (run_program_cmd): This.
12597 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12598 (tst_langinfo): New variable. Use it.
12600 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12602 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12603 floating point opcodes.
12605 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12607 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12610 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12612 * sysdeps/mach/hurd/powerpc: Remove directory.
12613 * sysdeps/mach/powerpc: Likewise.
12615 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12617 * scripts/check-local-headers.sh: Ignore c++ headers.
12619 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12621 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12622 __libc_cleanup_region_start argument.
12624 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12629 x * y using scaling, not as x * y + z.
12630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12632 * math/libm-test.inc (fma_test): Add more tests.
12633 (fma_test_towardzero): Likewise.
12634 (fma_test_downward): Likewise.
12635 (fma_test_upward): Likewise.
12637 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12639 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12641 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12643 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12646 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12648 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12650 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12657 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12660 Fix the order of the list for glibc 2.17.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12664 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12668 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12672 for low part of x being zero before using __atanl (y).
12673 * math/libm-test.inc (atan2_test): Add another test.
12675 * manual/install.texi (Configuring and compiling): Document
12676 general use of test-wrapper and test-wrapper-env.
12677 * INSTALL: Regenerated.
12679 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12680 (__fma): Do not extract and scale down low bits on after-rounding
12681 systems when result rounded to normal precision would have normal
12683 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12684 (__fmal): Do not extract and scale down low bits on after-rounding
12685 systems when result rounded to normal precision would have normal
12687 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12688 (__fmal): Do not extract and scale down low bits on after-rounding
12689 systems when result rounded to normal precision would have normal
12691 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12693 (fma_test): Add more tests.
12694 (fma_test_towardzero): Likewise.
12695 (fma_test_downward): Likewise.
12696 (fma_test_upward): Likewise.
12698 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12700 * sysdeps/i386/tininess.h: Renamed to ...
12701 * sysdeps/x86/tininess.h: This.
12702 * sysdeps/x86_64/tininess.h: Removed.
12704 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12706 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12707 input. Use $(build-program-cmd).
12708 ($(objpfx)tst-array1-static.out): Likewise.
12709 ($(objpfx)tst-array2.out): Likewise.
12710 ($(objpfx)tst-array3.out): Likewise.
12711 ($(objpfx)tst-array4.out): Likewise.
12712 ($(objpfx)tst-array5.out): Likewise.
12713 ($(objpfx)tst-array5-static.out): Likewise.
12715 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12717 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12720 * nss/nsswitch.h (nss_interface_function): Provide new
12721 macro for use with NSS functions.
12722 * grp/initgroups.c: Use new macro.
12723 * nss/getXXbyYY.c: Likewise.
12724 * nss/getXXbyYY_r.c: Likewise.
12725 * nss/getXXent.c: Likewise.
12726 * nss/getXXent_r.c: Likewise.
12727 * sysdeps/posix/getaddrinfo.c: Likewise.
12729 2012-10-30 Andreas Jaeger <aj@suse.de>
12731 * po/ru.po: Update Russion translation from translation project.
12733 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12738 result and shift together with sticky bit instead of replicating
12739 round-to-nearest rounding.
12740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12742 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12743 missing underflow exceptions.
12744 (fma_test_towardzero): Add more tests.
12745 (fma_test_downward): Likewise.
12746 (fma_test_upward): Likewise.
12749 * sysdeps/generic/tininess.h: New file.
12750 * sysdeps/i386/tininess.h: Likewise.
12751 * sysdeps/sh/tininess.h: Likewise.
12752 * sysdeps/x86_64/tininess.h: Likewise.
12753 * stdlib/tst-strtod-underflow.c: Likewise.
12754 * stdlib/tst-tininess.c: Likewise.
12755 * stdlib/strtod_l.c: Include <tininess.h>.
12756 (round_and_return): Do not set errno for exact underflow cases.
12757 Force an underflow exception when setting errno for underflow.
12758 Determine underflow based on rounding to normal precision if
12759 TININESS_AFTER_ROUNDING.
12760 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12761 ERANGE for exact underflow cases.
12762 * stdlib/Makefile (tests): Add tst-tininess and
12763 tst-strtod-underflow.
12764 ($(objpfx)tst-tininess): Use $(link-libm).
12765 ($(objpfx)tst-strtod-underflow): Likewise.
12767 2012-10-30 Andreas Jaeger <aj@suse.de>
12770 * elf/Makefile (tests): Remove conditional for have-initfini-array
12771 since this is now always required and the variable does not exist
12773 (tests-static): Likewise.
12774 (modules-names): Likewise.
12776 * po/eo.po: Add Esperanto translation from translation project.
12778 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12779 merged with constructor/destructor.
12780 (init_array): Likewise.
12781 * elf/tst-array2dep.c (fini_array): Likewise.
12782 (init_array): Likewise.
12784 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12786 * manual/message.texi: Delete @cartouche tags.
12788 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12790 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12792 * sysdeps/mach/hurd/fsync.c: Likewise.
12794 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12795 [_POSIX_REALTIME_SIGNALS]: Change condition to
12796 [_POSIX_REALTIME_SIGNALS > 0].
12798 2012-10-27 Andreas Jaeger <aj@suse.de>
12800 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12801 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12803 [__WORDSIZE != 64]: Likewise.
12805 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12807 * iconvdata/tst-table.sh: Remove ${SHELL}.
12808 * iconvdata/tst-tables.sh: Likewise.
12810 2012-10-25 David S. Miller <davem@davemloft.net>
12812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12813 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12819 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12820 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12823 2012-10-25 Roland McGrath <roland@hack.frob.com>
12825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12826 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12829 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12830 Jim Blandy <jimb@codesourcery.com>
12832 * scripts/cross-test-ssh.sh: New file.
12833 * manual/install.texi (Configuring and compiling): Document use of
12835 * INSTALL: Regenerated.
12837 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12839 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12842 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12844 * Makeconfig (run-program-prefix): Fix comment.
12846 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12847 Jim Blandy <jimb@codesourcery.com>
12849 * Makeconfig (test-wrapper): New variable,
12850 (test-wrapper-env): Likewise.
12851 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12852 (run-built-tests): Define to yes.
12853 (run-program-prefix): Use $(test-wrapper).
12854 (built-program-cmd): Likewise.
12855 * Rules (make-test-out): Use $(test-wrapper-env) and
12856 $(host-built-program-cmd).
12857 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12858 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12860 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12861 $(test-wrapper-env) to tst-rtld-load-self.sh.
12862 ($(objpfx)order2.out): Use $(test-wrapper).
12863 ($(objpfx)tst-initorder.out): Likewise.
12864 ($(objpfx)tst-initorder2.out): Likewise.
12865 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12866 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12867 (test_wrapper_env): New variable. Use it to run ld.so.
12868 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12869 Use it to run ld.so.
12870 (test_wrapper_env): Likewise.
12871 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12872 $(test-wrapper) to run-iconv-test.sh.
12873 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12874 (ICONV): Use $test_wrapper.
12875 * posix/Makefile ($(objpfx)globtest.out): Pass
12876 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12877 globtest.sh, not $(run-program-prefix).
12878 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12879 (test_wrapper): Likewise.
12880 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12881 set together with run_via_rtld_prefix.
12882 (run_program_prefix): Define in terms of test_wrapper and
12883 run_via_rtld_prefix.
12885 2012-10-24 Roland McGrath <roland@hack.frob.com>
12887 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12888 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12892 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12893 Declare __clock_getres, __clock_gettime, __clock_settime,
12894 __clock_nanosleep, and __clock_getcpuclockid.
12895 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12896 Remove librt_hidden_def (clock_gettime).
12897 * sysdeps/unix/clock_gettime.c: Likewise.
12898 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12899 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12900 * rt/clock_getres.c: Define __clock_getres as an alias.
12901 * sysdeps/posix/clock_getres.c: Likewise.
12902 * rt/clock_settime.c: Define __clock_settime as an alias.
12903 * sysdeps/unix/clock_settime.c: Likewise.
12904 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12905 * sysdeps/unix/clock_nanosleep.c: Likewise.
12906 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12907 * rt/clock-compat.c: New file.
12908 * rt/Makefile (librt-routines): Add clock-compat and move
12909 $(clock-routines) to ...
12910 (routines): ... here, new variable.
12911 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12912 Don't add get_clockfreq here.
12913 * rt/Versions (libc: GLIBC_2.17): New version set.
12914 Add clock_* symbols here.
12915 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12917 (GLIBC_2.17): Add clock_* symbols.
12918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12929 * NEWS: Mention the move.
12931 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12932 Use __open, __read, __close rather than their public counterparts.
12933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12934 (__get_clockfreq_via_cpuinfo): Likewise.
12935 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12936 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12938 * config.h.in (HAVE_IFUNC): New #undef.
12939 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12941 * configure: Regenerated.
12943 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12945 * configure.in: Move READELF check to start of file.
12946 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12947 libc_cv_asm_gnu_indirect_function in the process.
12948 * configure: Regenerated.
12950 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12952 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12953 send the output to /dev/null.
12954 (libc_cv_cc_with_libunwind): Likewise.
12955 (libc_cv_as_noexecstack): Likewise.
12956 * configure: Regenerate.
12958 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12960 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12962 * posix/globtest.sh (TMPDIR): Do not set.
12963 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12964 (testout): Likewise.
12966 2012-10-24 Andreas Jaeger <aj@suse.de>
12968 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12969 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12970 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12971 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12972 posix_fadvise64, posix_fallocate64.
12974 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12975 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12976 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12978 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12980 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12983 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12984 <bits/fcntl-linux.h>.
12985 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12988 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12989 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12990 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12991 [__WORDSIZE != 64]: Likewise.
12993 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12995 * Makeconfig (run-built-tests): New variable.
12996 * Rules [$(cross-compiling) = yes]: Change condition to
12997 [$(run-built-tests) = no].
12998 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12999 to [$(run-built-tests) = yes].
13000 * elf/Makefile [$(cross-compiling) = no]: Likewise
13001 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13002 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13003 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13004 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13005 * io/Makefile [$(cross-compiling) = no]: Likewise.
13006 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13007 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13008 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13009 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13010 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13011 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13012 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13013 * string/Makefile [$(cross-compiling) = no]: Likewise.
13015 * posix/Makefile ($(objpfx)globtest.out): Pass
13016 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13017 $(rtld-installed-name).
13018 * posix/globtest.sh (elf_objpfx): Remove variable.
13019 (rtld_installed_name): Likewise.
13020 (library_path): Likewise.
13021 (run_program_prefix): New variable. Use for running globtest
13024 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13025 Joseph Myers <joseph@codesourcery.com>
13027 * Makeconfig (host-built-program-cmd): New variable.
13028 * elf/Makefile (tst-stackguard1-ARGS): Use
13029 $(host-built-program-cmd).
13030 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13031 (tst-spawn-ARGS): Likewise.
13032 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13034 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13035 Jim Blandy <jimb@codesourcery.com>
13037 * Makeconfig (run-via-rtld-prefix): New variable.
13038 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13039 (built-program-cmd): Likewise.
13041 2012-10-22 Andreas Jaeger <aj@suse.de>
13043 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13044 __O_RSYNC if it exists, otherwise to O_SYNC.
13046 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13047 Joseph Myers <joseph@codesourcery.com>
13049 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13051 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13053 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13056 2012-10-22 Andreas Jaeger <aj@suse.de>
13058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13063 bits/fcntl-linux.h.
13065 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13066 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13073 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13074 Joseph Myers <joseph@codesourcery.com>
13076 * config.make.in (NM): New variable.
13078 2012-10-21 Andreas Jaeger <aj@suse.de>
13080 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13081 definitions and declarations that are provided by
13082 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13084 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13087 * elf/Makefile (tests-static): Add tst-leaks1-static.
13088 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13089 ($(objpfx)tst-leaks1-static): New rule.
13090 ($(objpfx)tst-leaks1-static-mem): Likewise.
13091 (tst-leaks1-static-ENV): New macro.
13092 * elf/dl-open.c (dl_open_worker): Check the main application
13093 only if SHARED is defined.
13094 * elf/tst-leaks1-static.c: New file.
13096 2012-10-20 Andreas Jaeger <aj@suse.de>
13098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13099 generic values for Linux.
13100 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13101 and declarations that are provided by <bits/fcntl-linux.h> and
13102 include <bits/fcntl-linux.h>.
13103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13106 2012-10-20 Roland McGrath <roland@hack.frob.com>
13108 * io/fcntl.h: Move include of <bits/types.h> to the top and
13109 include it unconditionally.
13111 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13113 * wcsmbs/Makefile (tests-ifunc): New variable.
13114 (tests): Add $(tests-ifunc).
13115 * wcsmbs/test-wcschr-ifunc.c: New file.
13116 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13117 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13118 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13119 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13120 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13122 * string/Makefile (tests-ifunc): New variable.
13123 (tests): Add $(tests-ifunc).
13124 * string/test-memccpy.c (TEST_NAME): New macro.
13125 * string/test-memchr.c (TEST_NAME): Likewise.
13126 * string/test-memcmp.c (TEST_NAME): Likewise.
13127 * string/test-memcpy.c (TEST_NAME): Likewise.
13128 * string/test-memmem.c (TEST_NAME): Likewise.
13129 * string/test-memmove.c (TEST_NAME): Likewise.
13130 * string/test-memset.c (TEST_NAME): Likewise.
13131 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13132 * string/test-stpcpy.c (TEST_NAME): Likewise.
13133 * string/test-stpncpy.c (TEST_NAME): Likewise.
13134 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13135 * string/test-strcasestr.c (TEST_NAME): Likewise.
13136 * string/test-strcat.c (TEST_NAME): Likewise.
13137 * string/test-strchr.c (TEST_NAME): Likewise.
13138 * string/test-strcmp.c(TEST_NAME): Likewise.
13139 * string/test-strcpy.c (TEST_NAME): Likewise.
13140 * string/test-strcspn.c (TEST_NAME): Likewise.
13141 * string/test-strlen.c (TEST_NAME): Likewise.
13142 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13143 * string/test-strncmp.c (TEST_NAME): Likewise.
13144 * string/test-strncpy.c (TEST_NAME): Likewise.
13145 * string/test-strnlen.c (TEST_NAME): Likewise.
13146 * string/test-strpbrk.c (TEST_NAME): Likewise.
13147 * string/test-strrchr.c (TEST_NAME): Likewise.
13148 * string/test-strspn.c (TEST_NAME): Likewise.
13149 * string/test-strstr.c (TEST_NAME): Likewise.
13150 * string/test-bcopy-ifunc.c: New file.
13151 * string/test-bzero-ifunc.c: Likewise.
13152 * string/test-memccpy-ifunc.c: Likewise.
13153 * string/test-memchr-ifunc.c: Likewise.
13154 * string/test-memcmp-ifunc.c: Likewise.
13155 * string/test-memcpy-ifunc.c: Likewise.
13156 * string/test-memmem-ifunc.c: Likewise.
13157 * string/test-memmove-ifunc.c: Likewise.
13158 * string/test-mempcpy-ifunc.c: Likewise.
13159 * string/test-memset-ifunc.c: Likewise.
13160 * string/test-rawmemchr-ifunc.c: Likewise.
13161 * string/test-stpcpy-ifunc.c: Likewise.
13162 * string/test-stpncpy-ifunc.c: Likewise.
13163 * string/test-strcasecmp-ifunc.c: Likewise.
13164 * string/test-strcasestr-ifunc.c: Likewise.
13165 * string/test-strcat-ifunc.c: Likewise.
13166 * string/test-strchr-ifunc.c: Likewise.
13167 * string/test-strchrnul-ifunc.c: Likewise.
13168 * string/test-strcmp-ifunc.c: Likewise.
13169 * string/test-strcpy-ifunc.c: Likewise.
13170 * string/test-strcspn-ifunc.c: Likewise.
13171 * string/test-strlen-ifunc.c: Likewise.
13172 * string/test-strncasecmp-ifunc.c: Likewise.
13173 * string/test-strncat-ifunc.c: Likewise.
13174 * string/test-strncmp-ifunc.c: Likewise.
13175 * string/test-strncpy-ifunc.c: Likewise.
13176 * string/test-strnlen-ifunc.c: Likewise.
13177 * string/test-strpbrk-ifunc.c: Likewise.
13178 * string/test-strrchr-ifunc.c: Likewise.
13179 * string/test-strspn-ifunc.c: Likewise.
13180 * string/test-strstr-ifunc.c: Likewise.
13182 * debug/Makefile (tests-ifunc): New variable.
13183 (tests): Add $(tests-ifunc).
13184 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13185 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13186 * debug/test-stpcpy_chk-ifunc.c: New file.
13187 * debug/test-strcpy_chk-ifunc.c: Likewise.
13189 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13192 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13193 header is not read in.
13195 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13197 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13198 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13199 directly. Pass built executable to script as
13200 $(built-program-cmd).
13201 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13202 $testprogram without using LD_LIBRARY_PATH and $ldso.
13204 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13205 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13206 $(rtld-installed-name).
13207 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13208 (rtld_installed_name): Likewise.
13209 (library_path): Likewise.
13210 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13211 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13212 $(run-program-prefix) to tst-tables.sh.
13213 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13214 it to run tst-table-from and tst-table-to.
13215 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13216 Pass it to tst-table.sh.
13217 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13218 $(run-program-prefix) to tst-gettext.sh.
13219 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13221 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13223 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13224 to run tst-gettext.
13225 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13226 to run tst-gettext2.
13227 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13228 to run tst-translit.
13229 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13230 $(run-program-prefix) to tst-mtrace.sh.
13231 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13233 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13234 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13235 $(rtld-installed-name).
13236 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13237 (rtld_installed_name): Likewise.
13238 (run_program_prefix): New variable. Use it to run wordexp-test.
13240 * Makeconfig (ARCH): Remove all definitions.
13241 (machine): Likewise.
13242 [ARCH]: Remove conditional code.
13243 [!objdir]: Give error.
13244 [!objdir] (objpfx): Remove.
13245 [!objdir] (common-objpfx): Likewise.
13246 [!objdir] (common-objdir): Likewise.
13247 * configure.in (config_makefile): Remove. Hardcode Makefile in
13248 AC_CONFIG_FILES call.
13249 * configure: Regenerated.
13252 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13254 (testout): Likewise.
13256 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13257 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13258 $(rtld-installed-name).
13259 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13260 (rtld_installed_name): Likwise.
13261 (runit): Remove function.
13262 (run_getconf): New variable, Use it for running getconf binary.
13264 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13267 * string/test-memmem.c (check_result): New function.
13268 (do_one_test): Use it.
13269 (check1): New function.
13270 (test_main): Use it.
13272 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13274 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13276 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13278 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13279 (_G_LSEEK64): Likewise.
13280 (_G_MMAP64): Likewise.
13281 (_G_FSTAT64): Likewise.
13282 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13283 (_G_LSEEK64): Likewise.
13284 (_G_MMAP64): Likewise.
13285 (_G_FSTAT64): Likewise.
13286 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13287 unconditional. Call __mmap64 directly.
13288 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13289 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13290 __lseek64 directly.
13291 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13292 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13294 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13295 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13296 __lseek64 directly.
13297 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13298 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13299 __lseek64 directly.
13300 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13301 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13302 __lseek64 directly.
13303 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13304 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13305 __fxstat64 directly.
13306 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13307 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13309 (freopen64) [!_G_OPEN64]: Remove conditional code.
13310 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13312 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13313 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13315 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13316 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13318 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13319 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13321 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13322 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13324 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13325 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13327 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13328 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13330 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13332 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13335 * manual/memory.texi (Malloc Tunable Parameters): Add note
13336 about free list pointers overwriting some perturb bytes.
13337 Wording suggested by Roland McGrath.
13339 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13341 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13342 (lgamma_test): Likewise.
13343 (tgamma_test): Likewise.
13345 2012-10-16 Florian Weimer <fweimer@redhat.com>
13348 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13349 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13351 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13353 * NEWS: Mention BZ #14716.
13354 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13355 when removing AVAILABLE1_USES_J macro.
13357 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13359 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13360 (__bswap_64): __uint64_t for unsigned 64-bit int.
13362 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13364 * include/string.h (memmem): Declare libc hidden alias.
13365 * string/memmem.c (memmem): Define libc hidden alias.
13366 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13367 __read, __close instead of open, read, close.
13369 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13372 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13374 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13375 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13376 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13378 (__rawmemchr_sse2): Likewise.
13379 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13380 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13381 (__strchr_sse2): Likewise.
13382 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13383 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13384 (__strcasecmp_sse2): Likewise.
13385 (__strncasecmp_sse2): Likewise.
13386 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13387 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13388 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13389 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13390 (__strrchr_sse2): Likewise.
13391 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13393 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13394 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13395 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13396 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13397 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13398 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13399 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13400 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13401 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13402 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13403 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13404 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13405 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13406 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13407 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13408 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13409 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13410 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13411 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13412 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13413 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13414 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13415 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13416 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13417 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13418 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13419 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13420 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13421 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13422 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13424 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13426 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13427 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13428 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13429 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13431 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13433 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13434 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13435 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13436 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13438 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13439 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13441 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13442 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13443 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13444 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13445 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13446 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13447 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13448 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13449 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13450 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13451 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13452 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13454 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13455 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13456 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13457 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13458 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13459 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13461 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13462 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13463 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13464 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13465 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13466 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13467 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13468 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13469 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13470 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13471 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13472 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13473 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13474 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13475 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13476 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13477 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13478 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13480 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13481 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13482 * include/ifunc-impl-list.h: New file.
13483 * misc/ifunc-impl-list.c: Likewise.
13484 * misc/Makefile (routines): Add ifunc-impl-list.
13485 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13486 * string/test-string.h: Include <ifunc-impl-list.h>.
13487 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13488 impl_array): New variables.
13489 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13491 (test_init): Call __libc_ifunc_impl_list to initialize
13492 func_list if TEST_IFUNC and TEST_NAME are defined.
13494 * string/Makefile (strop-tests): Add bcopy and bzero.
13495 * string/test-bcopy.c: New file.
13496 * string/test-bzero.c: Likewise.
13497 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13499 * string/test-memset.c: Support bzero test if TEST_BZERO is
13501 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13503 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13505 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13508 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13510 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13511 * configure: Regenerated.
13513 * Makeconfig (+link-static-before-libc): Don't include
13514 $(link-static-libc).
13516 * libio/libio.h (_IO_pos_t): Remove.
13518 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13520 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13523 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13525 * crypt/crypt-entry.c: Include fips-private.h.
13526 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13527 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13528 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13529 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13531 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13533 * crypt/crypt-private.h: Include stdbool.h.
13534 (_ufc_setup_salt_r): Return bool.
13535 * crypt/crypt-entry.c: Include errno.h.
13536 (__crypt_r): Return NULL with EINVAL for bad salt.
13537 * crypt/crypt_util.c (bad_for_salt): New.
13538 (_ufc_setup_salt_r): Check that salt is long enough and within
13539 the specified alphabet.
13540 * crypt/badsalttest.c: New file.
13541 * crypt/Makefile (tests): Add it.
13542 ($(objpfx)badsalttest): New.
13544 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13546 * NEWS: Add entry for BZ #14602.
13548 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13550 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13552 * math/libm-test.inc: Update comment listing what functions and
13554 (isgreater_test): New function.
13555 (isgreaterequal_test): Likewise.
13556 (isless_test): Likewise.
13557 (islessequal_test): Likewise.
13558 (islessgreater_test): Likewise.
13559 (isunordered_test): Likewise.
13560 (main): Call the new functions.
13562 2012-10-09 Roland McGrath <roland@hack.frob.com>
13564 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13565 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13566 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13567 * sysdeps/i386/configure: Regenerated.
13568 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13569 * sysdeps/mach/configure: Regenerated.
13570 * sysdeps/mach/hurd/configure: Regenerated.
13571 * sysdeps/powerpc/configure: Regenerated.
13572 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13573 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13574 * sysdeps/s390/s390-32/configure: Regenerated.
13575 * sysdeps/s390/s390-64/configure: Regenerated.
13576 * sysdeps/sh/configure: Regenerated.
13577 * sysdeps/sparc/configure: Regenerated.
13578 * sysdeps/unix/sysv/linux/configure: Regenerated.
13579 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13580 * sysdeps/x86_64/configure: Regenerated.
13582 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13583 defined. Don't check if MAP is NULL.
13585 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13587 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13588 (_G_stat64): Likewise.
13589 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13590 (_G_stat64): Likewise.
13591 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13592 instead of struct _G_stat64.
13593 * libio/fileops.c (mmap_remap_check): Likewise.
13594 (decide_maybe_mmap): Likewise.
13595 (_IO_new_file_seekoff): Likewise.
13596 (_IO_file_stat): Likewise.
13597 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13599 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13600 instead of struct _G_stat64.
13601 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13603 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13606 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13608 (CHECK_EOL): New macro.
13609 (two_way_short_needle): Check beginning of haystack for EOL. Use
13611 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13612 Replace with CHECK_EOL.
13613 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13614 Replace with CHECK_EOL.
13616 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13618 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13620 * math/libm-test.inc: Update comment listing what functions and
13622 (finite_test): New function.
13623 (isinf_test): Likewise.
13624 (isnan_test): Likewise.
13625 (fpclassify_test): Test subnormal input.
13626 (isfinite_test): Likewise.
13627 (isnormal_test): Likewise.
13628 (main): Call the new functions.
13630 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13633 * Makerules (%.dynsym): Force C locale when running
13634 $(OBJDUMP) --dynamic-syms.
13636 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13638 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13641 2012-10-06 David S. Miller <davem@davemloft.net>
13643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13644 upper 32-bits of the length value in %o2 since we use branch-on-register
13645 tests which consider the entire 64-bit register.
13647 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13649 * string/test-strstr.c (check2): Add a test for page boundary.
13651 2012-10-05 David S. Miller <davem@davemloft.net>
13653 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13654 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13656 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13658 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13659 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13660 and bzero when HWCAP_SPARC_CRYPTO is present.
13662 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13665 * string/test-strstr.c (check2): New function.
13666 (test_main): Call check2.
13668 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13670 * string/bug-strcasestr1.c (do_test): Moved to ...
13671 * string/test-strcasestr.c (check1): Here. New function.
13672 (do_one_test): Break out result checking code into ...
13673 (check_result): This. New function.
13674 (do_one_test): Call check_result.
13675 (test_main): Call check1.
13676 * string/bug-strchr1.c (do_test): Moved to ...
13677 * string/test-strchr.c (check1): Here. New function.
13678 (do_one_test): Break out result checking code into ...
13679 (check_result): This. New function.
13680 (do_one_test): Call check_result.
13681 (test_main): Call check1.
13682 * string/bug-strstr1.c (main): Moved to ...
13683 * string/test-strstr.c (check1): Here. New function.
13684 (do_one_test): Break out result checking code into ...
13685 (check_result): This. New function.
13686 (do_one_test): Call check_result.
13687 (test_main): Call check1.
13688 * string/bug-strcasestr1.c: Removed.
13689 * string/bug-strchr1.c: Likewise.
13690 * string/bug-strstr1.c: Likewise.
13692 * elf/Makefile (dl-routines): Add hwcaps.
13693 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13694 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13695 (_dl_important_hwcaps): Moved to ...
13696 * elf/dl-hwcaps.c: Here. New file.
13697 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13700 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13701 if IS_IN_rtld isn't defined.
13703 * elf/dl-support.c (_dl_sysinfo_map): New.
13704 Include "get-dynamic-info.h" and "setup-vdso.h".
13705 (_dl_non_dynamic_init): Call setup_vdso.
13706 * elf/dynamic-link.h: Don't include <assert.h>.
13707 (elf_get_dynamic_info): Moved to ...
13708 * elf/get-dynamic-info.h: Here. New file.
13709 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13710 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13711 * elf/setup-vdso.h: Here. New file.
13712 * elf/rtld.c: Include "setup-vdso.h".
13713 (dl_main): Call setup_vdso.
13715 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13717 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13718 creal in comment listing functions tested. List finite, isinf,
13719 isnan, isless, islessequal, isgreater, isgreaterequal,
13720 islessgreater, isunordered, lgamma_r and pow10 as functions and
13721 macros not tested. Mention which functions not tested are aliases
13722 for other functions. Fix typo. Note that signs of NaNs are not
13725 * scripts/config.guess: Update from config.git.
13726 * scripts/config.sub: Likewise.
13728 2012-10-04 Roland McGrath <roland@hack.frob.com>
13730 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13731 * misc/madvise.c (madvise): Renamed to __madvise.
13732 Make madvise a weak alias.
13733 * include/sys/mman.h: Declare __madvise.
13734 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13735 * sysdeps/unix/syscalls.list
13736 (madvise): Make __madvise the strong name, and madvise a weak alias.
13737 * sysdeps/unix/sysv/linux/syscalls.list
13738 (madvise, mmap): Remove redundant entries.
13739 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13740 * malloc/malloc.c (mtrim): Likewise.
13741 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13743 2012-10-03 Roland McGrath <roland@hack.frob.com>
13745 * sysdeps/mach/hurd/dl-cache.c: File removed.
13746 * config.h.in (USE_LDCONFIG): New #undef.
13747 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13748 * configure: Regenerated.
13749 * elf/Makefile (dl-routines): Add dl-cache only under
13750 [$(use-ldconfig) = yes].
13751 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13752 cache on [USE_LDCONFIG].
13753 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13755 * elf/rtld.c (dl_main): Likewise.
13757 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13759 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13760 _SC_LEVEL4_CACHE_LINESIZE.
13762 2012-10-03 Roland McGrath <roland@hack.frob.com>
13764 * sysdeps/unix/bsd/confstr.h: File removed.
13766 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13768 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13771 2012-10-02 Roland McGrath <roland@hack.frob.com>
13773 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13774 Make 'mapoff' field ElfW(Off) rather than off_t.
13776 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13778 * nscd/Makefile: Remove nscd-cflags and all its users.
13779 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13780 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13783 * malloc.c (malloc_printerr): Clarify error message.
13785 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13789 Set bit_FMA_Usable if FMA is supported.
13790 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13792 (bit_FMA4_Usable): Updated.
13793 (index_FMA_Usable): New macro.
13794 (CPUID_FMA): Likewise
13795 (HAS_FMA): Defined with bit_FMA_Usable.
13797 2012-10-01 Roland McGrath <roland@hack.frob.com>
13799 * bits/types.h (__swblk_t): Type removed.
13800 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13801 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13803 (__SWBLK_T_TYPE): Likewise.
13804 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13805 (__SWBLK_T_TYPE): Likewise.
13806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13807 (__SWBLK_T_TYPE): Likewise.
13808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13809 (__SWBLK_T_TYPE): Likewise.
13811 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13812 Honza Horak <hhorak@redhat.com>
13814 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13815 (xdr_mapname): Use YPMAXMAP as maxsize.
13816 (xdr_peername): Use YPMAXPEER as maxsize.
13817 (xdr_keydat): Use YPAXRECORD as maxsize.
13818 (xdr_valdat): Use YPMAXRECORD as maxsize.
13820 2012-10-01 Roland McGrath <roland@hack.frob.com>
13822 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13824 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13825 * csu/init-first.c: ... here.
13826 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13827 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13828 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13829 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13830 * sysdeps/i386/init-first.c: File removed.
13831 * sysdeps/sh/init-first.c: File removed.
13833 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13837 if x * y might underflow to zero and z is zero.
13838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13840 * math/libm-test.inc (min_subnorm_value): New variable.
13841 (fma_test): Add more tests.
13842 (fma_test_towardzero): Likewise.
13843 (fma_test_downward): Likewise
13844 (fma_test_upward): Likewise.
13845 (initialize): Set min_subnorm_value.
13847 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13853 mode for addition resulting in exact zero.
13854 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13859 * math/libm-test.inc (fma_test): Add more tests.
13860 (fma_test_towardzero): New function.
13861 (fma_test_downward): Likewise.
13862 (fma_test_upward): Likewise.
13863 (main): Call the new functions.
13865 2012-09-28 David S. Miller <davem@davemloft.net>
13867 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13869 2012-09-28 Roland McGrath <roland@hack.frob.com>
13871 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13872 instead of SIGALRM.
13874 * sysdeps/gnu/_G_config.h: Moved to ...
13875 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13876 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13877 * sysdeps/generic/_G_config.h: ... here.
13879 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13881 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13883 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13884 Conditionalize target on [libnss_test1.so-version].
13886 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13888 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13889 (elfobjdir): Move out of conditionals.
13891 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13892 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13893 (__nss_lookup_function): Conditionalize label remove_from_tree on
13894 [!DO_STATIC_NSS || SHARED], matching its only use.
13896 2012-09-28 David S. Miller <davem@davemloft.net>
13898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13899 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13901 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13903 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13905 when HWCAP_SPARC_CRYPTO is present.
13907 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13909 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13911 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13914 * stdio-common/vfprintf.c (process_string_arg): Revert
13917 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13919 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13921 * stdio-common/tst-sprintf.c: Include <locale.h>
13922 (main): Test sprintf's handling of incomplete multibyte
13925 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13927 * elf/dl-runtime.c (VERSYMIDX): Removed.
13928 * elf/dl-version.c (VERSYMIDX): Likewise.
13929 * elf/do-rel.h (VERSYMIDX): Likewise.
13930 (VALIDX): Likewise.
13931 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13932 * elf/rtld.c (VALIDX): Likewise.
13933 (ADDRIDX): Likewise.
13934 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13935 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13936 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13937 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13938 (VALIDX): Likewise.
13939 (ADDRIDX): Likewise.
13941 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13943 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13945 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13948 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13950 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13951 addresses are in the same scope as 192.0.2/24.
13952 * posix/gai.conf: Document new scope table defaults.
13954 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13957 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13958 for ftell. Compute offsets from write pointers instead.
13959 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13961 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13964 * libio/Makefile (tests): New test case tst-fseek.
13965 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13966 combination works in wide mode.
13967 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13968 state when the external buffer state changes.
13970 2012-09-27 David S. Miller <davem@davemloft.net>
13973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13974 pass reloc->r_addend in as the 'high' argument to
13975 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13979 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13981 * rt/tst-aio2.c: Include <pthread.h>.
13982 * rt/tst-aio3.c: Likewise.
13984 2012-09-27 Steve Ellcey <sellcey@mips.com>
13986 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13988 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13990 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13991 contents on [SHARED].
13993 2012-09-26 Marek Polacek <polacek@redhat.com>
13997 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13998 for C++ and GCC <4.3 as well as for non GCC compilers.
14000 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14004 2012-09-25 Roland McGrath <roland@hack.frob.com>
14006 * Makefile.in (all, install): Declare with .PHONY.
14007 Reported by Michael Hope <michael.hope@linaro.org>.
14009 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14011 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14012 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14014 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14016 (sydep_routines): Add the new and the internal functions.
14017 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14018 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14020 (GLIBC_2.17): Add the new function.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14022 (GLIBC_2.17): Likewise.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14024 (GLIBC_2.17): Likewise.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14026 (GLIBC_2.17): Likewise.
14027 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14029 2012-09-25 Alan Modra <amodra@gmail.com>
14031 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14032 Add release barrier before setting once_control to say
14033 initialisation is done. Add hints on lwarx. Use macro in
14035 (clear_once_control): Add release barrier.
14037 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14040 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14042 * math/s_clog10.c (__clog10): Likewise.
14043 * math/s_clog10f.c (__clog10f): Likewise.
14044 * math/s_clog10l.c (__clog10l): Likewise.
14045 * math/s_clogf.c (__clogf): Likewise.
14046 * math/s_clogl.c (__clogl): Likewise.
14047 * math/Makefile (libm-calls): Add x2y2m1.
14048 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14049 (__x2y2m1): Likewise.
14050 (__x2y2m1l): Likewise.
14051 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14052 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14055 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14056 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14057 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14058 * sysdeps/i386/fpu/libm-test-ulps: Update.
14059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14062 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14063 int as type of variable DEPTH.
14064 (glob): Use size_t instead of int as type of variables NEWCOUNT
14067 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14069 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14070 Add s_sincosf-sse2.
14071 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14072 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14073 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14074 macros for using routine as __sincosf_ia32.
14075 Use macro for function declaration and weak_alias.
14076 * sysdeps/i386/fpu/libm-test-ulps: Update.
14078 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14081 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14082 subnormal argument.
14083 * math/s_cexpf.c (__cexpf): Likewise.
14084 * math/s_csinf.c (__csinf): Likewise.
14085 * math/s_csinhf.c (__csinhf): Likewise.
14086 * math/s_ctanf.c (__ctanf): Likewise.
14087 * math/s_ctanhf.c (__ctanhf): Likewise.
14088 * math/s_ccosh.c (__ccoshf): Likewise.
14089 * math/s_cexp.c (__cexpl): Likewise.
14090 * math/s_csin.c (__csin): Likewise.
14091 * math/s_csinh.c (__csinh): Likewise.
14092 * math/s_ctan.c (__ctan): Likewise.
14093 * math/s_ctanh.c (ctanh): Likewise.
14094 * math/s_ccoshl.c (__ccoshl): Likewise.
14095 * math/s_cexpl.c (__cexpl): Likewise.
14096 * math/s_csinl.c (__csinl): Likewise.
14097 * math/s_csinhl.c (__csinhl): Likewise.
14098 * math/s_ctanl.c (__ctanl): Likewise.
14099 * math/s_ctanhl.c (__ctanhl): Likewise.
14101 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14103 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14104 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14105 (_IO_off_t): Define to __off_t, not _G_off_t.
14106 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14107 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14108 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14109 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14110 type of __dummy and __dummy2 fields.
14111 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14112 (_G_ssize_t): Likewise.
14113 (_G_off_t): Likewise.
14114 (_G_pid_t): Likewise.
14115 (_G_uid_t): Likewise.
14116 (_G_wchar_t): Likewise.
14117 (_G_wint_t): Likewise.
14118 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14119 (_G_ssize_t): Likewise.
14120 (_G_off_t): Likewise.
14121 (_G_pid_t): Likewise.
14122 (_G_uid_t): Likewise.
14123 (_G_wchar_t): Likewise.
14124 (_G_wint_t): Likewise.
14125 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14126 (_G_ssize_t): Likewise.
14127 (_G_off_t): Likewise.
14128 (_G_pid_t): Likewise.
14129 (_G_uid_t): Likewise.
14130 (_G_wchar_t): Likewise.
14131 (_G_wint_t): Likewise.
14133 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14135 * malloc/arena.c: Include malloc-sysdep.h.
14136 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14137 is sufficient to shrink the heap or an unmap is needed.
14138 * sysdeps/generic/malloc-sysdep.h: New file. Define
14139 new function check_may_shrink_heap.
14140 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14141 new function check_may_shrink_heap.
14143 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14145 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14148 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14150 * catgets/test-gencat.sh: Add "set -e".
14151 * elf/tst-pathopt.sh: Likewise.
14152 * grp/tst_fgetgrent.sh: Likewise.
14153 * iconvdata/run-iconv-test.sh: Likewise.
14154 * intl/tst-gettext.sh: Likewise.
14155 * intl/tst-gettext2.sh: Likewise.
14156 * intl/tst-gettext4.sh: Likewise.
14157 * intl/tst-gettext6.sh: Likewise.
14158 * intl/tst-translit.sh: Likewise.
14159 * io/ftwtest-sh: Likewise.
14160 * libio/test-freopen.sh: Likewise.
14161 * malloc/tst-mtrace.sh: Likewise.
14162 * posix/globtest.sh: Likewise.
14163 * posix/tst-getconf.sh: Likewise.
14164 * posix/wordexp-tst.sh: Likewise.
14165 * stdio-common/tst-printf.sh: Likewise.
14166 * stdio-common/tst-unbputc.sh: Likewise.
14167 * stdlib/tst-fmtmsg.sh: Likewise.
14168 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14169 * catgets/Makefile: Do not specify -e option when running
14170 testsuite shell scripts.
14171 * elf/Makefile: Likewise.
14172 * grp/Makefile: Likewise.
14173 * iconvdata/Makefile: Likewise.
14174 * intl/Makefile: Likewise.
14175 * io/Makefile: Likewise.
14176 * libio/Makefile: Likewise.
14177 * malloc/Makefile: Likewise.
14178 * posix/Makefile: Likewise.
14179 * stdio-common/Makefile: Likewise.
14180 * stdlib/Makefile: Likewise.
14181 * sysdeps/x86_64/Makefile: Likewise.
14183 * io/ftwtest-sh: Add copyright header.
14184 * posix/globtest.sh: Likewise.
14185 * posix/tst-getconf.sh: Likewise.
14186 * posix/wordexp-tst.sh: Likewise.
14187 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14189 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14192 * Makeconfig (+link): Defined as $(+link-static) if
14193 $(build-shared) isn't yes.
14194 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14196 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14198 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14201 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14202 new chunk size with MALLOC_ALIGN_MASK.
14204 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14207 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14209 (__printf_fphex): Determine rounding using get_rounding_mode and
14211 * stdio-common/tst-printf-round.c (struct hex_test): New
14213 (hex_tests): New variable.
14214 (test_hex_in_one_mode): New function.
14215 (do_test): Also run tests for hex float output.
14217 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14219 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14220 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14221 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14222 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14223 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14224 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14225 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14226 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14228 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14230 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14231 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14232 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14233 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14235 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14238 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14240 * elf/tst-rtld-load-self.sh: New test.
14241 * elf/Makefile: Run it.
14243 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14245 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14246 (tst-writev-ENV): Remove.
14247 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14249 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14251 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14253 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14255 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14257 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14259 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14260 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14261 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14264 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14267 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14268 * config.make.in (have-cpp-asm-debuginfo): Removed.
14269 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14270 * configure: Regenerated.
14272 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14275 * stdio-common/printf_fp.c: Include <stdbool.h> and
14277 (___printf_fp): Determine rounding using get_rounding_mode and
14279 * stdio-common/tst-printf-round.c: New file.
14280 * stdio-common/Makefile (tests): Add tst-printf-round.
14281 (link-libm): New variable.
14282 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14284 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14287 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14288 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14290 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14293 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14295 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14296 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14297 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14298 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14300 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14303 * include/rounding-mode.h: New file.
14304 * sysdeps/generic/get-rounding-mode.h: Likewise.
14305 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14306 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14307 (MAX_VALUE): New macro.
14308 (MIN_VALUE): Likewise.
14309 (overflow_value): New function.
14310 (underflow_value): Likewise.
14311 (round_and_return): Use overflow_value and underflow_value to
14312 determine return values in overflow and underflow cases. Use
14313 round_away to determine rounding depending on rounding mode.
14314 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14315 determine return values in overflow and underflow cases.
14316 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14317 (struct test_results): New structure.
14318 (struct test): Use struct test_results to store expected results
14319 for all rounding modes.
14320 (TEST): Include expected results for all rounding modes.
14321 (test_in_one_mode): New function.
14322 (do_test): Use test_in_one_mode to compute and check results.
14323 Check results for all rounding modes.
14324 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14327 2012-12-09 Allan McRae <allan@archlinux.org>
14329 * sysdeps/i386/fpu/libm-test-ulps: Update
14331 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14333 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14334 (_G_int32_t): Likewise.
14335 (_G_uint16_t): Likewise.
14336 (_G_uint32_t): Likewise.
14337 (_G_HAVE_BOOL): Likewise.
14338 (_G_HAVE_ATEXIT): Likewise.
14339 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14340 (_G_HAVE_IO_FILE_OPEN): Likewise.
14341 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14342 (_G_int32_t): Likewise.
14343 (_G_uint16_t): Likewise.
14344 (_G_uint32_t): Likewise.
14345 (_G_HAVE_BOOL): Likewise.
14346 (_G_HAVE_ATEXIT): Likewise.
14347 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14348 (_G_HAVE_IO_FILE_OPEN): Likewise.
14349 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14350 (_G_int32_t): Likewise.
14351 (_G_uint16_t): Likewise.
14352 (_G_uint32_t): Likewise.
14353 (_G_HAVE_BOOL): Likewise.
14354 (_G_HAVE_ATEXIT): Likewise.
14355 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14356 (_G_HAVE_IO_FILE_OPEN): Likewise.
14358 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14360 * csu/libc-tls.c: Update copyright years.
14362 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14364 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14365 [!_G_USING_THUNKS]: Remove conditional code.
14366 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14367 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14369 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14370 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14371 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14372 (_G_VTABLE_LABEL_PREFIX): Likewise.
14373 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14374 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14375 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14376 (_G_VTABLE_LABEL_PREFIX): Likewise.
14377 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14378 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14380 (_G_VTABLE_LABEL_PREFIX): Likewise.
14381 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14383 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14385 * libio/Makefile: Include ../Makeconfig before tests.
14386 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14387 only if $(build-shared) is yes.
14389 * iconv/gconv_db.c: Update copyright years.
14391 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14393 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14394 unwind info if defined PIC. Fix special cases description.
14395 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14397 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14399 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14401 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14403 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14405 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14408 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14409 (LDLIBS-tst-chk4): This.
14410 (LDFLAGS-tst-chk5): Renamed to ...
14411 (LDLIBS-tst-chk5): This.
14412 (LDFLAGS-tst-chk6): Renamed to ...
14413 (LDLIBS-tst-chk6): This.
14414 (LDFLAGS-tst-lfschk4): Renamed to ...
14415 (LDLIBS-tst-lfschk4): This.
14416 (LDFLAGS-tst-lfschk5): Renamed to ...
14417 (LDLIBS-tst-lfschk5): This.
14418 (LDFLAGS-tst-lfschk6): Renamed to ...
14419 (LDLIBS-tst-lfschk6): This.
14421 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14422 on $(common-objpfx)soversions.mk.
14424 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14427 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14430 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14432 * malloc/arena.c (arena_get_retry): New function that gets
14433 another arena for the caller to try its request on.
14434 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14435 current arena cannot fulfill the request.
14436 (__libc_memalign): Likewise.
14437 (__libc_memalign): Likewise.
14438 (__libc_pvalloc): Likewise.
14439 (__libc_calloc): Likewise.
14441 2012-09-05 John Tobey <john.tobey@gmail.com>
14444 * manual/arith.texi (Operations on Complex): Fix description
14445 of carg branch cut.
14447 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14450 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14454 * manual/memory.texi (Memory): Make order of menu items match
14457 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14459 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14460 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14461 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14463 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14465 * csu/libc-tls.c (static_dtv): Renamed to ...
14466 (_dl_static_dtv): This. Make it global.
14467 (_dl_initial_dtv): Removed.
14468 (__libc_setup_tls): Updated.
14469 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14470 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14473 2012-09-06 Petr Machata <pmachata@redhat.com>
14475 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14476 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14477 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14478 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14480 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14483 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14484 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14487 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14490 * Makeconfig (link-static-before-libc): Replace $(+prector)
14492 (link-static-after-libc): Replace $(+postctor) with
14494 (link-bounded): Replace $(+prector)/$(+postctor) with
14495 $(+prectorT)/$(+postctorT).
14496 (+prectorT): New macro.
14497 (+postctorT): Likewise.
14499 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14501 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14502 (round_str): Handle values above the maximum for IBM long double
14504 * stdlib/tst-strtod-round.c (tests): Regenerated.
14506 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14508 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14510 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14511 zarch_nohighgprs around the zarch optimized routines.
14512 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14513 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14514 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14517 2012-09-05 David S. Miller <davem@davemloft.net>
14519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14521 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14522 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14523 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14524 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14527 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14529 * malloc/arena.c: Fold copyright years.
14530 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14532 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14534 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14536 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14538 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14540 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14542 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14543 change internal state upon failure.
14545 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14547 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14548 * malloc/memusage.c (mmap): Likewise.
14549 (mmap64, mremap): Likewise. Adjust name in comment.
14551 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14553 * libio/fileops.c: Fix typos in comments.
14554 * libio/oldfileops.c: Likewise.
14555 * libio/wfileops.c: Likewise.
14557 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14560 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14561 (tst-malloc-usable-ENV): Set environment for test case.
14562 * malloc/hooks.c (malloc_check_get_size): New function to get
14564 * malloc/malloc.c (musable): Use malloc_check_get_size.
14565 * malloc/tst-malloc-usable.c: New test case.
14567 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14569 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14571 2012-09-05 Allan McRae <allan@archlinux.org>
14574 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14575 determine header location.
14576 * configure: Regenerated.
14578 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14580 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14582 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14583 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14585 (test): Regenerate.
14587 2012-09-04 David S. Miller <davem@davemloft.net>
14589 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14590 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14591 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14593 2012-09-04 Florian Weimer <fweimer@redhat.com>
14595 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14598 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14600 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14603 * libio/iogetdelim.c: Include <limits.h>.
14604 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14605 + len + 1 would overflow.
14607 2012-09-03 Andreas Jaeger <aj@suse.de>
14609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14610 * sysdeps/i386/fpu/libm-test-ulps: Update.
14612 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14614 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14615 Add s_sinf-sse2, s_conf-sse2.
14617 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14618 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14619 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14620 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14622 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14623 for using routine as __sinf_ia32.
14624 Use macro for function declaration and weak_alias.
14625 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14626 for using routine as __cosf_ia32.
14627 Use macro for function declaration and weak_alias.
14629 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14630 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14632 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14633 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14636 * math/libm-test.inc (cos_test): Add more test cases.
14637 (sin_test): Likewise.
14638 (sincos_test): Likewise.
14640 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14642 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14643 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14645 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14647 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14650 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14651 first element of the GOT.
14652 (elf_machine_load_address): Return the difference between
14653 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14655 2012-09-01 Allan McRae <allan@archlinux.org>
14658 * configure.in (AWK): Require gawk version 3.0 or later.
14659 * configure: Regenerated.
14661 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14663 * sysdeps/unix/sysv/linux/kernel-features.h
14664 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14666 [__NR_clock_getres]: Make code unconditional.
14667 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14668 (clock_getcpuclockid): Remove code left unreachable by removal of
14670 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14671 code unconditional.
14672 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14673 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14674 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14675 Make code unconditional.
14676 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14677 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14678 * sysdeps/unix/sysv/linux/clock_settime.c
14679 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14681 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14682 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14684 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14687 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14688 scripts/test-installation.pl.
14690 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14691 and $ld_so_version if it is set.
14693 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14697 failure if reading from procfs failed.
14698 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14700 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14702 * sysdeps/unix/sysv/linux/kernel-features.h
14703 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14704 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14705 Remove conditional code.
14706 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14707 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14708 Remove conditional code.
14709 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/i386/fxstat.c
14711 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14713 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14714 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14716 * sysdeps/unix/sysv/linux/i386/lxstat.c
14717 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14719 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14720 Remove conditional code.
14721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14722 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14723 Remove conditional code.
14724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14725 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14726 <kernel-features.h>.
14727 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14729 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14730 Remove conditional code.
14731 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14732 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14733 Remove conditional.
14735 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14738 * NEWS: Add fixed bug number.
14740 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14743 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14744 underflowing exponent in case of negative sign.
14745 * stdlib/tst-strtod-round-data: Add more tests.
14746 * stdlib/tst-strtod-round.c (tests): Regenerated.
14749 * stdlib/strtod_l.c (NDIG): Remove.
14750 (HEXNDIG): Likewise.
14751 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14752 smallest representable value.
14753 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14754 lie within an exact representation of 1/2 ulp of the result.
14755 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14757 (TENS_P9_IDX): Define unconditionally.
14758 (TENS_P9_SIZE): Likewise.
14759 (TENS_P10_IDX): Likewise.
14760 (TENS_P10_SIZE): Likewise.
14761 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14762 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14763 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14764 entries for 10^2^13 and 10^2^14.
14765 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14766 (TENS_P13_IDX): Define.
14767 (TENS_P13_SIZE): Likewise.
14768 (TENS_P14_IDX): Likewise.
14769 (TENS_P14_SIZE): Likewise.
14770 (_fpioconst_pow10): Change array size to
14771 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14773 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14774 1024]: Add entries for 10^2^13 and 10^2^14.
14775 [LAST_POW10 > _LAST_POW10]: Remove #error.
14776 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14777 (_fpioconst_pow10): Change array size to
14778 FPIOCONST_POW10_ARRAY_SIZE.
14779 * stdlib/gen-fpioconst.c: New file.
14780 * stdlib/gen-tst-strtod-round.c: Likewise.
14781 * stdlib/tst-strtod-round-data: Likewise.
14782 * stdlib/tst-strtod-round.c: Likewise.
14783 * stdlib/Makefile (tests): Add tst-strtod-round.
14786 * stdlib/strtod_l.c: Include <stdint.h>.
14787 (NDEBUG): Do not define.
14788 (round_and_return): Change EXPONENT parameter to type intmax_t.
14789 Rearrange calculations to avoid internal overflow possibilities.
14790 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14791 Rearrange calculations to avoid internal overflow possibilities.
14792 Assert that number fits inside MPNSIZE limbs.
14793 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14794 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14795 calculations and add assertions to avoid internal overflow
14796 possibilities. Add casts to avoid signed/unsigned operations.
14797 * stdlib/tst-strtod-overflow.c: New file.
14798 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14800 2012-08-25 Marek Polacek <polacek@redhat.com>
14802 * time/time.h: Fix some typos in comments.
14804 2012-08-23 Roland McGrath <roland@hack.frob.com>
14806 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14807 * posix/tst-rfc3484-2.c: Likewise.
14808 * posix/tst-rfc3484-3.c: Likewise.
14810 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14812 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14813 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14815 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14817 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14818 #include of fxstatat64.c.
14820 2012-08-22 Roland McGrath <roland@hack.frob.com>
14822 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14823 * shadow/getspent_r.c: Likewise.
14824 * shadow/getspnam.c: Likewise.
14825 * shadow/getspnam_r.c: Likewise.
14826 * gshadow/getsgent.c: Likewise.
14827 * gshadow/getsgent_r.c: Likewise.
14828 * gshadow/getsgnam.c: Likewise.
14829 * gshadow/getsgnam_r.c: Likewise.
14830 * inet/getnetbyad.c: Likewise.
14831 * inet/getnetbyad_r.c: Likewise.
14832 * inet/getnetbynm.c: Likewise.
14833 * inet/getnetbynm_r.c: Likewise.
14834 * inet/getnetent.c: Likewise.
14835 * inet/getnetent_r.c: Likewise.
14836 * inet/getproto.c: Likewise.
14837 * inet/getproto_r.c: Likewise.
14838 * inet/getprtent.c: Likewise.
14839 * inet/getprtent_r.c: Likewise.
14840 * inet/getprtname.c: Likewise.
14841 * inet/getprtname_r.c: Likewise.
14842 * inet/getrpcbyname.c: Likewise.
14843 * inet/getrpcbyname_r.c: Likewise.
14844 * inet/getrpcbynumber.c: Likewise.
14845 * inet/getrpcbynumber_r.c: Likewise.
14846 * inet/getrpcent.c: Likewise.
14847 * inet/getrpcent_r.c: Likewise.
14848 * inet/getaliasent.c: Likewise.
14849 * inet/getaliasent_r.c: Likewise.
14850 * inet/getaliasname.c: Likewise.
14851 * inet/getaliasname_r.c: Likewise.
14852 * nscd/getgrgid_r.c: Likewise.
14853 * nscd/getgrnam_r.c: Likewise.
14854 * nscd/gethstbyad_r.c: Likewise.
14855 * nscd/gethstbynm3_r.c: Likewise.
14856 * nscd/getpwnam_r.c: Likewise.
14857 * nscd/getpwuid_r.c: Likewise.
14858 * nscd/getsrvbynm_r.c: Likewise.
14859 * nscd/getsrvbypt_r.c: Likewise.
14860 * nscd/gai.c: Likewise.
14862 * configure.in (build_nscd): New substituted variable, set
14863 by --disable-build-nscd and defaults to $use_nscd.
14864 * configure: Regenerated.
14865 * config.make.in (build-nscd): New substituted variable.
14866 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14867 Change conditional to require [$(build-nscd) = yes] as well.
14868 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14871 * configure.in (use_nscd): New substituted variable, set by
14872 --disable-nscd. If enabled, define USE_NSCD.
14873 * configure: Regenerated.
14874 * config.h.in: Add USE_NSCD.
14875 * config.make.in (use-nscd): New substituted variable.
14876 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14877 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14878 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14879 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14880 (CFLAGS-getgrnam_r.c): Likewise.
14881 (CFLAGS-initgroups.c): Likewise.
14882 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14883 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14885 * inet/getnetgrent_r.c
14886 (nscd_setnetgrent): New function, broken out of ...
14887 (setnetgrent): ... here. Call it.
14888 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14889 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14890 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14891 * nscd/Makefile (routines, aux): Move definitions after include of
14892 Makeconfig. Conditionalize on [$(use-nscd) != no].
14893 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14894 Conditionalize on [USE_NSCD].
14895 (is_nscd, nscd_init_cb): Likewise.
14896 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14897 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14898 * nss/nss_db/db-init.c: Likewise.
14899 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14901 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14902 (make_request): Use it.
14903 (cache_valid_p): New function.
14904 (__check_pf): Use it.
14905 * NEWS: Add item for --disable-nscd.
14907 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14909 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14910 to support sed >= 4.2.1-20-ga9bf076.
14911 * configure: Regenerated.
14913 2012-08-22 Roland McGrath <roland@hack.frob.com>
14915 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14916 Conditionalize whole body on [IREL].
14918 2012-08-22 Jeff Law <law@redhat.com>
14921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14922 if the family is PF_UNSPEC.
14924 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14926 * Makerules (lib-version): Rename from V.
14927 (install-lib-nosubdir): Change V to lib-version.
14929 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14932 * powerpc32/power6/wcschr.c: New file.
14933 * powerpc32/power6/wcscpy.c: New file.
14934 * powerpc32/power6/wcsrchr.c: New file.
14935 * powerpc64/power6/wcschr.c: New file.
14936 * powerpc64/power6/wcscpy.c: New file.
14937 * powerpc64/power6/wcsrchr.c: New file.
14939 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14941 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14942 (two_way_short_needle): Use it.
14943 * string/strstr.c (AVAILABLE1_USES_J): Define.
14944 * string/strcasestr.c: Likewise.
14946 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14948 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14951 * NEWS: Add an entry.
14952 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14953 define their defaults.
14954 (two_way_short_needle): Detect end-of-string on-the-fly.
14955 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14956 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14957 * string/bug-strcasestr1.c: New test.
14958 * string/Makefile: Run it.
14960 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14963 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14964 the first character.
14966 2012-08-21 Roland McGrath <roland@hack.frob.com>
14968 * csu/elf-init.c (__libc_csu_irel): Function removed.
14969 * csu/libc-start.c (apply_irel): New function.
14970 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14972 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14974 * sysdeps/unix/sysv/linux/kernel-features.h
14975 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14976 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14977 <kernel-features.h>.
14978 [__NR_fadvise64_64]: Make code unconditional.
14979 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14980 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14981 !__NR_fadvise64_64)]: Likewise.
14982 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14983 !__NR_fadvise64_64))]: Likewise.
14984 [__NR_fadvise64]: Make code unconditional.
14985 [!__NR_fadvise64]: Remove conditional code.
14986 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14987 <kernel-features.h>.
14988 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14990 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14993 not include <kernel-features.h>.
14994 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14996 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14998 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14999 include <kernel-features.h>.
15000 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15002 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15005 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15008 slight instruction rearrangements per scrollpipe analysis.
15009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15011 2012-08-20 Roland McGrath <roland@hack.frob.com>
15013 * manual/syslog.texi (syslog; vsyslog, closelog):
15014 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15015 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15017 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15018 DSOCAPS to match condition on defining it.
15020 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15022 * sysdeps/unix/sysv/linux/kernel-features.h
15023 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15025 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15026 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15028 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15029 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15031 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15032 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15034 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15035 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15037 * sysdeps/unix/sysv/linux/kernel-features.h
15038 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15039 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15041 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15042 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15043 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15044 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15045 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15046 Make code unconditional.
15047 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15048 (__mmap64) [!__NR_mmap2]: Likewise.
15049 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15050 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15051 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15052 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15053 [__NR_mmap2]: Make code unconditional.
15054 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15055 (__mmap64) [!__NR_mmap2]: Likewise.
15057 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15059 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15061 2012-08-18 Andreas Jaeger <aj@suse.de>
15063 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15065 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15067 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15068 * include/unistd.h (__have_sock_cloexec): Likewise.
15069 (__have_pipe2): Likewise.
15070 (__have_dup3): Likewise.
15072 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15075 * include/unistd.h (__have_pipe2): Change define into an extern int.
15076 (__have_dup3): Likewise.
15077 * socket/have_sock_cloexec.c: Include fcntl.h.
15078 (__have_pipe2): New variable.
15079 (__have_dup3): Likewise.
15081 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15083 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15085 2012-08-17 Marek Polacek <polacek@redhat.com>
15087 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15088 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15090 2012-08-17 Roland McGrath <roland@hack.frob.com>
15092 * configure.in: Add AC_SUBST for sysheaders.
15093 * configure: Regenerated.
15094 * config.make.in (sysheaders): New substituted variable.
15096 * sysdeps/unix/mkfifo.c: Moved ...
15097 * sysdeps/posix/mkfifo.c: ... here.
15098 * sysdeps/unix/mkfifoat.c: Moved ...
15099 * sysdeps/posix/mkfifoat.c: ... here.
15101 * sysdeps/unix/utime.c: Moved ...
15102 * sysdeps/posix/utime.c: ... here.
15104 * sysdeps/unix/time.c: Moved ...
15105 * sysdeps/posix/time.c: ... here.
15106 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15107 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15109 * sysdeps/unix/nice.c: Moved ...
15110 * sysdeps/posix/nice.c: ... here.
15112 * sysdeps/unix/alarm.c: Moved ...
15113 * sysdeps/posix/alarm.c: ... here.
15115 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15117 2012-08-17 Jeff Law <law@redhat.com>
15119 * intl/Makefile (codeset_mo): New variable.
15120 ($(codeset_mo)): New target.
15121 (tst-codeset.out): Depend on that. Remove explicit rule.
15122 (tst-gettext3.out, tst-gettext5.out): Likewise.
15123 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15124 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15125 * intl/tst-codeset.sh: Remove.
15126 * intl/tst-gettext3.sh: Likewise.
15127 * intl/tst-gettext5.sh: Likewise.
15129 2012-08-17 Roland McGrath <roland@hack.frob.com>
15131 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15132 * sysdeps/unix/syscalls.list: ... here.
15134 * sysdeps/posix/getaddrinfo.c
15135 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15136 (gaiconf_init, gaiconf_reload): Use them.
15137 [!_STATBUF_ST_NSEC]
15138 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15139 Define using time_t rather than struct timespec.
15141 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15142 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15144 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15146 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15147 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15150 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15151 __libc_cleanup_push argument.
15153 * bits/param.h: New file.
15154 * misc/sys/param.h: New file.
15155 * include/sys/param.h: New file.
15156 * misc/Makefile (headers): Add bits/param.h.
15157 * sysdeps/generic/sys/param.h: File removed.
15158 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15159 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15160 * sysdeps/mach/hurd/bits/param.h: New file.
15161 * sysdeps/mach/hurd/sys/param.h: File removed.
15163 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15166 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15168 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15169 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15172 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15173 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15174 rather than -D_IO_MTSAFE_IO conditionally.
15175 * stdio-common/Makefile (CPPFLAGS): Likewise.
15176 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15177 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15178 Use $(libio-mtsafe).
15179 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15180 of -D_IO_MTSAFE_IO.
15181 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15182 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15183 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15184 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15185 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15186 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15187 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15188 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15189 (CFLAGS-fread_u_chk.c): Likewise.
15190 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15191 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15192 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15193 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15194 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15195 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15196 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15197 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15198 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15200 * libio/Makefile: Test [$(libc-reentrant) = yes]
15201 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15204 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15205 * sysdeps/pthread/configure: File removed.
15206 * sysdeps/pthread/Makeconfig: New file.
15207 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15208 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15210 2012-08-16 Gary Benson <gbenson@redhat.com>
15212 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15213 unmapping the first object in a namespace.
15215 2012-08-16 Roland McGrath <roland@hack.frob.com>
15217 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15218 (__internal_setnetgrent): ... this. Add internal_function to
15219 definition. Add libc_hidden_def.
15220 (setnetgrent): Update caller.
15221 (internal_endnetgrent): Renamed to ...
15222 (__internal_endnetgrent): ... this. Add internal_function to
15223 definition. Add libc_hidden_def.
15224 (endnetgrent): Update caller.
15225 (internal_getnetgrent_r): Renamed to ...
15226 (__internal_getnetgrent_r): ... this. Add internal_function to
15227 definition. Add libc_hidden_def.
15228 (__getnetgrent_r): Update caller.
15229 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15231 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15233 * stdlib/longlong.h: Update from GCC.
15235 2012-08-16 Roland McGrath <roland@hack.frob.com>
15237 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15238 on _QL, which is set by umul_ppmm but never used.
15239 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15240 variables, which are set by GMP macros but never used.
15241 * stdio-common/_itowa.c (_itowa): Likewise.
15242 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15243 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15245 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15247 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15248 struct La_sh_regs is not constant.
15249 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15250 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15251 and struct La_sparc64_regs are not constant.
15253 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15255 * sysdeps/unix/sysv/linux/kernel-features.h
15256 (__ASSUME_POSIX_TIMERS): Remove.
15257 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15258 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15259 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15260 Make code unconditional.
15261 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15262 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15263 Make code unconditional.
15264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15265 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15266 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15268 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15269 Make code unconditional.
15270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15271 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15272 (__libc_missing_posix_timers): Remove.
15274 2012-08-15 Roland McGrath <roland@hack.frob.com>
15276 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15277 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15279 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15281 * elf/dl-sym.c: Include <stdlib.h>.
15283 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15284 constants, which avoids warnings in 32-bit builds.
15286 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15287 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15289 * misc/lseek.c: File moved to ...
15290 * io/lseek.c: ... here.
15292 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15294 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15295 shifting LEN more than 31 bits at once.
15297 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15300 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15301 segmentation fault for a case of two empty input strings.
15302 * string/test-strncasecmp.c (check1): Renamed to...
15303 (bz12205): ...this.
15304 (bz14195): Add new testcase for two empty input strings and N > 0.
15305 (test_main): Call new testcase, adapt for renamed function.
15307 2012-08-15 Andreas Jaeger <aj@suse.de>
15310 * crypt/md5test2.c: New test, based on test supplied by Serge
15311 Belyshev <belyshev@depni.sinp.msu.ru>.
15312 * crypt/Makefile (xtests): Add md5test-giant..
15313 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15315 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15318 * crypt/md5.c (md5_process_block): Don't assume the buffer
15319 length is less than 2**32.
15320 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15321 length is less than 2**64.
15323 2012-08-15 Roland McGrath <roland@hack.frob.com>
15325 * string/str-two-way.h: Include <sys/param.h>.
15326 (MAX): Macro removed.
15328 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15329 Move #define and #undef of memmove to just before and after
15330 including <string.h>.
15332 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15333 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15334 and after including <string.h>. Move declarations of
15335 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15336 to before #include "string/memmove.c".
15338 * include/dirent.h: Declare __getdirentries.
15340 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15341 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15343 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15345 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15346 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15347 * sysdeps/i386/configure: Regenerated.
15348 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15349 STABS_CURRENT_FILE, and STABS_FUN.
15350 (END): Remove call to STABS_FUN_END.
15351 (STABS_CURRENT_FILE1): Delete.
15352 (STABS_CURRENT_FILE): Likewise.
15353 (STABS_FUN): Likewise.
15354 (STABS_FUN_END): Likewise.
15355 (STABS_FUN2): Likewise.
15356 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15357 * sysdeps/x86_64/configure: Regenerated.
15359 2012-08-14 Roland McGrath <roland@hack.frob.com>
15361 * elf/dl-open.c: Include <atomic.h>.
15362 * elf/dl-lookup.c: Likewise.
15364 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15366 * sysdeps/unix/sysv/linux/kernel-features.h
15367 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15368 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15370 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15372 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15373 condition on __ASSUME_CLONE_THREAD_FLAGS.
15375 2012-08-14 Andreas Jaeger <aj@suse.de>
15377 * sysdeps/i386/fpu/libm-test-ulps: Update.
15379 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15381 * include/atomic.h (atomic_exchange_and_add): Split into ...
15382 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15385 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15389 2012-08-13 Jeff Law <law@redhat.com>
15391 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15392 null byte in the output string.
15394 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15396 * sysdeps/unix/sysv/linux/kernel-features.h
15397 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15398 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15399 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15400 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15401 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15402 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15403 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15405 2012-08-09 Jeff Law <law@redhat.com>
15408 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15409 When avoid_arena is set, don't retry in the that arena. Pick the
15410 next one, whatever it might be.
15411 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15412 (arena_lock): Pass in new parameter to arena_get2.
15413 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15415 (__libc_malloc): Unify retrying after main arena failure with
15416 __libc_memalign version.
15417 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15419 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15422 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15423 to __redirect_strstr.
15424 (__strstr_sse42): Use typeof __redirect_strstr.
15425 (__strstr_ia32): Likewise.
15426 (__libc_strstr): New prototype.
15427 (strstr): Renamed to ...
15428 (__libc_strstr): This.
15429 (strstr): New strong alias of __libc_strstr.
15430 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15431 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15434 (__libc_time): New prototype.
15435 (time_ifunc): Replace time with __libc_time.
15436 (time): New strong alias and hidden definition of __libc_time.
15437 (__GI_time): Remove strong alias.
15438 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15439 Include <stddef.h>.
15440 (memmove): Redefined to __redirect_memmove.
15441 (__memmove_sse2): Use typeof __redirect_memmove.
15442 (__memmove_ssse3): Likewise.
15443 (__memmove_ssse3_back): Likewise.
15444 (__libc_memmove): New prototype.
15445 (memmove): Renamed to ...
15446 (__libc_memmove): This.
15447 (memmove): New strong alias of __libc_memmove.
15449 2012-08-08 Mark Salter <msalter@redhat.com>
15452 (R_MN10300_TLS_GD): Define.
15453 (R_MN10300_TLS_LD): Likewise.
15454 (R_MN10300_TLS_LDO): Likewise.
15455 (R_MN10300_TLS_GOTIE): Likewise.
15456 (R_MN10300_TLS_IE): Likewise.
15457 (R_MN10300_TLS_LE): Likewise.
15458 (R_MN10300_TLS_DTPMOD): Likewise.
15459 (R_MN10300_TLS_DTPOFF): Likewise.
15460 (R_MN10300_TLS_TPOFF): Likewise.
15461 (R_MN10300_SYM_DIFF): Likewise.
15462 (R_MN10300_ALIGN): Likewise.
15463 (R_MN10300_NUM): Update.
15465 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15470 2012-08-08 Roland McGrath <roland@hack.frob.com>
15472 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15474 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15475 sysdeps/unix -> sysdeps/posix move.
15476 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15478 2012-08-07 Allan McRae <allan@archlinux.org>
15481 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15482 (SUNOS_CPP): Likewise.
15483 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15485 (open_input): Call CPP using execvp.
15487 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15489 * sysdeps/unix/sysv/linux/kernel-features.h
15490 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15491 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15492 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15493 (__ASSUME_WAITID_SYSCALL): Likewise.
15494 * sysdeps/unix/sysv/linux/dl-execstack.c
15495 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15496 code unconditional.
15497 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15500 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15501 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15503 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15505 [__ASSUME_WAITID_SYSCALL]: Likewise.
15506 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15508 2012-08-07 Roland McGrath <roland@hack.frob.com>
15510 * sysdeps/unix/closedir.c: Renamed to ...
15511 * sysdeps/posix/closedir.c: ... here.
15512 * sysdeps/unix/dirfd.c: Renamed to ...
15513 * sysdeps/posix/dirfd.c: ... here.
15514 * sysdeps/unix/dirstream.h: Renamed to ...
15515 * sysdeps/posix/dirstream.h: ... here.
15516 * sysdeps/unix/fdopendir.c: Renamed to ...
15517 * sysdeps/posix/fdopendir.c: ... here.
15518 * sysdeps/unix/opendir.c: Renamed to ...
15519 * sysdeps/posix/opendir.c: ... here.
15520 * sysdeps/unix/readdir.c: Renamed to ...
15521 * sysdeps/posix/readdir.c: ... here.
15522 * sysdeps/unix/readdir_r.c: Renamed to ...
15523 * sysdeps/posix/readdir_r.c: ... here.
15524 * sysdeps/unix/rewinddir.c: Renamed to ...
15525 * sysdeps/posix/rewinddir.c: ... here.
15526 * sysdeps/unix/seekdir.c: Renamed to ...
15527 * sysdeps/posix/seekdir.c: ... here.
15528 * sysdeps/unix/telldir.c: Renamed to ...
15529 * sysdeps/posix/telldir.c: ... here.
15530 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15531 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15532 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15533 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15535 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15536 * bits/fcntl.h: ... here.
15538 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15540 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15541 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15542 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15543 (struct flock): Move l_start, l_len to the beginning.
15544 Use __pid_t for l_pid.
15545 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15546 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15547 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15548 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15549 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15550 [__USE_LARGEFILE64] (struct flock64): New type.
15551 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15553 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15554 * bits/dirent.h: ... here.
15556 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15557 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15559 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15561 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15562 Change from 2.6.0 to 2.6.16.
15563 * sysdeps/unix/sysv/linux/configure: Regenerated.
15564 * sysdeps/unix/sysv/linux/kernel-features.h
15565 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15566 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15568 (__ASSUME_UTIMES): Likewise.
15569 (__ASSUME_CLONE_STOPPED): Remove.
15570 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15571 architectures, not kernel version.
15572 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15573 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15574 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15575 (__ASSUME_WAITID_SYSCALL): Likewise.
15576 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15577 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15578 * README: State 2.6.16 as minimum Linux kernel version. Do not
15579 refer to older versions.
15581 2012-08-06 Roland McGrath <roland@hack.frob.com>
15583 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15584 Define alphasort64 as an alias.
15585 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15586 Define versionsort64 as an alias.
15587 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15588 Define scandir64 as an alias.
15589 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15590 Define scandirat64 as an alias.
15591 * dirent/alphasort64.c (alphasort64):
15592 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15593 * dirent/versionsort64.c: Likewise.
15594 * dirent/scandir64.c: Likewise.
15595 * dirent/scandirat64.c: Likewise.
15596 * sysdeps/wordsize-64/alphasort.c: File removed.
15597 * sysdeps/wordsize-64/alphasort64.c: File removed.
15598 * sysdeps/wordsize-64/scandir.c: File removed.
15599 * sysdeps/wordsize-64/scandir64.c: File removed.
15600 * sysdeps/wordsize-64/scandirat.c: File removed.
15601 * sysdeps/wordsize-64/scandirat64.c: File removed.
15602 * sysdeps/wordsize-64/versionsort.c: File removed.
15603 * sysdeps/wordsize-64/versionsort64.c: File removed.
15604 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15605 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15606 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15607 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15608 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15609 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15610 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15611 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15613 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15615 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15617 [defined __arch64__ || defined __sparcv9]
15618 (__INO_T_MATCHES_INO64_T): New macro.
15619 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15620 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15621 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15622 * sysdeps/unix/sysv/linux/bits/dirent.h
15623 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15624 (_DIRENT_MATCHES_DIRENT64): New macro.
15626 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15627 Define lockf64 as an alias.
15628 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15629 Define fseeko64 as an alias.
15630 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15631 Define ftello64 as an alias.
15632 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15633 Define _IO_fgetpos64 and fgetpos64 as aliases.
15634 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15635 Define _IO_fsetpos64 and fsetpos64 as aliases.
15636 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15637 Conditionalize body on this.
15638 * libio/fseeko64.c: Likewise.
15639 * libio/ftello64.c: Likewise.
15640 * libio/iofgetpos64.c: Likewise.
15641 * libio/iofsetpos64.c: Likewise.
15642 * sysdeps/wordsize-64/lockf.c: File removed.
15643 * sysdeps/wordsize-64/lockf64.c: File removed.
15644 * sysdeps/wordsize-64/fseeko.c: File removed.
15645 * sysdeps/wordsize-64/fseeko64.c: File removed.
15646 * sysdeps/wordsize-64/ftello.c: File removed.
15647 * sysdeps/wordsize-64/ftello64.c: File removed.
15648 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15649 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15650 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15651 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15652 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15653 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15654 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15655 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15656 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15657 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15659 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15660 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15663 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15665 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15667 [defined __arch64__ || defined __sparcv9]
15668 (__OFF_T_MATCHES_OFF64_T): New macro.
15669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15670 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15672 (__OFF_T_MATCHES_OFF64_T): New macro.
15674 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15676 * stdlib/secure-getenv.c (__secure_getenv): Replace
15677 GLIBC_2_16 with GLIBC_2_17.
15679 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15681 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15682 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15684 2012-08-03 David S. Miller <davem@davemloft.net>
15686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15688 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15690 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15692 (__ASSUME_CORRECT_SI_PID): Likewise.
15693 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15694 (__ASSUME_TMPFS_NAME): Likewise.
15695 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15696 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15697 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15698 (HAVE_AUX_SECURE): Make definition unconditional.
15699 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15700 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15702 2012-08-03 Roland McGrath <roland@hack.frob.com>
15704 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15705 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15706 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15707 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15708 __eloop_threshold instead of SYMLOOP_MAX.
15710 * sysdeps/generic/eloop-threshold.h: New file.
15711 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15713 * elf/chroot_canon.c (chroot_canon): Likewise.
15715 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15718 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15719 Change to 2.6.0 everywhere.
15720 * sysdeps/unix/sysv/linux/configure: Regenerated.
15721 * sysdeps/unix/sysv/linux/kernel-features.h
15722 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15723 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15725 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15726 (__ASSUME_FUTEX_REQUEUE): Remove.
15727 (__ASSUME_STATFS64): Define unconditionally.
15728 (__ASSUME_AT_SECURE): Likewise.
15729 (__ASSUME_CORRECT_SI_PID): Likewise.
15730 (__ASSUME_TGKILL): Define without depending on kernel version for
15732 (__ASSUME_UTIMES): Likewise.
15733 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15735 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15736 (__ASSUME_TMPFS_NAME): Likewise.
15737 * README: Update reference to Linux kernel versions.
15739 2012-08-02 Marek Polacek <polacek@redhat.com>
15742 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15743 libc_cv_asm_type_prefix with %.
15744 * configure: Regenerated.
15745 * include/libc-symbols.h: Remove comment about
15746 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15747 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15748 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15749 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15750 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15751 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15752 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15753 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15754 * elf/tst-unique2mod1.c: Likewise.
15755 * elf/tst-unique1mod2.c: Likewise.
15756 * elf/tst-unique1mod1.c: Likewise.
15757 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15758 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15759 Replace ASM_TYPE_DIRECTIVE with .type.
15760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15761 * sysdeps/i386/sysdep.h: Likewise.
15762 * sysdeps/x86_64/sysdep.h: Likewise.
15763 * sysdeps/sh/sysdep.h: Likewise.
15764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15765 Do not define ASM_TYPE_DIRECTIVE.
15766 * sysdeps/powerpc/sysdep.h: Likewise.
15767 * sysdeps/powerpc/powerpc32/sysdep.h:
15768 Replace ASM_TYPE_DIRECTIVE with .type.
15769 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15770 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15771 * sysdeps/i386/fpu/e_powf.S: Likewise.
15772 * sysdeps/i386/fpu/e_expl.S: Likewise.
15773 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15774 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15775 * sysdeps/i386/fpu/e_pow.S: Likewise.
15776 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15777 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15778 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15779 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15780 * sysdeps/i386/fpu/e_log2.S: Likewise.
15781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15782 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15783 * sysdeps/i386/fpu/e_powl.S: Likewise.
15784 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15785 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15786 * sysdeps/i386/fpu/e_logl.S: Likewise.
15787 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15788 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15789 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15790 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15791 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15792 * sysdeps/i386/fpu/e_log.S: Likewise.
15793 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15794 * sysdeps/i386/fpu/e_logf.S: Likewise.
15795 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15797 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15798 * sysdeps/i386/fpu/e_log10.S: Likewise.
15799 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15800 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15801 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15802 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15804 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15805 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15806 * sysdeps/i386/i686/strtok.S: Likewise.
15807 * sysdeps/i386/i386-mcount.S: Likewise.
15808 * sysdeps/i386/strtok.S: Likewise.
15809 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15810 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15811 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15812 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15813 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15814 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15815 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15816 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15817 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15818 * sysdeps/x86_64/_mcount.S: Likewise.
15819 * sysdeps/x86_64/strtok.S: Likewise.
15820 * sysdeps/sh/_mcount.S: Likewise.
15822 2012-08-01 Roland McGrath <roland@hack.frob.com>
15824 * libio/iofopen.c: Include <fcntl.h>.
15825 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15826 (_IO_fopen64, fopen64): Define as aliases.
15827 * libio/iofopen64.c: Include <fcntl.h>.
15828 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15829 Conditionalize body on this.
15830 * sysdeps/wordsize-64/iofopen.c: File removed.
15831 * sysdeps/wordsize-64/iofopen64.c: File removed.
15833 2012-08-01 Marek Polacek <polacek@redhat.com>
15835 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15836 Use dlfcn directly instead of a variable.
15837 (binfmt-subdir): Do not define.
15840 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15842 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15843 Remove all definitions.
15844 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15845 <kernel-features.h>.
15846 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15847 (miss_F_GETOWN_EX): Remove all definitions.
15848 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15850 [!__ASSUME_FCNTL64]: Remove conditional code.
15851 [__ASSUME_FCNTL64]: Make code unconditional.
15852 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15853 <kernel-features.h>.
15854 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15855 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15856 (lockf64) [__NR_fcntl64]: Make code unconditional.
15857 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15859 * sysdeps/unix/sysv/linux/kernel-features.h
15860 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15861 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15862 Make code unconditional.
15863 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15864 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15866 [__NR_vfork]: Make code unconditional.
15867 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15868 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15870 [__NR_vfork]: Make code unconditional.
15871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15874 2012-08-01 Roland McGrath <roland@hack.frob.com>
15876 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15877 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15879 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15880 Define mkstemp64 as an alias.
15881 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15882 Define mkstemps64 as an alias.
15883 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15884 Define mkostemp64 as an alias.
15885 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15886 Define mkostemps64 as an alias.
15887 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15888 Conditionalize body on this.
15889 * misc/mkostemp64.c: Likewise.
15890 * misc/mkostemps64.c: Likewise.
15891 * misc/mkstemps64.c: Likewise.
15892 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15893 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15894 * sysdeps/wordsize-64/mkostemp.c: File removed.
15895 * sysdeps/wordsize-64/mkstemp.c: File removed.
15896 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15897 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15898 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15899 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15902 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15903 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15904 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15905 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15907 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15908 compat_symbol macros from <shlib-compat.h> rather than the underlying
15909 default_symbol_version and symbol_version macros, so that DEFAULT
15910 lines in shlib-versions are respected.
15911 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15913 2012-08-01 Florian Weimer <fweimer@redhat.com>
15915 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15916 Declare with warn_unused_result.
15917 (setgid, setregid, setegid, setresgid): Likewise.
15918 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15920 * WUR-REPORT: Remove set*id functions.
15922 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15924 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15926 2012-07-31 Roland McGrath <roland@hack.frob.com>
15929 * include/sys/socket.h (__libc_accept, __libc_accept4):
15930 Add attribute_hidden.
15931 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15933 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15935 * inet/getnetgrent_r.c (setup): Likewise.
15937 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15939 2012-07-31 David S. Miller <davem@davemloft.net>
15941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15943 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15946 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15947 value between 1.0 and 2.0 and smaller part has absolute value less
15949 * math/s_clog10.c (__clog10): Likewise.
15950 * math/s_clog10f.c (__clog10f): Likewise.
15951 * math/s_clog10l.c (__clog10l): Likewise.
15952 * math/s_clogf.c (__clogf): Likewise.
15953 * math/s_clogl.c (__clogl): Likewise.
15954 * math/libm-test.inc (clog_test): Add more tests.
15955 (clog10_test): Likewise.
15956 * sysdeps/i386/fpu/libm-test-ulps: Update.
15957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15959 2012-07-31 Florian Weimer <fweimer@redhat.com>
15961 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15962 Exit with zero in case no suitable GID is found, and write a
15963 message to standard error.
15965 2012-07-30 Roland McGrath <roland@hack.frob.com>
15967 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15969 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15970 (MAXPATHLEN): Removed.
15971 (NOGROUP, NODEV): New macros.
15972 (setbit, clrbit, isset, isclr): New macros.
15973 (howmany, roundup, powerof2): New macros.
15974 (DEV_BSIZE): New macro.
15976 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15977 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15979 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15980 definition on [!__NO_LONG_DOUBLE_MATH].
15982 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15983 PTR_MANGLE and PTR_DEMANGLE.
15985 * socket/accept4.c (accept4): Rename to __libc_accept4.
15986 Define accept4 as a weak alias.
15988 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15989 on [_DIRENT_HAVE_D_TYPE].
15990 * io/ftw.c (ftw_dir): Likewise.
15992 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15994 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15996 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15997 Use the BSD numbers rather than the arbitrary ones we had.
15998 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15999 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16000 (SIGXCPU, SIGXFSZ): New macros.
16003 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16004 initializer on [_LIBC_REENTRANT].
16006 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16007 definitions inside [_POSIX_MAPPED_FILES].
16009 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16011 * dirent/opendir.c: Include <fcntl.h>.
16013 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16014 (__libc_getspecific): Likewise.
16015 (__libc_key_create): Likewise.
16017 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16018 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16019 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16020 (tmpfile64): Define as alias.
16021 * sysdeps/wordsize-64/tmpfile.c: File removed.
16022 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16023 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16024 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16026 * stdio-common/vfscanf.c: Include <stdbool.h>.
16027 * nss/makedb.c: Likewise.
16028 * stdio-common/_i18n_number.h: Likewise.
16029 * argp/argp-help.c: Likewise.
16030 * posix/wordexp.c: Likewise.
16031 * sysdeps/posix/spawni.c: Likewise.
16032 * nss/nss_files/files-initgroups.c: Likewise.
16033 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16034 * nss/nss_files/files-initgroups.c: Likewise.
16035 * nss/nss_db/db-netgrp.c: Likewise.
16036 * nss/nss_db/db-initgroups.c: Likewise.
16037 * io/fchmodat.c: Include <sys/stat.h>.
16039 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16040 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16042 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16045 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16046 Add multiple inclusion protection.
16048 2012-07-27 David S. Miller <davem@davemloft.net>
16050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16052 2012-07-27 Gary Benson <gbenson@redhat.com>
16055 * elf/rtld.c: Include <stap-probe.h>.
16056 (dl_main): Added static probes "init_start" and "init_complete".
16057 * elf/dl-load.c: Include <stap-probe.h>.
16058 (lose): Take new parameter "nsid".
16059 Added static probe "map_failed".
16060 (_dl_map_object_from_fd): Pass namespace id to lose.
16061 Added static probe "map_start".
16062 (open_verify): Pass namespace id to lose.
16063 * elf/dl-open.c: Include <stap-probe.h>.
16064 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16065 and "reloc_complete".
16066 * elf/dl-close.c: Include <stap-probe.h>.
16067 (_dl_close_worker): Added static probes "unmap_start" and
16069 * elf/rtld-debugger-interface.txt: New file documenting the above.
16071 2012-07-26 Roland McGrath <roland@hack.frob.com>
16073 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16074 rather than a string variable.
16075 * sunrpc/rpc_main.c (h_output): Likewise.
16076 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16078 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16080 * inet/check_native.c: New file.
16082 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16085 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16086 if larger part has absolute value 1.0.
16087 * math/s_clog10.c (__clog10): Likewise.
16088 * math/s_clog10f.c (__clog10f): Likewise.
16089 * math/s_clog10l.c (__clog10l): Likewise.
16090 * math/s_clogf.c (__clogf): Likewise.
16091 * math/s_clogl.c (__clogl): Likewise.
16092 * math/libm-test.inc (clog_test): Add more tests.
16093 (clog10_test): Likewise.
16094 * sysdeps/i386/fpu/libm-test-ulps: Update.
16095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16098 (pltexit): Likewise.
16099 (La_regs): Likewise.
16100 (La_retval): Likewise.
16101 (int_retval): Likewise.
16102 Update #error for removed macros to refer only to definitions in
16104 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16106 (pltexit): Likewise.
16107 (La_regs): Likewise.
16108 (La_retval): Likewise.
16109 (int_retval): Likewise.
16110 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16112 (pltexit): Likewise.
16113 (La_regs): Likewise.
16114 (La_retval): Likewise.
16115 (int_retval): Likewise.
16116 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16118 (pltexit): Likewise.
16119 (La_regs): Likewise.
16120 (La_retval): Likewise.
16121 (int_retval): Likewise.
16122 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16124 (pltexit): Likewise.
16125 (La_regs): Likewise.
16126 (La_retval): Likewise.
16127 (int_retval): Likewise.
16128 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16130 (pltexit): Likewise.
16131 (La_regs): Likewise.
16132 (La_retval): Likewise.
16133 (int_retval): Likewise.
16134 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16136 (pltexit): Likewise.
16137 (La_regs): Likewise.
16138 (La_retval): Likewise.
16139 (int_retval): Likewise.
16140 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16141 macro definitions in tst-audit.h.
16142 * sysdeps/i386/tst-audit.h: New file.
16143 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16144 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16145 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16146 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16147 * sysdeps/sh/tst-audit.h: Likewise.
16148 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16149 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16150 * sysdeps/x86_64/tst-audit.h: Likewise.
16152 2012-07-26 Andreas Jaeger <aj@suse.de>
16154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16157 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16158 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16159 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16161 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16162 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16165 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16168 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16170 (si_call_addr, si_syscall, si_arch): Define new macro.
16171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16173 (si_call_addr, si_syscall, si_arch): Define new marcro.
16174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16176 (si_call_addr, si_syscall, si_arch): Define new macro.
16177 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16179 (si_call_addr, si_syscall, si_arch): Define new macro.
16181 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16185 Change to 2.4.21 where previously 2.4.1.
16186 * sysdeps/unix/sysv/linux/configure: Regenerated.
16187 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16188 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16189 Linux kernel version.
16190 (__ASSUME_STD_AUXV): Remove.
16191 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16193 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16194 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16195 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16196 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16197 (__ASSUME_NETLINK_SUPPORT): Likewise.
16198 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16199 (__no_netlink_support): Remove conditional definition.
16200 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16202 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16203 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16204 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16205 (if_nameindex_ioctl): Remove.
16206 (if_nameindex_netlink): Do not handle __no_netlink_support.
16207 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16209 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16210 Remove conditional code.
16211 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16213 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16215 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16216 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16217 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16219 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16220 [!__ASSUME_STD_AUXV]: Remove conditional code.
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16222 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16223 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16225 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16226 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16228 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16230 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16231 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16233 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16235 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16238 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16241 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16242 code unconditional.
16243 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16245 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16247 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16250 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16252 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16255 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16256 code unconditional.
16257 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16259 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16261 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16264 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16265 code unconditional.
16266 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16268 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16270 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16273 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16275 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16276 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16277 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16278 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16279 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16280 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16281 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16282 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16283 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16284 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16285 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16286 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16287 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16288 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16289 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16290 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16292 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16293 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16296 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16297 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16299 2012-07-25 Florian Weimer <fweimer@redhat.com>
16301 * Versions.def: Add GLIBC_2.17.
16302 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16303 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16304 Introduce __libc_secure_getenv.
16305 * stdlib/Versions (2.17): Add secure_getenv
16306 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16307 * stdlib/secure-getenv.c: Rename __secure_getenv to
16308 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16309 symbol __secure_getenv for GLIBC_2.0.
16310 * stdlib/tst-secure-getenv.c: New.
16311 * stdlib/Makefile (tests): Add testcase.
16312 * manual/startup.texi (Environment Access): Document
16314 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16315 __libc_secure_getenv.
16316 * inet/ruserpass.c (ruserpass): Likewise.
16317 * malloc/mtrace.c (mtrace): Likewise.
16318 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16319 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16320 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16321 * sysdeps/posix/tempname.c: Likewise. Evaluate
16322 HAVE_SECURE_GETENV.
16323 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16324 __secure_getenv to __libc_secure_getenv.
16325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16338 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16340 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16341 (struct La_i86_retval): Likewise.
16342 (struct La_x86_64_regs): Likewise.
16343 (struct La_x86_64_retval): Likewise.
16344 (struct La_x32_regs): Likewise.
16345 (struct La_x32_retval): Likewise.
16346 (struct La_ppc32_regs): Likewise.
16347 (struct La_ppc32_retval): Likewise.
16348 (struct La_ppc64_regs): Likewise.
16349 (struct La_ppc64_retval): Likewise.
16350 (struct La_sh_regs): Likewise.
16351 (struct La_sh_retval): Likewise.
16352 (struct La_s390_32_regs): Likewise.
16353 (struct La_s390_32_retval): Likewise.
16354 (struct La_s390_64_regs): Likewise.
16355 (struct La_s390_64_retval): Likewise.
16356 (struct La_sparc32_regs): Likewise.
16357 (struct La_sparc32_retval): Likewise.
16358 (struct La_sparc64_regs): Likewise.
16359 (struct La_sparc64_retval): Likewise.
16360 (struct audit_ifaces): Remove architecture-specific pltenter and
16362 * sysdeps/i386/ldsodefs.h: New file.
16363 * sysdeps/powerpc/ldsodefs.h: Likewise.
16364 * sysdeps/s390/ldsodefs.h: Likewise.
16365 * sysdeps/sh/ldsodefs.h: Likewise.
16366 * sysdeps/sparc/ldsodefs.h: Likewise.
16367 * sysdeps/x86_64/ldsodefs.h: Likewise.
16369 2012-07-25 Marek Polacek <polacek@redhat.com>
16372 * math/libm-test.inc (yn_test): Add another test.
16373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16374 to ERANGE when the result is +-Inf.
16375 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16376 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16377 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16378 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16380 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16382 * conform/data/time.h-data (NULL): Use macro-constant. Require
16384 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16386 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16388 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16390 * configure.in <sysdeps resolving>: Correct printing
16392 * configure: Regenerate.
16394 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16396 * math/w_ilogb.c: Include <limits.h>.
16397 * math/w_ilogbl.c: Likewise.
16399 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16401 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16402 va_copy. Document allowing for unavailable va_copy only as
16403 pre-C99 compatibility.
16404 * manual/string.texi (Copying and Concatenation): Use va_copy
16405 instead of __va_copy in concat example.
16407 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16409 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16410 (__sendto): Use create_address_port. Initialize APORT and deallocate
16413 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16414 with O_NOLINK passed to __file_name_lookup.
16416 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16417 with O_NOLINK passed to __file_name_lookup.
16419 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16420 negative N or less than NGIDS.
16422 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16423 type to string_t. Set ERANGE as errno and return it if NAME is not big
16424 enough. Use memcpy instead of strncpy.
16426 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16428 * elf/Makefile (check-data): Remove.
16429 (localplt.data): New vpath directive.
16430 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16431 instead of $(check-data).
16432 * scripts/data/localplt-generic.data: Move to ...
16433 * sysdeps/generic/localplt.data: ... here.
16434 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16435 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16436 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16439 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16442 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16445 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16448 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16451 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16455 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16457 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16458 PPC32 and PPC64 files.
16459 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16460 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16462 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16464 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16465 __makecontext_ret to ...
16466 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16467 ... here and call exit if uc_link is NULL. New file.
16468 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16469 __makecontext_ret.S.
16470 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16471 __makecontext_ret to ...
16472 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16473 ... here and call exit if uc_link is NULL. New file.
16474 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16475 __makecontext_ret.S.
16477 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16479 * elf/elf.h (R_390_IRELATIVE): New definition.
16480 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16481 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16482 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16484 (elf_machine_lazy_rel): Likewise.
16485 * sysdeps/s390/dl-irel.h: New file.
16486 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16487 * sysdeps/s390/s390-64/memset.S: New asm code.
16488 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16489 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16491 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16492 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16493 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16494 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16495 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16496 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16497 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16498 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16499 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16500 * sysdeps/s390/s390-32/memset.S: New asm code.
16501 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16503 2012-07-17 Marek Polacek <polacek@redhat.com>
16506 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16507 * sysdeps/s390/s390-64/configure.in: Likewise.
16508 * sysdeps/sparc/configure.in: Likewise.
16509 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16510 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16511 * sysdeps/i386/configure.in: Likewise.
16512 * sysdeps/x86_64/configure.in: Likewise.
16513 * sysdeps/sh/configure.in: Likewise.
16514 * sysdeps/s390/s390-32/configure: Regenerated.
16515 * sysdeps/s390/s390-64/configure: Likewise.
16516 * sysdeps/x86_64/configure: Likewise.
16517 * sysdeps/sh/configure: Likewise.
16518 * sysdeps/powerpc/powerpc64/configure: Likewise.
16519 * sysdeps/powerpc/powerpc32/configure: Likewise.
16520 * sysdeps/sparc/configure: Likwise.
16521 * sysdeps/i386/configure: Likewise.
16523 * elf/dl-open.c: Comment fixes.
16525 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16527 * Makefile [CXX] (check-data): Remove.
16528 [CXX] (c++-types.data): New vpath directive.
16529 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16530 vpath. Do not allow for C++ type data being missing.
16531 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16532 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16533 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16534 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16535 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16536 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16537 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16540 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16543 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16546 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16549 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16552 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16555 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16558 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16561 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16562 definitions to architecture-specific files.
16563 (TLS_IE): Likewise.
16564 (TLS_LD): Likewise.
16565 (TLS_GD): Likewise.
16566 * sysdeps/i386/tls-macros.h: New file.
16567 * sysdeps/powerpc/tls-macros.h: Likewise.
16568 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16569 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16570 * sysdeps/sh/tls-macros.h: Likewise.
16571 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16572 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16573 * sysdeps/x86_64/tls-macros.h: Likewise.
16575 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16577 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16578 zero value for regular exit case.
16580 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16581 (__start_context): Preserve zero value for regular exit case.
16583 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16584 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16586 * manual/setjmp.texi (setcontext): Clarify normal process
16587 termination when uc_link is the null pointer.
16588 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16591 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16593 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16594 preprocessor. Test for each exception mask separately.
16596 2012-07-16 Andreas Jaeger <aj@suse.de>
16598 * po/ru.po: Update from translation team.
16600 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16602 * conform/data/string.h-data (NULL): Use macro-constant. Require
16604 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16605 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16606 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16607 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16610 2012-07-13 Andreas Jaeger <aj@suse.de>
16612 * po/fr.po: Update from translation team.
16614 2012-07-12 Marek Polacek <polacek@redhat.com>
16617 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16621 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16625 Change to 2.4.1 where previously 2.4.0.
16626 * sysdeps/unix/sysv/linux/configure: Regenerated.
16627 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16628 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16630 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16631 (__ASSUME_AT_CLKTCK): Remove.
16632 (__ASSUME_AT_PAGESIZE): Likewise.
16633 (__ASSUME_AT_XID): Likewise.
16634 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16635 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16636 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16638 (HAVE_AUX_PAGESIZE): Likewise.
16639 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16640 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16641 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16643 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16647 the temporary buffer used to invoke __gethostbyname2_r,
16648 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16649 host_data / struct gaih_addrtuple.
16650 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16651 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16652 header file nss/nsswitch.h.
16653 * nss/nsswitch.h (global scope): Add definition of implementation
16654 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16655 resolv/nss_dns/dns-host.c).
16657 2012-07-11 Andreas Jaeger <aj@suse.de>
16659 * po/fr.po: Update from translation team.
16661 * po/sv.po: Update from translation team
16662 * po/fr.po: Another update from translation team.
16664 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16666 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16667 for subnormals or multiply small sinh result by itself.
16668 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16671 2012-07-11 David S. Miller <davem@davemloft.net>
16673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16675 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16678 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16679 (INTERNAL_MARK): Shift it here.
16681 2012-07-10 Marek Polacek <polacek@redhat.com>
16684 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16685 libc_cv_asm_global_directive with .globl.
16686 * configure: Regenerated.
16687 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16689 * sysdeps/i386/configure: Regenerated.
16690 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16692 * sysdeps/x86_64/configure: Regenerated.
16693 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16694 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16695 * elf/tst-unique2mod2.c: Likewise.
16696 * elf/tst-unique2mod1.c: Likewise.
16697 * elf/tst-unique1mod2.c: Likewise.
16698 * elf/tst-unique1mod1.c: Likewise.
16699 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16700 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16702 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16703 * sysdeps/mach/sysdep.h: Likewise.
16704 * sysdeps/i386/sysdep.h: Likewise.
16705 * sysdeps/i386/i386-mcount.S: Likewise.
16706 * sysdeps/x86_64/_mcount.S: Likewise.
16707 * sysdeps/x86_64/sysdep.h: Likewise.
16708 * sysdeps/sh/_mcount.S: Likewise.
16709 * sysdeps/sh/sysdep.h: Likewise.
16710 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16711 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16712 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16713 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16714 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16715 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16716 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16717 * locale/localeinfo.h: Likewise.
16718 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16719 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16721 2012-07-09 Roland McGrath <roland@hack.frob.com>
16724 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16726 * manual/message.texi (The Uniforum approach): Likewise.
16727 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16728 (glibc iconv Implementation): Likewise.
16730 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16733 * math/s_clog.c (__clog): Avoid scaling a value down where that
16734 could result in underflow.
16735 * math/s_clog10.c (__clog10): Likewise.
16736 * math/s_clog10f.c (__clog10f): Likewise.
16737 * math/s_clog10l.c (__clog10l): Likewise.
16738 * math/s_clogf.c (__clogf): Likewise.
16739 * math/s_clogl.c (__clogl): Likewise.
16740 * math/libm-test.inc (clog_test): Add more tests.
16741 (clog10_test): Likewise.
16742 * sysdeps/i386/fpu/libm-test-ulps: Update.
16743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16745 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16748 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16749 by 7 not 8 to examine high bit of fractional part.
16752 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16753 for call to __mcount_internal.
16754 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16755 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16756 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16758 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16761 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16762 approximation for values within 0x1p-13f of an odd multiple of
16764 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16765 exception. Add more tests.
16766 * sysdeps/i386/fpu/libm-test-ulps: Update.
16769 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16770 inputs and return -1 for them. Do not check for +Inf in case not
16771 reachable for +Inf.
16772 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16773 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16775 and return -1 for them. Do not check for +Inf in case not
16776 reachable for +Inf.
16777 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16779 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16780 and return -1 for them. Do not check for +Inf in case not
16781 reachable for +Inf.
16782 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16783 spurious underflow.
16784 * sysdeps/i386/fpu/libm-test-ulps: Update.
16785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16787 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16789 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16791 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16795 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16796 could result in spurious underflow. Scale down values above
16797 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16798 * math/s_csqrtf.c (__csqrtf): Likewise.
16799 * math/s_csqrtl.c (__csqrtl): Likewise.
16800 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16801 spurious underflow.
16802 * sysdeps/i386/fpu/libm-test-ulps: Update.
16803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16805 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16807 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16809 * catgets/xopen-msg.awk: New file.
16810 * catgets/xopen-msg.sed: Removed.
16812 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16814 * intl/po2test.awk: New file.
16815 * intl/po2test.sed: Removed.
16817 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16820 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16821 or multiply small sinh result by itself.
16822 * math/s_ctanf.c (__ctanf): Likewise.
16823 * math/s_ctanh.c (__ctanh): Likewise.
16824 * math/s_ctanhf.c (__ctanhf): Likewise.
16825 * math/s_ctanhl.c (__ctanhl): Likewise.
16826 * math/s_ctanl.c (__ctanl): Likewise.
16827 * math/libm-test.inc (ctan_test_tonearest): New function.
16828 (ctan_test_towardzero): Likewise.
16829 (ctan_test_downward): Likewise.
16830 (ctan_test_upward): Likewise.
16831 (ctanh_test_tonearest): Likewise.
16832 (ctanh_test_towardzero): Likewise.
16833 (ctanh_test_downward): Likewise.
16834 (ctanh_test_upward): Likewise.
16835 (main): Call these new functions.
16836 * sysdeps/i386/fpu/libm-test-ulps: Update.
16837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16839 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16841 * .gitignore: Delete /ports entry.
16843 2012-07-03 Andreas Jaeger <aj@suse.de>
16845 * po/bg.po: Update from translation team.
16846 * po/cs.po: Likewise.
16847 * po/de.po: Likewise.
16848 * po/hr.po: Likewise.
16849 * po/nl.pl: Likewise.
16850 * po/pl.po: Likewise.
16851 * po/vi.po: Likewise.
16853 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16855 * Makeconfig [!+link] (+link-before-libc): New variable.
16856 [!+link] (+link-after-libc): Likewise.
16857 [!+link] (+link-tests): Likewise.
16858 [!+link] (+link): Define in terms of $(+link-before-libc) and
16859 $(+link-after-libc).
16860 [!+link-static] (+link-static-before-libc): New variable.
16861 [!+link-static] (+link-static-after-libc): Likewise.
16862 [!+link-static] (+link-static-tests): Likewise.
16863 [!+link-static] (+link-static): Define in terms of
16864 $(+link-static-before-libc) and $(+link-static-after-libc).
16865 [build-shared] (link-libc-before-gnulib): New variable.
16866 [build-shared] (link-libc-tests): Likewise.
16867 [build-shared] (link-libc): Define in terms of
16868 $(link-libc-before-gnulib).
16869 [!build-shared] (link-libc-tests): New variable.
16870 (link-libc-static-tests): New variable.
16871 [!gnulib] (gnulib-arch): New variable.
16872 [!gnulib] (gnulib-tests): Likewise.
16873 [!gnulib] (static-gnulib-arch): Likewise.
16874 [!gnulib] (static-gnulib-tests): Likewise.
16875 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16876 Define with "=" instead of ":=".
16877 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16878 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16879 * Rules (binaries-all-notests): New variable.
16880 (binaries-all-tests): Likewise.
16881 (binaries-static-notests): Likewise.
16882 (binaries-static-tests): Likewise.
16883 (binaries-all): Define using $(binaries-all-notests) and
16884 $(binaries-all-tests).
16885 (binaries-static): Define using $(binaries-static-notests) and
16886 $(binaries-static-tests).
16887 (binaries-shared-tests): New variable.
16888 (binaries-shared-notests): Likewise.
16889 (binaries-shared): Remove variable.
16890 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16891 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16892 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16893 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16894 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16895 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16896 * elf/Makefile (sln-modules): New variable.
16897 (extra-objs): Add $(sln-modules:=.o).
16898 (ldconfig-modules): Add static-stubs.
16899 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16900 * elf/static-stubs.c: New file.
16903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16904 by 7 not 8 to examine high bit of fractional part. Use volatile
16905 variables when splitting into final array of floats if
16906 __FLT_EVAL_METHOD__ != 0.
16907 * math/libm-test.inc (cos_test): Add another test.
16908 (sin_test): Likewise.
16909 * sysdeps/i386/fpu/libm-test-ulps: Update.
16912 * math/libm-test.inc (cosh_test): Add more tests.
16914 * version.h (RELEASE): Set to "development".
16915 (VERSION): Set to "2.16.90".
16917 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16919 * NEWS: Update copyright. Remove last-updated date.
16920 Mention math library bug fixes and timezone data changes.
16921 * README: Mention GNU/Hurd, x32, and HPPA support status.
16923 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16925 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16927 2012-06-27 Andreas Jaeger <aj@suse.de>
16929 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16931 2012-06-25 Andreas Jaeger <aj@suse.de>
16933 * sysdeps/s390/fpu/libm-test-ulps: Update.
16935 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16936 Thomas Schwinge <thomas@codesourcery.com>
16938 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16939 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16943 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16945 * sysdeps/mach/start.c: Remove file.
16946 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16947 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16948 * sysdeps/sh/init-first.c: Likewise.
16950 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16951 registers for frame unwinding purposes, add CFI directives.
16952 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16954 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16957 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16958 __fortify_fail returning.
16959 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16961 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16962 sysdeps/sh/____longjmp_chk.S.
16963 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16964 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16965 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16966 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16968 * sysdeps/sh/abort-instr.h: New file.
16969 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16970 process in case exit returns.
16972 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16973 initialize the GOT register before use.
16975 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16976 calculation of ARGC > 4.
16978 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16979 meaningful names to some local labels.
16981 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16982 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16984 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16985 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16986 (__arch_compare_and_exchange_val_16_acq): Likewise.
16987 (__arch_compare_and_exchange_val_32_acq): Likewise.
16988 (atomic_exchange_and_add): Fix gUSA sequence.
16989 (atomic_add): Likewise.
16990 (atomic_add_negative): Likewise.
16991 (atomic_add_zero): Likewise.
16992 (atomic_bit_test_set): Likewise.
16994 2012-06-22 Andreas Schwab <schwab@redhat.com>
16997 * include/link.h (struct link_map): Add l_free_initfini.
16998 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17000 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17001 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17002 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17005 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17007 * configure.in: Use AC_LANG_SOURCE.
17008 * configure: Regenerate.
17010 2012-06-22 Roland McGrath <roland@hack.frob.com>
17012 * configure.in (libc_cv_localstatedir): New substituted variable.
17013 * configure: Regenerated.
17014 * config.make.in (localstatedir): New variable, substituted from
17015 libc_cv_localstatedir.
17016 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17017 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17018 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17019 * sysdeps/gnu/configure: Regenerated.
17021 2012-06-21 Jeff Law <law@redhat.com>
17024 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17025 free. Simplify list management for _LIBC case.
17027 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17030 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17031 Clear sign bit of 64-bit integer value before comparing against
17034 * sysdeps/mach/configure: Regenerated.
17036 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17039 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17041 2012-06-21 Jeff Law <law@redhat.com>
17044 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17045 uint16_t for elements in the "seen" array to avoid char overflows.
17046 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17047 * elf/dl-open.c (dl_open_worker): Likewise.
17049 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17051 * scripts/list-sources.sh: Scan PORTS for translations.
17052 * po/libc.pot: Regenerated.
17054 2012-06-21 Andreas Jaeger <aj@suse.de>
17057 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17059 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17060 * bits/byteswap-16.h (__bswap_16): Likewise.
17061 * bits/byteswap.h (__bswap_constant_16): Likewise.
17063 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17066 * sysdeps/i386/fpu_control.h: Removed.
17067 * sysdeps/x86_64/fpu_control.h: Moved to ...
17068 * sysdeps/x86/fpu_control.h: Here.
17070 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17071 (_FPU_SETCW): Likewise.
17073 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17076 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17077 * sysdeps/x86/fpu/bits/mathinline.h: This.
17078 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17082 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17083 functions if __x86_64__ is defined.
17085 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17087 * string/endian.h: Add !__ASSEMBLER__ condition for including
17088 conversion interfaces.
17090 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17094 of ABS(x) in calculating zero to negative powers other than odd
17096 * math/libm-test.inc (pow_test): Add more tests.
17098 2012-06-15 Andreas Jaeger <aj@suse.de>
17100 * manual/contrib.texi (Contributors): Update entry of Liubov
17101 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17104 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17106 * string/string.h: Add __wur to GNU version of strerror_r.
17108 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17111 * string/Makefile (tests): Add tst-strtok_r.
17112 * string/tst-strtok_r.c: New file.
17113 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17114 RAX_LP/RDX_LP on SAVE_PTR.
17116 2012-06-14 Roland McGrath <roland@hack.frob.com>
17118 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17120 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17122 * libm_test.inc (csqrt_test): Allow more spurious underflow
17124 (j0_test): Likewise.
17125 (j1_test): Likewise.
17126 (y0_test): Likewise.
17127 (y1_test): Likewise.
17129 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17131 * po/Makefile (libc.pot): Use UTF-8 charset.
17133 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17136 Suppress sign-conversion warning from FD_SET.
17137 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17138 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17139 not unsigned long int.
17140 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17142 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17146 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17147 __extern_always_inline instead of __extern_inline.
17148 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17149 (__signbit): Likewise.
17150 (__signbitl): Support C++ namespace.
17151 (lrintf): New inline function.
17153 (llrintf): Likewise.
17154 (llrint): Likewise.
17164 (floorf): Likewise.
17165 (nearbyint): Likewise.
17166 (nearbyintf): Likewise.
17168 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17170 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17171 non-default versions.
17173 2012-06-11 Roland McGrath <roland@hack.frob.com>
17176 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17178 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17180 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17181 (FE_UPWARD, FE_DOWNWARD): Don't define.
17182 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17183 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17185 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17187 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17188 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17190 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17192 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17194 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17195 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17197 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17200 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17201 * sysdeps/i386/fpu/Implies: New file.
17202 * sysdeps/x86_64/fpu/Implies: Likewise.
17203 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17204 * sysdeps/x86/fpu/bits/fenv.h: This.
17206 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17209 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17212 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17213 character 0xffff that matches the last element of the
17216 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17221 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17224 values higher than 25.6283.
17226 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17228 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17229 subnormal exponent extraction and add some __builtin_expect.
17230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17231 Fix for subnormal mantissa calculation.
17233 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17235 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17236 cpu2 is -1 and errno is not ENOSYS.
17238 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17241 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17242 * sysdeps/x86/bits/string.h: This.
17243 * sysdeps/x86_64/bits/string.h: Removed.
17245 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17246 if not compiling for x86-64, but compiling for >= i486.
17248 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17249 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17252 New macro from Linux kernel 3.4.0.
17253 (FP_XSTATE_MAGIC2): Likewise.
17254 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17255 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17256 (struct _fpx_sw_bytes): New struct.
17257 (struct _xsave_hdr): Likewise.
17258 (struct _ymmh_state): Likewise.
17259 (struct _xstate): Likewise.
17261 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17262 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17264 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17265 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17266 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17268 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17269 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17270 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17271 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17272 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17273 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17275 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17278 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17279 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17280 (sysdep_headers): Include sys/platform/ppc.h.
17281 * sysdeps/powerpc/test-gettimebase.c: Test for
17282 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17283 * manual/Makefile (appendices): Include platform.texi.
17284 * manual/contrib.texi (Contributors): Update @node pointers.
17285 * manual/maint.texi (Maintenance): Likewise.
17286 (Platform): New node.
17287 * manual/platform.texi: New file. Document the new features.
17289 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17290 Jakub Jelinek <jakub@redhat.com>
17293 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17294 where __builtin_expect is unavailable.
17296 2012-06-03 David S. Miller <davem@davemloft.net>
17298 * stdlib/longlong.h: Updated from GCC.
17300 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17303 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17304 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17307 (GLIBC_2.16): Likewise.
17309 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17311 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17313 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17316 (default-abi): New variable.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17318 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17320 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17322 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17324 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17327 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17328 definition. Document in comment.
17330 2012-06-01 David S. Miller <davem@davemloft.net>
17332 * stdlib/longlong.h: Updated from GCC.
17334 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17337 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17338 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17339 sys/debugreg.h sys/io.h here.
17340 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17341 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17343 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17344 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17345 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17346 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17347 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17348 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17351 Define only if __x86_64__ is defined.
17353 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17356 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17357 Use int64_t for variable i.
17358 * math/libm-test.inc (fmod_test): Add more tests.
17360 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17361 z computation is not scheduled after fetestexcept.
17362 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17363 Use math_force_eval instead of asm to ensure calculation scheduled
17364 before exception test.
17365 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17366 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17368 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17371 computation is not scheduled after fetestexcept.
17373 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17376 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17377 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17379 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17381 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17382 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17384 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17387 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17389 (__WCHAR_MIN): Support __WORDSIZE == 64.
17390 (__WCHAR_MAX): Likewise.
17392 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17393 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17397 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17400 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17401 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17403 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17404 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17406 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17407 Defined to 1 if __x86_64__ isn't defined.
17408 (_STAT_VER_LINUX_OLD): New.
17409 (st_atime): Remove duplicate.
17410 (st_mtime): Likewise.
17411 (st_ctime): Likewise.
17413 2012-05-31 David S. Miller <davem@davemloft.net>
17415 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17418 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17420 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17424 * elf/dl-reloc.c: Include <_itoa.h>.
17425 (_dl_reloc_bad_type): Remove use of INTUSE.
17426 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17427 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17428 * stdio-common/psiginfo.c (psiginfo): Likewise.
17429 * stdio-common/psignal.c (psignal): Likewise.
17430 * string/strsignal.c (strsignal): Likewise.
17431 * include/signal.h (_sys_siglist): Declare hidden proto.
17432 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17433 INTVARDEF with libc_hidden_data_def.
17434 * stdio-common/itoa-udigits.c: Likewise.
17435 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17436 (_itoa_lower_digits_internal): Remove declaration.
17437 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17438 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17439 (_sys_sigabbrev_internal): Remove aliases.
17440 (_sys_siglist): Define hidden alias.
17442 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17447 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17450 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17451 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17453 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17454 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17455 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17456 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17457 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17458 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17460 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17461 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17462 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17472 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17473 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17474 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17476 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17477 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17478 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17479 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17480 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17481 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17483 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17484 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17486 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17487 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17491 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17493 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17494 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17496 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17498 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17499 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17500 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17502 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17504 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17506 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17508 * math/math.h (M_El): Use two more decimal places.
17509 (M_LOG2El): Likewise.
17510 (M_LOG10El): Likewise.
17511 (M_LN2l): Likewise.
17512 (M_LN10l): Likewise.
17514 (M_PI_2l): Likewise.
17515 (M_PI_4l): Likewise.
17516 (M_1_PIl): Likewise.
17517 (M_2_PIl): Likewise.
17518 (M_2_SQRTPIl): Likewise.
17519 (M_SQRT2l): Likewise.
17520 (M_SQRT1_2l): Likewise.
17522 2012-05-31 David S. Miller <davem@davemloft.net>
17524 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17525 values between float registers.
17526 * sysdeps/sparc/sparc64/memset.S: Likewise.
17527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17529 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17531 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17532 -D_FORTIFY_SOURCE=1.
17533 (CPPFLAGS-tst-longjmp_chk.c): Define.
17534 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17535 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17536 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17537 CFLAGS-tst-wchar-h.c.
17539 2012-05-31 Marek Polacek <polacek@redhat.com>
17542 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17543 __endmntent_internal): Remove declaration.
17544 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17545 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17546 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17548 2012-05-30 David S. Miller <davem@davemloft.net>
17550 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17551 (___Q_simulate_exceptions): Use real FP ops rather than writing
17553 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17556 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17559 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17560 * sysdeps/x86/bits/xtitypes.h: This.
17562 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17563 * sysdeps/x86/bits/wordsize.h: This.
17565 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17566 * sysdeps/x86/bits/huge_vall.h: This.
17568 * sysdeps/i386/bits/select.h: Removed.
17569 * sysdeps/x86_64/bits/select.h: Renamed to ...
17570 * sysdeps/x86/bits/select.h: This.
17572 * sysdeps/i386/bits/setjmp.h: Removed.
17573 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17574 * sysdeps/x86/bits/setjmp.h: This.
17576 * sysdeps/i386/bits/mathdef.h: Removed.
17577 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17578 * sysdeps/x86/bits/mathdef.h: This.
17580 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17583 * include/sys/socket.h (__connect_internal)
17584 (__libc_sa_len_internal): Remove declaration.
17585 (__connect, __libc_sa_len): Declare hidden_proto.
17586 (SA_LEN): Remove use of INTUSE.
17587 * socket/connect.c: Add libc_hidden_def.
17588 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17589 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17590 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17592 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17594 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17595 of adding _internal alias.
17597 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17600 * sysdeps/i386/bits/link.h: Removed.
17601 * sysdeps/i386/bits/linkmap.h: Likewise.
17602 * sysdeps/x86_64/bits/link.h: Renamed to ...
17603 * sysdeps/x86/bits/link.h: This.
17604 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17605 * sysdeps/x86/bits/linkmap.h: This.
17607 * sysdeps/i386/bits/endian.h: Removed.
17608 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17609 * sysdeps/x86/bits/endian.h: This.
17611 * sysdeps/i386/bits/byteswap.h: Removed.
17612 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17613 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17614 * sysdeps/x86/bits/byteswap.h: This.
17615 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17616 * sysdeps/x86/bits/byteswap-16.h: This.
17617 * sysdeps/i386/Implies: Add x86.
17618 * sysdeps/x86_64/Implies: Likewise.
17620 2012-05-30 David S. Miller <davem@davemloft.net>
17622 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17623 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17624 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17625 (FP_TRAPPING_EXCEPTIONS): Define.
17626 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17627 (FP_TRAPPING_EXCEPTIONS): Define.
17628 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17629 subnormals only when inexact has been signalled or underflow
17630 exceptions are enabled.
17631 (_FP_PACK_CANONICAL): Likewise.
17633 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17637 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17639 2012-05-30 Richard Henderson <rth@twiddle.net>
17641 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17642 with #ifndef NOT_IN_libc.
17644 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17645 marked to avoid plt entry.
17647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17650 * Makeconfig (default-abi): New macro.
17651 (abi-includes): Likewise.
17652 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17653 $(abi-$(default-abi)-lib-soname) for soname if defined.
17654 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17656 * Makefile (installed-stubs): Likewise.
17657 * include/stubs-biarch.h: Removed.
17658 * scripts/lib-names.awk: Only handle one library at a time.
17659 * scripts/soversions.awk: Remove WORDSIZE support.
17660 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17662 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17664 (syscall-list-default-condition): Likewise.
17665 (syscall-list-default-condition): Likewise.
17666 (syscall-list-includes): Likewise.
17667 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17668 syscall-list-* with abi-*. Handle undefined abi-variants.
17669 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17670 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17671 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17673 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17674 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17676 (syscall-list-32-options): Likewise.
17677 (syscall-list-32-condition): Likewise.
17678 (syscall-list-64-options): Likewise.
17679 (syscall-list-64-condition): Likewise.
17680 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17682 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17685 (abi-64-ld-soname): New macro.
17686 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17690 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17691 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17693 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17695 * sysdeps/unix/sysv/linux/kernel-features.h
17696 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17697 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17698 include <kernel-features.h>.
17699 [!__NR_ftruncate64]: Remove conditional code.
17700 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17701 [__NR_ftruncate64]: Make code unconditional.
17702 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17703 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17704 include <kernel-features.h>.
17705 [!__NR_ftruncate64]: Remove conditional code.
17706 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17707 [__NR_ftruncate64]: Make code unconditional.
17708 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17710 include <kernel-features.h>.
17711 [!__NR_ftruncate64]: Remove conditional code.
17712 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17713 [__NR_ftruncate64]: Make code unconditional.
17714 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17716 include <kernel-features.h>.
17717 [!__NR_ftruncate64]: Remove conditional code.
17718 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17719 [__NR_ftruncate64]: Make code unconditional.
17720 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17722 * configure.in (libc_cv_fpie): Weaken to a compile test using
17723 LIBC_TRY_CC_OPTION.
17724 * configure: Regenerated.
17726 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17741 2012-05-27 David S. Miller <davem@davemloft.net>
17743 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17745 (__Q_simulate_exceptions): Return void. Change to simulate
17746 exceptions by writing into the %fsr.
17747 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17748 (__Qp_handle_exceptions): Likewise.
17750 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17751 __Qp_handle_exceptions.
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17753 __Qp_handle_exceptions.
17754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17755 as unused and give dummy FP_RND_NEAREST initializer.
17756 (FP_INHIBIT_RESULTS): Define.
17757 (___Q_simulate_exceptions): Update declaration.
17758 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17760 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17761 as unused and give dummy FP_RND_NEAREST initializer.
17762 (__Qp_handle_exceptions): Update declaration.
17763 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17766 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17768 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17769 the temporary FPU control word.
17770 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17771 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17772 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17773 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17774 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17775 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17776 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17777 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17778 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17779 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17780 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17782 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17784 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17787 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17789 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17790 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17791 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17792 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17794 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17795 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17798 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17800 * po/h.po: Update from translation team.
17802 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17804 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17806 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17807 handling of denormals.
17808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17809 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17810 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17811 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17817 2012-05-26 Marek Polacek <polacek@redhat.com>
17820 * math/libm-test.inc (fma_test): Don't always expect underflow
17823 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17826 * elf/tst-execstack.c: Include stackinfo.h.
17827 (do_test): Adjust test case to ensure that pthread_getattr_np
17828 behaviour remains the same after marking stack executable.
17830 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17832 * sysdeps/unix/sysv/linux/kernel-features.h
17833 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17834 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17836 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17837 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17838 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17840 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17841 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17843 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17845 * configure.in: Define the default includes to being none.
17846 * configure: Regenerated.
17848 2012-05-25 Roland McGrath <roland@hack.frob.com>
17850 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17851 * sysdeps/x86_64/setjmp.S: Likewise.
17852 * sysdeps/i386/bsd-setjmp.S: Likewise.
17853 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17854 * sysdeps/i386/setjmp.S: Likewise.
17855 * sysdeps/i386/__longjmp.S: Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17857 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17859 * include/stap-probe.h: New file.
17860 * configure.in: Handle --enable-systemtap.
17861 * configure: Regenerated.
17862 * config.h.in (USE_STAP_PROBE): New #undef.
17863 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17864 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17865 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17867 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17871 to 2.4.0 where earlier.
17872 * sysdeps/unix/sysv/linux/configure: Regenerated.
17873 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17874 <kernel-features.h>.
17875 [__ASSUME_32BITUIDS]: Make code unconditional.
17876 [!__ASSUME_32BITUIDS]: Remove conditional code.
17877 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17878 <kernel-features.h>.
17879 [__ASSUME_32BITUIDS]: Make code unconditional.
17880 [!__ASSUME_32BITUIDS]: Remove conditional code.
17881 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17882 [__ASSUME_32BITUIDS]: Make code unconditional.
17883 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17884 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17885 <kernel-features.h>.
17886 [__ASSUME_32BITUIDS]: Make code unconditional.
17887 [!__ASSUME_32BITUIDS]: Remove conditional code.
17888 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17889 <kernel-features.h>.
17890 [__ASSUME_32BITUIDS]: Make code unconditional.
17891 [!__ASSUME_32BITUIDS]: Remove conditional code.
17892 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17893 <kernel-features.h>.
17894 [__ASSUME_32BITUIDS]: Make code unconditional.
17895 [!__ASSUME_32BITUIDS]: Remove conditional code.
17896 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17897 <kernel-features.h>.
17898 [__ASSUME_32BITUIDS]: Make code unconditional.
17899 [!__ASSUME_32BITUIDS]: Remove conditional code.
17900 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17901 <kernel-features.h>.
17902 [__ASSUME_32BITUIDS]: Make code unconditional.
17903 [!__ASSUME_32BITUIDS]: Remove conditional code.
17904 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17905 <kernel-features.h>.
17906 [__ASSUME_32BITUIDS]: Make code unconditional.
17907 [!__ASSUME_32BITUIDS]: Remove conditional code.
17908 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17909 <kernel-features.h>.
17910 [__ASSUME_32BITUIDS]: Make code unconditional.
17911 [!__ASSUME_32BITUIDS]: Remove conditional code.
17912 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17913 <kernel-features.h>.
17914 [__ASSUME_32BITUIDS]: Make code unconditional.
17915 [!__ASSUME_32BITUIDS]: Remove conditional code.
17916 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17917 <kernel-features.h>.
17918 [__ASSUME_32BITUIDS]: Make code unconditional.
17919 [!__ASSUME_32BITUIDS]: Remove conditional code.
17920 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17921 <kernel-features.h>.
17922 [__ASSUME_32BITUIDS]: Make code unconditional.
17923 [!__ASSUME_32BITUIDS]: Remove conditional code.
17924 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17925 <kernel-features.h>.
17926 [__NR_setresgid] (__setresgid): Do not declare.
17927 [__ASSUME_32BITUIDS]: Make code unconditional.
17928 [!__ASSUME_32BITUIDS]: Remove conditional code.
17929 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17930 <kernel-features.h>.
17931 [__NR_setresuid] (__setresuid): Do not declare.
17932 [__ASSUME_32BITUIDS]: Make code unconditional.
17933 [!__ASSUME_32BITUIDS]: Remove conditional code.
17934 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17935 <kernel-features.h>.
17936 [__ASSUME_32BITUIDS]: Make code unconditional.
17937 [!__ASSUME_32BITUIDS]: Remove conditional code.
17938 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17939 <kernel-features.h>.
17940 [__ASSUME_32BITUIDS]: Make code unconditional.
17941 [!__ASSUME_32BITUIDS]: Remove conditional code.
17942 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17943 <kernel-features.h>.
17944 [__ASSUME_32BITUIDS]: Make code unconditional.
17945 [!__ASSUME_32BITUIDS]: Remove conditional code.
17946 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17947 <kernel-features.h>.
17948 [__ASSUME_32BITUIDS]: Make code unconditional.
17949 [!__ASSUME_32BITUIDS]: Remove conditional code.
17950 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17951 <kernel-features.h>.
17952 [__ASSUME_32BITUIDS]: Make code unconditional.
17953 [!__ASSUME_32BITUIDS]: Remove conditional code.
17954 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17955 <kernel-features.h>.
17956 [__ASSUME_32BITUIDS]: Make code unconditional.
17957 [!__ASSUME_32BITUIDS]: Remove conditional code.
17958 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17959 <kernel-features.h>.
17960 [__ASSUME_32BITUIDS]: Make code unconditional.
17961 [!__ASSUME_32BITUIDS]: Remove conditional code.
17962 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17963 <kernel-features.h>.
17964 [__ASSUME_32BITUIDS]: Make code unconditional.
17965 [!__ASSUME_32BITUIDS]: Remove conditional code.
17966 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17967 <kernel-features.h>.
17968 [__ASSUME_32BITUIDS]: Make code unconditional.
17969 [!__ASSUME_32BITUIDS]: Remove conditional code.
17970 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17971 <kernel-features.h>.
17972 [__ASSUME_32BITUIDS]: Make code unconditional.
17973 [!__ASSUME_32BITUIDS]: Remove conditional code.
17974 * sysdeps/unix/sysv/linux/kernel-features.h
17975 (__ASSUME_SETRESUID_SYSCALL): Remove.
17976 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17977 (__ASSUME_32BITUIDS): Likewise.
17978 (__ASSUME_LDT_WORKS): Likewise.
17979 (__ASSUME_O_DIRECTORY): Likewise.
17980 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17981 architecture but not kernel version.
17982 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17983 (__ASSUME_MMAP2_SYSCALL): Likewise.
17984 (__ASSUME_STAT64_SYSCALL): Likewise.
17985 (__ASSUME_IPC64): Likewise.
17986 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17987 <kernel-features.h>.
17988 [__ASSUME_32BITUIDS]: Make code unconditional.
17989 [!__ASSUME_32BITUIDS]: Remove conditional code.
17990 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17991 <kernel-features.h>.
17992 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17993 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17994 132096]: Remove conditional code.
17995 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17996 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17997 <kernel-features.h>.
17998 [__ASSUME_32BITUIDS]: Make code unconditional.
17999 [!__ASSUME_32BITUIDS]: Remove conditional code.
18000 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18001 <kernel-features.h>.
18002 [__ASSUME_32BITUIDS]: Make code unconditional.
18003 [!__ASSUME_32BITUIDS]: Remove conditional code.
18004 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18005 <kernel-features.h>.
18006 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18008 (__setresgid): Do not declare.
18009 [__ASSUME_32BITUIDS]: Make code unconditional.
18010 [!__ASSUME_32BITUIDS]: Remove conditional code.
18011 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18012 <kernel-features.h>.
18013 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18015 (__setresuid): Do not declare.
18016 [__ASSUME_32BITUIDS]: Make code unconditional.
18017 [!__ASSUME_32BITUIDS]: Remove conditional code.
18018 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18019 <kernel-features.h>.
18020 [__ASSUME_32BITUIDS]: Make code unconditional.
18021 [!__ASSUME_32BITUIDS]: Remove conditional code.
18022 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18023 <kernel-features.h>.
18024 [__ASSUME_32BITUIDS]: Make code unconditional.
18025 [!__ASSUME_32BITUIDS]: Remove conditional code.
18027 2012-05-25 Richard Henderson <rth@twiddle.net>
18029 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18030 dl_hwcap to ifunc resolver.
18031 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18033 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18034 dl_hwcap to ifunc resolver.
18035 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18037 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18040 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18041 for |x| <= 2**-26, not 2**-57.
18042 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18045 2012-05-24 Jeff Law <law@redhat.com>
18047 * stdio-common/Makefile (tests): Add bug25.
18048 * stdio-common/bug25.c: New test.
18050 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18053 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18054 multiple of MALLOC_ALIGNMENT in size.
18055 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18057 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18059 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18061 (FILENAME_MAX): Use macro-int-constant.
18062 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18063 (_IOFBF): Use macro-int-constant.
18064 (_IOLBF): Likewise.
18065 (_IONBF): Likewise.
18066 (SEEK_CUR): Likewise.
18067 (SEEK_END): Likewise.
18068 (SEEK_SET): Likewise.
18069 (TMP_MAX): Likewise.
18070 (EOF): Use macro-int-constant. Require < 0.
18071 (NULL): Use macro-constant. Require == 0.
18072 (stdin): Require type to be FILE *.
18073 (stdout): Likewise.
18074 (stderr): Likewise.
18075 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18076 macro-int-constant.
18077 (EXIT_SUCCESS): Likewise.
18078 (NULL): Use macro-constant. Require == 0.
18079 (RAND_MAX): Use macro-int-constant.
18080 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18081 [C99-based standards] (strtof): Require function.
18082 [C99-based standards] (strtold): Likewise.
18083 [C99-based standards] (strtoll): Likewise.
18084 [C99-based standards] (strtoull): Likewise.
18085 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18086 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18087 [ISO || ISO99 || ISO11] (math.h): Likewise.
18088 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18089 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18092 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18095 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18096 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18097 * intl/dgettext.c (DCGETTEXT): Likewise.
18098 * intl/gettext.c (DCGETTEXT): Likewise.
18099 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18100 * posix/regex_internal.h (gettext): Likewise.
18101 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18102 Remove declaration.
18103 * include/argz.h (__argz_count_internal)
18104 (__argz_stringify_internal): Remove declaration.
18105 (__argz_count, __argz_stringify): Declare hidden proto.
18106 * intl/dcgettext.c: Remove use of INTDEF.
18107 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18108 * string/argz-stringify.c: Likewise.
18109 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18110 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18111 Declare hidden proto.
18112 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18113 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18114 Declare hidden proto.
18115 * include/stdio.h (__asprintf_internal): Don't declare.
18116 (__asprintf): Don't define as macro. Declare hidden proto.
18117 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18118 (__fsetlocking): Declare hidden proto.
18119 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18120 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18122 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18123 (_IO_setlinebuf): Remove use of INTUSE.
18124 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18125 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18126 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18127 Remove declaration.
18128 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18129 (_IO_do_flush): Remove use of INTUSE.
18130 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18131 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18132 (_IO_adjust_column, _IO_least_wmarker)
18133 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18134 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18135 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18136 (_IO_default_doallocate, _IO_wdefault_doallocate)
18137 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18138 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18139 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18140 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18141 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18142 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18143 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18144 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18145 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18146 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18147 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18148 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18149 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18151 (_IO_flush_all_internal, _IO_adjust_column_internal)
18152 (_IO_default_uflow_internal, _IO_default_finish_internal)
18153 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18154 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18155 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18156 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18157 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18158 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18159 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18160 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18161 (_IO_file_close_internal, _IO_file_close_it_internal)
18162 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18163 (_IO_file_init_internal, _IO_file_attach_internal)
18164 (_IO_file_fopen_internal, _IO_file_read_internal)
18165 (_IO_file_sync_internal, _IO_file_seek_internal)
18166 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18167 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18168 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18169 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18170 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18171 (_IO_list_all_internal, _IO_link_in_internal)
18172 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18173 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18174 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18175 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18176 (_IO_do_write_internal, _IO_padn_internal)
18177 (_IO_getline_info_internal, _IO_getline_internal)
18178 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18179 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18180 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18181 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18182 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18183 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18184 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18185 with libc_hidden_ver, remove use of INTUSE.
18186 * libio/genops.c: Likewise.
18187 * libio/freopen.c: Likewise.
18188 * libio/freopen64.c: Likewise.
18189 * libio/iofclose.c: Likewise.
18190 * libio/iofdopen.c: Likewise.
18191 * libio/iofflush.c: Likewise.
18192 * libio/iofflush_u.c: Likewise.
18193 * libio/iofgets.c: Likewise.
18194 * libio/iofgets_u.c: Likewise.
18195 * libio/iofopen.c: Likewise.
18196 * libio/iofopncook.c: Likewise.
18197 * libio/iofread.c: Likewise.
18198 * libio/iofread_u.c: Likewise.
18199 * libio/ioftell.c: Likewise.
18200 * libio/iofwrite.c: Likewise.
18201 * libio/iogetline.c: Likewise.
18202 * libio/iogets.c: Likewise.
18203 * libio/iogetwline.c: Likewise.
18204 * libio/iopadn.c: Likewise.
18205 * libio/iopopen.c: Likewise.
18206 * libio/ioseekoff.c: Likewise.
18207 * libio/ioseekpos.c: Likewise.
18208 * libio/iosetbuffer.c: Likewise.
18209 * libio/iosetvbuf.c: Likewise.
18210 * libio/ioungetc.c: Likewise.
18211 * libio/ioungetwc.c: Likewise.
18212 * libio/iovdprintf.c: Likewise.
18213 * libio/iovsprintf.c: Likewise.
18214 * libio/iovsscanf.c: Likewise.
18215 * libio/memstream.c: Likewise.
18216 * libio/obprintf.c: Likewise.
18217 * libio/oldfileops.c: Likewise.
18218 * libio/oldiofclose.c: Likewise.
18219 * libio/oldiofdopen.c: Likewise.
18220 * libio/oldiofopen.c: Likewise.
18221 * libio/oldiopopen.c: Likewise.
18222 * libio/oldstdfiles.c: Likewise.
18223 * libio/putc.c: Likewise.
18224 * libio/setbuf.c: Likewise.
18225 * libio/setlinebuf.c: Likewise.
18226 * libio/stdfiles.c: Likewise.
18227 * libio/strops.c: Likewise.
18228 * libio/vasprintf.c: Likewise.
18229 * libio/vscanf.c: Likewise.
18230 * libio/vsnprintf.c: Likewise.
18231 * libio/vswprintf.c: Likewise.
18232 * libio/wfiledoalloc.c: Likewise.
18233 * libio/wfileops.c: Likewise.
18234 * libio/wgenops.c: Likewise.
18235 * libio/wmemstream.c: Likewise.
18236 * libio/wstrops.c: Likewise.
18237 * libio/__fpurge.c: Likewise.
18238 * libio/__fsetlocking.c: Likewise.
18239 * assert/assert.c: Likewise.
18240 * debug/fgets_chk.c: Likewise.
18241 * debug/fgets_u_chk.c: Likewise.
18242 * debug/fread_chk.c: Likewise.
18243 * debug/fread_u_chk.c: Likewise.
18244 * debug/gets_chk.c: Likewise.
18245 * debug/obprintf_chk.c: Likewise.
18246 * debug/vasprintf_chk.c: Likewise.
18247 * debug/vdprintf_chk.c: Likewise.
18248 * debug/vsnprintf_chk.c: Likewise.
18249 * debug/vsprintf_chk.c: Likewise.
18250 * malloc/mtrace.c: Likewise.
18251 * misc/error.c: Likewise.
18252 * misc/syslog.c: Likewise.
18253 * stdio-common/asprintf.c: Likewise.
18254 * stdio-common/fxprintf.c: Likewise.
18255 * stdio-common/getw.c: Likewise.
18256 * stdio-common/isoc99_fscanf.c: Likewise.
18257 * stdio-common/isoc99_scanf.c: Likewise.
18258 * stdio-common/isoc99_vfscanf.c: Likewise.
18259 * stdio-common/isoc99_vscanf.c: Likewise.
18260 * stdio-common/isoc99_vsscanf.c: Likewise.
18261 * stdio-common/printf-prs.c: Likewise.
18262 * stdio-common/printf_fp.c: Likewise.
18263 * stdio-common/printf_fphex.c: Likewise.
18264 * stdio-common/printf_size.c: Likewise.
18265 * stdio-common/putw.c: Likewise.
18266 * stdio-common/scanf.c: Likewise.
18267 * stdio-common/sprintf.c: Likewise.
18268 * stdio-common/tmpfile.c: Likewise.
18269 * stdio-common/vfprintf.c: Likewise.
18270 * stdio-common/vfscanf.c: Likewise.
18271 * stdlib/strfmon_l.c: Likewise.
18272 * sunrpc/openchild.c: Likewise.
18273 * sunrpc/xdr_stdio.c: Likewise.
18274 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18275 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18277 2012-05-24 Roland McGrath <roland@hack.frob.com>
18279 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18281 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18282 in the third column, to generate for the shared library an IFUNC
18283 that uses _dl_vdso_vsym.
18284 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18285 * Makeconfig (object-suffixes-noshared): New variable.
18287 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18288 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18289 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18290 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18293 * include/sys/time.h (__gettimeofday): Remove macro.
18294 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18295 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18297 (__gettimeofday): Add libc_hidden_def.
18298 (gettimeofday): Add libc_hidden_weak.
18299 * sysdeps/mach/gettimeofday.c: Likewise.
18300 * sysdeps/posix/gettimeofday.c: Likewise.
18301 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18302 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18304 (__gettimeofday_internal): Remove strong_alias.
18305 (__gettimeofday): Add libc_hidden_def.
18306 (gettimeofday): Add libc_hidden_weak.
18307 * sysdeps/unix/syscalls.list (gettimeofday):
18308 Remove __gettimeofday_internal alias.
18310 2012-05-24 Daniel Jacobowitz <drow@false.org>
18311 H.J. Lu <hongjiu.lu@intel.com>
18314 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18315 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18316 (largebin_index_32_big): New.
18317 (largebin_index): Use it for 16-byte alignment.
18318 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18319 correction with front_misalign.
18321 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18349 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18350 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18352 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18356 * math/libm-test.inc (exp_test): Add test from bug 14036.
18357 (pow_test): Add test from bug 10846.
18359 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18361 (special_function): Do not include flags in test name.
18362 (parse_args): Likewise.
18363 * sysdeps/i386/fpu/libm-test-ulps: Update.
18364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18365 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18369 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18371 * math/libm-test.inc ("Philosophy"): Update comment about
18373 (UNDERFLOW_EXCEPTION): New macro.
18374 (UNDERFLOW_EXCEPTION_OK): Likewise.
18375 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18376 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18377 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18378 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18379 (INVALID_EXCEPTION_OK): Update value.
18380 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18381 (OVERFLOW_EXCEPTION_OK): Likewise.
18382 (IGNORE_ZERO_INF_SIGN): Likewise.
18383 (test_exceptions): Handle underflow exceptions.
18384 (acos_test): Update for underflow exception expectations.
18385 (cexp_test): Likewise.
18386 (clog_test): Likewise.
18387 (clog10_test): Likewise.
18388 (csqrt_test): Likewise.
18389 (ctan_test): Likewise.
18390 (ctanh_test): Likewise.
18391 (exp_test): Likewise.
18392 (exp10_test): Likewise.
18393 (exp2_test): Likewise.
18394 (expm1_test): Likewise.
18395 (fma_test): Likewise.
18396 (j0_test): Likewise.
18397 (jn_test): Likewise.
18398 (nexttoward_test): Likewise.
18399 (pow_test): Likewise.
18400 (scalbn_test): Likewise.
18401 (scalbln_test): Likewise.
18402 (tan_test): Likewise.
18403 (y1_test): Likewise.
18404 * sysdeps/i386/fpu/libm-test-ulps: Update.
18405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18407 2012-05-23 David S. Miller <davem@davemloft.net>
18409 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18410 (__libc_sigaction): Remove unused local variables.
18412 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18414 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18416 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18418 mktime: avoid signed integer overflow
18419 * time/mktime.c (__mktime_internal): Do not mishandle the case
18420 where diff == INT_MIN.
18422 mktime: simplify computation of average
18423 * time/mktime.c (ranged_convert): Use new time_t_avg function
18424 instead of rolling our own (probably-slower) code.
18426 mktime: do not assume signed right shift propagates sign bit
18427 * time/mktime.c (isdst_differ): New static function.
18428 (__mktime_internal): No need to normalize tm_isdst now.
18429 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18432 mktime: merge another wrapv change from gnulib
18433 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18434 from some compilers.
18436 mktime: remove incorrect attempt at unusual arithmetics
18437 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18438 The code didn't really work on such machines anyway.
18439 (TYPE_MINIMUM): Assume two's complement.
18440 (twos_complement_arithmetic): Verify that long_int and time_t
18441 are two's complement (or unsigned, in the latter case).
18443 mktime: check signed shifts on long_int and time_t, too
18444 * time/mktime.c (SHR): Check that shifts work as desired
18445 on the types long_int and time_t too, as SHR is used on
18448 mktime: do not assume 'long' is wide enough
18449 * time/mktime.c (verify): Move decl up.
18450 (long_int): New type.
18451 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18452 to remove assumption in the code that 'long' is wide enough to
18453 store year values. This assumption is not true on x32 and on
18454 some non-glibc platforms.
18456 mktime: merge wrapv change from gnulib
18457 * time/mktime.c (WRAPV): New macro.
18458 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18459 (guess_time_tm, __mktime_internal): Do not assume that signed
18460 integer overflow wraps around; modern compilers generate code
18461 where this assumption is no longer valid.
18463 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18465 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18466 Replace "jmp L(pseudo_end)" with "ret".
18467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18470 2012-05-23 Andreas Jaeger <aj@suse.de>
18472 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18473 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18475 2012-05-23 Andreas Jaeger <aj@suse.de>
18476 Maximilian Attems <max@stro.at>
18478 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18481 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18483 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18484 code so that pseudo_end is just ret and the stack pointer is
18485 correct also for static library in error case.
18487 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18489 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18490 move to syscalls.list.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18496 * manual/install.texi (Running make install): Do not mention Linux
18497 kernel version for which pt_chown is not needed.
18498 (Linux): Do not mention problems with nscd with 2.0 kernels.
18499 * INSTALL: Regenerated.
18501 2012-05-23 Andreas Jaeger <aj@suse.de>
18503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18504 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18506 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18507 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18508 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18509 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18510 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18511 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18512 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18516 * sysdeps/unix/sysv/linux/bits/in.h
18517 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18519 2012-05-22 Roland McGrath <roland@hack.frob.com>
18521 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18522 (PREPARE_VERSION): Just use assert instead, it will be elided
18523 under [NDEBUG] anyway.
18525 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18527 * sysdeps/unix/sysv/linux/Makefile: Include
18528 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18529 (sysdep_routines): Remove sysctl.
18530 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18531 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18532 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18533 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18534 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18536 2012-05-22 Andreas Jaeger <aj@suse.de>
18538 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18539 that pseudo_end is just ret and the stack pointer is correct also
18540 for static library in error case.
18542 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18545 * nss/nsswitch.c (defconfig_entries): New variable.
18546 (__nss_database_lookup): Don't leak defconfig entries.
18547 (nss_parse_service_list): Don't leak on error paths.
18548 (free_database_entries): New function.
18549 (free_defconfig): New function.
18550 (free_mem): Move common code to free_database_entries.
18552 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18554 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18556 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18558 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18559 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18562 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18563 (INTERNAL_SYSCALL_TYPES): Likewise.
18564 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18565 (LOAD_REGS_TYPES_[1-6]): Likewise.
18566 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18567 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18569 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18571 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18572 copysignl for GLIBC_2_0.
18573 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18574 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18576 logbl for GLIBC_2_0.
18577 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18578 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18580 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18585 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18588 * time/mktime.c: Update copyright years.
18590 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18592 mktime: merge comment-quoting-style change from gnulib
18593 * time/mktime.c: Quote 'like this' in comments.
18594 The GNU coding standards suggest that we no longer quote `like this',
18595 as "`" and "'" are typically rendered asymmetrically nowadays.
18596 The typical gnulib style is to quote 'like this' when quoting
18597 code, and "like this" when quoting English.
18599 * time/mktime.c (compile-command): Add "-I.".
18601 mktime: merge mktime-internal.h change from gnulib
18602 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18604 mktime: merge time_r change from gnulib
18605 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18607 mktime: merge DEBUG change from gnulib
18608 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18609 case system <time.h> has a #define.
18611 mktime: merge <sys/types.h> change from gnulib
18612 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18613 since <time.t> is now guaranteed to define time_t.
18615 mktime: merge HAVE_CONFIG_H change from gnulib
18616 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18623 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18625 (struct rusage): Use anonymous union to pad each field to
18628 2012-05-21 David S. Miller <davem@davemloft.net>
18630 * Makefules (o-iterator): Remove .s cases.
18631 (compile-command.s): Delete.
18632 (COMPILE.s): Delete.
18633 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18635 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18637 * configure.in (libc_cv_predef_stack_protector): Only consider
18638 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18639 * configure: Regenerated.
18641 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18644 New macro. Use R*LP on int and pointer.
18645 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18646 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18647 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18648 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18650 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18651 [__WORDSIZE_TIME64_COMPAT32] instead of
18652 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18653 (struct utmp): Likewise.
18654 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18655 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18657 (__WORDSIZE_TIME64_COMPAT32): This.
18658 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18659 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18660 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18661 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18662 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18663 (__WORDSIZE_TIME64_COMPAT32): New macro.
18665 2012-05-21 Andreas Jaeger <aj@suse.de>
18667 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18668 only if [SHARED]. Add prototype for __wcschr_ia32.
18670 2012-05-21 Roland McGrath <roland@hack.frob.com>
18672 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18673 of %rbp unmolested in the jmp_buf while mangling the low bits.
18674 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18675 unmolested high bits of %rbp while demangling the low bits.
18676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18678 2012-05-21 Andreas Jaeger <aj@suse.de>
18680 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18681 * sunrpc/svc_simple.c: Use it for registerrpc.
18682 * sunrpc/xcrypt.c: Use it for passwd2des.
18684 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18686 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18688 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18689 Don't define if [__SYSCALL_WORDSIZE != 32].
18690 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18693 2012-05-21 Bruno Haible <bruno@clisp.org>
18694 Andreas Jaeger <aj@suse.de>
18696 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18697 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18698 inptr and inend for must_buffer_ch.
18699 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18700 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18701 * stdio-common/Makefile (tests): Remove bug15.
18702 (bug15-ENV): Remove macro.
18703 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18706 2012-05-19 Andreas Jaeger <aj@suse.de>
18707 Roland McGrath <roland@hack.frob.com>
18709 * manual/contrib.texi: Completely rewritten. It contains now an
18710 alphabetical list of contributors and their contributions.
18712 2012-05-21 Richard Henderson <rth@twiddle.net>
18714 * misc/getauxval.c (__getauxval): Use unsigned long int.
18715 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18716 (getauxval): Use unsigned long int.
18718 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18720 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18722 2012-05-21 Roland McGrath <roland@hack.frob.com>
18724 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18725 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18726 __alignof__ (long double).
18728 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18732 2012-05-20 Richard Henderson <rth@twiddle.net>
18734 * misc/getauxval.c: New file.
18735 * misc/sys/auxv.h: New file.
18736 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18737 (routines): Add getauxval.
18738 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18739 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18740 * elf/dl-sysdep.c (_dl_auxv): Remove.
18741 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18742 * elf/dl-support.c (_dl_auxv): New variable.
18743 (_dl_aux_init): Initialize it.
18744 * manual/startup.texi (Auxiliary Vector): New node.
18745 * sysdeps/generic/bits/hwcap.h: New file.
18746 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18747 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18748 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18749 * sysdeps/sparc/sysdep.h: ... here. Include it.
18750 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18751 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18757 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18763 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18767 2012-05-19 David S. Miller <davem@davemloft.net>
18769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18771 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18774 * math/s_ccosh.c: Include <float.h>
18775 (__ccosh): Avoid internal overflow calculating sinh and cosh
18776 values before multiplying by sin and cos values.
18777 * math/s_ccoshf.c: Likewise.
18778 * math/s_ccoshl.c: Likewise.
18779 * math/s_csin.c: Likewise.
18780 * math/s_csinf.c: Likewise.
18781 * math/s_csinl.c: Likewise.
18782 * math/s_csinh.c: Likewise.
18783 * math/s_csinhf.c: Likewise.
18784 * math/s_csinhl.c: Likewise.
18785 * math/libm-test.inc (ccos_test): Add more tests.
18786 (ccosh_test): Likewise.
18787 (csin_test): Likewise.
18788 (csinh_test): Likewise.
18789 * sysdeps/i386/fpu/libm-test-ulps: Update.
18790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18792 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18794 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18795 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18797 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18799 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18801 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18802 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18803 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18804 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18805 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18806 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18807 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18808 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18809 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18810 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18811 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18812 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18813 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18814 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18815 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18816 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18817 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18818 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18819 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18820 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18821 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18822 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18823 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18824 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18825 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18826 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18827 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18828 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18829 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18830 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18831 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18833 2012-05-18 Andreas Jaeger <aj@suse.de>
18835 * csu/.gitignore: Delete.
18837 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18839 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18840 (timex): Use __syscall_slong_t.
18842 2012-05-18 Andreas Jaeger <aj@suse.de>
18843 Carlos O'Donell <carlos_odonell@mentor.com>
18845 * manual/install.texi (Configuring and compiling): Update
18846 description about files modified in the source directory.
18847 * INSTALL: Regenerated.
18849 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18851 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18852 value. Use "or" to set return value to -1.
18853 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18854 negate return value.
18856 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18858 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18859 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18860 failure if the compiler has Graphite support disabled.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18863 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18864 CFLAGS-memmove.c): Likewise.
18865 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18868 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18870 * sysdeps/x86_64/x32/_itoa.h: New file.
18872 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18873 getdents system call only if kernel and user dirents have the
18874 same d_ino and d_off.
18876 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18877 LLONG_MAX != LONG_MAX.
18878 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18879 (_fitoa_word): Likewise.
18881 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18883 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18884 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18885 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18887 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18888 include <bits/wordsize.h>. Check __x86_64__ instead of
18890 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18891 if __x86_64__ is defined. Use anonymous union on fpstate.
18893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18896 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18898 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18899 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18901 Refer to _rtld_local_ro instead of _rtld_global_ro.
18902 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18904 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18906 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18908 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18909 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18910 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18912 * sysdeps/powerpc/powerpc32/dl-machine.c
18913 (__elf_machine_runtime_setup) [PROF]: Don't reference
18916 2012-05-18 Andreas Jaeger <aj@suse.de>
18918 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18919 function only available for GCCs before 3.4 since GCC 3.4
18920 introduced a builtin.
18922 (llrintf): Likewise.
18923 (llrint): Likewise.
18930 (nearbyint): Likewise.
18931 (nearbyintf): Likewise.
18935 (floorf): Likewise.
18937 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18939 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18940 on both fields and cast pointer to __syscall_ulong_t.
18942 * bits/types.h (__fsword_t): New type.
18943 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18944 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18946 (__FSWORD_T_TYPE): Likewise.
18947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18948 (__FSWORD_T_TYPE): Likewise.
18949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18950 (__FSWORD_T_TYPE): Likewise.
18951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18952 (__FSWORD_T_TYPE): Likewise.
18953 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18954 __SWORD_TYPE with __fsword_t.
18955 (statfs64): Likewise.
18957 2012-05-17 David S. Miller <davem@davemloft.net>
18959 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18961 2012-05-17 Andreas Jaeger <aj@suse.de>
18963 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18966 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18968 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18970 2012-05-17 Andreas Jaeger <aj@suse.de>
18972 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18975 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18977 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18979 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18981 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18982 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18984 2012-05-17 Andreas Jaeger <aj@suse.de>
18985 Carlos O'Donell <carlos_odonell@mentor.com>
18988 * sysdeps/x86_64/multiarch/init-arch.h
18989 (bit_YMM_Usable): Rename to...
18990 (bit_AVX_Usable): ... this.
18991 (bit_FMA4_Usable): New macro.
18992 (bit_XMM_state): New macro.
18993 (bit_YMM_state): New macro.
18994 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18995 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18996 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18997 (CPUID_OSXSAVE): New macro.
18998 (CPUID_AVX): New macro.
18999 (CPUID_FMA4): New macro.
19000 (index_YMM_Usable): Rename to...
19001 (index_AVX_Usable): ... this.
19002 (HAS_AVX): Use HAS_ARCH_FEATURE.
19003 (HAS_FMA4): Likewise.
19004 (HAS_YMM_USABLE): Remove.
19005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19006 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19008 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19009 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19010 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19011 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19012 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19014 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19016 * math/libm-test.c: Support platforms without multiple rounding modes.
19017 * math/bug-nextafter.c: Support platforms without FP exceptions.
19018 * math/bug-nexttoward.c: Likewise.
19019 * math/test-fenv.c: Likewise.
19020 * math/test-misc.c: Likewise.
19021 * stdlib/bug-getcontext.c: Likewise.
19023 2012-05-17 Andreas Jaeger <aj@suse.de>
19025 * manual/examples/search.c (critter_cmp): Change signature to
19027 * manual/string.texi (Collation Functions): Likewise.
19029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19031 * bits/types.h: Fold copyright years.
19032 * bits/typesizes.h: Likewise.
19033 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19034 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19037 * time/time.h: Likewise.
19039 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19042 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19043 in instead of returning them. Return void.
19044 (__libc_mallinfo): Accumulate over all arenas.
19045 (__malloc_stats): Adjust for change in int_mallinfo interface.
19047 2012-05-16 Roland McGrath <roland@hack.frob.com>
19050 * configure.in (NM): Add AC_CHECK_TOOL for it.
19051 (libc_extra_cflags): New substituted variable.
19052 Check for -fstack-protector being used implicitly.
19053 * configure: Regenerated.
19054 * config.make.in (config-extra-cflags): New variable,
19055 gets @libc_extra_cflags@.
19056 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19059 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19060 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19061 * configure: Regenerated.
19062 * config.make.in (CPPUNDEFS): New substituted variable.
19063 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19064 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19065 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19067 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19069 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19070 (mq_attr): Use __syscall_slong_t.
19072 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19074 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19075 Check __x86_64__ instead of __WORDSIZE.
19076 (_STAT_VER_LINUX): Likewise.
19077 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19078 __syscall_ulong_t and __syscall_slong_t.
19079 (stat64): Likewise.
19081 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19083 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19087 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19091 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19094 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19095 include <bits/wordsize.h>. Check __x86_64__ instead of
19097 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19099 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19102 include <bits/wordsize.h>. Check __x86_64__ instead of
19104 (user_regs_struct): Use "__extension__ unsigned long long"
19105 instead of "unsigned long" if __x86_64__ is defined.
19106 (user): Likewise. Pad after pointer field if __ILP32__ is
19109 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19111 * configure.in (makeinfo): Require version 4.5 or later. Allow
19113 * configure: Regenerated.
19114 * manual/install.texi (texinfo): Increase version requirement to
19116 * INSTALL: Regenerated.
19118 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19122 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19124 * sysdeps/x86_64/x32/ffs.c: New file.
19126 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19128 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19129 defined. Use __syscall_ulong_t.
19130 (shminfo): Use __syscall_ulong_t.
19131 (shm_info): Likewise.
19133 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19136 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19138 (msgqnum_t): Use __syscall_ulong_t.
19139 (msglen_t): Likewise.
19140 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19143 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19144 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19146 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19148 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19149 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19151 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19154 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19155 include <bits/wordsize.h>. Check __x86_64__ instead of
19158 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19159 "unsigned long long int" if __x86_64__ is defined.
19160 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19162 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19163 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19164 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19166 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19168 (GET_PC): Cast to uintptr_t first.
19169 (GET_FRAME): Likewise.
19170 (GET_STACK): Likewise.
19172 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19173 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19174 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19176 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19178 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19179 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19180 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19181 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19182 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19183 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19184 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19185 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19186 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19187 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19188 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19189 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19190 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19191 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19192 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19193 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19195 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19197 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19200 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19202 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19204 * Makerules (+depfiles): Also collect depfiles from .oS in
19206 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19207 .oS, $(libnldbl-routines)).
19209 * Makerules (native-compile-mkdep-flags): Define.
19210 * sunrpc/Makefile (extra-objs): Add $(addprefix
19211 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19212 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19213 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19214 calling $(make-target-directory).
19216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19218 * bits/types.h (__snseconds_t): Removed.
19219 * time/time.h (struct timespec): Replace __snseconds_t with
19221 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19222 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19225 (__SNSECONDS_T_TYPE): Likewise.
19226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19227 (__SNSECONDS_T_TYPE): Likewise.
19228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19229 (__SNSECONDS_T_TYPE): Likewise.
19231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19233 * sysdeps/mach/hurd/bits/typesizes.h
19234 (__SYSCALL_SLONG_TYPE): New macro.
19235 (__SYSCALL_ULONG_TYPE): Likewise.
19237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19239 * bits/types.h (__syscall_slong_t): New type.
19240 (__syscall_ulong_t): Likewise.
19242 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19243 (__SYSCALL_ULONG_TYPE): Likewise.
19244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19245 (__SYSCALL_SLONG_TYPE): Likewise.
19246 (__SYSCALL_ULONG_TYPE): Likewise.
19247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19248 (__SYSCALL_SLONG_TYPE): Likewise.
19249 (__SYSCALL_ULONG_TYPE): Likewise.
19250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19251 (__SYSCALL_SLONG_TYPE): Likewise.
19252 (__SYSCALL_ULONG_TYPE): Likewise.
19254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19256 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19257 Add sigaltstack-offsets.sym.
19258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19259 <sigaltstack-offsets.h>.
19260 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19261 longjmp_msg pointer.
19262 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19263 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19265 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19267 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19269 * elf/stackguard-macros.h: Remove file.
19270 * sysdeps/generic/stackguard-macros.h: New file.
19271 * sysdeps/i386/stackguard-macros.h: Likewise.
19272 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19273 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19274 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19275 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19276 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19277 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19278 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19279 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19280 <elf/stackguard-macros.h>.
19283 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19284 __aligned__ in attribute.
19285 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19286 (gregset_t): Likewise.
19288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19290 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19291 * sysdeps/x86_64/64/Implies-after: Here. New file.
19292 * sysdeps/x86_64/x32/Implies-after: New file.
19294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19296 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19297 and access return value for _dl_profile_fixup. Use R10_LP to
19300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19302 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19306 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19307 * sysdeps/x86_64/x32/sysdep.h: New file.
19309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19311 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19312 * sysdeps/x86_64/setjmp.S: Likewise.
19314 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19317 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19318 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19319 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19320 remove unused global constant.
19322 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19324 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19325 include of <not-cancel.h>.
19327 2012-05-15 Roland McGrath <roland@hack.frob.com>
19329 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19331 2012-05-15 Jeff Law <law@redhat.com>
19332 Andreas Jaeger <aj@suse.de>
19335 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19337 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19338 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19339 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19340 code changing __hst_map_handle.map.
19342 2012-05-15 Roland McGrath <roland@hack.frob.com>
19344 * configure.in (sysnames): Look for Implies-before and Implies-after
19346 * configure: Regenerated.
19348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19350 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19351 8-byte data alignment with LP_SIZE alignment.
19353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19355 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19360 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19364 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19365 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19366 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19368 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19372 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19373 (stackinfo_sub_sp): Likewise.
19375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19377 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19387 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19392 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19396 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19397 into R11_LP and load __x86_64_shared_cache_size_half into
19400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19402 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19405 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19414 powerpc32/power7/fpu/s_logb.c via #include.
19415 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19416 powerpc32/power7/fpu/s_logbf.c via #include.
19417 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19418 powerpc32/power7/fpu/s_logbl.c via #include.
19420 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19422 * README.libm: Remove file.
19424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19426 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19427 count for x32. Use R*_LP and omit operand-size suffix.
19429 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19431 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19432 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19433 * sysdeps/x86_64/x32/shlib-versions: New file.
19435 2012-05-14 Roland McGrath <roland@hack.frob.com>
19437 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19438 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19439 Use _dl_fatal_printf instead.
19441 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19443 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19444 set if not set by the user. Do not allow for being unset.
19445 * sysdeps/unix/sysv/linux/configure: Regenerated.
19447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19449 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19450 the `q' suffix from lea and replace .quad with ASM_ADDR.
19452 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19455 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19457 (PTR_DEMANGLE): Likewise.
19459 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19461 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19463 (ASM_ADDR): Likewise.
19464 (RAX_LP): Likewise.
19465 (RBP_LP): Likewise.
19466 (RBX_LP): Likewise.
19467 (RCX_LP): Likewise.
19468 (RDI_LP): Likewise.
19469 (RSI_LP): Likewise.
19470 (RSP_LP): Likewise.
19473 (R10_LP): Likewise.
19474 (R10_LP): Likewise.
19475 (R11_LP): Likewise.
19476 (R12_LP): Likewise.
19477 (R13_LP): Likewise.
19478 (R14_LP): Likewise.
19479 (R15_LP): Likewise.
19481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19483 * sysdeps/x86_64/x32/dl-machine.h: New file.
19485 2012-05-14 Andreas Jaeger <aj@suse.de>
19487 * manual/Makefile (subdir): Remove export of subdir.
19488 (all): Remove target.
19489 (.PHONY): Remove all from list.
19490 (mkinstalldirs): Remove.
19491 (.PHONY): Remove installdirs from list.
19492 ($(inst_infodir)/libc.info): Use make-target-directory.
19493 (installdirs): Remove.
19494 (subdir_%): Remove.
19495 (glibc-targets): Remove.
19498 ($(objpfx)stubs ../po/manual.pot): Remove.
19499 ($(objpfx)stamp%): Remove.
19500 (make-target-directory): Remove.
19501 (subdir_install): Remove.
19502 (routines): Remove.
19509 * manual/.gitignore: Remove, it's not needed anymore.
19510 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19512 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19514 (texis): Renamed to $(objpfx)texis.
19515 (texis-path): New, contains path to generated files.
19516 (chapters.%): Use texis-path for complete path, add extra argument
19518 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19519 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19520 (summary,texi, stamp-summary): Use complete path of
19521 files. Generate files in build dir.
19522 (dir-add.texi): Build in build dir.
19523 (libm-err.texi,stamp-libm-err): Likewise.
19524 (version.texi, stamp-version): Likewise.
19525 (.%c.texi): Likewise.
19526 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19527 (mostlyclean): Remove target.
19528 (realclean): Remove target.
19529 (generated): Add new variable with contents from mostlyclean and
19530 realclean, remove entries duplicated in common-mostlyclean, add
19531 stamp-libm-err and stamp-version.
19532 (generated-dirs): Add libc directory.
19533 ($(inst_infodir)/libc.info): Install files from build dir.
19535 * manual/install.texi (Configuring and compiling): Adjust since
19536 the info files are not part of the tar ball anymore.
19538 2012-05-14 Andreas Jaeger <aj@suse.de>
19540 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19543 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19546 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19547 to 2.2.0 where earlier.
19548 * sysdeps/unix/sysv/linux/configure: Regenerated.
19549 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19550 Remove conditional code.
19551 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19552 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19553 Remove conditional code.
19554 [!__NR_lchown]: Likewise.
19555 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19556 [__NR_lchown]: Likewise.
19557 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19558 comment referencing __ASSUME_LCHOWN_SYSCALL.
19559 * sysdeps/unix/sysv/linux/i386/sigaction.c
19560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19562 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19563 Remove conditional code.
19564 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19565 (__protocol_available): Remove #if 0 code.
19566 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19568 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19569 * sysdeps/unix/sysv/linux/kernel-features.h
19570 (__ASSUME_GETCWD_SYSCALL): Don't define.
19571 (__ASSUME_REALTIME_SIGNALS): Likewise.
19572 (__ASSUME_PREAD_SYSCALL): Likewise.
19573 (__ASSUME_PWRITE_SYSCALL): Likewise.
19574 (__ASSUME_POLL_SYSCALL): Likewise.
19575 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19576 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19578 (__ASSUME_SIOCGIFNAME): Don't define.
19579 (__ASSUME_MSG_NOSIGNAL): Likewise.
19580 (__ASSUME_SENDFILE): Define unconditionally.
19581 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19582 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19584 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19585 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19586 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19587 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19588 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19589 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19590 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19592 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19595 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19598 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19601 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19604 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19607 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19610 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19615 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19616 Remove conditional code.
19617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19618 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19619 Remove conditional code.
19620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19621 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19622 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19623 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19624 Remove conditional code.
19625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19626 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19627 Remove conditional code.
19628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19629 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19630 Remove conditional code.
19631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19632 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19633 Remove conditional code.
19634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19635 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19636 Remove conditional code.
19637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19638 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19641 * sysdeps/unix/sysv/linux/sigaction.c
19642 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19643 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19644 * sysdeps/unix/sysv/linux/sigpending.c
19645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19647 * sysdeps/unix/sysv/linux/sigprocmask.c
19648 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19649 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19650 * sysdeps/unix/sysv/linux/sigsuspend.c
19651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19654 (__libc_missing_rt_sigs): Remove.
19655 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19656 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19657 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19658 Remove conditional code.
19659 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19660 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19662 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19663 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19664 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19665 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19667 2012-05-14 Andreas Jaeger <aj@suse.de>
19669 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19670 it's not used in glibc.
19671 (__coshm1): Likewise.
19672 (__acosh1p): Likewise.
19675 * manual/string.texi (Copying and Concatenation): Add missing
19676 variable in concat example.
19677 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19679 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19683 __builtin_clzl with __builtin_clzll.
19685 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19688 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19691 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19693 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19694 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19695 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19696 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19698 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19700 * NEWS: Update ia64 info.
19702 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19704 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19707 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19709 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19710 * sysdeps/unix/syscalls.list (dup3): Likewise.
19711 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19712 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19714 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19716 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19717 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19719 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19721 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19723 (TLS_IE): Use mov/add instead of movq/addq to load thread
19725 (TLS_GD_PREFIX): New.
19728 2012-05-11 David S. Miller <davem@davemloft.net>
19730 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19731 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19732 (_FPU_SETCW): Likewise.
19734 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19736 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19737 is 32-byte aligned.
19739 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19742 * iconvdata/gb18030.c: Update tables.
19743 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19744 characters specially.
19745 (BODY for TO_LOOP): Add encoding of missing ranges.
19747 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19750 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19751 * sysdeps/mach/hurd/dup3.c: Likewise.
19752 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19753 * sysdeps/powerpc/memmove.c:: Likewise.
19755 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19758 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19760 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19762 * elf/elf.h (R_X86_64_RELATIVE64): New.
19763 (R_X86_64_NUM): Updated.
19764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19765 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19766 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19767 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19768 tst-quad1pie tst-quad2pie
19769 (modules-names): Add tst-quadmod1 tst-quadmod2.
19770 ($(objpfx)tst-quad1): New dependency.
19771 ($(objpfx)tst-quad2): Likewise.
19772 ($(objpfx)tst-quad1pie): Likewise.
19773 ($(objpfx)tst-quad2pie): Likewise.
19774 * sysdeps/x86_64/tst-quad1.c: New file.
19775 * sysdeps/x86_64/tst-quad1pie.c: New file.
19776 * sysdeps/x86_64/tst-quad2.c: Likewise.
19777 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19778 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19779 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19780 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19781 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19783 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19785 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19786 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19787 * streams/stropts.h (t_scalar_t): Define type.
19789 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19790 (_PATH_PRESERVE): Set to "/var/lib".
19791 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19793 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19796 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19797 if __dir_mkfile succeeded.
19799 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19800 checking for _hurd_dtablesize. Unlock it right after having
19801 finished _hurd_dtable allocation.
19803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19805 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19806 * sysdeps/mach/hurd/configure: Regenerated.
19807 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19808 special-casing to...
19809 * sysdeps/gnu/configure.in: ... this new file.
19810 * sysdeps/unix/sysv/linux/configure: Regenerated.
19811 * sysdeps/gnu/configure: New generated file.
19813 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19814 for Linux: use nsec instead of usec, as well as:
19815 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19816 members of type struct timespec.
19817 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19819 (struct stat64): Likewise.
19820 (_STATBUF_ST_NSEC): New macro.
19821 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19823 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19824 __strtoul_internal rather than strtoul.
19826 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19828 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19833 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19834 which preserves existing values.
19835 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19837 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19839 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19840 TIMEOUT values. Return EINVAL for NFDS values either negative or
19841 greater than FD_SETSIZE.
19843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19845 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19846 allocated, call __vm_protect to finish enabling the existing space, and
19847 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19848 allocate the remainder.
19850 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19852 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19853 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19857 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19858 sysdeps/mach/hurd/readlink.c.
19860 * posix/tst-sysconf.c (posix_options): Only use
19861 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19862 _POSIX_SYNCHRONIZED_IO when they are defined
19863 * sysdeps/mach/hurd/bits/posix_opt.h:
19864 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19865 (_XOPEN_REALTIME): Undefine macro.
19866 (_XOPEN_REALTIME_THREADS): Undefine macro.
19867 (_XOPEN_SHM): Undefine macro.
19868 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19870 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19872 (_POSIX_ASYNC_IO): Undefine macro.
19873 (_POSIX_PRIORITIZED_IO): Undefine macro.
19874 (_POSIX_SPIN_LOCKS): Define macro to -1.
19876 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19877 SA_NODEFER, SA_RESETHAND.
19878 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19879 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19884 * elf/Makefile (pldd-modules): Define unconditionally.
19886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19888 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19892 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19893 Return ENOENT when name is empty.
19894 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19896 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19898 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19900 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19904 Fix mlock in all cases except non-readable pages.
19905 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19906 instead of VM_PROT_ALL as parameter to __vm_wire function.
19908 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19909 (__mkdir): When path is `/', just fail with EEXIST.
19910 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19914 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19915 <sys/uio.h> (for writev).
19916 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19917 and <sys/param.h> (for MIN).
19919 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19921 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19922 REQUESTED_TIME. Properly set the remaining time and return EINTR
19925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19927 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19928 Depend on against $(link-rpcuserlibs).
19930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19932 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19933 (__libc_stack_end): Do not use attribute_relro.
19934 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19935 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19936 to libthread-provided value.
19937 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19943 * bits/libc-lock.h (__libc_once_get): New macro.
19944 * sysdeps/mach/bits/libc-lock.h: Likewise.
19945 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19947 instead of using implementation details.
19949 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19950 * libio/freopen.c: Likewise.
19951 * libio/freopen64.c: Likewise.
19952 * misc/syslog.c: Likewise.
19953 * nscd/connections.c: Likewise.
19954 * nscd/netgroupcache.c: Likewise.
19955 * sysdeps/posix/getcwd.c: Likewise.
19957 2012-05-10 Roland McGrath <roland@hack.frob.com>
19959 * math/w_ilogbf.c: Add #include <limits.h>.
19961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19963 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19964 path instead of returning without unlocking.
19966 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19967 immediate-write ioctls.
19968 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19972 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19973 __builtin_frame_address instead of making assumptions about the
19974 location of the return address relative to DATA. Force early load of
19975 the return address.
19976 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19977 __builtin_frame_address.
19980 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19981 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19982 implement dup3 and do some further code clean-ups.
19983 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19984 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19986 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19988 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19990 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19991 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19992 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19993 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19994 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19997 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19998 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19999 when handler == SIG_ERR, not when handler != SIG_ERR.
20001 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20003 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20004 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20007 accept4 for GNU Hurd.
20008 * include/sys/socket.h (__libc_accept4): New prototype.
20009 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20010 to implement __libc_accept4.
20011 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20013 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20015 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20016 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20017 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20018 signal-defines.sym.
20020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20022 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20024 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20026 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20027 assertion on O_CLOEXEC flag.
20028 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20029 * hurd/intern-fd.c: Likewise.
20030 * hurd/port2fd.c: Likewise.
20032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20035 * bits/in.h (IPV6_PKTINFO): Define new macro.
20036 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20038 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20043 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20045 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20046 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20048 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20049 * math/libm-test.inc (logb_test) : Additional logb tests.
20051 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20052 Andreas Jaeger <aj@suse.de>
20054 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20055 * configure: Regenerated.
20056 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20057 * config.make.in (link-obsolete-rpc): New substituted variable.
20058 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20059 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20060 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20061 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20062 so that libc.a contains the symbols.
20063 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20064 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20065 * sunrpc/auth_none.c: Likewise.
20066 * sunrpc/auth_unix.c: Likewise.
20067 * sunrpc/authdes_prot.c: Likewise.
20068 * sunrpc/authuxprot.c: Likewise.
20069 * sunrpc/clnt_gen.c: Likewise.
20070 * sunrpc/clnt_perr.c: Likewise.
20071 * sunrpc/clnt_raw.c: Likewise.
20072 * sunrpc/clnt_simp.c: Likewise.
20073 * sunrpc/clnt_tcp.c: Likewise.
20074 * sunrpc/clnt_udp.c: Likewise.
20075 * sunrpc/clnt_unix.c: Likewise.
20076 * sunrpc/des_crypt.c: Likewise.
20077 * sunrpc/des_soft.c: Likewise.
20078 * sunrpc/get_myaddr.c: Likewise.
20079 * sunrpc/key_call.c: Likewise.
20080 * sunrpc/key_prot.c: Likewise.
20081 * sunrpc/netname.c: Likewise.
20082 * sunrpc/pm_getmaps.c: Likewise.
20083 * sunrpc/pm_getport.c: Likewise.
20084 * sunrpc/pmap_clnt.c: Likewise.
20085 * sunrpc/pmap_prot.c: Likewise.
20086 * sunrpc/pmap_prot2.c: Likewise.
20087 * sunrpc/pmap_rmt.c: Likewise.
20088 * sunrpc/publickey.c: Likewise.
20089 * sunrpc/rpc_cmsg.c: Likewise.
20090 * sunrpc/rpc_common.c: Likewise.
20091 * sunrpc/rpc_dtable.c: Likewise.
20092 * sunrpc/rpc_prot.c: Likewise.
20093 * sunrpc/rpc_thread.c: Likewise.
20094 * sunrpc/rtime.c: Likewise.
20095 * sunrpc/svc.c: Likewise.
20096 * sunrpc/svc_auth.c: Likewise.
20097 * sunrpc/svc_raw.c: Likewise.
20098 * sunrpc/svc_run.c: Likewise.
20099 * sunrpc/svc_tcp.c: Likewise.
20100 * sunrpc/svc_udp.c: Likewise.
20101 * sunrpc/svc_unix.c: Likewise.
20102 * sunrpc/svcauth_des.c: Likewise.
20103 * sunrpc/xcrypt.c: Likewise.
20104 * sunrpc/xdr.c: Likewise.
20105 * sunrpc/xdr_array.c: Likewise.
20106 * sunrpc/xdr_float.c: Likewise.
20107 * sunrpc/xdr_intXX_t.c: Likewise.
20108 * sunrpc/xdr_mem.c: Likewise.
20109 * sunrpc/xdr_rec.c: Likewise.
20110 * sunrpc/xdr_ref.c: Likewise.
20111 * sunrpc/xdr_sizeof.c: Likewise.
20112 * sunrpc/xdr_stdio.c: Likewise.
20114 2012-05-10 Roland McGrath <roland@hack.frob.com>
20116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20117 change. Update copyright years.
20119 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20121 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20123 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20124 Joseph Myers <joseph@codesourcery.com>
20125 Paul Pluzhnikov <ppluzhnikov@google.com>
20128 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20130 [cross-compiling] (extra-libs): Likewise.
20131 [cross-compiling] (extra-libs-others): Likewise.
20132 [cross-compiling] (librpcsvc-routines): Likewise.
20133 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20134 [cross-compiling] (omit-deps): Likewise.
20135 (sunrpc-CPPFLAGS): New variable.
20136 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20137 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20138 (cross-rpcgen-objs): New variable.
20139 (extra-objs): Append $(cross-rpcgen-objs).
20140 ($(cross-rpcgen-objs)): New rule.
20141 ($(objpfx)cross-rpcgen): Likewise.
20142 (rpcgen-cmd): Define to use $(built-program-file). Expand
20144 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20145 ($(objpfx)x%.stmp): Likewise.
20146 * sunrpc/proto.h [IS_IN_build] (_): Define.
20147 [IS_IN_build] (_libc_intl_domainname): Likewise.
20149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20152 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20153 and R_X86_64_TPOFF64.
20155 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20157 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20158 sysdeps/unix/sysv/syscalls.list.
20161 * sysdeps/unix/sysv/syscalls.list: Remove file.
20163 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20166 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20167 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20168 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20169 (__LC_IDENTIFICATION): Make these macros useful in #if
20170 expressions, as required by C99.
20172 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20174 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20175 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20178 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20180 * stdlib/longlong.h: Updated from GCC.
20182 2012-05-09 Andreas Jaeger <aj@suse.de>
20184 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20185 default is first entry.
20186 (run_mode): Set type.
20187 (main): Remove informal message about syslog.
20188 (options): Fix typo.
20191 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20194 (llrintf): Likewise.
20195 (llrint): Likewise.
20198 (nearbyint): Likewise.
20199 (nearbyintf): Likewise.
20201 2012-05-09 Andreas Jaeger <aj@suse.de>
20202 Pedro Alves <palves@redhat.com>
20204 * nscd/nscd.c (run_mode): Use enum.
20205 (main): Cleanup coding style issue.
20207 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20208 Andreas Jaeger <aj@suse.de>
20210 * nscd/nscd.c (go_background): Replaced with...
20211 (run_mode): ... this.
20212 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20213 (options): Add -F --foreground.
20214 (main): Implement it.
20215 (parse_opt): Parse it.
20217 2012-05-09 Andreas Jaeger <aj@suse.de>
20220 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20221 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20222 -Wconversion warning.
20223 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20226 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20228 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20230 (LC_ALL): Use macro-int-constant.
20231 (LC_COLLATE): Likewise.
20232 (LC_CTYPE): Likewise.
20233 (LC_MESSAGES): Likewise.
20234 (LC_MONETARY): Likewise.
20235 (LC_NUMERIC): Likewise.
20236 (LC_TIME): Likewise.
20237 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20238 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20240 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20242 [C99-based standards] (float_t): Expect type.
20243 [C99-based standards] (double_t): Expect type.
20244 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20246 [C99-based standards] (HUGE_VALL): Likewise.
20247 [C99-based standards] (INFINITY): Likewise.
20248 [C99-based standards] (NAN): Likewise.
20249 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20250 [C99-based standards] (FP_NAN): Likewise.
20251 [C99-based standards] (FP_NORMAL): Likewise.
20252 [C99-based standards] (FP_SUBNORMAL): Likewise.
20253 [C99-based standards] (FP_ZERO): Likewise.
20254 [C99-based standards] (FP_FAST_FMA): Use
20255 optional-macro-int-constant. Specify type. Require == 1.
20256 [C99-based standards] (FP_FAST_FMAF): Likewise.
20257 [C99-based standards] (FP_FAST_FMAL): Likewise.
20258 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20259 [C99-based standards] (FP_ILOGBNAN): Likewise.
20260 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20262 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20263 [C99-based standards] (math_errhandling): Specify type.
20264 [ISO99 || ISO11] (signgam): Do not allow.
20265 [non-C99-based standards] (copysignf): Do not allow.
20266 [non-C99-based standards] (exp2f): Likewise.
20267 [non-C99-based standards] (log2f): Likewise.
20268 [non-C99-based standards] (modff): Allow.
20269 [non-C99-based standards] (erff): Do not allow.
20270 [non-C99-based standards] (erfcf): Likewise.
20271 [non-C99-based standards] (gammaf): Likewise.
20272 [non-C99-based standards] (hypotf): Likewise.
20273 [non-C99-based standards] (j0f): Likewise.
20274 [non-C99-based standards] (j1f): Likewise.
20275 [non-C99-based standards] (jnf): Likewise.
20276 [non-C99-based standards] (lgammaf): Likewise.
20277 [non-C99-based standards] (tgammaf): Likewise.
20278 [non-C99-based standards] (y0f): Likewise.
20279 [non-C99-based standards] (y1f): Likewise.
20280 [non-C99-based standards] (ynf): Likewise.
20281 [non-C99-based standards] (isnanf): Likewise.
20282 [non-C99-based standards] (acoshf): Likewise.
20283 [non-C99-based standards] (asinhf): Likewise.
20284 [non-C99-based standards] (atanhf): Likewise.
20285 [non-C99-based standards] (cbrtf): Likewise.
20286 [non-C99-based standards] (expm1f): Likewise.
20287 [non-C99-based standards] (ilogbf): Likewise.
20288 [non-C99-based standards] (log1pf): Likewise.
20289 [non-C99-based standards] (logbf): Likewise.
20290 [non-C99-based standards] (nextafterf): Likewise.
20291 [non-C99-based standards] (remainderf): Likewise.
20292 [non-C99-based standards] (rintf): Likewise.
20293 [non-C99-based standards] (scalbf): Likewise.
20294 [non-C99-based standards] (copysignl): Likewise.
20295 [non-C99-based standards] (exp2l): Likewise.
20296 [non-C99-based standards] (log2l): Likewise.
20297 [non-C99-based standards] (modfl): Allow.
20298 [non-C99-based standards] (erfl): Do not allow.
20299 [non-C99-based standards] (erfcl): Likewise.
20300 [non-C99-based standards] (gammal): Likewise.
20301 [non-C99-based standards] (hypotl): Likewise.
20302 [non-C99-based standards] (j0l): Likewise.
20303 [non-C99-based standards] (j1l): Likewise.
20304 [non-C99-based standards] (jnl): Likewise.
20305 [non-C99-based standards] (lgammal): Likewise.
20306 [non-C99-based standards] (tgammal): Likewise.
20307 [non-C99-based standards] (y0l): Likewise.
20308 [non-C99-based standards] (y1l): Likewise.
20309 [non-C99-based standards] (ynl): Likewise.
20310 [non-C99-based standards] (isnanl): Likewise.
20311 [non-C99-based standards] (acoshl): Likewise.
20312 [non-C99-based standards] (asinhl): Likewise.
20313 [non-C99-based standards] (atanhl): Likewise.
20314 [non-C99-based standards] (cbrtl): Likewise.
20315 [non-C99-based standards] (expm1l): Likewise.
20316 [non-C99-based standards] (ilogbl): Likewise.
20317 [non-C99-based standards] (log1pl): Likewise.
20318 [non-C99-based standards] (logbl): Likewise.
20319 [non-C99-based standards] (nextafterl): Likewise.
20320 [non-C99-based standards] (remainderl): Likewise.
20321 [non-C99-based standards] (rintl): Likewise.
20322 [non-C99-based standards] (scalbl): Likewise.
20323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20324 [non-C99-based standards] (FP_*): Do not allow.
20325 [C99-based standards] (FP_*): Change to
20326 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20327 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20329 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20330 (SIG_ERR): Likewise.
20331 [X/Open-based standards] (SIG_HOLD): Likewise.
20332 (SIG_IGN): Likewise.
20333 (SIGABRT): Use macro-int-constant. Specify type. Require
20335 (SIGFPE): Likewise.
20336 (SIGILL): Likewise.
20337 (SIGINT): Likewise.
20338 (SIGSEGV): Likewise.
20339 (SIGTER): Likewise.
20340 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20358 [X/Open-based standards] (SIGTRAP): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20363 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20366 2012-05-08 Ian Wienand <ianw@vmware.com>
20369 * time/tzset.c (__tzset_parse_tz): Update default rules for
20370 daylight time changes in the Energy Policy Act of 2005.
20372 2012-05-09 Andreas Jaeger <aj@suse.de>
20375 * elf/ldconfig.c (parse_conf): Change string to make clear that
20376 ldconfig only issued a warning if ld.so.conf does not exist.
20378 2012-05-08 David S. Miller <davem@davemloft.net>
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20381 movxtod instead of popping the value on the stack.
20383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20385 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20387 * config.h.in: Add HAVE_ARM_PCS_VFP.
20389 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20392 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20393 checking but the checks are disabled for any reason.
20395 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20397 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20398 and ELF64_R_TYPE with ELFW(R_TYPE).
20400 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20402 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20403 (ulimit): Likewise.
20405 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20406 (settimeofday): Likewise.
20408 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20410 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20411 a struct th_u2 inside the union, and move tu_block/tu_code into
20412 a new th_u3 union of tu_block/tu_code inside of that. Move
20413 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20414 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20415 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20416 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20417 (th_stuff): Change to th_u1.tu_stuff.
20419 (th_msg): Change to th_u1.th_u2.tu_data.
20421 2012-05-07 David S. Miller <davem@davemloft.net>
20423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20426 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20427 (SETUP_PIC_REG): Use it.
20428 (SETUP_PIC_REG_LEAF): Use it.
20430 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20436 (EXPL_FINITE): Likewise.
20437 (FLDLOG): Likewise.
20438 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20439 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20441 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20443 (EXPL_FINITE): Likewise.
20444 (FLDLOG): Likewise.
20445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20446 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20448 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20449 test of -max_value argument for long double.
20450 * sysdeps/i386/fpu/libm-test-ulps: Update.
20451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20453 2012-05-06 David S. Miller <davem@davemloft.net>
20455 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20456 quad soft-float symbols whose references which are compiler
20458 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20460 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20464 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20466 (EXPL_FINITE): Likewise.
20467 (FLDLOG): Likewise.
20470 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20471 Adjust comments for base varying.
20472 (__expl_finite): Change alias to EXPL_FINITE.
20473 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20475 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20476 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20477 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20478 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20481 (EXPL_FINITE): Likewise.
20482 (FLDLOG): Likewise.
20485 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20486 Adjust comments for base varying.
20487 (__expl_finite): Change alias to EXPL_FINITE.
20488 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20493 * math/libm-test.inc (check_float_internal): Correct ulp
20494 calculation for subnormal expected results.
20496 2012-05-06 Andreas Jaeger <aj@suse.de>
20498 * Makeconfig (+math-flags): New, set to -frounding-math.
20499 (+cflags): Add +math-flags so that all of glibc gets compiled with
20502 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20504 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20506 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20512 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20513 (__ieee754_expl): Allow for and saturate large arguments.
20514 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20515 (u_threshold): Likewise.
20516 (__exp): Call __ieee754_exp before checking for overflow and
20518 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20519 (u_threshold): Likewise.
20520 (__expf): Call __ieee754_expf before checking for overflow and
20522 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20523 (u_threshold): Likewise.
20524 (__expl): Call __ieee754_expl before checking for overflow and
20526 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20527 (__ieee754_expl): Allow for and saturate large arguments.
20528 * math/libm-test.inc (exp_test): Add another test. Do not allow
20529 missing overflow exception on overflow.
20530 (expm1_test): Do not allow missing overflow exception on overflow.
20532 * sysdeps/i386/fpu/e_expl.c: Move to ...
20533 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20534 rather than using inline asm.
20535 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20536 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20537 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20539 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20542 (signal): Likewise.
20546 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20548 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20549 sysdeps/unix/common/syscalls.list.
20550 (fchmod): Likewise.
20551 (fchown): Likewise.
20552 (ftruncate): Likewise.
20553 (getrusage): Likewise.
20554 (gettimeofday): Likewise.
20555 (setpgid): Likewise.
20556 (setregid): Likewise.
20557 (setreuid): Likewise.
20558 (sigaction): Likewise.
20559 (truncate): Likewise.
20560 (vhangup): Likewise.
20561 * sysdeps/unix/common/syscalls.list: Remove file.
20562 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20563 * sysdeps/unix/sysv/linux/Implies: Likewise.
20565 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20567 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20569 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20573 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20576 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20579 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20582 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20585 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20588 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20591 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20595 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20599 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20602 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20606 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20610 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20612 * sysdeps/unix/common/bits/dirent.h: Remove file.
20613 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20615 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20616 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20617 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20618 * sysdeps/unix/bsd/isatty.c: Likewise.
20619 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20620 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20621 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20623 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20627 long double comparison inaccuracies.
20628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20631 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20633 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20636 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20639 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20640 nonzero digits before rounding a hex value.
20641 * stdlib/tst-strtod.c (tests): Add another test.
20643 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20645 * sysdeps/s390/fpu/libm-test-ulps: Update.
20647 2012-05-03 Andreas Jaeger <aj@suse.de>
20649 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20650 does not get optimized out.
20651 (malloc_opt_barrier): New.
20653 2012-05-03 Andreas Jaeger <aj@suse.de>
20654 Roland McGrath <roland@hack.frob.com>
20656 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20657 intermediate file deletion.
20658 (generated): Add .symlist files.
20660 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20663 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20664 Redirect under this condition.
20665 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20666 [__USE_GNU] (__dprintf_chk): Not under this condition.
20667 [__USE_GNU] (__vdprintf_chk): Likewise.
20668 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20669 under this condition.
20670 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20671 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20672 [__USE_XOPEN2K8] (vdprintf): Likewise.
20673 [__USE_GNU] (__dprintf_chk): Not under this condition.
20674 [__USE_GNU] (__vdprintf_chk): Likewise.
20675 [__USE_GNU] (dprintf): Likewise.
20676 [__USE_GNU] (vdprintf): Likewise.
20678 2012-05-03 Roland McGrath <roland@hack.frob.com>
20680 * elf/Makefile (common-generated): Set this instead of generated for
20681 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20682 $(all-built-dso)-derived lists.
20684 2012-05-03 Andreas Jaeger <aj@suse.de>
20686 * sysdeps/i386/fpu/libm-test-ulps: Update.
20689 * FAQ.in: Likewise.
20690 * scripts/gen-FAQ.pl: Likewise.
20691 * manual/install.texi (Installation): Point to online location of
20693 * Makefile (files-for-dist): Remove FAQ.
20696 2012-05-02 Allan McRae <allan@archlinux.org>
20698 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20699 (LDFLAGS-reldepmod5.so): Likewise.
20700 (LDFLAGS-reldep6mod1.so): Likewise.
20701 (LDFLAGS-reldep6mod4.so): Likewise.
20702 (LDFLAGS-reldep8mod3.so): Likewise.
20703 (LDFLAGS-unload4mod1.so): Likewise.
20704 (LDFLAGS-unload4mod2.so): Likewise.
20705 (LDFLAGS-tst-initorder): Likewise.
20706 (LDFLAGS-tst-initordera2.so): Likewise.
20707 (LDFLAGS-tst-initordera3.so): Likewise.
20708 (LDFLAGS-tst-initordera4.so): Likewise.
20709 (LDFLAGS-tst-initorderb2.so): Likewise.
20710 (LDFLAGS-noload): Likewise.
20711 (LDFLAGS-next): Likewise.
20712 (LDFLAGS-order2mod1.so): Likewise.
20713 (LDFLAGS-order2mod2.so): Likewise.
20714 (LDFLAGS-tst-initorder2): Likewise.
20715 (LDFLAGS-tst-initorder2a.so): Likewise.
20716 (LDFLAGS-tst-initorder2b.so): Likewise.
20717 (LDFLAGS-tst-initorder2c.so): Likewise.
20718 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20720 2012-05-02 David S. Miller <davem@davemloft.net>
20722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20724 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20727 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20729 2012-05-02 Andreas Jaeger <aj@suse.de>
20731 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20732 since we manipulate rounding mode.
20733 (CPPFLAGS-test-idouble.c): Likewise.
20734 (CPPFLAGS-test-ifloat.c): Likewise.
20735 (CFLAGS-test-ldouble.c): Likewise.
20736 (CFLAGS-test-double.c): Likewise.
20737 (CFLAGS-test-float.c): Likewise.
20738 (CFLAGS-test-misc.c): Likewise.
20739 (CFLAGS-test-test-fenv.c): Likewise.
20741 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20745 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20746 comparisons to determine direction to adjust input.
20748 2012-05-01 Roland McGrath <roland@hack.frob.com>
20750 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20751 output to the target.
20753 * scripts/localplt.awk: New file.
20754 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20755 (check-localplt-CFLAGS): Variable removed.
20756 ($(all-built-dso:=.jmprel)): New static pattern rule.
20757 (generated): Add those targets.
20758 (localplt-built-dso): New variable.
20759 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20761 * elf/check-localplt.c: File removed.
20763 * scripts/check-execstack.awk: New file.
20764 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20765 (check-execstack-CFLAGS): Variable removed.
20766 ($(objpfx)check-execstack.h): Target removed.
20767 ($(objpfx)execstack-default): New target.
20768 (generated): Add that instead of check-execstack.h.
20769 ($(all-built-dso:=.phdr)): New static pattern rule.
20770 (generated): Add those targets.
20771 * elf/check-execstack.c: File removed.
20773 * scripts/check-textrel.awk: New file.
20774 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20775 (check-textrel-CFLAGS): Variable removed.
20776 (all-built-dso): Use := to define.o
20777 ($(all-built-dso:=.dyn)): New static pattern rule.
20778 (generated): Add those targets.
20779 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20780 * config.make.in (READELF): New substituted variable.
20781 * elf/check-textrel.c: File removed.
20783 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20785 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20787 * conform/data/ctype.h-data [C99-based standards] (isblank):
20789 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20790 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20792 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20793 Specify type. Require positive value.
20794 (EILSEQ): Likewise.
20795 (ERANGE): Likewise.
20796 [ISO || POSIX] (EILSEQ): Do not expect.
20797 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20798 Specify type. Require positive value.
20799 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20813 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20814 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20815 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20816 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20819 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20820 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20821 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20822 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20823 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20826 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20827 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20828 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20829 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20830 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20834 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20835 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20836 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20837 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20840 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20842 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20843 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20844 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20873 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20874 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20875 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20877 (FLT_ROUNDS): Expect as macro, not constant.
20878 (FLT_MANT_DIG): Use macro-int-constant.
20879 (DBL_MANT_DIG): Likewise.
20880 (LDBL_MANT_DIG): Likewise.
20881 (FLT_DIG): Likewise.
20882 (DBL_DIG): Likewise.
20883 (LDBL_DIG): Likewise.
20884 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20885 (DBL_MIN_EXP): Likewise.
20886 (LDBL_MIN_EXP): Likewise.
20887 (FLT_MAX_EXP): Use macro-int-constant.
20888 (DBL_MAX_EXP): Likewise.
20889 (LDBL_MAX_EXP): Likewise.
20890 (FLT_MAX_10_EXP): Likewise.
20891 (DBL_MAX_10_EXP): Likewise.
20892 (LDBL_MAX_10_EXP): Likewise.
20893 (FLT_MAX): Use macro-constant.
20894 (DBL_MAX): Likewise.
20895 (LDBL_MAX): Likewise.
20896 (FLT_EPSILON): Use macro-constant. Give upper bound.
20897 (DBL_EPSILON): Likewise.
20898 (LDBL_EPSILON): Likewise.
20899 (FLT_MIN): Likewise.
20900 (DBL_MIN): Likewise.
20901 (LDBL_MIN): Likewise.
20902 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20903 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20904 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20905 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20906 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20907 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20908 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20909 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20910 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20911 [ISO11] (FLT_TRUE_MIN): Likewise.
20912 [ISO11] (LDBL_TRUE_MIN): Likewise.
20913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20914 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20915 (SCHAR_MIN): Use macro-int-constant. Specify type.
20916 (SCHAR_MAX): Likewise.
20917 (UCHAR_MAX): Likewise.
20918 (CHAR_MIN): Likewise.
20919 (CHAR_MAX): Likewise.
20920 (MB_LEN_MAX): Use macro-int-constant.
20921 (SHRT_MIN): Use macro-int-constant. Specify type.
20922 (SHRT_MAX): Likewise.
20923 (USHRT_MAX): Likewise.
20924 (INT_MAX): Likewise.
20925 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20927 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20929 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20931 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20932 bound negative. Suffix upper bound with "L".
20933 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20935 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20937 [C99-based standards] (LLONG_MAX): Likewise.
20938 [C99-based standards] (ULLONG_MAX): Likewise.
20939 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20941 [ISO11] (max_align_t): Require type.
20942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20944 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20945 from $CFLAGS, without defining away __attribute__ calls.
20946 (checknamespace): Use $CFLAGS_namespace.
20948 * conform/conformtest.pl (@keywords): Only include C99 keywords
20949 for standards based on C99 or C11.
20951 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20953 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20956 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20957 usability of symbols in #if.
20959 * conform/conformtest.pl: If macro or constant types start
20960 "promoted:", expect the symbol to be of the following type
20961 promoted by the integer promotions.
20963 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20964 in one place. Also handle "macro-constant".
20966 * conform/conformtest.pl: Only accept expected macro values with
20967 "==". Parse all "macro" lines in one place.
20968 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20970 * conform/conformtest.pl: Handle braced types on "constant" lines
20971 instead of handling "typed-constant".
20972 * conform/data/signal.h-data: Use "constant" instead of
20975 * conform/conformtest.pl: Handle "optional-" at start of lines in
20976 one place rather than duplicating several cases. Handle each
20977 format of "macro" line with initial "optional-".
20979 * conform/conformtest.pl: Only accept expected constant or
20980 optional-constant values with "==". Parse all "constant" lines in
20981 one place. Parse all "optional-constant" lines in one place.
20982 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20983 * conform/data/fmtmsg.h-data: Likewise.
20984 * conform/data/netinet/in.h-data: Likewise.
20985 * conform/data/tar.h-data: Likewise.
20986 * conform/data/limits.h-data: Use "==" form on "constant" and
20987 "optional-constant" lines.
20989 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20990 Use -std=c99 for XOPEN2K.
20991 (@knownproblems): Remove.
20992 (newtoken): Don't check %isknown.
20994 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20995 Do not expect macro.
20996 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20997 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20998 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20999 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21000 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21001 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21002 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21003 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21004 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21005 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21006 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21007 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21008 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21009 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21015 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21016 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21017 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21018 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21026 [XPG3] (acosh): Likewise.
21027 [XPG3] (asinh): Likewise.
21028 [XPG3] (atanh): Likewise.
21029 [XPG3] (cbrt): Likewise.
21030 [XPG3] (expm1): Likewise.
21031 [XPG3] (ilogb): Likewise.
21032 [XPG3] (log1p): Likewise.
21033 [XPG3] (logb): Likewise.
21034 [XPG3] (nextafter): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21037 [XPG3] (remainder): Likewise.
21038 [XPG3] (rint): Likewise.
21039 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21040 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21041 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21043 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21046 [UNIX98 || XOPEN2K] (scalb): Expect.
21047 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21048 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21055 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21056 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21057 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21077 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21078 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21080 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21081 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21082 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21083 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21084 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21085 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21089 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21097 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21098 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21099 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21109 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21110 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21111 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21112 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21113 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21114 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21115 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21116 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21118 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21119 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21124 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21125 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21128 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21129 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21130 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21131 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21132 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21144 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21145 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21153 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21155 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21156 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21157 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21158 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21160 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21162 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21164 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21165 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21166 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21167 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21168 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21170 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21171 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21173 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21174 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21175 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21176 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21177 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21179 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21180 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21182 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21183 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21185 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21186 _XOPEN_SOURCE_EXTENDED for XPG4.
21188 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21190 * Makeconfig (localtime): Remove variable.
21191 (inst_localtime-file): Likewise.
21193 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21214 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21218 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21219 comparisons to determine direction to adjust input.
21220 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21221 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21226 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21228 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21229 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21231 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21233 * math/libm-test.inc (nexttoward_test): Add more tests.
21235 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21238 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21239 in version GLIBC_2.1, not GLIBC_2.0.
21240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21243 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21246 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21248 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21249 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21250 * math/libm-test.inc (acos_test): Add more tests.
21251 (asin_test): Likewise.
21252 * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21256 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21258 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21259 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21260 * math/libm-test.inc (acos_test_tonearest): New function.
21261 (acos_test_towardzero): Likewise.
21262 (acos_test_downward): Likewise.
21263 (acos_test_upward): Likewise.
21264 (asin_test_tonearest): Likewise.
21265 (asin_test_towardzero): Likewise.
21266 (asin_test_downward): Likewise.
21267 (asin_test_upward): Likewise.
21268 (main): Call the new functions.
21269 * sysdeps/i386/fpu/libm-test-ulps: Update.
21270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21274 * math/e_exp10.c: Include <float.h>.
21275 (__ieee754_exp10): Handle underflow here rather than multiplying
21276 large negative argument by M_LN10.
21277 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21279 * math/e_exp10l.c: Include <float.h>.
21280 (__ieee754_exp10l): Handle underflow here rather than multiplying
21281 large negative argument by M_LN10l.
21282 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21283 spurious overflow exception on underflow.
21285 2012-04-29 Marek Polacek <polacek@redhat.com>
21287 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21288 (__fortify_function): New macro.
21289 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21290 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21291 __extern_always_inline.
21292 * libio/bits/stdio2.h: Likewise.
21293 * libio/bits/stdio.h: Likewise.
21294 * string/string.h: Likewise.
21295 * string/bits/string3.h: Likewise.
21296 * include/stdio.h: Likewise.
21297 * stdlib/bits/stdlib.h: Likewise.
21298 * stdlib/stdlib.h: Likewise.
21299 * rt/bits/mqueue2.h: Likewise.
21300 * rt/mqueue.h: Likewise.
21301 * posix/bits/unistd.h: Likewise.
21302 * posix/unistd.h: Likewise.
21303 * io/bits/poll2.h: Likewise.
21304 * io/bits/fcntl2.h: Likewise.
21305 * io/fcntl.h: Likewise.
21306 * io/sys/poll.h: Likewise.
21307 * misc/bits/syslog.h: Likewise.
21308 * misc/bits/syslog-ldbl.h: Likewise.
21309 * misc/sys/syslog.h: Likewise.
21310 * socket/bits/socket2.h: Likewise.
21311 * socket/sys/socket.h: Likewise.
21312 * debug/tst-chk1.c: Likewise.
21313 * wcsmbs/bits/wchar2.h: Likewise.
21314 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21315 * wcsmbs/wchar.h: Likewise.
21317 2012-04-29 Andreas Jaeger <aj@suse.de>
21319 * Makerules (tests): Remove enable-check-abi protection.
21320 (check-abi-warn): Remove.
21321 (check-abi-%): Remove check-abi-warn usage.
21323 * configure.in: Remove check-abi configure option.
21324 * configure: Regenerated.
21325 * config.make.in (enable-check-abi): Remove.
21327 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21330 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21331 double functions to double *_finite functions.
21334 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21335 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21337 * stdio-common/Makefile (tests): Add tst-sprintf3.
21338 * stdio-common/tst-sprintf3.c: New file.
21340 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21341 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21343 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21345 * conform/conformtest.pl: Remove duplicate typed-constant
21348 2012-04-28 David S. Miller <davem@davemloft.net>
21350 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21351 (check-abi-%): Remove AWK script prerequisite and explicit
21353 (check-abi): Rewrite to just diff the symlist with the abilist.
21354 (config-tls, config-abi-config): Delete, no longer used.
21355 (update-abi-%): Remove AWK script and explicit abilist directory.
21356 (update-abi): Rewrite to simply compare and conditionally copy the
21357 symlist and the sysdep abilist file. Remove update-abi-config
21359 * abilist/ld.abilist: Remove.
21360 * abilist/libBrokenLocale.abilist: Remove.
21361 * abilist/libanl.abilist: Remove.
21362 * abilist/libcrypt.abilist: Remove.
21363 * abilist/libdl.abilist: Remove.
21364 * abilist/librt.abilist: Remove.
21365 * abilist/libthread_db.abilist: Remove.
21366 * abilist/libutil.abilist: Remove.
21367 * scripts/extract-abilist.awk: Remove.
21368 * scripts/merge-abilist.awk: Remove.
21369 * sysdeps/generic/libcidn.abilist: New file.
21370 * sysdeps/generic/libnss_compat.abilist: New file.
21371 * sysdeps/generic/libnss_db.abilist: New file.
21372 * sysdeps/generic/libnss_dns.abilist: New file.
21373 * sysdeps/generic/libnss_files.abilist: New file.
21374 * sysdeps/generic/libnss_hesiod.abilist: New file.
21375 * sysdeps/generic/libnss_nis.abilist: New file.
21376 * sysdeps/generic/libnss_nisplus.abilist: New file.
21377 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21378 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21379 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21382 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21383 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21384 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21385 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21386 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21387 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21388 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21389 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21391 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21392 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21393 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21394 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21396 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21397 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21398 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21399 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21400 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21401 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21403 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21404 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21405 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21407 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21510 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21511 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21512 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21515 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21516 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21517 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21518 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21519 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21520 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21521 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21522 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21523 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21575 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21577 * conform/conformtest.pl: Fix typo in handling typed-constant from
21580 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21582 * README: Cut down references to pre-2.6 Linux kernels and
21583 Linuxthreads. Update lists of configurations in libc and ports
21584 and sort alphabetically. Say "or newer" with Linux kernel version
21587 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21589 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21592 * math/libm-test.inc (logb_test_downward): New test to expose
21593 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21596 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21599 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21601 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21602 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21604 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21606 * sysdeps/unix/i386/brk.S: Remove file.
21607 * sysdeps/unix/i386/dl-brk.S: Likewise.
21608 * sysdeps/unix/i386/pipe.S: Likewise.
21609 * sysdeps/unix/i386/sigreturn.S: Likewise.
21610 * sysdeps/unix/i386/syscall.S: Likewise.
21611 * sysdeps/unix/i386/vfork.S: Likewise.
21612 * sysdeps/unix/i386/wait.S: Likewise.
21614 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21615 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21617 * configure.in (arm*-none*): Do not allow without
21618 --enable-hacker-mode.
21619 (netbsd*): Remove case setting base_os.
21620 (386bsd*): Likewise.
21621 (freebsd*): Likewise.
21624 (sunos*): Likewise.
21625 (ultrix*): Likewise.
21626 (newsos*): Likewise.
21627 (dynix*): Likewise.
21633 (minix*): Likewise.
21634 (irix4*): Likewise.
21635 (irix6*): Likewise.
21636 (solaris[2-9]*): Likewise.
21638 * configure: Regenerated.
21640 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21643 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21644 overflow or cancellation in calculating denominator.
21645 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21647 down expression to avoid unexpected rounding in newer GCCs.
21648 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21650 2012-04-26 David S. Miller <davem@davemloft.net>
21652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21653 long-double compat symbols.
21654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21668 2012-04-25 David S. Miller <davem@davemloft.net>
21670 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21671 HWCAP_* values only after the memory barriers have been defined.
21672 (atomic_full_barrier): Define.
21673 (atomic_read_barrier): Define.
21674 (atomic_write_barrier): Define.
21676 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21678 * shlib-versions: Add libgcc_s version information.
21679 * sysdeps/generic/libgcc_s.h: Remove.
21680 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21682 * sysdeps/gnu/unwind-resume.c: Likewise.
21683 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21685 2012-04-25 David S. Miller <davem@davemloft.net>
21687 * sysdeps/unix/sparc/brk.S: Delete.
21688 * sysdeps/unix/sparc/dl-brk.S: Delete.
21689 * sysdeps/unix/sparc/pipe.S: Delete.
21690 * sysdeps/unix/sparc/sysdep.S: Delete.
21691 * sysdeps/unix/sparc/sysdep.h: Delete.
21692 * sysdeps/unix/sparc/vfork.S: Delete.
21693 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21694 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21696 ret_ERRVAL, r0, r1, MOVE): Define.
21697 (JUMPTARGET): Remove.
21698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21699 sysdeps/unix/sparc/sysdep.h
21700 (ENTRY, END): Remove.
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21703 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21705 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21706 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21709 * timezone/README: Update upstream location and email address for
21711 * timezone/zdump.c: Update from tzcode 2012b.
21712 * timezone/zic.c: Likewise.
21714 * configure.in (libc_cv_as_needed): Remove test.
21715 * configure: Regenerated.
21716 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21717 conditional definition.
21718 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21719 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21720 * config.make.in (have-as-needed): Remove variable.
21722 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21723 Paul Pluzhnikov <ppluzhnikov@google.com>
21725 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21728 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21730 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21731 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21732 * sysdeps/sh/strlen.S: Likewise.
21734 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21736 * sysdeps/unix/fork.S: Remove file.
21737 * sysdeps/unix/i386/fork.S: Likewise.
21738 * sysdeps/unix/sparc/fork.S: Likewise.
21740 * sysdeps/unix/system.c: Remove file.
21741 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21743 * sysdeps/unix/getegid.S: Remove file.
21744 * sysdeps/unix/geteuid.S: Likewise.
21746 2012-04-24 Roland McGrath <roland@hack.frob.com>
21748 * scripts/check-localplt.awk: New file.
21749 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21751 * scripts/data/localplt-generic.data: Add a comment.
21753 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21754 NODE when __dir_mkfile failed.
21755 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21756 Reported by Ludovic Courtès <ludo@gnu.org>.
21758 2012-04-24 Andreas Jaeger <aj@suse.de>
21760 * Makerules (common-clean): Also remove gen-as-const-headers
21763 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21765 * Makerules (native-compile): Do not change working directory for
21766 build. Use $(OUTPUT_OPTION) in command.
21767 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21769 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21772 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21773 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21774 * math/libm-test.inc (floor_test): Add more tests.
21775 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21777 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21779 * sysdeps/unix/getdents.c: Remove file.
21780 * sysdeps/unix/sysv/getdents.c: Likewise.
21781 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21783 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21784 sysdeps/unix/mman/syscalls.list.
21786 (mprotect): Likewise.
21788 (munmap): Likewise.
21789 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21790 * sysdeps/unix/mman/syscalls.list: Remove.
21791 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21793 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21794 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21795 * configure: Regenerated.
21796 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21797 $(libgcc_s_suffix).
21798 * config.make.in (libgcc_s_suffix): Remove variable.
21800 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21802 * sysdeps/unix/sysv/gethostname.c: Move to ...
21803 * sysdeps/posix/gethostname.c: ... here.
21805 * sysdeps/unix/execve.S: Remove file.
21807 * sysdeps/unix/_exit.S: Remove file.
21809 2012-04-23 Andreas Jaeger <aj@suse.de>
21812 * manual/Makefile: Remove make dist support, there's no
21813 need for a stand-alone documentation tar ball.
21814 (TEXI2DVI): Define always, it's not in Makeconfig.
21817 (edition): Removed.
21818 (glibc-doc-$(edition).tar): Removed
21822 (ETAGS): Remove, it's in Makeconfig.
21823 (move-if-change): Remove, it's in Makeconfig.
21825 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21828 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21829 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21830 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21831 (strtod_l, strtof_l, strtold_l): Remove __wur.
21832 It is not necessarily an error to ignore strtol's return value.
21833 One can reliably look at the stored endptr to decide whether
21834 the number had valid syntax.
21836 2012-04-21 Andreas Jaeger <aj@suse.de>
21839 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21841 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21843 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21844 * sysdeps/unix/sysv/Versions: Remove file.
21846 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21851 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21855 version from __vm86.
21857 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21859 * sysdeps/unix/common/lxstat.c: Remove file.
21860 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21862 * sysdeps/unix/sysv/Makefile: Remove file.
21864 * sysdeps/unix/sysv/direct.h: Remove file.
21866 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21867 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21868 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21869 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21870 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21871 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21872 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21874 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21876 * sysdeps/unix/xmknod.c: Remove file.
21877 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21879 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21881 * sysdeps/unix/sysv/i386/time.S: Remove file.
21883 * sysdeps/unix/fxstat.c: Remove file.
21884 * sysdeps/unix/xstat.c: Likewise.
21885 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21887 * sysdeps/unix/sysv/sigaction.c: Remove file.
21889 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21890 (sysdep_headers): Remove variable.
21891 [termio.h not in sysdep_headers] (generated): Likewise.
21892 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21893 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21894 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21895 * sysdeps/unix/sysv/tcflow.c: Likewise.
21896 * sysdeps/unix/sysv/tcflush.c: Likewise.
21897 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21898 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21899 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21900 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21901 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21903 * sysdeps/unix/siglist.c: Remove file.
21905 * sysdeps/unix/getppid.S: Remove file.
21907 * sysdeps/unix/mkdir.c: Remove file.
21908 * sysdeps/unix/rmdir.c: Likewise.
21910 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21912 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21914 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21915 errlist-compat value.
21917 2012-04-18 David S. Miller <davem@davemloft.net>
21919 * sysdeps/generic/memcopy.h (reg_char): Delete.
21920 * debug/strcat_chk.c: Use char, not reg_char.
21921 * debug/strcpy_chk.c: Likewise.
21922 * debug/strncat_chk.c: Likewise.
21923 * debug/strncpy_chk.c: Likewise.
21924 * string/memchr.c: Likewise.
21925 * string/memrchr.c: Likewise.
21926 * string/rawmemchr.c: Likewise.
21927 * string/strcat.c: Likewise.
21928 * string/strchr.c: Likewise.
21929 * string/strchrnul.c: Likewise.
21930 * string/strcmp.c: Likewise.
21931 * string/strcpy.c: Likewise.
21932 * string/strncat.c: Likewise.
21933 * string/strncmp.c: Likewise.
21934 * string/strncpy.c: Likewise.
21936 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21938 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21939 __builtin_memcopy is called when src and dest ranges are known to not
21942 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21944 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21945 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21946 fwd_align_merge macro call.
21947 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21948 bwd_align_merge macro call.
21949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21951 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21953 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21954 bwd_align_merge macros.
21955 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21956 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21959 2012-04-18 David S. Miller <davem@davemloft.net>
21961 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21963 2012-04-18 Andreas Jaeger <aj@suse.de>
21966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21967 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21968 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21971 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21972 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21974 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21975 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21976 Adjust for changed ldbl-128 files.
21978 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21979 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21980 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21982 2012-04-17 David S. Miller <davem@davemloft.net>
21984 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21986 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21988 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21989 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21990 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21991 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21992 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21993 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21995 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21998 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21999 * math/libm-test.inc: Add ilogb errno and exception tests.
22000 * math/w_ilogb.c: New file: ilogb wrapper.
22001 * math/w_ilogbf.c: New file: ilogbf wrapper.
22002 * math/w_ilogbl.c: New file: ilogbl wrapper.
22003 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22004 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22005 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22006 exception being thrown with 0.0 as argument.
22007 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22008 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22009 exception being thrown with 0.0 as argument.
22010 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22011 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22012 exception being thrown with 0.0 as argument.
22013 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22014 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22015 exception being thrown with 0.0 as argument.
22016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22017 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22018 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22019 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22020 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22021 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22022 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22023 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22024 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22026 2012-04-17 Petr Baudis <pasky@ucw.cz>
22028 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22031 2012-04-16 Marek Polacek <polacek@redhat.com>
22033 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22035 2012-04-16 Marek Polacek <polacek@redhat.com>
22037 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22038 operands of fdivp instruction.
22040 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22042 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22043 * elf/tst-auditmod3b.c: Likewise.
22044 * elf/tst-auditmod4b.c: Likewise.
22045 * elf/tst-auditmod5b.c: Likewise.
22046 * elf/tst-auditmod6b.c: Likewise.
22047 * elf/tst-auditmod6c.c: Likewise.
22048 * elf/tst-auditmod7b.c: Likewise.
22049 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22050 * sysdeps/x86_64/preconfigure.in: Likewise.
22051 * sysdeps/x86_64/preconfigure: Regenerated.
22053 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22055 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22058 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22061 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22063 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22066 * locale/iso-639.def: Fix gl language name. Spotted by
22069 2012-04-12 Roland McGrath <roland@hack.frob.com>
22072 * libio/libio.h (__io_write_fn): Update comment.
22074 2012-04-12 Petr Baudis <pasky@ucw.cz>
22077 * stdio.texi (Hook Functions): The user provided writer function
22078 is not allowed to return -1.
22080 2012-04-11 David S. Miller <davem@davemloft.net>
22082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22084 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22086 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22087 Add a leading slash to rtkaio.
22089 2012-04-11 Jim Meyering <meyering@redhat.com>
22092 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22093 It is not necessarily an error to ignore fwrite's return
22094 value. One can reliably use ferror to test for errors after
22097 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22099 * bits/types.h (__snseconds_t): New type.
22100 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22102 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22104 (__SNSECONDS_T_TYPE): Likewise.
22105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22106 (__SNSECONDS_T_TYPE): Likewise.
22107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22108 (__SNSECONDS_T_TYPE): Likewise.
22110 2012-04-10 Andreas Jaeger <aj@suse.de>
22113 * manual/time.texi (Processor Time): Return type of times is
22114 elapsed real time since an arbitrary point in the past.
22115 (CPU Time): Move CLK_TCK from here...
22116 (Processor Time): ...to here. Correct description.
22117 * manual/conf.texi (Constants for Sysconf): Correct description of
22120 2012-04-10 David S. Miller <davem@davemloft.net>
22123 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22124 where the is a gap between DT_REL(A) and DT_JMPREL.
22126 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22128 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22129 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22130 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22132 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22134 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22135 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22136 (dl_main): Handle --inhibit-cache.
22137 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22139 * elf/dl-load.c (_dl_map_object): Use it.
22140 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22142 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22146 (__ieee754_powl): Saturate large exponents rather than testing for
22147 overflow of y*log2(x).
22148 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22149 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22153 * math/s_ctan.c: Include <float.h>.
22154 (__ctan): Avoid internal overflow or cancellation in calculating
22156 * math/s_ctanf.c: Likewise.
22157 * math/s_ctanl.c: Likewise.
22158 * math/s_ctanh.c: Likewise.
22159 * math/s_ctanhf.c: Likewise.
22160 * math/s_ctanhl.c: Likewise.
22161 * math/libm-test.inc (ctan_test): Add more tests.
22162 (ctanh_test): Likewise.
22163 * sysdeps/i386/fpu/libm-test-ulps: Update.
22164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22166 2012-04-09 Andreas Jaeger <aj@suse.de>
22169 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22170 is an optional BSD extension.
22173 * manual/stdio.texi (Opening Streams): Document additional fopen
22176 2012-04-09 Roland McGrath <roland@hack.frob.com>
22178 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22179 %eax without telling the compiler.
22181 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22184 * manual/install.texi: Use sourceware.org.
22186 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22189 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22190 (__ieee754_pow): Generate overflow and underflow using huge*huge
22191 and tiny*tiny rather than just returning constant infinity or zero
22192 for large exponents.
22193 * math/libm-test.inc (pow_test): Require overflow exceptions for
22194 applicable cases of large exponents.
22197 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22198 (__ieee754_pow): Use iterative multiplication algorithm only for
22199 integer exponents with absolute value below 1024. Check for odd
22200 integer exponents when using algorithm for real exponents.
22201 * math/libm-test.inc (pow_test): Add more tests.
22202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22204 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22207 * math/libm-test.inc (exp_test): Do not allow overflow exception
22210 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22213 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22214 instead of __kernel_standard_f.
22216 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22218 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22219 * sysdeps/x86_64/memset_chk.S: Likewise.
22221 2012-04-08 Andreas Jaeger <aj@suse.de>
22224 * manual/startup.texi (Environment Access): Describe return value
22225 for putenv and setenv.
22228 * manual/filesys.texi (Directory Entries): Add description for
22232 * manual/filesys.texi (Directory Entries): Clarify that it's file
22233 system not operating system in the description of DT_UNKNOWN.
22236 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22238 2012-04-08 Stephen Compall <s11@member.fsf.org>
22241 * manual/llio.texi (Opening and Closing Files): Add cross
22242 reference to explain mode argument.
22244 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22246 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22247 * sysdeps/x86_64/memset_chk.S: Likewise.
22249 2012-04-07 David S. Miller <davem@davemloft.net>
22251 * elf/elf.h (R_SPARC_WDISP10): Define.
22252 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22255 R_SPARC_SIZE64 and R_SPARC_H34.
22257 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22260 conditions and remove no longer applicable assertion.
22262 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22264 * 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-06 H.J. Lu <hongjiu.lu@intel.com>
22270 * bits/byteswap.h (__bswap_16): Removed.
22271 Include <bits/byteswap-16.h> to get __bswap_16.
22272 * sysdeps/i386/bits/byteswap.h: Likewise.
22273 * sysdeps/s390/bits/byteswap.h: Likewise.
22274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22275 * bits/byteswap-16.h: New file.
22276 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22277 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22278 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22279 * string/Makefile (headers): Add bits/byteswap-16.h.
22281 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22284 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22286 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22287 * nss/tst-nss-static.c: New.
22289 2012-04-06 Robert Millan <rmh@gnu.org>
22292 * manual/llio.texi (File Position Primitive): lseek
22293 refers to WHENCE when it really means OFFSET.
22295 2012-04-06 Andreas Jaeger <aj@suse.de>
22297 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22298 strncmp declarations.
22300 * abilist/libc.abilist: Add __poll and __ppoll.
22302 2012-04-05 David S. Miller <davem@davemloft.net>
22304 * scripts/check-local-headers.sh: Accept a host triplet in the
22305 path matched by the exclude regexp.
22307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22309 * sysdeps/powerpc/powerpc32/dl-machine.h
22310 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22311 * sysdeps/s390/s390-32/dl-machine.h
22312 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22313 * sysdeps/sparc/sparc32/dl-machine.h
22314 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22315 * sysdeps/sparc/sparc64/dl-machine.h
22316 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22318 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22320 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22321 undefined symbol errors.
22323 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22326 2012-04-05 Michael Matz <matz@suse.de>
22329 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22331 2012-04-05 Andreas Jaeger <aj@suse.de>
22334 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22337 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22339 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22340 which ROUND is no valid rounding mode.
22342 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22344 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22346 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22348 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22350 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22351 an exception using FPU order intentionally.
22353 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22355 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22356 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22357 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22358 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22360 2012-04-05 Simon Josefsson <simon@josefsson.org>
22363 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22364 EINVAL when BUFLEN is too smal.
22366 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22369 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22370 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22372 2012-04-03 Andreas Jaeger <aj@suse.de>
22375 * manual/setjmp.texi (System V contexts): Fix sentence.
22378 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22379 New macro for this case.
22380 [!__GNUC__] (__bswap_64): New inline function for this case.
22381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22382 * bits/byteswap.h: Likewise.
22383 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22384 ull, guard with __GLIBC_HAVE_LONG_LONG.
22386 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22387 __GLIBC_HAVE_LONG_LONG.
22389 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22390 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22392 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22395 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22396 inptr and inend, rather than using last_ch.
22398 2012-04-02 David S. Miller <davem@davemloft.net>
22400 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22401 * stdio-common/printf-parse.h (read_int): Change return type to
22402 'int', return -1 on INT_MAX overflow.
22403 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22404 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22405 overflows INT_MAX. Check for overflow of in-format-string precision
22406 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22407 SIZE_MAX not INT_MAX for integer overflow test.
22408 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22409 skip the construct in the format string but do not record anything.
22410 * stdio-common/bug22.c: Adjust to test both width/prevision
22411 INT_MAX overflow as well as total length INT_MAX overflow. Check
22412 explicitly for proper errno values.
22414 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22416 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22418 * string/test-strcmp.c [! WIDE]: Likewise.
22419 * time/tst-mktime2.c: Likewise for INT_MAX.
22420 * string/test-string.h: #include <sys/param.h> for MIN.
22422 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22423 * sysdeps/i386/init-first.c (init): Likewise.
22424 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22425 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22426 * sysdeps/sh/init-first.c (init): Likewise.
22428 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22430 * po/ru.po: Update from translation team.
22431 * po/vi.po: Likewise.
22433 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22435 * resolv/nss_dns/dns-host.c: Merge copyright years.
22437 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22440 Optimize memcpy with prefetch if
22441 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22442 src, dst pointers have unequal 16 byte alignments.
22444 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22447 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22448 from a CNAME entry and return the minimum ttl for the query.
22449 (gaih_getanswer_slice): Likewise.
22451 2012-03-30 Jeff Law <law@redhat.com>
22453 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22455 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22456 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22458 * resolv/nss_dns/dns-host.c: Update copyright year.
22460 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22462 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22463 requests to save a system call. Fix check that all bytes are sent.
22465 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22466 comments for sendmmsg.
22468 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22471 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22472 with only 1 character between 0x0041 and 0x01b0.
22473 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22474 * wcsmbs/tst-mbsnrtowcs.c: New file.
22476 2012-03-29 David S. Miller <davem@davemloft.net>
22478 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22479 small copies by hand.
22481 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22484 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22485 _nss_compat_initgroups_dyn): Fall back to malloc/free
22486 for large group memberships.
22488 2012-03-28 David S. Miller <davem@davemloft.net>
22490 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22491 that branches into memcpy.
22492 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22495 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22498 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22499 implementation too.
22500 * sysdeps/sparc/mempcpy.S: New file.
22502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22503 the IFUNC routine in the libc case.
22504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22506 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22507 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22508 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22509 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22510 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22511 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22512 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22513 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22515 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22516 loop to 256 bytes instead of 64 bytes and fix test signedness.
22518 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22519 * sysdeps/sparc/sparc32/Makefile: rather than here...
22520 * sysdeps/sparc/sparc64/Makefile: and here.
22522 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22524 * malloc/mallocbug.c: Avoid warnings about unused variables.
22526 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22529 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22530 in the right place. Discard and retry query if response is
22531 larger than input buffer size.
22533 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22538 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22539 x for large integer exponent.
22540 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22541 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22542 sign of result as needed afterwards.
22543 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22544 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22545 result for underflowing pow the same as for overflow.
22546 (__kernel_standard_l): Handle powl overflow and underflow here
22547 rather than calling __kernel_standard.
22548 * math/libm-test.inc (pow_test): Add more tests.
22563 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22564 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22565 (__kernel_standard_l): New function.
22566 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22568 * math/w_acosl.c (__acosl): Likewise.
22569 * math/w_asinl.c (__asinl): Likewise.
22570 * math/w_atan2l.c (__atan2l): Likewise.
22571 * math/w_atanhl.c (__atanhl): Likewise.
22572 * math/w_coshl.c (__coshl): Likewise.
22573 * math/w_exp10l.c (__exp10l): Likewise.
22574 * math/w_exp2l.c (__exp2l): Likewise.
22575 * math/w_fmodl.c (__fmodl): Likewise.
22576 * math/w_hypotl.c (__hypotl): Likewise.
22577 * math/w_j0l.c (__j0l, __y0l): Likewise.
22578 * math/w_j1l.c (__j1l, __y1l): Likewise.
22579 * math/w_jnl.c (__jnl, __ynl): Likewise.
22580 * math/w_lgammal.c (__lgammal): Likewise.
22581 * math/w_log10l.c (__log10l): Likewise.
22582 * math/w_log2l.c (__log2l): Likewise.
22583 * math/w_logl.c (__logl): Likewise.
22584 * math/w_powl.c (__powl): Likewise.
22585 * math/w_remainderl.c (__remainderl): Likewise.
22586 * math/w_scalbl.c (sysv_scalbl): Likewise.
22587 * math/w_sinhl.c (__sinhl): Likewise.
22588 * math/w_sqrtl.c (__sqrtl): Likewise.
22589 * math/w_tgammal.c (__tgammal): Likewise.
22590 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22591 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22592 * math/libm-test.inc (acos_test): Add more tests.
22593 (acosh_test): Likewise.
22594 (asin_test): Likewise.
22595 (atanh_test): Likewise.
22596 (exp_test): Likewise.
22597 (exp10_test): Likewise.
22598 (exp2_test): Likewise.
22599 (expm1_test): Likewise.
22600 (lgamma_test): Likewise.
22601 (log_test): Likewise.
22602 (log10_test): Likewise.
22603 (log1p_test): Likewise.
22604 (log2_test): Likewise.
22605 (pow_test): Do not allow some spurious overflow exceptions.
22606 (sqrt_test): Add more tests.
22607 (tgamma_test): Likewise.
22608 (y0_test): Likewise.
22609 (y1_test): Likewise.
22610 (yn_test): Likewise.
22612 2012-03-27 Anton Blanchard <anton@samba.org>
22614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22616 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22617 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22618 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22620 2012-03-27 David S. Miller <davem@davemloft.net>
22622 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22624 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22625 have-as-vis3 check.
22627 2012-03-27 Andreas Jaeger <aj@suse.de>
22629 * sysdeps/x86_64/elf/configure.in: Moved to ...
22630 * sysdeps/x86_64/configure.in: ... here.
22631 * sysdeps/x86_64/elf/start.S: Moved to ...
22632 * sysdeps/x86_64/start.S: ... here.
22633 * sysdeps/x86_64/elf/configure: Delete.
22635 * sysdeps/x86_64/configure.in: Merge contents from
22636 sysdeps/i386/configure.in (without i686 check).
22638 * sysdeps/i386/elf/Versions: Merge into ...
22639 * sysdeps/i386/Versions: ... this.
22640 * sysdeps/i386/elf/Versions: Delete file.
22641 * sysdeps/i386/elf/start.S: Moved to ...
22642 * sysdeps/i386/start.S: ...here.
22643 * sysdeps/i386/elf/configure.in: Merge into...
22644 * sysdeps/i386/configure.in: ...here.
22645 * sysdeps/i386/elf/configure.in: Delete file.
22646 * sysdeps/i386/elf/configure: Delete file.
22648 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22649 * debug/backtracesyms.c: ... here.
22650 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22651 * debug/backtracesymsfd.c: ... here.
22652 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22653 * sysdeps/generic/ifunc-sel.h: ... here.
22655 * sysdeps/unix/i386/start.c: Delete file.
22656 * sysdeps/unix/sparc/start.c: Delete file.
22657 * sysdeps/unix/start.c: Delete file.
22659 * sysdeps/sh/elf/configure.in: Moved to ...
22660 * sysdeps/sh/configure.in: ... here.
22661 * sysdeps/sh/elf/start.S: Moved to ...
22662 * sysdeps/sh/start.S: ... here.
22663 * sysdeps/sh/elf/configure: Delete file.
22665 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22666 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22667 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22668 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22669 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22670 * sysdeps/powerpc/powerpc64/start.S: here.
22671 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22672 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22673 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22674 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22675 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22677 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22678 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22679 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22680 * sysdeps/powerpc/powerpc32/start.S: ... here.
22681 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22682 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22683 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22685 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22686 * sysdeps/powerpc/ifunc-sel.h: ... here.
22687 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22688 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22690 * sysdeps/sparc/elf/configure.in: Moved to ...
22691 * sysdeps/sparc/configure.in: ... here.
22692 * sysdeps/sparc/elf/configure: Delete file.
22693 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22694 * sysdeps/sparc/sparc32/start.S: ... here.
22695 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22696 * sysdeps/sparc/sparc64/start.S: ... here.
22697 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22698 * sysdeps/sparc/sparc32/Makefile: ... this.
22699 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22700 * sysdeps/sparc/sparc64/Makefile: ... this.
22702 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22703 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22704 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22705 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22706 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22707 * sysdeps/s390/s390-32/setjmp.S: ... here.
22708 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22709 * sysdeps/s390/s390-32/configure.in: ... here.
22710 * sysdeps/s390/s390-32/elf/configure: Delete file.
22711 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22712 * sysdeps/s390/s390-32/start.S: ... here.
22714 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22715 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22716 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22717 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22718 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22719 * sysdeps/s390/s390-64/setjmp.S: ... here.
22720 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22721 * sysdeps/s390/s390-64/configure.in: ... here
22722 * sysdeps/s390/s390-64/elf/configure: Delete file.
22723 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22724 * sysdeps/s390/s390-64/start.S: ... here.
22725 * sysdeps/s390/s390-64/elf/configure: Delete.
22727 * configure.in: Remove support for elf directories in sysdeps.
22729 * configure: Regenerated.
22730 * sysdeps/i386/configure: Regenerated.
22731 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22732 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22733 * sysdeps/s390/s390-32/configure: Regenerated.
22734 * sysdeps/s390/s390-64/configure: Regenerated.
22735 * sysdeps/sh/configure: Regenerated.
22736 * sysdeps/sparc/configure: Regenerated.
22737 * sysdeps/x86_64/configure: Regenerated.
22739 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22744 denormal result into account.
22746 2012-03-25 Roland McGrath <roland@hack.frob.com>
22748 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22749 Reported by Allan McRae <allan@archlinux.org>.
22751 2012-03-23 Jeff Law <law@redhat.com>
22753 * nss/getnssent.c (__nss_getent): Fix typo.
22755 2012-03-23 David S. Miller <davem@davemloft.net>
22757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22759 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22761 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22762 to pad to uint64_t for each field.
22763 (dl_tls_index): Replace unsigned long with uint64_t.
22765 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22766 Paul Pluzhnikov <ppluzhnikov@google.com>
22769 * grp/Makefile (otherlibs): Don't set it.
22770 * inet/Makefile (otherlibs): Likewise.
22771 * login/Makefile (otherlibs): Likewise.
22772 * nscd/Makefile (otherlibs): Likewise.
22773 * posix/Makefile (otherlibs): Likewise.
22774 * pwd/Makefile (otherlibs): Likewise.
22775 * rt/Makefile (otherlibs): Likewise.
22776 * sunrpc/Makefile (otherlibs): Likewise.
22777 * nss/Makefile (otherlibs): Likewise.
22778 Add libnss_files to routines and static-only-routines.
22779 ($(objpfx)getent): Remove rule.
22780 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22781 static-only-routines.
22783 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22786 * math/s_cexp.c: Include <float.h>.
22787 (__cexp): Handle exp result overflowing not necessarily
22788 overflowing both real and imaginary parts of result.
22789 * math/s_cexpf.c: Likewise.
22790 * math/s_cexpl.c: Likewise.
22791 * math/libm-test.inc (cexp_test): Add more tests.
22792 * sysdeps/i386/fpu/libm-test-ulps: Update.
22793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22795 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22797 * include/link.h (ELFW): New macro.
22798 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22799 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22803 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22806 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22808 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22810 (struct La_x32_retval): Likewise.
22812 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22814 * sysdeps/x86_64/preconfigure.in: New file.
22815 * sysdeps/x86_64/preconfigure: New generated file.
22817 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22820 * math/e_exp2l.c: Include <float.h>.
22821 (__ieee754_exp2l): Handle overflow and underflow cases
22822 separately. Only pass fractional part of argument to
22824 * math/libm-test.inc (exp2_test): Add more tests.
22826 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22827 negating x to take absolute value.
22828 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22830 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22833 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22834 computing low part if x was negated.
22835 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22837 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22839 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22840 la_x32_gnu_pltexit.
22841 (pltexit): Cast int_retval to ptrdiff_t.
22842 * elf/tst-auditmod3b.c: Likewise.
22843 * elf/tst-auditmod4b.c: Likewise.
22844 * elf/tst-auditmod5b.c: Likewise.
22845 * elf/tst-auditmod6b.c: Likewise.
22846 * elf/tst-auditmod6c.c: Likewise.
22847 * elf/tst-auditmod7b.c: Likewise.
22849 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22850 and x32_gnu_pltexit.
22852 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22853 __ELF_NATIVE_CLASS.
22854 (La_x32_regs): New macro.
22855 (La_x32_retval): Likewise.
22856 (la_x32_gnu_pltenter): New function prototype.
22857 (la_x32_gnu_pltexit): Likewise.
22859 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22866 * configure.in (libc_cv_cc_nofma): Check for option to disable
22867 generation of FMA instructions.
22868 * configure: Regenerate.
22869 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22870 * sysdeps/ieee754/dbl-64/Makefile: New file.
22871 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22872 Remove brandred-fma4.
22873 (CFLAGS-brandred-fma4.c): Remove.
22874 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22875 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22877 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22880 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22882 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22883 LLONG_MAX != LONG_MAX.
22884 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22885 (_fitoa_word): Likewise.
22886 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22887 LLONG_MAX != LONG_MAX.
22888 * stdio-common/_itowa.h: Include <_itoa.h>.
22889 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22890 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22891 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22892 only if not defined.
22893 (_ITOA_WORD_TYPE): Likewise.
22894 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22895 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22897 2012-03-21 David S. Miller <davem@davemloft.net>
22899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22901 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22903 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22904 of x86_64 when setting libc_cv_slibdir, libdir and
22906 * sysdeps/unix/sysv/linux/configure: Regenerated.
22908 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22910 * manual/lang.texi (Old Varargs): Remove section.
22911 (How Variadic): Update menu.
22912 (va_start): Do not mention varargs.h.
22914 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22915 Joseph Myers <joseph@codesourcery.com>
22917 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22919 * configure: Regenerated.
22921 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22923 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22924 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22927 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22930 * Makefile (files-for-dist): Remove NOTES.
22931 (NOTES): Remove rule.
22932 * README: Don't refer to NOTES.
22933 * manual/creature.texi: Don't include macros.texi.
22934 * manual/intro.texi (creature.texi): Remove comment referring to
22937 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22938 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22939 * configure: Regenerated.
22940 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22941 LIBC_TRY_CC_OPTION.
22942 (libc_cv_as_i686): Likewise.
22943 (libc_cv_cc_avx): Likewise.
22944 (libc_cv_cc_sse2avx): Likewise.
22945 (libc_cv_cc_fma4): Likewise.
22946 (libc_cv_cc_novzeroupper): Likewise.
22947 * sysdeps/i386/configure: Regenerated.
22950 * sysdeps/i386/fpu/s_cexp.S: Remove.
22951 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22952 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22953 * math/libm-test.inc (cexp_test): Add more tests.
22954 * sysdeps/i386/fpu/libm-test-ulps: Update.
22955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22957 2012-03-21 Allan McRae <allan@archlinux.org>
22959 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22961 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22964 * math/w_exp2.c: Do not include <float.h>.
22965 (o_threshold, u_threshold): Remove.
22966 (__exp2): Calculate result before checking finiteness and calling
22968 * math/w_exp2f.c: Likewise.
22969 * math/w_exp2l.c: Likewise.
22970 * math/libm-test.inc (exp2_test): Require overflow exception for
22974 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22975 range of signed 64-bit integers before using fistpll. Remove
22976 checks for whether integers fit in mantissa bits.
22977 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22978 the range of signed 32-bit integers before using fistpl. Remove
22979 checks for whether integers fit in mantissa bits.
22980 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22981 (__ieee754_powl): Test for y outside the range of signed 64-bit
22982 integers before using fistpll. Reduce 64-bit values to 63-bit
22984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22985 divide-by-zero is raised for zero to large negative powers.
22986 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22987 (__ieee754_powl): Test for y outside the range of signed 64-bit
22988 integers before using fistpll. Reduce 64-bit values to 63-bit
22990 * math/libm-test.inc (pow_test): Add more tests.
22992 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22994 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22995 <stdio-common/_itoa.h>.
22996 * debug/segfault.c: Likewise.
22997 * elf/dl-cache.c: Likewise.
22998 * elf/dl-minimal.c: Likewise.
22999 * elf/dl-misc.c: Likewise.
23000 * elf/dl-sysdep.c: Likewise.
23001 * elf/dl-version.c: Likewise.
23002 * elf/rtld.c: Likewise.
23003 * hurd/hurdsock.c: Likewise.
23004 * hurd/lookup-retry.c: Likewise.
23005 * malloc/malloc.c: Likewise.
23006 * malloc/mtrace.c: Likewise.
23007 * nscd/nscd_getgr_r.c: Likewise.
23008 * nscd/nscd_getpw_r.c: Likewise.
23009 * nscd/nscd_getserv_r.c: Likewise.
23010 * posix/getopt_init.c: Likewise.
23011 * posix/wordexp.c: Likewise.
23012 * stdio-common/_itoa.c: Likewise.
23013 * stdio-common/printf_fphex.c: Likewise.
23014 * stdio-common/vfprintf.c: Likewise.
23015 * string/_strerror.c: Likewise.
23016 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23017 * sysdeps/i386/i686/hp-timing.h: Likewise.
23018 * sysdeps/mach/_strerror.c: Likewise.
23019 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23020 * sysdeps/mach/hurd/sethostid.c: Likewise.
23021 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23022 * sysdeps/mach/xpg-strerror.c: Likewise.
23023 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23024 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23025 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23026 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23027 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23028 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23030 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23031 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23032 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23033 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23034 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23035 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23036 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23037 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23038 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23039 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23040 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23041 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23042 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23043 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23045 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23047 * stdio-common/_itoa.h: Moved to ...
23048 * sysdeps/generic/_itoa.h: Here.
23050 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23052 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23053 instead of "_itoa.h" and "_itowa.h".
23054 * stdio-common/vfprintf.: Likewise.
23056 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23058 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23060 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23061 (__signbit): Likwise.
23062 (llrintf): Likwise.
23065 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23067 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23070 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23072 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23073 OVERFLOW_EXCEPTION_OK.
23074 * math/libm-test.inc ("Philosophy"): Update comment about
23076 (OVERFLOW_EXCEPTION): Define.
23077 (OVERFLOW_EXCEPTION_OK): Likewise.
23078 (INVALID_EXCEPTION_OK): Renumber.
23079 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23080 (IGNORE_ZERO_INF_SIGN): Likewise.
23081 (test_exceptions): Handle FE_OVERFLOW.
23082 (exp10_test): Expect overflow exceptions.
23083 (exp2_test): Likewise.
23084 (expm1_test): Likewise.
23085 (nextafter_test): Likewise.
23086 (pow_test): Likewise.
23087 (scalbn_test): Likewise.
23088 (scalbln_test): Likewise.
23090 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23092 * sysdeps/x86_64/bits/atomic.h
23093 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23095 (atomic_exchange_acq): Likewise.
23096 (__arch_exchange_and_add_body): Likewise.
23097 (__arch_add_body): Likewise.
23098 (atomic_add_negative): Likewise.
23099 (atomic_add_zero): Likewise.
23101 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23103 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23104 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23106 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23108 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23109 Check __x86_64__ instead of __WORDSIZE.
23111 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23113 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23115 2012-03-19 David S. Miller <davem@davemloft.net>
23117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23119 * sysdeps/sparc/fpu/fenv_private.h: New file.
23120 * sysdeps/sparc/fpu/math_private.h: Use it.
23121 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23123 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23124 (libc_feholdexcept_setroundl): Remove.
23125 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23127 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23128 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23132 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23133 int64_t instead of long int.
23134 (INSERT_WORDS64): Likwise.
23136 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23138 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23139 _Unwind_GetCFA return to _Unwind_Ptr first.
23141 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23144 * math/s_clog.c: Include <float.h>.
23145 (__clog): Scale large or subnormal inputs.
23146 * math/s_clogf.c: Likewise.
23147 * math/s_clogl.c: Likewise.
23148 * math/s_clog10.c: Include <float.h>.
23149 (M_LOG10_2): Define.
23150 (__clog10): Scale large or subnormal inputs.
23151 * math/s_clog10f.c: Likewise.
23152 * math/s_clog10l.c: Likewise.
23153 * math/libm-test.inc (clog_test): Add more tests.
23154 (clog10_test): Likewise.
23155 * sysdeps/i386/fpu/libm-test-ulps: Update.
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23159 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23161 * math/libm-test.inc (atan2_test): Add another test.
23163 * Makerules (common-objdir-compile): Remove.
23164 * sysdeps/unix/Makefile (config-generated): Do not add
23165 $(unix-generated) to variable.
23166 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23167 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23169 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23171 [generic bits/local_lim.h] (before-compile): Do not append to
23173 [generic bits/local_lim.h] (common-generated): Likewise.
23174 [generic sys/param.h] (before-compile): Do not append to variable.
23175 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23176 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23177 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23178 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23180 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23181 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23182 [generic sys/param.h] ($(addprefix
23183 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23184 [generic sys/param.h] (common-generated): Do not append to
23186 [generic sys/param.h] (sysdep_headers): Likewise.
23187 [generic bits/errno.h] (before-compile): Do not append to
23189 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23191 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23192 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23193 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23194 [generic bits/errno.h] (common-generated): Do not append to
23196 [generic bits/ioctls.h] (before-compile): Do not append to
23198 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23200 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23201 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23202 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23204 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23205 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23206 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23207 [generic bits/ioctls.h] (common-generated): Do not append to
23209 [generic sys/syscall.h] (syscall.h): Remove variable.
23210 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23212 [generic sys/syscall.h] (before-compile): Do not append to
23214 [generic sys/syscall.h] (common-generated): Likewise.
23215 * sysdeps/unix/errnos-tmpl.c: Remove file.
23216 * sysdeps/unix/errnos.awk: Likewise.
23217 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23218 * sysdeps/unix/ioctls.awk: Likewise.
23219 * sysdeps/unix/mk-local_lim.c: Likewise.
23220 * sysdeps/unix/snarf-ioctls: Likewise.
23222 2012-03-19 Richard Henderson <rth@twiddle.net>
23224 * sysdeps/i386/fpu/fenv_private.h: New file.
23225 * sysdeps/i386/fpu/math_private.h: Use it.
23226 (math_opt_barrier, math_force_eval): Remove.
23227 (libc_feholdexcept_setround_53bit): Remove.
23228 (libc_feupdateenv_53bit): Remove.
23229 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23230 (math_opt_barrier, math_force_eval): Remove.
23231 (libc_feholdexcept): Remove.
23232 (libc_feholdexcept_setround): Remove.
23233 (libc_fetestexcept, libc_fesetenv): Remove.
23234 (libc_feupdateenv_test): Remove.
23235 (libc_feupdateenv, libc_feholdsetround): Remove.
23236 (libc_feresetround): Remove.
23238 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23239 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23241 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23242 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23243 (libc_feupdateenv_testl): New.
23244 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23245 (libc_feupdateenv_testf): New.
23246 (libc_feupdateenv): Use libc_feupdateenv_test.
23247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23250 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23251 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23252 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23253 (libc_feresetround_noex): New.
23254 (libc_feresetround_noexf): New.
23255 (libc_feresetround_noexl): New.
23256 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23257 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23258 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23259 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23264 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23265 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23266 SET_RESTORE_ROUND_NOEX.
23267 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23268 SET_RESTORE_ROUND_NOEXF.
23269 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23270 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23271 (libc_feholdsetroundf): New.
23272 (libc_feresetround, libc_feresetroundf): New.
23274 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23275 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23276 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23278 * sysdeps/generic/math_private.h: Include <fenv.h>.
23279 (default_libc_feholdexcept): New.
23280 (default_libc_feholdexcept_setround): New.
23281 (default_libc_fesetenv, default_libc_feupdateenv): New.
23282 (libc_feholdexcept): Only define if undefined.
23283 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23284 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23285 (libc_feholdexcept_setroundl): Likewise.
23286 (libc_feholdexcept_setround_53bit): Likewise.
23287 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23288 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23289 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23290 (libc_feupdateenv_53bit): Likewise.
23291 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23292 (libc_feholdexcept): Convert from macro to inline function.
23293 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23294 (libc_fesetenv, libc_feupdateenv): Likewise.
23296 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23297 not previously defined.
23298 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23299 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23300 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23301 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23302 * sysdeps/ieee754/flt-32/math_private.h: New file.
23303 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23304 math_private.h below SET_FLOAT_WORD.
23305 (__isnan, __isinf_ns, __finite): Remove.
23306 (__isnanf, __isinf_nsf, __finitef): Remove.
23308 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23312 2012-03-17 David S. Miller <davem@davemloft.net>
23315 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23318 2012-03-16 David S. Miller <davem@davemloft.net>
23320 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23326 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23327 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23328 sysdep_routines when subdir is sysvipc.
23329 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23330 __getshmlba helper.
23332 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23334 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23336 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23339 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23341 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23342 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23343 (__lround): Renamed to ...
23344 (__llround): This. Replace long int with long long int.
23345 Define lround functions as aliases of llround functions.
23346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23348 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23350 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23351 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23352 adresses to uintptr_t. Replace "long int" and "unsigned long
23353 int" with "greg_t" on va_arg.
23355 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23357 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23358 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23360 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23361 Move e_machine check before EI_CLASS check. Handle x32
23362 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23363 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23364 SKIP_EM_IA_64 and include
23365 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23367 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23368 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23369 (add_system_dir): New macro.
23371 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23372 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23374 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23385 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23387 * math/w_j0f.c (j0f): Likewise.
23389 * math/w_j0l.c (__j0l): Likewise.
23391 * math/w_j1.c (j1): Likewise.
23393 * math/w_j1f.c (j1f): Likewise.
23395 * math/w_j1l.c (__j1l): Likewise.
23397 * math/w_jn.c (jn): Likewise.
23399 * math/w_jnf.c (jnf): Likewise.
23401 * math/w_jnl.c (__jnl): Likewise.
23403 * math/libm-test.inc (j0_test): Add more tests.
23404 (j1_test): Likewise.
23405 (jn_test): Likewise. Add trailing semicolon to existing test.
23406 (y0_test): Likewise.
23407 (y1_test): Likewise.
23408 * sysdeps/i386/fpu/libm-test-ulps: Update.
23409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23413 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23414 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23415 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23416 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23417 (__tanl): Set errno for infinite argument.
23418 * sysdeps/i386/fpu/mptan.c: Remove.
23419 * sysdeps/i386/fpu/s_tan.S: Likewise.
23420 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23421 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23422 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23423 * math/libm-test.inc (tan_test): Add more tests and enable more
23424 tests for double and long double.
23425 * sysdeps/i386/fpu/libm-test-ulps: Update.
23426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23428 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23430 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23431 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23433 2012-03-16 Roland McGrath <roland@hack.frob.com>
23435 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23436 * configure.in: Use it for both main tree and add-ons.
23437 * configure: Regenerated.
23439 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23441 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23443 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23445 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23449 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23450 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23455 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23457 != 0 for prec == 2.
23458 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23459 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23460 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23461 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23462 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23463 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23464 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23465 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23466 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23467 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23468 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23469 * math/libm-test.inc (cos_test): Add more tests and enable more
23470 tests for long double.
23471 (sin_test): Likewise.
23472 (sincos_test): Likewise.
23473 * sysdeps/i386/fpu/libm-test-ulps: Update.
23474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23476 2012-03-16 David S. Miller <davem@davemloft.net>
23478 * sysdeps/sparc/fpu/math_private.h: New file.
23480 2012-03-15 David S. Miller <davem@davemloft.net>
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23496 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23497 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23499 * sysdeps/sparc/sparc-ifunc.h: New file.
23500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23545 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23547 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23551 2012-03-15 Andreas Jaeger <aj@suse.de>
23554 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23555 ieee754/flt-32 implementation for sin, cos and sincos.
23556 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23557 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23558 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23559 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23560 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23561 ieee754/flt-32 implementation for tan.
23563 * math/libm-test.inc (cos_test): Enable some large input tests for
23565 (sin_test): Likewise.
23566 (sincos_test): Likewise.
23567 (tan_test): Add tests for large input.
23569 * sysdeps/i386/fpu/libm-test-ulps: Update.
23571 2012-03-15 Andreas Jaeger <aj@suse.de>
23574 * math/libm-test.inc (cos_test): Add more test cases.
23575 (sin_test): Likewise.
23576 (sincos_test): Likewise.
23578 2012-03-15 Andreas Jaeger <aj@suse.de>
23581 * math/libm-test.inc (cos_test): Add a test case for large input
23583 (sin_test): Likewise.
23584 (sincos_test): Likewise.
23586 2012-03-15 Andreas Jaeger <aj@suse.de>,
23587 Joseph Myers <joseph@codesourcery.com>
23590 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23591 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23592 * sysdeps/i386/fpu/branred.c: Likewise.
23593 * sysdeps/i386/fpu/dosincos.c: Likewise.
23594 * sysdeps/i386/fpu/mpa.c: Likewise.
23595 * sysdeps/i386/fpu/s_cos.S: Likewise.
23596 * sysdeps/i386/fpu/s_sin.S: Likewise.
23597 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23598 * sysdeps/i386/fpu/sincos32.c: Likewise.
23600 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23602 (libc_feupdateenv_53bit): Define.
23603 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23605 (libc_feupdateenv_53bit): Define.
23607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23608 53 bit (without extend i386 double precision).
23610 * math/libm-test.inc (sincos_test): Add tests for large input.
23614 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23616 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23620 2012-03-15 David S. Miller <davem@davemloft.net>
23622 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23623 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23624 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23625 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23650 fmin/fmax sysdep routines.
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23653 2012-03-14 David S. Miller <davem@davemloft.net>
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23727 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23732 * sysdeps/sparc/configure.in: New file.
23733 * sysdeps/sparc/configure: Generate.
23734 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23735 * configure: Regenerate.
23736 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23737 * config.make.in (have-as-vis3): New.
23738 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23739 available use -Av9d instead of -Av9a.
23740 * sysdeps/sparc/sparc64/Makefile: Likewise.
23741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23756 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23757 fzeros/fnegs to load 0x80000000 into a float register instead of
23759 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23761 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23765 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23766 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23767 ($(inst_includedir)/bits/syscall.h): Remove rule.
23768 ($(objpfx)bits/syscall.d): Include instead of
23769 $(objpfx)syscall-list.d.
23770 (generated): Change syscall-list.h and syscall-list.d to
23771 bits/syscall.h and bits/syscall.d.
23773 2012-03-14 Roland McGrath <roland@hack.frob.com>
23776 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23778 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23781 * math/s_csqrt.c: Include <float.h>.
23782 (__csqrt): Scale large or subnormal inputs.
23783 * math/s_csqrtf.c: Likewise.
23784 * math/s_csqrtl.c: Likewise.
23785 * math/libm-test.inc (csqrt_test): Add more tests.
23786 * sysdeps/i386/fpu/libm-test-ulps: Update.
23787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23790 * math/libm-test.inc (hypot_test): Add more tests.
23792 2012-03-13 David S. Miller <davem@davemloft.net>
23795 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23796 double-precision for the calculation instead of scaling.
23798 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23800 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23801 manipulate bits before adding and subtracting TWO52[sx].
23802 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23803 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23805 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23807 2012-03-13 David S. Miller <davem@davemloft.net>
23809 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23810 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23812 rtld-global-offsets.h
23813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23815 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23818 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23820 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23821 'err' in the ifdef scope in which it is actually used.
23823 * nss/nss_db/db-init.c: Include string.h
23825 2012-03-12 David S. Miller <davem@davemloft.net>
23827 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23828 masking out of the most significant byte of random value used.
23829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23830 Fix coding style in previous change.
23832 * sysdeps/unix/sysv/linux/kernel-features.h
23833 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23834 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23836 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23839 2012-03-11 David S. Miller <davem@davemloft.net>
23841 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23842 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23843 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23844 for 'resultvar' otherwise things get truncated on 64-bit.
23846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23847 Fix masking out of the most significant byte of random value used.
23849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23851 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23855 2012-03-09 David S. Miller <davem@davemloft.net>
23857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23858 variables with appropriate CPP guards.
23859 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23860 frame pointer, not the stack pointer. Correct layout comments. Fix test
23861 on resulting framesize and the management of the outregs buffer for pltexit.
23862 Preserve floating point return values across _dl_call_pltexit call.
23863 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23864 framesize and the management of the outregs buffer for pltexit.
23865 Preserve floating point return values across _dl_call_pltexit
23867 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23868 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23869 (print_exit): Fix format string for return register value.
23871 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23873 * sunrpc/Makefile (others): Add rpcgen.
23874 ($(objpfx)rpcgen): Remove special build rule and dependency on
23876 * sunrpc/rpcgen.c: New file.
23878 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23881 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23882 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23883 * sysdeps/i386/crti.S: Likewise.
23884 * sysdeps/i386/crtn.S: Likewise.
23885 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23886 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23887 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23888 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23889 * sysdeps/sh/crti.S: Likewise.
23890 * sysdeps/sh/crtn.S: Likewise.
23891 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23894 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23896 * locale/programs/locfile-kw.gperf: Likewise.
23897 * locale/programs/charmap-kw.h: Regenerated.
23898 * locale/programs/locfile-kw.h: Likewise.
23901 * intl/plural.y: Replace FSF snail mail address with URL.
23902 * intl/plural.c: Regenerated.
23904 2012-03-09 Richard Henderson <rth@twiddle.net>
23906 * include/math_private.h: Remove file.
23907 * math/math_private.h: Move file ...
23908 * sysdeps/generic/math_private.h: ... here.
23910 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23911 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23914 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23915 and <math_private.h>.
23916 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23917 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23918 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23919 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23920 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23984 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23985 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24004 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24005 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24007 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24008 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24009 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24010 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24011 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24012 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24013 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24014 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24015 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24016 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24017 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24018 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24019 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24020 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24021 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24022 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24023 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24024 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24026 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24027 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24028 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24029 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24030 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24031 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24035 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24036 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24037 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24038 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24039 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24040 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24041 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24042 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24043 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24044 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24045 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24046 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24048 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24049 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24050 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24051 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24052 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24053 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24054 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24055 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24058 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24059 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24060 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24061 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24062 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24063 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24064 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24065 * sysdeps/ieee754/k_standard.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24104 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24106 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24181 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24185 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24186 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24188 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24193 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24198 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24214 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24215 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24216 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24226 * sysdeps/ieee754/s_lib_version.c: Likewise.
24227 * sysdeps/ieee754/s_matherr.c: Likewise.
24228 * sysdeps/ieee754/s_signgam.c: Likewise.
24229 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24231 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24232 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24233 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24234 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24235 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24236 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24237 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24238 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24239 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24240 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24241 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24242 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24243 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24251 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24253 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24254 * sunrpc/rpc_main.c: Likewise.
24255 * sunrpc/rpc_svcout.c: Likewise.
24257 2012-03-09 David S. Miller <davem@davemloft.net>
24259 * include/math_private.h: New file.
24261 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24263 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24264 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24265 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24266 from <bits/socket_type.h>.
24267 (enum __socket_type): Don't define here.
24268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24270 bits/socket_type.h.
24273 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24274 checking __USE_GNU.
24276 * Makerules ($(inst_includedir)/%.h): New rule.
24277 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24278 (install-others): Remove variable setting.
24279 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24281 2012-03-08 Richard Henderson <rth@twiddle.net>
24283 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24284 from macro to inline function; merge with the
24285 !__LIBC_INTERNAL_MATH_INLINES version.
24286 (__ieee754_sqrtf): Likewise.
24288 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24289 to inline function.
24290 (__rintf, __floor, __floorf): Likewise.
24292 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24293 macro to inline function.
24294 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24297 not <math/math_private.h>.
24299 2012-03-08 David S. Miller <davem@davemloft.net>
24301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24303 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24305 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24307 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24309 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24310 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24312 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24314 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24315 be defined individually, they must be defined as a block. Define
24316 S for printing a string instead of hidint the different by using a
24317 macro for adding the 'l'.
24318 * stdio-common/tst-fphex-wide.c: Adjust.
24320 2012-03-07 Marek Polacek <polacek@redhat.com>
24322 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24324 2012-03-08 Marek Polacek <polacek@redhat.com>
24327 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24328 * stdio-common/tst-fphex.c: Define a few macros to make the
24329 test reusable. Use them.
24330 * stdio-common/tst-fphex-wide.c: New file.
24332 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24335 * manual/macros.texi (gnusystems): New macro.
24336 (nongnusystems): Likewise.
24337 (gnulinuxhurdsystems): Likewise.
24338 (gnuhurdsystems): Likewise..
24339 (gnulinuxsystems): Likewise.
24340 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24341 variants of the GNU system, not "GNU system".
24342 * manual/conf.texi: Likewise.
24343 * manual/errno.texi: Likewise. Update example of errno macro
24345 * manual/filesys.texi: Likewise.
24346 (getumask): Document as specific to GNU/Hurd.
24347 * manual/install.texi: Likewise. Reword some references to
24349 * manual/intro.texi: Likewise.
24350 * manual/io.texi: Likewise.
24351 (File Name Portability): Detail which constraints are inapplicable
24352 to all GNU systems and which are only inapplicable to GNU/Hurd.
24353 * manual/job.texi: Likewise.
24354 * manual/llio.texi: Likewise.
24355 (O_NOCTTY): Document as present on GNU/Linux.
24356 * manual/maint.texi: Likewise.
24357 * manual/memory.texi: Likewise.
24358 * manual/pattern.texi: Likewise.
24359 * manual/pipe.texi: Likewise.
24360 * manual/process.texi: Likewise.
24361 * manual/resource.texi: Likewise.
24362 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24364 * manual/setjmp.texi: Likewise.
24365 * manual/signal.texi: Likewise.
24366 * manual/startup.texi: Likewise.
24367 * manual/stdio.texi: Likewise.
24368 * manual/terminal.texi: Likewise.
24369 (ONLCR): Document as POSIX.
24370 (OXTABS): Document availability on GNU/Linux as XTABS.
24371 (ONOEOT): Document availability separately from other bits.
24372 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24373 * manual/time.texi: Likewise.
24374 * manual/users.texi: Likewise.
24375 * INSTALL: Regenerated.
24376 * sysdeps/gnu/errlist.c: Regenerated.
24378 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24379 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24380 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24382 * configure: Regenerated.
24384 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24386 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24387 default includes instead of AC_HEADER_CHECK.
24388 * sysdeps/i386/configure: Regenerated.
24391 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24392 * math/s_cacoshf.c (__cacoshf): Likewise.
24393 * math/s_cacoshl.c (__cacoshl): Likewise.
24394 * math/s_casinh.c (__casinh): Set signs of result from argument.
24395 * math/s_casinhf.c (__casinhf): Likewise.
24396 * math/s_casinhl.c (__casinhl): Likewise.
24397 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24398 (casinh_test): Add more tests.
24399 * sysdeps/i386/fpu/libm-test-ulps: Update.
24400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24402 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24404 * po/zh_TW.po: Update from translation team.
24406 * login/Makefile (distribute): Remove variable.
24407 * catgets/Makefile: Likewise.
24408 * mach/Makefile: Likewise.
24409 * malloc/Makefile: Likewise.
24410 * misc/Makefile: Likewise.
24411 * iconv/Makefile: Likewise.
24412 * nscd/Makefile: Likewise.
24413 * hurd/Makefile: Likewise.
24414 * manual/Makefile: Likewise.
24415 * locale/Makefile: Likewise.
24416 * intl/Makefile: Likewise.
24417 * conform/Makefile: Likewise.
24418 * nss/Makefile: Likewise.
24419 * time/Makefile: Likewise.
24420 * soft-fp/Makefile: Likewise.
24421 * dirent/Makefile: Likewise.
24422 * gmon/Makefile: Likewise.
24423 * po/Makefile: Likewise.
24424 * rt/Makefile: Likewise.
24425 * socket/Makefile: Likewise.
24426 * math/Makefile: Likewise.
24427 * signal/Makefile: Likewise.
24428 * debug/Makefile: Likewise.
24429 * elf/Makefile: Likewise.
24430 * timezone/Makefile: Likewise.
24431 * stdlib/Makefile: Likewise.
24432 * iconvdata/Makefile: Likewise.
24433 * sunrpc/Makefile: Likewise.
24434 * io/Makefile: Likewise.
24435 * argp/Makefile: Likewise.
24436 * inet/Makefile: Likewise.
24437 * hesiod/Makefile: Likewise.
24438 * grp/Makefile: Likewise.
24439 * csu/Makefile: Likewise.
24440 * wctype/Makefile: Likewise.
24441 * crypt/Makefile: Likewise.
24442 * libio/Makefile: Likewise.
24443 * string/Makefile: Likewise.
24444 * nis/Makefile: Likewise.
24445 * resolv/Makefile: Likewise.
24446 * stdio-common/Makefile: Likewise.
24447 * wcsmbs/Makefile: Likewise.
24448 * dlfcn/Makefile: Likewise.
24449 * posix/Makefile: Likewise.
24452 * timezone/Makefile: Don't install timezone files, just the programs
24455 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24457 * nss/databases.def: Add missing gshadow entry.
24459 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24461 2012-03-06 Marek Polacek <polacek@redhat.com>
24464 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24465 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24466 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24467 * stdio-common/tst-long-dbl-fphex.c: New file.
24469 2012-03-06 David S. Miller <davem@davemloft.net>
24471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24472 (set_obp_int): New function.
24473 (get_obp_int): New function.
24474 (__get_clockfreq_via_dev_openprom): Likewise.
24475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24476 Avoid unused variable warnings on 'val' and use builtin_expect.
24477 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24479 (INLINE_CLONE_SYSCALL): Likewise.
24481 2012-03-05 David S. Miller <davem@davemloft.net>
24483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24485 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24489 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24490 only for |x| >= 40.
24491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24493 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24496 Replace gettimeofday with __vdso_gettimeofday.
24498 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24499 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24500 __vdso_clock_gettime and __vdso_getcpu.
24502 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24503 time with __vdso_time.
24505 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24507 * manual/lang.texi (size_t): Note types to which size_t may be
24508 equivalent with the GNU C Library, but do not describe when
24509 differences between them are significant.
24511 2012-03-05 Andreas Jaeger <aj@suse.de>
24513 * sysdeps/i386/fpu/libm-test-ulps: Update.
24515 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24518 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24519 (__ieee754_pow): Save and restore rounding mode and use
24520 round-to-nearest for main computations.
24521 * math/libm-test.inc (pow_test_tonearest): New function.
24522 (pow_test_towardzero): Likewise.
24523 (pow_test_downward): Likewise.
24524 (pow_test_upward): Likewise.
24525 (main): Call the new functions.
24526 * sysdeps/i386/fpu/libm-test-ulps: Update.
24527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24530 * math/libm-test.inc (cosh_test_tonearest): New function.
24531 (cosh_test_towardzero): Likewise.
24532 (cosh_test_downward): Likewise.
24533 (cosh_test_upward): Likewise.
24534 (sinh_test_tonearest): Likewise.
24535 (sinh_test_towardzero): Likewise.
24536 (sinh_test_downward): Likewise.
24537 (sinh_test_upward): Likewise.
24538 (main): Call the new functions.
24539 * sysdeps/i386/fpu/libm-test-ulps: Update.
24540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24542 2012-03-05 Tom de Vries <tom@codesourcery.com>
24544 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24545 default stack guard is set in last bytes.
24546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24548 2012-03-05 Kees Cook <keescook@chromium.org>
24550 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24553 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24554 possibly allocate from heap instead of stack.
24555 * stdio-common/bug-vfprintf-nargs.c: New file.
24556 * stdio-common/Makefile (tests): Add nargs overflow test.
24558 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24562 2012-03-03 Marek Polacek <polacek@redhat.com>
24564 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24565 * math/math_private.h: Likewise.
24566 * stdlib/tst-strtod.c: Likewise.
24567 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24568 * sysdeps/x86_64/bits/atomic.h: Likewise.
24570 2012-03-02 David S. Miller <davem@davemloft.net>
24572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24576 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24577 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24578 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24579 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24581 2012-03-02 Roland McGrath <roland@hack.frob.com>
24584 * manual/examples/README: New file, says the example source files
24585 can be used under GPL>=2.
24586 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24587 line containing just "*/".
24588 * manual/examples/add.c: Add copyright header (GPL>=2).
24589 * manual/examples/argp-ex1.c: Likewise.
24590 * manual/examples/argp-ex2.c: Likewise.
24591 * manual/examples/argp-ex3.c: Likewise.
24592 * manual/examples/argp-ex4.c: Likewise.
24593 * manual/examples/atexit.c: Likewise.
24594 * manual/examples/db.c: Likewise.
24595 * manual/examples/dir.c: Likewise.
24596 * manual/examples/dir2.c: Likewise.
24597 * manual/examples/execinfo.c: Likewise.
24598 * manual/examples/filecli.c: Likewise.
24599 * manual/examples/filesrv.c: Likewise.
24600 * manual/examples/fmtmsgexpl.c: Likewise.
24601 * manual/examples/genpass.c: Likewise.
24602 * manual/examples/inetcli.c: Likewise.
24603 * manual/examples/inetsrv.c: Likewise.
24604 * manual/examples/isockad.c: Likewise.
24605 * manual/examples/longopt.c: Likewise.
24606 * manual/examples/memopen.c: Likewise.
24607 * manual/examples/memstrm.c: Likewise.
24608 * manual/examples/mkfsock.c: Likewise.
24609 * manual/examples/mkisock.c: Likewise.
24610 * manual/examples/mygetpass.c: Likewise.
24611 * manual/examples/pipe.c: Likewise.
24612 * manual/examples/popen.c: Likewise.
24613 * manual/examples/rprintf.c: Likewise.
24614 * manual/examples/search.c: Likewise.
24615 * manual/examples/select.c: Likewise.
24616 * manual/examples/setjmp.c: Likewise.
24617 * manual/examples/sigh1.c: Likewise.
24618 * manual/examples/sigusr.c: Likewise.
24619 * manual/examples/stpcpy.c: Likewise.
24620 * manual/examples/strdupa.c: Likewise.
24621 * manual/examples/strftim.c: Likewise.
24622 * manual/examples/strncat.c: Likewise.
24623 * manual/examples/subopt.c: Likewise.
24624 * manual/examples/swapcontext.c: Likewise.
24625 * manual/examples/termios.c: Likewise.
24626 * manual/examples/testopt.c: Likewise.
24627 * manual/examples/testpass.c: Likewise.
24628 * manual/examples/timeval_subtract.c: Likewise.
24631 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24633 * manual/timeval_subtract.c.texi: ... here, new file.
24635 2012-03-02 David S. Miller <davem@davemloft.net>
24637 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24639 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24642 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24643 (__sin): Save and restore rounding mode and use round-to-nearest
24644 for all computations.
24645 (__cos): Save and restore rounding mode and use round-to-nearest
24646 for all computations.
24647 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24649 (tan): Save and restore rounding mode and use round-to-nearest for
24651 * math/libm-test.inc (cos_test_tonearest): New function.
24652 (cos_test_towardzero): Likewise.
24653 (cos_test_downward): Likewise.
24654 (cos_test_upward): Likewise.
24655 (sin_test_tonearest): Likewise.
24656 (sin_test_towardzero): Likewise.
24657 (sin_test_downward): Likewise.
24658 (sin_test_upward): Likewise.
24659 (tan_test_tonearest): Likewise.
24660 (tan_test_towardzero): Likewise.
24661 (tan_test_downward): Likewise.
24662 (tan_test_upward): Likewise.
24663 (main): Call the new functions.
24664 * sysdeps/i386/fpu/libm-test-ulps: Update.
24665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24668 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24669 small n, then large n, before computing and testing k+n.
24670 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24675 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24676 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24683 * math/libm-test.inc (scalbn_test): Add more tests.
24684 (scalbln_test): Likewise.
24686 * manual/filesys.texi (mode_t): Describe constraints on size and
24687 signedness, not exact equivalence to a particular type.
24689 (ino64_t): Likewise.
24691 (nlink_t): Likewise.
24692 (blkcnt_t): Likewise.
24693 (blkcnt64_t): Likewise.
24694 * manual/llio.texi (off_t): Likewise.
24697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24698 (__ieee754_exp): Save and restore rounding mode and use
24699 round-to-nearest for all computations.
24700 * math/libm-test.inc (exp_test_tonearest): New function.
24701 (exp_test_towardzero): Likewise.
24702 (exp_test_downward): Likewise.
24703 (exp_test_upward): Likewise.
24704 (main): Call the new functions.
24705 * sysdeps/i386/fpu/libm-test-ulps: Update.
24706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24708 2012-03-01 Chris Demetriou <cgd@google.com>
24710 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24711 have predictable order.
24713 2012-03-01 David S. Miller <davem@davemloft.net>
24715 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24717 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24718 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24719 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24720 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24722 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24723 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24724 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24730 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24735 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24736 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24738 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24740 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24741 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24742 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24745 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24746 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24751 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24752 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24754 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24755 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24756 * sysdeps/sparc/elf/configure: Regenerated.
24758 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24760 * configure.in (AS, LD): Require binutils 2.20 or later.
24761 * configure: Regenerated.
24762 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24763 as required minimum version.
24764 * INSTALL: Regenerated.
24768 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24769 before squaring exponent.
24770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24771 bottom long double and 27 bits of top long double before squaring
24773 * math/libm-test.inc (erfc_test): Add more tests.
24774 * sysdeps/i386/fpu/libm-test-ulps: Update.
24775 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24778 2012-03-01 Kai Tietz <ktietz@redhat.com>
24780 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24781 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24782 containing bit-fields.
24783 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24784 * soft-fp/single.h (_FP_UNION_S): Likewise.
24785 * soft-fp/double.h (_FP_UNION_D): Likewise.
24787 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24790 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24791 not include ../strcmp.S.
24792 [USE_AS_STRNCASECMP_L]: Likewise.
24793 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24794 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24795 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24796 (__strncasecmp_l_ia32): Define as alias to
24797 __strncasecmp_l_nonascii.
24800 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24801 * sysdeps/i386/fpu/libm-test-ulps: Update.
24802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24804 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24807 2012-02-29 Jeff Law <law@redhat.com>
24809 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24810 out of bounds read.
24812 2012-02-29 Marek Polacek <polacek@redhat.com>
24815 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24816 * elf/Makefile: Add rules to run tst-unused-dep.out.
24818 2012-02-28 David S. Miller <davem@davemloft.net>
24820 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24821 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24824 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24825 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24827 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24829 * math/libm-test.inc (llround_test): Move one test from
24830 lround_test. Use TEST_f_L in moved test.
24831 (lround_test): Move misplaced test to llround_test. Add testcase
24834 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24836 * sysdeps/x86_64/fpu/e_expf.S: New file.
24837 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24839 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24842 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24843 of remain_len that may cause incomplete multi-byte character and
24845 * posix/bug-regex33.c: New file.
24846 * posix/Makefile (tests): Add bug-regex33.
24848 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24850 * manual/macros.texi: New file.
24851 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24852 * manual/libc.texinfo: Include macros.texi.
24853 * manual/creatute.texi: Likewise.
24854 * manual/install.texi: Likewise.
24855 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24856 @glibcadj{} in references to the GNU C Library.
24857 * manual/charset.texi: Likewise.
24858 * manual/conf.texi: Likewise.
24859 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24860 when not using those macros.
24861 * manual/creature.texi: Likewise.
24862 * manual/crypt.texi: Likewise.
24863 * manual/errno.texi: Likewise.
24864 * manual/filesys.texi: Likewise.
24865 * manual/header.texi: Likewise.
24866 * manual/install.texi: Likewise.
24867 * manual/intro.texi: Likewise.
24868 * manual/io.texi: Likewise.
24869 * manual/job.texi: Likewise.
24870 * manual/lang.texi: Likewise.
24871 * manual/libc.texiinfo: Likewise.
24872 * manual/llio.texi: Likewise.
24873 * manual/locale.texi: Likewise.
24874 * manual/maint.texi: Likewise.
24875 * manual/math.texi: Likewise.
24876 * manual/memory.texi: Likewise.
24877 * manual/message.texi: Likewise.
24878 * manual/nss.texi: Likewise.
24879 * manual/pattern.texi: Likewise.
24880 * manual/process.texi: Likewise.
24881 * manual/resource.texi: Likewise.
24882 * manual/search.texi: Likewise.
24883 * manual/setjmp.texi: Likewise.
24884 * manual/signal.texi: Likewise.
24885 * manual/socket.texi: Likewise.
24886 * manual/startup.texi: Likewise.
24887 * manual/stdio.texi: Likewise.
24888 * manual/string.texi: Likewise.
24889 * manual/sysinfo.texi: Likewise.
24890 * manual/syslog.texi: Likewise.
24891 * manual/terminal.texi: Likewise.
24892 * manual/time.texi: Likewise.
24893 * manual/users.texi: Likewise.
24894 * INSTALL: Regenerated.
24895 * NOTES: Regenerated.
24896 * sysdeps/gnu/errlist.c: Regenerated.
24898 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24900 * include/dirent.h: Include <dirstream.h> before
24903 2012-02-28 David S. Miller <davem@davemloft.net>
24905 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24906 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24907 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24908 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24910 2012-02-27 David S. Miller <davem@davemloft.net>
24912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24914 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24915 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24918 frame pointer instead of stack pointer relative arg slot.
24919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24920 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24921 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24923 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24926 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24928 2012-02-27 David S. Miller <davem@davemloft.net>
24930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24934 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24935 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24936 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24937 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24939 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24941 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24942 later. Allow versions 5-9.
24943 * configure: Regenerated.
24944 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24945 required minimum version and 4.6 as recommended version. Do not
24946 mention bugs in GCC 2.7 and 2.8.
24947 * INSTALL: Regenerated.
24949 2012-02-27 David S. Miller <davem@davemloft.net>
24951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24955 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24956 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24957 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24958 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24961 manipulate bits before adding and subtracting TWO112[sx].
24962 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24964 2012-02-27 Roland McGrath <roland@hack.frob.com>
24967 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24968 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24969 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24970 being in POSIX, because they are in 1003.1-2008.
24972 * rt/tst-aio.c: Include <fcntl.h>.
24973 * rt/tst-aio7.c: Likewise.
24974 * rt/tst-aio64.c: Likewise.
24976 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24978 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24980 * manual/install.texi (--with-headers): Describe headers as
24981 interface headers, not private headers.
24982 (Specific advice for GNU/Linux systems): Describe use of headers
24983 from "make headers_install", not private headers from older
24985 * INSTALL: Regenerated.
24986 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24988 * sysdeps/unix/sysv/linux/configure: Regenerated.
24990 * manual/llio.texi (fclean): Remove documentation.
24992 * manual/Makefile (libc-texi-generated): New variable. Include
24994 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24995 $(libc-texi-generated), not duplicated list of files.
24996 (version.texi, stamp-version): New rules.
24997 (realclean): Remove $(libc-texi-generated), not individual files
24998 from that list. Do not remove dir-add.texinfo.
24999 * manual/libc.texinfo: Comment out uses of edition numbers and
25000 references to printed manual. Remove last-updated dates.
25001 (EDITION): Comment out.
25003 (VERSION, UPDATED): Remove.
25004 (version.texi): Include.
25006 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25008 * sysdeps/posix/spawni.c: Include <signal.h>.
25009 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25010 * sysdeps/pthread/aio_fsync.c: Likewise.
25012 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25014 * conform/Makefile (tests): Run only when not cross-compiling and
25015 when fast-check is not defined.
25017 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25018 * conform/data/limits.h-data: Fixes for POSIX2008.
25019 * conform/run-conformtest.sh: Run all tests.
25020 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25022 * include/bits/dlfcn.h: Likewise.
25023 * include/langinfo.h: Likewise.
25024 * include/monetary.h: Likewise.
25025 * include/sys/poll.h: Likewise.
25027 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25029 * posix/spawn.h: Define __need_sigset_t.
25030 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25031 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25032 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25033 to get sigevent_t only.
25034 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25035 only for __USE_GNU.
25036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25037 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25038 process_vm_writev only for __USE_GNU.
25039 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25041 * conform/Makefile: For now ignore errors from run-conformtest.
25042 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25043 POSIX to avoid namespace pollution. Don't prepend headers.
25044 * conform/data/aio.h-data: Fixes for POSIX testing.
25045 * conform/data/fcntl.h-data: Likewise.
25046 * conform/data/glob.h-data: Likewise.
25047 * conform/data/grp.h-data: Likewise.
25048 * conform/data/pthread.h-data: Likewise.
25049 * conform/data/pwd.h-data: Likewise.
25050 * conform/data/signal.h-data: Likewise.
25051 * conform/data/spawn.h-data: Likewise.
25052 * conform/data/stdio.h-data: Likewise.
25053 * conform/data/stdlib.h-data: Likewise.
25054 * conform/data/stropts.h-data: Likewise.
25055 * conform/data/sys/mman.h-data: Likewise.
25056 * conform/data/sys/stat.h-data: Likewise.
25057 * conform/data/sys/types.h-data: Likewise.
25058 * conform/data/sys/wait.h-data: Likewise.
25059 * conform/data/time.h-data: Likewise.
25060 * conform/data/unistd.h-data: Likewise.
25061 * conform/data/utime.h-data: Likewise.
25063 * io/sys/stat.h: fchmod was always in POSIX.
25064 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25065 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25066 * rt/aio.h: Define __need_timespec before including <time.h>.
25067 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25068 struct. Add forward declaration of pthread_attr_t and use it in
25070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25072 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25073 always remove CLK_TCK definition.
25075 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25077 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25079 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25081 * conform/run-conformtest.sh: New file.
25082 * conform/Makefile: Run run-conformtest for tests.
25083 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25086 * conform/data/uchar.h-data: New file.
25087 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25088 * conform/data/arpa/inet.h-data: Likewise.
25089 * conform/data/assert.h-data: Likewise.
25090 * conform/data/complex.h-data: Likewise.
25091 * conform/data/cpio.h-data: Likewise.
25092 * conform/data/ctype.h-data: Likewise.
25093 * conform/data/dirent.h-data: Likewise.
25094 * conform/data/dlfcn.h-data: Likewise.
25095 * conform/data/errno.h-data: Likewise.
25096 * conform/data/fcntl.h-data: Likewise.
25097 * conform/data/float.h-data: Likewise.
25098 * conform/data/fmtmsg.h-data: Likewise.
25099 * conform/data/fnmatch.h-data: Likewise.
25100 * conform/data/ftw.h-data: Likewise.
25101 * conform/data/glob.h-data: Likewise.
25102 * conform/data/grp.h-data: Likewise.
25103 * conform/data/iconv.h-data: Likewise.
25104 * conform/data/inttypes.h-data: Likewise.
25105 * conform/data/langinfo.h-data: Likewise.
25106 * conform/data/libgen.h-data: Likewise.
25107 * conform/data/limits.h-data: Likewise.
25108 * conform/data/locale.h-data: Likewise.
25109 * conform/data/math.h-data: Likewise.
25110 * conform/data/monetary.h-data: Likewise.
25111 * conform/data/mqueue.h-data: Likewise.
25112 * conform/data/ndbm.h-data: Likewise.
25113 * conform/data/net/if.h-data: Likewise.
25114 * conform/data/netdb.h-data: Likewise.
25115 * conform/data/netinet/in.h-data: Likewise.
25116 * conform/data/nl_types.h-data: Likewise.
25117 * conform/data/poll.h-data: Likewise.
25118 * conform/data/pthread.h-data: Likewise.
25119 * conform/data/pwd.h-data: Likewise.
25120 * conform/data/regex.h-data: Likewise.
25121 * conform/data/sched.h-data: Likewise.
25122 * conform/data/search.h-data: Likewise.
25123 * conform/data/semaphore.h-data: Likewise.
25124 * conform/data/setjmp.h-data: Likewise.
25125 * conform/data/signal.h-data: Likewise.
25126 * conform/data/spawn.h-data: Likewise.
25127 * conform/data/stdarg.h-data: Likewise.
25128 * conform/data/stdio.h-data: Likewise.
25129 * conform/data/stdlib.h-data: Likewise.
25130 * conform/data/string.h-data: Likewise.
25131 * conform/data/strings.h-data: Likewise.
25132 * conform/data/stropts.h-data: Likewise.
25133 * conform/data/sys/ipc.h-data: Likewise.
25134 * conform/data/sys/mman.h-data: Likewise.
25135 * conform/data/sys/msg.h-data: Likewise.
25136 * conform/data/sys/resource.h-data: Likewise.
25137 * conform/data/sys/select.h-data: Likewise.
25138 * conform/data/sys/sem.h-data: Likewise.
25139 * conform/data/sys/shm.h-data: Likewise.
25140 * conform/data/sys/socket.h-data: Likewise.
25141 * conform/data/sys/stat.h-data: Likewise.
25142 * conform/data/sys/statvfs.h-data: Likewise.
25143 * conform/data/sys/time.h-data: Likewise.
25144 * conform/data/sys/timeb.h-data: Likewise.
25145 * conform/data/sys/times.h-data: Likewise.
25146 * conform/data/sys/types.h-data: Likewise.
25147 * conform/data/sys/uio.h-data: Likewise.
25148 * conform/data/sys/un.h-data: Likewise.
25149 * conform/data/sys/utsname.h-data: Likewise.
25150 * conform/data/sys/wait.h-data: Likewise.
25151 * conform/data/syslog.h-data: Likewise.
25152 * conform/data/tar.h-data: Likewise.
25153 * conform/data/termios.h-data: Likewise.
25154 * conform/data/utime.h-data: Likewise.
25155 * conform/data/utmpx.h-data: Likewise.
25156 * conform/data/varargs.h-data: Likewise.
25157 * conform/data/wchar.h-data: Likewise.
25158 * conform/data/wctype.h-data: Likewise.
25159 * conform/data/wordexp.h-data: Likewise.
25161 * include/stropts.h: New file.
25162 * include/uchar.h: New file.
25163 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25164 * include/assert.h: Likewise.
25165 * include/ctype.h: Likewise.
25166 * include/dirent.h: Likewise.
25167 * include/dlfcn.h: Likewise.
25168 * include/fcntl.h: Likewise.
25169 * include/fnmatch.h: Likewise.
25170 * include/glob.h: Likewise.
25171 * include/grp.h: Likewise.
25172 * include/libio.h: Likewise.
25173 * include/locale.h: Likewise.
25174 * include/math.h: Likewise.
25175 * include/net/if.h: Likewise.
25176 * include/netdb.h: Likewise.
25177 * include/netinet/in.h: Likewise.
25178 * include/pthread.h: Likewise.
25179 * include/pwd.h: Likewise.
25180 * include/regex.h: Likewise.
25181 * include/sched.h: Likewise.
25182 * include/search.h: Likewise.
25183 * include/setjmp.h: Likewise.
25184 * include/signal.h: Likewise.
25185 * include/stdio.h: Likewise.
25186 * include/stdlib.h: Likewise.
25187 * include/string.h: Likewise.
25188 * include/sys/cdefs.h: Likewise.
25189 * include/sys/mman.h: Likewise.
25190 * include/sys/msg.h: Likewise.
25191 * include/sys/resource.h: Likewise.
25192 * include/sys/select.h: Likewise.
25193 * include/sys/socket.h: Likewise.
25194 * include/sys/stat.h: Likewise.
25195 * include/sys/statvfs.h: Likewise.
25196 * include/sys/time.h: Likewise.
25197 * include/sys/times.h: Likewise.
25198 * include/sys/uio.h: Likewise.
25199 * include/sys/utsname.h: Likewise.
25200 * include/sys/wait.h: Likewise.
25201 * include/termios.h: Likewise.
25202 * include/time.h: Likewise.
25203 * include/ulimit.h: Likewise.
25204 * include/unistd.h: Likewise.
25205 * include/utime.h: Likewise.
25206 * include/wchar.h: Likewise.
25207 * include/wctype.h: Likewise.
25208 * include/wordexp.h: Likewise.
25210 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25212 * time/time.h: TIME_UTC must be a macro.
25213 Make timespec_get available for ISO C11 only as well.
25215 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25217 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25218 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25220 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25222 * configure.in: Use -o not -a in test for unsupported multi-arch.
25224 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25226 * manual/texinfo.tex: Update to version 2012-01-19.16.
25228 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25230 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25232 2012-02-24 Roland McGrath <roland@hack.frob.com>
25235 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25236 * manual/fdl-1.3.texi: New file.
25237 * manual/fdl-1.1.texi: File removed.
25240 * manual/libc.texinfo (FDL_VERSION): New @set.
25241 Use it for mention of FDL in cover text.
25242 (Documentation License): Use it in @include file name.
25244 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25245 Roland McGrath <roland@hack.frob.com>
25248 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25249 not LONG_LONG_MAX and LONG_LONG_MIN.
25250 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25251 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25253 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25255 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25259 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25260 manipulate bits before adding and subtracting TWO23[sx].
25261 * math/libm-test.inc (nearbyint_test): Add more tests.
25263 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25266 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25267 bits before adding and subtracting TWO23[sx].
25268 * math/libm-test.inc (rint_test): Add more tests.
25269 (rint_test_tonearest): Likewise.
25270 (rint_test_towardzero): Likewise.
25271 (rint_test_downward): Likewise.
25272 (rint_test_upward: Likewise.
25274 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25277 * include/stdc-predef.h: New file. Extracted from features.h.
25278 * include/features.h: Include stdc-predef.h.
25279 * Makefile (headers): Add stdc-predef.h.
25280 * CONFORMANCE (Compiler limitations): Update.
25282 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25284 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25286 2012-02-21 David S. Miller <davem@davemloft.net>
25288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25291 2012-02-20 David S. Miller <davem@davemloft.net>
25293 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25294 using a normal save/restore sequence, rather than allocating a
25295 dummy stack frame just to store a frame pointer and restore.
25296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25298 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25300 * manual/install.texi: Fix stray word in line-wrapped comment.
25302 2012-02-20 David S. Miller <davem@davemloft.net>
25304 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25305 both binutils and gcc support GOTDATA.
25307 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25308 "rd %pc" in the PIC register setup sequences.
25310 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25311 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25312 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25313 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25314 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25317 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25319 (SYSCALL_ERROR_HANDLER): Likewise.
25320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25321 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25323 (SYSCALL_ERROR_HANDLER): Likewise.
25325 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25326 (HAVE_GCC_GOTDATA): New.
25327 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25328 relocation support in both binutils and gcc.
25329 * sysdeps/sparc/elf/configure: Regenerate.
25331 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25332 * sysdeps/sparc/sparc32/elf/configure: Delete.
25333 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25334 * sysdeps/sparc/sparc64/elf/configure: Delete.
25335 * sysdeps/sparc/elf/configure.in: New file.
25336 * sysdeps/sparc/elf/configure: Generate.
25338 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25339 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25340 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25341 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25342 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25344 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25346 * manual/install.texi: Do not mention specific glibc version
25348 * manual/libc.texinfo (VERSION, UPDATED): Update.
25349 (@copying): Use @copyright{} and range of years.
25351 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25354 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25355 [crti.S not in sysdirs] (generated): Do not append.
25356 [crti.S not in sysdirs] (omit-deps): Likewise.
25357 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25358 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25359 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25360 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25361 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25363 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25364 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25365 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25366 * csu/defs.awk: Remove file.
25367 * sysdeps/generic/initfini.c: Likewise.
25368 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25370 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25373 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25375 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25376 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25379 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25380 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25382 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25383 (__EPOLL_PACKED): Define to empty if not defined by
25385 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25389 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25391 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25392 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25393 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25394 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25396 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25400 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25402 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25409 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25414 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25416 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25417 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25419 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25421 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25424 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25426 * math/w_acos.c: Use non-signaling floating-point comparisons.
25427 * math/w_acosf.c: Likewise.
25428 * math/w_acosh.c: Likewise.
25429 * math/w_acoshf.c: Likewise.
25430 * math/w_acoshl.c: Likewise.
25431 * math/w_acosl.c: Likewise.
25432 * math/w_asin.c: Likewise.
25433 * math/w_asinf.c: Likewise.
25434 * math/w_asinl.c: Likewise.
25435 * math/w_atanh.c: Likewise.
25436 * math/w_atanhf.c: Likewise.
25437 * math/w_atanhl.c: Likewise.
25438 * math/w_exp2.c: Likewise.
25439 * math/w_exp2f.c: Likewise.
25440 * math/w_exp2l.c: Likewise.
25441 * math/w_j0.c: Likewise.
25442 * math/w_j0f.c: Likewise.
25443 * math/w_j0l.c: Likewise.
25444 * math/w_j1.c: Likewise.
25445 * math/w_j1f.c: Likewise.
25446 * math/w_j1l.c: Likewise.
25447 * math/w_jn.c: Likewise.
25448 * math/w_jnf.c: Likewise.
25449 * math/w_log.c: Likewise.
25450 * math/w_log10.c: Likewise.
25451 * math/w_log10f.c: Likewise.
25452 * math/w_log10l.c: Likewise.
25453 * math/w_log2.c: Likewise.
25454 * math/w_log2f.c: Likewise.
25455 * math/w_log2l.c: Likewise.
25456 * math/w_logf.c: Likewise.
25457 * math/w_logl.c: Likewise.
25458 * math/w_sqrt.c: Likewise.
25459 * math/w_sqrtf.c: Likewise.
25460 * math/w_sqrtl.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25463 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25464 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25465 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25467 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25470 * manual/string.texi (strnlen): Use correct parameter name in
25471 equivalent expression.
25473 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25476 * manual/users.texi (seteuid): Consistently use neweuid for
25479 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25482 * manual/nss.texi (Services in the NSS configuration): Correct
25483 list of services in example configuration file.
25485 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25488 * manual/arith.texi: Remove statements about negative zero
25489 behaving identically to zero.
25491 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25494 * manual/install.texi: Do not document upgrading from libc5.
25496 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25499 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25501 2012-02-18 David S. Miller <davem@davemloft.net>
25503 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25504 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25505 %o7 across the call.
25506 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25509 SETUP_PIC_REG_LEAF.
25510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25511 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25512 * sysdeps/sparc/crtn.S: Likewise.
25514 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25516 * aout/Makefile: Remove.
25518 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25521 * manual/examples/argp-ex1.c (main): Format definition in GNU
25523 * manual/examples/argp-ex2.c (main): Likewise.
25524 * manual/examples/argp-ex3.c (main): Likewise.
25525 * manual/examples/argp-ex4.c (main): Likewise.
25526 * manual/examples/longopt.c (main): Use new-style prototype
25528 * manual/examples/strncat.c (main): Specify return type and use
25529 (void) for arguments.
25530 * manual/examples/subopt.c (main): Use char **argv argument.
25532 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25535 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25538 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25541 * manual/string.texi (strchr): Change when strchrnul is
25544 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25547 * manual/locale.texi (setlocale): Document LOCPATH.
25549 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25552 * manual/process.texi (execle): Move @dots{} before last argument.
25554 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25557 * manual/charset.texi (Generic Charset Conversion): Fix typo
25558 (LC_TYPE -> LC_CTYPE).
25560 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25563 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25564 (scalbnf): Likewise.
25565 (scalbnl): Likewise.
25566 (scalbln): Likewise.
25567 (scalblnf): Likewise.
25568 (scalblnl): Likewise.
25569 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25570 (vwarnx): Likewise.
25573 * manual/filesys.texi (telldir): Use braces around return type.
25574 * manual/llio.texi (mmap): Add space after comma.
25575 (mmap64): Likewise.
25576 * manual/math.texi (jn): Use @var{} on parameter names.
25582 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25584 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25586 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25587 (sched_get_priority_max): Likewise.
25588 * manual/signal.texi (sigvec): Add space after comma.
25589 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25591 (if_indextoname): Likewise.
25592 (if_freenameindex): Likewise.
25593 (sendto): Use ',' instead of '.' in prototype.
25594 * manual/startup.texi (syscall): Use @dots{} instead of literal
25596 * manual/stdio.texi (__fpending): Separate initial words of
25597 paragraph from @deftypefun line.
25598 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25600 (vsyslog): Use @var{} on parameter names.
25601 * manual/terminal.texi (stty): Use @var{} on parameter names.
25602 * manual/users.texi (getutmp): Use @var{} on parameter names.
25603 (getutmpx): Likewise.
25605 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25608 * manual/stdio.texi (fopen): Fix typos in description of
25611 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25614 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25615 get clock_id definition.
25617 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25620 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25621 (madvise): Cast every argument to void on its own.
25623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25626 * manual/startup.texi (Exit Status): Fix typo.
25628 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25631 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25632 * manual/examples/argp-ex2.c: Likewise.
25633 * manual/examples/argp-ex3.c: Likewise.
25635 2012-02-16 Richard Henderson <rth@redhat.com>
25637 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25638 * sysdeps/s390/s390-32/initfini.c: Remove.
25639 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25640 * sysdeps/s390/s390-64/initfini.c: Remove.
25642 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25644 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25645 compiler output for sysdeps/generic/initfini.c.
25646 * sysdeps/sh/elf/initfini.c: Remove file.
25648 2012-02-16 David S. Miller <davem@davemloft.net>
25651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25653 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25654 * sysdeps/sparc/crti.S: New file.
25655 * sysdeps/sparc/crtn.S: New file.
25656 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25657 * sysdeps/sparc/sparc64/Makefile: Likewise.
25659 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25662 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25664 2012-02-15 Roland McGrath <roland@hack.frob.com>
25667 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25669 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25670 (write, read, close): Likewise.
25671 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25673 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25676 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25677 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25678 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25680 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25684 2012-02-14 Marek Polacek <polacek@redhat.com>
25686 * sysdeps/x86_64/crti.S: New file.
25687 * sysdeps/x86_64/crtn.S: New file.
25688 * sysdeps/x86_64/elf/initfini.c: Remove file.
25690 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25692 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25693 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25694 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25695 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25697 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25701 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25703 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25704 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25705 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25706 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25708 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25712 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25714 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25715 __feraiseexcept instead of feraiseexcept.
25717 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25718 nanosleep invocations.
25719 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25720 strings, and add error checking for a nanosleep invocations.
25722 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25724 Replace FSF snail mail address with URLs, as per GNU coding standards.
25725 Most of the snail mail addresses were wrong anyway, and omitting
25726 them makes the source code easier to maintain. Almost all of the
25727 changes are to license notices and to locale LC_IDENTIFICATION
25728 addresses, except for this one:
25729 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25730 not its snail mail address.
25732 2012-02-09 Richard Henderson <rth@twiddle.net>
25734 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25735 of kernel-features.h.
25737 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25739 2012-02-08 Marek Polacek <polacek@redhat.com>
25741 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25742 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25743 * sysdeps/gnu/_G_config.h: Likewise.
25744 * sysdeps/generic/_G_config.h: Likewise.
25746 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25748 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25752 * sysdeps/powerpc/powerpc32/crti.S: New file.
25753 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25754 * sysdeps/powerpc/powerpc64/crti.S: New file.
25755 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25757 * Makeconfig (have-initfini): Don't set.
25758 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25759 * configure.in (nopic_initfini): Don't substitute.
25760 * config.h.in (HAVE_INITFINI): Don't #undef.
25761 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25762 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25764 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25766 Support crti.S and crtn.S provided directly by architectures.
25767 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25768 [crti.S in sysdirs] (omit-deps): Likewise.
25769 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25770 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25771 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25772 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25773 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25774 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25775 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25776 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25777 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25778 compiler output for sysdeps/generic/initfini.c.
25779 * sysdeps/i386/elf/Makefile: Remove file.
25780 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25782 2012-02-07 Marek Polacek <polacek@redhat.com>
25784 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25785 * sysdeps/gnu/_G_config.h: Likewise.
25786 * sysdeps/mach/hurd/_G_config.h: Likewise.
25788 2012-02-07 Marek Polacek <polacek@redhat.com>
25790 * math/Makefile (tests): Add tst-CMPLX2.
25791 * math/tst-CMPLX2.c: New file.
25793 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25795 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25797 * math/libm-test.inc (jn_test): Add missing L suffix.
25799 2012-02-06 Marek Polacek <polacek@redhat.com>
25801 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25802 * sysdeps/i386/fpu/e_powf.S: Likewise.
25803 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25804 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25805 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25806 * sysdeps/i386/fpu/e_pow.S: Likewise.
25807 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25808 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25809 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25810 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25811 * sysdeps/i386/fpu/e_log2.S: Likewise.
25812 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25813 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25814 * sysdeps/i386/fpu/e_powl.S: Likewise.
25815 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25817 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25818 * sysdeps/i386/fpu/e_logl.S: Likewise.
25819 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25820 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25821 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25822 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25823 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25825 * sysdeps/i386/fpu/e_log.S: Likewise.
25826 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25827 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25828 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25829 * sysdeps/i386/fpu/e_logf.S: Likewise.
25830 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25832 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25833 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25835 * sysdeps/i386/fpu/e_log10.S: Likewise.
25836 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25838 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25839 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25840 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25841 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25842 * sysdeps/i386/asm-syntax.h: Likewise.
25843 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25844 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25845 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25846 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25847 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25848 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25849 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25850 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25852 * sysdeps/powerpc/sysdep.h: Likewise.
25853 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25854 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25856 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25859 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25861 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25863 * sysdeps/i386/sysdep.h: Include <features.h>.
25864 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25867 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25869 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25871 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25874 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25876 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25877 (SETUP_PIC_REG): Use GET_PC_THUNK.
25878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25881 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25883 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25884 for non-PIC compilation.
25885 (SETUP_PIC_REG): Add .p2align directive.
25886 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25887 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25888 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25889 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25890 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25891 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25892 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25894 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25895 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25896 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25897 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25898 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25899 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25900 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25901 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25902 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25903 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25904 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25905 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25908 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25909 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25913 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25914 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25915 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25916 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25917 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25918 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25919 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25920 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25921 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25923 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25924 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25926 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25928 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25930 * math/tst-CMPLX.c: Include <stdio.h>.
25932 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25934 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25936 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25937 * sysdeps/sparc/bits/mathdef.h: Likewise.
25939 2012-01-31 Marek Polacek <polacek@redhat.com>
25941 * libio/libio.h: Don't define _PARAMS.
25942 * locale/programs/config.h: Don't define PARAMS.
25943 * stdlib/strtol_l.c: Likewise.
25944 (__strtol_l): Remove PARAMS from the prototype.
25946 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25948 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25949 names. Just use the correct names. Remove unnecessary wrapper
25951 * malloc/arena.c: Likewise.
25952 * malloc/hooks.c: Likewise.
25954 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25955 ARENA_TEST says not to. Simplify test for creation of a new arena.
25956 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25958 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25960 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25962 (update_get_addr): New function.
25963 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25964 GET_ADDR_MODULE parameter.
25966 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25968 * crypt/cert.c: Remove __STDC__ conditionals.
25969 * crypt/crypt-entry.c: Likewise.
25970 * crypt/crypt_util.c: Likewise.
25971 * libio/filedoalloc.c: Likewise.
25972 * libio/fileops.c: Likewise.
25973 * libio/genops.c: Likewise.
25974 * libio/iofclose.c: Likewise.
25975 * libio/iofdopen.c: Likewise.
25976 * libio/iofopen.c: Likewise.
25977 * libio/iofopen64.c: Likewise.
25978 * libio/iogetdelim.c: Likewise.
25979 * libio/iopopen.c: Likewise.
25980 * libio/obprintf.c: Likewise.
25981 * libio/oldfileops.c: Likewise.
25982 * libio/oldiofclose.c: Likewise.
25983 * libio/oldiofdopen.c: Likewise.
25984 * libio/oldiofopen.c: Likewise.
25985 * libio/oldiopopen.c: Likewise.
25986 * libio/wfiledoalloc.c: Likewise.
25987 * libio/wgenops.c: Likewise.
25988 * locale/programs/xmalloc.c: Likewise.
25989 * misc/syslog.c: Likewise.
25990 * stdio-common/xbug.c: Likewise.
25991 * string/memchr.c: Likewise.
25992 * string/memcmp.c: Likewise.
25993 * string/memrchr.c: Likewise.
25994 * string/rawmemchr.c: Likewise.
25995 * sysdeps/posix/getcwd.c: Likewise.
25996 * time/strftime_l.c: Likewise.
25998 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26000 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26001 * config.make.in (config-cflags-sse2avx): Define.
26002 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26005 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26007 * scripts/config.guess: Update from upstream config git repository.
26008 * scripts/config.sub: Likewise.
26010 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26012 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26014 (R_TILEPRO_*, R_TILEGX_*): New macros.
26016 * scripts/firstversions.awk: Fix bug in version range handling.
26018 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26020 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26022 * include/sys/epoll.h: New file.
26023 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26026 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26028 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26029 Avoid unnecessary __WORDSIZE == 64 test.
26030 (fmaxf): Use VEX format if possible.
26035 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26036 * math/math_private.h: Remove libc_fegetround* and
26038 * sysdeps/i386/configure.in: Check for -msse2avx.
26039 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26040 also if SSE2AVX is defined.
26041 Remove libc_fegetround* and libc_fesetround*.
26042 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26043 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26044 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26046 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26047 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26048 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26049 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26052 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26054 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26056 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26060 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26063 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26065 * Makeconfig (libm): Define.
26066 * elf/Makefile: Add rules to build and run tst-relsort1.
26067 * elf/tst-relsort1.c: New file.
26068 * elf/tst-relsort1mod1.c: New file.
26069 * elf/tst-relsort1mod2.c: New file.
26071 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26073 * math/s_ldexp.c: Remove __STDC__ conditionals.
26074 * math/s_ldexpf.c: Likewise.
26075 * math/s_ldexpl.c: Likewise.
26076 * math/s_nextafter.c: Likewise.
26077 * math/s_nexttowardf.c: Likewise.
26078 * math/s_significand.c: Likewise.
26079 * math/s_significandf.c: Likewise.
26080 * math/s_significandl.c: Likewise.
26081 * math/w_jnl.c: Likewise.
26082 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26083 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26084 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26085 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26086 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26104 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26105 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26106 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26107 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26108 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26109 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26110 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26111 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26112 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26113 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26116 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26117 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26118 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26122 * sysdeps/ieee754/k_standard.c: Likewise.
26123 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26127 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26130 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26131 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26132 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26136 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26137 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26141 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26144 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26145 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26146 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26147 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26148 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26153 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26154 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26155 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26156 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26163 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26184 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26189 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26197 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26198 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26202 * sysdeps/ieee754/s_matherr.c: Likewise.
26203 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26204 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26208 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26210 * crypt/md5.h: Remove __STDC__ conditionals.
26211 * libio/libioP.h: Likewise.
26212 * locale/programs/config.h: Likewise.
26213 * sysdeps/generic/sysdep.h: Likewise.
26214 * sysdeps/i386/asm-syntax.h: Likewise.
26215 * sysdeps/s390/asm-syntax.h: Likewise.
26216 * sysdeps/unix/sysdep.h: Likewise.
26217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26220 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26222 * libio/libio.h: Remove __STDC__ conditionals.
26223 * malloc/obstack.h: Likewise.
26224 * math/complex.h: Likewise.
26225 * math/math.h: Likewise.
26226 * sysdeps/generic/_G_config.h: Likewise.
26227 * sysdeps/gnu/_G_config.h: Likewise.
26228 * sysdeps/mach/hurd/_G_config.h: Likewise.
26229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26230 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26231 * sysdeps/sparc/bits/mathdef.h: Likewise.
26233 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26236 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26237 Clean up HAS_* macros.
26238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26239 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26249 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26251 * elf/tst-unique3.cc (gets): Remove declaration.
26252 * elf/tst-unique3lib.cc (gets): Likewise.
26253 * elf/tst-unique3lib2.cc (gets): Likewise.
26254 * elf/tst-unique4.cc (gets): Likewise.
26256 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26258 * include/stdio.h: Add C++ protection. Add gets declarations and
26260 * debug/tst-chk1.c: Don't declare gets here.
26261 * stdio-common/tst-gets.c: Likewise.
26263 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26265 * posix/glob: Remove directory.
26267 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26269 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26271 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26273 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26274 of the non-standard EPFNOSUPPORT.
26276 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26278 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26279 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26280 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26282 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26284 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26286 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26288 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26290 * nscd/grpcache.c (cache_addgr): Likewise.
26291 * nscd/hstcache.c (cache_addhst): Likewise.
26292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26293 * nscd/pwdcache.c (cache_addpw): Likewise.
26294 * nscd/servicescache.c (cache_addserv): Likewise.
26296 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26298 * malloc/malloc.c: Various cleanups.
26299 * malloc/hooks.c: Likewise.
26301 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26302 * stdlib/bug-fmtmsg1.c: New file.
26304 * stdlib/fmtmsg.c (init): Add missing unlock.
26305 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26307 2012-01-12 Marek Polacek <polacek@redhat.com>
26309 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26312 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26314 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26315 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26316 macro to ensure uniqueness of label name.
26317 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26318 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26320 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26322 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26324 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26325 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26329 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26331 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26333 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26334 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26337 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26339 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26340 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26344 * math/bits/math-finite.h: Add ldexp support.
26346 2012-01-10 Marek Polacek <polacek@redhat.com>
26348 * locale/programs/localedef.h (show_archive_content): Add noreturn
26351 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26353 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26355 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26357 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26359 * io/Makefile (headers): Add bits/poll2.h.
26361 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26364 typo #include statement.
26366 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26368 * include/sys/cdefs.h: Define __attribute_alloc_size.
26369 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26370 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26371 * elf/pldd.c: Likewise.
26372 * iconv/iconv_charmap.c: Likewise.
26373 * iconv/iconvconfig.c: Likewise.
26374 * iconv/strtab.c: Likewise.
26375 * locale/programs/locale.c: Likewise.
26376 * locale/programs/localedef.h: Likewise.
26377 * locale/programs/simple-hash.c: Likewise.
26378 * nscd/nscd.h: Likewise.
26379 * nss/makedb.c: Likewise.
26380 * sysdeps/generic/ldconfig.h: Likewise.
26381 * locale/programs/localedef.c: Remove xmalloc prototype.
26382 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26384 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26389 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26391 * math/Makefile (tests): Add tst-CMPLX.
26392 * math/tst-CMPLX.c: New file.
26394 * math/complex.h (CMPLXL): Fix typo.
26396 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26397 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26399 * debug/tst-chk1.c: Add poll and ppoll tests.
26400 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26401 * include/sys/poll.h: Add hidden proto for ppoll.
26402 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26403 * sysdeps/mach/hurd/ppoll.c: Likewise.
26404 * io/ppoll.c: Likewise.
26405 * debug/poll_chk.c: New file.
26406 * debug/ppoll_chk.c: New file.
26407 * include/bits/poll2.h: New file.
26408 * io/bits/poll2.h: New file.
26411 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26413 * configure.in: static is always set to yes. Remove.
26414 * config.make.in: Don't set build-static.
26415 * Makeconfig: Remove use of build-static.
26416 * dlfcn/Makefile: Likewise.
26417 * elf/Makefile: Likewise.
26418 * math/Makefile: Likewise.
26419 * misc/Makefile: Likewise.
26420 * nptl/Makefile: Likewise.
26421 * sysdeps/mach/hurd/Makefile: Likewise.
26423 * configure.in: PWD_P is not used anymore.
26424 * config.make.in: Remove PWD_P entry.
26426 * configure.in: Remove last remnants of RANLIB.
26427 No need to check for signed size_t anymore.
26428 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26430 Remove __builtin_expect test because we require at least gcc 3.4.
26431 * aclocal.m4: Likewise.
26433 * wcsmbs/mbrtoc16.c: Implement using towc function.
26434 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26435 * wcsmbs/wcsmbsload.c: Likewise.
26436 * iconv/gconv_simple.c: Likewise.
26437 * iconv/gconv_int.h: Likewise.
26438 * iconv/gconv_builtin.h: Likewise.
26439 * iconv/iconv_prog.c: Remove CHAR16 handling.
26441 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26443 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26445 * configure.in: Remove --with-elf and --enable-bounded options.
26446 Dont set base_machine for ia64. More non-ELF conditions removed.
26447 Remove testing and setting of leading underscore information.
26448 * config.make.in (build-bounded): Set to no.
26449 * config.h.in: Remove NO_UNDERSCORES entry.
26450 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26452 * csu/start.c: Remove !NO_UNDERSCORE code.
26453 * locale/localeinfo.h: Likewise.
26454 * sysdeps/generic/machine-gmon.h: Likewise.
26455 * sysdeps/generic/sysdep.h: Likewise.
26456 * sysdeps/i386/sysdep.h: Likewise.
26457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26458 * sysdeps/mach/sysdep.h: Likewise.
26459 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26461 * sysdeps/sh/sysdep.h: Likewise.
26462 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26463 * sysdeps/unix/i386/sysdep.S: Likewise.
26464 * sysdeps/unix/sparc/start.c: Likewise.
26465 * sysdeps/unix/sparc/sysdep.S: Likewise.
26466 * sysdeps/unix/sparc/sysdep.h: Likewise.
26467 * sysdeps/unix/start.c: Likewise.
26468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26469 * sysdeps/x86_64/sysdep.h: Likewise.
26471 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26474 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26476 * argp/argp-fmtstream.h: Use const instead __const.
26477 * argp/argp.h: Likewise.
26478 * assert/assert.h: Likewise.
26479 * bits/fenv.h: Likewise.
26480 * bits/sched.h: Likewise.
26481 * bits/sigset.h: Likewise.
26482 * bits/sigthread.h: Likewise.
26483 * catgets/nl_types.h: Likewise.
26484 * conform/data/pthread.h-data: Likewise.
26485 * crypt/crypt-private.h: Likewise.
26486 * crypt/crypt.h: Likewise.
26487 * crypt/crypt_util.c: Likewise.
26488 * ctype/ctype.h: Likewise.
26489 * debug/execinfo.h: Likewise.
26490 * debug/mbsnrtowcs_chk.c: Likewise.
26491 * debug/mbsrtowcs_chk.c: Likewise.
26492 * debug/wcsnrtombs_chk.c: Likewise.
26493 * debug/wcsrtombs_chk.c: Likewise.
26494 * debug/wcstombs_chk.c: Likewise.
26495 * dirent/dirent.h: Likewise.
26496 * dlfcn/dlfcn.h: Likewise.
26497 * elf/neededtest4.c: Likewise.
26498 * grp/grp.h: Likewise.
26499 * gshadow/gshadow.h: Likewise.
26500 * iconv/gconv.h: Likewise.
26501 * iconv/gconv_int.h: Likewise.
26502 * iconv/gconv_simple.c: Likewise.
26503 * iconv/iconv.h: Likewise.
26504 * iconv/loop.c: Likewise.
26505 * iconv/skeleton.c: Likewise.
26506 * include/aio.h: Likewise.
26507 * include/aliases.h: Likewise.
26508 * include/argz.h: Likewise.
26509 * include/arpa/inet.h: Likewise.
26510 * include/assert.h: Likewise.
26511 * include/dirent.h: Likewise.
26512 * include/dlfcn.h: Likewise.
26513 * include/execinfo.h: Likewise.
26514 * include/fcntl.h: Likewise.
26515 * include/fenv.h: Likewise.
26516 * include/glob.h: Likewise.
26517 * include/grp.h: Likewise.
26518 * include/libintl.h: Likewise.
26519 * include/mntent.h: Likewise.
26520 * include/netdb.h: Likewise.
26521 * include/pwd.h: Likewise.
26522 * include/rpc/netdb.h: Likewise.
26523 * include/sched.h: Likewise.
26524 * include/search.h: Likewise.
26525 * include/shadow.h: Likewise.
26526 * include/signal.h: Likewise.
26527 * include/stdio.h: Likewise.
26528 * include/stdlib.h: Likewise.
26529 * include/string.h: Likewise.
26530 * include/sys/socket.h: Likewise.
26531 * include/sys/stat.h: Likewise.
26532 * include/sys/statfs.h: Likewise.
26533 * include/sys/statvfs.h: Likewise.
26534 * include/sys/syslog.h: Likewise.
26535 * include/sys/time.h: Likewise.
26536 * include/sys/uio.h: Likewise.
26537 * include/time.h: Likewise.
26538 * include/unistd.h: Likewise.
26539 * include/utmp.h: Likewise.
26540 * include/wchar.h: Likewise.
26541 * include/wctype.h: Likewise.
26542 * inet/aliases.h: Likewise.
26543 * inet/arpa/inet.h: Likewise.
26544 * inet/netinet/ether.h: Likewise.
26545 * inet/netinet/in.h: Likewise.
26546 * intl/libintl.h: Likewise.
26547 * io/bits/fcntl2.h: Likewise.
26548 * io/fcntl.h: Likewise.
26549 * io/ftw.h: Likewise.
26550 * io/sys/poll.h: Likewise.
26551 * io/sys/stat.h: Likewise.
26552 * io/sys/statfs.h: Likewise.
26553 * io/sys/statvfs.h: Likewise.
26554 * io/utime.h: Likewise.
26555 * libio/bits/stdio.h: Likewise.
26556 * libio/bits/stdio2.h: Likewise.
26557 * libio/libio.h: Likewise.
26558 * libio/libioP.h: Likewise.
26559 * libio/stdio.h: Likewise.
26560 * locale/lc-ctype.c: Likewise.
26561 * locale/locale.h: Likewise.
26562 * login/utmp.h: Likewise.
26563 * malloc/arena.c: Likewise.
26564 * malloc/malloc.c: Likewise.
26565 * malloc/malloc.h: Likewise.
26566 * malloc/mcheck.c: Likewise.
26567 * malloc/mtrace.c: Likewise.
26568 * math/bits/mathcalls.h: Likewise.
26569 * math/fenv.h: Likewise.
26570 * math/math_private.h: Likewise.
26571 * misc/bits/error.h: Likewise.
26572 * misc/bits/syslog.h: Likewise.
26573 * misc/err.h: Likewise.
26574 * misc/error.h: Likewise.
26575 * misc/fstab.h: Likewise.
26576 * misc/mntent.h: Likewise.
26577 * misc/regexp.h: Likewise.
26578 * misc/search.h: Likewise.
26579 * misc/sgtty.h: Likewise.
26580 * misc/sys/mman.h: Likewise.
26581 * misc/sys/syslog.h: Likewise.
26582 * misc/sys/uio.h: Likewise.
26583 * misc/sys/xattr.h: Likewise.
26584 * misc/ttyent.h: Likewise.
26585 * nis/rpcsvc/ypclnt.h: Likewise.
26586 * nss/nss.h: Likewise.
26587 * posix/bits/unistd.h: Likewise.
26588 * posix/fnmatch.h: Likewise.
26589 * posix/glob.h: Likewise.
26590 * posix/sched.h: Likewise.
26591 * posix/spawn.h: Likewise.
26592 * posix/sys/wait.h: Likewise.
26593 * posix/unistd.h: Likewise.
26594 * posix/wordexp.h: Likewise.
26595 * pwd/pwd.h: Likewise.
26596 * resolv/netdb.h: Likewise.
26597 * resource/sys/resource.h: Likewise.
26598 * rt/aio.h: Likewise.
26599 * rt/bits/mqueue2.h: Likewise.
26600 * rt/mqueue.h: Likewise.
26601 * shadow/shadow.h: Likewise.
26602 * signal/signal.h: Likewise.
26603 * socket/send.c: Likewise.
26604 * socket/sendto.c: Likewise.
26605 * socket/sys/socket.h: Likewise.
26606 * stdio-common/printf.h: Likewise.
26607 * stdlib/bits/stdlib.h: Likewise.
26608 * stdlib/fmtmsg.h: Likewise.
26609 * stdlib/monetary.h: Likewise.
26610 * stdlib/stdlib.h: Likewise.
26611 * stdlib/ucontext.h: Likewise.
26612 * streams/stropts.h: Likewise.
26613 * string/argz.h: Likewise.
26614 * string/bits/string2.h: Likewise.
26615 * string/string.h: Likewise.
26616 * string/strings.h: Likewise.
26617 * sunrpc/rpc/auth.h: Likewise.
26618 * sunrpc/rpc/auth_des.h: Likewise.
26619 * sunrpc/rpc/clnt.h: Likewise.
26620 * sunrpc/rpc/netdb.h: Likewise.
26621 * sunrpc/rpc/pmap_clnt.h: Likewise.
26622 * sunrpc/rpc/xdr.h: Likewise.
26623 * sysdeps/generic/inttypes.h: Likewise.
26624 * sysdeps/generic/net/if.h: Likewise.
26625 * sysdeps/generic/sys/swap.h: Likewise.
26626 * sysdeps/gnu/net/if.h: Likewise.
26627 * sysdeps/gnu/utmpx.h: Likewise.
26628 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26629 * sysdeps/i386/i486/bits/string.h: Likewise.
26630 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26631 * sysdeps/s390/bits/string.h: Likewise.
26632 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26633 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26634 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26635 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26636 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26637 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26638 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26639 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26640 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26641 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26642 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26643 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26644 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26645 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26646 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26647 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26648 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26650 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26653 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26654 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26655 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26656 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26657 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26658 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26659 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26660 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26661 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26662 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26663 * sysvipc/sys/ipc.h: Likewise.
26664 * sysvipc/sys/msg.h: Likewise.
26665 * sysvipc/sys/sem.h: Likewise.
26666 * sysvipc/sys/shm.h: Likewise.
26667 * termios/termios.h: Likewise.
26668 * time/sys/time.h: Likewise.
26669 * time/time.h: Likewise.
26670 * wcsmbs/bits/wchar2.h: Likewise.
26671 * wcsmbs/uchar.h: Likewise.
26672 * wcsmbs/wchar.h: Likewise.
26673 * wctype/wctype.h: Likewise.
26676 * Makeconfig: Remove all but ELF support including AIX support.
26677 * Makerules: Likewise.
26678 * config.h.in: Likewise.
26679 * config.make.in: Likewise.
26680 * configure: Likewise.
26681 * configure.in: Likewise.
26682 * csu/Makefile: Likewise.
26683 * csu/version.c: Likewise.
26684 * debug/Makefile: Likewise.
26685 * dlfcn/Makefile: Likewise.
26686 * elf/Makefile: Likewise.
26687 * extra-lib.mk: Likewise.
26688 * iconv/Makefile: Likewise.
26689 * include/libc-symbols.h: Likewise.
26690 * include/shlib-compat.h: Likewise.
26691 * resolv/Makefile: Likewise.
26692 * resolv/res_libc.c: Likewise.
26693 * rt/Makefile: Likewise.
26694 * sysdeps/i386/asm-syntax.h: Likewise.
26695 * sysdeps/i386/sysdep.h: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26697 * sysdeps/mach/sysdep.h: Likewise.
26698 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26699 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26700 * sysdeps/s390/asm-syntax.h: Likewise.
26701 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26703 * sysdeps/sh/sysdep.h: Likewise.
26704 * sysdeps/unix/sparc/sysdep.h: Likewise.
26705 * sysdeps/wordsize-32/divdi3.c: Likewise.
26706 * sysdeps/x86_64/sysdep.h: Likewise.
26708 * argp/Versions: Remove _argp_unlock_xxx.
26711 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26712 * abilist/libBrokenLocale.abilist: Likewise.
26713 * abilist/libanl.abilist: Likewise.
26714 * abilist/libc.abilist: Likewise.
26715 * abilist/libcrypt.abilist: Likewise.
26716 * abilist/libdl.abilist: Likewise.
26717 * abilist/libm.abilist: Likewise.
26718 * abilist/libnsl.abilist: Likewise.
26719 * abilist/libpthread.abilist: Likewise.
26720 * abilist/libresolv.abilist: Likewise.
26721 * abilist/librt.abilist: Likewise.
26722 * abilist/libthread_db.abilist: Likewise.
26723 * abilist/libutil.abilist: Likewise.
26724 * abilist/libnss_db.abilist: New file.
26726 * scripts/abilist.awk: Add support for indirect functions.
26728 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26730 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26732 * shlib-versions: Remove entries for ports architectures.
26734 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26736 * elf/stackguard-macros.h: Remove support for IA-64.
26737 * elf/tst-auditmod1.c: Likewise.
26738 * sysdeps/generic/ldsodefs.h: Likewise.
26740 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26741 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26745 * configure.in: Remove --enable-omitfp support.
26747 * config.make.in: Likewise.
26748 * Makeconfig: Likewise.
26749 * manual/install.texi: Likewise.
26751 In case anyone cares, the IA-64 architecture could move to ports.
26752 * sysdeps/ia64/*: Removed.
26753 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26754 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26757 * configure.in: Remove entries for unsupported architectures.
26760 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26761 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26763 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26764 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26765 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26766 fall back to using wcrtomb.
26767 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26768 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26770 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26771 * wcsmbs/tst-c16c32-1.c: New file.
26773 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26776 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26778 * elf/tst-unique3.cc: Add explicit declaration of gets.
26779 * elf/tst-unique3lib.cc: Likewise.
26780 * elf/tst-unique3lib2.cc: Likewise.
26781 * elf/tst-unique4.cc: Likewise.
26783 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26785 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26788 * assert/assert.h (static_assert): Don't define for C++.
26789 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26790 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26792 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26794 * iconv/loop.c (single loop): Fix assertion in storing of
26797 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26799 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26801 * posix/getconf.c: Update copyright year.
26802 * nss/getent.c: Likewise.
26803 * nss/makedb.c: Likewise.
26804 * iconv/iconvconfig.c: Likewise.
26805 * iconv/iconv_prog.c: Likewise.
26806 * elf/ldconfig.c: Likewise.
26807 * elf/pldd.c: Likewise.
26808 * elf/sotruss.ksh: Likewise.
26809 * catgets/gencat.c: Likewise.
26810 * csu/version.c: Likewise.
26811 * elf/ldd.bash.in: Likewise.
26812 * elf/sprof.c (print_version): Likewise.
26813 * locale/programs/locale.c: Likewise.
26814 * locale/programs/localedef.c: Likewise.
26815 * login/programs/pt_chown.c: Likewise.
26816 * nscd/nscd.c (print_version): Likewise.
26817 * debug/xtrace.sh: Likewise.
26818 * malloc/memusage.sh: Likewise.
26819 * malloc/mtrace.pl: Likewise.
26820 * debug/catchsegv.sh: Likewise.
26822 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26824 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26827 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26830 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26831 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26833 * iconv/gconv_int.h: Likewise.
26834 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26835 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26836 from libc for GLIBC_2.16.
26837 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26838 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26839 * wcsmbs/uchar.h: Really define mbstate_t.
26840 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26841 * wcsmbs/c16rtomb.c: New file.
26842 * wcsmbs/mbrtoc16.c: New file.
26843 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26844 for C/POSIX locale.
26845 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26846 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26848 * wcsmbs/wchar.h: Add missing __restrict.
26850 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26853 * time/Makefile (routines): Add timespec_get.
26854 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26855 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26856 timespec for ISO C11.
26857 * time/timespec_get.c: New file.
26858 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26859 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26862 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26863 * stdlib/stdlib.h: Declare aligned_alloc.
26864 * Versions.def: Add GLIBC_2.16 for libc.
26865 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26868 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26871 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26875 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26878 * assert/assert.h (static_assert): Define.
26880 * version.h: Update for 2.16 development version.
26883 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26886 * version.h (RELEASE): Bump for 2.15 release.
26887 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26889 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26890 Patch by Marek Polacek <mpolacek@redhat.com>.
26892 * bits/byteswap.h: Protect long long constants with __extension__.
26893 * sysdeps/i386/bits/byteswap.h: Likewise.
26894 * sysdeps/ia64/bits/byteswap.h: Likewise.
26895 * sysdeps/s390/bits/byteswap.h: Likewise.
26896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26898 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26902 destination buffer.
26903 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26905 2011-12-23 Marek Polacek <polacek@redhat.com>
26907 * elf/dl-addr.c (determine_info): Add inline keyword.
26908 * elf/tst-auditmod4b.c (check_avx): Likewise.
26909 * elf/tst-auditmod6b.c (check_avx): Likewise.
26910 * elf/tst-auditmod6c.c (check_avx): Likewise.
26911 * elf/tst-auditmod7b.c (check_avx): Likewise.
26913 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26918 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26921 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26922 processing for last bytes.
26924 2011-08-06 Bruno Haible <bruno@clisp.org>
26927 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26928 U+0385, not to U+1FEE.
26931 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26932 entry for U+00A5 U+0301.
26934 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26937 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26938 buffer for the output is too small.
26940 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26944 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26945 SSE flags if possible.
26947 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26951 processing for last bytes.
26953 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26955 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26956 (syscall-list-default-options, syscall-list-default-condition)
26957 (syscall-list-includes): Define.
26958 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26959 list of ABIs and options and #if conditions for each ABI. Do not
26960 handle common syscalls between ABIs specially.
26961 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26963 (syscall-list-variants, syscall-list-32bit-options)
26964 (syscall-list-32bit-condition, syscall-list-64bit-options)
26965 (syscall-list-64bit-condition): Define.
26966 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26967 (syscall-list-variants, syscall-list-32bit-options)
26968 (syscall-list-32bit-condition, syscall-list-64bit-options)
26969 (syscall-list-64bit-condition): Define.
26970 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26972 (syscall-list-variants, syscall-list-32bit-options)
26973 (syscall-list-32bit-condition, syscall-list-64bit-options)
26974 (syscall-list-64bit-condition): Define.
26975 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26977 (syscall-list-variants, syscall-list-32bit-options)
26978 (syscall-list-32bit-condition, syscall-list-64bit-options)
26979 (syscall-list-64bit-condition): Define.
26981 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26983 * locale/iso-639.def: Add brx entry.
26986 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26987 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26989 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26990 __feraiseexcept_renamed.
26992 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26995 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26996 EPOLLET with unsigned values.
26997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27000 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27001 to large cancellation.
27002 * math/s_cacoshf.c: Likewise.
27003 * math/s_cacoshl.c: Likewise.
27005 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27009 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27010 * math/s_cacoshf.c: Likewise.
27011 * math/s_cacoshl.c: Likewise.
27013 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27016 * iconv/gconv.h: Define __GCONV_SWAP.
27017 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27018 * iconvdata/utf-16.c: Likewise.
27019 * iconvdata/utf-32.c: Likewise.
27021 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27025 numerator after shifting it by one limb.
27027 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27029 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27030 under [__USE_EXTERN_INLINES].
27032 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27035 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27037 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27039 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27040 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27042 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27043 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27044 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27045 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27046 for strncasecmp/strncasecmp_l compilation.
27047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27048 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27050 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27053 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27056 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27059 * time/tzfile.c (__tzfile_read): Check values from file header.
27061 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27063 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27064 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27065 * powerpc/powerpc32/dl-start.S: Likewise.
27066 * powerpc/powerpc32/elf/start.S: Likewise.
27067 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27068 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27069 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27070 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27071 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27072 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27073 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27074 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27075 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27076 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27077 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27078 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27079 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27080 * powerpc/powerpc32/memset.S: Likewise.
27081 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27082 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27083 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27084 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27085 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27086 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27087 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27088 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27089 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27090 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27091 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27092 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27093 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27095 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27097 * math/libm-test.inc: Added more nearbyint tests.
27098 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27103 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27105 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27108 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27110 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27111 Add wcscpy-ssse3 wcscpy-c.
27112 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27113 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27114 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27115 * sysdeps/x86_64/wcschr.S: New file.
27116 * sysdeps/x86_64/wcsrchr.S: New file.
27117 * string/test-strcmp.c: Remove checking of wcscmp function for
27119 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27120 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27121 wcsrchr-sse2 wcsrchr-c.
27122 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27123 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27124 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27125 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27126 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27127 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27128 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27129 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27130 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27131 * wcsmbc/wcschr.c (WCSCHR): New macro.
27133 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27135 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27136 * wcsmbs/test-wcsrchr.c: New file.
27137 * string/test-strrchr.c: Add wcsrchr support.
27139 * wcsmbs/test-wcscpy.c: New file.
27140 * string/test-strcpy.c: Add wcscpy support.
27143 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27148 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27151 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27153 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27156 Minor optimizations.
27158 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27159 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27160 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27162 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27164 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27165 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27166 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27167 for gcc to avoid warnings.
27168 * inet/Makefile (tests): Add tst-checks.
27169 * inet/tst-checks.c: New file.
27171 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27174 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27177 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27178 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27180 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27182 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27184 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27187 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27189 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27191 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27192 conditional on GCC version.
27193 (__arch_compare_and_exchange_val_8_acq)
27194 (__arch_compare_and_exchange_val_16_acq)
27195 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27196 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27197 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27199 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27201 * sysdeps/sh/backtrace.c: New file.
27203 2011-12-02 Andreas Schwab <schwab@redhat.com>
27205 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27208 2011-12-01 Andreas Schwab <schwab@redhat.com>
27210 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27211 falling back to utime.
27213 2011-11-30 Andreas Schwab <schwab@redhat.com>
27215 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27216 expectations for float.
27218 2011-11-29 Andreas Schwab <schwab@redhat.com>
27220 * locale/weight.h (findidx): Add parameter len.
27221 * locale/weightwc.h (findidx): Likewise.
27222 * posix/fnmatch_loop.c (FCT): Adjust caller.
27223 * posix/regcomp.c (build_equiv_class): Likewise.
27224 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27225 * posix/regexec.c (check_node_accept_bytes): Likewise.
27226 * string/strcoll_l.c (STRCOLL): Likewise.
27227 * string/strxfrm_l.c (STRXFRM): Likewise.
27229 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27231 * Makefile.in: Remove CVSOPT handling.
27232 * configure.in: Remove use of AC_REVISION.
27233 * iconvdata/Makefile (distribute): No need to filter out CVS.
27234 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27237 2011-11-16 Andreas Schwab <schwab@redhat.com>
27239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27240 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27241 [USE_AS_STRNCASECMP_L]: Likewise.
27242 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27243 NO_TLS_DIRECT_SEG_REFS.
27244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27245 Fix argument offsets for non-PIC.
27246 [USE_AS_STRNCASECMP_L]: Likewise.
27247 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27248 NO_TLS_DIRECT_SEG_REFS.
27250 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27252 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27254 * locale/loadlocale.c (_nl_load_locale): Likewise.
27256 2011-11-15 Andreas Schwab <schwab@redhat.com>
27258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27259 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27260 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27261 (SYSCALL_GETTIME): Set errno on error.
27263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27264 count references to noai6ai_cached.
27266 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27268 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27270 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27271 FD_CLOEXEC for /proc/self/maps.
27273 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27274 FD_CLOEXEC for /proc/meminfo.
27276 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27279 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27280 FD_CLOEXEC for given file.
27282 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27284 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27285 FD_CLOEXEC for /etc/hosts.
27286 (_gethtent): Likewise.
27288 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27290 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27291 cancellation and set FD_CLOEXEC for /etc/netgroup.
27293 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27294 reading /etc/publickey.
27296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27297 allow cancellation when reading /etc/group.
27299 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27301 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27303 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27304 when using data file.
27306 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27308 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27309 (write_nis_obj): Use "c" and "e" in fopen.
27311 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27313 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27315 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27317 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27319 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27322 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27324 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27326 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27328 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27329 file parsing and set FD_CLOEXEC.
27331 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27333 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27335 2011-11-14 Andreas Schwab <schwab@redhat.com>
27337 * malloc/arena.c (arena_get2): Don't call reused_arena when
27338 _int_new_arena failed.
27340 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27342 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27343 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27346 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27348 to compile strcasecmp and strncasecmp.
27349 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27350 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27352 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27354 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27356 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27357 locale-defines.sym to gen-as-const-headers.
27358 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27359 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27361 to compile strcasecmp and strncasecmp.
27362 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27363 strcasecmp_l and strncasecmp_l.
27364 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27365 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27366 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27367 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27368 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27369 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27370 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27371 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27372 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27373 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27374 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27376 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27378 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27379 result of SYSDEP_GETTIME_CPU to retval.
27380 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27381 parameter list to macro. Remove trailing semicolon. Adjust users.
27383 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27386 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27388 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27390 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27391 from unused variable.
27393 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27395 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27398 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27401 * sunrpc/rpc_prot.c (rejected): Fix case value.
27403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27404 unsigned long long int to avoid warnings in shift.
27406 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27408 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27411 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27412 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27415 * nis/nis_table.c (nis_list): Use variable of correct type for
27416 result of __follow_path call.
27418 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27420 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27421 of math functions ceil, trunc, floor, round, and sqrt, when
27422 avaliable on the platform.
27423 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27425 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27426 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27427 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27429 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27431 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27434 2011-11-11 Roland McGrath <roland@hack.frob.com>
27436 * include/unistd.h: Fix __readlink return type.
27437 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27439 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27441 * stdlib/ucontext.h: Undo last change for makecontext.
27443 2011-11-11 Andreas Schwab <schwab@redhat.com>
27445 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27447 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27448 * setjmp/setjmp.h: Mark functions as non-leaf.
27449 * setjmp/bits/setjmp2.h: Likewise.
27450 * stdlib/ucontext.h: Likewise.
27452 2011-11-10 Andreas Schwab <schwab@redhat.com>
27454 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27455 (reused_arena): Don't check arena limit.
27456 (arena_get2): Atomically check arena limit.
27458 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27460 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27461 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27466 2011-11-07 Andreas Schwab <schwab@redhat.com>
27468 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27469 handler when locking.
27471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27472 Fix size of allocated buffer.
27474 2011-11-04 Andreas Schwab <schwab@redhat.com>
27477 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27478 declarations for long double functions.
27479 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27481 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27483 2011-11-03 Andreas Schwab <schwab@redhat.com>
27485 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27488 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27491 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27493 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27495 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27497 * include/alloca.h (stackinfo_alloca_round): Define.
27498 (extend_alloca): Use it.
27499 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27500 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27503 * scripts/check-local-headers.sh: Ignore libaudit.h.
27505 * nscd/Makefile (extra-objs): Make recursively expanded.
27507 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27509 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27512 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27513 * posix/tst-rfc3484-2.c: Likewise.
27514 * posix/tst-rfc3484-3.c: Likewise.
27516 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27518 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27520 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27521 process_vm_writev from libc using GLIBC_2.15 version.
27523 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27525 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27527 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27530 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27533 * nss/getent.c (initgroups_keys): Show error message in case no group
27536 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27537 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27538 __bump_nl_timestamp.
27539 * nscd/connections (nscd_init): When host database is served open
27540 netlink socket and request notification about configuration changes.
27541 (main_loop_poll): Track netlink file descriptor and bump timestamp
27542 in case data becomes available.
27543 (main_loop_epoll): Likewise.
27544 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27545 (database_pers_head): Add extra_data fileds.
27546 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27547 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27548 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27551 in6ai data, call __free_in6ai.
27552 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27553 Add -DHAVE_NETLINK.
27554 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27555 interface information. Reuse previous data if netlink timestamp
27557 (__bump_nl_timestamp): New function.
27558 (__free_in6ai): New function.
27560 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27563 close_not_cancel_no_status here.
27564 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27566 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27569 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27572 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27573 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27574 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27576 2011-07-03 Andreas Jaeger <aj@suse.de>
27579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27580 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27581 * math/libm-test.inc (sin_test): Add test case.
27583 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27586 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27587 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27589 * elf/chroot_canon.c (chroot_canon): Cleanups.
27591 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27594 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27595 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27597 * string/test-strchr.c: Make usable for strchrnul testing.
27598 * string/test-strchrnul.c: New file.
27599 * string/Makefile (strop-tests): Add strchrnul.
27601 * po/it.po: Update from translation team.
27602 * po/es.po: Likewise.
27604 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27607 the three constants needed as parameters. Drop the others.
27608 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27609 __m128i_strloadu_tolower.
27610 Create and initialize variable zero and use it in all the places
27611 where _mm_setzero_si128 was used.
27613 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27614 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27615 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27618 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27619 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27620 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27621 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27622 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27623 __mpranred, __mptan.
27624 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27625 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27626 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27627 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27628 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27629 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27630 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27631 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27632 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27634 2011-10-28 Andreas Schwab <schwab@redhat.com>
27636 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27637 redefine if SHARED.
27638 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27641 wide char related routines to wcsmbs subdir.
27643 2011-10-27 Andreas Schwab <schwab@redhat.com>
27646 * misc/sys/cdefs.h (__THROWNL): Define.
27647 * posix/unistd.h: Use __THREADNL instead of __THREAD
27648 for memory synchronization functions.
27650 2011-10-26 Roland McGrath <roland@hack.frob.com>
27653 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27655 * manual/stdio.texi (Obstack Streams): Node removed.
27657 2011-10-26 Andreas Schwab <schwab@redhat.com>
27659 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27660 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27661 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27663 * math/math_private.h (math_force_eval): Allow non-addressable
27665 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27667 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27670 file is not needed.
27672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27674 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27675 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27678 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27679 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27681 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27682 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27683 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27684 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27685 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27686 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27687 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27688 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27689 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27690 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27691 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27692 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27694 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27695 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27696 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27697 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27698 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27699 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27701 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27702 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27705 place. Use VEX encoding when compiling for AVX.
27707 2011-10-25 Andreas Schwab <schwab@redhat.com>
27709 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27710 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27712 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27714 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27716 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27717 useless if() expression.
27718 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27719 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27723 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27727 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27729 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27730 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27732 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27734 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27736 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27738 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27740 2011-10-25 Andreas Schwab <schwab@redhat.com>
27742 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27746 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27748 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27749 .text section. Avoid duplicate constants.
27750 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27760 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27762 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27767 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27774 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27779 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27781 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27782 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27783 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27784 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27785 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27786 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27788 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27789 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27796 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27798 * sysdeps/x86_64/dla.h: Move to ...
27799 * sysdeps/x86_64/fpu/dla.h: ...here.
27800 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27801 situations. Use __builtin_fma only for gcc 4.6 and up.
27803 * config.make.in: Add have-mfma4 entry.
27804 * configure.in: Substitute libc_cv_cc_fma4.
27805 * math/Makefile (dbl-only-routines): Add sincostab.
27806 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27807 Use __sincostab not sincos.
27808 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27815 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27816 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27817 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27818 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27820 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27821 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27823 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27824 define aliases when function name is a macro.
27825 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27826 sysdeps/ieee754/dbl-64/sincos.tbl.
27827 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27828 fma4-enabled routines.
27829 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27830 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27831 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27832 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27833 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27834 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27837 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27839 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27841 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27842 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27844 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27845 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27846 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27847 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27849 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27850 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27852 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27853 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27854 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27856 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27857 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27858 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27860 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27871 2011-10-24 Andreas Schwab <schwab@redhat.com>
27873 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27875 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27877 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27879 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27881 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27883 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27884 Remove unused variable magic_bits.
27885 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27887 * string/strnlen.c: Define and use STRNLEN macro.
27888 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27889 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27891 * wcsmbs/wcslen.c: Define and use WCSLEN.
27892 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27893 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27894 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27895 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27896 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27897 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27898 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27900 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27903 strnlen-sse2-no-bsf.
27904 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27905 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27906 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27907 Add strnlen support.
27908 (USE_AS_STRNLEN): New macro.
27909 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27910 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27911 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27912 * sysdeps/x86_64/wcslen.S: New file.
27914 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27917 XMM-moves are used for copying on small sizes.
27919 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27921 * wcsmbs/Makefile (strop-tests): Add wcschr.
27922 * wcsmbs/test-wcschr.c: New file.
27923 * string/test-strchr.c: Update.
27924 Add wcschr support.
27927 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27929 * wcsmbs/Makefile (strop-tests): Add wcslen.
27930 * wcsmbs/test-wcslen.c: New file.
27931 * string/test-strlen.c: Update.
27932 Add wcslen support.
27935 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27937 * po/it.po: Update from translation team.
27939 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27941 * sysdeps/x86_64/wcscmp.S: Update.
27942 Fix wrong comparison semantics.
27943 wcscmp shall use signed comparison not unsigned.
27944 Don't use substraction to avoid overflow bug.
27945 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27946 * wcsmbc/wcscmp.c: Likewise.
27947 * string/test-strcmp.c: Likewise.
27948 Add new tests to check cases with negative values.
27950 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27952 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27953 * sysdeps/x86_64/dla.h: ...here. New file.
27954 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27964 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27967 __ynl_finite aliases.
27969 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27973 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27975 [DLA_FMA] (EMULV): Use DLA_FMA.
27976 [DLA_FMA] (MUL12): Use EMULV.
27977 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27978 that are not needed.
27979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27987 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27989 * math/s_nan.c: Undef __nan.
27990 * math/s_nanf.c: Undef __nanf.
27991 * math/s_nanl.c: Undef __nanl.
27992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27995 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27997 * math/s_catan.c: Add branch predictions.
27998 * math/s_catanf.c: Likewise.
27999 * math/s_catanh.c: Likewise.
28000 * math/s_catanhf.c: Likewise.
28001 * math/s_catanhl.c: Likewise.
28002 * math/s_catanl.c: Likewise.
28003 * math/s_cexp.c: Likewise.
28004 * math/s_cexpf.c: Likewise.
28005 * math/s_cexpl.c: Likewise.
28006 * math/s_clog.c: Likewise.
28007 * math/s_clog10.c: Likewise.
28008 * math/s_clog10f.c: Likewise.
28009 * math/s_clog10l.c: Likewise.
28010 * math/s_clogf.c: Likewise.
28011 * math/s_clogl.c: Likewise.
28012 * math/s_csqrt.c: Likewise.
28013 * math/s_csqrtf.c: Likewise.
28014 * math/s_csqrtl.c: Likewise.
28015 * math/s_ctanf.c: Likewise.
28016 * math/s_ctanh.c: Likewise.
28017 * math/s_ctanhf.c: Likewise.
28018 * math/s_ctanhl.c: Likewise.
28019 * math/s_ctanl.c: Likewise.
28021 * math/math_private.h: Define __nan, __nanf, __nanl.
28022 * math/s_cacosh.c: Include <math_private.h>.
28023 * math/s_cacoshl.c: Likewise.
28024 * math/s_casinh.c: Likewise.
28025 * math/s_casinhf.c: Likewise.
28026 * math/s_casinhl.c: Likewise.
28027 * math/s_ccos.c: Rely entire on ccosh.
28028 * math/s_ccosf.c: Rely entire on ccoshf.
28029 * math/s_ccosl.c: Rely entirely on ccoshl.
28030 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28031 Remove tests for FE_INVALID.
28032 * math/s_ccoshf.c: Likewise.
28033 * math/s_ccoshl.c: Likewise.
28034 * math/s_csin.c: Likewise.
28035 * math/s_csinf.c: Likewise.
28036 * math/s_csinh.c Likewise.
28037 * math/s_csinhf.c: Likewise.
28038 * math/s_csinhl.c: Likewise.
28039 * math/s_csinl.c: Likewise.
28040 * math/s_ctan.c: Likewise.
28041 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28042 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28043 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28045 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28048 compilation problems.
28050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28053 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28055 * sysdeps/i386/configure.in: Test for -mfma4 option.
28056 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28057 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28058 COMMON_CPUID_INDEX_80000001.
28059 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28060 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28061 use it if FMA3 is not supported.
28062 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28064 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28065 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28067 2011-10-20 Andreas Schwab <schwab@redhat.com>
28070 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28071 it would create a cycle with a link time dependency.
28073 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28075 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28077 * string/Makefile (strop-tests): Add rawmemchr.
28078 * string/test-rawmemchr.c: New file.
28080 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28081 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28082 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28083 when compiling str{,n}casecmp and when AVX is available. Hook up
28084 new optimized code in initializers.
28086 2011-10-19 Andreas Schwab <schwab@redhat.com>
28088 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28089 __feraiseexcept instead of feraiseexcept.
28091 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28093 * math/math_private.h: Define defaults for libc_fetestexcept and
28095 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28096 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28097 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28098 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28099 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28100 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28101 libc_fetestexcept and libc_feupdateenv.
28103 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28104 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28105 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28106 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28107 libc_feholdexcept_setround.
28109 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28110 Add s_nearbyint-c and s_nearbyintf-c.
28111 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28112 nearbyintf inlines.
28113 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28114 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28115 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28116 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28118 * math/math_private.h: Define defaults for libc_fegetround,
28119 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28120 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28121 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28123 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28124 standard functions.
28125 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28126 Remove comments and hacks for old compiler versions.
28127 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28128 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28129 libc_feholdexceptl.
28131 2011-10-18 Andreas Schwab <schwab@redhat.com>
28133 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28134 (__feraiseexcept_renamed): Add __NTH.
28135 (feraiseexcept): Add __NTH. Rename local variables to fix
28136 namespace violations.
28138 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28140 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28142 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28144 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28145 recently added interfaces.
28146 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28148 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28149 about macro parameter expansion.
28151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28152 __NO_MATH_INLINES is defined. Cleanups.
28154 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28155 and __floorf is target has SSE4.1.
28156 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28157 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28158 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28159 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28161 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28163 (floorf): Likewise.
28165 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28167 2011-10-17 Andreas Schwab <schwab@redhat.com>
28169 * misc/sys/cdefs.h: Fix last change.
28171 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28174 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28176 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28178 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28185 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28186 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28187 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28188 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28189 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28190 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28191 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28193 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28194 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28195 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28196 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28197 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28198 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28199 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28201 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28202 ceil, ceilf, floor, floorf.
28204 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28205 Perform IRELATIVE relocations last.
28207 * elf/do-rel.h: Add another parameter nrelative, replacing the
28208 local variable with the same name. Change name of the function
28209 to end in Rel or Rela (uppercase).
28210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28211 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28212 elf_dynamic_do_##reloc function.
28214 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28216 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28217 is sufficient, at least on modern CPUs.
28219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28221 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28222 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28224 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28226 * math/bits/math-finite.h: Add entries for exp.
28227 * math/e_expl.c: Add __*_finite alias.
28228 * sysdeps/i386/fpu/e_exp.S: Likewise.
28229 * sysdeps/i386/fpu/e_expf.S: Likewise.
28230 * sysdeps/i386/fpu/e_expl.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28232 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28236 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28237 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28239 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28240 is sufficient, at least on modern CPUs.
28242 * ctype/ctype-info.c (__ctype_init): Define.
28243 * include/ctype.h (__ctype_init): Declare.
28244 (__ctype_b_loc): The variable is always initialized.
28245 (__ctype_toupper_loc): Likewise.
28246 (__ctype_tolower_loc): Likewise.
28247 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28248 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28250 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28252 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28254 * configure.in: Also look in $cxxmachine/include for C++ system
28257 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28259 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28260 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28261 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28262 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28264 (USE_AS_WMEMCMP): New macro.
28266 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28267 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28268 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28269 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28271 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28272 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28273 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28274 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28275 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28277 (USE_AS_WMEMCMP): New macro.
28278 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28279 * sysdeps/string/test-memcmp.c: Update.
28280 Fix simple_wmemcmp.
28282 * wcsmbs/wmemcmp.c: Update.
28283 (WMEMCMP): New macro.
28286 2011-10-12 Andreas Jaeger <aj@suse.de>
28289 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28291 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28293 * libio/iofwide.c (do_length): Avoid warning.
28295 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28297 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28299 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28301 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28302 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28303 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28304 * sysdeps/i386/i686/fpu/e_log.S: New file.
28305 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28306 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28308 * ctype/ctype.h: Add support for inlined isXXX functions when
28309 compiling C++ code.
28311 2011-10-14 Andreas Schwab <schwab@redhat.com>
28313 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28315 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28317 2011-10-13 Roland McGrath <roland@hack.frob.com>
28320 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28322 2011-10-13 Andreas Schwab <schwab@redhat.com>
28324 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28325 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28328 * sysdeps/x86_64/memrchr.S: Check for zero size.
28330 * string/stratcliff.c: Add memrchr tests.
28332 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28335 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28336 rawmemchr-sse2 rawmemchr-sse2-bsf.
28337 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28338 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28339 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28340 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28341 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28342 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28343 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28344 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28345 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28346 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28347 * string/memrchr.c (MEMRCHR): New macro.
28349 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28351 Add integration with gcc's -ffinite-math-only and optimize wrapper
28353 * Versions.def: Define GLIBC_2.15 version for libm.
28354 * math/Makefile (headers): Add bits/math-finite.h.
28355 * math/bits/math-finite.h: New file.
28356 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28357 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28358 * math/e_acoshl.c: Add __*_finite alias.
28359 * math/e_acosl.c: Likewise.
28360 * math/e_asinl.c: Likewise.
28361 * math/e_atan2l.c: Likewise.
28362 * math/e_atanhl.c: Likewise.
28363 * math/e_coshl.c: Likewise.
28364 * math/e_exp10.c: Likewise.
28365 * math/e_exp10f.c: Likewise.
28366 * math/e_exp10l.c: Likewise.
28367 * math/e_exp2l.c: Likewise.
28368 * math/e_fmodl.c: Likewise.
28369 * math/e_gammal_r.c: Likewise.
28370 * math/e_hypotl.c: Likewise.
28371 * math/e_j0l.c: Likewise.
28372 * math/e_j1l.c: Likewise.
28373 * math/e_jnl.c: Likewise.
28374 * math/e_lgammal_r.c: Likewise.
28375 * math/e_log10l.c: Likewise.
28376 * math/e_log2l.c: Likewise.
28377 * math/e_logl.c: Likewise.
28378 * math/e_powl.c: Likewise.
28379 * math/e_sinhl.c: Likewise.
28380 * math/e_sqrtl.c: Likewise.
28381 * math/e_scalb.c: Completely rewritten and optimized.
28382 * math/e_scalbf.c: Likewise.
28383 * math/e_scalbl.c: Likewise.
28384 * math/w_acos.c: Likewise.
28385 * math/w_acosf.c: Likewise.
28386 * math/w_acosl.c: Likewise.
28387 * math/w_acosh.c: Likewise.
28388 * math/w_acoshf.c: Likewise.
28389 * math/w_acoshl.c: Likewise.
28390 * math/w_asin.c: Likewise.
28391 * math/w_asinf.c: Likewise.
28392 * math/w_asinl.c: Likewise.
28393 * math/w_atan2.c: Likewise.
28394 * math/w_atan2f.c: Likewise.
28395 * math/w_atan2l.c: Likewise.
28396 * math/w_atanh.c: Likewise.
28397 * math/w_atanhf.c: Likewise.
28398 * math/w_atanhl.c: Likewise.
28399 * math/w_exp10.c: Likewise.
28400 * math/w_exp10f.c: Likewise.
28401 * math/w_exp10l.c: Likewise.
28402 * math/w_fmod.c: Likewise.
28403 * math/w_fmodf.c: Likewise.
28404 * math/w_fmodl.c: Likewise.
28405 * math/w_j0.c: Likewise.
28406 * math/w_j0f.c: Likewise.
28407 * math/w_j0l.c: Likewise.
28408 * math/w_j1.c: Likewise.
28409 * math/w_j1f.c: Likewise.
28410 * math/w_j1l.c: Likewise.
28411 * math/w_jn.c: Likewise.
28412 * math/w_jnf.c: Likewise.
28413 * math/w_log.c: Likewise.
28414 * math/w_logf.c: Likewise.
28415 * math/w_logl.c: Likewise.
28416 * math/w_log10.c: Likewise.
28417 * math/w_log10f.c: Likewise.
28418 * math/w_log10l.c: Likewise.
28419 * math/w_log2.c: Likewise.
28420 * math/w_log2f.c: Likewise.
28421 * math/w_log2l.c: Likewise.
28422 * math/w_pow.c: Likewise.
28423 * math/w_powf.c: Likewise.
28424 * math/w_powl.c: Likewise.
28425 * math/w_remainder.c: Likewise.
28426 * math/w_remainderf.c: Likewise.
28427 * math/w_remainderl.c: Likewise.
28428 * math/w_scalb.c: Likewise.
28429 * math/w_scalbf.c: Likewise.
28430 * math/w_scalbl.c: Likewise.
28431 * math/w_sqrt.c: Likewise.
28432 * math/w_sqrtf.c: Likewise.
28433 * math/w_sqrtl.c: Likewise.
28434 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28435 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28437 * math/math_private.h: Declare __kernel_standard_f.
28438 * math/w_cosh.c: Remove cruft and optimize a bit.
28439 * math/w_coshf.c: Likewise.
28440 * math/w_coshl.c: Likewise.
28441 * math/w_exp2.c: Likewise.
28442 * math/w_exp2f.c: Likewise.
28443 * math/w_exp2l.c: Likewise.
28444 * math/w_hypot.c: Likewise.
28445 * math/w_hypotf.c: Likewise.
28446 * math/w_hypotl.c: Likewise.
28447 * math/w_lgamma.c: Likewise.
28448 * math/w_lgamma_r.c: Likewise.
28449 * math/w_lgammaf.c: Likewise.
28450 * math/w_lgammaf_r.c: Likewise.
28451 * math/w_lgammal.c: Likewise.
28452 * math/w_lgammal_r.c: Likewise.
28453 * math/w_sinh.c: Likewise.
28454 * math/w_sinhf.c: Likewise.
28455 * math/w_sinhl.c: Likewise.
28456 * math/w_tgamma.c: Likewise.
28457 * math/w_tgammaf.c: Likewise.
28458 * math/w_tgammal.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28461 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28462 Minor optimizations. Pretty printing. Remove cruft.
28463 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28465 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28466 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28467 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28468 * sysdeps/i386/fpu/e_asin.S: Likewise.
28469 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28470 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28471 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28472 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28473 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28476 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28477 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28478 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28479 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28480 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28481 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28482 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28483 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28484 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28485 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28486 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28487 * sysdeps/i386/fpu/e_log.S: Likewise.
28488 * sysdeps/i386/fpu/e_log10.S: Likewise.
28489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28491 * sysdeps/i386/fpu/e_log2.S: Likewise.
28492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28493 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28494 * sysdeps/i386/fpu/e_logf.S: Likewise.
28495 * sysdeps/i386/fpu/e_logl.S: Likewise.
28496 * sysdeps/i386/fpu/e_pow.S: Likewise.
28497 * sysdeps/i386/fpu/e_powf.S: Likewise.
28498 * sysdeps/i386/fpu/e_powl.S: Likewise.
28499 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28500 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28501 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28503 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28505 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28506 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28507 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28529 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28530 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28531 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28532 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28533 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28534 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28535 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28536 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28537 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28538 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28539 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28540 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28542 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28543 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28544 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28546 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28548 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28550 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28551 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28552 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28553 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28554 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28555 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28556 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28558 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28559 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28591 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28593 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28594 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28596 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28599 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28601 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28604 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28605 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28606 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28607 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28608 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28609 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28610 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28611 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28612 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28613 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28616 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28617 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28618 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28619 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28620 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28621 (__isnanf): Likewise.
28622 (__isinf_ns): Likewise.
28623 (__isinf_nsf): Likewise.
28624 (__finite): Likewise.
28625 (__finitef): Likewise.
28626 (__ieee754_sqrt): Define as macro.
28627 (__ieee754_sqrtf): Define as macro.
28628 (__ieee754_sqrtl): Define as macro.
28629 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28631 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28632 __FINITE_MATH_ONLY__ consistent.
28633 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28635 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28637 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28642 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28644 * po/ja.po: Update from translation team.
28646 2011-10-08 Roland McGrath <roland@hack.frob.com>
28648 * locale/programs/locarchive.c (prepare_address_space): New function.
28649 (create_archive, enlarge_archive, open_archive): Use it.
28651 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28652 inside [SHARED], where it is used.
28654 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28656 * nss/getent.c (netgroup_keys): Remove unused variable.
28657 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28659 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28661 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28662 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28665 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28666 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28667 * math/Makefile (libm-calls): Add s_isinf_ns.
28668 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28669 * math/multc3.c: Likewise.
28670 * math/s_casin.c: Likewise.
28671 * math/s_casinf.c: Likewise.
28672 * math/s_casinl.c: Likewise.
28673 * math/s_ccos.c: Likewise.
28674 * math/s_ccosf.c: Likewise.
28675 * math/s_ccosl.c: Likewise.
28676 * math/s_ctan.c: Likewise.
28677 * math/s_ctanf.c: Likewise.
28678 * math/s_ctanh.c: Likewise.
28679 * math/s_ctanhf.c: Likewise.
28680 * math/s_ctanhl.c: Likewise.
28681 * math/s_ctanl.c: Likewise.
28682 * math/w_fmod.c: Likewise.
28683 * math/w_fmodf.c: Likewise.
28684 * math/w_fmodl.c: Likewise.
28685 * math/w_remainder.c: Likewise.
28686 * math/w_remainderf.c: Likewise.
28687 * math/w_remainderl.c: Likewise.
28688 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28689 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28692 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28693 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28694 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28695 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28697 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28699 * stdio-common/printf_fphex.c: Likewise.
28700 * stdio-common/printf_size.c: Likewise.
28702 * math/e_exp10.c: Include math_private.h using <...> not "...".
28703 * math/e_exp10f.c: Likewise.
28704 * math/e_exp10l.c: Likewise.
28705 * math/e_exp2l.c: Likewise.
28706 * math/e_j0l.c: Likewise.
28707 * math/e_j1l.c: Likewise.
28708 * math/e_jnl.c: Likewise.
28709 * math/e_lgammal_r.c: Likewise.
28710 * math/e_rem_pio2l.c: Likewise.
28711 * math/e_scalb.c: Likewise.
28712 * math/e_scalbf.c: Likewise.
28713 * math/e_scalbl.c: Likewise.
28714 * math/k_cosl.c: Likewise.
28715 * math/k_sinl.c: Likewise.
28716 * math/k_tanl.c: Likewise.
28717 * math/s_cacoshf.c: Likewise.
28718 * math/s_catan.c: Likewise.
28719 * math/s_catanf.c: Likewise.
28720 * math/s_catanh.c: Likewise.
28721 * math/s_catanhf.c: Likewise.
28722 * math/s_catanhl.c: Likewise.
28723 * math/s_catanl.c: Likewise.
28724 * math/s_ccosh.c: Likewise.
28725 * math/s_ccoshf.c: Likewise.
28726 * math/s_ccoshl.c: Likewise.
28727 * math/s_cexp.c: Likewise.
28728 * math/s_cexpf.c: Likewise.
28729 * math/s_cexpl.c: Likewise.
28730 * math/s_clog.c: Likewise.
28731 * math/s_clog10.c: Likewise.
28732 * math/s_clog10f.c: Likewise.
28733 * math/s_clog10l.c: Likewise.
28734 * math/s_clogf.c: Likewise.
28735 * math/s_clogl.c: Likewise.
28736 * math/s_csin.c: Likewise.
28737 * math/s_csinf.c: Likewise.
28738 * math/s_csinh.c: Likewise.
28739 * math/s_csinhf.c: Likewise.
28740 * math/s_csinhl.c: Likewise.
28741 * math/s_csinl.c: Likewise.
28742 * math/s_csqrt.c: Likewise.
28743 * math/s_csqrtf.c: Likewise.
28744 * math/s_csqrtl.c: Likewise.
28745 * math/s_ctan.c: Likewise.
28746 * math/s_ctanf.c: Likewise.
28747 * math/s_ctanh.c: Likewise.
28748 * math/s_ctanhf.c: Likewise.
28749 * math/s_ctanhl.c: Likewise.
28750 * math/s_ctanl.c: Likewise.
28751 * math/s_ldexp.c: Likewise.
28752 * math/s_ldexpf.c: Likewise.
28753 * math/s_ldexpl.c: Likewise.
28754 * math/s_significand.c: Likewise.
28755 * math/s_significandf.c: Likewise.
28756 * math/s_significandl.c: Likewise.
28757 * math/w_acos.c: Likewise.
28758 * math/w_acosf.c: Likewise.
28759 * math/w_acosh.c: Likewise.
28760 * math/w_acoshf.c: Likewise.
28761 * math/w_acoshl.c: Likewise.
28762 * math/w_acosl.c: Likewise.
28763 * math/w_asin.c: Likewise.
28764 * math/w_asinf.c: Likewise.
28765 * math/w_asinl.c: Likewise.
28766 * math/w_atan2.c: Likewise.
28767 * math/w_atan2f.c: Likewise.
28768 * math/w_atan2l.c: Likewise.
28769 * math/w_atanh.c: Likewise.
28770 * math/w_atanhf.c: Likewise.
28771 * math/w_atanhl.c: Likewise.
28772 * math/w_cosh.c: Likewise.
28773 * math/w_coshf.c: Likewise.
28774 * math/w_coshl.c: Likewise.
28775 * math/w_dremf.c: Likewise.
28776 * math/w_exp10.c: Likewise.
28777 * math/w_exp10f.c: Likewise.
28778 * math/w_exp10l.c: Likewise.
28779 * math/w_exp2.c: Likewise.
28780 * math/w_exp2f.c: Likewise.
28781 * math/w_fmod.c: Likewise.
28782 * math/w_fmodf.c: Likewise.
28783 * math/w_fmodl.c: Likewise.
28784 * math/w_hypot.c: Likewise.
28785 * math/w_hypotf.c: Likewise.
28786 * math/w_hypotl.c: Likewise.
28787 * math/w_j0.c: Likewise.
28788 * math/w_j0f.c: Likewise.
28789 * math/w_j0l.c: Likewise.
28790 * math/w_j1.c: Likewise.
28791 * math/w_j1f.c: Likewise.
28792 * math/w_j1l.c: Likewise.
28793 * math/w_jn.c: Likewise.
28794 * math/w_jnf.c: Likewise.
28795 * math/w_jnl.c: Likewise.
28796 * math/w_lgamma.c: Likewise.
28797 * math/w_lgamma_r.c: Likewise.
28798 * math/w_lgammaf.c: Likewise.
28799 * math/w_lgammaf_r.c: Likewise.
28800 * math/w_lgammal.c: Likewise.
28801 * math/w_lgammal_r.c: Likewise.
28802 * math/w_log.c: Likewise.
28803 * math/w_log10.c: Likewise.
28804 * math/w_log10f.c: Likewise.
28805 * math/w_log10l.c: Likewise.
28806 * math/w_log2.c: Likewise.
28807 * math/w_log2f.c: Likewise.
28808 * math/w_log2l.c: Likewise.
28809 * math/w_logf.c: Likewise.
28810 * math/w_logl.c: Likewise.
28811 * math/w_pow.c: Likewise.
28812 * math/w_powf.c: Likewise.
28813 * math/w_powl.c: Likewise.
28814 * math/w_remainder.c: Likewise.
28815 * math/w_remainderf.c: Likewise.
28816 * math/w_remainderl.c: Likewise.
28817 * math/w_scalb.c: Likewise.
28818 * math/w_scalbf.c: Likewise.
28819 * math/w_scalbl.c: Likewise.
28820 * math/w_sinh.c: Likewise.
28821 * math/w_sinhf.c: Likewise.
28822 * math/w_sinhl.c: Likewise.
28823 * math/w_sqrt.c: Likewise.
28824 * math/w_sqrtf.c: Likewise.
28825 * math/w_sqrtl.c: Likewise.
28826 * math/w_tgamma.c: Likewise.
28827 * math/w_tgammaf.c: Likewise.
28828 * math/w_tgammal.c: Likewise.
28830 * po/ja.po: Update from translation team.
28832 2011-09-29 Andreas Jaeger <aj@suse.de>
28835 * sunrpc/netname.c (netname2host): Fix logic.
28839 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28841 * math/w_remainder.c (__remainder): Likewise.
28842 * math/w_remainderf.c (__remainderf): Likewise.
28843 * math/libm-test.inc (remainder_test): Add test cases.
28845 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28847 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28850 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28852 * string/test-memcmp.c: Avoid unncessary #defines.
28853 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28855 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28857 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28858 Use new sse2 version for core i3 - i7 as it's faster
28859 than sse42 version.
28860 (bit_Prefer_PMINUB_for_stringop): New.
28861 * sysdeps/x86_64/rawmemchr.S: Update.
28862 Replace with faster SSE2 version.
28863 * sysdeps/x86_64/memrchr.S: New file.
28864 * sysdeps/x86_64/memchr.S: Update.
28865 Replace with faster SSE2 version.
28867 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28869 * elf/dl-load.c (lose): Add cast to avoid warning.
28871 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28873 * po/ca.po: Update from translation team.
28875 * inet/getnetgrent_r.c: Hook up nscd.
28876 * nscd/Makefile (routines): Add nscd_netgroup.
28877 (nscd-modules): Add netgroupcache.
28878 (CFLAGS-netgroupcache.c): Define.
28879 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28880 (cache_search): Add const to second parameter.
28881 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28883 (dbs): Add netgrdb entry.
28884 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28885 (verify_persistent_db): Handle netgrdb.
28886 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28887 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28889 (netgroup_response_header): Define.
28890 (innetgroup_response_header): Define.
28891 (datahead): Add netgroup_response_header and innetgroup_response_header
28893 * nscd/nscd.conf: Add entries for netgroup cache.
28894 * nscd/nscd.h (dbtype): Add netgrdb.
28895 (_PATH_NSCD_NETGROUP_DB): Define.
28896 (netgroup_iov_disabled): Declare.
28897 (xmalloc, xcalloc, xrealloc): Move declarations here.
28898 (cache_search): Adjust prototype.
28899 Add netgroup-related prototypes.
28900 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28901 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28902 (__nscd_innetgr): Declare.
28903 * nscd/selinux.c (perms): Use access_vector_t as element type and
28904 add netgroup-related initializers.
28905 * nscd/netgroupcache.c: New file.
28906 * nscd/nscd_netgroup.c: New file.
28907 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28908 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28909 For four parameters use innetgr.
28910 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28911 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28912 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28913 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28915 * nscd/connections.c (register_traced_file): Don't register file
28916 for disabled databases.
28918 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28920 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28922 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28923 from tree and freeing node.
28925 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28927 * nss/nsswitch.c (__nss_database_lookup): Handle
28928 nss_parse_service_list out of memory case.
28930 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28932 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28933 out of memory case.
28935 2011-10-04 Andreas Schwab <schwab@redhat.com>
28937 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28938 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28940 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28941 elf_machine_rela, elf_machine_lazy_rel.
28942 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28943 (ELF_DYNAMIC_DO_REL): Likewise.
28944 (ELF_DYNAMIC_DO_RELA): Likewise.
28945 (ELF_DYNAMIC_RELOCATE): Likewise.
28946 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28947 to ELF_DYNAMIC_DO_REL.
28948 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28949 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28950 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28952 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28953 skip_ifunc, don't call ifunc function if non-zero.
28954 (elf_machine_rela): Likewise.
28955 (elf_machine_lazy_rel): Likewise.
28956 (elf_machine_lazy_rela): Likewise.
28957 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28958 (elf_machine_lazy_rel): Likewise.
28959 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28961 (elf_machine_lazy_rel): Likewise.
28962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28964 (elf_machine_lazy_rel): Likewise.
28965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28966 (elf_machine_lazy_rel): Likewise.
28967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28968 (elf_machine_lazy_rel): Likewise.
28969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28970 (elf_machine_lazy_rel): Likewise.
28971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28972 (elf_machine_lazy_rel): Likewise.
28973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28974 (elf_machine_lazy_rel): Likewise.
28975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28976 (elf_machine_lazy_rel): Likewise.
28978 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28980 * nss/nss_files/files-init.c (_nss_files_init): Use static
28981 initialization for all the *_traced_file variables.
28983 2011-09-28 Andreas Schwab <schwab@redhat.com>
28985 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28987 2011-09-27 Roland McGrath <roland@hack.frob.com>
28990 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28992 2011-09-27 Andreas Schwab <schwab@redhat.com>
28994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28995 Reread the line before reparsing it.
28997 2011-09-26 Andreas Schwab <schwab@redhat.com>
28999 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29001 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29002 Maxim Kuvyrkov <maxim@codesourcery.com>
29003 Joseph Myers <joseph@codesourcery.com>
29005 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29006 if needed for __stack_chk_guard.
29008 2011-09-19 Roland McGrath <roland@hack.frob.com>
29010 * sysdeps/posix/spawni.c (script_execute): Always define it.
29011 It will be optimized away if unused.
29012 (maybe_script_execute): New function.
29013 (__spawni): Call it.
29015 * Makerules: Don't include tls.make.
29016 (config-tls): Always set to thread.
29017 * tls.make.c: File removed.
29019 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29021 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29022 * config.make.in (CPPFLAGS-config): New substituted variable.
29024 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29029 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29030 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29032 2011-09-15 Roland McGrath <roland@hack.frob.com>
29034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29035 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29037 (CALL_FAIL): Likewise.
29038 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29039 (CALL_FAIL): Macro removed.
29040 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29042 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29044 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29045 for __FINITE_MATH_ONLY__ == 1.
29047 2011-09-15 Andreas Schwab <schwab@redhat.com>
29049 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29050 __ieee754_sqrt instead of sqrt.
29051 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29052 __ieee754_sqrtf instead of sqrtf.
29053 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29054 __floorf instead of floorf.
29055 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29056 __floorf, __truncf instead of floorf, truncf.
29058 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29060 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29062 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29063 __extern_always_inline.
29064 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29067 2011-09-14 Andreas Schwab <schwab@redhat.com>
29069 * elf/rtld.c (dl_main): Also relocate in dependency order when
29070 doing symbol dependency testing.
29072 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29075 Always define `refsym'.
29077 2011-09-13 Andreas Schwab <schwab@redhat.com>
29079 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29080 (__FD_ELT): Renamed from __FDELT.
29081 * misc/bits/select2.h (__FD_ELT): Likewise.
29082 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29083 __FD_MASK instead of __FDELT, __FDMASK.
29084 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29086 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29089 * elf/Makefile (gen-ldd): Fix pattern.
29091 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29092 (init_tls): Likewise.
29094 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29096 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29098 2011-09-12 Andreas Schwab <schwab@redhat.com>
29100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29101 `struct cmsghdr *' instead of `void *'.
29102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29105 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29107 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29109 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29110 ldd_rewrite_script.
29112 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29114 * configure.in: Remove --with-tls option.
29115 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29116 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29117 out in case it is missing.
29118 * sysdeps/ia64/elf/configure.in: Likewise.
29119 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29120 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29121 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29122 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29123 * sysdeps/sh/elf/configure.in: Likewise.
29124 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29125 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29126 * sysdeps/x86_64/elf/configure.in: Likewise.
29127 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29128 * sysdeps/mach/hurd/tls.h: Likewise.
29131 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29134 * configure.in: Fix use of AC_INIT.
29136 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29138 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29140 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29142 * malloc/hooks.c: Likewise.
29145 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29146 variables statically.
29147 (narenas): Initialize.
29148 (list_lock): Initialize.
29149 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29150 initializtion of main_arena and list_lock. Small cleanups.
29151 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29152 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29153 Add initializers to main_arena and mp_.
29154 (malloc_state): Remove pagesize member. Change all users to use
29157 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29158 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29159 is always initialized.
29161 * malloc/malloc.c: Removed unused configurations and dead code.
29162 * malloc/arena.c: Likewise.
29163 * malloc/hooks.c: Likewise.
29164 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29166 * include/tls.h: Removed. USE___THREAD must always be defined.
29167 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29168 * elf/dl-libc.c: Likewise.
29169 * elf/dl-tsd.c: Likewise.
29170 * include/errno.h: Likewise.
29171 * include/netdb.h: Likewise.
29172 * include/resolv.h: Likewise.
29173 * inet/herrno-loc.c: Likewise.
29174 * inet/herrno.c: Likewise.
29175 * malloc/arena.c: Likewise.
29176 * malloc/hooks.c: Likewise.
29177 * malloc/malloc.c: Likewise.
29178 * resolv/res-state.c: Likewise.
29179 * resolv/res_libc.c: Likewise.
29180 * sysdeps/i386/dl-machine.h: Likewise.
29181 * sysdeps/ia64/dl-machine.h: Likewise.
29182 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29183 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29184 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29185 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29186 * sysdeps/sh/dl-machine.h: Likewise.
29187 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29188 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29189 * sysdeps/unix/i386/sysdep.S: Likewise.
29190 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29191 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29192 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29196 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29201 * sysdeps/x86_64/dl-machine.h: Likewise.
29202 * tls.make.c: Likewise.
29204 * configure.in: Remove --with-__thread option. Make tests for
29205 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29206 tls_model attribute fail if no support is available. Remove
29208 * Makeconfig: Adjust for dropped configure option. All features are
29210 * Makerules: Likewise.
29211 * Versions.def: Likewise.
29212 * argp/argp-fmtstream.c: Likewise.
29213 * argp/argp-fmtstream.h: Likewise.
29214 * argp/argp-help.c: Likewise.
29215 * assert/assert.c: Likewise.
29216 * config.h.in: Likewise.
29217 * config.make.in: Likewise.
29218 * configure: Likewise.
29219 * configure.in: Likewise.
29220 * csu/Versions: Likewise.
29221 * csu/init.c: Likewise.
29222 * elf/tst-audit2.c: Likewise.
29223 * elf/tst-tls10.c: Likewise.
29224 * elf/tst-tls10.h: Likewise.
29225 * elf/tst-tls11.c: Likewise.
29226 * elf/tst-tls12.c: Likewise.
29227 * elf/tst-tls14.c: Likewise.
29228 * elf/tst-tlsmod11.c: Likewise.
29229 * elf/tst-tlsmod12.c: Likewise.
29230 * elf/tst-tlsmod13.c: Likewise.
29231 * elf/tst-tlsmod13a.c: Likewise.
29232 * elf/tst-tlsmod14a.c: Likewise.
29233 * elf/tst-tlsmod15b.c: Likewise.
29234 * elf/tst-tlsmod16a.c: Likewise.
29235 * elf/tst-tlsmod16b.c: Likewise.
29236 * elf/tst-tlsmod7.c: Likewise.
29237 * elf/tst-tlsmod8.c: Likewise.
29238 * elf/tst-tlsmod9.c: Likewise.
29239 * gmon/gmon.c: Likewise.
29240 * grp/fgetgrent_r.c: Likewise.
29241 * grp/putgrent.c: Likewise.
29242 * hurd/fopenport.c: Likewise.
29243 * include/libc-symbols.h: Likewise.
29244 * include/tls.h: Likewise.
29245 * intl/gettextP.h: Likewise.
29246 * intl/loadinfo.h: Likewise.
29247 * locale/global-locale.c: Likewise.
29248 * locale/localeinfo.h: Likewise.
29249 * mach/devstream.c: Likewise.
29250 * malloc/arena.c: Likewise.
29251 * malloc/set-freeres.c: Likewise.
29252 * misc/err.c: Likewise.
29253 * misc/getttyent.c: Likewise.
29254 * misc/mntent_r.c: Likewise.
29255 * posix/getopt.c: Likewise.
29256 * posix/wordexp.c: Likewise.
29257 * pwd/fgetpwent_r.c: Likewise.
29258 * resolv/Versions: Likewise.
29259 * resolv/res_hconf.c: Likewise.
29260 * shadow/fgetspent_r.c: Likewise.
29261 * shadow/putspent.c: Likewise.
29262 * stdio-common/printf_fphex.c: Likewise.
29263 * stdio-common/tmpfile.c: Likewise.
29264 * stdlib/abort.c: Likewise.
29265 * stdlib/fmtmsg.c: Likewise.
29266 * sunrpc/auth_unix.c: Likewise.
29267 * sunrpc/clnt_perr.c: Likewise.
29268 * sunrpc/clnt_tcp.c: Likewise.
29269 * sunrpc/clnt_udp.c: Likewise.
29270 * sunrpc/clnt_unix.c: Likewise.
29271 * sunrpc/openchild.c: Likewise.
29272 * sunrpc/svc_simple.c: Likewise.
29273 * sunrpc/svc_tcp.c: Likewise.
29274 * sunrpc/svc_udp.c: Likewise.
29275 * sunrpc/svc_unix.c: Likewise.
29276 * sunrpc/xdr.c: Likewise.
29277 * sunrpc/xdr_array.c: Likewise.
29278 * sunrpc/xdr_rec.c: Likewise.
29279 * sunrpc/xdr_ref.c: Likewise.
29280 * sunrpc/xdr_stdio.c: Likewise.
29282 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29284 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29286 2011-07-03 Andreas Jaeger <aj@suse.de>
29288 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29289 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29290 regenerate with gen-libm-tests.pl.
29292 2010-05-12 Petr Baudis <pasky@suse.cz>
29295 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29296 around j0() zero points by switching to j1().
29297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29302 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29304 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29306 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29309 Patch in part by Pavel Roskin <proski@gnu.org>.
29312 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29314 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29315 Free memory block if necessary.
29318 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29319 be NULL. Don't lock in this case.
29321 2011-09-09 Roland McGrath <roland@hack.frob.com>
29323 * elf/elf.h (ELFOSABI_GNU): New macro.
29324 (ELFOSABI_LINUX): Define to that.
29326 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29328 * string/strncat.c (strncat): Undef the symbol in case it has been
29329 defined in bits/string.h.
29331 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29333 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29335 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29338 2011-08-17 Andreas Jaeger <aj@suse.de>
29340 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29342 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29343 Ian Lance Taylor <iant@google.com>
29345 * math/libm-test.inc (lround_test): New testcase.
29346 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29348 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29350 * Makefile: Remove support for automatic cvs check-ins.
29351 * Makerules: Likewise.
29352 * config.make.in: Likewise.
29353 * configure.in: Likewise.
29354 * intl/Makefile: Likewise.
29355 * locale/Makefile: Likewise.
29356 * po/Makefile: Likewise.
29357 * posix/Makefile: Likewise.
29358 * sysdeps/gnu/Makefile: Likewise.
29359 * sysdeps/mach/hurd/Makefile: Likewise.
29360 * sysdeps/sparc/sparc32/Makefile: Likewise.
29363 * posix/Makefile (bug-regex32-ENV): Define.
29364 Patch by John Stanley <jpsinthemix@verizon.net>.
29366 * misc/Makefile (headers): Add bits/select2.h.
29367 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29368 * misc/bits/select2.h: New file.
29369 * include/bits/select2.h: New file.
29370 * debug/Makefile (routines): Add fdelt_chk.
29371 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29372 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29374 * debug/fdelt_chk.c: New file.
29376 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29377 * wcsmbs/test-wmemcmp.c: Likewise.
29378 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29379 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29381 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29383 * string/Makefile (strop-tests): Add memcmp.
29384 * string/test-wmemcmp.c: New file.
29385 * string/test-memcmp.c: Add wmemcmp support.
29387 2011-09-08 Roland McGrath <roland@hack.frob.com>
29390 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29393 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29394 garbage value in a __mach_port_mod_refs call in the cases of the
29395 task-self and thread-self ports.
29397 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29399 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29401 2011-09-08 Andreas Schwab <schwab@redhat.com>
29403 * elf/dl-load.c (lose): Check for non-null L.
29405 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29407 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29409 * elf/dl-libc.c (dlerror_run): Pass back error code from
29413 * elf/dl-load.c (lose): Free l_origin if it is valid.
29415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29417 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29418 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29419 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29421 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29422 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29424 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29426 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29427 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29428 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29429 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29430 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29431 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29432 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29433 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29434 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29435 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29437 2011-08-15 Alan Modra <amodra@gmail.com>
29440 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29441 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29442 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29443 ppc_mcount to static-only-routines.
29444 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29446 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29447 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29449 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29451 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29452 for finite and infinity parameters.
29454 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29457 and add nop instructions for throughput optimization.
29458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29460 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29463 aligned copy for power7 with vector-scalar instructions.
29464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29466 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29471 2011-09-07 Andreas Schwab <schwab@redhat.com>
29474 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29477 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29479 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29480 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29481 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29482 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29485 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29487 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29488 Forgot to demangle the pointer.
29490 * sysdeps/i386/sysdep.h: Define atom_text_section.
29491 * sysdeps/x86_64/sysdep.h: Likewise.
29492 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29493 section with atom_text_section.
29494 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29496 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29498 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29501 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29502 already be defined. Change to take two parameters and don't assign
29503 result to variable. Adjust all users.
29504 Define INTERNAL_GETTIME if not already defined.
29505 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29508 HAVE_CLOCK_GETTIME_VSYSCALL.
29509 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29512 gettimeofday vsyscall, just use time.
29514 2011-09-06 Andreas Schwab <schwab@redhat.com>
29516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29519 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29521 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29525 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29527 syscall if possible.
29529 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29531 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29532 e_ident. Don't pass to find_mapsXX.
29533 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29535 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29538 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29539 * sysdeps/x86_64/multiarch/strchr.S: Update.
29540 Check bit_slow_BSF bit.
29541 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29542 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29543 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29545 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29548 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29550 (tryshell): Define.
29551 (__spawni): Change last parameter to be flag. Test
29552 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29553 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29554 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29555 * posix/spawni.c: Likewise.
29556 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29557 * posix/spawnp.c: Likewise. Change normal version to use
29558 SPAWN_XFLAGS_USE_PATH.
29559 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29560 SPAWN_XFLAGS_TRY_SHELL.
29563 * posix/glob.h: Remove gcc 1.x support.
29566 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29568 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29571 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29573 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29574 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29575 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29577 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29580 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29582 * sysdeps/x86_64/wcscmp.S: New file.
29584 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29585 wcscmp-c wcscmp-sse2
29586 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29587 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29588 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29589 * wcsmbs/wcscmp.c: Allow renaming.
29591 2011-09-05 David S. Miller <davem@davemloft.net>
29593 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29594 stack slot, rather than the struct return pointer slot.
29595 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29596 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29598 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29600 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29602 * po/ja.po: Update from translation team.
29605 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29606 kernel in 64-bit binaries.
29608 2011-09-01 David S. Miller <davem@davemloft.net>
29610 * elf/elf.h (HWCAP_SPARC_*): Move to..
29611 * sysdeps/sparc/sysdep.h: this new file and add new values.
29612 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29613 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29614 _DL_HWCAP_COUNT to 24.
29615 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29617 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29618 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29619 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29621 instead of magic constants.
29622 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29624 2011-08-31 David S. Miller <davem@davemloft.net>
29626 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29628 Reimplement to do errno handling inline.
29629 (SYSCALL_ERROR_HANDLER): New macro.
29630 (__SYSCALL_STRING): Do not do errno handling in asm.
29631 (__CLONE_SYSCALL_STRING): Delete.
29632 (__INTERNAL_SYSCALL_STRING): Delete.
29633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29634 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29635 (PSEUDO): Reimplement to do errno handling inline.
29636 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29637 (SYSCALL_ERROR_HANDLER): New macro.
29638 (__SYSCALL_STRING): Do not do errno handling in asm.
29639 (__CLONE_SYSCALL_STRING): Delete.
29640 (__INTERNAL_SYSCALL_STRING): Delete.
29641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29642 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29644 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29645 (inline_syscall*): Add 'err' argument.
29646 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29647 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29648 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29649 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29651 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29652 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29654 2011-08-30 Andreas Schwab <schwab@redhat.com>
29656 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29658 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29660 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29663 2011-08-24 David S. Miller <davem@davemloft.net>
29665 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29667 2011-08-24 Andreas Schwab <schwab@redhat.com>
29669 * elf/Makefile: Add rules to build and run unload8 test.
29670 * elf/unload8.c: New file.
29671 * elf/unload8mod1.c: New file.
29672 * elf/unload8mod1x.c: New file.
29673 * elf/unload8mod2.c: New file.
29674 * elf/unload8mod3.c: New file.
29676 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29679 2011-08-23 David S. Miller <davem@davemloft.net>
29681 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29682 subtract stack bias.
29683 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29684 %sp not %fp in calculations.
29685 (_JMPBUF_UNWINDS_ADJ): Likewise.
29687 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29688 (aio_suspend): Call it to force an exception region around the
29689 AIO_MISC_WAIT() invocation.
29691 2011-08-23 Andreas Schwab <schwab@redhat.com>
29693 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29696 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29698 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29700 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29701 and <dl-machine.h>.
29702 (Elf64_FuncDesc): Remove.
29704 2011-08-22 David S. Miller <davem@davemloft.net>
29706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29707 sigaltstack check, add missing cfi directives.
29708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29709 missing cfi directives, and sigaltstack handling.
29711 2011-08-16 Andreas Schwab <schwab@redhat.com>
29714 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29715 object is seen twice.
29716 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29718 * elf/Makefile (distribute): Add tst-initorder2.c.
29719 (tests): Add tst-initorder2.
29720 (modules-names): Add tst-initorder2a tst-initorder2b
29721 tst-initorder2c tst-initorder2d. Add rules to build them.
29722 ($(objpfx)tst-initorder2.out): New rule.
29723 * elf/tst-initorder2.c: New file.
29724 * elf/tst-initorder2.exp: New file.
29726 2011-08-22 Andreas Schwab <schwab@redhat.com>
29728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29730 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29731 dependencies back to end of function.
29733 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29734 $(elfobjdir)/ld.so.
29736 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29739 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29741 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29742 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29743 of __vdso_gettimeofday.
29744 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29745 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29747 (_libc_vdso_platform_setup): Remove initialization of
29748 __vdso_gettimeofday and __vdso_time.
29750 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29752 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29753 and fgetc_unlocked.
29754 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29757 * elf/dl-open.c (add_to_global): Report additions to the global scope
29758 for LD_DEBUG=scopes.
29759 (dl_open_worker): Also print scope of newly loaded dependencies.
29760 (_dl_show_scope): Indicate if there is no scope.
29763 * stdio-common/Makefile (tests): Add bug24.
29764 * stdio-common/bug24.c: New file.
29766 2011-08-19 Andreas Jaeger <aj@suse.de>
29769 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29770 non-existant file when using close-on-exec mode.
29772 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29775 the very first instruction.
29777 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29778 the CFI state in the end.
29779 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29780 inclusion of dl-trampoline.h.
29781 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29783 2011-08-19 Andreas Schwab <schwab@redhat.com>
29785 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29786 expectations for long double.
29788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29789 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29791 2011-08-14 David S. Miller <davem@davemloft.net>
29793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29794 artificual limit depends upon the system page size.
29796 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29798 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29799 * resolv/Makefile: Define CFLAGS-libresolv.
29801 2011-08-17 Andreas Schwab <schwab@redhat.com>
29803 * nss/makedb.c (compute_tables): Make variables used in nested
29806 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29808 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29809 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29810 if buffer was too small.
29812 * elf/pldd.c (main): Attach to all threads in the process.
29813 Rewrite /proc handling to use *at functions.
29815 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29817 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29818 specifies first scope to show.
29819 (dl_open_worker): Update callers. Move printing scope of new
29820 object to before the relocation.
29821 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29822 * sysdeps/generic/ldsodefs.h: Update declaration.
29824 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29825 string for the scope number.
29827 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29829 * nscd/servicescache.c (cache_addserv): Make sure written is always
29832 2011-08-14 Roland McGrath <roland@hack.frob.com>
29834 * sysdeps/i386/i486/bits/atomic.h
29835 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29836 statement expression, so as to suppress "set but not used" warning.
29837 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29839 * string/strncat.c (STRNCAT): Use prototype definition.
29841 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29842 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29844 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29845 (localedef-modules): Add localedef.
29846 (locale-modules): Add locale.
29848 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29849 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29850 to avoid a warning.
29852 2011-08-14 David S. Miller <davem@davemloft.net>
29854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29855 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29857 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29859 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29860 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29861 * elf/rtld.c (dl_main): Set l_name of vDSO.
29862 Call _dl_show_scope when DL_DEBUG_SCOPES.
29863 (process_dl_debug): Recognize scopes flag and also set it for all.
29864 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29865 Declare _dl_show_scope.
29867 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29868 (do_dlopen): Pass caller_dlopen to dl_open.
29869 (__libc_dlopen_mode): Initialize caller_dlopen.
29871 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29872 of libc. Make tolower call locale-independent. Optimize a bit by
29873 using isdigit instead of isalnum.
29874 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29876 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29878 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29879 was a dependency or dynamically loaded.
29881 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29883 * intl/l10nflist.c: Allow architecture-specific pop function.
29884 * sysdeps/x86_64/l10nflist.c: New file.
29886 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29889 2011-08-10 Andreas Schwab <schwab@redhat.com>
29891 * include/dirent.h: Add libc_hidden_proto for scandirat and
29892 scandirat64. Don't declare __scandirat64.
29893 * dirent/scandirat.c: Add libc_hidden_def.
29894 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29895 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29897 2011-08-10 David S. Miller <davem@davemloft.net>
29899 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29901 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29902 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29903 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29905 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29907 * Versions.def [libc]: Add GLIBC_2.15.
29908 * dirent/Makefile (routines): Add scandirat and scandirat64.
29909 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29911 * dirent/dirent.h: Declare scandirat and scandirat64.
29912 * dirent/scandirat.c: New file.
29913 * dirent/scandirat64.c: New file.
29914 * sysdeps/wordsize-64/scandirat.c: New file.
29915 * sysdeps/wordsize-64/scandirat64.c: New file.
29916 * dirent/opendir.c: Define opendirat.
29917 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29919 * dirent/scandir64.c: Adjust for scandir.c change.
29920 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29921 __scandirat64, and __scandir_cancel_handler.
29922 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29923 additional parameter and use openat instead of open (outside of ld.so).
29924 Add new __opendir as wrapper around __opendirat.
29925 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29926 here without requiring old scandirat implementation.
29928 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29930 * dirent/scandir.c (cancel_handler): Renamed to
29931 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29932 defined. Adjust users.
29933 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29934 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29936 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29938 * string/test-string.h (IMPL): Use __STRING to expand name and then
29941 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29944 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29946 * string/Makefile: Update.
29947 (strop-tests): Append strncat.
29948 * string/test-wcscmp.c: New file.
29949 New comprehensive test for wcscmp.
29950 * string/test-strcmp.c: Update.
29951 (WIDE): New define.
29953 2011-07-22 Andreas Schwab <schwab@redhat.com>
29955 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29958 2011-07-26 Andreas Schwab <schwab@redhat.com>
29960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29961 encoding to ACE if AI_IDN.
29963 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29966 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29968 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29970 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29971 Fix overflow bug in strncat.
29972 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29974 * string/test-strncat.c: Update.
29975 Add new tests for checking overflow bugs.
29977 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29980 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29981 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29982 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29983 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29984 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29985 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29986 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29987 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29990 (USE_AS_STRCAT): Define.
29991 Add strcat and strncat support.
29992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29994 2011-07-25 Andreas Schwab <schwab@redhat.com>
29996 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29997 __n bigger than INT_MAX+1.
29998 (__strncmp_g): Likewise.
30000 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30002 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30003 * libio/stido.h: Likewise.
30005 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30010 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30011 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30013 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30017 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30022 (_dl_x86_64_save_sse): Likewise.
30024 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30028 (_dl_x86_64_save_sse): Likewise.
30030 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30032 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30034 2011-07-21 Andreas Schwab <schwab@redhat.com>
30036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30038 (_dl_x86_64_save_sse): Use correct AVX check.
30040 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30042 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30043 bug in strncpy/strncat.
30044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30046 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30048 * string/tester.c (test_strcat): Add tests for different alignments
30049 of source and destination.
30050 (test_strncat): Likewise.
30052 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30055 * posix/glob.c (glob): Check passed in values before using them in
30056 expressions to avoid some overflows.
30057 (glob_in_dir): Likewise.
30060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30061 check for AVX enablement so that we don't crash with old kernels and
30063 * elf/tst-audit4.c: Add same checks here.
30064 * elf/tst-audit6.c: Likewise.
30066 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30068 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30070 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30072 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30074 * po/cs.po: Update from translation team.
30075 * po/bg.po: Likewise.
30077 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30079 * misc/sys/cdefs.h: Add support for const attribute.
30080 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30081 to gnu_dev_{major,minor,makedev} functions.
30083 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30085 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30087 2011-07-20 Andreas Schwab <schwab@redhat.com>
30089 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30092 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30095 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30096 register in order to avoid conflicts with the soft frame pointer
30097 being held in r11 when necessary.
30098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30099 (INTERNAL_VSYSCALL_NCS): Likewise.
30101 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30103 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30104 * elf/dl-fini.c (_dl_fini): Adjust caller.
30105 * elf/dl-close.c (_dl_close_worker): Likewise.
30106 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30108 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30110 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30111 "aux_cache->nlibs < 0".
30113 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30114 in the reload-count case.
30116 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30119 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30120 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30121 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30122 * sysdeps/x86_64/multiarch/strcat.S: New file.
30123 * sysdeps/x86_64/multiarch/strncat.S: New file.
30124 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30125 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30126 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30127 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30128 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30129 (USE_AS_STRCAT): Define.
30130 Add strcat and strncat support.
30131 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30132 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30133 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30134 * string/strncat.c: Update.
30135 (USE_AS_STRNCAT): Define.
30136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30137 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30139 * sysdeps/x86_64/multiarch/init-arch.h
30140 (bit_Prefer_PMINUB_for_stringop): New.
30141 (index_Prefer_PMINUB_for_stringop): Likewise.
30142 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30143 bit_Prefer_PMINUB_for_stringop.
30145 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30147 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30149 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30150 of casting of buffer.
30151 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30152 buffer32 and buffer64.
30153 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30154 writes instead of casting of buffer.
30155 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30157 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30160 2011-07-19 Andreas Schwab <schwab@redhat.com>
30162 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30164 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30166 * nscd/nscd.c (termination_handler): Don't do anything for a database
30167 if it has not yet been initialized.
30169 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30171 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30173 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30175 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30177 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30179 * po/nl.po: Update from translation team.
30180 * po/sv.po: Likewise.
30182 2011-07-16 Roland McGrath <roland@hack.frob.com>
30184 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30185 now disallowed by GCC.
30187 * configure.in (use-default-link): Default to yes if a test -shared
30188 link meets our qualifications.
30189 * configure: Regenerated.
30191 * config.make.in (output-format): New variable.
30192 * configure.in: Check for ld --print-output-format support.
30193 * configure: Regenerated.
30194 * Makerules ($(common-objpfx)format.lds)
30195 [$(output-format) != unknown]: Just use $(output-format),
30196 instead of the linker-script munging.
30198 2011-07-14 Roland McGrath <roland@hack.frob.com>
30200 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30201 of $(common-objpfx)shlib.lds.
30202 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30204 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30205 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30207 * configure.in (-z relro check): Adjust test code to add a large
30208 writable data section after it.
30209 * configure: Regenerated.
30211 2011-07-11 Roland McGrath <roland@hack.frob.com>
30213 * configure.in (-z relro check): Fix test code to make the variable
30215 * configure: Regenerated.
30217 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30219 * nscd/nscd.h (struct traced_file): Define.
30220 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30221 elements. Add traced_files.
30222 (inotify_fd): Declare.
30223 (register_traced_file): Declare.
30224 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30225 (inotify_fd): Export.
30226 (resolv_conf_descr): Remove.
30227 (nscd_init): Move inotify descriptor creation to main.
30228 Don't register files for notification here.
30229 (register_traced_file): New function.
30230 (invalidate_cache): Don't use reset_res to determine whether to call
30231 res_init, go through the list of registered files.
30232 (main_loop_poll): The inotify descriptors are now stored in the
30233 structures for the traced files.
30234 (main_loop_epoll): Likewise
30235 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30236 to __nss_disable_nscd.
30237 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30238 for a database anymore. Check the records for all the registered
30240 * nss/Makefile (libnss_files-routines): Add files-init.
30241 (libnss_db-routines): Add db-init.
30242 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30243 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30244 * nss/nss_db/db-init.c: New file.
30245 * nss/nss_files/files-init.c: New file.
30246 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30247 __nss_lookup_function.
30248 (__nss_lookup_function): Call nss_load_library.
30249 (nss_load_all_libraries): New function.
30250 (__nss_disable_nscd): Take parameter with callback function for files
30251 to register. Set is_nscd. Load all the DSOs for the NSS modules
30252 used for the cached services.
30253 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30254 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30255 options for features to all the files in nscd.
30257 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30259 2011-07-10 Roland McGrath <roland@hack.frob.com>
30261 * csu/elf-init.c (__libc_csu_init): Comment typo.
30263 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30265 * po/pl.po: Update from translation team.
30266 * po/ja.po: Likewise.
30267 * po/ru.po: Likewise.
30268 * po/ko.po: Likewise.
30269 * po/fr.po: Likewise.
30271 2011-07-09 Roland McGrath <roland@hack.frob.com>
30273 * configure.in (.ctors/.dtors header and trailer check):
30274 Use an empirical test on a built program.
30275 * configure: Regenerated.
30277 * configure.in (-z relro check): Use an empirical test on a built DSO.
30278 Detect, but do not require, on ia64.
30279 * configure: Regenerated.
30281 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30282 Update tests that use readelf to use $READELF instead.
30283 * configure: Regenerated.
30285 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30287 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30288 if the result is not used.
30290 2011-07-05 Andreas Jaeger <aj@suse.de>
30293 * stdlib/tst-strtod.c: Add testcase.
30295 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30297 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30298 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30299 The latter has a higher limit. Take additional parameter to pass to
30301 (__pathconf): Pass file to __statfs_link_max.
30302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30304 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30308 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30312 (__statfs_filesize_max): Likewise.
30313 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30315 2011-07-05 Andreas Jaeger <aj@suse.de>
30317 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30319 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30321 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30323 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30326 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30328 * Makefile (strop-tests): Add strncat.
30329 * string/test-strncat.c: New file.
30331 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30333 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30335 2011-06-21 Andreas Jaeger <aj@suse.de>
30337 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30338 Copy rule from iconvdata/Makefile.
30340 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30343 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30344 but no long options are defined, just return 'W'.
30346 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30349 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30351 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30353 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30355 (innetgr): Likewise.
30357 2011-07-05 Roland McGrath <roland@hack.frob.com>
30359 * config.make.in (install_root): Default to $(DESTDIR).
30361 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30365 2011-07-02 Roland McGrath <roland@hack.frob.com>
30367 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30369 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30370 containing directory rather than embedding absolute directory names.
30372 * scripts/check-local-headers.sh: Rewritten using awk.
30373 Match by word, not by line. Print error messages for matches.
30374 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30376 * Makerules [shlib-lds-flags empty]:
30377 ($(common-objpfx)libc_pic.opts): New target.
30378 ($(common-objpfx)libc_pic.os.clean): New target.
30379 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30381 * config.make.in (OBJCOPY): New variable.
30382 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30383 * configure: Regenerated.
30385 * config.make.in (use-default-link): New variable.
30386 * configure.in (use_default_link): Grok --with-default-link to set it.
30387 * configure: Regenerated.
30388 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30389 (shlib-lds, shlib-lds-flags): Define to empty.
30391 * Makerules (shlib-lds): New variable.
30392 (shlib-lds-flags): New variable.
30393 (build-shlib, build-moduile, build-module-asneeded): Use it.
30394 ($(common-objpfx)libc.so): Use $(shlib-lds).
30395 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30396 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30398 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30399 DT_FLAGS/DT_FLAGS_1 with zero flags.
30401 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30402 linker script munging.
30404 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30406 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30408 * crypt/sha512.c (sha512_process_block): Perform total addition using
30409 128-bit if possible.
30410 (__sha512_finish_ctx): Likewise.
30411 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30413 * crypt/sha256.c (SWAP64): Define.
30414 (sha256_process_block): Perform total addition using 64-bit if
30416 (__sha256_finish_ctx): Likewise.
30418 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30420 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30422 * nscd/hstcache.c (cache_addhst): Likewise.
30423 * nscd/grpcache.c (cache_addgr): Likewise.
30424 * nscd/aicache.c (addhstaiX): Likewise
30425 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30427 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30429 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30431 * nscd/hstcache.c (cache_addhst): Likewise.
30432 * nscd/grpcache.c (cache_addgr): Likewise.
30433 * nscd/aicache.c (addhstaiX): Likewise
30435 2011-07-01 Andreas Schwab <schwab@redhat.com>
30437 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30438 domain only when needed.
30440 2011-06-30 Andreas Schwab <schwab@redhat.com>
30442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30443 is always restored.
30445 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30447 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30448 are re-adding the entry.
30449 * nscd/servicescache.c (cache_addserv): Likewise.
30451 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30453 * sysdeps/generic/dl-irel.h: fix protection against multiple
30455 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30457 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30460 * malloc/memusage.sh: Fix quoting in message.
30461 * debug/xtrace.sh: Likewise.
30463 * configure.in: Remove support for --experimental-malloc option, make
30465 * config.make.in: Likewise.
30466 * malloc/Makefile: Likewise.
30468 2011-06-27 Andreas Schwab <schwab@redhat.com>
30470 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30471 two-byte characters.
30473 2011-06-27 Roland McGrath <roland@hack.frob.com>
30475 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30476 AC_CACHE_CHECK invocation.
30477 * configure: Regenerated.
30479 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30481 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30484 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30485 bit from old_res_options.
30487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30489 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30490 value type for setfct.
30492 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30495 __gettimeofday instead of gettimeofday.
30497 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30499 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30501 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30505 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30508 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30511 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30512 strcpy-sse2-unaligned strncpy-sse2-unaligned
30513 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30514 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30515 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30516 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30517 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30518 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30519 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30520 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30521 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30522 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30523 (STRCPY): Support SSE2 and SSSE3 versions.
30525 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30529 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30530 kernels which artificially limit size of requests.
30532 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30535 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30536 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30537 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30538 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30539 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30540 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30541 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30544 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30545 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30546 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30547 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30548 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30550 Enable unaligned load optimization for Intel Core i3, i5 and i7
30552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30554 (index_Fast_Unaligned_Load): Define.
30555 (HAS_FAST_UNALIGNED_LOAD): Define.
30557 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30559 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30561 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30565 until it is clear that the information is realy needed.
30566 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30568 2011-06-22 Andreas Schwab <schwab@redhat.com>
30570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30572 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30575 /sys/devices/system/cpu/online if it is usable.
30577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30578 reading the information from the /proc filesystem to once a second.
30580 2011-06-21 Andreas Jaeger <aj@suse.de>
30582 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30583 NULL after inclusion of kernel headers.
30585 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30587 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30588 calls to internal_setent.
30591 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30592 addresses using gethostbyname4_r ignore IPv4 addresses.
30594 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30595 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30597 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30599 2011-06-20 David S. Miller <davem@davemloft.net>
30601 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30603 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30605 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30606 (elf_irel): Use it.
30607 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30608 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30609 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30610 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30611 * sysdeps/x86_64/dl-irel.h: Likewise.
30613 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30614 * elf/dl-sym.c: Likewise.
30616 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30618 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30619 need to dereference resplen2.
30621 2011-06-14 Andreas Schwab <schwab@redhat.com>
30623 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30625 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30627 * Makeconfig: Define vardbdir and inst_vardbdir.
30628 * nss/Makefile: Add rules to install db-Makefile.
30630 * nss/nss_db/db-XXX.c: Cleanup.
30632 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30633 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30635 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30636 * nss/makedb.c: Implement -g option to specify that value strings
30637 are generated and should not be added to table iterated over for
30639 * nss/nss_db/db-initgroups.c: New file.
30641 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30644 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30645 (internal_getgrouplist): Adjust to name change.
30646 Update use_initgroups_entry if this is not the first call.
30647 * nss/databases.def: Add initgroups entry.
30649 * nss/makedb.c (compute_tables): Check result of multiple hash table
30650 sizes to minimize maximum chain length.
30652 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30654 * Versions.def: Add entry for libnss_db.
30655 * shlib-versions: Likewise.
30656 * nss/Makefile: Add rules to build libnss_db.
30657 * nss/Versions: Add libnss_db information. Organize libnss_files
30659 * nss/db-Makefile: Add gshadow support. Change rules for the new
30660 makedb progra. Some minor improvements to generate smaller files.
30661 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30663 * nss/makedb.c: ...here.
30664 Improve database format to be smaller and require less memory at
30666 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30668 * nss/nss_db/db-netgrp.c: Likewise.
30669 * nss/nss_db/db-open.c: Likewise.
30670 * nss/nss_files/flies-XXX.x: Adjust comments.
30671 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30672 * nss/nss_files/files-grp.c: Likewise.
30673 * nss/nss_files/files-hosts.c: Likewise.
30674 * nss/nss_files/files-network.c: Likewise.
30675 * nss/nss_files/files-proto.c: Likewise.
30676 * nss/nss_files/files-pwd.c: Likewise.
30677 * nss/nss_files/files-rpc.c: Likewise.
30678 * nss/nss_files/files-service.c: Likewise.
30679 * nss/nss_files/files-sgrp.c: Likewise.
30680 * nss/nss_files/files-spwd.c: Likewise.
30681 * nss/nss_db/db-alias.c: Removed.
30682 * nss/nss_db/dummy-db.h: Removed.
30684 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30686 * nss/makedb.c: Rewritten to not use database library.
30687 * nss/Makefile: Update to build new makedb program.
30689 2011-06-14 Andreas Jaeger <aj@suse.de>
30691 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30692 memset declaration.
30694 2011-06-10 Andreas Schwab <schwab@redhat.com>
30696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30699 2011-06-10 Roland McGrath <roland@hack.frob.com>
30701 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30702 * elf/Makefile ($(objpfx)ld.so): Likewise.
30704 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30705 Don't list ld.so twice in dependencies.
30707 * posix/bug-regex31.c: Include <stdlib.h>.
30709 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30711 * nis/nss_compat/compat-spwd.c
30712 (getspent_next_nss_netgr): Remove unused variable.
30713 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30715 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30716 nonmembers" output to use the right array.
30718 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30720 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30722 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30723 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30724 * catgets/gencat.c (read_input_file): Likewise.
30725 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30727 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30728 variable definition inside #if's controlling its use.
30730 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30732 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30734 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30736 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30739 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30741 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30742 * configure: Regenerated.
30744 * Makerules: Revert last change.
30745 * elf/Makefile: Likewise.
30747 2011-06-09 Roland McGrath <roland@hack.frob.com>
30749 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30750 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30751 (reloc-link): Likewise.
30753 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30755 * elf/Makefile: Add rules to build pldd.
30756 * elf/pldd.c: New file.
30757 * elf/pldd-xx.c: New file.
30759 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30761 * version.h: Update for 2.15 development version.
30763 2011-06-07 David S. Miller <davem@davemloft.net>
30765 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30768 elf_machine_lazy_rel): Likewise.
30769 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30771 elf_machine_lazy_rel): Likewise.
30772 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30773 dl_hwcap via passed in argument.
30774 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30777 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30779 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30781 2011-06-06 Roland McGrath <roland@hack.frob.com>
30784 * manual/fdl-1.1.texi: New file, verbatim from:
30785 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30786 * manual/lgpl-2.1.texi: New file, verbatim from:
30787 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30788 * manual/Makefile (licenses): New variable, list those new file names.
30790 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30792 * manual/fdl.texi: File removed.
30793 * manual/lesser.texi: File removed.
30794 * manual/libc.texinfo (Copying, Documentation License):
30795 Use new @include file names, put @appendix directive before @include.
30797 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30800 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30801 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30802 (mq_open): Add __NTH.
30804 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30807 Assume Intel Core i3/i5/i7 processor if AVX is available.
30809 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30814 2011-05-31 Andreas Schwab <schwab@redhat.com>
30816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30817 memory. Use alloca_account. Fix memory leak when retrying.
30819 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30821 * version.h (RELEASE): Bump for 2.14 release.
30822 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30824 * config.make.in (RANLIB): Remove entry.
30826 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30828 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30829 (libc.pot): Work around missing support for .ksh extension in xgettext.
30832 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30833 if both request failed.
30834 (send_dg): In case of server errors clear resplen or *resplen2.
30837 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30838 when there are multiple maps.
30839 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30840 (_dl_fini): Remove test here.
30842 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30844 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30847 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30848 bit from old_res_options.
30849 (gaih_inet): Likewise.
30852 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30855 * resolv/res_init.c (res_setoptions): Make the code more compact.
30858 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30862 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30864 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30867 * malloc/malloc.h: Declare malloc hook variables as volatile.
30869 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30873 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30874 raise in the comment.
30875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30877 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30879 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30882 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30883 grow the buffers more if it already has to be sufficient.
30884 (build_wcs_upper_buffer): Likewise.
30885 * posix/regexec.c (check_matching): Likewise.
30886 (clean_state_log_if_needed): Likewise.
30887 (extend_buffers): Don't enlarge buffers beyond size of the input
30889 Patches mostly by Emil Wojak <emil@wojak.eu>.
30890 * posix/bug-regex32.c: New file.
30891 * posix/Makefile (tests): Add bug-regex32.
30893 * locale/findlocale.c (_nl_find_locale): Return right away if
30894 _nl_explode_name failed.
30895 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30897 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30899 * debug/xtrace.sh: Unify messages.
30900 * malloc/memusage.sh: Likewise.
30903 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30904 time symbol from vDSO. Substitute with vsyscall if not available.
30905 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30908 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30909 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30910 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30911 Add sendmmsg and internal_sendmmsg.
30912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30913 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30914 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30916 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30917 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30920 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30923 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30924 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30930 * iconvdata/Makefile (tests): Add bug-iconv9.
30931 * iconvdata/bug-iconv9.c: New file.
30933 2011-05-27 Andreas Schwab <schwab@redhat.com>
30936 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30938 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30941 (struct user_regs_struct): Change intcs field back to cs.
30943 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30945 * po/ja.po: Update from translation team.
30947 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30950 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30951 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30953 2011-05-20 Andreas Schwab <schwab@redhat.com>
30955 * stdlib/longlong.h: Update from GCC.
30957 2011-05-23 Andreas Schwab <schwab@redhat.com>
30959 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30961 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30962 Add parameter name.
30963 (__sysconf): Pass it down.
30965 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30968 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30971 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30972 add in in __libc_use_alloca calls. Adjust callers.
30973 (glob): Use malloc in some situations.
30975 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30976 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30979 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30981 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30982 and CLOCK_BOOTTIME_ALARM.
30985 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30988 * string/_strerror.c (__strerror_r): Print negative errors as signed
30992 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30993 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30994 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30996 * configure.in: Fix typo in redirection and correct removal of test
30997 files in two cases.
31000 * locale/setlocale.c (new_composite_name): Fix test to check for
31001 identical name of all categories.
31004 * libio/filedoalloc.c (local_isatty): New function.
31005 (_IO_file_doallocate): Use local_isatty.
31006 * stdio-common/perror.c (perror): In case a new stream is used
31007 forward the stream error.
31008 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31011 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31016 * include/alloca.h (extend_alloca_account): Define.
31019 * posix/regex.h: Fix comments with documentation of user-accessible
31020 fields after compilation and describe correct free'ing of pattern
31021 after re_compile_pattern.
31022 Patch by Reuben Thomas <rrt@sc3d.org>.
31024 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31026 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31027 and -mno-altivec to prevent the compiler from using Altivec and/or
31028 VSX instructions when the corresponding registers are not available.
31030 2011-05-19 Andreas Schwab <schwab@redhat.com>
31032 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31034 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31036 * libio/freopen.c (freopen): Use __dup2, not dup2.
31037 * libio/freopen64.c (freopen64): Likewise.
31039 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31042 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31043 * math/Makefile (tests): Add test-powl.
31044 (CFLAGS-test-powl.c): Define.
31045 * math/test-powl.c: New file.
31047 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31049 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31051 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31054 * iconvdata/gb18030.c: Update to GB18020-2005.
31056 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31058 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31059 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31060 Patch by Aharon Robbins <arnold@skeeve.com>.
31063 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31067 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31068 through underflows.
31071 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31072 point to strings before performing equality test for error_one_per_line
31076 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31079 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31080 (struct user_fpregs_struct): Avoid __uint*_t types.
31083 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31084 symbol info. Use it instead of calling _dl_addr locally.
31085 (lock_and_info): New function.
31086 (tr_freehook): Call lock_and_info and pass symbol info as additional
31087 parameter to tr_where.
31088 (tr_mallochook): Likewise.
31089 (tr_reallochook): Likewise.
31090 (tr_memalignhook): Likewise.
31092 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31093 used and couldn't be at all thread-safe.
31095 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31097 * libio/freopen.c (freopen): Don't close old file descriptor
31098 before the new one is opened. Instead dup the new file descriptor
31099 to the old one after the new stream is created.
31100 * libio/freopen64.c (freopen64): Likewise.
31101 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31102 * libio/fileops.c (_IO_new_file_close_it): Handle new
31103 _IO_FLAGS2_NOCLOSE flag.
31104 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31105 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31106 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31107 _IO_FLAGS2_NOCLOSE flag.
31108 * include/unistd.h: Add hidden_proto for dup3.
31109 Define __have_dup3.
31110 * io/dup3.c: Define hidden symbol.
31111 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31114 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31115 when an incomplete long option is used.
31116 * posix/tst-getopt_long1.c: New file.
31117 * posix/Makefile (tests): Add tst-getopt_long1.
31120 * scripts/config.guess: Update from autoconf-2.68.
31121 * scripts/config.sub: Likewise.
31124 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31126 (has_cpuclock): ...this. New function.
31127 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31128 macro here based on has_cpuclock code.
31131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31132 First byte (not low byte) is now always NUL.
31133 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31136 Use non-cancelable interfaces.
31139 * locale/iso-639.def: Add entry for Sorani.
31142 * include/stdlib.h: Move include protection to the right place.
31143 Define abort_msg_s. Declare __abort_msg with it.
31144 * stdlib/abort.c (__abort_msg): Adjust type.
31145 * assert/assert.c (__assert_fail_base): New function. Majority
31146 of code from __assert_fail. Allocate memory for __abort_msg with
31148 (__assert_fail): Now call __assert_fail_base.
31149 * assert/assert-perr.c: Remove bulk of implementation. Use
31150 __assert_fail_base.
31151 * include/assert.hL Declare __assert_fail_base.
31152 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31154 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31156 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31160 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31161 until all modules are registered in the DTV.
31162 * elf/Makefile: Add rules to build and run tst-tls19.
31163 * elf/tst-tls19.c: New file.
31164 * elf/tst-tls19mod1.c: New file.
31165 * elf/tst-tls19mod2.c: New file.
31166 * elf/tst-tls19mod3.c: New file.
31167 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31170 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31174 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31175 two-byte sequence errors.
31176 * iconvdata/Makefile (tests): Add bug-iconv8.
31177 * iconvdata/bug-iconv8.c: New file.
31180 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31183 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31186 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31187 (dummy_getcfa): New function.
31188 (init): Get _Unwind_GetCFA address, use dummy if not found.
31189 (backtrace_helper): In recursion check, also check whether CFA changes.
31190 (__backtrace): Completely initialize arg.
31192 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31193 storing incomplete byte sequence in state object. Avoid testing for
31194 guaranteed too small input if we know there is enough data available.
31196 2011-05-11 Andreas Schwab <schwab@redhat.com>
31198 * Makeconfig (+link-pie): Indent.
31199 * Rules (binaries-pie): Define if $(have-fpie) and
31201 (binaries-shared): Also filter out $(binaries-pie).
31202 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31203 * nscd/Makefile (others-pie): Add nscd.
31204 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31205 ($(objpfx)nscd): Remove command override.
31206 * login/Makefile (others-pie): Add pt_chown.
31207 ($(objpfx)pt_chown): Remove command override.
31208 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31209 remove command overrides.
31211 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31213 * libio/tst_putwc.c: Fix error messages.
31216 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31217 currently writing and seek to current position when not.
31218 * libio/Makefile (tests): Add bug-fclose1.
31219 * libio/bug-fclose1.c: New file.
31221 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31224 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31225 don't set DF_1_NODELETE here.
31226 (do_lookup_x): When entering new entry test for copy relocation
31227 and if necessary set DF_1_NODELETE flag.
31228 * elf/tst-unique4.cc: New file.
31229 * elf/tst-unique4.h: New file.
31230 * elf/tst-unique4lib.cc: New file.
31231 * elf/Makefile: Add rules to build and run tst-unique4.
31232 Patch by Piotr Bury <pbury@goahead.com>.
31234 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31237 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31240 * misc/mntent_r.c (addmntent): Flush the stream after the output
31243 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31244 (is_trusted_path_normalize): Skip initial colon. Append slash
31245 to empty buffer. Duplicate is_trusted_path code but allow
31246 constructed patch to be prefix.
31247 (is_dst): Allow $ORIGIN followed by /.
31248 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31249 Correct testing of result of is_trusted_path_normalize
31250 (decompose_rpath): Fix warning.
31252 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31255 * grp/initgroups.c (internal_getgrouplist): When we found the service
31256 list through the initgroups entry in nsswitch.conf do not always
31257 continue on a successful lookup. Don't always use the
31258 __nss_group_database value if it is set.
31259 * nss/nsswitch.conf (initgroups): Change action for successful db
31260 lookup to continue for compatibility.
31262 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31265 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31267 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31269 * iconvdata/tst-tables.sh: Likewise.
31270 * iconvdata/cp770.c: New file.
31271 * iconvdata/cp771.c: New file.
31272 * iconvdata/cp772.c: New file.
31273 * iconvdata/cp773.c: New file.
31274 * iconvdata/cp774.c: New file.
31275 * iconvdata/testdata/CP770: New file.
31276 * iconvdata/testdata/CP770..UTF8: New file.
31277 * iconvdata/testdata/CP771: New file.
31278 * iconvdata/testdata/CP771..UTF8: New file.
31279 * iconvdata/testdata/CP772: New file.
31280 * iconvdata/testdata/CP772..UTF8: New file.
31281 * iconvdata/testdata/CP773: New file.
31282 * iconvdata/testdata/CP773..UTF8: New file.
31283 * iconvdata/testdata/CP774: New file.
31284 * iconvdata/testdata/CP774..UTF8: New file.
31286 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31288 * iconvdata/gen-8bit-gap.sh: Likewise.
31289 * iconvdata/gen-8bit.sh: Likewise.
31291 * locale/iso-639.def: Add ary entry.
31294 * locale/C-translit.h.in: Add U20A1 transliteration.
31297 * locale/iso-639.def: Add wae entry.
31298 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31301 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31305 * locale/C-translit.h.in: Add entry for U20B9.
31306 Patch by pravin.d.s@gmail.com.
31308 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31311 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31312 ENAMETOOLONG use generic getcwd.
31313 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31314 in rtld. Use *stat64.
31315 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31316 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31317 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31318 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31319 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31320 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31321 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31322 __fstatat64 macros.
31323 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31324 * dirent/rewinddir.c: Add libc_hidden_def.
31325 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31326 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31328 * include/dirent.h (__alloc_dir): Add flags parameter.
31329 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31330 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31332 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31333 from fdopendir if O_CLOEXEC is already set.
31335 2011-03-15 Alan Modra <amodra@gmail.com>
31337 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31338 l_tls_firstbyte_offset non-zero. Save padding offset in
31339 l_tls_firstbyte_offset for later use.
31340 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31341 freeing static tls block.
31343 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31345 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31346 where #ifdef was intended. The intent is to prevent ARG_MAX from
31347 being defined by the kernel headers.
31349 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31352 * resolv/resolv.h: Define RES_NOTLDQUERY.
31353 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31354 no-tld-query and set RES_NOTLDQUERY.
31355 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31356 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31357 modern BIND to search name as TLD unless forbidden.
31359 2011-05-07 Petr Baudis <pasky@suse.cz>
31360 Ulrich Drepper <drepper@gmail.com>
31363 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31364 (is_trusted_path): ...to here.
31365 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31366 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31367 using is_trusted_path_normalize() in setuid scripts.
31369 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31371 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31372 __BEGIN/__END_DECLS.
31374 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31376 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31377 NSS_STATUS_NOTFOUND if no record was found.
31379 2011-05-05 Andreas Schwab <schwab@redhat.com>
31381 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31382 (headers-not-in-tirpc): Remove rpc/netdb.h
31383 * resolv/netdb.h: Revert last change.
31385 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31387 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31388 circular dependency between libgcc.a and libc.a.
31390 2011-05-05 Andreas Schwab <schwab@redhat.com>
31392 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31393 * nis/Makefile: Don't install rpcsvc/*.
31394 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31395 instead of <rpc/types.h>.
31396 (MAXHOSTNAMELEN): Define.
31398 2011-05-03 Andreas Schwab <schwab@redhat.com>
31400 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31402 2011-04-28 Maciej Babinski <mbabinski@google.com>
31405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31406 gethostbyname4_r when IPv6 results are possible.
31408 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31411 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31412 _PC_PIPE_BUF handling.
31414 2011-04-30 Bruno Haible <bruno@clisp.org>
31417 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31418 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31420 * inet/getnameinfo.c (getnameinfo): Likewise.
31422 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31424 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31425 to groups setting in database lookup.
31426 * nss/nsswitch.conf: Add initgroups entry.
31428 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31431 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31433 Patch by Eric Blake <eblake@redhat.com>.
31435 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31437 * sunrpc/Makefile (need-export-routines): Add svc_run.
31438 (routines): Remove svc_run.
31439 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31440 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31441 * sunrpc/svc_run.c (svc_run): Likewise.
31442 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31444 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31447 problem in reallocation in last patch.
31449 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31451 * sunrpc/Makefile: Move inclusion of Rules.
31453 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31455 * nss/nss_files/files-initgroups.c: New file.
31456 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31457 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31458 _nss_files_initgroups_dyn.
31460 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31462 * elf/elf.h (R_ARM_IRELATIVE): Define.
31464 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31466 * po/ru.po: Update from translation team.
31468 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31470 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31473 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31476 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31477 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31482 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31484 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31486 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31490 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31493 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31495 * stdlib/bug-getcontext.c: New file.
31496 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31498 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31500 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31501 instructions into .machine "z9-109".
31502 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31503 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31505 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31507 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31508 between environment variables and auxiliary vector.
31510 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31512 * Makefile: Add rules to build linkobj/libc.so.
31513 * include/libc-symbols.h: Define libc_hidden_nolink.
31514 * include/rpc/auth.h: Mark functions which are to be hidden.
31515 * include/rpc/auth_des.h: Likewise.
31516 * include/rpc/auth_unix.h: Likewise.
31517 * include/rpc/clnt.h: Likewise.
31518 * include/rpc/des_crypt.h: Likewise.
31519 * include/rpc/key_prot.h: Likewise.
31520 * include/rpc/pmap_clnt.h: Likewise.
31521 * include/rpc/pmap_prot.h: Likewise.
31522 * include/rpc/pmap_rmt.h: Likewise.
31523 * include/rpc/rpc_msg.h: Likewise.
31524 * include/rpc/svc.h: Likewise.
31525 * include/rpc/svc_auth.h: Likewise.
31526 * include/rpc/xdr.h: Likewise.
31527 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31528 * nss/Makefile: Likewise.
31529 * sunrpc/Makefile: Don't install headers. Build library with normal
31530 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31531 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31532 for the compat linking library. Remove use of INTDEF/INTUSE.
31533 * sunrpc/auth_none.c: Likewise.
31534 * sunrpc/auth_unix.c: Likewise.
31535 * sunrpc/authdes_prot.c: Likewise.
31536 * sunrpc/authuxprot.c: Likewise.
31537 * sunrpc/clnt_gen.c: Likewise.
31538 * sunrpc/clnt_perr.c: Likewise.
31539 * sunrpc/clnt_raw.c: Likewise.
31540 * sunrpc/clnt_simp.c: Likewise.
31541 * sunrpc/clnt_tcp.c: Likewise.
31542 * sunrpc/clnt_udp.c: Likewise.
31543 * sunrpc/clnt_unix.c: Likewise.
31544 * sunrpc/des_crypt.c: Likewise.
31545 * sunrpc/des_soft.c: Likewise.
31546 * sunrpc/get_myaddr.c: Likewise.
31547 * sunrpc/key_call.c: Likewise.
31548 * sunrpc/key_prot.c: Likewise.
31549 * sunrpc/netname.c: Likewise.
31550 * sunrpc/pm_getmaps.c: Likewise.
31551 * sunrpc/pm_getport.c: Likewise.
31552 * sunrpc/pmap_clnt.c: Likewise.
31553 * sunrpc/pmap_prot.c: Likewise.
31554 * sunrpc/pmap_prot2.c: Likewise.
31555 * sunrpc/pmap_rmt.c: Likewise.
31556 * sunrpc/publickey.c: Likewise.
31557 * sunrpc/rpc_cmsg.c: Likewise.
31558 * sunrpc/rpc_common.c: Likewise.
31559 * sunrpc/rpc_dtable.c: Likewise.
31560 * sunrpc/rpc_prot.c: Likewise.
31561 * sunrpc/rpc_thread.c: Likewise.
31562 * sunrpc/rtime.c: Likewise.
31563 * sunrpc/svc.c: Likewise.
31564 * sunrpc/svc_auth.c: Likewise.
31565 * sunrpc/svc_authux.c: Likewise.
31566 * sunrpc/svc_raw.c: Likewise.
31567 * sunrpc/svc_run.c: Likewise.
31568 * sunrpc/svc_simple.c: Likewise.
31569 * sunrpc/svc_tcp.c: Likewise.
31570 * sunrpc/svc_udp.c: Likewise.
31571 * sunrpc/svc_unix.c: Likewise.
31572 * sunrpc/svcauth_des.c: Likewise.
31573 * sunrpc/xcrypt.c: Likewise.
31574 * sunrpc/xdr.c: Likewise.
31575 * sunrpc/xdr_array.c: Likewise.
31576 * sunrpc/xdr_float.c: Likewise.
31577 * sunrpc/xdr_intXX_t.c: Likewise.
31578 * sunrpc/xdr_mem.c: Likewise.
31579 * sunrpc/xdr_rec.c: Likewise.
31580 * sunrpc/xdr_ref.c: Likewise.
31581 * sunrpc/xdr_sizeof.c: Likewise.
31582 * sunrpc/xdr_stdio.c: Likewise.
31584 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31587 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31588 * sysdeps/ia64/dl-tls.h: Likewise.
31589 * sysdeps/powerpc/dl-tls.h: Likewise.
31590 * sysdeps/s390/dl-tls.h: Likewise.
31591 * sysdeps/sh/dl-tls.h: Likewise.
31592 * sysdeps/sparc/dl-tls.h: Likewise.
31593 * sysdeps/x86_64/dl-tls.h: Likewise.
31594 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31596 2011-03-14 Andreas Schwab <schwab@redhat.com>
31598 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31599 rpath element also skip the following colon.
31600 (expand_dynamic_string_token): Add is_path parameter and pass
31601 down to DL_DST_REQUIRED and _dl_dst_substitute.
31602 (decompose_rpath): Call expand_dynamic_string_token with
31603 non-zero is_path. Ignore empty rpaths.
31604 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31607 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31612 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31615 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31616 Patch by Filipe David Manana <fdmanana@apache.org>.
31618 2011-04-07 Andreas Schwab <schwab@redhat.com>
31620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31621 Maintain aligned stack.
31622 (CHECK_RSP): Remove unused macro.
31624 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31626 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31629 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31631 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31633 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31635 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31638 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31639 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31640 * sysdeps/x86_64/memmove.c: New file.
31641 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31642 (memcpy): Renamed to ...
31643 (__new_memcpy): This.
31644 (memcpy): Provide GLIBC_2_14 memcpy.
31645 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31646 (memcpy): Provide GLIBC_2_2_5 memcpy.
31648 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31651 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31653 2011-03-30 Andreas Schwab <schwab@redhat.com>
31655 * misc/syncfs.c: New file.
31656 * misc/Makefile (routines): Add syncfs.
31657 * posix/unistd.h: Declare syncfs.
31658 * sysdeps/unix/syscalls.list: Add syncfs.
31660 2011-04-01 Andreas Schwab <schwab@redhat.com>
31662 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31664 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31669 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31672 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31676 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31682 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31683 sync_file_range.c with -fexceptions.
31684 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31685 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31686 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31687 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31688 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31689 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31691 sync_file_range as cancellation point
31692 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31693 now a wrapper around __call_sync_file_range with cancellation handling.
31694 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31695 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31696 function name to __call_sync_file_range.
31697 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31698 Add call_sync_file_range.
31700 2011-04-01 Andreas Schwab <schwab@redhat.com>
31702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31705 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31707 * iconv/iconv.h: Fix typo in comment.
31708 * io/fcntl.h: Likewise.
31709 * libio/stdio.h: Likewise.
31710 * posix/spawn.h: Likewise.
31711 * posix/unistd.h: Likewise.
31712 * stdlib/stdlib.h: Likewise.
31713 * time/time.h: Likewise.
31714 * wcsmbs/wchar.h: Likewise.
31716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31717 open_by_handle): Add.
31718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31719 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31720 Augment a few comments.
31721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31726 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31729 * io/fcntl.h (AT_EMPTY_PATH): Define.
31731 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31733 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31734 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31735 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31737 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31738 * Versions.def: Add GLIBC_2.14.
31739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31742 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31744 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31746 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31748 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31751 * string/test-strncmp.c (do_page_test): New function.
31752 (check2): Likewise.
31753 (test_main): Call check2.
31754 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31756 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31759 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31760 Handle cache information in CPU leaf 4.
31761 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31763 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31766 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31767 character representation.
31768 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31770 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31772 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31773 END(__isnan) to END(__isnanf) to match function entry point/label
31774 EALIGN(__isnanf,...).
31776 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31778 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31780 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31783 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31784 copy from the symbol referenced in the relocation to initialize the
31786 Patch by Piotr Bury <pbury@goahead.com>.
31787 * elf/Makefile: Add rules to build and tst-unique3.
31788 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31789 * elf/tst-unique3.cc: New file.
31790 * elf/tst-unique3.h: New file.
31791 * elf/tst-unique3lib.cc: New file.
31792 * elf/tst-unique3lib2.cc: New file.
31794 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31796 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31798 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31799 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31802 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31804 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31805 to-be-loaded object along a path to loader is ld.so.
31807 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31808 Ulrich Drepper <drepper@gmail.com>
31810 * sysdeps/x86_64/memset.S: After aligning destination, code
31811 branches to different locations depending on the value of
31812 misalignment, when multiarch is enabled. Fix this.
31814 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31816 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31817 Set _x86_64_preferred_memory_instruction for AMD processsors.
31818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31819 Set bit_Prefer_SSE_for_memop for AMD processors.
31821 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31823 * libio/fmemopen.c (fmemopen): Optimize a bit.
31825 2011-03-03 Andreas Schwab <schwab@redhat.com>
31827 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31829 2011-03-03 Roland McGrath <roland@redhat.com>
31831 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31833 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31835 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31836 __bzero_ultra1 instead of __memset_ultra1.
31838 2011-02-23 Andreas Schwab <schwab@redhat.com>
31839 Ulrich Drepper <drepper@gmail.com>
31842 * include/link.h (struct link_map): Add l_orig_initfini.
31843 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31844 returning unsuccessfully.
31845 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31846 close of a file loaded at startup, restore the original l_initfini
31848 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31849 list, store the pointer.
31850 * elf/Makefile ($(objpfx)noload-mem): New rule.
31851 (noload-ENV): Define.
31852 (tests): Add $(objpfx)noload-mem.
31853 * elf/noload.c: Include <memcheck.h>.
31854 (main): Call mtrace. Close all opened handles.
31856 2011-02-17 Andreas Schwab <schwab@redhat.com>
31859 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31860 dependencies are missing.
31862 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31864 Fix __if_freereq crash: Unlike the generic version which uses free,
31866 * sysdeps/mach/hurd/ifreq.h: New file.
31868 2011-01-27 Petr Baudis <pasky@suse.cz>
31869 Ulrich Drepper <drepper@gmail.com>
31872 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31873 to extend_alloca().
31874 * stdio-common/bug23.c: New file.
31875 * stdio-common/Makefile (tests): Add bug23.
31877 2010-09-28 Andreas Schwab <schwab@redhat.com>
31878 Ulrich Drepper <drepper@gmail.com>
31881 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31882 before performing relro protection. At old place add assertion
31883 to make sure nothing changed.
31885 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31886 Glauber de Oliveira Costa <glommer@gmail.com>
31888 * elf/elf.h: Add new ARM TLS relocs.
31890 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31893 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31895 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31897 * sysdeps/wordsize-64/tst-writev.c: New file.
31899 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31901 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31902 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31903 insns in _dl_start to prevent a TOC reference before relocs are
31906 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31909 * Makeconfig: Remove RANLIB definition.
31910 * Makerules: Don't use RANLIB.
31911 * aclocal.m4: Remove ranlib test.
31912 * configure.in: No need to check for ranlib.
31913 * elf/rtld-Rules: Don't use RANLIB.
31915 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31917 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31919 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31920 inclusion protection macro.
31922 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31923 SIGRTMIN and SIGRTMAX and print information in that case only when
31924 SIGRTMIN is defined.
31926 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31928 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31929 arginfo fn returning -1.
31931 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31932 and thousands string is zero terminated.
31934 2011-02-03 Andreas Schwab <schwab@redhat.com>
31936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31937 sysdeps/unix/sysv/linux/bits/socket.h.
31939 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31941 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31942 (__CPU_COUNT): Remove old macros.
31943 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31944 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31945 (__CPU_ALLOC, __CPU_FREE): Add macros.
31946 (__sched_cpualloc, __sched_cpufree): Add declarations.
31948 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31950 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31951 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31952 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31953 (readdhstai): Return value of addhstaiX call.
31954 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31955 (addgrbyX): Return value returned by cache_addgr.
31956 (readdgrbyname): Return value returned by addgrbyX.
31957 (readdgrbygid): Likewise.
31958 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31959 (addpwbyX): Return value returned by cache_addpw.
31960 (readdpwbyname): Return value returned by addhstbyX.
31961 (readdpwbyuid): Likewise.
31962 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31963 (addservbyX): Return value returned by cache_addserv.
31964 (readdservbyname): Return value returned by addservbyX:
31965 (readdservbyport): Likewise.
31966 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31967 (addhstbyX): Return value returned by cache_addhst.
31968 (readdhstbyname): Return value returned by addhstbyX.
31969 (readdhstbyaddr): Likewise.
31970 (readdhstbynamev6): Likewise.
31971 (readdhstbyaddrv6): Likewise.
31972 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31973 (readdinitgroups): Return value returned by addinitgroupsX.
31974 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31975 (prune_cache): Keep track of timeout value of re-added entries.
31976 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31977 * nscd/nscd.h: Adjust prototypes of readd* functions.
31979 2011-02-04 Roland McGrath <roland@redhat.com>
31981 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31982 (nis_stats): Likewise.
31983 * nis/nis_modify.c (nis_modify): Likewise.
31984 * nis/nis_remove.c (nis_remove): Likewise.
31985 * nis/nis_add.c (nis_add): Likewise.
31987 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31989 * posix/fnmatch_loop.c: Add some consts.
31991 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31993 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31996 * config.make.in (config-cflags-novzeroupper): Define.
31997 * configure.in: Substitute libc_cv_cc_novzeroupper.
31998 * elf/Makefile (AVX-CFLAGS): Define.
31999 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32000 (CFLAGS-tst-auditmod4a.c): Likewise.
32001 (CFLAGS-tst-auditmod4b.c): Likewise.
32002 (CFLAGS-tst-auditmod6b.c): Likewise.
32003 (CFLAGS-tst-auditmod6c.c): Likewise.
32004 (CFLAGS-tst-auditmod7b.c): Likewise.
32005 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32007 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32009 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32010 function to the callback.
32011 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32013 2011-02-02 Andreas Schwab <schwab@redhat.com>
32015 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32018 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32021 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32023 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32025 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32028 * elf/Makefile: Add rules to build and run new test.
32029 * elf/tst-initorder.c: New file.
32030 * elf/tst-initorder.exp: New file.
32031 * elf/tst-initordera1.c: New file.
32032 * elf/tst-initordera2.c: New file.
32033 * elf/tst-initordera3.c: New file.
32034 * elf/tst-initordera4.c: New file.
32035 * elf/tst-initorderb1.c: New file.
32036 * elf/tst-initorderb2.c: New file.
32037 * elf/tst-order-a1.c: New file.
32038 * elf/tst-order-a2.c: New file.
32039 * elf/tst-order-a3.c: New file.
32040 * elf/tst-order-a4.c: New file.
32041 * elf/tst-order-b1.c: New file.
32042 * elf/tst-order-b2.c: New file.
32043 * elf/tst-order-main.c: New file.
32044 New test case by George Gensure <werkt0@gmail.com>.
32046 2010-10-01 Andreas Schwab <schwab@redhat.com>
32048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32049 decoding ACE if AI_CANONIDN.
32051 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32053 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32055 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32057 * version.h (RELEASE): Bump for 2.13 release.
32058 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32060 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32062 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32064 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32066 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32067 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32068 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32071 * posix/getconf.c: Update copyright year.
32072 * catgets/gencat.c: Likewise.
32073 * csu/version.c: Likewise.
32074 * debug/catchsegv.sh: Likewise.
32075 * debug/xtrace.sh: Likewise.
32076 * elf/ldconfig.c: Likewise.
32077 * elf/ldd.bash.in: Likewise.
32078 * elf/sprof.c (print_version): Likewise.
32079 * iconv/iconv_prog.c: Likewise.
32080 * iconv/iconvconfig.c: Likewise.
32081 * locale/programs/locale.c: Likewise.
32082 * locale/programs/localedef.c: Likewise.
32083 * malloc/memusage.sh: Likewise.
32084 * malloc/mtrace.pl: Likewise.
32085 * nscd/nscd.c (print_version): Likewise.
32086 * nss/getent.c: Likewise.
32088 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32089 PF_CAIF, and PF_ALG.
32090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32092 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32094 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32095 (modules-names): Use them.
32096 (ifunc-test-modules, ifunc-pie-tests): Define.
32097 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32098 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32099 (test-extras): Likewise.
32100 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32101 $(compile-command.c).
32102 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32103 (all-built-dso): Define.
32104 (check-textrel.out, check-execstack.out): Depend on it.
32106 * configure.in: Don't override --enable-multi-arch.
32108 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32111 * nscd/hstcache.c (tryagain): Define.
32112 (cache_addhst): Return tryagain not notfound for temporary errors.
32113 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32116 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32119 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32120 to make the syscall.
32121 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32124 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32125 and fall back to matching as normal character if the string ends before
32126 the matching ']' is found. This is what POSIX requires.
32127 * posix/testfnm.c: Adjust test result.
32128 * posix/globtest.sh: Adjust test result. Add new test.
32129 * posix/tst-fnmatch.input: Likewise.
32130 * posix/tst-fnmatch2.c: Add new test.
32132 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32134 * elf/Makefile (check-execstack): Revert last change. Depend on
32136 (check-execstack.h): New target.
32137 (generated): Add check-execstack.h.
32138 * elf/check-execstack.c: Include "check-execstack.h".
32139 (main): Revert last change.
32140 (handle_file): Return zero if GNU_STACK is absent and
32141 DEFAULT_STACK_PERMS doesn't include PF_X.
32143 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32145 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32146 in child fails because the descriptor is already closed.
32147 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32148 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32152 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32156 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32157 temporary buffer used to handle multi lookups locally.
32158 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32160 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32162 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32165 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32167 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32168 alignment for SSE2.
32170 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32173 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32174 characters. When rounding increased number of integer digits recompute
32176 * stdio-common/tst-grouping.c: New file.
32177 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32179 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32181 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32182 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32184 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32186 * bits/select.h: Likewise.
32188 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32190 * po/ja.po: Update from translation team.
32192 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32195 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32196 implementation just like for lxstat, fxstatat, et al.
32198 2010-12-27 Jim Meyering <meyering@redhat.com>
32201 * posix/regexec.c (build_trtable): Return failure indication upon
32202 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32204 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32207 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32208 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32213 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32216 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32217 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32219 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32221 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32222 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32223 script has SORT_BY_INIT_PRIORITY.
32224 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32225 NO_CTORS_DTORS_SECTIONS is defined.
32226 * elf/soinit.c: Likewise.
32227 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32228 NO_CTORS_DTORS_SECTIONS is defined.
32229 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32230 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32231 * sysdeps/sh/init-first.c: Likewise.
32232 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32234 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32236 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32237 always use the slow path.
32239 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32241 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32242 similar rule which adds the sysdep directories to the header search in
32243 order to pick up the correct platform stackinfo.h.
32244 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32245 perform test if it is, otherwise return successfully without testing.
32246 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32247 DEFAULT_STACK_PERMS define in stackinfo.h.
32248 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32249 defined in stackinfo.h.
32250 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32251 DEFAULT_STACK_PERMS defined in stackinfo.h.
32252 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32253 * sysdeps/ia64/stackinfo.h: Likewise.
32254 * sysdeps/s390/stackinfo.h: Likewise.
32255 * sysdeps/sh/stackinfo.h: Likewise.
32256 * sysdeps/sparc/stackinfo.h: Likewise.
32257 * sysdeps/x86_64/stackinfo.h: Likewise.
32258 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32259 PF_X for powerpc64. Retain PF_X for powerpc32.
32261 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32263 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32265 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32266 GETDENTS_64BIT_ALIGNED.
32268 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32270 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32272 2010-12-10 Andreas Schwab <schwab@redhat.com>
32274 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32277 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32278 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32280 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32281 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32283 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32286 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32289 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32291 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32293 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32295 * po/it.po: Update from translation team.
32297 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32302 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32304 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32306 2010-11-24 Andreas Schwab <schwab@redhat.com>
32308 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32310 (gaih_getanswer_slice): Likewise.
32312 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32316 2010-05-31 Petr Baudis <pasky@suse.cz>
32319 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32320 silently even in the chroot mode.
32322 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32324 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32325 last patch a bit. Pretty printing
32327 2010-05-31 Petr Baudis <pasky@suse.cz>
32330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32331 initialization of skip_initgroups_dyn.
32333 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32335 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32336 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32338 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32340 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32342 2010-11-11 Andreas Schwab <schwab@redhat.com>
32344 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32345 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32346 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32347 ($(objpfx)tst-fnmatch-mem): New rule.
32348 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32349 * posix/tst-fnmatch.c (main): Call mtrace.
32351 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32354 Support Intel processor model 6 and model 0x2c.
32356 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32358 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32361 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32364 * string/test-strncasecmp.c (check_result): New function.
32365 (do_one_test): Use it.
32366 (check1): New function.
32367 (test_main): Use it.
32368 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32369 Support strcasecmp and strncasecmp.
32371 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32374 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32377 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32379 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32383 * sysdeps/x86_64/multiarch/bzero.S: New file.
32384 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32385 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32386 * sysdeps/x86_64/multiarch/memset.S: New file.
32387 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32389 Set bit_Prefer_SSE_for_memop for Intel processors.
32390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32392 (index_Prefer_SSE_for_memop): Define.
32393 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32395 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32397 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32398 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32400 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32403 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32404 (__x86_64_raw_data_cache_size_half): Likewise.
32405 (__x86_64_raw_shared_cache_size): Likewise.
32406 (__x86_64_raw_shared_cache_size_half): Likewise.
32408 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32409 (__x86_64_raw_data_cache_size_half): Likewise.
32410 (__x86_64_raw_shared_cache_size): Likewise.
32411 (__x86_64_raw_shared_cache_size_half): Likewise.
32412 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32413 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32414 and __x86_64_raw_shared_cache_size_half. Round
32415 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32416 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32417 to multiple of 256 bytes.
32419 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32422 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32423 of inacessible symlinks. Verify result of symlink before returning it.
32424 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32425 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32427 2010-10-28 Erich Ritz <erichritz@gmail.com>
32429 * math/math.h (isinf): Fix typo in comment.
32431 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32433 * po/da.po: Update from translation team.
32435 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32437 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32438 is added to the list.
32440 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32441 Ulrich Drepper <drepper@gmail.com>
32443 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32444 the global list here. Move code to...
32445 (_dl_add_to_namespace_list): ...here. New function.
32446 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32447 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32448 * elf/dl-load.c (lose): Don't remove the element from the list.
32449 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32450 (_dl_map_object): Likewise.
32452 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32455 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32456 into all bytes of SSE register.
32457 Patch by Richard Li <richardpku@gmail.com>.
32459 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32462 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32465 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32467 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32468 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32469 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32470 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32475 2010-10-22 Andreas Schwab <schwab@redhat.com>
32477 * include/dlfcn.h (__RTLD_SECURE): Define.
32478 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32479 mode & __RTLD_SECURE instead.
32480 (open_path): Rename preloaded parameter to secure.
32481 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32482 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32483 * elf/dl-deps.c (openaux): Likewise.
32484 * elf/rtld.c (struct map_args): Remove is_preloaded.
32485 (map_doit): Don't use it.
32486 (dl_main): Likewise.
32487 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32488 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32490 2010-09-09 Andreas Schwab <schwab@redhat.com>
32492 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32493 (sysd-rules-targets): Remove duplicates.
32494 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32495 rtld-%.$o dependency.
32497 2010-10-18 Andreas Schwab <schwab@redhat.com>
32499 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32500 _dl_map_object do it.
32502 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32504 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32505 fast fma builtins, define the macros in the C99 standard.
32506 (FP_FAST_FMAF): Likewise.
32507 (FP_FAST_FMAL): Likewise.
32508 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32510 * bits/mathdef.h: Update copyright year.
32511 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32513 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32515 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32516 builtins, define the macros in the C99 standard.
32517 (FP_FAST_FMAF): Likewise.
32518 (FP_FAST_FMAL): Likewise.
32519 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32521 (FP_FAST_FMAF): Likewise.
32523 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32526 * math/libm-test.inc (fma_test): Some new testcases.
32527 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32528 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32529 y and infinite z. Do multiplication by C already in long double.
32530 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32532 y and infinite z. Do bitwise or of inexact bit into u.d.
32533 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32534 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32535 * sysdeps/i386/fpu/s_fma.S: Removed.
32536 * sysdeps/i386/fpu/s_fmal.S: Removed.
32538 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32541 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32543 computation is not scheduled after fetestexcept. Fix value
32544 of minimum denormal long double.
32546 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32549 * math/libm-test.inc (fma_test): Add some more tests.
32550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32553 2010-10-15 Andreas Schwab <schwab@redhat.com>
32555 * scripts/data/localplt-s390-linux-gnu.data: New file.
32556 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32558 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32561 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32562 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32564 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32566 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32568 if one of x and y is very large and the other is subnormal.
32569 * sysdeps/s390/fpu/s_fmaf.c: New file.
32570 * sysdeps/s390/fpu/s_fma.c: New file.
32571 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32572 * sysdeps/powerpc/fpu/s_fma.S: New file.
32573 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32574 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32575 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32577 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32580 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32582 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32583 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32584 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32585 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32586 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32587 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32590 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32593 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32594 * posix/bug-regex31.input: Add test case.
32596 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32598 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32599 * posix/bug-regex31.input: New file.
32602 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32603 (parse_sub_exp): Fix last change, use postorder.
32605 * posix/bug-regex31.c: New file.
32606 * posix/Makefile: Add rules to build and run bug-regex31.
32608 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32611 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32614 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32615 to have entries in sys_siglist.
32618 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32621 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32624 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32625 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32626 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32627 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32628 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32629 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32630 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32631 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32632 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32633 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32634 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32635 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32636 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32637 * math/ftestexcept.c (fetestexcept): Likewise.
32638 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32639 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32640 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32641 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32642 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32643 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32644 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32646 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32649 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32652 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32654 * string/bug-strstr1.c: New file.
32655 * string/Makefile: Add rules to build and run bug-strstr1.
32657 2010-10-05 Eric Blake <eblake@redhat.com>
32660 * string/str-two-way.h (two_way_long_needle): Always clear memory
32661 when skipping input due to the shift table.
32663 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32666 * malloc/mcheck.c: Handle large requests.
32669 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32670 for strncmp and strncasecmp.
32671 * string/stratcliff.c: Add tests for strcmp and strncmp.
32672 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32674 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32676 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32679 2010-09-30 Andreas Jaeger <aj@suse.de>
32681 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32682 (CGROUP_SUPER_MAGIC): Define.
32683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32684 Handle btrfs and cgroup file systems.
32685 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32688 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32690 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32691 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32693 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32696 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32697 trying to locate the ELF header.
32699 2010-09-27 Andreas Schwab <schwab@redhat.com>
32702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32703 Mask out sign-bit copies when constructing f_fsid.
32705 2010-09-24 Petr Baudis <pasky@suse.cz>
32707 * debug/stack_chk_fail_local.c: Add missing licence exception.
32708 * debug/warning-nop.c: Likewise.
32710 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32713 implementing getdents64 using getdents syscall, set d_type if
32714 __ASSUME_GETDENTS32_D_TYPE.
32716 2010-09-16 Andreas Schwab <schwab@redhat.com>
32718 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32719 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32721 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32724 * posix/unistd.h: Undo change of feature selection for ftruncate from
32727 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32729 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32732 2010-09-20 Andreas Schwab <schwab@redhat.com>
32734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32736 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32738 2010-09-14 Andreas Schwab <schwab@redhat.com>
32740 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32741 variables after CHECK_SP call.
32742 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32744 2010-09-13 Andreas Schwab <schwab@redhat.com>
32745 Ulrich Drepper <drepper@redhat.com>
32747 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32748 re-relocationg ld.so.
32749 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32750 _dl_init_paths call.
32751 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32754 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32756 * resolv/res_init.c (__res_vinit): Count the default server we added.
32758 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32759 Ulrich Drepper <drepper@redhat.com>
32762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32763 (____longjmp_chk): Use %ebx for saving value across system call.
32766 2010-09-06 Andreas Schwab <schwab@redhat.com>
32768 * manual/Makefile: Don't mix pattern rules with normal rules.
32770 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32772 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32774 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32775 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32776 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32777 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32781 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32784 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32785 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32787 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32789 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32790 * sysdeps/x86_64/addmul_1.S: Likewise.
32791 * sysdeps/x86_64/lshift.S: Likewise.
32792 * sysdeps/x86_64/mul_1.S: Likewise.
32793 * sysdeps/x86_64/rshift.S: Likewise.
32794 * sysdeps/x86_64/sub_n.S: Likewise.
32795 * sysdeps/x86_64/submul_1.S: Likewise.
32797 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32799 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32800 Define __sched_param instead of SCHED_* and sched_param when
32801 <bits/sched.h> is included with __need_schedparam defined.
32802 * bits/sched.h [__need_schedparam]
32803 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32804 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32805 (__defined_schedparam): Define to 1.
32806 (__sched_param): New structure, identical to sched_param.
32807 (__need_schedparam): Undefine.
32809 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32811 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32812 (epoll_create1): Declare.
32814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32816 2010-08-31 Andreas Schwab <schwab@redhat.com>
32819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32820 shifting retval into place.
32822 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32824 * nis/rpcsvc/nis.h: Update copyright notice.
32825 * nis/rpcsvc/nis.x: Likewise.
32826 * nis/rpcsvc/nis_callback.h: Likewise.
32827 * nis/rpcsvc/nis_callback.x: Likewise.
32828 * nis/rpcsvc/nis_object.x: Likewise.
32829 * nis/rpcsvc/nis_tags.h: Likewise.
32830 * nis/rpcsvc/yp.h: Likewise.
32831 * nis/rpcsvc/yp.x: Likewise.
32832 * nis/rpcsvc/ypupd.h: Likewise.
32833 * nis/yp_xdr.c: Likewise.
32834 * nis/ypupdate_xdr.c: Likewise.
32836 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32837 mainly the body of pmap_getport. Add parameters to specify timeouts.
32838 (pmap_getport): Use __libc_rpc_getport.
32839 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32840 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32841 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32843 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32848 2010-08-27 Roland McGrath <roland@redhat.com>
32850 * sysdeps/i386/i686/multiarch/Makefile
32851 (CFLAGS-varshift.c): New variable.
32853 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32855 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32856 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32858 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32860 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32862 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32864 * sysdeps/x86_64/strlen.S: Unroll the loop.
32865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32866 strlen-sse2 strlen-sse2-bsf.
32867 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32868 __strlen_no_bsf if bit_Slow_BSF is set.
32869 (__strlen_sse42): Removed.
32870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32871 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32873 2010-08-25 Roland McGrath <roland@redhat.com>
32875 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32876 * sysdeps/x86_64/multiarch/varshift.c: New file.
32877 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32878 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32879 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32880 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32882 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32885 strlen-sse2 strlen-sse2-bsf.
32886 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32887 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32888 (__strlen_sse2): Removed.
32889 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32892 bit_Slow_BSF for Atom.
32893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32894 (index_Slow_BSF): Define.
32895 (HAS_SLOW_BSF): Define.
32897 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32900 * resolv/res_init.c (__res_vinit): When no server address at all
32901 is given default to loopback.
32903 2010-08-24 Roland McGrath <roland@redhat.com>
32905 * configure.in: Remove config-name.h generation.
32906 * configure: Regenerated.
32907 * config-name.in: File removed.
32908 * scripts/config-uname.sh: New file.
32909 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32910 ($(objdir)config-name.h): New target.
32912 * sunrpc/rpc_parse.h: Avoid nested comment.
32914 2010-08-24 Richard Henderson <rth@redhat.com>
32915 Ulrich Drepper <drepper@redhat.com>
32916 H.J. Lu <hongjiu.lu@intel.com>
32918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32920 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32921 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32922 _mm_alignr_epi8 with _mm_loadu_si128.
32923 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32924 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32925 (__m128i_shift_right): Removed.
32926 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32927 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32928 * sysdeps/x86_64/multiarch/varshift.h: New file.
32929 * sysdeps/x86_64/multiarch/varshift.S: New file.
32931 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32933 * configure.in: Move assembler checks to before sysdep dir checking.
32935 2010-08-20 Petr Baudis <pasky@suse.cz>
32937 * LICENSES: Sync the sunrpc license.
32939 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32941 * sunrpc/auth_des.c: Update copyright notice once again.
32942 * sunrpc/auth_none.c: Likewise.
32943 * sunrpc/auth_unix.c: Likewise.
32944 * sunrpc/authdes_prot.c: Likewise.
32945 * sunrpc/authuxprot.c: Likewise.
32946 * sunrpc/bindrsvprt.c: Likewise.
32947 * sunrpc/clnt_gen.c: Likewise.
32948 * sunrpc/clnt_perr.c: Likewise.
32949 * sunrpc/clnt_raw.c: Likewise.
32950 * sunrpc/clnt_simp.c: Likewise.
32951 * sunrpc/clnt_tcp.c: Likewise.
32952 * sunrpc/clnt_udp.c: Likewise.
32953 * sunrpc/clnt_unix.c: Likewise.
32954 * sunrpc/des_crypt.c: Likewise.
32955 * sunrpc/des_soft.c: Likewise.
32956 * sunrpc/get_myaddr.c: Likewise.
32957 * sunrpc/getrpcport.c: Likewise.
32958 * sunrpc/key_call.c: Likewise.
32959 * sunrpc/key_prot.c: Likewise.
32960 * sunrpc/openchild.c: Likewise.
32961 * sunrpc/pm_getmaps.c: Likewise.
32962 * sunrpc/pm_getport.c: Likewise.
32963 * sunrpc/pmap_clnt.c: Likewise.
32964 * sunrpc/pmap_prot.c: Likewise.
32965 * sunrpc/pmap_prot2.c: Likewise.
32966 * sunrpc/pmap_rmt.c: Likewise.
32967 * sunrpc/rpc/auth.h: Likewise.
32968 * sunrpc/rpc/auth_unix.h: Likewise.
32969 * sunrpc/rpc/clnt.h: Likewise.
32970 * sunrpc/rpc/des_crypt.h: Likewise.
32971 * sunrpc/rpc/key_prot.h: Likewise.
32972 * sunrpc/rpc/netdb.h: Likewise.
32973 * sunrpc/rpc/pmap_clnt.h: Likewise.
32974 * sunrpc/rpc/pmap_prot.h: Likewise.
32975 * sunrpc/rpc/pmap_rmt.h: Likewise.
32976 * sunrpc/rpc/rpc.h: Likewise.
32977 * sunrpc/rpc/rpc_des.h: Likewise.
32978 * sunrpc/rpc/rpc_msg.h: Likewise.
32979 * sunrpc/rpc/svc.h: Likewise.
32980 * sunrpc/rpc/svc_auth.h: Likewise.
32981 * sunrpc/rpc/types.h: Likewise.
32982 * sunrpc/rpc/xdr.h: Likewise.
32983 * sunrpc/rpc_clntout.c: Likewise.
32984 * sunrpc/rpc_cmsg.c: Likewise.
32985 * sunrpc/rpc_common.c: Likewise.
32986 * sunrpc/rpc_cout.c: Likewise.
32987 * sunrpc/rpc_dtable.c: Likewise.
32988 * sunrpc/rpc_hout.c: Likewise.
32989 * sunrpc/rpc_main.c: Likewise.
32990 * sunrpc/rpc_parse.c: Likewise.
32991 * sunrpc/rpc_parse.h: Likewise.
32992 * sunrpc/rpc_prot.c: Likewise.
32993 * sunrpc/rpc_sample.c: Likewise.
32994 * sunrpc/rpc_scan.c: Likewise.
32995 * sunrpc/rpc_scan.h: Likewise.
32996 * sunrpc/rpc_svcout.c: Likewise.
32997 * sunrpc/rpc_tblout.c: Likewise.
32998 * sunrpc/rpc_util.c: Likewise.
32999 * sunrpc/rpc_util.h: Likewise.
33000 * sunrpc/rpcinfo.c: Likewise.
33001 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33002 * sunrpc/rpcsvc/key_prot.x: Likewise.
33003 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33004 * sunrpc/rpcsvc/mount.x: Likewise.
33005 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33006 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33007 * sunrpc/rpcsvc/rex.x: Likewise.
33008 * sunrpc/rpcsvc/rstat.x: Likewise.
33009 * sunrpc/rpcsvc/rusers.x: Likewise.
33010 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33011 * sunrpc/rpcsvc/spray.x: Likewise.
33012 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33013 * sunrpc/rtime.c: Likewise.
33014 * sunrpc/svc.c: Likewise.
33015 * sunrpc/svc_auth.c: Likewise.
33016 * sunrpc/svc_authux.c: Likewise.
33017 * sunrpc/svc_raw.c: Likewise.
33018 * sunrpc/svc_run.c: Likewise.
33019 * sunrpc/svc_simple.c: Likewise.
33020 * sunrpc/svc_tcp.c: Likewise.
33021 * sunrpc/svc_udp.c: Likewise.
33022 * sunrpc/svc_unix.c: Likewise.
33023 * sunrpc/svcauth_des.c: Likewise.
33024 * sunrpc/xcrypt.c: Likewise.
33025 * sunrpc/xdr.c: Likewise.
33026 * sunrpc/xdr_array.c: Likewise.
33027 * sunrpc/xdr_float.c: Likewise.
33028 * sunrpc/xdr_mem.c: Likewise.
33029 * sunrpc/xdr_rec.c: Likewise.
33030 * sunrpc/xdr_ref.c: Likewise.
33031 * sunrpc/xdr_sizeof.c: Likewise.
33032 * sunrpc/xdr_stdio.c: Likewise.
33034 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33037 2010-08-19 Andreas Schwab <schwab@redhat.com>
33039 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33041 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33043 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33046 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33047 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33048 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33049 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33050 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33053 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33055 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33056 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33058 2010-07-26 Anton Blanchard <anton@samba.org>
33060 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33061 * malloc/arena.c (heap_trim): Likewise.
33063 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33065 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33068 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33070 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33072 * sysdeps/i386/elf/Makefile: New file.
33074 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33076 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33077 from fanotify_init.
33078 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33081 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33083 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33085 * sysdeps/multiarch/strcmp.S: Likewise.
33087 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33090 strncase_l-nonascii.
33091 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33092 Add strncase_l-ssse3.
33093 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33094 * sysdeps/x86_64/strcmp.S: Likewise.
33095 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33096 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33097 * sysdeps/x86_64/strncase.S: New file.
33098 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33099 * sysdeps/x86_64/strncase_l.S: New file.
33100 * string/Makefile (strop-tests): Add strncasecmp.
33101 * string/test-strncasecmp.c: New file.
33103 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33106 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33107 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33109 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33111 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33113 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33115 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33117 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33119 2010-05-01 Alan Modra <amodra@gmail.com>
33121 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33122 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33123 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33124 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33125 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33126 tidying. Don't tail-call __sigjmp_save for static lib.
33127 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33129 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33130 (CALL_MCOUNT): Add eh info, and nop after bl.
33131 (TAIL_CALL_SYSCALL_ERROR): New macro.
33132 (PSEUDO_RET): Use it.
33133 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33134 Correct save location of integer regs and cr.
33135 (_dl_profile_resolve): Correct cr save location. Delete nops
33136 after bl when SHARED. Reduce cfi size a little by better
33137 placement of cfi directives.
33138 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33139 make a stack frame. Instead use parm save area as a temp.
33140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33141 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33143 Don't make a stack frame for parent, use parm save area.
33144 Increase child stack frame to 112 bytes. Don't save unused reg,
33145 and adjust reg usage. Set up cfi on error recovery and
33146 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33148 (__makecontext): Add dummy nop after jump to exit.
33149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33150 Use correct parm save area and cr save, reduce stack frame.
33151 Correct cfi for possible PSEUDO_RET frame setup.
33152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33153 Branch to local label emitted by PSEUDO_RET rather than
33156 2010-08-12 Andreas Schwab <schwab@redhat.com>
33159 * locale/programs/locale.c (print_assignment): New function.
33160 (show_locale_vars): Use it.
33162 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33164 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33166 (struct statfs64): Likewise.
33167 (_STATFS_F_FLAGS): Define.
33168 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33170 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33171 (ST_VALID): Define locally.
33172 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33173 __statvfs_getflags, use the provided value.
33174 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33175 __ASSUME_STATFS_F_FLAGS.
33177 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33179 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33180 Add sys/fanotify.h.
33181 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33182 fanotify_mask for GLIBC_2.13.
33183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33184 fanotify_init and fanotify_mark.
33185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33186 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33188 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33190 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33191 prlimit64 for GLIBC_2.13.
33192 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33197 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33198 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33199 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33202 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33205 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33206 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33208 * nss/Makefile: Add rules to build and run tst-nss-test1.
33209 * shlib-versions: Add entry for libnss_test1.
33210 * nss/nss_test1.c: New file.
33211 * nss/tst-nss-test1.c: New file.
33213 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33214 (__nss_configure_lookup): Set appropriate entry in
33215 __nss_configure_lookup to true.
33216 * nss/nsswitch.h: Define enum with indeces of databases in
33217 databases and __nss_database_custom arrays. Declare
33218 __nss_database_custom.
33219 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33220 to avoid using nscd when custom rules are installed.
33221 * nss/getXXbyYY_r.c: Likewise.
33222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33224 * nss/nss_files/files-parse.c: Whitespace fixes.
33226 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33229 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33230 * posix/fnmatch_loop.c: Likewise.
33232 2010-07-17 Andi Kleen <ak@linux.intel.com>
33234 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33235 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33236 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33237 * Versions.def [GLIBC_2.13]: Add.
33239 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33241 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33242 Also fail if tpwd after pwuid call is NULL.
33244 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33246 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33247 when converting to ms.
33249 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33251 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33252 EOPNOTSUPP errors with ENOTTY.
33253 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33254 EOPNOTSUPP errors with ENOTTY.
33256 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33258 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33259 Add strcasecmp_l-ssse3.
33260 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33262 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33263 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33264 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33266 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33268 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33270 * string/Makefile (strop-tests): Add strcasecmp.
33271 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33272 strcasecmp_l-nonascii.
33273 (gen-as-const-headers): Add locale-defines.sym.
33274 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33275 * sysdeps/x86_64/strcasecmp.S: New file.
33276 * sysdeps/x86_64/strcasecmp_l.S: New file.
33277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33278 * sysdeps/x86_64/locale-defines.sym: New file.
33279 * string/test-strcasecmp.c: New file.
33281 * string/test-strcasestr.c: Test both ends of the range of characters.
33282 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33284 2010-07-29 Roland McGrath <roland@redhat.com>
33287 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33289 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33291 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33294 2010-07-27 Andreas Schwab <schwab@redhat.com>
33296 * manual/memory.texi (Malloc Tunable Parameters): Document
33299 2010-07-26 Roland McGrath <roland@redhat.com>
33302 * configure.in (-fgnu89-inline check): Set and substitute
33303 gnu89_inline, not libc_cv_gnu89_inline.
33304 * configure: Regenerated.
33305 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33307 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33309 * string/test-strnlen.c: New file.
33310 * string/Makefile (strop-tests): Add strnlen.
33311 * string/tester.c (test_strnlen): Add a few more test cases.
33312 * string/tst-strlen.c: Better error reporting.
33314 * sysdeps/x86_64/strnlen.S: New file.
33316 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33318 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33319 lower-latency instructions.
33321 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33323 * string/test-strcasestr.c: New file.
33324 * string/test-strstr.c: New file.
33325 * string/Makefile (strop-tests): Add strstr and strcasestr.
33326 * string/str-two-way.h: Don't undefine MAX.
33327 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33329 2010-07-21 Andreas Schwab <schwab@redhat.com>
33331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33332 strcasestr-nonascii.
33333 (CFLAGS-strcasestr-nonascii.c): Define.
33334 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33336 Remove unused attribute.
33338 2010-07-20 Roland McGrath <roland@redhat.com>
33340 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33341 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33342 ld.so.cache was broken. With it, there is no way to disable dsocaps
33343 like LD_HWCAP_MASK can disable hwcaps.
33345 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33347 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33349 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33351 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33352 call in strcasestr.
33353 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33354 __strcasestr_sse42_nonascii.
33355 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33356 strcasestr-nonascii.c.
33357 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33359 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33363 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33366 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33371 2010-07-06 Andreas Schwab <schwab@redhat.com>
33374 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33377 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33379 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33380 _PC_PIPE_BUF using F_GETPIPE_SZ.
33382 2010-07-05 Roland McGrath <roland@redhat.com>
33384 * manual/arith.texi (Rounding Functions): Fix rint description
33385 implicit in round description.
33387 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33389 * elf/Makefile: Fix linking for a few tests to make recent linker
33392 2010-06-30 Andreas Schwab <schwab@redhat.com>
33394 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33395 $(common-objpfx)libc_nonshared.a.
33397 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33399 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33400 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33401 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33402 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33403 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33404 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33405 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33406 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33421 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33422 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33423 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33424 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33425 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33426 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33427 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33428 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33429 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33430 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33431 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33432 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33448 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33450 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33451 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33452 * string/memmove.c (memmove): Renamed to ...
33453 (MEMMOVE): ...this. Default to memmove.
33454 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33455 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33458 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33459 mempcpy-ssse3-back memmove-ssse3-back.
33460 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33463 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33464 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33465 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33466 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33467 * sysdeps/x86_64/multiarch/memmove.c: New file.
33468 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33469 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33470 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33471 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33472 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33475 (index_Fast_Copy_Backward): Define.
33476 (HAS_ARCH_FEATURE): Define.
33477 (HAS_FAST_REP_STRING): Define.
33478 (HAS_FAST_COPY_BACKWARD): Define.
33480 2010-06-21 Andreas Schwab <schwab@redhat.com>
33482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33483 Restore proper fallback handling.
33485 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33488 * posix/group_member.c (__group_member): Correct checking loop.
33490 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33491 OOM in getpwuid_r correctly. Return error number when the caller
33492 should return, otherwise -1.
33493 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33494 call returning > 0 value.
33495 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33497 2010-06-07 Andreas Schwab <schwab@redhat.com>
33499 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33500 libc_nonshared.a from targets in modules-names.
33502 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33504 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33507 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33514 2010-06-02 Andreas Schwab <schwab@redhat.com>
33516 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33518 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33520 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33522 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33526 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33529 2010-06-14 Roland McGrath <roland@redhat.com>
33531 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33533 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33535 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33536 __REDIRECT followed by __THROW.
33537 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33538 * posix/getopt.h (getopt): Likewise.
33540 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33542 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33543 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33544 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33546 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33547 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33549 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33553 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33557 Properly check family and model.
33559 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33561 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33563 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33565 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33567 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33569 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33572 2010-05-19 Andreas Schwab <schwab@redhat.com>
33574 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33577 2010-05-21 Andreas Schwab <schwab@redhat.com>
33579 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33580 and internal_recvmmsg.
33581 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33582 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33583 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33584 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33586 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33587 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33588 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33590 2010-05-20 Andreas Schwab <schwab@redhat.com>
33592 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33594 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33596 POWER7 optimizations.
33597 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33598 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33600 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33602 * version.h: Update for 2.13 development version.
33604 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33606 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33607 exceptions. Return 0.
33609 2010-05-07 Roland McGrath <roland@redhat.com>
33611 * elf/ldconfig.c (main): Add a const.
33613 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33615 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33616 (args_options): Add no-idn option.
33617 (ahosts_keys_int): Add idn_flags to ai_flags.
33618 (parse_option): Handle 'i' option to clear idn_flags.
33620 * malloc/malloc.c (_int_free): Possible race in the most recently
33621 added check. Only act on the data if no current modification
33624 See ChangeLog.17 for earlier changes.