1 2013-10-04 Alan Modra <amodra@gmail.com>
3 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4 Don't use a union to pack hi/low value.
6 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16 2013-10-04 Alan Modra <amodra@gmail.com>
18 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19 constants to usual value for .cst8 section, and remove redundant
21 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22 constant for 0x1p52. Load little-endian words of double from
23 correct stack offsets.
25 2013-10-04 Alan Modra <amodra@gmail.com>
27 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29 words of double from correct stack offsets.
30 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48 2013-10-04 Alan Modra <amodra@gmail.com>
50 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51 64-bit int/double union.
52 (_FPU_SETCW): Likewise.
53 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56 2013-10-04 Alan Modra <amodra@gmail.com>
58 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61 2013-10-04 Alan Modra <amodra@gmail.com>
63 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
64 use vector int constants.
65 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
67 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
69 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
71 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
72 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
73 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
74 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
75 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
76 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
77 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
78 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
79 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
80 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
81 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
82 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
83 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
85 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
87 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
88 (__signbit): Likewise. Correct for little-endian.
89 (__signbitl): Call __signbit.
90 (lrint): Correct for little-endian.
93 2013-10-04 Alan Modra <amodra@gmail.com>
95 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
96 union 32-bit int array member with 64-bit int array.
97 (t515, tm256): Double rather than long double.
98 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
100 2013-10-04 Alan Modra <amodra@gmail.com>
102 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
104 (IEEE854_LONG_DOUBLE_BIAS): Delete.
105 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
106 version of math_ldbl.h.
108 2013-10-04 Alan Modra <amodra@gmail.com>
110 [BZ #15734], [BZ #15735]
111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
112 all uses of ieee875 long double macros and unions. Simplify test
113 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
114 ldbl_extract_mantissa value for ix,iy exponents. Properly
115 normalize after ldbl_extract_mantissa, and don't add hidden bit
116 already handled. Don't treat low word of ieee854 mantissa like
117 low word of IBM long double and mask off bit when testing for
119 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
120 all uses of ieee875 long double macros and unions. Simplify tests
121 for 0.0L and inf. Correct double adjustment of k. Delete dead code
122 adjusting ha,hb. Simplify code setting kld. Delete two600 and
123 two1022, instead use their values. Recognise that tests for large
124 "a" and small "b" are mutually exclusive. Rename vars. Comment.
125 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
126 Rewrite all uses of ieee875 long double macros and unions. Simplify
127 test for 0.0L and nan. Correct negation.
128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
129 ieee875 long double macros and unions. Correct output for large
130 magnitude x. Correct absolute value calculation.
132 * math/libm-test.inc: Add tests for errors discovered in IBM long
133 double versions of fmodl, remainderl, erfl and erfcl.
135 2013-10-04 Alan Modra <amodra@gmail.com>
137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
138 all uses of ieee854 long double macros and unions. Simplify tests
139 for long doubles that are fully specified by the high double.
140 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
142 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
143 Remove dead code too.
144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
145 (__ieee754_ynl): Likewise.
146 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
149 Remove dead code too.
150 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
151 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
152 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
153 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
155 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
157 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
158 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
159 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
160 Comment on variable precision.
161 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
162 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
164 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
167 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
170 2013-10-04 Alan Modra <amodra@gmail.com>
172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
174 all uses of ieee854 long double macros and unions.
175 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
180 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
183 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
184 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
185 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
188 Simplify sign and nan test too.
189 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
190 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
191 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
192 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
194 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
195 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
198 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
199 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
201 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
204 2013-10-04 Alan Modra <amodra@gmail.com>
206 * stdio-common/printf_size.c (__printf_size): Don't use
207 union ieee854_long_double in fpnum union.
208 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
209 signbit macro to retrieve sign from long double.
210 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
211 retrieve sign from long double.
212 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
213 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
214 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
215 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
216 * math/test-misc.c (main): Don't use union ieee854_long_double.
218 2013-10-04 Alan Modra <amodra@gmail.com>
221 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
222 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
223 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
224 calculation. Remove unnecessary test for denormal exponent.
225 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
226 Correct handling of denormals. Avoid undefined shift behaviour.
227 Correct normalisation of low mantissa when low double is denormal.
228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
229 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
230 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
231 Correct normalisation of low mantissa. Test for overflow of high
232 mantissa and normalise.
233 (ldbl_nearbyint): Use more readable constant for two52.
234 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
235 (__mpn_construct_long_double): Fix test for overflow of high
236 mantissa and correct normalisation. Avoid undefined shift.
238 2013-10-04 Alan Modra <amodra@gmail.com>
240 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
241 (union ibm_extended_long_double): Define as an array of ieee754_double.
242 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
243 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
244 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
245 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
254 2013-10-03 Joseph Myers <joseph@codesourcery.com>
256 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
257 page size instead of calling getpagesize.
259 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
260 (LOCFILE_ALIGN_MASK): Likewise.
261 (LOCFILE_ALIGN_UP): Likewise.
262 (LOCFILE_ALIGNED_P): Likewise.
263 * locale/programs/ld-collate.c (collate_output): Use the new
264 macros instead of __alignof__ (int32_t).
265 * locale/weight.h (findidx): Likewise.
267 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
270 * manual/string.texi: Fix strncat and wcsncat.
272 2013-10-03 Brooks Moses <bmoses@google.com>
275 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
276 * Makerules: ...here, and adjust associated comments.
278 2013-10-02 Will Newton <will.newton@linaro.org>
280 * malloc/Makefile: Add tst-pvalloc.
281 * malloc/tst-pvalloc.c: New file.
283 2013-10-02 Will Newton <will.newton@linaro.org>
285 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
286 improve test coverage.
288 2013-10-02 Will Newton <will.newton@linaro.org>
290 * malloc/Makefile: Add tst-posix_memalign.
291 * malloc/tst-posix_memalign.c: New file.
293 2013-10-01 Eric Blake <eblake@redhat.com>
295 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
296 Use __THROWNL rather than __THROW on static functions.
298 2013-09-30 Petr Machata <pmachata@redhat.com>
300 * elf/elf.h (R_AARCH64_ABS16): New macro.
301 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
302 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
303 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
304 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
305 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
306 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
307 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
308 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
309 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
310 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
311 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
312 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
313 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
314 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
315 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
316 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
317 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
318 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
319 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
320 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
321 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
322 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
323 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
324 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
325 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
326 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
327 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
328 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
329 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
330 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
331 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
332 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
333 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
334 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
335 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
336 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
337 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
338 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
339 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
340 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
341 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
342 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
343 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
344 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
345 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
346 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
347 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
348 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
349 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
350 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
351 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
352 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
353 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
354 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
355 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
356 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
357 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
358 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
359 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
360 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
361 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
362 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
363 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
364 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
365 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
366 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
367 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
368 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
369 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
370 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
371 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
372 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
373 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
374 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
375 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
376 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
377 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
378 (R_AARCH64_TLSDESC_LDR): Likewise.
379 (R_AARCH64_TLSDESC_ADD): Likewise.
380 (R_AARCH64_TLSDESC_CALL): Likewise.
382 2013-09-30 Andreas Schwab <schwab@suse.de>
385 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
386 the nss database lookup.
387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
390 2013-09-28 Mike Frysinger <vapier@gentoo.org>
392 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
394 2013-09-28 P. J. McDermott <pj@pehjota.net>
396 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
397 ${Bash-specific parameter/pattern/string} parameter expansion.
398 * sysdeps/unix/make-syscalls.sh: Likewise.
400 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
402 * sysdeps/sh/stackguard-macros.h: New file.
404 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
408 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
410 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
411 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
413 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
416 Fix thread ID register.
418 2013-09-25 Joseph Myers <joseph@codesourcery.com>
420 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
421 [POSIX || UNIX98]: Require rather than permitting all symbols from
423 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
424 element of struct sched_param.
425 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
426 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
427 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
428 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
431 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
433 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
434 argument calculation.
436 2013-09-24 Joseph Myers <joseph@codesourcery.com>
438 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
440 [POSIX] (pthread_attr_t): Do not require type.
441 [POSIX] (pthread_cond_t): Likewise.
442 [POSIX] (pthread_condattr_t): Likewise.
443 [POSIX] (pthread_key_t): Likewise.
444 [POSIX] (pthread_mutex_t): Likewise.
445 [POSIX] (pthread_mutexattr_t): Likewise.
446 [POSIX] (pthread_once_t): Likewise.
447 [POSIX] (pthread_t): Likewise.
448 [POSIX-based standards] (pthread_atfork): Expect function.
450 2013-09-24 Joseph Myers <joseph@codesourcery.com>
451 Richard Sandiford <richard@codesourcery.com>
453 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
454 (swap_endianness_p): New extern variable.
455 (set_big_endian): New inline function.
456 (maybe_swap_uint32): Likewise.
457 (maybe_swap_uint32_array): Likewise.
458 (maybe_swap_uint32_obstack): Likewise.
459 * locale/programs/locfile.c: Include <stdbool.h>.
460 (swap_endianness_p): New variable.
461 (add_locale_uint32): Call maybe_swap_uint32.
462 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
463 (write_locale_data): Call maybe_swap_uint32_array.
464 * locale/programs/ld-collate.c (obstack_int32_grow): Call
466 (obstack_int32_grow_fast): Likewise.
467 (output_weightwc): Call maybe_swap_uint32_obstack.
468 (collate_output): Likewise.
469 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
470 (OPT_LITTLE_ENDIAN): Likewise.
471 (options): Add --little-endian and --big-endian options.
472 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
473 * locale/programs/locarchive.c: Include "locfile.h".
477 (create_archive): Use the new macros to access fields of
478 structures directly mapped from or written to locale archives.
479 (oldlocrecentcmp): Likewise.
480 (enlarge_archive): Likewise.
481 (insert_name): Likewise.
482 (add_alias): Likewise.
483 (add_locale): Likewise.
484 (delete_locales_from_archive): Likewise.
485 (show_archive_content): Likewise.
486 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
489 2013-09-24 Roland McGrath <roland@hack.frob.com>
491 * manual/freemanuals.texi: Updated from (newly) canonical copy at
492 http://www.gnu.org/doc/freemanuals.texi.
493 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
495 2013-09-24 Will Newton <will.newton@linaro.org>
497 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
500 2013-09-23 Joseph Myers <joseph@codesourcery.com>
502 * locale/hashval.h (compute_hashval): Interpret bytes of key as
505 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
507 * manual/threads.texi (POSIX Threads): Fix a typo.
509 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
512 * string/tst-strcoll-overflow.c: New test case.
513 * string/Makefile (xtests): Add tst-strcoll-overflow.
514 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
515 cache if string sizes may cause integer overflow.
518 * string/strcoll_l.c (coll_seq): New members rule, idx,
519 save_idx and back_us.
520 (get_next_seq_nocache): New function.
521 (do_compare_nocache): New function.
522 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
525 2013-09-23 Carlos O'Donell <carlos@redhat.com>
528 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
529 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
530 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
533 * elf/Makefile (tests): Add tst-ptrguard1.
534 (tests-static): Add tst-ptrguard1-static.
535 (tst-ptrguard1-ARGS): Define.
536 (tst-ptrguard1-static-ARGS): Define.
537 * elf/tst-ptrguard1.c: New file.
538 * elf/tst-ptrguard1-static.c: New file.
539 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
540 * sysdeps/i386/stackguard-macros.h: Likewise.
541 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
542 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
543 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
544 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
545 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
546 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
548 2013-09-23 Hector Marco <hecmargi@upv.es>
549 Ismael Ripoll <iripoll@disca.upv.es>
550 Carlos O'Donell <carlos@redhat.com>
553 * sysdeps/generic/stackguard-macros.h: Define
554 __pointer_chk_guard_local and POINTER_CHK_GUARD.
555 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
556 Define __pointer_chk_guard_local.
557 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
558 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
560 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
563 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
565 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
567 * include/string.h (__ffs): Declare as hidden.
568 * string/ffs.c (__ffs): Define as hidden.
569 * sysdeps/i386/ffs.c (__ffs): Likewise.
570 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
571 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
572 * sysdeps/s390/ffs.c (__ffs): Likewise.
573 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
575 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
577 * NEWS: Mention malloc probes.
579 * malloc/arena.c (new_heap): New memory_heap_new probe.
580 (grow_heap): New memory_heap_more probe.
581 (shrink_heap): New memory_heap_less probe.
582 (heap_trim): New memory_heap_free probe.
583 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
584 (systrim): New memory_sbrk_less probe.
585 * manual/probes.texi: Document them.
587 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
588 * manual/probes.texi: Document it.
590 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
591 (__libc_realloc): Add memory_realloc_retry probe.
592 (__libc_memalign): Add memory_memalign_retry probe.
593 (__libc_valloc): Add memory_valloc_retry probe.
594 (__libc_pvalloc): Add memory_pvalloc_retry probe.
595 (__libc_calloc): Add memory_calloc_retry probe.
596 * manual/probes.texi: Document them.
598 * malloc/arena.c (get_free_list): Add probe
599 memory_arena_reuse_free_list.
600 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
601 and memory_arena_reuse.
602 (arena_get2) [!PER_THREAD]: Likewise.
603 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
604 memory_arena_reuse_realloc.
605 * manual/probes.texi: Document them.
607 * malloc/malloc.c (__libc_free): Add
608 memory_mallopt_free_dyn_thresholds probe.
609 (__libc_mallopt): Add multiple memory_mallopt probes.
610 * manual/probes.texi: Document them.
612 * malloc/malloc.c: Include stap-probe.h.
613 (__libc_mallopt): Add memory_mallopt probe.
614 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
615 * manual/probes.texi: New.
616 * manual/Makefile (chapters): Add probes.
617 * manual/threads.texi: Set next node.
619 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
622 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
623 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
624 Add `Chinese' to `nan' entry name.
626 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
628 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
629 (POLYNOMIAL): Likewise.
630 (TAYLOR_SINCOS): Likewise.
631 (TAYLOR_SLOW): Likewise.
632 (__sin): Use TAYLOR_SINCOS.
634 (slow): Use TAYLOR_SLOW.
639 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
641 * stdlib/strtod_l.c: Fix buffer overrun.
643 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
645 * benchtests/Makefile (bench): Add sincos.
646 * benchtests/bench-sincos.c: New file.
648 * math/libm-test.inc (cos_test_data): New test inputs.
649 (sin_test_data): Likewise.
651 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
665 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
670 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
674 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
676 * config.h.in (HAVE_MIPS_NAN2008): New macro.
677 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
678 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
679 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
680 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
681 * elf/cache.c (print_entry): Handle the new cache flags.
683 2013-09-18 Joseph Myers <joseph@codesourcery.com>
684 Aldy Hernandez <aldyh@redhat.com>
686 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
687 Change condition to [_SOFT_FLOAT].
688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
700 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
703 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
706 2013-09-18 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
709 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
710 (__longjmp): Use LOAD_GP to load saved GPRs.
711 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
712 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
713 (__sigsetjmp): Use SAVE_GP to save GPRs.
715 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
716 Do not append -msoft-float.
717 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
719 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
721 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
723 2013-09-17 Joseph Myers <joseph@codesourcery.com>
726 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
727 (_FPU_GETCW): Use initial "__" on variable and field names but not
728 on macro parameter name.
729 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
730 parentheses around reference to macro parameter.
732 2013-09-13 Richard Sandiford <richard@codesourcery.com>
734 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
736 (ctype_startup): Use uint32_t in cast and sizeof for
739 2013-09-11 Jia Liu <proljc@gmail.com>
741 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
743 [__FreeBSD__]: Likewise.
745 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
748 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
749 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
750 (strchr): Remove __strchr_sse42 ifunc selection.
751 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
752 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
754 2013-09-11 Will Newton <will.newton@linaro.org>
756 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
757 parameter to RES. Remove hardcoded 1000 value.
758 * benchtests/bench-skeleton.c (main): Pass RES parameter
759 to TIMING_INIT and multiply result by 1000.
761 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
765 2013-09-11 Andreas Schwab <schwab@suse.de>
767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
769 (O_TMPFILE) [__USE_GNU]: Define.
770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
773 2013-09-11 Will Newton <will.newton@linaro.org>
776 * malloc/malloc.c (__libc_memalign): Check the value of bytes
779 2013-09-11 Will Newton <will.newton@linaro.org>
782 * malloc/malloc.c (__libc_valloc): Check the value of bytes
785 2013-09-11 Will Newton <will.newton@linaro.org>
788 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
791 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
793 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
795 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
796 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
799 2013-09-10 Allan McRae <allan@archlinux.org>
802 * manual/arith.texi (Parsing of Floats): Clarify
806 * manual/install.texi (Running make install): Mention
808 * INSTALL: Regenerated.
810 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
812 * csu/init-first.c (_init): Remove the !SHARED condition around
813 FPU control word initialization.
814 * elf/dl-support.c (_dl_fpu_control): New variable.
815 (_dl_aux_init) <AT_FPUCW>: Initialize it.
816 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
817 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
818 * math/test-fpucw-static.c: New file.
819 * math/test-fpucw-ieee.c: New file.
820 * math/test-fpucw-ieee-static.c: New file.
821 * math/Makefile (tests): Add `test-fpucw-ieee' and
823 (tests-static): New variable.
824 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
826 [($(build-shared),yes)]
827 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
829 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
832 2013-09-09 Allan McRae <allan@archlinux.org>
835 * manual/string.texi (Collation Functions): Fix typo in
837 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
840 * stdlib/isomac.c (get_null_defines): Fix memory leak.
843 * libio/memstream.c (open_memstream): Fix memory leak.
844 * libio/wmemstream.c (open_wmemstream): Likewise.
847 * nscd/netgroupcache.c: Fix nesting of ifdefs.
849 2013-09-09 Will Newton <will.newton@linaro.org>
851 * malloc/Makefile: Add tst-realloc to tests.
852 * malloc/tst-realloc.c: New file.
854 2013-09-09 Allan McRae <allan@archlinux.org>
857 * COPYING: Update from GNU website to fix FSF address.
858 * COPYING.LIB: Likewise.
860 2013-09-06 David S. Miller <davem@davemloft.net>
862 * po/zh_TW.po: Update Chinese (traditional) translation from
865 2013-09-06 Richard Sandiford <richard@codesourcery.com>
866 Joseph Myers <joseph@codesourcery.com>
868 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
870 (obstack_chunk_alloc): New macro.
871 (obstack_chunk_free): Likewise.
872 (record_offset): New function.
873 (init_locale_data): Likewise.
874 (align_locale_data): Likewise.
875 (add_locale_empty): Likewise.
876 (add_locale_raw_data): Likewise.
877 (add_locale_raw_obstack): Likewise.
878 (add_locale_string): Likewise.
879 (add_locale_wstring): Likewise.
880 (add_locale_uint32): Likewise.
881 (add_locale_uint32_array): Likewise.
882 (add_locale_char): Likewise.
883 (start_locale_structure): Likewise.
884 (end_locale_structure): Likewise.
885 (start_locale_prelude): Likewise.
886 (end_locale_prelude): Likewise.
887 (write_locale_data): Take locale_file structure rather than an
889 * locale/programs/locfile.h: Include "obstack.h".
890 (struct locale_file): Change to store locale file contents instead
892 (init_locale_data): New prototype.
893 (align_locale_data): Likewise.
894 (add_locale_empty): Likewise.
895 (add_locale_raw_data): Likewise.
896 (add_locale_raw_obstack): Likewise.
897 (add_locale_string): Likewise.
898 (add_locale_wstring): Likewise.
899 (add_locale_uint32): Likewise.
900 (add_locale_uint32_array): Likewise.
901 (add_locale_char): Likewise.
902 (start_locale_structure): Likewise.
903 (end_locale_structure): Likewise.
904 (start_locale_prelude): Likewise.
905 (end_locale_prelude): Likewise.
906 (write_locale_data): Update prototype.
907 * locale/programs/3level.h (struct TABLE): Remove result field.
908 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
909 Use new locale_file interface.
910 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
911 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
912 * locale/programs/ld-address.c (address_output): Use new
913 locale_file interface.
914 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
916 (collate_finish): Don't call collseq_table_finalize.
917 (collate_output): Use new locale_file interface.
918 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
920 (NO_FINALIZE): Change to NO_ADD_LOCALE.
921 (TABLE): Move defines earlier in file.
924 (wctrans_table_add): Move macro and inline function earlier in
926 (struct wctype_table): Move type earlier in file.
927 (add_locale_wctype_table): New static prototype.
928 (struct locale_ctype_t): Use logical types instead of struct iovec
929 pointers for members.
930 (ctype_output): Use new locale_file interface.
931 (wctype_table_finalize): Change to add_locale_wctype_table. Use
932 new locale_file interface.
933 (allocate_arrays): Update for use of new locale_file interface.
934 * locale/programs/ld-identification.c (identification_output): Use
935 new locale_file interface.
936 * locale/programs/ld-measurement.c (measurement_output): Likewise.
937 * locale/programs/ld-messages.c (messages_output): Likewise.
938 * locale/programs/ld-monetary.c (monetary_output): Likewise.
939 * locale/programs/ld-name.c (name_output): Likewise.
940 * locale/programs/ld-numeric.c (numeric_output): Likewise.
941 * locale/programs/ld-paper.c (paper_output): Likewise.
942 * locale/programs/ld-telephone.c (telephone_output): Likewise.
943 * locale/programs/ld-time.c (time_output): Likewise.
945 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * benchtests/Makefile: Add memrchr benchmark.
948 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
949 benchmark as memrchr.
950 * benchtests/bench-memrchr-ifunc.c: New file.
951 * benchtests/bench-memrchr.c: New file.
953 2013-09-06 Will Newton <will.newton@linaro.org>
955 * benchtests/Makefile (string-bench): Add memcpy.
957 2013-09-05 Carlos O'Donell <carlos@redhat.com>
958 Cong Wang <amwang@redhat.com>
960 * sysdeps/unix/sysv/linux/bits/in.h
961 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
962 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
963 before __USE_KERNEL_IPV6_DEFS uses.
964 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
966 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
967 sockaddr_in6, or ipv6_mreq.
969 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
971 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
972 memory access for final bytes in some large inputs.
973 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
975 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
977 * string/test-memrchr.c: New file.
978 * string/test-memrchr-ifunc.c: New file.
979 * string/Makefile: Add new memrchr testcase.
981 2013-09-05 Mike Frysinger <vapier@gentoo.org>
983 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
984 fanotify_init returns EPERM.
986 2013-09-04 Joseph Myers <joseph@codesourcery.com>
988 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
990 (top level): Treat second token from macro or constant entries for
991 allowed headers as allowed.
992 * include/complex.h: Condition internal declarations on
994 * include/fenv.h: Condition include of <stdbool.h> and internal
995 declarations on [!_ISOMAC].
997 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1000 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1002 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1004 * configure.in (--enable-versioning): Remove configure option.
1005 (libc_cv_asm_symver_directive): Remove configure test.
1006 (libc_cv_ld_version_script_option): Likewise.
1007 (VERSIONING): Remove variable and AC_SUBST.
1008 (DO_VERSIONING): Remove AC_DEFINE.
1009 * configure: Regenerated.
1010 * config.h.in (DO_VERSIONING): Remove macro.
1011 * Makerules [$(versioning) = yes]: Change conditionals to
1012 [$(build-shared) = yes].
1013 * config.make.in (versioning): Remove variable.
1014 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1015 [$(build-shared) = yes].
1016 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1017 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1018 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1019 [$(build-shared) = yes].
1020 * extra-lib.mk [$(versioning) = yes]: Likewise.
1021 * hurd/Makefile [$(versioning) = yes]: Likewise.
1022 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1024 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1026 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1027 [SHARED && !NO_HIDDEN].
1028 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1030 [SHARED && DO_VERSIONING]: Likewise..
1031 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1032 [$(build-shared) = yes].
1033 * manual/install.texi (--disable-versioning): Remove
1035 * INSTALL: Regenerated.
1036 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1038 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1039 [$(build-shared) = yes].
1040 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1041 * sysdeps/i386/i686/multiarch/strstr-c.c
1042 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1043 [SHARED && !NO_HIDDEN].
1044 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1045 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1046 * sysdeps/powerpc/powerpc32/dl-machine.c
1047 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1048 * sysdeps/powerpc/powerpc32/sysdep.h
1049 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1050 to [SHARED && PIC && !NO_HIDDEN].
1051 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1052 conditional to [SHARED].
1054 2013-09-04 Will Newton <will.newton@linaro.org>
1056 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1057 * benchtests/bench-string.h: Include bench-timing.h instead
1058 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1059 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1060 call to HP_TIMING_DIFF_INIT.
1061 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1062 instead of hp-timing.h macros.
1063 * benchtests/bench-memchr.c: Likewise.
1064 * benchtests/bench-memcmp.c: Likewise.
1065 * benchtests/bench-memcpy.c: Likewise.
1066 * benchtests/bench-memmem.c: Likewise.
1067 * benchtests/bench-memmove.c: Likewise.
1068 * benchtests/bench-memset.c: Likewise.
1069 * benchtests/bench-rawmemchr.c: Likewise.
1070 * benchtests/bench-strcasecmp.c: Likewise.
1071 * benchtests/bench-strcasestr.c: Likewise.
1072 * benchtests/bench-strcat.c: Likewise.
1073 * benchtests/bench-strchr.c: Likewise.
1074 * benchtests/bench-strcmp.c: Likewise.
1075 * benchtests/bench-strcpy.c: Likewise.
1076 * benchtests/bench-strcpy_chk.c: Likewise.
1077 * benchtests/bench-strlen.c: Likewise.
1078 * benchtests/bench-strncasecmp.c: Likewise.
1079 * benchtests/bench-strncat.c: Likewise.
1080 * benchtests/bench-strncmp.c: Likewise.
1081 * benchtests/bench-strncpy.c: Likewise.
1082 * benchtests/bench-strnlen.c: Likewise.
1083 * benchtests/bench-strpbrk.c: Likewise.
1084 * benchtests/bench-strrchr.c: Likewise.
1085 * benchtests/bench-strspn.c: Likewise.
1086 * benchtests/bench-strstr.c: Likewise.
1088 2013-09-04 Will Newton <will.newton@linaro.org>
1090 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1092 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1095 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1096 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1097 * math/libm-test.inc (lgamma_test_data): Add more tests.
1098 * sysdeps/i386/fpu/libm-test-ulps: Update.
1099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1101 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1103 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1107 Add strcmp-sse2-unaligned
1108 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1110 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1112 * Versions.def (libc): Add GLIBC_2.19.
1114 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1116 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1117 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1119 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1122 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1123 intermediate calculations in recurrence.
1124 (__ieee754_ynf): Likewise.
1125 * math/libm-test.inc (jn_test_data): Do not allow spurious
1126 underflow exception. Add more tests.
1127 (yn_test_data): Add more tests.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1133 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1135 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1137 * csu/init-first.c: Fix then/than typos.
1138 * locale/programs/ld-collate.c: Likewise.
1139 * locale/programs/linereader.h: Likewise.
1140 * manual/charset.texi: Likewise.
1141 * manual/filesys.texi: Likewise.
1142 * manual/stdio.texi: Likewise.
1143 * manual/string.texi: Likewise.
1144 * stdlib/fmtmsg.c: Likewise.
1145 * sysdeps/i386/stpncpy.S: Likewise.
1146 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1147 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1148 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1149 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1151 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1153 * elf/dl-open.c: Fix typos.
1154 * iconvdata/gbbig5.c: Likewise.
1155 * iconvdata/iso-2022-jp.c: Likewise.
1156 * iconv/gconv_int.h: Likewise.
1157 * iconv/loop.c: Likewise.
1158 * nis/rpcsvc/nis.h: Likewise.
1159 * resolv/ns_name.c: Likewise.
1160 * stdio-common/vfscanf.c: Likewise.
1161 * streams/stropts.h: Likewise.
1162 * sunrpc/rpc_thread.c: Likewise.
1163 * sysdeps/i386/strpbrk.S: Likewise.
1164 * sysdeps/ieee754/k_standard.c: Likewise.
1165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1167 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1168 * sysdeps/mach/hurd/profil.c: Likewise.
1169 * sysdeps/s390/dl-procinfo.h: Likewise.
1170 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1171 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1173 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1176 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1178 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1181 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1183 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1185 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1186 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1187 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1188 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1194 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1195 Roland McGrath <roland@hack.frob.com>
1197 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1198 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1200 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1202 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1203 __executable_start symbol instead of _start.
1205 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1207 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1208 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1210 * sysdeps/gnu/ldsodefs.h: ... this new file.
1212 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1213 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1214 instead of ELFOSABI_LINUX.
1216 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1217 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1218 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1219 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1221 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1222 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1223 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1225 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1226 (ibm_extended_long_double): Add ieee_nan member.
1227 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1228 (do_test): New function.
1230 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1232 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1233 functions, renamed from truncdfsf_test, trunctfsf_test,
1235 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1237 (do_test): Run all these.
1239 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1241 * argp/argp-help.c: Fix typos.
1242 * argp/argp-parse.c: Likewise.
1243 * debug/backtracesyms.c: Likewise.
1244 * elf/elf.h: Likewise.
1245 * malloc/malloc.c: Likewise.
1246 * nis/nis_print.c: Likewise.
1247 * resolv/res_comp.c: Likewise.
1248 * stdlib/stdlib.h: Likewise.
1249 * sunrpc/clnt_tcp.c: Likewise.
1250 * sunrpc/clnt_udp.c: Likewise.
1251 * sunrpc/clnt_unix.c: Likewise.
1252 * sysdeps/unix/bsd/ptsname.c: Likewise.
1253 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1261 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1263 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1265 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1268 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1271 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1272 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1273 ($(objpfx)bug-dl-leaf): New rule.
1274 ($(objpfx)bug-dl-leaf.so): Likewise.
1275 ($(objpfx)bug-dl-leaf.out): Likewise.
1276 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1277 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1278 * dlfcn/bug-dl-leaf.c: New test.
1279 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1280 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1281 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1282 (dlclose): Likewise.
1283 (dlmopen): Likewise.
1285 2013-08-27 Roland McGrath <roland@hack.frob.com>
1287 * include/netdb.h [!_ISOMAC]:
1288 Don't include <tls.h>.
1289 (h_errno, __libc_h_errno): Move declaration and macros out of
1292 * include/resolv.h [_RESOLV_H_]:
1293 Don't include <tls.h>.
1294 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1295 * resolv/res_libc.c: Don't include <tls.h>.
1296 (_res): Use __attribute__ ((nocommon)) in place of
1297 __attribute__ ((section (".bss"))).
1299 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1300 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1302 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1304 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1305 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1307 * resolv/res_mkquery.c: Include <sys/time.h>.
1309 * inet/ifreq.c: Moved to ...
1310 * sysdeps/unix/ifreq.c: ... here.
1311 * inet/ifreq.c: New file, true stub version.
1313 * socket/sa_len.c: New file.
1314 * socket/Makefile (aux): Add it.
1315 * sysdeps/unix/sysv/linux/Makefile
1316 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1317 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1318 and #include <socket/sa_len.c>.
1319 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1320 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1322 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1323 * bits/socket.h: ... here.
1325 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1326 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1327 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1329 2013-08-27 Andreas Schwab <schwab@suse.de>
1332 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1333 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1334 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1335 * string/test-strcasecmp.c (test_main): Run tests in several
1337 * string/test-strncasecmp.c (test_main): Likewise.
1339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1340 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1341 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1343 (__strncasecmp_ssse3) [PIC]: Likewise.
1345 2013-08-26 Roland McGrath <roland@hack.frob.com>
1347 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1349 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1350 instead of explicitly declaring xdecrypt.
1351 * nis/nss_nis/nis-publickey.c: Likewise.
1353 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1356 * nscd/aicache.c: Include res_hconf.h.
1357 (addhstaiX): Initialize res_hconf.
1359 2013-08-26 Andreas Schwab <schwab@suse.de>
1361 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1362 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1364 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1366 * nscd/aicache.c (addhstaiX): Fix indentation.
1368 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1370 * configure.ac: Quote $build_pt_chown test.
1371 * configure: Regenerated.
1373 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1376 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1377 * math/s_cexpf.c (__cexpf): Likewise.
1378 * math/s_cexpl.c (__cexpl): Likewise.
1379 * math/libm-test.inc (cexp_test_data): Correct expected return
1380 value for NaN + i0. Add another test.
1382 2013-08-22 David S. Miller <davem@davemloft.net>
1384 * po/ca.po: Update Catalan translation from translation project.
1385 * po/uk.po: Add Ukrainian translations from translation project.
1387 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1390 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1391 is infinite, not alongside NaN test.
1392 * math/s_fdimf.c (__fdimf): Likewise.
1393 * math/s_fdiml.c (__fdiml): Likewise.
1394 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1397 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1399 * argp/argp-help.c: Fix typos.
1400 * crypt/speeds.c: Likewise.
1401 * csu/check_fds.c: Likewise.
1402 * elf/dl-load.c: Likewise.
1403 * elf/dl-open.c: Likewise.
1404 * elf/reldep3.c: Likewise.
1405 * elf/reldep.c: Likewise.
1406 * elf/sprof.c: Likewise.
1407 * iconv/iconv_charmap.c: Likewise.
1408 * iconv/skeleton.c: Likewise.
1409 * iconv/strtab.c: Likewise.
1410 * io/lockf64.c: Likewise.
1411 * libio/libioP.h: Likewise.
1412 * resolv/gai_notify.c: Likewise.
1413 * resolv/ns_name.c: Likewise.
1414 * resolv/ns_samedomain.c: Likewise.
1415 * resolv/res_send.c: Likewise.
1416 * stdlib/random.c: Likewise.
1417 * sunrpc/rpc/xdr.h: Likewise.
1418 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1419 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1420 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1421 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1423 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1426 * sysdeps/mach/hurd/check_fds.c: Likewise.
1427 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1429 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1431 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1432 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1433 * sysdeps/pthread/aio_notify.c: Likewise.
1434 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1435 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1436 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1438 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1440 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1442 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1443 version if bit_Slow_SSE4_2 is set.
1444 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1445 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1447 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1451 trampoline stack frame information.
1452 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1454 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1455 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1456 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1457 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1458 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1459 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1461 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1462 interrupting a syscall and set with option SA_SIGINFO.
1464 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1467 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1468 argument is infinite.
1469 * math/s_cprojf.c (__cprojf): Likewise.
1470 * math/s_cprojl.c (__cprojl): Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1472 * math/libm-test.inc (cproj_test_data): Add more tests.
1474 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1476 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1477 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1478 size. Use __ffs to determine corresponding shift.
1480 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1481 Roland McGrath <roland@hack.frob.com>
1483 * Makefile (INSTALL): Remove trailing blank lines from output of
1486 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1488 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1489 Align 32 bit compat elf_greg to 8 bytes.
1491 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1493 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1495 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1497 * string/strcoll_l.c (coll_seq): New structure.
1498 (get_next_seq_cached): New function.
1499 (get_next_seq): New function.
1500 (do_compare): New function.
1501 (STRCOLL): Use GNU style definition. Simplify implementation
1502 by using get_next_seq, get_next_seq_cached and do_compare.
1504 2013-08-16 Florian Weimer <fweimer@redhat.com>
1508 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1510 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1512 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1513 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1514 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1516 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1517 GETDENTS_64BIT_ALIGNED.
1518 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1519 * manual/filesys.texi (Reading/Closing Directory): Document
1520 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1522 * manual/conf.texi (Limits for Files): Add portability note to
1524 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1526 2013-08-13 Andreas Schwab <schwab@suse.de>
1529 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1531 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1532 LDBL_MAX_EXP >= 16384]: Add tests for it.
1534 2013-08-12 David S. Miller <davem@davemloft.net>
1536 * version.h (RELEASE): Set to "development".
1537 (VERSION): Set to "2.18.90".
1538 * NEWS: Add 2.19 section.
1540 2013-08-03 David S. Miller <davem@davemloft.net>
1542 * po/ko.po: Update Korean translation from translation project.
1544 2013-08-01 David S. Miller <davem@davemloft.net>
1546 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1547 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1550 2013-07-30 David S. Miller <davem@davemloft.net>
1552 * po/fr.po: Update French translation from translation project.
1554 2013-07-28 David S. Miller <davem@davemloft.net>
1556 * po/cs.po: Update Czech translation from translation project.
1558 * po/sv.po: Update Swedish translation from translation project.
1560 2013-07-27 David S. Miller <davem@davemloft.net>
1562 * po/eo.po: Update Esperanto translation from translation project.
1564 * po/vi.po: Update Vietnamese translation from translation project.
1566 * po/de.po: Update German translation from translation project.
1568 2013-07-26 David S. Miller <davem@davemloft.net>
1570 * po/bg.po: Update Bulgarian translation from translation project.
1572 * po/nl.po: Update Dutch translation from translation project.
1573 * po/pl.po: Update Polish translation from translation project.
1574 * po/ru.po: Update Russian translation from translation project.
1576 2013-07-24 David S. Miller <davem@davemloft.net>
1578 * po/libc.pot: Update.
1580 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1582 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1584 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1586 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1588 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1590 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1592 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1593 Andreas Schwab <schwab@suse.de>
1594 Roland McGrath <roland@hack.frob.com>
1595 Joseph Myers <joseph@codesourcery.com>
1596 Carlos O'Donell <carlos@redhat.com>
1599 * config.h.in: Define HAVE_PT_CHOWN.
1600 * config.make.in (build-pt-chown): New variable.
1601 * configure.in (--enable-pt_chown): New configure option.
1602 * configure: Regenerate.
1603 * login/Makefile: Include Makeconfig. Build pt_chown only if
1604 build-pt-chown is enabled.
1605 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1606 pt_chown to fix pty ownership.
1607 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1609 * manual/install.texi (Configuring and compiling): Mention
1610 --enable-pt_chown. Add @findex for grantpt.
1611 * INSTALL: Regenerate.
1613 2013-07-20 David S. Miller <davem@davemloft.net>
1615 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1616 difference between 32-bit and 64-bit.
1618 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1621 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1622 Avoid system header dependency with -ffreestanding.
1623 ($(objpfx)bits/syscall%d): Likewise.
1625 2013-07-13 David S. Miller <davem@davemloft.net>
1627 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1628 underflows from atanl/atan2l due to bug 15319.
1629 (casinh_test_data): Likewise.
1631 2013-07-07 David S. Miller <davem@davemloft.net>
1633 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1635 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1637 * sysdeps/i386/fpu/libm-test-ulps: Update.
1638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1640 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1642 * configure.in (--enable-lock-elision): Fix message text.
1643 * INSTALL: Regenerate.
1644 * configure: Regenerate.
1646 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1650 2013-07-03 Andreas Jaeger <aj@suse.de>
1652 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1654 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1655 (ptrace_peeksiginfo_args): Add.
1656 (__ptrace_peeksiginfo_flags): Add.
1657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1658 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1661 2013-07-03 Allan McRae <allan@archlinux.org>
1663 * sysdeps/i386/fpu/libm-test-ulps: Update.
1665 2013-07-02 David S. Miller <davem@davemloft.net>
1667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1669 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1673 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1675 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1678 2013-07-02 Andi Kleen <ak@linux.intel.com>
1680 * config.h.in (ENABLE_LOCK_ELISION): Add.
1681 * configure.in (--enable-lock-elision): Add option.
1682 * manual/install.texi: Document --enable lock elision.
1683 * configure: Regenerate
1684 * INSTALL: Regenerate.
1686 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1688 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1689 SSE4.2 strcasecmp for libc.a.
1690 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1692 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1695 * soft-fp/op-common.h (_FP_FMA): New macro.
1696 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1697 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1698 (_FP_MUL_MEAT_1_imm): ... here.
1699 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1700 (_FP_MUL_MEAT_1_wide): ... here.
1701 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1702 (_FP_MUL_MEAT_1_hard): ... here.
1703 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1704 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1705 (_FP_MUL_MEAT_2_wide): ... here.
1706 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1707 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1708 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1709 (_FP_MUL_MEAT_2_gmp): ... here.
1710 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1711 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1712 (_FP_MUL_MEAT_4_wide): ... here.
1713 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1714 (_FP_MUL_MEAT_4_gmp): ... here.
1715 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1716 (_FP_WFRACBITS_DW_S): Likewise.
1717 (_FP_WFRACXBITS_DW_S): Likewise.
1718 (_FP_HIGHBIT_DW_S): Likewise.
1719 (FP_FMA_S): Likewise.
1720 (_FP_FRAC_HIGH_DW_S): Likewise.
1721 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1722 (_FP_WFRACBITS_DW_D): Likewise.
1723 (_FP_WFRACXBITS_DW_D): Likewise.
1724 (_FP_HIGHBIT_DW_D): Likewise.
1725 (FP_FMA_D): Likewise.
1726 (_FP_FRAC_HIGH_DW_D): Likewise.
1727 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1728 (_FP_WFRACBITS_DW_E): Likewise.
1729 (_FP_WFRACXBITS_DW_E): Likewise.
1730 (_FP_HIGHBIT_DW_E): Likewise.
1731 (FP_FMA_E): Likewise.
1732 (_FP_FRAC_HIGH_DW_E): Likewise.
1733 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1734 (_FP_WFRACBITS_DW_Q): Likewise.
1735 (_FP_WFRACXBITS_DW_Q): Likewise.
1736 (_FP_HIGHBIT_DW_Q): Likewise.
1737 (FP_FMA_Q): Likewise.
1738 (_FP_FRAC_HIGH_DW_Q): Likewise.
1739 * soft-fp/fmasf4.c: New file.
1740 * soft-fp/fmadf4.c: Likewise.
1741 * soft-fp/fmatf4.c: Likewise.
1743 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1746 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1750 (index_Slow_SSE4_2): Likewise.
1751 (index_Prefer_PMINUB_for_stringop): Likewise.
1752 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1753 bit_Slow_SSE4_2 is set.
1754 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1755 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1757 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1759 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1760 rtld_global._dl_hwcap2.
1761 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1763 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1764 POWER8 feature descriptions defined in _dl_hwcap2.
1765 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1766 string handling for POWER8 feature bits.
1767 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1768 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1769 _dl_powerpc_cap_flags.
1770 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1771 * sysdeps/powerpc/rtld-global-offsets.sym
1772 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1773 _dl_hwcap2 in the rtld_global_ro structure.
1775 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1777 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1778 hardware capabilities in support of AT_HWCAP2.
1779 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1780 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1782 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1783 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1784 explicitly the unknown a_type display mechanism is used.
1785 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1786 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1788 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1789 to macro prototype for AT_HWCAP2 support.
1790 * sysdeps/i386/dl-procinfo.h: Likewise.
1791 * sysdeps/s390/dl-procinfo.h: Likewise.
1792 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1793 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1794 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1795 return -1 for unknown a_type display fallback.
1796 * sysdeps/sparc/dl-procinfo.h: Likewise.
1797 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1798 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1800 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1802 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1803 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1805 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1808 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1809 mprotect making __stack_prot writable.
1811 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1812 Joseph Myers <joseph@codesourcery.com>
1814 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1815 as being properly aligned.
1817 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1819 * dlfcn/modstatic5.c: New file.
1820 * dlfcn/tststatic5.c: New file.
1821 * dlfcn/Makefile (tests): Add tststatic5.
1822 (tests-static): Likewise.
1823 (modules-names): Add modstatic5.
1824 (tststatic5-ENV): New variable.
1825 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1828 * elf/dl-support.c (_dl_main_map): New variable.
1829 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1830 (_dl_nns, _dl_load_adds): Set to 1.
1831 (_dl_initial_searchlist): Refer to _dl_main_map.
1832 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1833 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1834 call to _dl_get_origin.
1835 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1837 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1838 * dlfcn/modstatic3.c: New file.
1839 * dlfcn/tststatic3.c: New file.
1840 * dlfcn/tststatic4.c: New file.
1841 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1842 (tests-static): Likewise.
1843 (modules-names): Add modstatic3.
1844 (tststatic3-ENV, tststatic4-ENV): New variables.
1845 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1846 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1848 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1850 * configure.in (CC): Require GCC version 4.4 or later.
1851 * configure: Regenerated.
1852 * manual/install.texi (Tools for Compilation): Update GCC version
1854 * INSTALL: Regenerated.
1856 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1859 * string/test-memcmp.c (check2): New.
1860 (main): Call check2.
1862 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1864 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1867 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1869 (dl_open_worker) [!SHARED]: ... here.
1871 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1873 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1875 2013-06-25 Richard Henderson <rth@redhat.com>
1877 * locale/programs/locarchive.c: Include <libc-internal.h>
1879 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1881 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1882 trailing whitespace removed.
1884 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1887 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1888 * locale/programs/locarchive.c: Include libc-mmap.h.
1889 (prepare_address_space): Take two new outputs (the mmap base and len).
1890 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1892 (create_archive): Declare new mmap base and len values for
1893 prepare_address_space, and store the result in ah.
1894 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1895 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1896 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1897 Declare new mmap base and len values for
1898 prepare_address_space, and store the result in new_ah.
1899 (open_archive): Declare new mmap base and len values for
1900 prepare_address_space, and store the result in ah.
1901 (close_archive): If ah->mmap_base is not NULL, use that and
1902 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1903 * sysdeps/generic/libc-mmap.h: New file.
1905 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1907 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1908 (ALIGN_UP): Likewise.
1909 (PTR_ALIGN_DOWN): Likewise.
1910 (PTR_ALIGN_UP): Likewise.
1912 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1914 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1915 entry mapped to PPC_PLATFORM_POWER8.
1916 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1918 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1919 (_dl_string_platform): Add case for exporting platform position for
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1922 search path to sysdeps/powerpc/powerpc32/power8 directory.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1924 search path to sysdeps/powerpc/powerpc64/power8 directory.
1925 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1927 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1930 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1932 * INSTALL: Regenerate.
1934 * nscd/connections.c (nscd_init): Fix comment.
1936 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1938 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1941 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1942 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1944 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1946 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1948 (DL_DST_REQ_STATIC): Remove macro.
1950 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1953 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1954 with a shift of 0 bits.
1956 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1958 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1961 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1964 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1966 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1969 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1970 accepts -fno-tree-loop-distribute-patterns.
1971 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1972 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1974 * string/memset.c (memset): Likewise.
1975 * string/test-memmove.c (simple_memmove): Disable loop transformation
1977 * string/test-memset.c (simple_memset): Likewise.
1978 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1979 * benchtests/bench-memset.c (simple_memset): Likewise.
1980 * configure: Regenerated.
1982 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1984 * math/test-misc.c (main): Ignore fesetround failure when failures
1985 of subsequent rounding tests would be ignored.
1988 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1989 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1990 * math/fegetenv.c (__fegetenv): Return 0.
1991 * math/fegetexcept.c (fegetexcept): Return 0.
1992 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1994 * math/feholdexcpt.c (feholdexcept): Return 0.
1995 * math/fesetenv.c (__fesetenv): Return 0.
1996 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1997 argument FE_TONEAREST.
1998 * math/feupdateenv.c (__feupdateenv): Return 0.
1999 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2001 2013-06-18 Roland McGrath <roland@hack.frob.com>
2003 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2004 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2005 ($(objpfx)rtld-%.os rules): Use them.
2007 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2009 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2012 2013-06-17 Roland McGrath <roland@hack.frob.com>
2014 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2015 length of target pattern, then descending length of dependency pattern.
2016 * configure.in (AWK): Require gawk 3.1.2 or newer.
2017 * manual/install.texi (Tools for Compilation): Say that we do.
2018 * configure: Regenerated.
2020 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2021 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2022 * scripts/sysd-rules.awk: ... this new script.
2023 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2024 than a glob-style pattern.
2026 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2028 * math/test-misc.c (main): Do not treat incorrectly rounded
2029 conversions as failure unless ROUNDING_TESTS passes.
2031 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2034 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2035 restore exception state around main square root computation, then
2036 check for inexactness explicitly.
2038 * math/libm-test.inc (fma_test_data): Add another test.
2040 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2042 * manual/threads.texi (Non-POSIX Extensions): New document
2043 node. Document pthread_getattr_default_np and
2044 pthread_setattr_default_np.
2046 * Versions.def (libpthread): Add GLIBC_2.18.
2047 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2056 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2067 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2070 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2072 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2073 H.J. Lu <hjl.tools@gmail.com>
2076 * sysdeps/x86_64/rtld-memset.c: Remove file.
2077 * sysdeps/x86_64/rtld-memset.S: New file.
2079 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2081 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2082 (test_in_one_mode): Take arguments for whether the rounding mode
2083 is supported for each floating-point type.
2084 (do_test): Pass new arguments to test_in_one_mode using
2087 2013-06-13 Roland McGrath <roland@hack.frob.com>
2089 * posix/tst-waitid.c (do_test): Distinguish different instances of
2090 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2091 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2092 before entering the kernel for waitpid.
2094 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2096 * NEWS: Fix note on clock function precision. Text by Roland
2099 2013-06-13 Roland McGrath <roland@hack.frob.com>
2101 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2102 it into place only when and if the sanity check passes.
2104 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2106 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2107 output for whether conversion result is exact. Take argument
2108 indicating whether type is IBM long double.
2109 (round_for_all): Change need_exact field to ibm_ld.
2110 * stdlib/tst-strtod-round.c (struct exactness): New type.
2111 (struct test): Change bool ld_ok field to struct exactness exact.
2112 (TEST): Update all definitions for change to field.
2113 (tests): Regenerate array contents.
2114 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2115 field value. Check for IBM long double here.
2116 (do_test): Update calls to test_in_one_mode.
2118 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2121 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2122 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2124 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2128 generated by the compiler on loop optimizations.
2129 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2130 general definitions.
2132 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2134 * math/bug-nextafter.c: Include <math-tests.h>.
2135 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2137 * math/bug-nexttoward.c: Include <math-tests.h>.
2138 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2140 * math/test-misc.c: Include <math-tests.h>.
2141 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2144 2013-06-12 Andreas Jaeger <aj@suse.de>
2146 * po/ia.po: Update Interlingua translation from translation
2149 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 * include/fenv.h: Include stdbool.h.
2152 (struct rm_ctx): New structure.
2153 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2155 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2156 (SET_RESTORE_ROUNDF): Likewise.
2157 (SET_RESTORE_ROUNDL): Likewise.
2158 (SET_RESTORE_ROUND_NOEX): Likewise.
2159 (SET_RESTORE_ROUND_NOEXF): Likewise.
2160 (SET_RESTORE_ROUND_NOEXL): Likewise.
2161 (SET_RESTORE_ROUND_53BIT): Likewise.
2162 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2163 (libc_feresetround_noexf_ctx): Likewise.
2164 (libc_feresetround_noexl_ctx): Likewise.
2165 (libc_feholdsetround_53bit_ctx): Likewise.
2166 (libc_feresetround_53bit_ctx): Likewise.
2167 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2168 (libc_feholdexcept_setround_sse_ctx): New function.
2169 (libc_fesetenv_sse_ctx): Likewise.
2170 (libc_feupdateenv_sse_ctx): Likewise.
2171 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2172 (libc_feholdexcept_setround_387_ctx): Likewise.
2173 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2174 (libc_feholdsetround_387_prec_ctx): Likewise.
2175 (libc_feholdsetround_387_ctx): Likewise.
2176 (libc_feholdsetround_387_53bit_ctx): Likewise.
2177 (libc_feholdsetround_sse_ctx): Likewise.
2178 (libc_feresetround_sse_ctx): Likewise.
2179 (libc_feresetround_387_ctx): Likewise.
2180 (libc_feupdateenv_387_ctx): Likewise.
2181 (libc_feholdexcept_setroundf_ctx): Define macro.
2182 (libc_fesetenvf_ctx): Likewise.
2183 (libc_feupdateenvf_ctx): Likewise.
2184 (libc_feholdsetroundf_ctx): Likewise.
2185 (libc_feresetroundf_ctx): Likewise.
2186 (libc_feholdexcept_setround_ctx): Likewise.
2187 (libc_fesetenv_ctx): Likewise.
2188 (libc_feupdateenv_ctx): Likewise.
2189 (libc_feholdsetround_ctx): Likewise.
2190 (libc_feresetround_ctx): Likewise.
2191 (libc_feholdexcept_setroundl_ctx): Likewise.
2192 (libc_feupdateenvl_ctx): Likewise.
2193 (libc_feholdsetroundl_ctx): Likewise.
2194 (libc_feresetroundl_ctx): Likewise.
2195 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2196 (libc_feresetround_53bit_ctx): Likewise.
2198 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2200 * locale/iso-639.def: Convert to UTF-8.
2202 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2204 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2205 (EXCEPTION_TESTS_double): Likewise.
2206 (EXCEPTION_TESTS_long_double): Likewise.
2207 (EXCEPTION_TESTS): Likewise.
2208 * math/libm-test.inc (test_exceptions): Only test exceptions if
2209 EXCEPTION_TESTS (FLOAT).
2211 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2213 * benchtests/Makefile (string-bench): Add strcpy_chk and
2215 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2216 * benchtests/bench-stpcpy_chk.c: New file.
2217 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2218 * benchtests/bench-strcpy_chk.c: New file.
2219 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2221 (do_test): Likewise.
2223 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2225 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2226 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2227 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2228 with tabs where appropriate.
2229 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2231 [PPC_PLATFORM_PPC440]: Likewise.
2232 [PPC_PLATFORM_PPC464]: Likewise.
2233 [PPC_PLATFORM_PPC476]: Likewise.
2234 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2235 ppc464, and ppc476 platform strings merging from ports/
2238 2013-06-11 Andreas Schwab <schwab@suse.de>
2241 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2242 (from_ucs4_idx): Regenerate.
2243 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2244 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2245 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2246 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2247 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2248 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2249 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2250 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2251 from FROM_LOOP and TO_LOOP specific macros.
2252 (BODY): Handle combining characters.
2253 * iconvdata/BIG5HKSCS.irreversible: Update.
2254 * iconvdata/BIG5HKSCS.precomposed: New file.
2255 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2257 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2259 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2261 * include/sys/time.h: Fix indentation and add copyright header.
2263 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2264 (do_test): Likewise.
2265 * string/test-memchr.c (do_one_test): Likewise.
2266 (do_test): Likewise.
2267 * string/test-memcmp.c (do_one_test): Likewise.
2268 (do_test): Likewise.
2269 * string/test-memcpy.c (do_one_test): Likewise.
2270 (do_test): Likewise.
2271 * string/test-memmem.c (do_one_test): Likewise.
2272 (do_test): Likewise.
2273 (do_random_tests): Likewise.
2274 * string/test-memmove.c (do_one_test): Likewise.
2275 (do_test): Likewise.
2276 * string/test-memset.c (do_one_test): Likewise.
2277 (do_test): Likewise.
2278 * string/test-rawmemchr.c (do_one_test): Likewise.
2279 (do_test): Likewise.
2280 * string/test-strcasecmp.c (do_one_test): Likewise.
2281 (do_test): Likewise.
2282 * string/test-strcasestr.c (do_one_test): Likewise.
2283 (do_test): Likewise.
2284 * string/test-strcat.c (do_one_test): Likewise.
2285 (do_test): Likewise.
2286 * string/test-strchr.c (do_one_test): Likewise.
2287 (do_test): Likewise.
2288 * string/test-strcmp.c (do_one_test): Likewise.
2289 (do_test): Likewise.
2290 * string/test-strcpy.c (do_one_test): Likewise.
2291 (do_test): Likewise.
2292 * string/test-string.h: Likewise.
2293 (test_init): Likewise.
2294 * string/test-strlen.c (do_one_test): Likewise.
2295 (do_test): Likewise.
2296 * string/test-strncasecmp.c (do_one_test): Likewise.
2297 (do_test): Likewise.
2298 * string/test-strncat.c (do_one_test): Likewise.
2299 (do_test): Likewise.
2300 * string/test-strncmp.c (do_one_test): Likewise.
2301 (do_test_limit): Likewise.
2302 (do_test): Likewise.
2303 * string/test-strncpy.c (do_one_test): Likewise.
2304 (do_test): Likewise.
2305 * string/test-strnlen.c (do_one_test): Likewise.
2306 (do_test): Likewise.
2307 * string/test-strpbrk.c (do_one_test): Likewise.
2308 (do_test): Likewise.
2309 * string/test-strrchr.c (do_one_test): Likewise.
2310 (do_test): Likewise.
2311 * string/test-strspn.c (do_one_test): Likewise.
2312 (do_test): Likewise.
2313 * string/test-strstr.c (do_one_test): Likewise.
2314 (do_test): Likewise.
2316 * benchtests/Makefile (string-bench): Add string benchmarks.
2317 * benchtests/bench-bcopy-ifunc.c: New file.
2318 * benchtests/bench-bcopy.c: New file.
2319 * benchtests/bench-bzero-ifunc.c: New file.
2320 * benchtests/bench-bzero.c: New file.
2321 * benchtests/bench-memccpy-ifunc.c: New file.
2322 * benchtests/bench-memccpy.c: New file.
2323 * benchtests/bench-memchr-ifunc.c: New file.
2324 * benchtests/bench-memchr.c: New file.
2325 * benchtests/bench-memcmp-ifunc.c: New file.
2326 * benchtests/bench-memcmp.c: New file.
2327 * benchtests/bench-memmem-ifunc.c: New file.
2328 * benchtests/bench-memmem.c: New file.
2329 * benchtests/bench-memmove-ifunc.c: New file.
2330 * benchtests/bench-memmove.c: New file.
2331 * benchtests/bench-mempcpy-ifunc.c: New file.
2332 * benchtests/bench-mempcpy.c: New file.
2333 * benchtests/bench-memset-ifunc.c: New file.
2334 * benchtests/bench-memset.c: New file.
2335 * benchtests/bench-rawmemchr-ifunc.c: New file.
2336 * benchtests/bench-rawmemchr.c: New file.
2337 * benchtests/bench-stpcpy-ifunc.c: New file.
2338 * benchtests/bench-stpcpy.c: New file.
2339 * benchtests/bench-stpncpy-ifunc.c: New file.
2340 * benchtests/bench-stpncpy.c: New file.
2341 * benchtests/bench-strcasecmp-ifunc.c: New file.
2342 * benchtests/bench-strcasecmp.c: New file.
2343 * benchtests/bench-strcasestr-ifunc.c: New file.
2344 * benchtests/bench-strcasestr.c: New file.
2345 * benchtests/bench-strcat-ifunc.c: New file.
2346 * benchtests/bench-strcat.c: New file.
2347 * benchtests/bench-strchr-ifunc.c: New file.
2348 * benchtests/bench-strchr.c: New file.
2349 * benchtests/bench-strchrnul-ifunc.c: New file.
2350 * benchtests/bench-strchrnul.c: New file.
2351 * benchtests/bench-strcmp-ifunc.c: New file.
2352 * benchtests/bench-strcmp.c: New file.
2353 * benchtests/bench-strcpy-ifunc.c: New file.
2354 * benchtests/bench-strcpy.c: New file.
2355 * benchtests/bench-strcspn-ifunc.c: New file.
2356 * benchtests/bench-strcspn.c: New file.
2357 * benchtests/bench-strlen-ifunc.c: New file.
2358 * benchtests/bench-strlen.c: New file.
2359 * benchtests/bench-strncasecmp-ifunc.c: New file.
2360 * benchtests/bench-strncasecmp.c: New file.
2361 * benchtests/bench-strncat-ifunc.c: New file.
2362 * benchtests/bench-strncat.c: New file.
2363 * benchtests/bench-strncmp-ifunc.c: New file.
2364 * benchtests/bench-strncmp.c: New file.
2365 * benchtests/bench-strncpy-ifunc.c: New file.
2366 * benchtests/bench-strncpy.c: New file.
2367 * benchtests/bench-strnlen-ifunc.c: New file.
2368 * benchtests/bench-strnlen.c: New file.
2369 * benchtests/bench-strpbrk-ifunc.c: New file.
2370 * benchtests/bench-strpbrk.c: New file.
2371 * benchtests/bench-strrchr-ifunc.c: New file.
2372 * benchtests/bench-strrchr.c: New file.
2373 * benchtests/bench-strspn-ifunc.c: New file.
2374 * benchtests/bench-strspn.c: New file.
2375 * benchtests/bench-strstr-ifunc.c: New file.
2376 * benchtests/bench-strstr.c: New file.
2378 * benchtests/Makefile: Disable parallel execution of targets.
2379 (string-bench): Add memcpy.
2380 (benchset): New variable to store a list of benchmark sets.
2381 (bench-func): Renamed from bench.
2382 (bench-set): New target.
2383 (bench): Depend on bench-func and bench-set.
2384 * benchtests/README: Add section on benchmark sets.
2385 * benchtests/bench-memcpy-ifunc.c: New file.
2386 * benchtests/bench-memcpy.c: New file.
2387 * benchtests/bench-string.h: New file.
2389 2013-06-11 Andreas Schwab <schwab@suse.de>
2392 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2393 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2394 values in the triple.
2395 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2396 terminator in the group key.
2398 2013-06-11 Andreas Jaeger <aj@suse.de>
2400 * po/zh_TW.po: Update Chinese (traditional) translation from
2401 translation project.
2403 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2405 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2406 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2407 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2409 (clock_getcpuclockid): Likewise.
2410 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2411 Add weak_alias and libc_hidden_def.
2412 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2413 * rt/clock_gettime.c (clock_gettime): Rename to
2414 __clock_gettime. Add weak_alias and libc_hidden_def.
2415 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2416 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2417 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2418 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2419 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2421 * rt/clock_settime.c (clock_settime): Rename to
2422 __clock_settime. Add weak_alias and libc_hidden_def.
2423 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2425 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2427 * mach/err_boot.sub: Remove trailing whitespace.
2428 * mach/err_ipc.sub: Likewise.
2429 * mach/err_mach.sub: Likewise.
2431 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2432 (ROUNDING_TESTS_double): Likewise.
2433 (ROUNDING_TESTS_long_double): Likewise.
2434 (ROUNDING_TESTS): Likewise.
2435 * math/libm-test.inc: Include <math-tests.h>.
2436 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2437 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2438 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2439 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2441 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2443 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2446 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2448 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2449 otherwise empty TRANS lines.
2450 * sysdeps/gnu/errlist.c: Regenerated.
2452 * catgets/gencat.c (error_print): Use (void) in function
2454 * crypt/crypt_util.c (__init_des): Likewise.
2455 * crypt/speeds.c (Stop): Likewise.
2457 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2458 * inet/ruserpass.c (token): Likewise.
2459 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2460 * intl/localealias.c (extend_alias_table): Likewise.
2461 * intl/plural-exp.c (init_germanic_plural): Likewise.
2462 * libio/fcloseall.c (__fcloseall): Likewise.
2463 * libio/genops.c (_IO_flush_all): Likewise.
2464 (_IO_flush_all_linebuffered): Likewise.
2465 (_IO_cleanup): Likewise.
2466 (_IO_iter_begin): Likewise.
2467 (_IO_iter_end): Likewise.
2468 (_IO_list_lock): Likewise.
2469 (_IO_list_unlock): Likewise.
2470 (_IO_list_resetlock): Likewise.
2471 * libio/getchar.c (getchar): Likewise.
2472 * libio/getchar_u.c (getchar_unlocked): Likewise.
2473 * libio/getwchar.c (getwchar): Likewise.
2474 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2475 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2476 * login/getpt.c (__getpt): Likewise.
2477 * login/tst-utmp.c (main): Likewise.
2478 * malloc/hooks.c (__malloc_check_init): Likewise.
2479 * malloc/malloc.c (__malloc_stats): Likewise.
2480 * malloc/mtrace.c (tr_break): Likewise.
2482 (muntrace): Likewise.
2483 * misc/fstab.c (endfsent): Likewise.
2484 * misc/getclktck.c (__getclktck): Likewise.
2485 * misc/getdtsz.c (__getdtablesize): Likewise.
2486 * misc/gethostid.c (gethostid): Likewise.
2487 * misc/getpagesize.c (__getpagesize): Likewise.
2488 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2489 (__get_nprocs): Likewise.
2490 (__get_phys_pages): Likewise.
2491 (__get_avphys_pages): Likewise.
2492 * misc/getttyent.c (getttyent): Likewise.
2493 (setttyent): Likewise.
2494 (endttyent): Likewise.
2495 * misc/getusershell.c (getusershell): Likewise.
2496 (endusershell): Likewise.
2497 (setusershell): Likewise.
2498 (initshells): Likewise.
2499 * misc/hsearch.c (__hdestroy): Likewise.
2500 * misc/sync.c (sync): Likewise.
2501 * misc/syslog.c (closelog_internal): Likewise.
2502 (closelog): Likewise.
2503 * misc/ttyslot.c (ttyslot): Likewise.
2504 * misc/vhangup.c (vhangup): Likewise.
2505 * posix/fork.c (__fork): Likewise.
2506 * posix/getegid.c (__getegid): Likewise.
2507 * posix/geteuid.c (__geteuid): Likewise.
2508 * posix/getgid.c (__getgid): Likewise.
2509 * posix/getpid.c (__getpid): Likewise.
2510 * posix/getppid.c (__getppid): Likewise.
2511 * posix/getuid.c (__getuid): Likewise.
2512 * posix/pause.c (pause): Likewise.
2513 * posix/setpgrp.c (setpgrp): Likewise.
2514 * posix/setsid.c (__setsid): Likewise.
2515 * posix/test-vfork.c (noop): Likewise.
2516 * resolv/gethnamaddr.c (_endhtent): Likewise.
2517 (_gethtent): Likewise.
2518 (ht_endhostent): Likewise.
2519 (gethostent): Likewise.
2520 (dns_service): Likewise.
2521 * stdlib/drand48.c (drand48): Likewise.
2522 * stdlib/lrand48.c (lrand48): Likewise.
2523 * stdlib/mrand48.c (mrand48): Likewise.
2524 * stdlib/rand.c (rand): Likewise.
2525 * stdlib/random.c (__random): Likewise.
2526 * stdlib/setenv.c (clearenv): Likewise.
2527 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2528 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2529 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2530 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2531 (__get_nprocs): Likewise.
2532 (__get_phys_pages): Likewise.
2533 (__get_avphys_pages): Likewise.
2534 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2535 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2536 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2537 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2538 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2539 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2540 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2541 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2542 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2543 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2544 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2545 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2546 * sysdeps/posix/clock.c (clock): Likewise.
2547 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2548 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2549 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2550 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2551 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2553 (__get_nprocs_conf): Likewise.
2554 (__get_phys_pages): Likewise.
2555 (__get_avphys_pages): Likewise.
2556 * time/clock.c (clock): Likewise.
2557 * time/tzset.c (__tzname_max): Likewise.
2559 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2561 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2562 (__bswap_32): Do not use "register".
2563 * crypt/crypt.c (_ufc_doit_r): Likewise.
2564 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2565 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2566 * gmon/gmon.c (__monstartup): Likewise.
2567 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2568 * hurd/hurdmalloc.c (more_memory): Likewise.
2571 (realloc): Likewise.
2572 (malloc_fork_prepare): Likewise.
2573 (malloc_fork_parent): Likewise.
2574 (malloc_fork_child): Likewise.
2575 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2576 (_svcauth_des): Likewise.
2577 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2578 * inet/inet_net.c (inet_network): Likewise.
2579 * inet/inet_netof.c (inet_netof): Likewise.
2580 * inet/rcmd.c (__validuser2_sa): Likewise.
2581 * io/fts.c (fts_open): Likewise.
2582 (fts_load): Likewise.
2583 (fts_close): Likewise.
2584 (fts_read): Likewise.
2585 (fts_children): Likewise.
2586 (fts_build): Likewise.
2587 (fts_stat): Likewise.
2588 (fts_sort): Likewise.
2589 (fts_alloc): Likewise.
2590 (fts_lfree): Likewise.
2591 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2592 (_IO_file_xsgetn): Likewise.
2593 (_IO_file_xsgetn_mmap): Likewise.
2594 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2595 (_IO_cookie_write): Likewise.
2596 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2597 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2598 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2599 * malloc/obstack.c (_obstack_begin): Likewise.
2600 (_obstack_begin_1): Likewise.
2601 (_obstack_newchunk): Likewise.
2602 (_obstack_allocated_p): Likewise.
2603 (obstack_free): Likewise.
2604 (_obstack_memory_used): Likewise.
2605 * misc/getttyent.c (getttynam): Likewise.
2606 (getttyent): Likewise.
2609 * misc/getusershell.c (initshells): Likewise.
2610 * misc/syslog.c (__vsyslog_chk): Likewise.
2611 * misc/ttyslot.c (ttyslot): Likewise.
2612 * nis/nis_hash.c (__nis_hash): Likewise.
2613 * posix/fnmatch_loop.c (FCT): Likewise.
2614 * posix/getconf.c (print_all): Likewise.
2616 * posix/getopt.c (exchange): Likewise.
2617 * posix/glob.c (globfree): Likewise.
2618 (prefix_array): Likewise.
2619 (__glob_pattern_type): Likewise.
2620 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2621 (NS_GET32): Likewise.
2622 (NS_PUT16): Likewise.
2623 (NS_PUT32): Likewise.
2624 * resolv/gethnamaddr.c (getanswer): Likewise.
2625 (gethostbyname2): Likewise.
2626 (gethostbyaddr): Likewise.
2627 (_gethtent): Likewise.
2628 (_gethtbyname2): Likewise.
2629 (_gethtbyaddr): Likewise.
2630 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2631 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2632 * resolv/res_init.c (__res_vinit): Likewise.
2633 (net_mask): Likewise.
2634 * resolv/res_mkquery.c (outchar): Likewise.
2636 * stdio-common/printf_fp.c (outchar): Likewise.
2638 * stdio-common/printf_fphex.c (outchar): Likewise.
2640 * stdio-common/printf_size.c (outchar): Likewise.
2642 * stdio-common/test_rdwr.c (main): Likewise.
2643 * stdio-common/tfformat.c (matches): Likewise.
2644 * stdio-common/vfprintf.c (outchar): Likewise.
2645 (printf_unknown): Likewise.
2646 (buffered_vfprintf): Likewise.
2647 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2648 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2649 (ReadFile): Likewise.
2650 * stdlib/qsort.c (SWAP): Likewise.
2651 (_quicksort): Likewise.
2652 * stdlib/setenv.c (__add_to_environ): Likewise.
2653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2654 * stdlib/strtol_l.c (__strtol_l): Likewise.
2655 * stdlib/tst-strtod.c (main): Likewise.
2656 * stdlib/tst-strtol.c (main): Likewise.
2657 * stdlib/tst-strtoll.c (main): Likewise.
2658 * string/bits/string2.h (__strcmp_cc): Likewise.
2659 (__strcmp_cg): Likewise.
2660 (__strcspn_c1): Likewise.
2661 (__strcspn_c2): Likewise.
2662 (__strcspn_c3): Likewise.
2663 (__strspn_c1): Likewise.
2664 (__strspn_c2): Likewise.
2665 (__strspn_c3): Likewise.
2666 (__strsep_1c): Likewise.
2667 (__strsep_2c): Likewise.
2668 (__strsep_3c): Likewise.
2669 * string/memccpy.c (__memccpy): Likewise.
2670 * string/stpcpy.c (__stpcpy): Likewise.
2671 * string/strcmp.c (strcmp): Likewise.
2672 * string/strrchr.c (strrchr): Likewise.
2673 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2675 * sysdeps/mach/hurd/getcwd.c
2676 (_hurd_canonicalize_directory_name_internal): Likewise.
2677 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2678 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2679 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2680 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2681 Likewise, in both definitions.
2682 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2684 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2685 64] (__bswap_64): Likewise.
2686 * time/test_time.c (main): Likewise.
2687 * time/tzfile.c (__tzfile_read): Likewise.
2688 (__tzfile_compute): Likewise.
2689 * time/tzset.c (__tzset_parse_tz): Likewise.
2690 (tzset_internal): Likewise.
2691 (compute_change): Likewise.
2692 * wcsmbs/wcscat.c (__wcscat): Likewise.
2693 * wcsmbs/wcschr.c (wcschr): Likewise.
2694 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2695 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2696 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2697 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2698 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2699 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2700 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2701 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2702 * wcsmbs/wmemset.c (wmemset): Likewise.
2704 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2706 * scripts/config.guess: Update to version 2013-05-16.
2707 * scripts/config.sub: Update to version 2013-04-24.
2708 * scripts/install-sh: Update to version 2011-11-20.07.
2709 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2710 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2712 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2714 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2715 * elf/sln.c: Likewise.
2716 * hurd/hurd/ioctl.h: Likewise.
2717 * hurd/hurdmalloc.c: Likewise.
2718 * hurd/xattr.c: Likewise.
2719 * include/shlib-compat.h: Likewise.
2720 * inet/ruserpass.c: Likewise.
2721 * libio/iofgets_u.c: Likewise.
2722 * libio/iofgetws_u.c: Likewise.
2723 * locale/programs/ld-identification.c: Likewise.
2724 * locale/programs/ld-time.c: Likewise.
2725 * mach/msg-destroy.c: Likewise.
2726 * nss/nss_files/files-netgrp.c: Likewise.
2727 * resolv/res_data.c: Likewise.
2728 * soft-fp/op-1.h: Likewise.
2729 * soft-fp/op-2.h: Likewise.
2730 * soft-fp/op-4.h: Likewise.
2731 * soft-fp/op-common.h: Likewise.
2732 * stdio-common/printf_fphex.c: Likewise.
2733 * stdlib/strtod_l.c: Likewise.
2734 * sunrpc/rpc/clnt.h: Likewise.
2735 * sysdeps/generic/framestate.c: Likewise.
2736 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2737 * sysdeps/i386/bsd-setjmp.S: Likewise.
2738 * sysdeps/i386/__longjmp.S: Likewise.
2739 * sysdeps/i386/setjmp.S: Likewise.
2740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2741 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2743 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2745 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2753 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2754 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2756 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2757 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2758 * sysdeps/ieee754/support.c: Likewise.
2759 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2760 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2761 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2762 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2763 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2764 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2765 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2766 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2767 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2768 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2769 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2770 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2771 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2772 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2773 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2774 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2775 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2778 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2780 * posix/transbug.c: Remove executable mode.
2782 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2784 * crypt/speeds.c: Remove trailing whitespace.
2785 * dlfcn/default.c: Likewise.
2786 * elf/ifuncdep2.c: Likewise.
2787 * elf/ifuncmain1.c: Likewise.
2788 * elf/ifuncmain1vis.c: Likewise.
2789 * elf/testobj.h: Likewise.
2790 * elf/tst-stackguard1.c: Likewise.
2791 * gmon/sys/gmon.h: Likewise.
2792 * hurd/hurdmsg.c: Likewise.
2793 * hurd/new-fd.c: Likewise.
2794 * hurd/ports-get.c: Likewise.
2795 * iconvdata/ibm1008_420.c: Likewise.
2796 * inet/tst-getni1.c: Likewise.
2797 * inet/tst-getni2.c: Likewise.
2798 * libio/ioungetc.c: Likewise.
2799 * libio/wfiledoalloc.c: Likewise.
2800 * manual/libm-err-tab.pl: Likewise.
2801 * math/w_dremf.c: Likewise.
2802 * misc/ftruncate.c: Likewise.
2803 * posix/bug-glob2.c: Likewise.
2804 * posix/tst-pcre.c: Likewise.
2805 * posix/wait4.c: Likewise.
2806 * resolv/README: Likewise.
2807 * resolv/res_debug.h: Likewise.
2808 * resolv/tst-inet_ntop.c: Likewise.
2809 * setjmp/bug269-setjmp.c: Likewise.
2810 * soft-fp/extended.h: Likewise.
2811 * soft-fp/op-1.h: Likewise.
2812 * soft-fp/op-2.h: Likewise.
2813 * soft-fp/op-4.h: Likewise.
2814 * soft-fp/op-8.h: Likewise.
2815 * soft-fp/testit.c: Likewise.
2816 * stdio-common/bug16.c: Likewise.
2817 * stdlib/random.c: Likewise.
2818 * sunrpc/rpcsvc/rquota.x: Likewise.
2819 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2820 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2822 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2823 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2824 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2825 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2826 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2827 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2828 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2829 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2848 * sysdeps/ieee754/s_lib_version.c: Likewise.
2849 * sysdeps/mach/hurd/check_fds.c: Likewise.
2850 * sysdeps/mach/hurd/getsockname.c: Likewise.
2851 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2852 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2853 * sysdeps/powerpc/bits/link.h: Likewise.
2854 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2855 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2856 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2857 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2858 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2859 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2860 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2861 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2862 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2863 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2864 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2865 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2866 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2867 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2868 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2869 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2870 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2873 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2874 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2875 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2876 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2877 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2878 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2879 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2881 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2882 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2883 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2884 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2886 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2888 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2889 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2894 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2895 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2896 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2897 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2898 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2900 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2903 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2906 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2907 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2909 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2910 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2913 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2914 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2918 * sysdeps/powerpc/sysdep.h: Likewise.
2919 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2920 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2921 * sysdeps/sh/dl-trampoline.S: Likewise.
2922 * sysdeps/sh/memset.S: Likewise.
2923 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2924 * sysdeps/sh/strlen.S: Likewise.
2925 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2926 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2927 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2928 * sysdeps/sparc/sparc32/rem.S: Likewise.
2929 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2930 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2931 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2932 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2933 * sysdeps/sparc/sparc32/urem.S: Likewise.
2934 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2935 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2936 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2937 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2939 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2940 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2941 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2942 * sysdeps/unix/bsd/times.c: Likewise.
2943 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2944 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2949 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2950 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2951 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2952 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2953 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2954 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2955 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2956 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2957 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2958 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2959 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2960 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2961 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2962 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2963 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2964 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2965 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2966 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2967 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2968 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2969 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2971 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2972 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2973 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2974 * sysdeps/x86_64/strcspn.S: Likewise.
2976 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2978 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2979 generated file. Regenerate properly from gen-translit.pl.
2980 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2981 locale/C-translit.h.
2983 2013-06-05 Andreas Schwab <schwab@suse.de>
2986 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2987 week as 6 instead of -1.
2988 * time/tst-strptime.c (day_tests): Add test case.
2990 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2992 * sysdeps/generic/math_private.h
2993 (libc_feholdexcept_setround_53bit): Replace with
2994 libc_feholdsetround_53bit.
2995 (libc_feupdateenv_53bit): Replace with
2996 libc_feresetround_53bit.
2997 (SET_RESTORE_ROUND_53BIT): Adjust.
2999 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3001 * string/test-strchrnul.c: Add copyright header.
3003 * posix/tst-getaddrinfo4.c: Increase test timeout.
3005 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3008 * math/libm-test.inc (MAX_EXP): Remove
3010 (ulp): Use MIN_EXP - MANT_DIG.
3011 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3013 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3015 * po/be.po: Revert last change.
3016 * po/zh_CN.po: Likewise.
3017 * po/header.pot: Likewise.
3019 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3021 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3022 link-libc-deps to empty as target-specific variable.
3023 * Makerules (link-libc-args): New variable.
3024 (libc-for-link): Likewise.
3025 (link-libc-deps): Likewise.
3026 (lib%.so): Depend on $(link-libc-deps). Link with
3028 (build-module): Link with $(link-libc-args).
3029 (build-module-asneeded): Likewise.
3030 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3032 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3033 target-specific variable.
3034 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3035 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3036 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3038 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3040 ($(objpfx)libpcprofile.so): Likewise.
3041 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3043 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3044 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3047 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3048 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3049 * login/Makefile ($(objpfx)libutil.so): Likewise.
3050 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3051 * math/Makefile ($(objpfx)libm.so): Likewise.
3052 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3053 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3054 variable instead of depending directly on libc.
3055 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3056 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3058 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3060 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3061 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3062 ($(objpfx)libanl.so): Likewise.
3063 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3065 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3067 * sysdeps/i386/fpu/Makefile: Remove file.
3068 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3069 ($(objpfx)libm.so): Remove dependency on ld.so.
3071 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3074 * nis/yp_xdr.c (XDRMAXNAME): Define.
3075 (XDRMAXRECORD): Define.
3076 (xdr_domainname): Use XDRMAXNAME.
3077 (xdr_mapname): Likewise.
3078 (xdr_peername): Likewise.
3079 (xdr_keydat): Use XDRMAXRECORD.
3080 (xdr_valdat): Likewise.
3082 2013-05-30 Jeff Law <law@redhat.com>
3085 * manual/errno.texi (ESTALE): Update to account for more than
3086 just NFS file systems.
3087 * sysdeps/gnu/errlist.c: Regenerated.
3089 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3092 * elf/Makefile (tests): Add tst-null-argv.
3093 (modules-names): Add tst-null-argv-lib.
3094 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3095 (tst-null-argv-ENV): Set environment for tst-null-argv.
3096 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3097 (RTLD_PROGNAME): New macro.
3098 * elf/tst-null-argv.c: New test case.
3099 * elf/tst-null-argv-lib.c: Library for test case.
3100 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3101 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3102 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3103 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3104 * elf/dl-init.c (call_init): Likewise.
3105 (_dl_init): Likewise.
3106 * elf/dl-load.c (print_search_path): Likewise.
3107 (_dl_map_object): Likewise.
3108 * elf/dl-lookup.c (do_lookup_x): Likewise.
3109 (add_dependency): Likewise.
3110 (_dl_lookup_symbol_x): Likewise.
3111 (_dl_debug_bindings): Likewise.
3112 * elf/dl-open.c (_dl_show_scope): Likewise.
3113 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3114 * elf/dl-version.c (match_symbol): Likewise.
3115 (_dl_check_map_versions): Likewise.
3116 * elf/rtld.c (dl_main): Likewise.
3117 (print_unresolved): Use RTLD_PROGNAME.
3118 (print_missing_version): Likewise.
3119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3120 (elf_machine_rela): Likewise.
3121 * sysdeps/powerpc/powerpc32/dl-machine.c
3122 (__process_machine_rela): Likewise.
3123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3129 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3136 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3138 * po/be.po: Add descriptive title.
3139 * po/zh_CN.po: Likewise.
3140 * po/header.pot: Likewise.
3142 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3144 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3146 (enlarge_archive): Likewise.
3148 2013-05-28 Ben North <ben@redfrontdoor.org>
3150 * manual/arith.texi (frexp): It is the magnitude of the return
3151 value which lies in [0.5, 1), not the return value itself.
3153 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3157 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3159 * stdio-common/bug26.c (main): Correct fscanf template.
3161 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3162 declare _dl_skip_args.
3164 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3167 * manual/platform.texi: Add missing @end deftypefun.
3169 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3172 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3173 bit of mantissa of 2^16382.
3174 * math/libm-test.inc (hypot_test_data): Add more tests.
3176 * math/libm-test.inc: Add drem and pow10 to list of tested
3178 (pow10_test): New function.
3179 (drem_test): Likewise.
3180 (drem_test_tonearest): Likewise.
3181 (drem_test_towardzero): Likewise.
3182 (drem_test_downward): Likewise.
3183 (drem_test_upward): Likewise.
3184 (main): Call the new functions.
3186 * math/libm-test.inc (finite_test_data): Remove.
3187 (finite_test): Run tests from isfinite_test_data.
3188 (gamma_test_data): Remove.
3189 (gamma_test): Run tests from lgamma_test_data.
3190 * sysdeps/i386/fpu/libm-test-ulps: Update.
3191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3193 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3195 * manual/platform.texi: Add PowerPC PPR function set documentation.
3196 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3199 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3201 * math/libm-test.inc (MAX_EXP): Define.
3203 (ulp): New function.
3204 (check_float_internal): Use ULPDIFF.
3205 (cpow_test): Disable failing test.
3206 (check_ulp): Test ulp() implemetnation.
3207 (main): Call check_ulp before starting tests.
3209 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3211 * math/gen-libm-test.pl (generate_testfile): Do not handle
3212 START_DATA and END_DATA.
3213 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3215 (acos_tonearest_test_data): Likewise.
3216 (acos_towardzero_test_data): Likewise.
3217 (acos_downward_test_data): Likewise.
3218 (acos_upward_test_data): Likewise.
3219 (acosh_test_data): Likewise.
3220 (asin_test_data): Likewise.
3221 (asin_tonearest_test_data): Likewise.
3222 (asin_towardzero_test_data): Likewise.
3223 (asin_downward_test_data): Likewise.
3224 (asin_upward_test_data): Likewise.
3225 (asinh_test_data): Likewise.
3226 (atan_test_data): Likewise.
3227 (atanh_test_data): Likewise.
3228 (atan2_test_data): Likewise.
3229 (cabs_test_data): Likewise.
3230 (cacos_test_data): Likewise.
3231 (cacosh_test_data): Likewise.
3232 (carg_test_data): Likewise.
3233 (casin_test_data): Likewise.
3234 (casinh_test_data): Likewise.
3235 (catan_test_data): Likewise.
3236 (catanh_test_data): Likewise.
3237 (cbrt_test_data): Likewise.
3238 (ccos_test_data): Likewise.
3239 (ccosh_test_data): Likewise.
3240 (ceil_test_data): Likewise.
3241 (cexp_test_data): Likewise.
3242 (cimag_test_data): Likewise.
3243 (clog_test_data): Likewise.
3244 (clog10_test_data): Likewise.
3245 (conj_test_data): Likewise.
3246 (copysign_test_data): Likewise.
3247 (cos_test_data): Likewise.
3248 (cos_tonearest_test_data): Likewise.
3249 (cos_towardzero_test_data): Likewise.
3250 (cos_downward_test_data): Likewise.
3251 (cos_upward_test_data): Likewise.
3252 (cosh_test_data): Likewise.
3253 (cosh_tonearest_test_data): Likewise.
3254 (cosh_towardzero_test_data): Likewise.
3255 (cosh_downward_test_data): Likewise.
3256 (cosh_upward_test_data): Likewise.
3257 (cpow_test_data): Likewise.
3258 (cproj_test_data): Likewise.
3259 (creal_test_data): Likewise.
3260 (csin_test_data): Likewise.
3261 (csinh_test_data): Likewise.
3262 (csqrt_test_data): Likewise.
3263 (ctan_test_data): Likewise.
3264 (ctan_tonearest_test_data): Likewise.
3265 (ctan_towardzero_test_data): Likewise.
3266 (ctan_downward_test_data): Likewise.
3267 (ctan_upward_test_data): Likewise.
3268 (ctanh_test_data): Likewise.
3269 (ctanh_tonearest_test_data): Likewise.
3270 (ctanh_towardzero_test_data): Likewise.
3271 (ctanh_downward_test_data): Likewise.
3272 (ctanh_upward_test_data): Likewise.
3273 (erf_test_data): Likewise.
3274 (erfc_test_data): Likewise.
3275 (exp_test_data): Likewise.
3276 (exp_tonearest_test_data): Likewise.
3277 (exp_towardzero_test_data): Likewise.
3278 (exp_downward_test_data): Likewise.
3279 (exp_upward_test_data): Likewise.
3280 (exp10_test_data): Likewise.
3281 (exp2_test_data): Likewise.
3282 (expm1_test_data): Likewise.
3283 (fabs_test_data): Likewise.
3284 (fdim_test_data): Likewise.
3285 (finite_test_data): Likewise.
3286 (floor_test_data): Likewise.
3287 (fma_test_data): Likewise.
3288 (fma_towardzero_test_data): Likewise.
3289 (fma_downward_test_data): Likewise.
3290 (fma_upward_test_data): Likewise.
3291 (fmax_test_data): Likewise.
3292 (fmin_test_data): Likewise.
3293 (fmod_test_data): Likewise.
3294 (fpclassify_test_data): Likewise.
3295 (frexp_test_data): Likewise.
3296 (gamma_test_data): Likewise.
3297 (hypot_test_data): Likewise.
3298 (ilogb_test_data): Likewise.
3299 (isfinite_test_data): Likewise.
3300 (isgreater_test_data): Likewise.
3301 (isgreaterequal_test_data): Likewise.
3302 (isinf_test_data): Likewise.
3303 (isless_test_data): Likewise.
3304 (islessequal_test_data): Likewise.
3305 (islessgreater_test_data): Likewise.
3306 (isnan_test_data): Likewise.
3307 (isnormal_test_data): Likewise.
3308 (issignaling_test_data): Likewise.
3309 (isunordered_test_data): Likewise.
3310 (j0_test_data): Likewise.
3311 (j1_test_data): Likewise.
3312 (jn_test_data): Likewise.
3313 (ldexp_test_data): Likewise.
3314 (lgamma_test_data): Likewise.
3315 (lrint_test_data): Likewise.
3316 (lrint_tonearest_test_data): Likewise.
3317 (lrint_towardzero_test_data): Likewise.
3318 (lrint_downward_test_data): Likewise.
3319 (lrint_upward_test_data): Likewise.
3320 (llrint_test_data): Likewise.
3321 (llrint_tonearest_test_data): Likewise.
3322 (llrint_towardzero_test_data): Likewise.
3323 (llrint_downward_test_data): Likewise.
3324 (llrint_upward_test_data): Likewise.
3325 (log_test_data): Likewise.
3326 (log10_test_data): Likewise.
3327 (log1p_test_data): Likewise.
3328 (log2_test_data): Likewise.
3329 (logb_test_data): Likewise.
3330 (logb_downward_test_data): Likewise.
3331 (lround_test_data): Likewise.
3332 (llround_test_data): Likewise.
3333 (modf_test_data): Likewise.
3334 (nearbyint_test_data): Likewise.
3335 (nextafter_test_data): Likewise.
3336 (nexttoward_test_data): Likewise.
3337 (pow_test_data): Likewise.
3338 (pow_tonearest_test_data): Likewise.
3339 (pow_towardzero_test_data): Likewise.
3340 (pow_downward_test_data): Likewise.
3341 (pow_upward_test_data): Likewise.
3342 (remainder_test_data): Likewise.
3343 (remainder_tonearest_test_data): Likewise.
3344 (remainder_towardzero_test_data): Likewise.
3345 (remainder_downward_test_data): Likewise.
3346 (remainder_upward_test_data): Likewise.
3347 (remquo_test_data): Likewise.
3348 (rint_test_data): Likewise.
3349 (rint_tonearest_test_data): Likewise.
3350 (rint_towardzero_test_data): Likewise.
3351 (rint_downward_test_data): Likewise.
3352 (rint_upward_test_data): Likewise.
3353 (round_test_data): Likewise.
3354 (scalb_test_data): Likewise.
3355 (scalbn_test_data): Likewise.
3356 (scalbln_test_data): Likewise.
3357 (signbit_test_data): Likewise.
3358 (sin_test_data): Likewise.
3359 (sin_tonearest_test_data): Likewise.
3360 (sin_towardzero_test_data): Likewise.
3361 (sin_downward_test_data): Likewise.
3362 (sin_upward_test_data): Likewise.
3363 (sincos_test_data): Likewise.
3364 (sinh_test_data): Likewise.
3365 (sinh_tonearest_test_data): Likewise.
3366 (sinh_towardzero_test_data): Likewise.
3367 (sinh_downward_test_data): Likewise.
3368 (sinh_upward_test_data): Likewise.
3369 (sqrt_test_data): Likewise.
3370 (tan_test_data): Likewise.
3371 (tan_tonearest_test_data): Likewise.
3372 (tan_towardzero_test_data): Likewise.
3373 (tan_downward_test_data): Likewise.
3374 (tan_upward_test_data): Likewise.
3375 (tanh_test_data): Likewise.
3376 (tgamma_test_data): Likewise.
3377 (trunc_test_data): Likewise.
3378 (y0_test_data): Likewise.
3379 (y1_test_data): Likewise.
3380 (yn_test_data): Likewise.
3381 (significand_test_data): Likewise.
3383 * math/gen-libm-test.pl (@functions): Remove variable.
3384 (generate_testfile): Don't handle START and END lines.
3385 * math/libm-test.inc (START): New macro.
3387 (END_COMPLEX): Likewise.
3388 (acos_test): Use END macro without arguments.
3389 (acos_test_tonearest): Likewise.
3390 (acos_test_towardzero): Likewise.
3391 (acos_test_downward): Likewise.
3392 (acos_test_upward): Likewise.
3393 (acosh_test): Likewise.
3394 (asin_test): Likewise.
3395 (asin_test_tonearest): Likewise.
3396 (asin_test_towardzero): Likewise.
3397 (asin_test_downward): Likewise.
3398 (asin_test_upward): Likewise.
3399 (asinh_test): Likewise.
3400 (atan_test): Likewise.
3401 (atanh_test): Likewise.
3402 (atan2_test): Likewise.
3403 (cabs_test): Likewise.
3404 (cacos_test): Use END_COMPLEX macro without arguments.
3405 (cacosh_test): Likewise.
3406 (carg_test): Use END macro without arguments.
3407 (casin_test): Use END_COMPLEX macro without arguments.
3408 (casinh_test): Likewise.
3409 (catan_test): Likewise.
3410 (catanh_test): Likewise.
3411 (cbrt_test): Use END macro without arguments.
3412 (ccos_test): Use END_COMPLEX macro without arguments.
3413 (ccosh_test): Likewise.
3414 (ceil_test): Use END macro without arguments.
3415 (cexp_test): Use END_COMPLEX macro without arguments.
3416 (cimag_test): Use END macro without arguments.
3417 (clog_test): Use END_COMPLEX macro without arguments.
3418 (clog10_test): Likewise.
3419 (conj_test): Likewise.
3420 (copysign_test): Use END macro without arguments.
3421 (cos_test): Likewise.
3422 (cos_test_tonearest): Likewise.
3423 (cos_test_towardzero): Likewise.
3424 (cos_test_downward): Likewise.
3425 (cos_test_upward): Likewise.
3426 (cosh_test): Likewise.
3427 (cosh_test_tonearest): Likewise.
3428 (cosh_test_towardzero): Likewise.
3429 (cosh_test_downward): Likewise.
3430 (cosh_test_upward): Likewise.
3431 (cpow_test): Use END_COMPLEX macro without arguments.
3432 (cproj_test): Likewise.
3433 (creal_test): Use END macro without arguments.
3434 (csin_test): Use END_COMPLEX macro without arguments.
3435 (csinh_test): Likewise.
3436 (csqrt_test): Likewise.
3437 (ctan_test): Likewise.
3438 (ctan_test_tonearest): Likewise.
3439 (ctan_test_towardzero): Likewise.
3440 (ctan_test_downward): Likewise.
3441 (ctan_test_upward): Likewise.
3442 (ctanh_test): Likewise.
3443 (ctanh_test_tonearest): Likewise.
3444 (ctanh_test_towardzero): Likewise.
3445 (ctanh_test_downward): Likewise.
3446 (ctanh_test_upward): Likewise.
3447 (erf_test): Use END macro without arguments.
3448 (erfc_test): Likewise.
3449 (exp_test): Likewise.
3450 (exp_test_tonearest): Likewise.
3451 (exp_test_towardzero): Likewise.
3452 (exp_test_downward): Likewise.
3453 (exp_test_upward): Likewise.
3454 (exp10_test): Likewise.
3455 (exp2_test): Likewise.
3456 (expm1_test): Likewise.
3457 (fabs_test): Likewise.
3458 (fdim_test): Likewise.
3459 (finite_test): Likewise.
3460 (floor_test): Likewise.
3461 (fma_test): Likewise.
3462 (fma_test_towardzero): Likewise.
3463 (fma_test_downward): Likewise.
3464 (fma_test_upward): Likewise.
3465 (fmax_test): Likewise.
3466 (fmin_test): Likewise.
3467 (fmod_test): Likewise.
3468 (fpclassify_test): Likewise.
3469 (frexp_test): Likewise.
3470 (gamma_test): Likewise.
3471 (hypot_test): Likewise.
3472 (ilogb_test): Likewise.
3473 (isfinite_test): Likewise.
3474 (isgreater_test): Likewise.
3475 (isgreaterequal_test): Likewise.
3476 (isinf_test): Likewise.
3477 (isless_test): Likewise.
3478 (islessequal_test): Likewise.
3479 (islessgreater_test): Likewise.
3480 (isnan_test): Likewise.
3481 (isnormal_test): Likewise.
3482 (issignaling_test): Likewise.
3483 (isunordered_test): Likewise.
3484 (j0_test): Likewise.
3485 (j1_test): Likewise.
3486 (jn_test): Likewise.
3487 (ldexp_test): Likewise.
3488 (lgamma_test): Likewise.
3489 (lrint_test): Likewise.
3490 (lrint_test_tonearest): Likewise.
3491 (lrint_test_towardzero): Likewise.
3492 (lrint_test_downward): Likewise.
3493 (lrint_test_upward): Likewise.
3494 (llrint_test): Likewise.
3495 (llrint_test_tonearest): Likewise.
3496 (llrint_test_towardzero): Likewise.
3497 (llrint_test_downward): Likewise.
3498 (llrint_test_upward): Likewise.
3499 (log_test): Likewise.
3500 (log10_test): Likewise.
3501 (log1p_test): Likewise.
3502 (log2_test): Likewise.
3503 (logb_test): Likewise.
3504 (logb_test_downward): Likewise.
3505 (lround_test): Likewise.
3506 (llround_test): Likewise.
3507 (modf_test): Likewise.
3508 (nearbyint_test): Likewise.
3509 (nextafter_test): Likewise.
3510 (nexttoward_test): Likewise.
3511 (pow_test): Likewise.
3512 (pow_test_tonearest): Likewise.
3513 (pow_test_towardzero): Likewise.
3514 (pow_test_downward): Likewise.
3515 (pow_test_upward): Likewise.
3516 (remainder_test): Likewise.
3517 (remainder_test_tonearest): Likewise.
3518 (remainder_test_towardzero): Likewise.
3519 (remainder_test_downward): Likewise.
3520 (remainder_test_upward): Likewise.
3521 (remquo_test): Likewise.
3522 (rint_test): Likewise.
3523 (rint_test_tonearest): Likewise.
3524 (rint_test_towardzero): Likewise.
3525 (rint_test_downward): Likewise.
3526 (rint_test_upward): Likewise.
3527 (round_test): Likewise.
3528 (scalb_test): Likewise.
3529 (scalbn_test): Likewise.
3530 (scalbln_test): Likewise.
3531 (signbit_test): Likewise.
3532 (sin_test): Likewise.
3533 (sin_test_tonearest): Likewise.
3534 (sin_test_towardzero): Likewise.
3535 (sin_test_downward): Likewise.
3536 (sin_test_upward): Likewise.
3537 (sincos_test): Likewise.
3538 (sinh_test): Likewise.
3539 (sinh_test_tonearest): Likewise.
3540 (sinh_test_towardzero): Likewise.
3541 (sinh_test_downward): Likewise.
3542 (sinh_test_upward): Likewise.
3543 (sqrt_test): Likewise.
3544 (tan_test): Likewise.
3545 (tan_test_tonearest): Likewise.
3546 (tan_test_towardzero): Likewise.
3547 (tan_test_downward): Likewise.
3548 (tan_test_upward): Likewise.
3549 (tanh_test): Likewise.
3550 (tgamma_test): Likewise.
3551 (trunc_test): Likewise.
3552 (y0_test): Likewise.
3553 (y1_test): Likewise.
3554 (yn_test): Likewise.
3555 (significand_test): Likewise.
3557 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3560 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3562 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3565 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3566 __ppc_mdoio and __ppc_mdoom.
3567 * manual/platform.texi: Document new functions __ppc_yield,
3568 __ppc_mdoio and __ppc_mdoom.
3570 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3572 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3573 (main): Mention "tls" pseudo-hwcap is legacy.
3574 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3576 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3578 * math/gen-libm-test.pl (parse_args): Output only string of
3579 arguments as text for test name, not full call or descriptions of
3580 tests for extra outputs.
3581 (generate_testfile): Do not pass function name to parse_args.
3582 Generate this_func variable from START.
3583 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3585 (struct test_ff_f_data): Likewise.
3586 (test_ff_f_data_nexttoward): Likewise.
3587 (struct test_fi_f_data): Likewise.
3588 (struct test_fl_f_data): Likewise.
3589 (struct test_if_f_data): Likewise.
3590 (struct test_fff_f_data): Likewise.
3591 (struct test_c_f_data): Likewise.
3592 (struct test_f_f1_data): Likewise. Remove field extra_name.
3593 (struct test_fF_f1_data): Likewise.
3594 (struct test_ffI_f1_data): Likewise.
3595 (struct test_c_c_data): Rename test_name field to arg_str.
3596 (struct test_cc_c_data): Likewise.
3597 (struct test_f_i_data): Likewise.
3598 (struct test_ff_i_data): Likewise.
3599 (struct test_f_l_data): Likewise.
3600 (struct test_f_L_data): Likewise.
3601 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3603 (COMMON_TEST_SETUP): New macro.
3604 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3605 (COMMON_TEST_CLEANUP): Likewise.
3606 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3607 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3609 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3610 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3612 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3613 (RUN_TEST_fff_f): Take argument string. Call new setup and
3615 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3616 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3618 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3619 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3621 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3622 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3624 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3625 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3627 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3628 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3630 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3631 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3633 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3634 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3636 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3637 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3639 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3640 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3642 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3643 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3645 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3646 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3648 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3649 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3651 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3652 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3654 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3655 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3657 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3658 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3660 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3662 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3664 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3665 to _sifields.sigfault.
3666 (si_addr_lsb): Define new macro.
3667 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3669 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3671 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3674 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3676 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3678 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3681 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3683 * math/gen-libm-test.pl (parse_args): Do not include expected
3684 result in test name.
3685 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3687 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3688 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3689 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3694 * benchtests/Makefile: Sort function entries.
3696 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3697 tanh, asinh, acosh, atanh.
3698 * benchtests/acos-inputs: New file.
3699 * benchtests/acosh-inputs: New file.
3700 * benchtests/asin-inputs: New file.
3701 * benchtests/asinh-inputs: New file.
3702 * benchtests/atanh-inputs: New file.
3703 * benchtests/cosh-inputs: New file.
3704 * benchtests/log-inputs: New file.
3705 * benchtests/sinh-inputs: New file.
3706 * benchtests/tanh-inputs: New file.
3708 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3711 * posix/tst-getaddrinfo4.c: New test.
3712 * posix/Makefile (tests): Add it.
3714 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3717 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3718 when no services were used.
3719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3720 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3722 2013-05-21 Andreas Schwab <schwab@suse.de>
3725 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3726 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3728 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3729 redundant variable declarations and reallocation of buffer when
3730 parsing as IPv6 address. Always set NSS status when called from
3731 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3732 buffer too small. Correct computation of needed size.
3733 * nss/Makefile (tests): Add test-digits-dots.
3734 * nss/test-digits-dots.c: New test.
3736 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3738 * benchtests/Makefile: Remove instructions for adding
3740 * benchtests/README: New file to explain how to execute and
3741 enhance the benchmark tests.
3743 2013-05-21 Andreas Schwab <schwab@suse.de>
3746 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3747 * setjmp/tst-sigsetjmp.c: New test.
3749 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3751 * sysdeps/x86_64/memset.S (memset): New implementation.
3752 (__bzero): Likewise.
3753 (__memset_tail): New function.
3755 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3757 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3758 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3759 __memcpy_sse2_unaligned ifunc selection.
3760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3761 Add memcpy-sse2-unaligned.S.
3762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3763 Add: __memcpy_sse2_unaligned.
3765 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3768 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3769 math_force_eval before restoring floating-point envrionment.
3770 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3773 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3775 (__nearbyintl): Use math_force_eval before restoring
3776 floating-point environment.
3777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3779 * math/gen-libm-test.pl (special_functions): Remove.
3780 (parse_args): Don't handle TEST_extra. Handle functions with no
3782 * math/libm-test.inc (struct test_sincos_data): Replace with
3783 struct test_fFF_11_data.
3784 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3785 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3786 (sincos_test_data): Change element type to struct
3787 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3788 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3789 RUN_TEST_LOOP_sincos.
3790 * math/README.libm-test: Don't mention special handling of
3791 individual functions.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3794 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3795 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3796 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3799 * math/gen-libm-test.pl (get_variable): Remove function.
3800 (parse_args): Don't show pointer parameters to call in test
3801 names. Use "extra output N" in test names for extra outputs
3802 rather than naming variables.
3804 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3807 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3808 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3809 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3811 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3813 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3816 * math/gen-libm-test.pl (@tests): Remove variable.
3818 (new_test): Remove function.
3819 (show_exceptions): New function.
3820 (special_functions): Use show_exceptions instead of new_test.
3821 (parse_args): Likewise.
3822 (generate_testfile): Pass only function name in generated call to
3823 print_max_error or print_complex_max_error.
3824 (get_ulps): Do not handle complex tests specially.
3825 (output_test): Rename to ...
3826 (get_all_ulps_for_test): ... this. Return a string rather than
3827 printing to a file. Require ulps to be present.
3828 (output_ulps): Generate arrays rather than #defines.
3829 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3830 (struct ulp_data): New type.
3831 (BUILD_COMPLEX_ULP): Remove macro.
3832 (compare_ulp_data): New function.
3833 (find_ulps): Likewise.
3834 (find_test_ulps): Likewise.
3835 (find_function_ulps): Likewise.
3836 (find_complex_function_ulps): Likewise.
3837 (print_max_error): Determine allowed ulps using
3839 (print_complex_max_error): Determine allowed ulps using
3840 find_complex_function_ulps.
3841 (check_float_internal): Determine max ulps using find_test_ulps.
3842 (check_float): Do not take max_ulp parameter. Update call to
3843 check_float_internal.
3844 (check_complex): Likewise.
3845 (check_int): Do not take max_ulp parameter.
3846 (check_long): Likewise.
3847 (check_bool): Likewise.
3848 (check_longlong): Likewise.
3849 (struct test_f_f_data): Remove max_ulp field.
3850 (struct test_ff_f_data): Likewise.
3851 (struct test_ff_f_data_nexttoward): Likewise.
3852 (struct test_fi_f_data): Likewise.
3853 (struct test_fl_f_data): Likewise.
3854 (struct test_if_f_data): Likewise.
3855 (struct test_fff_f_data): Likewise.
3856 (struct test_c_f_data): Likewise.
3857 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3858 (struct test_fF_f1_data): Likewise.
3859 (struct test_ffI_f1_data): Likewise.
3860 (struct test_c_c_data): Remove max_ulp field.
3861 (struct test_cc_c_data): Likewise.
3862 (struct test_f_i_data): Likewise.
3863 (struct test_ff_i_data): Likewise.
3864 (struct test_f_l_data): Likewise.
3865 (struct test_f_L_data): Likewise.
3866 (struct test_sincos_data): Likewise.
3867 (RUN_TEST_f_f): Do not handle ulps.
3868 (RUN_TEST_LOOP_f_f): Likewise.
3869 (RUN_TEST_2_f): Likewise.
3870 (RUN_TEST_LOOP_2_f): Likewise.
3871 (RUN_TEST_fff_f): Likewise.
3872 (RUN_TEST_LOOP_fff_f): Likewise.
3873 (RUN_TEST_c_f): Likewise.
3874 (RUN_TEST_LOOP_c_f): Likewise.
3875 (RUN_TEST_f_f1): Likewise.
3876 (RUN_TEST_LOOP_f_f1): Likewise.
3877 (RUN_TEST_fF_f1): Likewise.
3878 (RUN_TEST_LOOP_fF_f1): Likewise.
3879 (RUN_TEST_fI_f1): Likewise.
3880 (RUN_TEST_LOOP_fI_f1): Likewise.
3881 (RUN_TEST_ffI_f1): Likewise.
3882 (RUN_TEST_LOOP_ffI_f1): Likewise.
3883 (RUN_TEST_c_c): Likewise.
3884 (RUN_TEST_LOOP_c_c): Likewise.
3885 (RUN_TEST_cc_c): Likewise.
3886 (RUN_TEST_LOOP_cc_c): Likewise.
3887 (RUN_TEST_f_i): Likewise.
3888 (RUN_TEST_LOOP_f_i): Likewise.
3889 (RUN_TEST_f_i_tg): Likewise.
3890 (RUN_TEST_LOOP_f_i_tg): Likewise.
3891 (RUN_TEST_ff_i_tg): Likewise.
3892 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3893 (RUN_TEST_f_b): Likewise.
3894 (RUN_TEST_LOOP_f_b): Likewise.
3895 (RUN_TEST_f_b_tg): Likewise.
3896 (RUN_TEST_LOOP_f_b_tg): Likewise.
3897 (RUN_TEST_f_l): Likewise.
3898 (RUN_TEST_LOOP_f_l): Likewise.
3899 (RUN_TEST_f_L): Likewise.
3900 (RUN_TEST_LOOP_f_L): Likewise.
3901 (RUN_TEST_sincos): Likewise.
3902 (RUN_TEST_LOOP_sincos): Likewise.
3904 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3908 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3909 main case of finite arguments, set rounding mode to FE_TONEAREST
3910 and discard exceptions.
3911 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3913 (remainder_tonearest_test_data): New variable.
3914 (remainder_test_tonearest): New function.
3915 (remainder_towardzero_test_data): New variable.
3916 (remainder_test_towardzero): New function.
3917 (remainder_downward_test_data): New variable.
3918 (remainder_test_downward): New function.
3919 (remainder_upward_test_data): New variable.
3920 (remainder_test_upward): New function.
3921 (main): Call the new test functions.
3923 * math/libm-test.inc (struct test_f_f1_data): Remove field
3925 (struct test_fF_f1_data): Likewise.
3926 (struct test_ffI_f1_data): Likewise.
3927 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3928 based on value of EXTRA_EXPECTED.
3929 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3930 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3931 EXTRA_VAR based on value of EXTRA_EXPECTED.
3932 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3933 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3934 EXTRA_VAR based on value of EXTRA_EXPECTED.
3935 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3936 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3937 EXTRA_VAR based on value of EXTRA_EXPECTED.
3938 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3939 * math/gen-libm-test.pl (parse_args): Don't output initializers
3940 for extra output values.
3942 * math/libm-test.inc (check_int): Expect result to be exactly
3943 equal to expected value and do not handle ulps.
3944 (check_long): Likewise.
3945 (check_longlong): Likewise.
3947 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3949 (cimag_test_data): Likewise.
3950 (conj_test_data): Likewise.
3951 (copysign_test_data): Likewise.
3952 (cproj_test_data): Likewise.
3953 (creal_test_data): Likewise.
3954 (fabs_test_data): Likewise.
3955 (fdim_test_data): Likewise.
3956 (finite_test_data): Likewise.
3957 (floor_test_data): Likewise.
3958 (fmax_test_data): Likewise.
3959 (fmin_test_data): Likewise.
3960 (fmod_test_data): Likewise.
3961 (fpclassify_test_data): Likewise.
3962 (frexp_test_data): Likewise.
3963 (ilogb_test_data): Likewise.
3964 (isfinite_test_data): Likewise.
3965 (isgreater_test_data): Likewise.
3966 (isgreaterequal_test_data): Likewise.
3967 (isinf_test_data): Likewise.
3968 (isless_test_data): Likewise.
3969 (islessequal_test_data): Likewise.
3970 (islessgreater_test_data): Likewise.
3971 (isnan_test_data): Likewise.
3972 (isnormal_test_data): Likewise.
3973 (issignaling_test_data): Likewise.
3974 (isunordered_test_data): Likewise.
3975 (ldexp_test_data): Likewise.
3976 (lrint_test_data): Likewise.
3977 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3978 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3979 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3980 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3981 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3982 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3984 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3985 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3986 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3987 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3989 (lrint_downward_test_data): Test for "inexact" exceptions.
3990 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3991 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3992 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3994 (lrint_upward_test_data): Test for "inexact" exceptions.
3995 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3997 (llrint_test_data): Test for "inexact" exceptions.
3998 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3999 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4000 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4001 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4002 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4003 (llrint_downward_test_data): Test for "inexact" exceptions.
4004 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4005 (llrint_upward_test_data): Test for "inexact" exceptions.
4006 (logb_test_data): Likewise.
4007 (logb_downward_test_data): Likewise.
4008 (nextafter_test_data): Likewise.
4009 (nexttoward_test_data): Likewise.
4010 (remainder_test_data): Likewise.
4011 (remquo_test_data): Likewise.
4012 (scalbn_test_data): Likewise.
4013 (scalbln_test_data): Likewise.
4014 (signbit_test_data): Likewise.
4015 (sqrt_test_data): Likewise.
4016 (significand_test_data): Likewise.
4018 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4021 * benchtests/bench-modf.c (struct args): Mark arg0 as
4023 * scripts/bench.pl: Mark members of struct args as volatile.
4025 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4028 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4029 negative infinity on POWER6 or lower.
4030 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4032 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4035 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4036 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4037 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4038 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4039 (_FP_SETQNAN): New macro.
4040 (_FP_SETQNAN_SEMIRAW): Likewise.
4041 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4042 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4043 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4044 (FP_EXTEND): Use _FP_FRAC_SNANP.
4045 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4046 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4048 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4050 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4053 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4055 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4056 with DIVIDE_BY_ZERO_EXCEPTION.
4057 (gamma_test_data): Likewise.
4058 (lgamma_test_data): Likewise.
4059 (log_test_data): Likewise.
4060 (log10_test_data): Likewise.
4061 (log2_test_data): Likewise.
4062 (tgamma_test_data): Likewise.
4064 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4065 (acos_test_tonearest): Likewise.
4066 (acos_test_towardzero): Likewise.
4067 (acos_test_downward): Likewise.
4068 (acos_test_upward): Likewise.
4069 (acosh_test): Likewise.
4070 (asin_test): Likewise.
4071 (asin_test_tonearest): Likewise.
4072 (asin_test_towardzero): Likewise.
4073 (asin_test_downward): Likewise.
4074 (asin_test_upward): Likewise.
4075 (asinh_test): Likewise.
4076 (atan_test): Likewise.
4077 (atanh_test): Likewise.
4078 (atan2_test): Likewise.
4079 (cabs_test): Likewise.
4080 (cacos_test): Likewise.
4081 (cacosh_test): Likewise.
4082 (casin_test): Likewise.
4083 (casinh_test): Likewise.
4084 (catan_test): Likewise.
4085 (catanh_test): Likewise.
4086 (cbrt_test): Likewise.
4087 (ccos_test): Likewise.
4088 (ccosh_test): Likewise.
4089 (cexp_test): Likewise.
4090 (clog_test): Likewise.
4091 (clog10_test): Likewise.
4092 (cos_test): Likewise.
4093 (cos_test_tonearest): Likewise.
4094 (cos_test_towardzero): Likewise.
4095 (cos_test_downward): Likewise.
4096 (cos_test_upward): Likewise.
4097 (cosh_test): Likewise.
4098 (cosh_test_tonearest): Likewise.
4099 (cosh_test_towardzero): Likewise.
4100 (cosh_test_downward): Likewise.
4101 (cosh_test_upward): Likewise.
4102 (cpow_test): Likewise.
4103 (csin_test): Likewise.
4104 (csinh_test): Likewise.
4105 (csqrt_test): Likewise.
4106 (ctan_test): Likewise.
4107 (ctan_test_tonearest): Likewise.
4108 (ctan_test_towardzero): Likewise.
4109 (ctan_test_downward): Likewise.
4110 (ctan_test_upward): Likewise.
4111 (ctanh_test): Likewise.
4112 (ctanh_test_tonearest): Likewise.
4113 (ctanh_test_towardzero): Likewise.
4114 (ctanh_test_downward): Likewise.
4115 (ctanh_test_upward): Likewise.
4116 (erf_test): Likewise.
4117 (erfc_test): Likewise.
4118 (exp_test): Likewise.
4119 (exp_test_tonearest): Likewise.
4120 (exp_test_towardzero): Likewise.
4121 (exp_test_downward): Likewise.
4122 (exp_test_upward): Likewise.
4123 (exp10_test): Likewise.
4124 (exp2_test): Likewise.
4125 (expm1_test): Likewise.
4126 (fmod_test): Likewise.
4127 (gamma_test): Likewise.
4128 (hypot_test): Likewise.
4129 (j0_test): Likewise.
4130 (j1_test): Likewise.
4131 (jn_test): Likewise.
4132 (lgamma_test): Likewise.
4133 (log_test): Likewise.
4134 (log10_test): Likewise.
4135 (log1p_test): Likewise.
4136 (log2_test): Likewise.
4137 (logb_test_downward): Likewise.
4138 (pow_test): Likewise.
4139 (pow_test_tonearest): Likewise.
4140 (pow_test_towardzero): Likewise.
4141 (pow_test_downward): Likewise.
4142 (pow_test_upward): Likewise.
4143 (remainder_test): Likewise.
4144 (remquo_test): Likewise.
4145 (sin_test): Likewise.
4146 (sin_test_tonearest): Likewise.
4147 (sin_test_towardzero): Likewise.
4148 (sin_test_downward): Likewise.
4149 (sin_test_upward): Likewise.
4150 (sincos_test): Likewise.
4151 (sinh_test): Likewise.
4152 (sinh_test_tonearest): Likewise.
4153 (sinh_test_towardzero): Likewise.
4154 (sinh_test_downward): Likewise.
4155 (sinh_test_upward): Likewise.
4156 (sqrt_test): Likewise.
4157 (tan_test): Likewise.
4158 (tan_test_tonearest): Likewise.
4159 (tan_test_towardzero): Likewise.
4160 (tan_test_downward): Likewise.
4161 (tan_test_upward): Likewise.
4162 (tanh_test): Likewise.
4163 (tgamma_test): Likewise.
4164 (y0_test): Likewise.
4165 (y1_test): Likewise.
4166 (yn_test): Likewise.
4168 * math/gen-libm-test.pl (adjust_arg): Remove function.
4169 (special_function): Remove argument $in_func. Only handle
4170 generating output for tables of tests, not inside functions.
4171 (parse_args): Likewise.
4172 (generate_testfile): Remove variable $in_func. Update call to
4174 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4175 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4176 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4177 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4178 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4179 (MAX_VALUE_INIT): Rename macro to max_value.
4180 (MIN_VALUE_INIT): Rename macro to min_value.
4181 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4182 (plus_zero): Remove variable.
4183 (minus_zero): Likewise.
4184 (plus_infty): Likewise.
4185 (minus_infty): Likewise.
4186 (qnan_value): Likewise.
4187 (max_value): Likewise.
4188 (min_value): Likewise.
4189 (min_subnorm_value): Likewise.
4191 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4193 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4194 uint64_t or uint32_t usage.
4195 * crypt/sha256-block.c: Likewise.
4196 * crypt/sha256-crypt.c: Likewise.
4197 * crypt/sha256.c: Likewise.
4198 * crypt/sha512-block.c: Likewise.
4199 * crypt/sha512-crypt.c: Likewise.
4200 * crypt/sha512.c: Likewise.
4201 * debug/backtrace-tst.c: Likewise.
4202 * debug/pcprofiledump.c: Likewise.
4203 * elf/cache.c: Likewise.
4204 * elf/dl-cache.c: Likewise.
4205 * elf/dl-misc.c: Likewise.
4206 * elf/dl-profile.c: Likewise.
4207 * elf/dl-support.c: Likewise.
4208 * elf/ldconfig.c: Likewise.
4209 * elf/sprof.c: Likewise.
4210 * iconv/dummy-repertoire.c: Likewise.
4211 * iconv/iconv_charmap.c: Likewise.
4212 * iconv/skeleton.c: Likewise.
4213 * iconvdata/8bit-generic.c: Likewise.
4214 * iconvdata/cp737.h: Likewise.
4215 * iconvdata/cp775.h: Likewise.
4216 * iconvdata/ibm1008.h: Likewise.
4217 * iconvdata/ibm1025.h: Likewise.
4218 * iconvdata/ibm1046.h: Likewise.
4219 * iconvdata/ibm1097.h: Likewise.
4220 * iconvdata/ibm1112.h: Likewise.
4221 * iconvdata/ibm1122.h: Likewise.
4222 * iconvdata/ibm1123.h: Likewise.
4223 * iconvdata/ibm1124.h: Likewise.
4224 * iconvdata/ibm1129.h: Likewise.
4225 * iconvdata/ibm1130.h: Likewise.
4226 * iconvdata/ibm1132.h: Likewise.
4227 * iconvdata/ibm1133.h: Likewise.
4228 * iconvdata/ibm1137.h: Likewise.
4229 * iconvdata/ibm1140.h: Likewise.
4230 * iconvdata/ibm1141.h: Likewise.
4231 * iconvdata/ibm1142.h: Likewise.
4232 * iconvdata/ibm1143.h: Likewise.
4233 * iconvdata/ibm1144.h: Likewise.
4234 * iconvdata/ibm1145.h: Likewise.
4235 * iconvdata/ibm1146.h: Likewise.
4236 * iconvdata/ibm1147.h: Likewise.
4237 * iconvdata/ibm1148.h: Likewise.
4238 * iconvdata/ibm1149.h: Likewise.
4239 * iconvdata/ibm1153.h: Likewise.
4240 * iconvdata/ibm1154.h: Likewise.
4241 * iconvdata/ibm1155.h: Likewise.
4242 * iconvdata/ibm1156.h: Likewise.
4243 * iconvdata/ibm1157.h: Likewise.
4244 * iconvdata/ibm1158.h: Likewise.
4245 * iconvdata/ibm1160.h: Likewise.
4246 * iconvdata/ibm1161.h: Likewise.
4247 * iconvdata/ibm1162.h: Likewise.
4248 * iconvdata/ibm1163.h: Likewise.
4249 * iconvdata/ibm1164.h: Likewise.
4250 * iconvdata/ibm1166.h: Likewise.
4251 * iconvdata/ibm1167.h: Likewise.
4252 * iconvdata/ibm12712.h: Likewise.
4253 * iconvdata/ibm1390.h: Likewise.
4254 * iconvdata/ibm1399.h: Likewise.
4255 * iconvdata/ibm16804.h: Likewise.
4256 * iconvdata/ibm4517.h: Likewise.
4257 * iconvdata/ibm4899.h: Likewise.
4258 * iconvdata/ibm4909.h: Likewise.
4259 * iconvdata/ibm4971.h: Likewise.
4260 * iconvdata/ibm5347.h: Likewise.
4261 * iconvdata/ibm803.h: Likewise.
4262 * iconvdata/ibm856.h: Likewise.
4263 * iconvdata/ibm901.h: Likewise.
4264 * iconvdata/ibm902.h: Likewise.
4265 * iconvdata/ibm9030.h: Likewise.
4266 * iconvdata/ibm9066.h: Likewise.
4267 * iconvdata/ibm921.h: Likewise.
4268 * iconvdata/ibm922.h: Likewise.
4269 * iconvdata/ibm9448.h: Likewise.
4270 * iconvdata/isiri-3342.h: Likewise.
4271 * iconvdata/jis0201.h: Likewise.
4272 * include/link.h: Likewise.
4273 * include/netdb.h: Likewise.
4274 * inet/check_native.c: Likewise.
4275 * inet/check_pf.c: Likewise.
4276 * inet/getipv4sourcefilter.c: Likewise.
4277 * inet/getnameinfo.c: Likewise.
4278 * inet/getsourcefilter.c: Likewise.
4279 * inet/htonl.c: Likewise.
4280 * inet/setipv4sourcefilter.c: Likewise.
4281 * inet/setsourcefilter.c: Likewise.
4282 * inet/test-inet6_opt.c: Likewise.
4283 * inet/tst-network.c: Likewise.
4284 * locale/C-collate.c: Likewise.
4285 * locale/C-ctype.c: Likewise.
4286 * locale/C-time.c: Likewise.
4287 * locale/C-translit.h: Likewise.
4288 * locale/loadarchive.c: Likewise.
4289 * locale/programs/3level.h: Likewise.
4290 * locale/programs/charmap.c: Likewise.
4291 * locale/programs/charmap.h: Likewise.
4292 * locale/programs/ld-address.c: Likewise.
4293 * locale/programs/ld-collate.c: Likewise.
4294 * locale/programs/ld-ctype.c: Likewise.
4295 * locale/programs/ld-identification.c: Likewise.
4296 * locale/programs/ld-measurement.c: Likewise.
4297 * locale/programs/ld-messages.c: Likewise.
4298 * locale/programs/ld-monetary.c: Likewise.
4299 * locale/programs/ld-name.c: Likewise.
4300 * locale/programs/ld-numeric.c: Likewise.
4301 * locale/programs/ld-paper.c: Likewise.
4302 * locale/programs/ld-telephone.c: Likewise.
4303 * locale/programs/ld-time.c: Likewise.
4304 * locale/programs/linereader.c: Likewise.
4305 * locale/programs/locale.c: Likewise.
4306 * locale/programs/locarchive.c: Likewise.
4307 * locale/programs/locfile.h: Likewise.
4308 * locale/programs/repertoire.c: Likewise.
4309 * locale/programs/simple-hash.c: Likewise.
4310 * locale/programs/simple-hash.h: Likewise.
4311 * malloc/memusage.c: Likewise.
4312 * malloc/memusagestat.c: Likewise.
4313 * nis/nis_defaults.c: Likewise.
4314 * nis/nis_hash.c: Likewise.
4315 * nis/nis_print.c: Likewise.
4316 * nis/nis_xdr.c: Likewise.
4317 * nscd/connections.c: Likewise.
4318 * nscd/hstcache.c: Likewise.
4319 * nscd/nscd_gethst_r.c: Likewise.
4320 * nscd/nscd_getserv_r.c: Likewise.
4321 * nscd/nscd_helper.c: Likewise.
4322 * nscd/servicescache.c: Likewise.
4323 * nss/makedb.c: Likewise.
4324 * nss/nss_db/db-XXX.c: Likewise.
4325 * nss/nss_db/db-initgroups.c: Likewise.
4326 * nss/nss_db/db-netgrp.c: Likewise.
4327 * nss/nss_files/files-network.c: Likewise.
4328 * nss/nss_files/files-parse.c: Likewise.
4329 * posix/bug-regex5.c: Likewise.
4330 * posix/fnmatch_loop.c: Likewise.
4331 * posix/regcomp.c: Likewise.
4332 * posix/regexec.c: Likewise.
4333 * posix/tst-rfc3484-2.c: Likewise.
4334 * posix/tst-rfc3484-3.c: Likewise.
4335 * posix/tst-rfc3484.c: Likewise.
4336 * resolv/nss_dns/dns-canon.c: Likewise.
4337 * resolv/nss_dns/dns-network.c: Likewise.
4338 * resolv/res_init.c: Likewise.
4339 * resolv/res_mkquery.c: Likewise.
4340 * resolv/tst-aton.c: Likewise.
4341 * stdlib/cxa_atexit.c: Likewise.
4342 * stdlib/cxa_finalize.c: Likewise.
4343 * stdlib/gen-fpioconst.c: Likewise.
4344 * stdlib/strtol_l.c: Likewise.
4345 * string/tst-endian.c: Likewise.
4346 * sunrpc/auth_des.c: Likewise.
4347 * sunrpc/clnt_udp.c: Likewise.
4348 * sunrpc/rtime.c: Likewise.
4349 * sunrpc/svcauth_des.c: Likewise.
4350 * sunrpc/xdr.c: Likewise.
4351 * sunrpc/xdr_intXX_t.c: Likewise.
4352 * sunrpc/xdr_rec.c: Likewise.
4353 * sysdeps/generic/ldconfig.h: Likewise.
4354 * sysdeps/generic/ldsodefs.h: Likewise.
4355 * sysdeps/generic/memusage.h: Likewise.
4356 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4358 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4363 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4366 * sysdeps/posix/getaddrinfo.c: Likewise.
4367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4369 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4371 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4372 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4373 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4374 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4375 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4377 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4378 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4379 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4380 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4382 * sysdeps/x86_64/dl-tls.h: Likewise.
4383 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4384 * time/alt_digit.c: Likewise.
4385 * time/era.c: Likewise.
4386 * wcsmbs/tst-c16c32-1.c: Likewise.
4388 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4390 * math/libm-test.inc (struct test_sincos_data): New type.
4391 (RUN_TEST_LOOP_sincos): New macro.
4392 (sincos_test_data): New variable.
4393 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4395 2013-05-16 Richard Henderson <rth@redhat.com>
4397 * math/atest-exp2.c (LIMB64): New macro.
4398 (CONSTSZ): New macro.
4399 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4401 (print_mpn_fp): ... to function scope.
4402 (read_mpn_hex): Remove.
4404 (exp2_mpn): Use mp_log2.
4405 (main): Use mp_exp1.
4407 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4409 * math/libm-test.inc: Remove comment about not testing "inexact"
4411 (INEXACT_EXCEPTION): New macro.
4412 (NO_INEXACT_EXCEPTION): Likewise.
4413 (INVALID_EXCEPTION_OK): Update value.
4414 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4415 (OVERFLOW_EXCEPTION_OK): Likewise.
4416 (UNDERFLOW_EXCEPTION_OK): Likewise.
4417 (IGNORE_ZERO_INF_SIGN): Likewise.
4418 (ERRNO_UNCHANGED): Likewise.
4419 (ERRNO_EDOM): Likewise.
4420 (ERRNO_ERANGE): Likewise.
4421 (test_exceptions): Handle testing "inexact" exceptions.
4422 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4423 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4424 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4425 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4427 (rint_towardzero_test_data): Likewise.
4428 (rint_downward_test_data): Likewise.
4429 (rint_upward_test_data): Likewise.
4431 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4432 with OVERFLOW_EXCEPTION.
4433 (exp10_test_data): Likewise.
4434 (exp2_test_data): Likewise.
4435 (expm1_test_data): Likewise.
4436 (lgamma_test_data): Likewise.
4437 (pow_test_data): Likewise.
4438 (tgamma_test_data): Likewise.
4439 (yn_test_data): Remove duplicate test of overflow.
4441 * math/libm-test.inc (struct test_cc_c_data): New type.
4442 (RUN_TEST_LOOP_cc_c): New macro.
4443 (cpow_test_data): New variable.
4444 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4446 * math/libm-test.inc (struct test_f_L_data): New type.
4447 (RUN_TEST_LOOP_f_L): New macro.
4448 (llrint_test_data): New variable.
4449 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4450 (llrint_tonearest_test_data): New variable.
4451 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4452 (llrint_towardzero_test_data): New variable.
4453 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4454 (llrint_downward_test_data): New variable.
4455 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4456 (llrint_upward_test_data): New variable.
4457 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4458 (llround_test_data): New variable.
4459 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4461 2013-05-13 Peter Collingbourne <pcc@google.com>
4463 * math/atest-exp2.c (get_log2): Remove const attribute.
4465 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4467 * math/libm-test.inc (struct test_f_l_data): New type.
4468 (RUN_TEST_LOOP_f_l): New macro.
4469 (lrint_test_data): New variable.
4470 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4471 (lrint_tonearest_test_data): New variable.
4472 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4473 (lrint_towardzero_test_data): New variable.
4474 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4475 (lrint_downward_test_data): New variable.
4476 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4477 (lrint_upward_test_data): New variable.
4478 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4479 (lround_test_data): New variable.
4480 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4482 2013-05-15 Peter Collingbourne <pcc@google.com>
4484 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4485 (EXTRACT_WORDS64) Use where appropriate.
4486 (INSERT_WORDS64) Likewise.
4488 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4489 constraints with x constraints.
4490 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4492 * malloc/obstack.c (_obstack_compat): Add initializer.
4494 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4497 si_trapno and add si_addr_lsb to _sifields.sigfault.
4498 (si_trapno): Remove macro.
4499 (si_addr_lsb): Define new macro.
4500 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4502 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4504 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4505 instead of TEST_f_l.
4506 (llrint_test_tonearest): Likewise.
4507 (llrint_test_towardzero): Likewise.
4508 (llrint_test_downward): Likewise.
4509 (llrint_test_upward): Likewise.
4510 (llround_test): Likewise.
4512 * math/libm-test.inc (struct test_f_i_data): Add comment.
4513 (RUN_TEST_LOOP_f_b): New macro.
4514 (RUN_TEST_LOOP_f_b_tg): Likewise.
4515 (finite_test_data): New variable.
4516 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4517 (isfinite_test_data): New variable.
4518 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4519 (isinf_test_data): New variable.
4520 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4521 (isnan_test_data): New variable.
4522 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4523 (isnormal_test_data): New variable.
4524 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4525 (issignaling_test_data): New variable.
4526 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4527 (signbit_test_data): New variable.
4528 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4530 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4531 with INVALID_EXCEPTION.
4532 (acosh_test_data): Likewise.
4533 (asin_test_data): Likewise.
4534 (atanh_test_data): Likewise.
4535 (fmod_test_data): Likewise.
4536 (log_test_data): Likewise.
4537 (log10_test_data): Likewise.
4538 (log2_test_data): Likewise.
4539 (pow_test_data): Likewise.
4540 (sqrt_test_data): Likewise.
4541 (y0_test_data): Likewise.
4542 (y1_test_data): Likewise.
4543 (yn_test_data): Likewise.
4545 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4548 * math/libm-test.inc (struct test_ff_i_data): New type.
4549 (RUN_TEST_LOOP_ff_i_tg): New macro.
4550 (isgreater_test_data): New variable.
4551 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4552 (isgreaterequal_test_data): New variable.
4553 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4554 (isless_test_data): New variable.
4555 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4556 (islessequal_test_data): New variable.
4557 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4558 (islessgreater_test_data): New variable.
4559 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4560 (isunordered_test_data): New variable.
4561 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4563 2013-05-14 David S. Miller <davem@davemloft.net>
4565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4567 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4569 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4571 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4573 (struct test_f_i_data): Change type of max_ulp to int.
4575 * math/libm-test.inc (test_ffI_f1_data): New type.
4576 (RUN_TEST_LOOP_ffI_f1): New macro.
4577 (remquo_test_data): New variable.
4578 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4580 * setjmp/tst-setjmp-fp.c: New file.
4581 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4582 (link-libm): New variable.
4583 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4585 * math/libm-test.inc (struct test_f_i_data): New type.
4586 (RUN_TEST_LOOP_f_i): New macro.
4587 (RUN_TEST_LOOP_f_i_tg): Likewise.
4588 (fpclassify_test_data): New variable.
4589 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4590 (ilogb_test_data): New variable.
4591 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4593 * math/libm-test.inc (scalbln_test): Correct function name in END
4596 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4597 (RUN_TEST_LOOP_fI_f1): New macro.
4598 (frexp_test_data): New variable.
4599 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4601 * math/libm-test.inc (struct test_fF_f1_data): New type.
4602 (RUN_TEST_LOOP_fF_f1): New macro.
4603 (modf_test_data): New variable.
4604 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4606 * math/libm-test.inc (struct test_f_f1_data): New type.
4607 (RUN_TEST_LOOP_f_f1): New macro.
4608 (gamma_test_data): New variable.
4609 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4610 (lgamma_test_data): New variable.
4611 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4613 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4615 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4616 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4617 (main): Comment "tls" pseudo-hwcap.
4619 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4621 * math/libm-test.inc (struct test_fl_f_data): New type.
4622 (RUN_TEST_LOOP_fl_f): New variable.
4623 (scalbln_test_data): New variable.
4624 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4626 * math/libm-test.inc (struct test_fi_f_data): New type.
4627 (RUN_TEST_LOOP_fi_f): New macro.
4628 (ldexp_test_data): New variable.
4629 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4630 (scalbn_test_data): New variable.
4631 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4633 * math/libm-test.inc (struct test_c_f_data): New type.
4634 (RUN_TEST_LOOP_c_f): New macro.
4635 (cabs_test_data): New variable.
4636 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4637 (carg_test_data): New variable.
4638 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4639 (cimag_test_data): New variable.
4640 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4641 (creal_test_data): New variable.
4642 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4644 * math/libm-test.inc (struct test_if_f_data): New type.
4645 (RUN_TEST_LOOP_if_f): New macro.
4646 (jn_test_data): New variable.
4647 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4648 (yn_test_data): New variable.
4649 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4651 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4653 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4655 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4656 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4658 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4660 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4661 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4662 (bench-deps): Add bench-timing.h.
4663 * benchtests-bench-skeleton.c: Include bench-timing.h.
4664 (main): Use TIMING_* macros instead of clock_gettime.
4665 * benchtests/bench-timing.h: New file.
4668 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4669 Renamed from _LIB_VERSION.
4670 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4672 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4674 * math/libm-test.inc (struct test_fff_f_data): New type.
4675 (RUN_TEST_LOOP_fff_f): New macro.
4676 (fma_test_data): New variable.
4677 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4678 (fma_towardzero_test_data): New variable.
4679 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4680 (fma_downward_test_data): New variable.
4681 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4682 (fma_upward_test_data): New variable.
4683 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4685 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4686 (struct test_c_c_data): New type.
4687 (RUN_TEST_LOOP_c_c): New macro.
4688 (cacos_test_data): New variable.
4689 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4690 (cacosh_test_data): New variable.
4691 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4692 (casin_test_data): New variable.
4693 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4694 (casinh_test_data): New variable.
4695 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4696 (catan_test_data): New variable.
4697 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4698 (catanh_test_data): New variable.
4699 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4700 (ccos_test_data): New variable.
4701 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4702 (ccosh_test_data): New variable.
4703 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4704 (cexp_test_data): New variable.
4705 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4706 (clog_test_data): New variable.
4707 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4708 (clog10_test_data): New variable.
4709 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4710 (conj_test_data): New variable.
4711 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4712 (cproj_test_data): New variable.
4713 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4714 (csin_test_data): New variable.
4715 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4716 (csinh_test_data): New variable.
4717 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4718 (csqrt_test_data): New variable.
4719 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4720 (ctan_test_data): New variable.
4721 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4722 (ctan_tonearest_test_data): New variable.
4723 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4724 (ctan_towardzero_test_data): New variable.
4725 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4726 (ctan_downward_test_data): New variable.
4727 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4728 (ctan_upward_test_data): New variable.
4729 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4730 (ctanh_test_data): New variable.
4731 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4732 (ctanh_tonearest_test_data): New variable.
4733 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4734 (ctanh_towardzero_test_data): New variable.
4735 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4736 (ctanh_downward_test_data): New variable.
4737 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4738 (ctanh_upward_test_data): New variable.
4739 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4740 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4743 * math/libm-test.inc (struct test_ff_f_data): New type.
4744 (struct test_ff_f_data_nexttoward): Likewise.
4745 (RUN_TEST_LOOP_2_f): New macro.
4746 (RUN_TEST_LOOP_ff_f): Likewise.
4747 (atan2_test_data): New variable.
4748 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4749 (copysign_test_data): New variable.
4750 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4751 (fdim_test_data): New variable.
4752 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4753 (fmax_test_data): New variable.
4754 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4755 (fmin_test_data): New variable.
4756 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4757 (fmod_test_data): New variable.
4758 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4759 (hypot_test_data): New variable.
4760 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4761 (nextafter_test_data): New variable.
4762 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4763 (nexttoward_test_data): New variable.
4764 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4765 (pow_test_data): New variable.
4766 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4767 (pow_tonearest_test_data): New variable.
4768 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4769 (pow_towardzero_test_data): New variable.
4770 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4771 (pow_downward_test_data): New variable.
4772 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4773 (pow_upward_test_data): New variable.
4774 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4775 (remainder_test_data): New variable.
4776 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4777 (scalb_test_data): New variable.
4778 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4779 * sysdeps/i386/fpu/libm-test-ulps: Update.
4781 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4783 * math/libm-test.inc (fma_test): Use max_value instead of local
4785 (nextafter_test): Likewise.
4787 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4788 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4789 (acos_downward_test_data): New variable.
4790 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4791 (acos_upward_test_data): New variable.
4792 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4793 (acosh_test_data): New variable.
4794 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4795 (asin_test_data): New variable.
4796 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4797 (asin_tonearest_test_data): New variable.
4798 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4799 (asin_towardzero_test_data): New variable.
4800 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4801 (asin_downward_test_data): New variable.
4802 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4803 (asin_upward_test_data): New variable.
4804 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4805 (asinh_test_data): New variable.
4806 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4807 (atan_test_data): New variable.
4808 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4809 (atanh_test_data): New variable.
4810 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4811 (cbrt_test_data): New variable.
4812 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4813 (ceil_test_data): New variable.
4814 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4815 (cos_test_data): New variable.
4816 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4817 (cos_tonearest_test_data): New variable.
4818 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4819 (cos_towardzero_test_data): New variable.
4820 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4821 (cos_downward_test_data): New variable.
4822 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4823 (cos_upward_test_data): New variable.
4824 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4825 (cosh_test_data): New variable.
4826 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4827 (cosh_tonearest_test_data): New variable.
4828 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4829 (cosh_towardzero_test_data): New variable.
4830 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4831 (cosh_downward_test_data): New variable.
4832 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4833 (cosh_upward_test_data): New variable.
4834 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4835 (erf_test_data): New variable.
4836 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4837 (erfc_test_data): New variable.
4838 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4839 (exp_test_data): New variable.
4840 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4841 (exp_tonearest_test_data): New variable.
4842 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4843 (exp_towardzero_test_data): New variable.
4844 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4845 (exp_downward_test_data): New variable.
4846 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4847 (exp_upward_test_data): New variable.
4848 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4849 (exp10_test_data): New variable.
4850 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4851 (exp2_test_data): New variable.
4852 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4853 (expm1_test_data): New variable.
4854 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4855 (fabs_test_data): New variable.
4856 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4857 (floor_test_data): New variable.
4858 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4859 (j0_test_data): New variable.
4860 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4861 (j1_test_data): New variable.
4862 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4863 (log_test_data): New variable.
4864 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4865 (log10_test_data): New variable.
4866 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4867 (log1p_test_data): New variable.
4868 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4869 (log2_test_data): New variable.
4870 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4871 (logb_test_data): New variable.
4872 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4873 (logb_downward_test_data): New variable.
4874 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4875 (nearbyint_test_data): New variable.
4876 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4877 (rint_test_data): New variable.
4878 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4879 (rint_tonearest_test_data): New variable.
4880 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4881 (rint_towardzero_test_data): New variable.
4882 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4883 (rint_downward_test_data): New variable.
4884 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4885 (rint_upward_test_data): New variable.
4886 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4887 (round_test_data): New variable.
4888 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4889 (sin_test_data): New variable.
4890 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4891 (sin_tonearest_test_data): New variable.
4892 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4893 (sin_towardzero_test_data): New variable.
4894 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4895 (sin_downward_test_data): New variable.
4896 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4897 (sin_upward_test_data): New variable.
4898 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4899 (sinh_test_data): New variable.
4900 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4901 (sinh_tonearest_test_data): New variable.
4902 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4903 (sinh_towardzero_test_data): New variable.
4904 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4905 (sinh_downward_test_data): New variable.
4906 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4907 (sinh_upward_test_data): New variable.
4908 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4909 (sqrt_test_data): New variable.
4910 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4911 (tan_test_data): New variable.
4912 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4913 (tan_tonearest_test_data): New variable.
4914 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4915 (tan_towardzero_test_data): New variable.
4916 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4917 (tan_downward_test_data): New variable.
4918 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4919 (tan_upward_test_data): New variable.
4920 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4921 (tanh_test_data): New variable.
4922 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4923 (tgamma_test_data): New variable.
4924 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4925 (trunc_test_data): New variable.
4926 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4927 (y0_test_data): New variable.
4928 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4929 (y1_test_data): New variable.
4930 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4931 (significand_test_data): New variable.
4932 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4934 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4937 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4939 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4941 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4943 2013-05-10 Andreas Jaeger <aj@suse.de>
4946 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4947 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4949 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4951 * math/gen-libm-test.pl (adjust_arg): New function.
4952 (special_functions): Handle generating output in both functions
4954 (parse_args): Likewise.
4955 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4956 $in_func argument to parse_args.
4957 * math/libm-test.inc (struct test_f_f_data): New type.
4958 (IF_ROUND_INIT_): New macro.
4959 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4960 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4961 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4962 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4963 (ROUND_RESTORE_): Likewise.
4964 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4965 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4966 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4967 (ROUND_RESTORE_FE_UPWARD): Likewise.
4968 (RUN_TEST_LOOP_f_f): New macro.
4969 (acos_test_data): New variable.
4970 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4971 (acos_tonearest_test_data): New variable.
4972 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4974 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4976 * benchtests/bench-skeleton.c (startup): Fix coding style.
4978 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4981 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4982 negative infinity argument.
4983 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4984 negative infinity argument.
4985 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4986 negative infinity argument.
4987 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4990 2013-05-10 Florian Weimer <fweimer@redhat.com>
4992 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4993 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4994 * iconv/iconv_prog.c (main): Likewise.
4995 * locale/programs/charmap-dir.c (charmap_readdir)
4996 (fopen_uncompressed): Likewise.
4997 * locale/programs/locfile.c (siblings_uncached)
4998 (write_locale_data): Use lstat64 instead of lstat.
4999 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5002 2013-05-10 Andreas Jaeger <aj@suse.de>
5005 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5009 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5011 * elf/dl-close.c (_dl_close_worker): Add comments.
5013 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5016 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5018 (__ieee754_rem_pio2l): Update comments.
5021 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5023 (__ieee754_rem_pio2l): Update comments.
5025 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5026 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5028 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5031 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5032 (M_PI_34_LOG10El): Likewise.
5033 (M_PI2_LOG10El): Likewise.
5034 (M_PI4_LOG10El): Likewise.
5035 (M_PI_LOG10El): Likewise.
5037 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5041 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5043 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5044 (MINUS_ZERO_INIT): Likewise.
5045 (PLUS_INFTY_INIT): Likewise.
5046 (MINUS_INFTY_INIT): Likewise.
5047 (QNAN_VALUE_INIT): Likewise.
5048 (MAX_VALUE_INIT): Likewise.
5049 (MIN_VALUE_INIT): Likewise.
5050 (MIN_SUBNORM_VALUE_INIT): Likewise.
5051 (plus_zero): Initialize with PLUS_ZERO_INIT.
5052 (minus_zero): Initialize with MINUS_ZERO_INIT.
5053 (plus_infty): Initialize with PLUS_INFTY_INIT.
5054 (minus_infty): Initialize with MINUS_INFTY_INIT.
5055 (qnan_value): Initialize with QNAN_VALUE_INIT.
5056 (max_value): Initialize with MAX_VALUE_INIT.
5057 (min_value): Initialize with MIN_VALUE_INIT.
5058 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5060 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5061 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5062 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5063 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5065 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5066 (RUN_TEST_2_f): Likewise.
5067 (RUN_TEST_ff_f): Likewise.
5068 (RUN_TEST_fi_f): Likewise.
5069 (RUN_TEST_fl_f): Likewise.
5070 (RUN_TEST_fff_f): Likewise.
5071 (RUN_TEST_c_f): Likewise.
5072 (RUN_TEST_f_f1): Likewise.
5073 (RUN_TEST_fF_f1): Likewise.
5074 (RUN_TEST_fI_f1): Likewise.
5075 (RUN_TEST_ffI_f1): Likewise.
5076 (RUN_TEST_c_c): Likewise.
5077 (RUN_TEST_cc_c): Likewise.
5078 (RUN_TEST_f_i): Likewise.
5079 (RUN_TEST_f_i_tg): Likewise.
5080 (RUN_TEST_ff_i_tg): Likewise.
5081 (RUN_TEST_f_b): Likewise.
5082 (RUN_TEST_f_b_tg): Likewise.
5083 (RUN_TEST_f_l): Likewise.
5084 (RUN_TEST_f_L): Likewise.
5085 (RUN_TEST_sincos): Likewise.
5086 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5087 whether to show exceptions. Do not include ");\n" in return
5089 (special_functions): Output call to RUN_TEST_sincos instead of
5090 check_float calls. Update calls to new_test.
5091 (parse_args): Output call to single RUN_TEST_* macro instead of
5092 check_* calls and other assignments. Update calls to new_test.
5098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5099 input to result for tgamma overflow.
5100 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5101 (gamma_coeff): New variable.
5102 (NCOEFF): New macro.
5103 (gamma_positive): New function.
5104 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5105 underflow here. Use gamma_positive instead of exp (lgamma) for
5107 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5108 (gamma_coeff): New variable.
5109 (NCOEFF): New macro.
5110 (gammaf_positive): New function.
5111 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5112 underflow here. Use gamma_positive instead of exp (lgamma) for
5114 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5115 (gamma_coeff): New variable.
5116 (NCOEFF): New macro.
5117 (gammal_positive): New function.
5118 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5119 underflow here. Use gamma_positive instead of exp (lgamma) for
5121 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5122 (gamma_coeff): New variable.
5123 (NCOEFF): New macro.
5124 (gammal_positive): New function.
5125 (__ieee754_gammal_r): Handle positive infinity, overflow and
5126 underflow here. Handle NaN the same as positive infinity. Remove
5127 check x < 0xffffffff for negative integers. Use gamma_positive
5128 instead of exp (lgamma) for other arguments.
5129 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5130 (gamma_coeff): New variable.
5131 (NCOEFF): New macro.
5132 (gammal_positive): New function.
5133 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5134 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5135 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5138 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5139 * sysdeps/generic/math_private.h (__gamma_productf): New
5141 (__gamma_product): Likewise.
5142 (__gamma_productl): Likewise.
5143 * math/Makefile (libm-calls): Add gamma_product.
5144 * math/libm-test.inc (tgamma_test): Add more tests.
5145 * sysdeps/i386/fpu/libm-test-ulps: Update.
5146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5148 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5150 * benchtests/bench-skeleton.c (main): Preheat CPU.
5152 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5154 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5156 2013-05-07 Roland McGrath <roland@hack.frob.com>
5158 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5159 and _dl_skip_args_internal.
5161 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5163 * manual/message.texi (Message Translation): Talk about users.
5164 Message to key mapping impacts design.
5166 2013-05-06 Roland McGrath <roland@hack.frob.com>
5168 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5170 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5172 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5173 * sysdeps/wordsize-64/glob64.c: ... here.
5175 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5176 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5179 * debug/getlogin_r_chk.c: Moved to ...
5180 * login/getlogin_r_chk.c: ... here.
5181 * debug/Makefile (routines): Move getlogin_r_chk to ...
5182 * login/Makefile (routines): ... here.
5183 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5184 * login/Versions (libc: GLIBC_2.4): ... here.
5186 * io/poll.c (__poll): Renamed from poll.
5187 Add libc_hidden_def.
5188 (poll): Define as weak alias.
5190 * debug/ptsname_r_chk.c: Moved to ...
5191 * login/ptsname_r_chk.c: ... here.
5192 * debug/Makefile (routines): Move ptsname_r_chk to ...
5193 * login/Makefile (routines): ... here.
5194 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5195 * login/Versions (libc: GLIBC_2.4): ... here.
5197 * posix/getlogin.c: Moved to ...
5198 * login/getlogin.c: ... here.
5199 * posix/getlogin_r.c: Moved to ...
5200 * login/getlogin_r.c: ... here.
5201 * posix/getlogin_r.c: Moved to ...
5202 * login/getlogin_r.c: ... here.
5203 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5204 * login/Makefile (routines): ... here.
5205 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5206 * login/Versions (libc: GLIBC_2.0): ... here.
5208 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5209 (setrlimit): Define as weak alias.
5211 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5212 Call __ names for open, ftruncate, and close.
5213 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5214 (truncate): Define as weak alias.
5216 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5218 * math/gen-libm-test.pl (parse_args): Initialize x before each
5219 test of frexp, modf and remquo.
5221 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5224 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5232 2013-05-06 Roland McGrath <roland@hack.frob.com>
5234 * elf/dl-writev.h: New file.
5235 * elf/dl-misc.c: Include it.
5236 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5237 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5239 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5241 * math/libm-test.inc (noXFails): Remove variable.
5242 (noXPasses): Likewise.
5243 (BUILD_COMPLEX_INT): Remove macro.
5244 (print_screen): Remove xfail argument.
5245 (print_screen_max_error): Likewise.
5246 (update_stats): Likewise.
5247 (print_max_error): Likewise. Update calls to other affected
5249 (print_complex_max_error): Likewise.
5250 (test_single_exception): Update calls to print_screen.
5251 (test_single_errno): Likewise.
5252 (check_float_internal): Remove xfail argument. Update calls to
5253 other affected functions.
5254 (check_float): Likewise.
5255 (check_complex): Likewise.
5256 (check_int): Likewise.
5257 (check_long): Likewise.
5258 (check_bool): Likewise.
5259 (check_longlong): Likewise.
5260 (main): Don't print noXFails and noXPasses.
5261 * math/gen-libm-test.pl (top level): Don't mention expected
5262 failure handling in comment.
5263 (new_test): Don't handle expected failures.
5264 (parse_args): Don't mention expected failure handling in comment.
5265 (generate_testfile): Don't handle expected failures.
5266 (parse_ulps): Likewise.
5267 (print_ulps_file): Likewise.
5268 (get_failure): Remove function.
5269 (output_test): Don't handle expected failures.
5270 * make/README.libm-test: Don't mention expected failure handling.
5272 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5273 (minus_zero): Likewise.
5274 (plus_infty): Likewise.
5275 (minus_infty): Likewise.
5276 (qnan_value): Likewise.
5277 (max_value): Likewise.
5278 (min_value): Likewise.
5279 (min_subnorm_value): Likewise.
5280 (initialize): Do not initialize those variables dynamically.
5282 2013-05-03 Roland McGrath <roland@hack.frob.com>
5284 * io/open.c (__open_2): Moved to ...
5285 * io/open_2.c: ... this new file.
5286 * io/open64.c (__open64_2): Moved to ...
5287 * io/open64_2.c: ... this new file.
5288 * io/openat.c (__openat_2): Moved to ...
5289 * io/openat_2.c: ... this new file.
5290 * io/openat64.c (__openat64_2): Moved to ...
5291 * io/openat64_2.c: ... this new file.
5292 * io/Makefile (routines): Add them.
5293 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5294 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5295 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5296 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5297 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5298 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5299 (__openat64): Add hidden_ver.
5300 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5301 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5303 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5304 Separately conditionalize setting of GLRO(dl_sysinfo) so
5305 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5306 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5308 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5310 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5311 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5313 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5314 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5315 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5316 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5317 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5319 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5321 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5324 * math/libm-test.inc (hypot_test): Do not use
5325 IGNORE_ZERO_INF_SIGN.
5327 2013-05-03 Andreas Jaeger <aj@suse.de>
5329 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5332 (PF_MAX): Adjust for VSOCK change.
5334 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5338 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5341 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5342 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5343 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5345 2013-05-02 David S. Miller <davem@davemloft.net>
5347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5349 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5351 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5353 2013-05-01 Roland McGrath <roland@hack.frob.com>
5355 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5357 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5360 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5361 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5362 Use __attribute__ ((__gnu_inline__)).
5363 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5364 Don't use __attribute__ ((__gnu_inline__)).
5366 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5369 * math/s_catan.c (__catan): Handle small real or imaginary part of
5370 input specially to avoid spurious underflow.
5371 * math/s_catanf.c (__catanf): Likewise.
5372 * math/s_catanh.c (__catanh): Likewise.
5373 * math/s_catanhf.c (__catanhf): Likewise.
5374 * math/s_catanhl.c (__catanhl): Likewise.
5375 * math/s_catanl.c (__catanl): Likewise.
5376 * math/libm-test.inc (catan_test): Add more tests.
5377 (catanh_test): Likewise.
5378 * sysdeps/i386/fpu/libm-test-ulps: Update.
5379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5381 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5385 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5388 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5389 accurately for denominator in atan2.
5390 * math/s_catanf.c (__catanf): Likewise.
5391 * math/s_catanh.c (__catanh): Likewise.
5392 * math/s_catanhf.c (__catanhf): Likewise.
5393 * math/s_catanhl.c (__catanhl): Likewise.
5394 * math/s_catanl.c (__catanl): Likewise.
5395 * math/libm-test.inc (catan_test): Add more tests.
5396 (catanh_test): Likewise.
5397 * sysdeps/i386/fpu/libm-test-ulps: Update.
5398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5400 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5402 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5404 * benchtests/Makefile (bench): Remove slow benchmarks.
5405 * benchtests/atan-inputs: Add slow benchmark inputs.
5406 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5407 (BENCH_FUNC): Accept variant offset.
5409 * benchtests/bench-skeleton.c (main): Run benchmark for each
5411 * benchtests/cos-inputs: Add slow benchmark inputs.
5412 * benchtests/exp-inputs: Likewise.
5413 * benchtests/pow-inputs: Likewise.
5414 * benchtests/sin-inputs: Likewise.
5415 * benchtests/slowatan-inputs: Remove.
5416 * benchtests/slowatan.c: Remove.
5417 * benchtests/slowcos-inputs: Remove.
5418 * benchtests/slowcos.c: Remove.
5419 * benchtests/slowexp-inputs: Remove.
5420 * benchtests/slowexp.c: Remove.
5421 * benchtests/slowpow-inputs: Remove.
5422 * benchtests/slowpow.c: Remove.
5423 * benchtests/slowsin-inputs: Remove.
5424 * benchtests/slowsin.c: Remove.
5425 * benchtests/slowtan-inputs: Remove.
5426 * benchtests/slowtan.c: Remove.
5427 * benchtests/tan-inputs: Add slow benchmark inputs.
5428 * scripts/bench.pl: Parse comments and directives.
5430 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5432 ($(objpfx)bench-%.c): Remove *-ITER.
5433 * benchtests/bench-modf.c: Remove definition of ITER.
5434 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5435 (main): Loop for DURATION seconds instead of fixed number of
5437 * scripts/bench.pl: Don't expect iterations in parameters.
5439 2013-04-29 Roland McGrath <roland@hack.frob.com>
5441 * io/fchdir.c (__fchdir): Renamed from fchdir.
5442 (fchdir): Define as weak alias.
5444 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5446 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5447 (ERRNO_EDOM): Likewise.
5448 (ERRNO_ERANGE): Likewise.
5449 (noErrnoTests): New variable.
5450 (init_max_error): Set errno to 0.
5451 (test_single_errno): New function.
5452 (test_errno): Likewise.
5453 (check_float_internal): Call test_errno. Set errno to 0.
5454 (check_complex): Refer to errno tests in comment.
5455 (check_int): Call test_errno. Set errno to 0.
5456 (check_long): Likewise.
5457 (check_bool): Likewise.
5458 (check_longlong): Likewise.
5459 (cos_test): Use ERRNO_* flags for errno tests instead of
5461 (expm1_test): Likewise.
5462 (fmod_test): Likewise.
5463 (ilogb_test): Likewise.
5464 (lgamma_test): Likewise.
5465 (pow_test): Likewise.
5466 (remainder_test): Likewise.
5467 (sin_test): Likewise.
5468 (tan_test): Likewise.
5469 (yn_test): Likewise.
5470 (initialize): Set errno to 0.
5471 (main): Print number of errno tests.
5472 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5474 2013-04-29 Andreas Jaeger <aj@suse.de>
5477 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5481 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5482 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5486 * stdlib/random.c (__initstate): Return NULL if
5490 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5491 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5494 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5498 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5500 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5501 of individual tests.
5502 (casin_test): Likewise.
5503 (casinh_test): Likewise.
5505 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5508 * math/s_catan.c (__catan): Handle arguments with large real or
5509 imaginary part separately without squaring.
5510 * math/s_catanf.c (__catanf): Likewise.
5511 * math/s_catanh.c (__catanh): Likewise.
5512 * math/s_catanhf.c (__catanhf): Likewise.
5513 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5515 (__catanhl): Handle arguments with large real or imaginary part
5516 separately without squaring.
5517 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5519 (__catanl): Handle arguments with large real or imaginary part
5520 separately without squaring.
5521 * math/libm-test.inc (catan_test): Add more tests.
5522 (catanh_test): Likewise.
5523 * sysdeps/i386/fpu/libm-test-ulps: Update.
5524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526 2013-04-27 Andreas Jaeger <aj@suse.de>
5529 * stdlib/stdlib.h: Update guards for qecvt.
5530 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5533 2013-04-27 Allan McRae <allan@archlinux.org>
5535 * sysdeps/i386/fpu/libm-test-ulps: Update.
5537 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5540 * math/s_catan.c: Include <float.h>.
5541 (__catan): Ensure underflow exception occurs for underflowed
5543 * math/s_catanf.c: Include <float.h>.
5544 (__catanf): Ensure underflow exception occurs for underflowed
5546 * math/s_catanh.c: Include <float.h>.
5547 (__catanh): Ensure underflow exception occurs for underflowed
5549 * math/s_catanhf.c: Include <float.h>.
5550 (__catanhf): Ensure underflow exception occurs for underflowed
5552 * math/s_catanhl.c: Include <float.h>.
5553 (__catanhl): Ensure underflow exception occurs for underflowed
5555 * math/s_catanl.c: Include <float.h>.
5556 (__catanl): Ensure underflow exception occurs for underflowed
5558 * math/libm-test.inc (catan_test): Add more tests.
5559 (catanh_test): Likewise.
5562 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5564 * math/s_ccoshf.c (__ccoshf): Likewise.
5565 * math/s_ccoshl.c (__ccoshl): Likewise.
5566 * math/s_csin.c (__csin): Likewise.
5567 * math/s_csinf.c (__csinf): Likewise.
5568 * math/s_csinh.c (__csinh): Likewise.
5569 * math/s_csinhf.c (__csinhf): Likewise.
5570 * math/s_csinhl.c (__csinhl): Likewise.
5571 * math/s_csinl.c (__csinl): Likewise.
5572 * math/libm-test.inc (ccos_test): Add more tests.
5573 (ccosh_test): Likewise.
5574 (csin_test): Likewise.
5575 (csinh_test): Likewise.
5577 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5579 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5580 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5581 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5582 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5583 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5584 powerpc/power5+/fpu folders.
5585 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5588 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5592 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5594 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5595 additions to variable.
5596 [$(config-machine) = x86_64] (modules-names): Likewise.
5597 ($(objpfx)tst-audit3): Remove dependency.
5598 ($(objpfx)tst-audit3.out): Likewise.
5599 ($(objpfx)tst-audit4): Likewise.
5600 ($(objpfx)tst-audit4.out): Likewise.
5601 ($(objpfx)tst-audit5): Likewise.
5602 ($(objpfx)tst-audit5.out): Likewise.
5603 ($(objpfx)tst-audit6): Likewise.
5604 ($(objpfx)tst-audit6.out): Likewise.
5605 ($(objpfx)tst-audit7): Likewise.
5606 ($(objpfx)tst-audit7.out): Likewise.
5607 (tst-audit3-ENV): Remove variable.
5608 (tst-audit4-ENV): Likewise.
5609 (tst-audit5-ENV): Likewise.
5610 (tst-audit6-ENV): Likewise.
5611 (tst-audit7-ENV): Likewise.
5612 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5613 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5614 addition to variable.
5615 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5616 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5617 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5618 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5619 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5620 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5621 tst-audit3, tst-audit4 and tst-audit5.
5622 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5623 tst-audit6 and tst-audit7.
5624 [$(subdir) = elf] (modules-names): Add audit modules for those
5626 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5627 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5628 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5629 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5630 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5631 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5632 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5633 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5634 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5635 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5636 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5637 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5638 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5639 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5640 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5641 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5643 [$(subdir) = elf && $(config-cflags-avx) = yes]
5644 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5645 [$(subdir) = elf && $(config-cflags-avx) = yes]
5646 (CFLAGS-tst-auditmod4a.c): Likewise.
5647 [$(subdir) = elf && $(config-cflags-avx) = yes]
5648 (CFLAGS-tst-auditmod4b.c): Likewise.
5649 [$(subdir) = elf && $(config-cflags-avx) = yes]
5650 (CFLAGS-tst-auditmod6b.c): Likewise.
5651 [$(subdir) = elf && $(config-cflags-avx) = yes]
5652 (CFLAGS-tst-auditmod6c.c): Likewise.
5653 [$(subdir) = elf && $(config-cflags-avx) = yes]
5654 (CFLAGS-tst-auditmod7b.c): Likewise.
5655 * elf/tst-audit3.c: Move to ...
5656 * sysdeps/x86_64/tst-audit3.c: ... here.
5657 * elf/tst-audit4.c: Move to ...
5658 * sysdeps/x86_64/tst-audit4.c: ... here.
5659 * elf/tst-audit5.c: Move to ...
5660 * sysdeps/x86_64/tst-audit5.c: ... here.
5661 * elf/tst-audit6.c: Move to ...
5662 * sysdeps/x86_64/tst-audit6.c: ... here.
5663 * elf/tst-audit7.c: Move to ...
5664 * sysdeps/x86_64/tst-audit7.c: ... here.
5665 * elf/tst-auditmod3a.c: Move to ...
5666 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5667 * elf/tst-auditmod3b.c: Move to ...
5668 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5669 * elf/tst-auditmod4a.c: Move to ...
5670 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5671 * elf/tst-auditmod4b.c: Move to ...
5672 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5673 * elf/tst-auditmod5a.c: Move to ...
5674 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5675 * elf/tst-auditmod5b.c: Move to ...
5676 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5677 * elf/tst-auditmod6a.c: Move to ...
5678 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5679 * elf/tst-auditmod6b.c: Move to ...
5680 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5681 * elf/tst-auditmod6c.c: Move to ...
5682 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5683 * elf/tst-auditmod7a.c: Move to ...
5684 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5685 * elf/tst-auditmod7b.c: Move to ...
5686 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5688 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5691 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5692 define unconditionally.
5693 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5694 define unconditionally.
5695 (INT8_C, INT16_C, etc.): Likewise.
5697 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5699 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5700 __ehdr_start with hidden visibility.
5702 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5704 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5706 * math/libm-test.inc (cos_test): Use accurate hex constants.
5707 (sincost_test): Likewise.
5709 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5711 * math/libm-test.inc (catan_test): Add more tests.
5712 (catanh_test): Likewise.
5714 * math/s_catanf.c (__catanf): Use suffixed floating-point
5716 * math/s_catanhf.c (__catanhf): Likewise.
5717 * math/s_catanhl.c (__catanhl): Likewise.
5718 * math/s_catanl.c (__catanl): Likewise.
5721 * math/s_catan.c (__catan): Calculate imaginary part of result
5722 with log1p not log unless computing log of number close to 0.
5723 * math/s_catanf.c (__catanf): Likewise.
5724 * math/s_catanl.c (__catanl): Likewise.
5725 * math/s_catanh.c (__catanh): Calculate real part of result with
5726 log1p not log unless computing log of number close to 0.
5727 * math/s_catanhf.c (__catanhf): Likewise.
5728 * math/s_catanhl.c (__catanhl): Likewise.
5729 * math/libm-test.inc (catan_test): Add more tests.
5730 (catanh_test): Likewise.
5731 * sysdeps/i386/fpu/libm-test-ulps: Update.
5732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5734 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5736 * benchtests/Makefile: Mention files in which fast and slow
5737 paths of math functions are implemented.
5739 2013-04-23 Roland McGrath <roland@hack.frob.com>
5741 * sysdeps/posix/timespec_get.c: New file.
5743 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5745 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5747 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5749 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5750 powerpc/power5/fpu folders.
5751 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5752 * benchtests/Makefile: Add modf testcase.
5753 * benchtests/bench-modf.c: New file: Benchmark test for mo
5755 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5758 * time/Makefile (tests): Add tst-strptime-whitespace.
5759 * time/strptime_l.c (get_number): Use ISSPACE.
5760 (__strptime_internal): Likewise.
5761 * time/tst-strptime-whitespace.c: New test case.
5763 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5765 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5767 (_nss_files_init): Set it here.
5769 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5771 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5772 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5775 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5777 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5779 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5781 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5784 2013-04-21 David S. Miller <davem@davemloft.net>
5786 * po/ru.po: Update Russion translation from translation project.
5788 2013-04-17 Adam Conrad <adconrad@0c3.net>
5790 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5793 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5795 * configure.in: Remove i386 configure warning. Remove i386 case.
5796 * configure: Regenerate.
5797 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5798 Add example to error message.
5799 * sysdeps/i386/configure: Regenerate.
5801 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5803 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5805 * benchtests/cos-inputs: New file.
5806 * benchtests/slowcos-inputs: New file.
5807 * benchtests/slowcos.c: New file.
5808 * benchtests/slowtan-inputs: New file.
5809 * benchtests/slowtan.c: New file.
5810 * benchtests/tan-inputs: New file.
5812 2013-04-16 Roland McGrath <roland@hack.frob.com>
5814 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5817 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5819 * benchtests/Makefile: Include cppflags-iterator.mk to add
5820 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5822 * Makefile.in (bench-clean): New target.
5823 * benchtests/Makefile (bench-clean): Likewise.
5825 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5827 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5829 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5831 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5833 2013-04-15 Andreas Schwab <schwab@suse.de>
5835 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5837 * nscd/pwdcache.c (cache_addpw): Likewise.
5838 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5841 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5843 * benchtests/Makefile (bench): Write all output to
5844 bench-out.tmp together.
5846 2013-04-15 Andreas Schwab <schwab@suse.de>
5848 * nscd/nscd.c (main): Don't fork again after closing files.
5850 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5852 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5854 * benchtests/Rules (bench-deps): Collect dependencies into a
5855 single variable. Add Makefile to dependencies.
5856 ($(objpfx)bench-%.c): Depend on bench-deps.
5858 2013-04-12 Roland McGrath <roland@hack.frob.com>
5859 Xavier Roche <roche+kml2@exalead.com>
5862 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5863 just that it's a file descriptor.
5864 * manual/llio.texi (Synchronizing AIO Operations): Update description
5865 for EBADF error from aio_fsync.
5867 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5869 * Rules (bench): Move target definition...
5870 * benchtests/Makefile: ... here.
5872 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5874 * math/libm-test.inc (cos_test): Fix PI/2 test.
5875 (sincos_test): Likewise.
5876 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5877 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5879 2013-04-11 Andreas Schwab <schwab@suse.de>
5882 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5883 accept exponent character only when digits were seen.
5884 * stdio-common/Makefile (tests): Add bug26.
5885 * stdio-common/bug26.c: New file.
5888 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5891 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5893 * Makeconfig (rtld-prefix): Define built linker prefix.
5894 * Rules (run-bench): Use it.
5895 * math/Makefile (run-regen-ulps): Likewise.
5897 * Rules (bench): Remove eval.
5899 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5900 Roland McGrath <roland@hack.frob.com>
5901 Ondrej Bilka <neleai@seznam.cz>
5904 * time/getdate.c: Include ctype.h and alloca.h.
5905 (__getdate_r): Trim leading and trailing spaces of input.
5906 * time/tst-getdate.c (tests): Add tests with leading and
5909 2013-04-08 Roland McGrath <roland@hack.frob.com>
5912 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5913 when computing value.
5915 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5917 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5918 Use testrun.sh to run libm tests.
5921 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5923 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5926 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5928 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5930 * Makefile.in (regen-ulps): New target.
5931 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5932 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5933 [ifneq (no,$(PERL)] (regen-ulps): New target.
5934 [ifeq (no,$(PERL)] (regen-ulps): New target.
5935 * math/libm-test.inc (ulps_file_name): Define.
5936 (output_dir): New variable.
5937 (options): Add "output-dir" option.
5938 (parse_opt): Handle 'o' case.
5939 (main): If output_dir is non-NULL use it as a prefix
5941 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5943 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5946 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5947 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5948 fail configure if __sync_val_compare_and_swap is not inlined.
5949 * sysdeps/i386/configure: Regenerate.
5950 * configure.in: Build for i686 when configured for i386.
5951 * configure: Regenerate.
5952 * README: Remove i386 reference.
5954 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5956 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5959 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5961 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5962 (lmsnanval): New variables.
5963 (F): Add conversion tests.
5964 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5965 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5967 * stdio-common/tstdiomisc.c (F): Properly collect individual
5971 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5972 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5973 Instead, use input NaN values or generate a qNaN by arithmetic
5974 operation. Also fix bugs to comply with the standard.
5975 * math/libm-test.inc (remainder_test): Add more tests.
5978 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5980 input NaN values or generate a qNaN by arithmetic operation.
5982 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5985 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5988 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5991 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5993 * math/s_cexpf.c (__cexpf): Likewise.
5994 * math/s_cexpl.c (__cexpl): Likewise.
5995 * math/libm-test.inc (cexp_test): Add more tests.
5997 2013-04-03 Andreas Schwab <schwab@suse.de>
6000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6001 order arrays from heap if bigger than alloca cutoff.
6003 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6005 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6006 (SNAN_TESTS_double): Refer to GCC PR56831.
6007 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6010 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6012 * Rules (bench): Move bench.out after the run is complete.
6014 * Rules (bench): Echo currently running benchmark.
6016 * benchtests/Makefile (bench): Add atan and slowatan.
6017 * benchtests/atan-inputs: New file.
6018 * benchtests/slowatan-inputs: New file.
6019 * benchtests/slowatan.c: New file.
6021 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6026 * sysdeps/unix/sysv/linux/kernel-features.h
6027 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6028 __ASSUME_XFS_RESTRICTED_CHOWN.
6029 * sysdeps/unix/sysv/linux/pathconf.c
6030 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6031 Save and restore errno.
6033 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6036 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6037 arguments using __kernel_casinh.
6038 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6039 arguments using __kernel_casinhf.
6040 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6041 arguments using __kernel_casinhl.
6042 * math/libm-test.inc (cacosh_test): Add more tests.
6043 * sysdeps/i386/fpu/libm-test-ulps: Update.
6044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6046 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6048 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6051 * bench/Makefile (bench): Add sin and slowsin.
6052 * benchtests/sin-inputs: New file.
6053 * benchtests/slowsin-inputs: New file.
6054 * benchtests/slowsin.c: New file.
6056 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6057 (bench): Add slowexp and slowpow.
6058 (exp-ITER): Increase iterations.
6059 (pow-ITER): Likewise.
6060 * benchtests/exp-inputs: Change input.
6061 * benchtests/pow-inputs: Likewise.
6062 * benchtests/slowexp-inputs: New file.
6063 * benchtests/slowexp.c: New file.
6064 * benchtests/slowpow-inputs: New file.
6065 * benchtests/slowpow.c: New file.
6067 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6069 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6071 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6072 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6073 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6074 * benchtests/Makefile: Add rint benchtest.
6075 * benchtests/rint-inputs: Input for rint benchtest.
6077 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6079 * Versions.def (libm): Add GLIBC_2.18.
6080 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6081 hidden libm prototypes.
6082 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6083 * math/Makefile (libm-calls): Add s_issignaling.
6084 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6085 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6086 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6088 * math/math.h [__USE_GNU] (issignaling): New macro.
6089 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6090 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6092 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6095 * manual/arith.texi (issignaling): New section.
6096 * manual/libm-err-tab.pl (@all_functions): Update comment.
6097 * math/gen-libm-test.pl (parse_args): Apply special handling for
6099 * math/libm-test.inc (print_float, issignaling_test): New
6101 (check_float_internal): Add issignaling checks.
6102 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6104 * sysdeps/powerpc/math-tests.h: New file.
6105 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6107 * math/test-snan.c (TEST_FUNC): Likewise.
6109 2013-03-30 David S. Miller <davem@davemloft.net>
6111 * po/de.po: Update from translation team.
6113 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6116 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6117 imaginary part less than 1.0 and real part less than 0.5
6119 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6120 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6121 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6122 (cacos_test): Add more tests.
6123 (casin_test): Likewise.
6124 (casinh_test): Likewise.
6125 * sysdeps/i386/fpu/libm-test-ulps: Update.
6126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6128 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6130 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6133 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6134 (__pow_mp): Replace ONE and MONE with their values.
6135 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6137 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6138 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6142 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6144 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6145 (__pow_mp): Replace ZERO and MZERO with their values.
6146 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6147 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6150 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6151 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6154 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6156 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6158 2013-03-28 Roland McGrath <roland@hack.frob.com>
6160 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6161 Declare with __attribute__ ((weak)).
6162 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6163 Call __call_tls_dtors only if it's not NULL.
6165 2013-03-28 Roland McGrath <roland@hack.frob.com>
6167 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6168 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6169 magic __ehdr_start linker symbol if it's defined.
6170 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6171 them up here if it was already done.
6173 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6174 (_dl_aux_init): Use const in cast when setting it.
6175 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6176 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6177 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6179 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6181 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6182 * csu/libc-tls.c: Nor here.
6183 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6185 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6186 (__libc_message): Never call vsyslog.
6188 2013-03-28 Alan Modra <amodra@gmail.com>
6190 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6192 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6195 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6202 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6205 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6206 Don't add gid passed as argument.
6208 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6210 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6213 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6214 imaginary part between 1.0 and 1.5 and real part less than 0.5
6216 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6217 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6218 * math/libm-test.inc (cacos_test): Add more tests.
6219 (casin_test): Likewise.
6220 (casinh_test): Likewise.
6221 * sysdeps/i386/fpu/libm-test-ulps: Update.
6222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6224 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6226 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6230 (__dbl_mp): Likewise.
6231 (add_magnitudes): Likewise.
6232 (sub_magnitudes): Likewise.
6240 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6242 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6243 (__dubcos): Likewise.
6244 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6245 (__ieee754_acos): Likewise.
6246 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6247 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6252 (my_log2): Likewise.
6253 (checkint): Likewise.
6254 * sysdeps/ieee754/dbl-64/e_remainder.c
6255 (__ieee754_remainder): Likewise.
6256 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6259 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6261 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6263 MANTISSA_STORE_T to store computations on mantissa. Use
6264 macros for rounding and division.
6266 (__dbl_mp): Likewise.
6267 (add_magnitudes): Likewise.
6268 (sub_magnitudes): Likewise.
6271 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6272 powers of two in terms of TWOPOW macro.
6273 (mp_no): Make type of mantissa as MANTISSA_T.
6274 [!RADIXI]: Define RADIXI.
6275 [!TWO52]: Define TWO52.
6276 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6278 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6281 llroundl symbol when building for PPC32.
6283 2013-03-24 Mark H Weaver <mhw@netris.org>
6285 * manual/arith.texi (Normalization Functions): Fix prototypes for
6286 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6288 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6292 high value to check if expl overflow.
6293 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6294 to check for underflow and overflow.
6295 * math/libm-test.inc: Add exp test.
6297 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6300 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6303 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6308 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6310 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6311 wrap blocks consisting of several statements.
6313 * sysdeps/generic/math-tests.h: New file.
6314 * sysdeps/i386/fpu/math-tests.h: Likewise.
6315 * math/test-snan.c: Include it.
6316 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6318 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6321 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6322 (__ieee754_j0l): Do not improve calculations using cos of twice
6323 input for inputs above LDBL_MAX / 2.0L.
6324 (__ieee754_y0l): Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6326 (__ieee754_j1l): Do not improve calculations using cos of twice
6327 input for inputs above LDBL_MAX / 2.0L.
6328 (__ieee754_y1l): Likewise.
6329 * math/libm-test.inc (j0_test): Add another test.
6330 (j1_test): Likewise.
6331 (y0_test): Likewise.
6332 (y1_test): Likewise.
6333 * sysdeps/i386/fpu/libm-test-ulps: Update.
6335 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6337 * Rules ($(objpfx)bench-%.c): Include code from a C source
6340 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6343 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6344 imaginary part 1.0 and real part less than 0.5 specially.
6345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6347 * math/libm-test.inc (cacos_test): Add more tests.
6348 (casin_test): Likewise.
6349 (casinh_test): Likewise.
6350 * sysdeps/i386/fpu/libm-test-ulps: Update.
6351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6356 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6358 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6360 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6361 * config.make.in (config-cflags-sse4): Remove variable.
6362 (config-cflags-avx): Likewise.
6363 (config-cflags-sse2avx): Likewise.
6364 (config-cflags-novzeroupper): Likewise.
6365 (config-asflags-i686): Likewise.
6366 (have-mfma4): Likewise.
6367 (have-as-vis3): Likewise.
6369 * configure.in (MIG): Do not AC_SUBST.
6370 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6371 (libc_cv_cc_sse4): Do not AC_SUBST.
6372 (libc_cv_cc_avx): Likewise.
6373 (libc_cv_cc_sse2avx): Likewise.
6374 (libc_cv_cc_novzeroupper): Likewise.
6375 (libc_cv_cc_fma4): Likewise.
6376 (libc_cv_as_i686): Likewise.
6377 (libc_cv_sparc_as_vis3): Likewise.
6378 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6380 (config-asflags-i686): Likewise.
6381 (config-cflags-avx): Likewise.
6382 (config-cflags-sse2avx): Likewise.
6383 (have-mfma4): Likewise.
6384 (config-cflags-novzeroupper): Likewise.
6385 * sysdeps/mach/configure.in (MIG): Likewise.
6386 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6387 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6389 (config-cflags-avx): Likewise.
6390 (config-cflags-sse2avx): Likewise.
6391 (have-mfma4): Likewise.
6392 (config-cflags-novzeroupper): Likewise.
6393 * configure: Regenerated.
6394 * sysdeps/i386/configure: Likewise.
6395 * sysdeps/mach/configure: Likewise.
6396 * sysdeps/sparc/configure: Likewise.
6397 * sysdeps/x86_64/configure: Likewise.
6399 2013-03-20 Roland McGrath <roland@hack.frob.com>
6402 * locale/programs/localedef.c (options): Put N_ translation marker
6403 on argument names, not just descriptions.
6405 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6407 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6409 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6412 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6414 2013-03-19 Roland McGrath <roland@hack.frob.com>
6416 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6417 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6418 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6419 [!BEFORE_ABORT] (before_abort): New function.
6420 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6421 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6422 (writev_for_fatal): New function.
6423 (WRITEV_FOR_FATAL): New macro; call that.
6424 (backtrace_and_maps): New function.
6425 (BEFORE_ABORT): New macro; call that.
6426 (struct str_list): Type removed.
6427 (__libc_message, __libc_fatal): Functions removed.
6428 Include <sysdeps/posix/libc_fatal.c> instead.
6430 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6432 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6434 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6437 2013-03-19 Andreas Schwab <schwab@suse.de>
6439 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6440 * sysdeps/gnu/configure: Regenerate.
6442 * configure.in: Substitute libc_cv_rtlddir.
6443 * configure: Regenerate.
6444 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6445 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6446 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6447 * elf/Makefile (install-others, CFLAGS-interp.c)
6448 (ldso_install, common-ldd-rewrite): Likewise.
6449 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6450 $(inst_slibdir)/$(rtld-installed-name).
6451 * scripts/rellns-sh: Add -p option.
6452 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6455 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6457 * manual/nptl.texi: Renamed to ...
6458 * manual/threads.texi: ... this.
6459 * manual/Makefile (chapters): Update.
6461 2013-03-18 Roland McGrath <roland@hack.frob.com>
6464 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6465 on argument names, not just descriptions.
6466 * malloc/memusagestat.c (options): Likewise.
6467 * nss/getent.c (options): Likewise.
6469 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6472 * iconv/iconv_prog.c (options): Put N_ translation marker
6473 on argument names, not just descriptions.
6474 * iconv/iconvconfig.c (options): Likewise.
6476 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6478 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6479 implementation which is faster on all x86_64 architectures.
6480 Tested on AMD, Intel Nehalem, SNB, IVB.
6481 * sysdeps/x86_64/strnlen.S: Likewise.
6483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6484 Remove all multiarch strlen and strnlen versions.
6485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6486 Remove strlen and strnlen related parts.
6488 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6490 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6492 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6493 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6494 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6495 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6496 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6497 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6499 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6501 * manual/memory.texi (Malloc Tunable Parameters):
6502 Sort parameters alphabetically. Add comments for missing entries.
6504 2013-03-17 David S. Miller <davem@davemloft.net>
6506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6508 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6512 for arguments at most half maximum finite value.
6513 * math/libm-test.inc (j0_test): Add more tests.
6514 (j1_test): Likewise.
6515 (y0_test): Likewise.
6516 (y1_test): Likewise.
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6521 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6522 1 / x and functions P and Q for arguments above 0x1p256L.
6523 (__ieee754_y0l): Likewise.
6524 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6525 (__ieee754_y1l): Likewise.
6526 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6527 (j1_test): Likewise.
6528 (y0_test): Likewise.
6529 (y1_test): Likewise.
6531 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6533 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6536 2013-03-15 Roland McGrath <roland@hack.frob.com>
6538 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6539 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6540 zero since it's initialized to EXEC_PAGESIZE.
6542 * sysdeps/unix/sysv/linux/ldsodefs.h
6543 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6544 * sysdeps/generic/ldsodefs.h: ... here.
6546 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6548 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6550 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6552 * math/test-snan.c: Renamed from
6553 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6554 * math/Makefile (tests): Add test-snan.
6555 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6558 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6559 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6561 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6562 __builtin_nan family of functions.
6563 * math/libm-test.inc (initialize): Initialize qnan_value with
6564 __builtin_nan family of functions.
6565 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6567 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6569 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6570 storage class. Initialize qNaN_var and sNaN_var with
6571 __builtin_nan and __builtin_nans families of functions,
6574 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6575 (sqrt_test): Remove duplicate test with qNaN input.
6576 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6577 (round_test, signbit_test, significand_test): Note missing +/-Inf
6578 as well as qNaN tests.
6580 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6581 qNaN_var. Fix a few strings, too.
6582 * math/libm-test.inc (nan_value): Rename to qnan_value.
6583 * math/gen-libm-test.pl (%beautify): Adjust to that.
6584 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6585 * math/test-misc.c (main): Likewise.
6586 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6587 to __qnan_bytes, and __qnan_union, respectively.
6588 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6590 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6591 and lqnanval, respectively.
6592 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6593 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6594 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6595 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6597 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6598 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6601 * math/test-misc.c (main): Fix copy'n'pastos.
6602 * misc/tst-efgcvt.c (special): Likewise.
6604 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6605 Remove declarations.
6607 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6609 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6610 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6611 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6614 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6617 macro to return vdso values correctly in IFUNC implementations.
6618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6619 Optimization by using IFUNC.
6621 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6622 Richard Henderson <rth@redhat.com>
6623 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6625 * Makefile.in (bench): New target.
6626 * NEWS: Mention the benchmark framework.
6627 * Rules (bench): Likewise.
6628 (binaries-bench): Generate binaries for functions to
6630 * benchtests/Makefile: New makefile for benchmark tests.
6631 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6633 * benchtests/exp-inputs: New input file for EXP function.
6634 * benchtests/pow-inputs: New input file for POW function.
6635 * scripts/bench.pl: New script to generate source files for
6638 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6640 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6641 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6642 computations on mantissa. Use macros for rounding and
6645 (__dbl_mp): Likewise.
6646 (add_magnitudes): Likewise.
6647 (sub_magnitudes): Likewise.
6650 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6651 powers of two in terms of TWOPOW macro.
6652 (mp_no): Make type of mantissa as MANTISSA_T.
6653 [!RADIXI]: Define RADIXI.
6654 [!TWO52]: Define TWO52.
6655 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6657 * manual/nptl.texi (cindex): Modify threads to pthreads.
6659 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6661 * sysdeps/x86_64/preconfigure: Regenerated.
6663 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6666 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6668 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6669 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6671 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6672 * math/libm-test.inc (j0_test): Do not allow one spurious
6673 underflow exception.
6674 (y1_test): Likewise.
6676 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6678 * manual/Makefile (chapters): Add nptl.
6679 * manual/debug.texi (Debugging Support): Add link to Threads
6681 * manual/nptl.texi: New file.
6683 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6685 2013-03-14 Petr Baudis <pasky@ucw.cz>
6687 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6688 for non-NULL pointer before the memory validity test. Pointed
6689 out by Holger Brunck <holger.brunck@keymile.com>.
6691 2013-03-13 Andreas Schwab <schwab@suse.de>
6693 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6696 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6698 * timezone/zic.c: Update from tzcode 2013b.
6700 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6702 * manual/install.texi (Configuring and compiling):
6703 Mention i686 and i586.
6704 * INSTALL: Regenerate.
6706 2013-03-12 Roland McGrath <roland@hack.frob.com>
6708 * sysdeps/init_array/elf-init.c: New file.
6710 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6711 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6713 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6714 __gmon_start__ as global, but as static with a .preinit_array pointer.
6715 * sysdeps/init_array/gmon-start.c: New file. Use that.
6716 * sysdeps/init_array/crti.S: New file, empty except for comments.
6717 * sysdeps/init_array/crtn.S: Likewise.
6719 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6721 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6724 Remove Prefer_SSE_for_memop.
6725 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6726 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6727 HAS_PREFER_SSE_FOR_MEMOP.
6728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6731 Remove bzero, memset ifunc support.
6732 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6733 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6734 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6735 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6737 2013-03-11 Andreas Schwab <schwab@suse.de>
6740 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6743 (GLIBC_2.16): Remove pthread_atfork.
6745 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6747 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6748 (ptestcases.h): Likewise.
6750 2013-03-08 Roland McGrath <roland@hack.frob.com>
6752 * Makeconfig ($(common-objpfx)config.status): Depend on
6753 sysdeps/*/preconfigure{,.in} too.
6755 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6757 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6758 (__free_hook): Use void * instead of __malloc_ptr_t.
6759 (__malloc_hook): Likewise.
6760 (__realloc_hook): Likewise.
6761 (__memalign_hook): Likewise.
6762 (__after_morecore_hook): Likewise.
6763 * malloc/arena.c (save_malloc_hook): Likewise.
6764 (save_free_hook): Likewise.
6765 * malloc/hooks.c (malloc_hook_ini): Likewise.
6766 (realloc_hook_ini): Likewise.
6767 (memalign_hook_ini): Likewise.
6768 * malloc/malloc.c (malloc_hook_ini): Likewise.
6769 (realloc_hook_ini): Likewise.
6770 (memalign_hook_ini): Likewise.
6771 (__free_hook): Likewise.
6772 (__malloc_hook): Likewise.
6773 (__realloc_hook): Likewise.
6774 (__memalign_hook): Likewise.
6775 (__libc_malloc): Likewise.
6776 (__libc_free): Likewise.
6777 (__libc_realloc): Likewise.
6778 (__libc_memalign): Likewise.
6779 (__libc_valloc): Likewise.
6780 (__libc_pvalloc): Likewise.
6781 (__libc_calloc): Likewise.
6782 (__posix_memalign): Likewise.
6783 * malloc/morecore.c (__sbrk): Likewise.
6784 (__default_morecore): Likewise.
6786 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6788 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6789 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6792 * malloc/malloc.h (__malloc_size_t): Remove macro.
6793 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6795 (old_memalign_hook): Likewise.
6796 (old_realloc_hook): Likewise.
6797 (struct hdr): Likewise.
6799 (mallochook): Likewise.
6800 (memalignhook): Likewise.
6801 (reallochook): Likewise.
6802 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6803 (tr_old_realloc_hook): Likewise.
6804 (tr_old_memalign_hook): Likewise.
6805 (tr_mallochook): Likewise.
6806 (tr_reallochook): Likewise.
6807 (tr_memalignhook): Likewise.
6809 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6812 default_ldbl_pack and using as default implementation.
6813 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6815 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6816 redundant definition.
6817 (ldbl_insert_mantissa): Likewise.
6818 (ldbl_canonicalize): Likewise.
6819 (ldbl_nearbyint): Likewise.
6820 (ldbl_pack): Rename to ldbl_pack_ppc.
6821 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6822 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6823 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6825 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6828 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6830 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6832 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6833 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6834 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6836 2013-03-07 Andreas Jaeger <aj@suse.de>
6838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6841 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6843 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6844 Include mpa.h and declare __MPEXP.
6845 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6847 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6848 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6850 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6851 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6853 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6854 (__slowpow): Use long double EXPL and LOGL functions to
6856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6857 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6860 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6861 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6864 intermediate variable to calculate exponent.
6866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6870 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6871 [!NO__SQR]: Define __sqr.
6872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6873 and NO__SQR. Remove all code except __mul and __sqr. Include
6874 sysdeps/ieee754/dbl-64/mpa.c.
6875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6878 * posix/Makefile (tests): Add tst-pathconf.
6879 * posix/tst-pathconf.c: New test case.
6880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6882 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6884 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6886 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6888 2013-03-06 Andreas Jaeger <aj@suse.de>
6890 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6891 definition via __MAP_ANONYMOUS.
6893 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6894 it's not part of Linux headers.
6896 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6897 (MAP_HUGE_MASK): Define.
6899 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6901 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6902 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6904 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6905 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6907 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6910 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6912 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6913 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6914 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6915 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6916 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6917 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6922 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6923 Handle f2fs and efivarfs.
6925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6928 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6929 (EFIVARFS_MAGIC): Add.
6930 (F2FS_LINK_MAX): Add.
6932 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6934 * stdio-common/vfprintf.c: Replace __builtin_expect with
6937 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6940 * sysdeps/generic/bp-sym.h: Remove file.
6941 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6942 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6943 <bp-sym.h> and <bp-asm.h>.
6944 (__longjmp): Don't use BP_SYM.
6945 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6947 (memcpy): Don't use BP_SYM.
6948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6949 <bp-sym.h> and <bp-asm.h>.
6950 (memcpy): Don't use BP_SYM.
6951 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6953 (memcpy): Don't use BP_SYM.
6954 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6956 (memset): Don't use BP_SYM.
6957 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6958 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6959 (__bzero): Don't use BP_SYM.
6960 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6961 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6963 <bp-sym.h> and <bp-asm.h>.
6964 (memcmp): Don't use BP_SYM. Remove comment about bounded
6966 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6967 <bp-sym.h> and <bp-asm.h>.
6968 (memcpy): Don't use BP_SYM.
6969 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6970 <bp-sym.h> and <bp-asm.h>.
6971 (memset): Don't use BP_SYM.
6972 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6973 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6974 (__bzero): Don't use BP_SYM.
6975 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6976 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6978 <bp-sym.h> and <bp-asm.h>.
6979 (strncmp): Don't use BP_SYM. Remove comment about bounded
6981 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6982 <bp-sym.h> and <bp-asm.h>.
6983 (memcpy): Don't use BP_SYM.
6984 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6985 <bp-sym.h> and <bp-asm.h>.
6986 (memset): Don't use BP_SYM.
6987 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6988 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6989 (__bzero): Don't use BP_SYM.
6990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6993 <bp-sym.h> and <bp-asm.h>.
6994 (__memchr): Don't use BP_SYM.
6995 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6996 <bp-sym.h> and <bp-asm.h>.
6997 (memcmp): Don't use BP_SYM. Remove comment about bounded
6999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7000 <bp-sym.h> and <bp-asm.h>.
7001 (memcpy): Don't use BP_SYM.
7002 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7003 <bp-sym.h> and <bp-asm.h>.
7004 (__mempcpy): Don't use BP_SYM.
7005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7006 <bp-sym.h> and <bp-asm.h>.
7007 (__memrchr): Don't use BP_SYM.
7008 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7009 <bp-sym.h> and <bp-asm.h>.
7010 (memset): Don't use BP_SYM.
7011 (__bzero): Likewise.
7012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7013 <bp-sym.h> and <bp-asm.h>.
7014 (__rawmemchr): Don't use BP_SYM.
7015 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7016 <bp-sym.h> and <bp-asm.h>.
7017 (__STRCMP): Don't use BP_SYM.
7018 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7019 <bp-sym.h> and <bp-asm.h>.
7020 (strchr): Don't use BP_SYM.
7021 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7022 <bp-sym.h> and <bp-asm.h>.
7023 (__strchrnul): Don't use BP_SYM.
7024 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7025 <bp-sym.h> and <bp-asm.h>.
7026 (strlen): Don't use BP_SYM.
7027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7028 <bp-sym.h> and <bp-asm.h>.
7029 (strncmp): Don't use BP_SYM. Remove comment about bounded
7031 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7032 <bp-sym.h> and <bp-asm.h>.
7033 (__strnlen): Don't use BP_SYM.
7034 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7035 <bp-sym.h> and <bp-asm.h>.
7036 (__GI__setjmp): Don't use BP_SYM.
7037 (_setjmp): Likewise.
7038 (__sigsetjmp): Likewise.
7039 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7040 (L(start_addresses)): Don't use BP_SYM.
7042 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7044 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7045 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7046 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7047 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7048 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7050 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7051 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7052 about bounded pointers.
7053 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7054 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7055 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7057 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7058 about bounded pointers. Remove GKM FIXME comments.
7059 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7060 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7062 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7063 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7064 Remove GKM FIXME comments.
7065 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7066 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7067 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7069 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7070 about bounded pointers. Remove GKM FIXME comment.
7071 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7073 (strncmp): Don't use BP_SYM. Remove comment about bounded
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7076 <bp-sym.h> and <bp-asm.h>.
7077 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7079 <bp-sym.h> and <bp-asm.h>.
7080 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7083 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7085 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7088 2013-03-05 David S. Miller <davem@davemloft.net>
7090 * po/es.po: Update from translation team.
7092 2013-03-05 Andreas Jaeger <aj@suse.de>
7094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7095 <bits/mman-linux.h>.
7096 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7099 <bits/mman-linux.h> to end of file.
7100 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7102 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7103 <bits/mman-linux.h> to end of file.
7104 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7107 <bits/mman-linux.h> to end of file.
7109 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7110 (MCL_CURRENT, MCL_FUTURE): Define here.
7112 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7117 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7119 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7122 fourth parameter needed for rt_sigprocmask syscall.
7123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7124 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7125 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7126 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7127 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7128 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7130 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7133 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7134 comment about bounded pointers.
7135 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7136 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7138 2013-03-04 Andreas Jaeger <aj@suse.de>
7140 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7143 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7144 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7145 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7147 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7150 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7154 __ieee754_sqrl instead of __sqrl.
7156 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7158 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7159 * sysdeps/powerpc/fpu_control.h: ... here.
7160 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7161 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7162 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7163 * sysdeps/powerpc/bits/mathinline.h: ... here.
7165 2013-03-01 Roland McGrath <roland@hack.frob.com>
7167 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7168 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7169 to just [NEED_DL_SYSINFO_DSO].
7170 * elf/dl-support.c: Likewise.
7171 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7172 * elf/rtld.c (dl_main): Likewise.
7173 * elf/setup-vdso.h (setup_vdso): Likewise.
7174 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7175 * sysdeps/unix/sysv/linux/dl-sysdep.c
7176 (_dl_discover_osversion): Likewise.
7178 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7180 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7181 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7183 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7185 * NEWS: Mention libm performance improvements and non-x86 PI
7188 * csu/libc-start.c (__pthread_initialize_minimal): Change
7190 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7192 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7195 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7196 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7197 <bp-sym.h> and <bp-asm.h>.
7198 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7199 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7201 (memcpy): Don't use BP_SYM.
7202 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7204 (__mpn_add_n): Don't use BP_SYM.
7205 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7206 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7208 (__mpn_addmul_1): Don't use BP_SYM.
7209 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7210 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7212 (_setjmp): Don't use BP_SYM.
7213 (__novmx_setjmp): Likewise.
7214 (__GI__setjmp): Likewise.
7215 (__vmx_setjmp): Likewise.
7216 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7218 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7219 (__bzero): Don't use BP_SYM.
7220 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7221 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7222 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7223 <bp-sym.h> and <bp-asm.h>.
7224 (memcpy): Don't use BP_SYM.
7225 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7226 <bp-sym.h> and <bp-asm.h>.
7227 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7228 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7229 <bp-sym.h> and <bp-asm.h>.
7230 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7231 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7233 (__mpn_lshift): Don't use BP_SYM.
7234 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7235 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7237 (memset): Don't use BP_SYM.
7238 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7239 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7240 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7242 (__mpn_mul_1): Don't use BP_SYM.
7243 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7245 <bp-sym.h> and <bp-asm.h>.
7246 (memcmp): Don't use BP_SYM.
7247 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7248 <bp-sym.h> and <bp-asm.h>.
7249 (memcpy): Don't use BP_SYM.
7250 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7251 <bp-sym.h> and <bp-asm.h>.
7252 (memset): Don't use BP_SYM.
7253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7254 <bp-sym.h> and <bp-asm.h>.
7255 (strncmp): Don't use BP_SYM.
7256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7257 <bp-sym.h> and <bp-asm.h>.
7258 (memcpy): Don't use BP_SYM.
7259 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7260 <bp-sym.h> and <bp-asm.h>.
7261 (memset): Don't use BP_SYM.
7262 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7263 <bp-sym.h> and <bp-asm.h>.
7264 (__memchr): Don't use BP_SYM.
7265 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7266 <bp-sym.h> and <bp-asm.h>.
7267 (memcmp): Don't use BP_SYM.
7268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (memcpy): Don't use BP_SYM.
7271 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7272 <bp-sym.h> and <bp-asm.h>.
7273 (__mempcpy): Don't use BP_SYM.
7274 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7275 <bp-sym.h> and <bp-asm.h>.
7276 (__memrchr): Don't use BP_SYM.
7277 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7278 <bp-sym.h> and <bp-asm.h>.
7279 (memset): Don't use BP_SYM.
7280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7281 <bp-sym.h> and <bp-asm.h>.
7282 (__rawmemchr): Don't use BP_SYM.
7283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7284 <bp-sym.h> and <bp-asm.h>.
7285 (__STRCMP): Don't use BP_SYM.
7286 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7287 <bp-sym.h> and <bp-asm.h>.
7288 (strchr): Don't use BP_SYM.
7289 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7290 <bp-sym.h> and <bp-asm.h>.
7291 (__strchrnul): Don't use BP_SYM.
7292 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7293 <bp-sym.h> and <bp-asm.h>.
7294 (strlen): Don't use BP_SYM.
7295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7296 <bp-sym.h> and <bp-asm.h>.
7297 (strncmp): Don't use BP_SYM.
7298 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7299 <bp-sym.h> and <bp-asm.h>.
7300 (__strnlen): Don't use BP_SYM.
7301 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7303 (__mpn_rshift): Don't use BP_SYM.
7304 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7306 <bp-sym.h> and <bp-asm.h>.
7307 (__sigsetjmp): Don't use BP_SYM.
7308 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7309 (L(start_addresses)): Don't use BP_SYM.
7311 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7313 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7314 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7315 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7316 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7318 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7319 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7320 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7321 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7323 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7325 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7326 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7328 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7330 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7331 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7332 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7334 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7336 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7338 (strncmp): Don't use BP_SYM,
7339 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7341 (__mpn_sub_n): Don't use BP_SYM.
7342 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7343 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7345 (__mpn_submul_1): Don't use BP_SYM.
7346 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7348 <bp-sym.h> and <bp-asm.h>.
7349 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7351 <bp-sym.h> and <bp-asm.h>.
7352 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7355 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7358 Use ZK to minimize writes to Z.
7359 (sub_magnitudes): Simplify code a bit.
7360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7361 Use ZK to minimize writes to Z.
7362 (sub_magnitudes): Simplify code a bit.
7364 2013-02-27 Roland McGrath <roland@hack.frob.com>
7366 * csu/gmon-start.c: Add special exception to license text.
7368 2013-02-27 Richard Henderson <rth@redhat.com>
7370 * scripts/config.guess: Update from config.git.
7371 * scripts/config.sub: Likewise.
7373 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7375 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7377 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7379 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7381 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7383 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7385 2013-02-26 Roland McGrath <roland@hack.frob.com>
7387 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7388 [$(build-shared = yes].
7390 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7392 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7393 (__mul): Reduce iterations for calculating mantissa.
7395 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7397 (__mpranred): Likewise.
7400 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7401 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7403 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7405 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7406 Define __attribute__.
7408 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7410 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7412 * posix/regex_internal.h (__attribute): Remove.
7413 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7414 (re_string_context_at): Likewise.
7415 (bitset_not): Use __attribute__ and mark function as possibly
7417 (bitset_merge): Likewise.
7418 (bitset_mask): Likewise.
7419 (re_string_char_size_at): Likewise.
7420 (re_string_wchar_at): Likewise.
7421 (re_string_elem_size_at): Likewise.
7423 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7425 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7429 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7434 (__dbl_mp): Likewise.
7435 (add_magnitudes): Likewise.
7436 (sub_magnitudes): Likewise.
7440 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7443 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7446 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7450 up changes with default code.
7451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7454 2013-02-24 Allan McRae <allan@archlinux.org>
7456 * manual/socket.texi (The Internet Namespace): Order menu items
7457 to match that in the file.
7459 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7460 node listing of the info page menu.
7462 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7465 * sysdeps/i386/bp-asm.h: Remove file.
7466 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7467 (PARMS): Do not use macros from bp-asm.h.
7471 (__mpn_add_n): Do not use BP_SYM
7472 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7474 (PARMS): Do not use macros from bp-asm.h.
7477 (__mpn_addmul_1): Do not use BP_SYM
7478 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7480 (PARMS): Do not use macros from bp-asm.h.
7482 (_setjmp): Likewise. Do not use BP_SYM.
7483 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7485 (PARMS): Do not use macros from bp-asm.h.
7487 (setjmp): Likewise. Do not use BP_SYM.
7488 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7490 (PARMS): Do not use macros from bp-asm.h.
7491 (__frexp): Do not use BP_SYM.
7493 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7495 (PARMS): Do not use macros from bp-asm.h.
7496 (__frexpf): Do not use BP_SYM.
7498 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7500 (PARMS): Do not use macros from bp-asm.h.
7501 (__frexpl): Do not use BP_SYM.
7503 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7505 (PARMS): Do not use macros from bp-asm.h.
7506 (__remquo): Do not use BP_SYM.
7508 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7510 (PARMS): Do not use macros from bp-asm.h.
7511 (__remquof): Do not use BP_SYM.
7512 (remquof): Likewise.
7513 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7515 (PARMS): Do not use macros from bp-asm.h.
7516 (__remquol): Do not use BP_SYM.
7517 (remquol): Likewise.
7518 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7520 (PARMS): Do not use macros from bp-asm.h.
7523 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7524 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7526 (PARMS): Do not use macros from bp-asm.h.
7527 (strlen): Do not use BP_SYM.
7528 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7530 (PARMS): Do not use macros from bp-asm.h.
7534 (__mpn_add_n): Do not use BP_SYM.
7535 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7537 (PARMS): Do not use macros from bp-asm.h.
7540 (__mpn_addmul_1): Do not use BP_SYM.
7541 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7544 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7546 (PARMS): Do not use macros from bp-asm.h.
7549 (__mpn_lshift): Do not use BP_SYM.
7550 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7552 (PARMS): Do not use macros from bp-asm.h.
7556 (memcpy): Likewise. Do not use BP_SYM.
7557 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7558 libc_hidden_def and weak_alias.
7559 (mempcpy): Do not use BP_SYM in weak_alias.
7560 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7562 (PARMS): Do not use macros from bp-asm.h.
7565 [!BZERO_P] (CHR): Likewise.
7566 (memset): Likewise. Do not use BP_SYM.
7567 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7569 (PARMS): Do not use macros from bp-asm.h.
7572 (__mpn_mul_1): Do not use BP_SYM.
7573 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7575 (PARMS): Do not use macros from bp-asm.h.
7578 (__mpn_rshift): Do not use BP_SYM.
7579 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7581 (PARMS): Do not use macros from bp-asm.h.
7584 (strchr): Likewise. Do not use BP_SYM.
7585 (index): Do not use BP_SYM in weak_alias.
7586 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7588 (PARMS): Do not use macros from bp-asm.h.
7591 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7592 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7594 (PARMS): Do not use macros from bp-asm.h.
7595 (strlen): Do not use BP_SYM.
7596 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7598 (PARMS): Do not use macros from bp-asm.h.
7602 (__mpn_sub_n): Do not use BP_SYM.
7603 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7605 (PARMS): Do not use macros from bp-asm.h.
7608 (__mpn_submul_1): Do not use BP_SYM.
7609 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7611 (PARMS): Do not use macros from bp-asm.h.
7615 (__mpn_add_n): Do not use BP_SYM.
7616 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7619 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7621 (PARMS): Do not use macros from bp-asm.h.
7624 (memcmp): Do not use BP_SYM.
7625 (bcmp): Do not use BP_SYM in weak_alias.
7626 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7628 (PARMS): Do not use macros from bp-asm.h.
7632 (memcpy): Likewise. Do not use BP_SYM.
7633 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7635 (PARMS): Do not use macros from bp-asm.h.
7639 (memmove): Likewise. Do not use BP_SYM.
7640 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7642 (PARMS): Do not use macros from bp-asm.h.
7646 (__mempcpy): Likewise. Do not use BP_SYM.
7647 (mempcpy): Do not use BP_SYM in weak_alias.
7648 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7650 (PARMS): Do not use macros from bp-asm.h.
7653 [!BZERO_P] (CHR): Likewise.
7654 (memset): Likewise. Do not use BP_SYM.
7655 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7657 (PARMS): Do not use macros from bp-asm.h.
7659 (strcmp): Do not use BP_SYM.
7660 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7662 (PARMS): Do not use macros from bp-asm.h.
7665 [USE_AS_STRTOK_R] (SAVE): Likewise.
7666 (FUNCTION): Likewise. Do not use BP_SYM.
7667 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7669 (strtok_r): Likewise.
7670 (__GI___strtok_r): Likewise.
7671 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7672 (PARMS): Do not use macros from bp-asm.h.
7675 (__mpn_lshift): Do not use BP_SYM.
7676 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7677 (PARMS): Do not use macros from bp-asm.h.
7680 (__memchr): Do not use BP_SYM.
7681 (memchr): Do not use BP_SYM in weak_alias.
7682 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7683 (PARMS): Do not use macros from bp-asm.h.
7686 (memcmp): Do not use BP_SYM.
7687 (bcmp): Do not use BP_SYM in weak_alias.
7688 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7689 (PARMS): Do not use macros from bp-asm.h.
7692 (__mpn_mul_1): Do not use BP_SYM.
7693 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7695 (PARMS): Do not use macros from bp-asm.h.
7698 (__rawmemchr): Do not use BP_SYM.
7699 (rawmemchr): Do not use BP_SYM in weak_alias.
7700 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7701 (PARMS): Do not use macros from bp-asm.h.
7704 (__mpn_rshift): Do not use BP_SYM.
7705 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7706 (PARMS): Do not use macros from bp-asm.h.
7708 (__sigsetjmp): Likewise. Do not use BP_SYM.
7709 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7710 (_start): Do not use BP_SYM.
7711 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7712 (PARMS): Do not use macros from bp-asm.h.
7715 (__stpcpy): Likewise. Do not use BP_SYM.
7716 (stpcpy): Do not use BP_SYM in weak_alias.
7717 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7719 (PARMS): Do not use macros from bp-asm.h.
7723 (__stpncpy): Likewise. Do not use BP_SYM.
7724 (stpncpy): Do not use BP_SYM in weak_alias.
7725 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7726 (PARMS): Do not use macros from bp-asm.h.
7729 (strchr): Likewise. Do not use BP_SYM.
7730 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7732 (PARMS): Do not use macros from bp-asm.h.
7735 (__strchrnul): Likewise. Do not use BP_SYM.
7736 (strchrnul): Do not use BP_SYM in weak_alias.
7737 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7739 (PARMS): Do not use macros from bp-asm.h.
7741 (strcspn): Do not use BP_SYM.
7742 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7744 (PARMS): Do not use macros from bp-asm.h.
7747 (strpbrk): Likewise. Do not use BP_SYM.
7748 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7750 (PARMS): Do not use macros from bp-asm.h.
7753 (strrchr): Likewise. Do not use BP_SYM.
7754 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7755 (PARMS): Do not use macros from bp-asm.h.
7757 (strspn): Do not use BP_SYM.
7758 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7759 (PARMS): Do not use macros from bp-asm.h.
7763 (FUNCTION): Likewise. Do not use BP_SYM.
7764 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7766 (strtok_r): Likewise.
7767 (__GI___strtok_r): Likewise.
7768 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7769 (PARMS): Do not use macros from bp-asm.h.
7773 (__mpn_sub_n): Do not use BP_SYM.
7774 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7776 (PARMS): Do not use macros from bp-asm.h.
7779 (__mpn_submul_1): Do not use BP_SYM.
7780 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7782 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7784 (PARMS): Do not use macros from bp-asm.h.
7789 (__clone): Do not use BP_SYM.
7790 (clone): Do not use BP_SYM in weak_alias.
7791 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7793 (PARMS): Do not use macros from bp-asm.h.
7795 (__mmap64): Do not use BP_SYM.
7796 (mmap64): Do not use BP_SYM in weak_alias.
7797 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7798 <bp-sym.h> and <bp-asm.h>.
7799 (PARMS): Do not use macros from bp-asm.h.
7800 (__posix_fadvise64_l64): Do not use BP_SYM.
7801 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7802 (PARMS): Do not use macros from bp-asm.h.
7804 (semtimedop): Do not use BP_SYM.
7805 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7808 2013-02-21 Allan McRae <allan@archlinux.org>
7810 * manual/message.texi (Charset conversion in gettext):
7811 Move @end statement to beginning of line.
7813 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7820 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7825 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7827 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7828 tail-call to the resolved function if pltexit isn't needed.
7830 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7833 or Y being zero as being unlikely.
7834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7837 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7839 * manual/nss.texi (System Databases and Name Service Switch):
7840 Remove frobnicate @pxref.
7842 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7844 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7845 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7847 2013-02-20 Petr Machata <pmachata@redhat.com>
7849 * elf/elf.h (R_ARM_TARGET1): New macro.
7850 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7851 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7852 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7853 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7854 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7855 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7856 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7857 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7858 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7859 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7860 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7861 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7862 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7863 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7864 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7865 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7866 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7867 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7868 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7869 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7870 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7871 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7872 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7873 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7874 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7875 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7876 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7877 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7878 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7879 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7880 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7881 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7882 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7883 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7884 (R_ARM_THM_GOT_BREL12): Likewise.
7885 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7886 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7887 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7888 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7889 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7890 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7891 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7892 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7893 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7895 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7897 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7898 __attribute_used__ to __attribute__ ((unused)).
7900 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7902 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7908 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7911 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7913 (ENTER): Remove both macro definitions.
7915 (CHECK_BOUNDS_LOW): Likewise.
7916 (CHECK_BOUNDS_HIGH): Likewise.
7917 (CHECK_BOUNDS_BOTH): Likewise.
7918 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7919 (RETURN_BOUNDED_POINTER): Likewise.
7920 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7921 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7922 (POP_ERRNO_LOCATION_RETURN): Likewise.
7923 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7924 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7925 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7927 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7928 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7929 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7930 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7931 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7932 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7933 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7934 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7935 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7936 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7937 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7938 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7939 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7940 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7942 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7943 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7945 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7946 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7947 * sysdeps/i386/i586/memset.S (memset): Likewise.
7948 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7949 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7950 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7952 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7953 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7954 Change uses of L(2) to L(out).
7955 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7956 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7957 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7958 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7959 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7961 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7962 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7964 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7965 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7966 (RETURN): Do not use macro LEAVE.
7967 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7968 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7969 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7970 * sysdeps/i386/i686/memset.S (memset): Likewise.
7971 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7972 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7973 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7974 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7976 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7977 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7978 L(1_2) and L(1_3) into L(1).
7979 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7980 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7981 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7982 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7983 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7984 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7985 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7986 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7987 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7989 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7990 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7991 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7992 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7993 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7994 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7995 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7996 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7997 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7998 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7999 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8000 * sysdeps/i386/strspn.S (strspn): Likewise.
8001 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8004 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8005 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8006 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8008 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8009 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8010 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8012 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8014 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8016 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8019 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8021 * math/atest-exp.c (exp_mpn): Remove ROUND.
8022 * math/atest-exp2.c (exp_mpn): Likewise.
8023 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8025 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8026 * stdlib/tst-tls-atexit-lib.c: Likewise.
8027 * stdlib/tst-tls-atexit.c: Likewise.
8029 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8031 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8032 and __attribute_alloc_size__.
8034 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8036 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8037 __attribute_alloc_size__.
8038 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8039 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8041 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8043 * include/programs/xmalloc.h: New file.
8044 * catgets/gencat.c: Include it.
8045 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8046 * elf/pldd.c: Likewise.
8047 * iconv/iconv_charmap.c: Likewise.
8048 * iconv/iconvconfig.c: Likewise.
8049 * iconv/strtab.c: Likewise.
8050 * locale/programs/locale.c: Likewise.
8051 * locale/programs/localedef.h: Likewise.
8052 * locale/programs/simple-hash.c: Likewise.
8053 * nscd/nscd.h: Likewise.
8054 * nss/makedb.c: Likewise.
8055 * sysdeps/generic/ldconfig.h: Likewise.
8057 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8059 * Versions.def: Add GLIBC_2.18.
8060 * include/link.h (struct link_map): New member l_tls_dtor_count.
8061 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8062 (__call_tls_dtors): Likewise.
8063 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8064 __cxa_thread_atexit_impl.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8081 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8082 (tests): Add test case tst-tls-atexit.
8083 (modules-names): Add shared library for tst-tls-atexit.
8084 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8085 (GLIBC_PRIVATE): Add __call_tls_dtors.
8086 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8088 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8089 * stdlib/tst-tls-atexit.c: New test case.
8090 * stdlib/tst-tls-atexit-lib.c: New test case.
8092 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8094 * elf/Versions (ld): Add _dl_find_dso_for_object.
8095 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8096 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8097 (dl_open_worker): Use _dl_find_dso_for_object.
8098 * elf/dl-sym.c (do_sym): Likewise.
8099 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8101 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8103 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8104 Syntactic changes only.
8105 (_dl_runtime_profile): Do a tail-call to the resolved function.
8107 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8110 * sysdeps/x86_64/bp-asm.h: Remove file.
8111 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8112 <bp-sym.h> and <bp-asm.h>.
8113 (__clone): Do not use BP_SYM.
8114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8115 <bp-sym.h> and <bp-asm.h>.
8116 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8117 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8119 (_setjmp): Do not use BP_SYM.
8120 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8122 (setjmp): Do not use BP_SYM.
8123 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8125 (mempcpy): Do not use BP_SYM in weak_alias.
8126 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8128 (strchr): Do not use BP_SYM.
8129 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8131 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8132 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8133 (_start): Do not use BP_SYM.
8134 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8136 (strcat): Do not use BP_SYM.
8137 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8139 (STRCMP): Do not use BP_SYM.
8140 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8142 (STRCPY): Do not use BP_SYM.
8143 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8145 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8147 (FUNCTION): Do not use BP_SYM.
8148 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8150 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8152 2013-02-17 Andreas Jaeger <aj@suse.de>
8154 * time/Versions: Sort entries.
8155 * string/Versions: Likewise.
8156 * resolv/Versions: Likewise.
8157 * posix/Versions: Likewise.
8158 * iconv/Versions: Likewise.
8159 * elf/Versions: Likewise.
8160 * wcsmbs/Versions: Likewise.
8162 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8164 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8165 loop termination condition.
8167 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8168 variable to calculate EZ.
8171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8172 the lower precision input.
8174 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8177 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8178 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8179 (run-via-rtld-prefix): Do not handle %-bp tests.
8180 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8181 (all-object-suffixes): Remove .ob.
8182 (bppfx): Remove variable.
8183 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8184 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8185 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8186 [$(build-bounded) = yes] (libtype.ob): Likewise.
8187 * Makerules (elide-routines.ob): Remove variable.
8188 (do-tests-clean): Do not handle *-bp.out.
8189 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8190 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8191 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8192 (tests): Do not include $(tests-bp.out).
8193 (xtests): Do not include $(xtests-bp.out).
8194 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8195 [$(build-bounded) = yes] ($(addprefix
8196 $(objpfx),$(binaries-bounded))): Remove rule.
8197 ($(objpfx)%-bp.out): Remove rule.
8198 * config.make.in (build-bounded): Remove variable.
8199 * crypt/Makefile [$(build-bounded) = yes]
8200 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8201 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8203 [$(build-bounded) = yes] (install-lib): Likewise.
8204 [$(build-bounded) = yes] (generated): Likewise.
8205 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8207 * intl/Makefile [$(build-bounded) = yes]
8208 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8209 * math/Makefile [$(build-bounded) = yes]
8210 ($(tests:%=$(objpfx)%-bp): Likewise.
8211 * misc/Makefile [$(build-bounded) = yes]
8212 ($(objpfx)tst-tsearch-bp): Likewise.
8213 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8214 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8216 * string/Makefile (o-objects.ob): Remove variable.
8217 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8218 (CFLAGS-.ob): Remove variable.
8219 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8220 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8221 both definitions of variable.
8222 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8223 (ASFLAGS-.ob): Remove variable.
8225 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8228 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8229 Remove __BOUNDED_POINTERS__ from condition.
8230 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8231 * string/bits/string2.h [!__NO_STRING_INLINES &&
8232 !__BOUNDED_POINTERS__]: Likewise.
8233 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8235 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8236 Remove conditional code.
8237 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8238 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8239 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8243 * csu/libc-start.c: Do not include <bp-sym.h>.
8244 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8245 * elf/dl-open.c: Do not include <bp-sym.h>.
8246 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8247 * math/fegetenv.c: Do not include <bp-sym.h>.
8248 (fegetenv): Do not use BP_SYM in versioned symbols.
8249 * nptl/sysdeps/pthread/bits/libc-lockP.h
8250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8253 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8255 (__pthread_mutex_destroy): Likewise.
8256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8257 (__pthread_mutex_lock): Likewise.
8258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8259 (__pthread_mutex_trylock): Likewise.
8260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8261 (__pthread_mutex_unlock): Likewise.
8262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8263 (__pthread_mutexattr_init): Likewise.
8264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8265 (__pthread_mutexattr_destroy): Likewise.
8266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8267 (__pthread_mutexattr_settype): Likewise.
8268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8269 (__pthread_rwlock_init): Likewise.
8270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8271 (__pthread_rwlock_destroy): Likewise.
8272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8273 (__pthread_rwlock_rdlock): Likewise.
8274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8275 (__pthread_rwlock_tryrdlock): Likewise.
8276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8277 (__pthread_rwlock_wrlock): Likewise.
8278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8279 (__pthread_rwlock_trywrlock): Likewise.
8280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8281 (__pthread_rwlock_unlock): Likewise.
8282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8283 (__pthread_key_create): Likewise.
8284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8285 (__pthread_setspecific): Likewise.
8286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8287 (__pthread_getspecific): Likewise.
8288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8291 (_pthread_cleanup_push_defer): Likewise.
8292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8293 (_pthread_cleanup_pop_restore): Likewise.
8294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8295 (pthread_setcancelstate): Likewise.
8296 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8298 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8299 (memchr): Do not use BP_SYM in weak_alias.
8300 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8301 (fegetenv): Do not use BP_SYM in versioned symbols.
8302 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8303 (fesetenv): Do not use BP_SYM in versioned symbols.
8304 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8305 (feupdateenv): Do not use BP_SYM in versioned symbols.
8306 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8307 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8308 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8309 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8310 (open64): Do not use BP_SYM in weak_alias.
8311 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8312 (fegetenv): Do not use BP_SYM in versioned symbols.
8313 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8314 (fesetenv): Do not use BP_SYM in versioned symbols.
8315 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8316 (feupdateenv): Do not use BP_SYM in versioned symbols.
8317 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8318 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8319 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8320 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8321 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8322 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8323 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8325 (__libc_start_main): Do not use BP_SYM.
8327 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8330 redundant return line.
8334 (sub_magnitudes): Likewise.
8340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8344 (sub_magnitudes): Likewise.
8351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8353 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8354 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8357 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8358 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8360 of __mul for squares.
8361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8368 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8371 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8373 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8374 prototype or function definition. Rename ubp_* variables and
8375 parameters. Remove argv definitions conditional on
8376 [__BOUNDED_POINTERS__].
8377 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8378 * elf/dl-runtime.c (_dl_fixup): Likewise.
8379 * include/set-hooks.h (RUN_HOOK): Likewise.
8380 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8382 * string/strcpy.c (strcpy): Do not use __unbounded.
8383 * sysdeps/generic/frame.h (struct layout): Likewise.
8384 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8385 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8386 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8387 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8388 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8389 (__backtrace): Likewise.
8390 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8392 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8393 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8394 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8396 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8397 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8398 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8399 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8400 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8401 Do not use __unbounded.
8402 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8403 Rename __unboundedrlimits parameter to rlimits in prototype.
8404 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8405 Do not use __unbounded.
8406 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8408 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8409 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8410 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8411 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8412 __ptrvalue or __unbounded.
8413 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8414 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8416 (__new_msgctl): Do not use __ptrvalue.
8417 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8419 (__libc_msgrcv): Do not use __ptrvalue.
8420 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8421 startup_info): Do not use __unbounded.
8422 (__libc_start_main): Likewise. Rename ubp_* variables and
8423 parameters. Remove argv definitions conditional on
8424 [__BOUNDED_POINTERS__].
8425 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8427 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8429 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8431 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8433 (__new_shmctl): Do not use __ptrvalue.
8434 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8435 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8437 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8439 (__libc_sigaction): Likewise.
8440 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8443 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8445 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8447 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8449 * string/mempcpy.c: Implement by calling memcpy.
8451 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8458 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8459 values in the mantissa.
8461 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8462 minimize writes to Z.
8463 (sub_magnitudes): Simplify code a bit.
8465 2013-02-12 Roland McGrath <roland@hack.frob.com>
8467 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8468 from the message. The linker prefixes all warnings with that already.
8470 2013-02-12 Andreas Schwab <schwab@suse.de>
8473 * posix/regexec.c (extend_buffers): Add parameter min_len.
8474 (check_matching): Pass minimum needed length.
8475 (clean_state_log_if_needed): Likewise.
8476 (get_subexp): Likewise.
8477 * posix/Makefile (tests): Add bug-regex34.
8478 (bug-regex34-ENV): Define.
8479 * posix/bug-regex34.c: New file.
8482 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8483 elements compare against the byte sequence of it, not its name.
8484 * posix/Makefile (tests): Add bug-regex35.
8485 (bug-regex35-ENV): Define.
8486 * posix/bug-regex35.c: New file.
8488 2013-02-11 Tom de Vries <tom@codesourcery.com>
8490 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8492 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8493 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8494 (CHECK_EOL): Add undef.
8496 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8498 * bits/stdlib-bsearch.h: New file.
8499 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8500 * stdlib/stdlib.h: Likewise.
8502 2013-02-11 Roland McGrath <roland@hack.frob.com>
8504 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8505 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8507 * manual/search.texi (Array Search Function): Add missing const in
8509 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8510 declaration to use rlim_t.
8511 (Basic Scheduling Functions): Remove erroneous const from
8512 sched_getparam prototype. Remove erroneous * from
8513 sched_get_priority_max and sched_get_priority_min prototypes.
8514 (Resource Usage): Fix summary @comment on vtimes to refer to
8515 sys/vtimes.h rather than vtimes.h.
8516 Add missing *s in vtimes prototype.
8517 (Limits on Resources): Fix ulimit prototype to return long int.
8518 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8519 prototypes to use long int rather than double.
8520 (BSD Random): Fix initstate and setstate to use char *, not void *.
8521 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8522 prototype to make second argument 'struct aiocb64 *const[]'.
8523 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8524 (Status of AIO Operations): Remove erroneous const in aio_return and
8525 aio_return64 prototypes.
8526 (Synchronizing I/O): Fix sync prototype to return void.
8527 * manual/startup.texi (Suboptions): Remove an erroneous const in
8528 getsubopt prototype.
8529 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8530 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8531 use size_t rather than int.
8532 (Scanning All Users): Likewise for getpwent_r.
8533 (Setting Groups): Add missing const to setgroups prototype.
8534 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8535 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8536 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8537 'const void *' rather than 'const char *'.
8538 (Host Address Functions): Likewise for inet_ntop.
8539 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8540 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8541 ssize_t for return value.
8542 (Sending Data): Likewise for send, sendto, sendmsg.
8543 (Socket Option Functions): Add a missing const in setsockopt prototype.
8544 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8545 use wchar_t for the argument.
8546 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8547 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8549 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8550 double/float/long double for second argument.
8551 Fix return types of significand, significandf, significandl.
8552 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8553 argument in fchmod prototype.
8554 (File Owner): Use uid_t and gid_t in fchown prototype.
8555 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8556 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8557 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8558 use 'const struct dirent **' as argument types to CMP function pointer
8560 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8561 (File Times): Fix summary magic @comment for struct utimbuf and utime
8562 to refer to utime.h, not time.h.
8563 * manual/string.texi (Argz Functions): Add missing const in
8564 argz_extract and argz_next prototypes.
8565 (Finding Tokens in a String): Likewise for basename.
8566 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8567 (Copying and Concatenation): Fix typo in wmemmove prototype.
8568 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8569 (Signal Stack): Remove erroneous const in sigstack prototype.
8570 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8572 (Simple Calendar Time): Likewise for stime.
8573 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8575 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8576 say sys/sysctl.h instead.
8577 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8578 and vsyslog prototypes.
8580 2013-02-11 Tom de Vries <tom@codesourcery.com>
8582 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8585 2013-02-11 Roland McGrath <roland@hack.frob.com>
8587 * misc/sys/mman.h: Fix typo in mremap comment.
8589 2013-02-08 Roland McGrath <roland@hack.frob.com>
8591 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8592 the '\0' terminator.
8594 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8597 * debug/segfault.c: Don't include <bp-checks.h>.
8598 * sysdeps/generic/bp-checks.h: Remove file.
8599 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8600 (__GETDENTS): Don't use CHECK_N.
8601 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8602 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8603 (__getgroups): Don't use CHECK_N.
8604 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8605 (setgroups): Don't use CHECK_N.
8606 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8607 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8608 (__libc_msgrcv): Don't use CHECK_N.
8609 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8610 (__libc_msgsnd): Don't use CHECK_N.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8613 (__libc_pread): Don't use CHECK_N.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8615 include <bp-checks.h>.
8616 (__libc_pread64): Don't use CHECK_N.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8618 include <bp-checks.h>.
8619 (__libc_pwrite): Don't use CHECK_N.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8621 include <bp-checks.h>.
8622 (__libc_pwrite64): Don't use CHECK_N.
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8625 (__libc_pread): Don't use CHECK_N.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8627 include <bp-checks.h>.
8628 (__libc_pread64): Don't use CHECK_N.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8630 include <bp-checks.h>.
8631 (__libc_pwrite): Don't use CHECK_N.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8633 include <bp-checks.h>.
8634 (__libc_pwrite64): Don't use CHECK_N.
8635 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8636 (do_pread): Don't use CHECK_N.
8637 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8638 (do_pread64): Don't use CHECK_N.
8639 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8640 (do_pwrite): Don't use CHECK_N.
8641 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8642 (do_pwrite64): Don't use CHECK_N.
8643 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8644 (__libc_readv): Don't use CHECK_N.
8645 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8646 (semop): Don't use CHECK_N.
8647 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8649 (semtimedop): Don't use CHECK_N.
8650 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8651 (__libc_pread): Don't use CHECK_N.
8652 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8654 (__libc_pread64): Don't use CHECK_N.
8655 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8657 (__libc_pwrite): Don't use CHECK_N.
8658 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8660 (__libc_pwrite64): Don't use CHECK_N.
8661 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8663 (__libc_msgrcv): Don't use CHECK_N.
8664 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8665 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8666 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8667 (__libc_writev): Don't use CHECK_N.
8669 2013-02-08 Roland McGrath <roland@hack.frob.com>
8671 * string/strcpy.c: Removed unused variable.
8673 * Makeconfig (+sysdep-includes): Define with := rather than =.
8674 Use an existing include/ subdir of each sysdeps dir before it.
8676 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8678 * nscd/connection.c (register_traced_file): Comment function.
8679 [HAVE_INOTIFY] (union __inev): Define.
8680 [HAVE_INOTIFY] (inotify_check_files): New function.
8681 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8682 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8684 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8686 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8688 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8689 loaded if not already and that a failure is permanent.
8691 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8694 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8695 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8697 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8700 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8701 (CHECK_1_NULL_OK): Likewise.
8702 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8703 (__fxstat): Do not use CHECK_1.
8704 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8706 (___fxstat64): Do not use CHECK_1.
8707 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8709 (__fxstatat): Do not use CHECK_1.
8710 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8712 (__fxstatat64): Do not use CHECK_1.
8713 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8715 (__fxstat): Do not use CHECK_1.
8716 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8718 (__fxstatat): Do not use CHECK_1.
8719 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8721 (__getresgid): Do not use CHECK_1.
8722 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8724 (__getresuid): Do not use CHECK_1.
8725 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8727 (__lxstat): Do not use CHECK_1.
8728 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8730 (__old_msgctl): Do not use CHECK_1.
8731 (__new_msgctl): Likewise.
8732 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8734 (__new_setrlimit): Do not use CHECK_1.
8735 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8737 (__old_shmctl): Do not use CHECK_1.
8738 (__new_shmctl): Likewise.
8739 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8741 (__xstat): Do not use CHECK_1.
8742 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8743 (__lxstat): Do not use CHECK_1.
8744 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8746 (___lxstat64): Do not use CHECK_1.
8747 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8748 (__old_msgctl): Do not use CHECK_1.
8749 (__new_msgctl): Likewise.
8750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8752 (__gettimeofday): Do not use CHECK_1.
8753 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8754 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8755 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8757 (__gettimeofday): Do not use CHECK_1.
8758 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8759 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8760 (__new_shmctl): Do not use CHECK_1.
8761 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8763 (do_sigtimedwait): Do not use CHECK_1.
8764 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8766 (do_sigwaitinfo): Do not use CHECK_1.
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8769 (msgctl): Do not use CHECK_1.
8770 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8772 (shmctl): Do not use CHECK_1.
8773 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8774 (ustat): Do not use CHECK_1.
8775 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8777 (__fxstat): Do not use CHECK_1.
8778 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8780 (__fxstatat): Do not use CHECK_1.
8781 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8783 (__lxstat): Do not use CHECK_1.
8784 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8786 (__xstat): Do not use CHECK_1.
8787 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8788 (__xstat): Do not use CHECK_1.
8789 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8790 (___xstat64): Do not use CHECK_1.
8793 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8795 (CHECK_BOUNDS_HIGH): Likewise.
8796 * string/strcpy.c: Do not include <bp-checks.h>.
8797 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8799 2013-02-07 Roland McGrath <roland@hack.frob.com>
8801 * nscd/nscd-client.h (__nscd_drop_map_ref):
8802 Add __attribute__ ((unused)).
8803 * nis/nss-nisplus.h (niserr2nss): Likewise.
8805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8806 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8808 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8809 Remove inline keyword.
8810 * include/rounding-mode.h (round_away): Likewise.
8811 * libio/wfileops.c (adjust_wide_data): Likewise.
8812 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8813 (__m128i_strloadu_tolower): Likewise.
8814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8815 (__m128i_strloadu_tolower): Likewise.
8816 * time/mktime.c (ydhms_diff): Likewise.
8817 * locale/elem-hash.h (elem_hash): Likewise.
8818 * locale/setlocale.c (setdata): Likewise.
8819 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8820 (re_string_wchar_at): Likewise.
8821 (bitset_not, bitset_merge, bitset_mask): Likewise.
8822 [!(__GNUC__ > 3)] (inline): Remove macro.
8823 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8824 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8825 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8826 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8827 * string/memcmp.c (memcmp_bytes): Likewise.
8828 * locale/programs/locarchive.c (compute_hashval): Likewise.
8829 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8830 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8831 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8832 * nss/getent.c (print_rpc, print_protocols): Likewise.
8833 (print_passwd, print_group, print_aliases): Likewise.
8834 * nis/nss-nisplus.h (niserr2nss): Likewise.
8835 * nscd/connections.c (restart_p): Likewise.
8836 Change return type to bool.
8838 2013-02-05 Roland McGrath <roland@hack.frob.com>
8840 * Makeconfig (all-Depend-files): Add existing
8841 $(sorted-subdirs:=/Depend) files.
8842 (all-subdirs): Remove nss.
8843 * sysdeps/unix/inet/Subdirs: Add it here instead.
8844 * hesiod/Depend: New file.
8846 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8847 instead of calling alloca.
8849 * io/lseek.c (__lseek): Rename to __libc_lseek.
8850 Define __lseek as an alias.
8852 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8854 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8856 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8857 else clause and remove check for non-standard endianness.
8859 2013-02-04 David S. Miller <davem@davemloft.net>
8861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8863 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8866 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8867 (__ubp_memchr): Remove prototype.
8868 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8869 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8870 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8871 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8872 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8874 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8875 (__ubp_memchr): Likewise.
8876 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8877 (__ubp_memchr): Likewise.
8878 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8879 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8880 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8881 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8883 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8884 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8885 (__getcwd): Do not use CHECK_STRING.
8886 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8888 (__real_chown): Do not use CHECK_STRING.
8889 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8891 (fchownat): Do not use CHECK_STRING.
8892 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8894 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8896 (__lchown): Do not use CHECK_STRING.
8897 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8898 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8899 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8900 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8902 include <bp-checks.h>.
8903 (truncate64): Do not use CHECK_STRING.
8904 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8906 (__real_chown): Do not use CHECK_STRING.
8907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8909 (__lchown): Do not use CHECK_STRING.
8910 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8912 (__chown): Do not use CHECK_STRING.
8913 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8915 (truncate64): Do not use CHECK_STRING.
8916 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8918 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8919 (__xmknod): Do not use CHECK_STRING.
8920 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8922 (__xmknodat): Do not use CHECK_STRING.
8923 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8924 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8926 2013-02-04 Andreas Schwab <schwab@suse.de>
8929 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8930 * include/netdb.h: Likewise for h_errno.
8931 * elf/tst-stackguard1.c: Include <tls.h>.
8933 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8935 * elf/link.h (struct link_map): Extend the l_addr comment.
8936 * include/link.h (struct link_map): Likewise.
8938 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8941 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8942 (BOUNDED_1): Remove macro.
8943 * debug/backtrace.c: Don't include <bp-checks.h>.
8944 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8945 (__backtrace): Likewise.
8946 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8948 (__backtrace): Don't use BOUNDED_1.
8949 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8951 (__backtrace): Don't use BOUNDED_1.
8952 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8953 (__backtrace): Don't use BOUNDED_1.
8954 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8955 (shmat): Don't use BOUNDED_N.
8957 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8960 * sysdeps/generic/bp-start.h: Remove file.
8961 * csu/libc-start.c: Don't include <bp-start.h>.
8962 (LIBC_START_MAIN): Set up __environ directly instead of using
8963 INIT_ARGV_and_ENVIRON.
8964 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8968 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8970 (CHECK_FCNTL): Likewise.
8971 (CHECK_N_PAGES): Likewise.
8974 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8976 (CHECK_SIGSET_NULL_OK): Likewise.
8977 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8979 (sigpending): Don't use CHECK_SIGSET.
8980 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8982 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8983 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8985 (do_sigsuspend): Don't use CHECK_SIGSET.
8986 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8988 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8989 (do_sigwait): Don't use CHECK_SIGSET.
8990 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8993 include <bp-checks.h>.
8994 (sigpending): Don't use CHECK_SIGSET.
8995 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8996 include <bp-checks.h>.
8997 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8998 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9000 (sigpending): Don't use CHECK_SIGSET.
9001 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9003 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9006 * sysdeps/generic/bp-semctl.h: Remove file.
9007 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9008 <bp-checks.h> and <bp-semctl.h>.
9009 (__old_semctl): Don't use CHECK_SEMCTL.
9010 (__new_semctl): Likewise.
9011 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9013 (__old_semctl): Don't use CHECK_SEMCTL.
9014 (__new_semctl): Likewise.
9015 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9016 <bp-checks.h> and <bp-semctl.h>.
9017 (__old_semctl): Don't use CHECK_SEMCTL.
9018 (__new_semctl): Likewise.
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9020 <bp-checks.h> and <bp-semctl.h>.
9021 (semctl): Don't use CHECK_SEMCTL.
9024 * Makerules (elide-bp-thunks): Remove variable.
9025 (elide-routines.oS): Don't use $(elide-bp-thunks).
9026 (elide-routines.os): Likewise.
9027 (elide-routines.o): Likewise.
9028 (elide-routines.op): Likewise.
9029 (elide-routines.og): Likewise.
9030 (objects): Don't use $(bp-thunks).
9031 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9033 (common-generated): Do not add s-proto-bp.d.
9034 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9037 Do not generate makefile rules for bounded-pointer thunks.
9038 * sysdeps/generic/bp-thunks.h: Remove file.
9039 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9040 * sysdeps/unix/s-proto-bp.S: Likewise.
9043 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9044 parts of result separately when argument is not close to line from
9045 -i to i and one part of argument is small.
9046 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9047 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9048 * math/libm-test.inc (cacos_test): Add more tests.
9049 (casin_test): Likewise.
9050 (casinh_test): Likewise.
9051 * sysdeps/i386/fpu/libm-test-ulps: Update.
9052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9054 2013-01-31 David S. Miller <davem@davemloft.net>
9056 * po/de.po: Update from translation team.
9058 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9060 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9062 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9064 * configure.in (_AC_PROG_CC_C89): New definition.
9065 * configure: Regenerate.
9067 * configure.in (AC_PROG_CPP): New definition.
9068 * configure: Regenerate.
9070 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9072 * debug/tst-backtrace.h: New file.
9073 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9074 (ret): Remove variable.
9076 (FAIL): Remove macro.
9077 (NO_INLINE): Likewise.
9078 (fn1): Use match function instead of strstr.
9079 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9080 (ret): Remove variable.
9082 (FAIL): Remove macro.
9083 (NO_INLINE): Likewise.
9084 (fn): Use match function instead of strstr.
9085 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9086 (ret): Remove variable.
9088 (FAIL): Remove macro.
9089 (NO_INLINE): Likewise.
9090 (handle_signal): Use match function instead of strstr.
9091 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9092 (ret): Remove variable.
9094 (FAIL): Remove macro.
9095 (NO_INLINE): Likewise.
9096 (handle_signal): Use match function instead of strstr.
9098 2013-01-23 Roland McGrath <roland@hack.frob.com>
9100 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9102 2013-01-23 David S. Miller <davem@davemloft.net>
9104 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9105 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9106 argument of CAS if possible.
9107 * sysdeps/sparc/sparc64/bits/atomic.h
9108 (__arch_compare_and_exchange_val_32_acq): Likewise.
9109 (__arch_compare_and_exchange_val_64_acq): Likewise.
9111 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9113 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9114 * sysdeps/posix/ulimit.c: ... this.
9116 * sysdeps/unix/bsd/ulimit.c: Remove file.
9118 2013-01-23 Adam Conrad <adconrad@0c3.net>
9120 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9121 (LDFLAGS-tst-array5): Likewise.
9123 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9126 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9127 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9128 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9129 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9131 2013-01-21 David S. Miller <davem@davemloft.net>
9133 * sysdeps/sparc/backtrace.c: New file.
9134 * sysdeps/sparc/sparc32/backtrace.h: New file.
9135 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9136 * sysdeps/sparc/sparc64/backtrace.h: New file.
9137 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9138 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9141 2013-01-21 Andreas Schwab <schwab@suse.de>
9144 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9147 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9153 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9154 Mark Mitchell <mark@codesourcery.com>
9155 Tom de Vries <tom@codesourcery.com>
9156 Paul Pluzhnikov <ppluzhnikov@google.com>
9158 * debug/tst-backtrace2.c: New file.
9159 * debug/tst-backtrace3.c: Likewise.
9160 * debug/tst-backtrace4.c: Likewise.
9161 * debug/tst-backtrace5.c: Likewise.
9162 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9163 (CFLAGS-tst-backtrace3.c): Likewise.
9164 (CFLAGS-tst-backtrace4.c): Likewise.
9165 (CFLAGS-tst-backtrace5.c): Likewise.
9166 (LDFLAGS-tst-backtrace2): Likewise.
9167 (LDFLAGS-tst-backtrace3): Likewise.
9168 (LDFLAGS-tst-backtrace4): Likewise.
9169 (LDFLAGS-tst-backtrace5): Likewise.
9170 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9171 tst-backtrace4 and tst-backtrace5.
9173 2013-01-18 Anton Blanchard <anton@samba.org>
9174 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9176 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9177 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9178 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9179 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9181 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9182 "+r" and remove output regs list as redundant. Add explicit inline
9183 asm to specify register of return val to work around compiler codegen
9184 bug. Remove (int) cast on return value. Add return type parameter to
9185 use in macro so that this macro does not truncate return value for
9187 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9188 pass to INTERNAL_VSYSCALL_NCS.
9189 (INLINE_VSYSCALL): Add 'long int' as return type to
9190 INTERNAL_VSYSCALL_NCS macro invocation.
9191 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9192 INTERNAL_VSYSCALL_NCS macro invocation.
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9195 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9198 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9199 Fix application of SIMD FP exception mask.
9201 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9202 mp_no from a power of two.
9203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9204 __mpexp_twomm1. Use __pow_mp.
9206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9209 2013-01-17 David S. Miller <davem@davemloft.net>
9211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9213 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9216 * include/complex.h: Condition contents on [!_COMPLEX_H].
9217 (__kernel_casinhf): New prototype.
9218 (__kernel_casinh): Likewise.
9219 (__kernel_casinhl): Likewise.
9220 * math/Makefile (libm_calls): Add k_casinh.
9221 * math/k_casinh.c: New file.
9222 * math/k_casinhf.c: Likewise.
9223 * math/k_casinhl.c: Likewise.
9224 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9225 finite nonzero arguments.
9226 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9227 finite nonzero arguments.
9228 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9229 finite nonzero arguments.
9230 * math/s_casinh.c: Do not include <float.h>.
9231 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9232 * math/s_casinhf.c: Do not include <float.h>.
9233 (__casinhf): Move code for finite nonzero arguments to
9235 * math/s_casinhl.c: Do not include <float.h>.
9236 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9238 (__casinhl): Move code for finite nonzero arguments to
9240 * math/libm-test.inc (cacos_test): Add more tests.
9241 * sysdeps/i386/fpu/libm-test-ulps: Update.
9242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9244 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9246 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9247 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9248 [!HAVE_MREMAP]: Remove [defined linux] case.
9249 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9251 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9253 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9255 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9257 * elf/elf.h (R_386_SIZE32): New relocation.
9258 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9260 (elf_machine_rela): Likewise.
9261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9262 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9264 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9266 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9267 (FP_FAST_FMA): Do not define.
9268 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9269 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9270 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9271 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9272 !_SOFT_FLOAT]: Likewise.
9273 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9274 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9276 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9277 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9278 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9279 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9280 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9281 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9284 2013-01-16 Andreas Schwab <schwab@suse.de>
9287 * include/stdlib.h (__mktemp): Add declaration.
9288 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9289 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9291 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9293 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9295 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9296 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9297 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9299 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9300 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9302 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9304 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9305 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9306 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9308 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9309 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9311 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9313 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9315 2013-01-15 David S. Miller <davem@davemloft.net>
9317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9318 trunc{,f} to libm-sysdep_routes.
9319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9329 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9330 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9331 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9332 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9333 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9334 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9337 nearbyint{,f} to libm-sysdep_routes.
9338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9352 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9354 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9355 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9356 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9358 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9359 libc_feholdexcept and libc_fesetenv.
9361 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9363 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9365 2013-01-14 David S. Miller <davem@davemloft.net>
9367 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9368 (SPARC_ASM_VIS2_IFUNC): Likewise.
9369 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9371 use of 'siam' instruction.
9372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9405 routines to libm-sysdep_routines.
9406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9409 fdim/fdimf to libm-sysdep_routines.
9410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9418 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9419 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9420 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9423 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9428 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9433 local variable MPTWO.
9434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9437 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9439 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9442 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9444 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9446 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9448 * manual/pattern.texi (glob_t): Document gl_flags.
9449 (glob64_t): Likewise.
9451 2013-01-11 David S. Miller <davem@davemloft.net>
9453 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9454 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9455 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9456 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9457 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9458 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9459 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9460 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9461 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9462 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9463 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9464 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9465 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9467 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9468 sparc V9 rather than using V8 code.
9469 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9470 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9472 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9474 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9477 2013-01-11 Roland McGrath <roland@hack.frob.com>
9479 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9480 not in the main loop.
9481 * configure: Regenerated.
9483 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9485 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9486 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9488 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9489 [!__GLIBC_HAVE_LONG_LONG] case.
9490 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9491 condition to just #else.
9492 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9493 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9494 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9495 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9497 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9498 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9499 #elif condition to just #else.
9500 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9501 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9502 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9503 #elif condition to just #else.
9505 2013-01-11 Steve Ellcey <sellcey@mips.com>
9507 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9508 (EF_MIPS_ARCH_64): Fix value.
9509 (EF_MIPS_ARCH_32R2): New.
9510 (EF_MIPS_ARCH_64R2): New.
9512 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9514 * Makeconfig (+link-pie-before-libc): New.
9515 (+link-pie-after-libc): Likewise.
9516 (+link-pie-tests): Likewise.
9517 (+link-pie): Rewritten.
9518 (link-before-libc): Remove $(config-LDFLAGS).
9519 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9520 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9521 (config-LDFLAGS): Renamed to ...
9522 (rtld-LDFLAGS): This.
9523 (rtld-tests-LDFLAGS): New macro.
9524 (link-libc-rpath-link): Likewise.
9525 (link-libc-tests-rpath-link): Likewise.
9526 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9527 (link-libc): Prepand $(link-libc-rpath-link).
9528 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9529 (test-program-prefix): New macro.
9530 (test-via-rtld-prefix): Likewise.
9531 (test-program-cmd): Likewise.
9532 (host-test-program-cmd): Likewise.
9533 * Makefile ($(common-objpfx)testrun.sh): Replace
9534 $(run-program-prefix) with $(test-program-prefix).
9535 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9537 ($(common-objpfx)shlib.lds): Likewise.
9538 (build-module-helper): Likewise.
9539 ($(common-objpfx)format.lds): Likewise.
9540 * Rules (binaries-pie-tests): New.
9541 (binaries-pie-notests): Likewise.
9542 (binaries-pie): Rewritten.
9543 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9544 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9545 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9546 (make-test-out): Replace $(host-built-program-cmd) with
9547 $(host-test-program-cmd).
9548 * config.make.in (build-hardcoded-path-in-tests): New variable.
9549 * configure.in (--enable-hardcoded-path-in-tests): New configure
9551 (hardcoded_path_in_tests): New AC_SUBST.
9552 * configure: Regenerated.
9553 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9554 $(built-program-cmd) with $(test-program-cmd).
9555 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9556 (test_program_cmd): This.
9557 * elf/Makefile ($(objpfx)order.out): Run test with
9558 $(test-program-prefix).
9559 ($(objpfx)order2.out): Likewise.
9560 ($(objpfx)tst-initorder.out): Likewise.
9561 ($(objpfx)tst-initorder2.out): Likewise.
9562 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9563 $(test-program-cmd).
9564 ($(objpfx)tst-array1-static.out): Likewise.
9565 ($(objpfx)tst-array2.out): Likewise.
9566 ($(objpfx)tst-array3.out): Likewise.
9567 ($(objpfx)tst-array4.out): Likewise.
9568 ($(objpfx)tst-array5.out): Likewise.
9569 ($(objpfx)tst-array5-static.out): Likewise.
9570 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9571 $(test-program-cmd).
9572 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9573 $(run-program-prefix) with $(test-program-prefix).
9574 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9575 (test_program_prefix): This.
9576 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9577 $(run-program-prefix) with $(test-program-prefix).
9578 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9579 (test_program_prefix): This.
9580 * iconvdata/tst-tables.sh: Likewise.
9581 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9582 $(run-program-prefix) with $(test-program-prefix).
9583 ($(objpfx)tst-translit.out): Likewise.
9584 ($(objpfx)tst-gettext2.out): Likewise.
9585 ($(objpfx)tst-gettext4.out): Likewise.
9586 ($(objpfx)tst-gettext6.out): Likewise.
9587 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9588 (test_program_prefix): This.
9589 * intl/tst-gettext2.sh: Likewise.
9590 * intl/tst-gettext4.sh Likewise.
9591 * intl/tst-gettext6.sh: Likewise.
9592 * intl/tst-translit.sh: Likewise.
9593 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9594 with $(test-program-cmd).
9595 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9596 $(run-program-prefix) with $(test-program-prefix).
9597 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9598 (test_program_prefix): This.
9599 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9600 $(run-program-prefix) with $(test-program-prefix).
9601 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9602 (test_program_prefix): This.
9603 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9604 * posix/Makefile ($(objpfx)globtest.out): Replace
9605 $(run-via-rtld-prefix) and $(test-wrapper) with
9606 $(test-program-prefix) and $(test-via-rtld-prefix).
9607 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9608 $(test-program-prefix).
9609 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9610 $(host-test-program-cmd).
9611 (tst-spawn-ARGS): Likewise.
9612 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9613 $(test-program-prefix).
9614 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9615 (test_via_rtld_prefix): This.
9616 (test_wrapper): Renamed to ...
9617 (test_program_prefix): This.
9618 (run_program_prefix): Replaced by test_program_prefix.
9619 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9620 (test_program_prefix): This.
9621 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9622 with $(host-test-program-cmd).
9623 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9624 $(run-program-prefix) with $(test-program-prefix).
9625 ($(objpfx)tst-printf.out): Likewise.
9626 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9627 $(test-program-cmd).
9628 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9629 (test_program_prefix): This.
9630 * stdio-common/tst-unbputc.sh: Likewise.
9631 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9632 $(run-program-prefix) with $(test-program-prefix).
9633 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9634 (test_program_prefix): This.
9635 * string/Makefile ($(objpfx)tst-svc.out): Replace
9636 $(built-program-cmd) with $(test-program-cmd).
9638 2013-01-11 Andreas Jaeger <aj@suse.de>
9641 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9642 value. Sync with Linux 3.7.
9644 2013-01-10 David S. Miller <davem@davemloft.net>
9646 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9650 2013-01-10 Roland McGrath <roland@hack.frob.com>
9652 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9654 * configure: Regenerated.
9656 2013-01-10 David S. Miller <davem@davemloft.net>
9658 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9659 sparc V9 rather than using V8 code.
9660 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9661 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9663 2013-01-10 Roland McGrath <roland@hack.frob.com>
9665 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9666 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9667 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9668 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9669 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9670 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9671 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9672 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9673 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9674 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9675 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9676 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9677 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9678 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9679 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9680 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9681 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9682 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9683 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9684 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9685 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9686 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9687 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9688 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9689 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9690 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9691 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9693 2013-01-10 David S. Miller <davem@davemloft.net>
9695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9697 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9699 * posix/Makefile (tests-static): New variable.
9700 (tests): Add $(tests-static).
9701 (tst-exec-static-ARGS): New variable.
9702 (tst-spawn-static-ARGS): Likewise.
9703 * posix/tst-exec-static.c: New file.
9704 * posix/tst-spawn-static.c: Likewise.
9705 * posix/tst-exec.c: Support run directly.
9706 * posix/tst-spawn.c: Likewise.
9708 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9710 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9712 * math/bits/mathcalls.h (llrint): Likewise.
9713 (llround): Likewise.
9714 * stdlib/stdlib.h (struct drand48_data): Likewise.
9715 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9716 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9719 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9721 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9722 (elf_greg_t): Likewise.
9723 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9724 (__jmp_buf): Likewise.
9725 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9727 (llrint): Likewise, for all definitions.
9728 (llrintl): Likewise.
9730 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9731 Remove [__GNUC__] condition.
9732 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9733 condition to just [__USE_ISOC99].
9734 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9736 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9739 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9740 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9742 (_POSIX_V6_ILP32_OFF32): Likewise.
9743 (_XBS5_ILP32_OFF32): Likewise.
9744 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9745 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9747 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9749 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9752 doubles __mpexp_twomm1. Adjust usage.
9753 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9756 2013-01-10 Andreas Schwab <schwab@suse.de>
9759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9760 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9762 2013-01-09 David S. Miller <davem@davemloft.net>
9765 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9766 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9767 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9768 TCP_FASTOPEN): Define.
9769 (tcp_repair_opt): New structure.
9770 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9772 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9773 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9774 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9775 (tcp_cookie_transactions): New structure.
9777 2013-01-09 Anton Blanchard <anton@samba.org>
9779 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9780 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9784 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9786 * include/features.h (__USE_ANSI): Remove.
9788 2013-01-09 Roland McGrath <roland@hack.frob.com>
9790 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9792 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9794 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9796 * sysdeps/s390/fpu/libm-test-ulps: Update.
9798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9800 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9805 (__mp_dbl): Likewise.
9806 (__dbl_mp): Likewise.
9807 (add_magnitudes): Likewise.
9808 (sub_magnitudes): Likewise.
9814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9819 (__mp_dbl): Likewise.
9820 (__dbl_mp): Likewise.
9821 (add_magnitudes): Likewise.
9822 (sub_magnitudes): Likewise.
9828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9833 (__mp_dbl): Likewise.
9834 (__dbl_mp): Likewise.
9835 (add_magnitudes): Likewise.
9836 (sub_magnitudes): Likewise.
9843 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9845 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9846 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9847 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9848 2 && __USE_EXTERN_INLINES]: Likewise.
9850 2013-01-08 Andreas Jaeger <aj@suse.de>
9853 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9855 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9856 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9858 2013-01-07 Anton Blanchard <anton@samba.org>
9860 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9861 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9862 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9863 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9864 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9865 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9866 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9867 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9869 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9870 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9871 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9872 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9874 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9875 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9877 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9878 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9879 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9882 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9883 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9884 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9885 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9887 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9889 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9890 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9892 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9893 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9894 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9898 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9899 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9900 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9902 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9904 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9906 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9907 (__MALLOC_PMT): Likewise.
9908 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9909 [__GNUC__], only on [_LIBC].
9910 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9911 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9912 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9913 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9914 forward declaration.
9915 (realloc_hook_ini): Likewise.
9916 (memalign_hook_ini): Likewise.
9917 (__libc_memalign): Do not use __MALLOC_PMT in variable
9919 (__libc_valloc): Likewise.
9920 (__libc_pvalloc): Likewise.
9921 (__libc_calloc): Likewise.
9922 (__posix_memalign): Likewise.
9925 * math/s_casinh.c: Include <float.h>.
9926 (__casinh): Do not do computation with squaring and square root
9927 for large arguments.
9928 * math/s_casinhf.c: Include <float.h>.
9929 (__casinhf): Do not do computation with squaring and square root
9930 for large arguments.
9931 * math/s_casinhl.c: Include <float.h>.
9932 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9933 (__casinhl): Do not do computation with squaring and square root
9934 for large arguments.
9935 * math/libm-test.inc (casin_test): Add more tests.
9936 (casinh_test): Likewise.
9937 * sysdeps/i386/fpu/libm-test-ulps: Update.
9938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9940 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9942 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9943 (__x86_64_raw_data_cache_size): Likewise.
9944 (__x86_64_data_cache_size_half): Likewise.
9945 (__x86_64_raw_data_cache_size_half): Likewise.
9946 (__x86_64_shared_cache_size): Likewise.
9947 (__x86_64_raw_shared_cache_size): Likewise.
9948 (__x86_64_shared_cache_size_half): Likewise.
9949 (__x86_64_raw_shared_cache_size_half): Likewise.
9950 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9952 (__x86_data_cache_size): This.
9953 (__x86_64_raw_data_cache_size): Renamed to ...
9954 (__x86_raw_data_cache_size): This.
9955 (__x86_64_data_cache_size_half): Renamed to ...
9956 (__x86_data_cache_size_half): This.
9957 (__x86_64_raw_data_cache_size_half): Renamed to ...
9958 (__x86_raw_data_cache_size_half): This.
9959 (__x86_64_shared_cache_size): Renamed to ...
9960 (__x86_shared_cache_size): This.
9961 (__x86_64_raw_shared_cache_size): Renamed to ...
9962 (__x86_raw_shared_cache_size): This.
9963 (__x86_64_shared_cache_size_half): Renamed to ...
9964 (__x86_shared_cache_size_half): This.
9965 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9966 (__x86_raw_shared_cache_size_half): This.
9967 * sysdeps/x86_64/memcpy.S: Updated.
9968 * sysdeps/x86_64/memset.S: Likewise.
9969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9973 2013-01-04 David S. Miller <davem@davemloft.net>
9975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9977 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9979 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9980 1 to avoid redefinition warning.
9981 (__USE_GNU): Don't define.
9982 (init_signaling_nan): Protoize.
9984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9986 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9988 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9990 (__cpymn): Likewise.
9991 (norm): Remove commented code.
9993 (__mp_dbl): Likewise.
9995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9996 (__cpymn): Likewise.
9997 (norm): Remove commented code.
9999 (__mp_dbl): Likewise.
10002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10003 mp_no value for 1.0 and 2.0.
10004 (norm): Use RADIXI instead of radixi.d.
10005 (denorm): Likewise.
10006 (__mul): Use 0.0 instead of zero.d.
10007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10008 mp_no value for 1.0 and 2.0.
10009 (norm): Use RADIXI instead of radixi.d.
10010 (denorm): Likewise.
10011 (__mul): Use 0.0 instead of zero.d.
10013 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10016 * math/s_casinh.c (__casinh): Reduce finite argument to first
10017 quadrant then set signs of results at the end.
10018 * math/s_casinhf.c (__casinhf): Likewise.
10019 * math/s_casinhl.c (__casinhl): Likewise.
10020 * math/libm-test.inc (casin_test): Add more tests.
10021 (casinh_test): Likewise.
10022 * sysdeps/i386/fpu/libm-test-ulps: Update.
10023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10027 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10029 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10031 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10033 (denorm): Likewise.
10034 (__mp_dbl): Likewise.
10037 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10038 and adjust the header comment.
10040 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10041 variable name from declaration.
10043 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10046 Initialize COMMON_CPUID_INDEX_7 element.
10047 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10048 (CPUID_RTM): Likewise.
10049 (HAS_RTM): Likewise.
10050 (COMMON_CPUID_INDEX_7): New enum.
10052 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10055 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10056 size is zero, record memory as freed.
10058 2013-01-03 Andreas Jaeger <aj@suse.de>
10060 * po/ia.po: Add new Interlingua translation.
10062 2012-01-03 Allan McRae <allan@archlinux.org>
10064 * locale/programs/localedef.c: Fix description of '--posix' flag.
10066 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10068 * NEWS: Update dates in second copyright notice.
10069 * README: Update copyright dates in example.
10070 * manual/libc.texinfo: Update copyright dates.
10071 * scripts/test-installation.pl: Update copyright date in --version
10074 * hurd/ctty-input.c: Fix copyright notice formatting.
10075 * hurd/ctty-output.c: Likewise.
10076 * hurd/dtable.c: Likewise.
10077 * hurd/hurd-raise.c: Likewise.
10078 * hurd/hurdprio.c: Likewise.
10079 * hurd/msgportdemux.c: Likewise.
10080 * misc/sys/file.h: Likewise.
10081 * misc/sys/ioctl.h: Likewise.
10082 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10083 * sysdeps/mach/hurd/chdir.c: Likewise.
10084 * sysdeps/mach/hurd/fchdir.c: Likewise.
10085 * sysdeps/mach/hurd/rename.c: Likewise.
10086 * sysdeps/mach/hurd/rmdir.c: Likewise.
10087 * sysdeps/mach/hurd/seekdir.c: Likewise.
10088 * sysdeps/mach/hurd/setsid.c: Likewise.
10089 * sysdeps/posix/wait3.c: Likewise.
10091 * All files with FSF copyright notices: Update copyright dates
10092 using scripts/update-copyrights.
10093 * intl/plural.c: Regenerated.
10094 * locale/programs/charmap-kw.h: Likewise.
10095 * locale/programs/locfile-kw.h: Likewise.
10097 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10099 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10103 calculation loop and add branch prediction.
10105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10106 check access beyond bounds of m1np.
10108 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10110 (__inv): Remove local variable MPTWO to use the global
10112 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10113 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10116 MP3HALFS static const.
10118 2013-01-01 David S. Miller <davem@davemloft.net>
10120 * po/ca.po: Update from translation team.
10122 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10124 * scripts/update-copyrights: New file.
10125 * Makeconfig: Reformat copyright notice.
10126 * ctype/ctype.h: Likewise.
10127 * debug/swprintf_chk.c: Likewise.
10128 * elf/dl-cache.c: Likewise.
10129 * elf/dl-debug.c: Likewise.
10130 * elf/dl-object.c: Likewise.
10131 * grp/initgroups.c: Likewise.
10132 * hurd/Makefile: Likewise.
10133 * hurd/hurd/signal.h: Likewise.
10134 * hurd/hurdfault.c: Likewise.
10135 * hurd/hurdioctl.c: Likewise.
10136 * hurd/hurdlookup.c: Likewise.
10137 * hurd/intr-msg.c: Likewise.
10138 * iconv/gconv_open.c: Likewise.
10139 * libio/swprintf.c: Likewise.
10140 * locale/lc-ctype.c: Likewise.
10141 * locale/nl_langinfo.c: Likewise.
10142 * mach/Machrules: Likewise.
10143 * mach/Makefile: Likewise.
10144 * malloc/obstack.h: Likewise.
10145 * manual/Makefile: Likewise.
10146 * manual/tsort.awk: Likewise.
10147 * misc/bits/stab.def: Likewise.
10148 * nis/nis_print_group_entry.c: Likewise.
10149 * nis/nis_table.c: Likewise.
10150 * nis/nss_compat/compat-pwd.c: Likewise.
10151 * nis/nss_compat/compat-spwd.c: Likewise.
10152 * po/Makefile: Likewise.
10153 * posix/fnmatch.c: Likewise.
10154 * posix/regex.h: Likewise.
10155 * resolv/Makefile: Likewise.
10156 * resolv/nss_dns/dns-network.c: Likewise.
10157 * resolv/res_hconf.c: Likewise.
10158 * scripts/gen-sorted.awk: Likewise.
10159 * soft-fp/soft-fp.h: Likewise.
10160 * stdio-common/printf.h: Likewise.
10161 * stdlib/monetary.h: Likewise.
10162 * stdlib/random.c: Likewise.
10163 * stdlib/random_r.c: Likewise.
10164 * sysdeps/generic/Makefile: Likewise.
10165 * sysdeps/gnu/Makefile: Likewise.
10166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10194 * sysdeps/mach/hurd/errnos.awk: Likewise.
10195 * sysdeps/mach/hurd/fork.c: Likewise.
10196 * sysdeps/mach/hurd/getcwd.c: Likewise.
10197 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10198 * sysdeps/mach/hurd/mmap.c: Likewise.
10199 * sysdeps/mach/hurd/utimes.c: Likewise.
10200 * sysdeps/mach/hurd/xmknod.c: Likewise.
10201 * sysdeps/posix/profil.c: Likewise.
10202 * sysdeps/posix/readdir_r.c: Likewise.
10203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10204 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10205 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10206 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10209 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10210 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10212 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10214 * sysdeps/pthread/lio_listio.c: Likewise.
10215 * sysdeps/sparc/dl-procinfo.h: Likewise.
10216 * sysdeps/unix/i386/sysdep.S: Likewise.
10217 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10218 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10219 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10220 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10222 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10223 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10224 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10225 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10226 * sysdeps/wordsize-32/divdi3.c: Likewise.
10227 * time/sys/time.h: Likewise.
10228 * wcsmbs/Makefile: Likewise.
10230 2013-01-01 David S. Miller <davem@davemloft.net>
10232 * po/fr.po: Update from translation team.
10234 * catgets/gencat.c: Update copyright year.
10235 * csu/version.c: Likewise.
10236 * debug/catchsegv.sh: Likewise.
10237 * debug/pcprofiledump.c: Likewise.
10238 * debug/xtrace.sh: Likewise.
10239 * elf/ldconfig.c: Likewise.
10240 * elf/ldd.bash.in: Likewise.
10241 * elf/pldd.c: Likewise.
10242 * elf/sotruss.ksh: Likewise.
10243 * elf/sprof.c: Likewise.
10244 * iconv/iconv_prog.c: Likewise.
10245 * iconv/iconvconfig.c: Likewise.
10246 * locale/programs/locale.c: Likewise.
10247 * locale/programs/localedef.c: Likewise.
10248 * login/programs/pt_chown.c: Likewise.
10249 * malloc/memusage.sh: Likewise.
10250 * malloc/memusagestat.c: Likewise.
10251 * malloc/mtrace.pl: Likewise.
10252 * nscd/nscd.c: Likewise.
10253 * nss/getent.c: Likewise.
10254 * nss/makedb.c: Likewise.
10255 * posix/getconf.c: Likewise.
10257 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10259 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10262 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10264 * math/bits/mathcalls.h (modf): Use __nonnull.
10266 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10268 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10269 (split): Use macro CN instead of the bare value.
10270 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10272 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10273 instead of the bare value.
10274 (power1): Likewise.
10276 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10280 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10282 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10284 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10286 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10287 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10289 2012-12-28 Andreas Jaeger <aj@suse.de>
10291 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10292 values are from Linux 3.7.
10294 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10295 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10297 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10302 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10304 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10305 variables with preprocessor constants.
10306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10307 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10308 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10310 2012-12-27 Bruno Haible <bruno@clisp.org>
10313 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10316 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10319 and use variable directly.
10320 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10322 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10324 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10327 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10329 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10330 include directive. Remove local variable MPONE.
10331 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10332 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10333 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10335 2012-12-25 David S. Miller <davem@davemloft.net>
10337 * version.h (RELEASE): Set to "development".
10338 (VERSION): Set to "2.17.90".
10339 * NEWS: Add 2.18 section.
10341 2012-12-21 David S. Miller <davem@davemloft.net>
10343 * po/hr.po: Update from translation team.
10345 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10347 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10349 2012-12-19 Steve Ellcey <sellcey@mips.com>
10351 * NEWS: Mention new memcpy for MIPS.
10353 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10355 * manual/contrib.texi (Contributors): Spelling correction.
10357 2012-12-15 David S. Miller <davem@davemloft.net>
10359 * po/ru.po: Update from translation team.
10361 2012-12-13 David S. Miller <davem@davemloft.net>
10363 * NEWS: Mention IFUNC testsuite enhancements.
10365 * po/pl.po: Update from translation team.
10366 * po/bg.po: Likewise.
10368 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10369 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10371 2012-12-11 David S. Miller <davem@davemloft.net>
10373 * po/sv.po: Update from translation team.
10375 * po/vi.po: Update from translation team.
10377 * po/cs.po: Update from translation team.
10379 * po/de.po: Update from translation team.
10380 * po/eo.po: Likewise.
10381 * po/nl.po: Likewise.
10383 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * manual/argp.texi (Argp Helper Functions): Move node to follow
10387 Argp Parsing State.
10390 * manual/conf.texi (Limits on File System Capacity): Mention if
10391 terminating null is included in the max size.
10393 2012-12-10 Andreas Jaeger <aj@suse.de>
10395 * po/cs.po: Update from translation team.
10397 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10399 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10400 void pointer and cast to uintptr_t.
10401 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10403 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10404 * sysdeps/s390/s390-64/memset.S: Likewise.
10406 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10409 * menual/message.texi (Message Translation): Fix typos.
10410 (Helper programs for gettext): Likewise.
10412 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10415 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10418 2012-12-07 David S. Miller <davem@davemloft.net>
10420 * po/libc.pot: Update.
10422 2012-12-07 Richard Henderson <rth@redhat.com>
10425 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10426 normal/normal case to before the switch.
10427 (_FP_DIV): Likewise.
10429 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10430 Mike Frysinger <vapier@gentoo.org>
10432 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10433 check for __NR_fadvise64_64.
10435 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10437 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10438 0, not just to plain "0" as a statement.
10439 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10442 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10444 * NEWS: Use sourceware.org in Bugzilla URL.
10446 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10449 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10451 * stdio-common/tst-put-error.c (do_test): Add newline to the
10452 padded test to ensure flush.
10454 2012-12-05 Jeff Law <law@redhat.com>
10456 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10458 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10460 * README: Don't refer to ports add-on as distributed separately.
10461 Mention AArch64 in list of systems supported in the ports add-on.
10463 * LICENSES: Add more non-FSF copyright and license notices.
10465 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10468 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10470 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10471 10000 as width of padded output.
10473 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10477 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10478 variable LX with __attribute__ ((unused)).
10479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10481 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10484 with __attribute__ ((unused)).
10486 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10488 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10490 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10492 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10493 (CFLAGS-nldbl-acos.c): New variable.
10494 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10495 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10496 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10497 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10498 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10499 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10500 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10501 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10502 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10503 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10504 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10505 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10506 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10507 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10508 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10509 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10510 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10511 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10512 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10513 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10514 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10515 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10516 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10517 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10518 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10519 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10520 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10521 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10522 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10523 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10524 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10525 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10526 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10527 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10528 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10529 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10530 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10531 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10532 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10533 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10534 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10536 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10537 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10538 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10539 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10540 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10541 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10542 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10543 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10544 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10545 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10546 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10547 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10548 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10549 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10550 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10551 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10552 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10553 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10554 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10555 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10556 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10557 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10558 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10559 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10560 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10561 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10562 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10563 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10564 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10565 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10566 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10567 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10568 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10569 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10570 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10571 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10572 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10573 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10574 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10575 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10576 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10577 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10578 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10579 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10580 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10581 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10582 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10583 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10584 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10585 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10586 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10587 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10588 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10589 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10590 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10593 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10597 whole low double instead of just low 47 bits when splitting values
10600 2012-12-03 Allan McRae <allan@archlinux.org>
10602 * manual/stdio.texi (Predefined Printf Handlers): Remove
10603 @hsep and @vsep usage.
10605 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10607 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10608 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10610 2012-12-03 Jeff Law <law@redhat.com>
10612 * time/sys/time.h (settimeofday): Do not mark TV argument
10615 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10617 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10618 when currently writing and seek to current position when not.
10619 * libio/Makefile (tests): Remove bug-fclose1.
10620 * libio/bug-fclose1.c: Delete.
10622 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10624 * manual/arith.texi (feenableexcept): Fix typo.
10625 (fedisableexcept): Likewise.
10627 2012-11-30 Roland McGrath <roland@hack.frob.com>
10629 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10630 second, differently-typed declaration, rather than a cast.
10632 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10634 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10635 * include/rpc/svc.h: ... here.
10637 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10640 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10641 depending n and resplen2 to catch cases where answer
10644 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10646 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10647 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10649 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10651 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10653 2012-11-29 Roland McGrath <roland@hack.frob.com>
10655 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10657 2012-11-28 Jeff Law <law@redhat.com>
10660 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10661 dataset_temporary. Track alloca usage into alloca_used.
10662 If dataset is large allocate and release it via malloc/free.
10664 2012-06-04 Florian Weimer <fweimer@redhat.com>
10667 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10669 2012-11-28 David S. Miller <davem@davemloft.net>
10671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10673 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10676 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10677 of pi/2 rounded to nearest to 64 bits.
10678 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10679 nearest to 64 bits.
10680 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10683 2012-11-28 Jeff Law <law@redhat.com>
10684 Martin Osvald <mosvald@redhat.com>
10687 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10688 * sunrpc/svc.c: Include time.h.
10689 (__svc_accept_failed): New function.
10690 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10691 any reason other than EINTR, call __svc_accept_failed.
10692 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10693 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10695 2012-11-28 Andreas Schwab <schwab@suse.de>
10697 * scripts/abilist.awk: Also handle indirect functions in .opd
10700 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10703 * sysdeps/x86/fpu/powl_helper.c: New file.
10704 * sysdeps/x86/fpu/Makefile: Likewise.
10705 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10707 (__ieee754_powl): Use __powl_helper for finite arguments except
10708 integer exponents below 8.
10709 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10711 (__ieee754_powl): Use __powl_helper for finite arguments except
10712 integer exponents below 8.
10713 * math/libm-test.inc (pow_test): Add more tests and enable some
10714 previously disabled tests.
10715 * sysdeps/i386/fpu/libm-test-ulps: Update.
10716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10718 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10719 Carlos O'Donell <carlos_odonell@mentor.com>
10721 * nss/makedb.c (is_prime): Assert that input is odd and greater
10722 than 4. Note that fact in a comment too.
10723 (next_prime): Add 4 to input.
10725 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10728 * libio/Makefile (tests): Add test case tst-fwrite-error.
10729 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10730 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10731 * libio/tst-fwrite-error.c: New test case.
10733 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10735 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10736 before casting to void *.
10737 * include/libc-internal.h (__pointer_type): New macro.
10738 (__integer_if_pointer_type_sub): Likewise.
10739 (__integer_if_pointer_type): Likewise.
10740 (cast_to_integer): Likewise.
10741 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10742 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10743 before casting to atomic64_t.
10744 (atomic_exchange_acq): Likewise.
10745 (__arch_exchange_and_add_body): Likewise.
10746 (__arch_add_body): Likewise.
10747 (atomic_add_negative): Likewise.
10748 (atomic_add_zero): Likewise.
10750 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10752 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10753 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10754 (add_fdes): Likewise.
10755 (linear_search_fdes): Likewise.
10756 (binary_search_unencoded_fdes): Likewise.
10758 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10760 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10762 2012-11-24 Adam Conrad <adconrad@0c3.net>
10764 * configure.in: Autodetect C++ header directories.
10765 * configure: Regenerated.
10767 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10769 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10771 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10775 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10777 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10778 LDBL_MANT_DIG == 106]: Disable some tests.
10779 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10781 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10785 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10786 input for small inputs. Return +/- pi/2 for large inputs.
10787 * math/libm-test.inc (atan_test): Add more tests.
10789 * sysdeps/generic/unwind-dw2-fde-glibc.c
10790 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10791 __attribute__ ((unused)).
10794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10795 x * y if x and y are nonzero and z is zero.
10798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10799 nonzero exponents with absolute value below 0x1p-117 to +/-
10803 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10804 up arguments below 2**-450, not just those below 2**-500.
10805 * math/libm-test.inc (hypot_test): Add another test.
10808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10809 Return a+b for ratio over 2**120, not 2**60.
10810 * math/libm-test.inc (hypot_test): Add another test.
10812 * math/libm-test.inc (clog_test): Use
10813 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10814 (clog10_test): Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10819 2012-11-22 Andreas Schwab <schwab@suse.de>
10821 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10825 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10826 printf output with newline.
10828 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10831 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10832 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10833 -z nodlopen, -z initfirst and -z execstack support.
10834 * configure: Regenerated.
10836 * elf/elf.h (DF_1_NODIRECT): New macro.
10837 (DF_1_IGNMULDEF): Likewise.
10838 (DF_1_NOKSYMS): Likewise.
10839 (DF_1_NOHDR): Likewise.
10840 (DF_1_EDITED): Likewise.
10841 (DF_1_NORELOC): Likewise.
10842 (DF_1_SYMINTPOSE): Likewise.
10843 (DF_1_GLOBAUDIT): Likewise.
10844 (DF_1_SINGLETON): Likewise.
10845 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10846 DT_1_SUPPORTED_MASK bits.
10847 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10849 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10851 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10853 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10855 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10858 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10859 (sendmmsg): Move declarations...
10860 * socket/sys/socket.h: ... here.
10861 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10862 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10864 * socket/recvmmsg.c: ... this new file.
10865 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10866 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10867 definition of __sendmmsg hidden.
10868 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10869 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10870 Move ENOSYS stub into and include it from...
10871 * socket/sendmmsg.c: ... this new file.
10872 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10873 (sysdep_routines): Move recvmmsg and sendmmsg...
10874 * socket/Makefile (routines): ... here.
10875 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10876 (GLIBC_PRIVATE): Add __sendmmsg.
10877 * include/sys/socket.h (__sendmmsg): Add declarations.
10878 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10881 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10884 variable I1 with __attribute__ ((unused)).
10885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10887 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10889 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10890 DUMMY variables with __attribute__ ((unused)).
10892 * bits/byteswap.h: Include <bits/types.h>.
10893 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10895 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10897 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10898 string_t. Do not manually set errno.
10899 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10900 length with __strnlen. Make sure to both set errno and return it on
10903 2012-11-19 David S. Miller <davem@davemloft.net>
10905 With help from Joseph Myers.
10906 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10907 very large arguments properly.
10908 * math/libm-test.inc (atan_test): New tests.
10909 (atan2_test): New tests.
10910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10913 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10916 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10919 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10920 [POSIX] (EADDRNOTAVAIL): Likewise.
10921 [POSIX] (EAFNOSUPPORT): Likewise.
10922 [POSIX] (EALREADY): Likewise.
10923 [POSIX] (ECONNABORTED): Likewise.
10924 [POSIX] (ECONNREFUSED): Likewise.
10925 [POSIX] (ECONNRESET): Likewise.
10926 [POSIX] (EDESTADDRREQ): Likewise.
10927 [POSIX] (EDQUOT): Likewise.
10928 [POSIX] (EHOSTUNREACH): Likewise.
10929 [POSIX] (EIDRM): Likewise.
10930 [POSIX] (EISCONN): Likewise.
10931 [POSIX] (ELOOP): Likewise.
10932 [POSIX] (EMULTIHOP): Likewise.
10933 [POSIX] (ENETDOWN): Likewise.
10934 [POSIX] (ENETUNREACH): Likewise.
10935 [POSIX] (ENOBUFS): Likewise.
10936 [POSIX] (ENODATA): Likewise.
10937 [POSIX] (ENOLINK): Likewise.
10938 [POSIX] (ENOMSG): Likewise.
10939 [POSIX] (ENOPROTOOPT): Likewise.
10940 [POSIX] (ENOSR): Likewise.
10941 [POSIX] (ENOSTR): Likewise.
10942 [POSIX] (ENOTCONN): Likewise.
10943 [POSIX] (ENOTSOCK): Likewise.
10944 [POSIX] (EOPNOTSUPP): Likewise.
10945 [POSIX] (EOVERFLOW): Likewise.
10946 [POSIX] (EPROTO): Likewise.
10947 [POSIX] (EPROTONOSUPPORT): Likewise.
10948 [POSIX] (EPROTOTYPE): Likewise.
10949 [POSIX] (ESTALE): Likewise.
10950 [POSIX] (ETIME): Likewise.
10951 [POSIX] (ETXTBSY): Likewise.
10952 [POSIX] (EWOULDBLOCK): Likewise.
10953 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10954 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10955 [POSIX] (SEEK_CUR): Likewise.
10956 [POSIX] (SEEK_END): Likewise.
10957 [POSIX || UNIX98] (mode_t): Do not require.
10958 [POSIX] (off_t): Likewise.
10959 [POSIX] (pid_t): Likewise.
10960 [POSIX] (sys/stat.h): Do not allow header.
10961 [POSIX] (unistd.h): Likewise.
10962 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10963 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10964 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10965 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10967 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10968 sigevent): Specify elements.
10969 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10971 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10972 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10974 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10975 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10976 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10977 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10978 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10979 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10980 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10981 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10983 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10984 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10985 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10986 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10987 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10989 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10991 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10993 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10995 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10996 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10997 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10998 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11000 Specify lower bound on value.
11001 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11004 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11005 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11006 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11007 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11008 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11010 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11012 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11013 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11014 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11015 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11016 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11019 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11020 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11021 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11022 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11023 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11027 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11029 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11031 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11035 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11036 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11038 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11039 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11040 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11041 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11042 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11043 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11044 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11046 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11047 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11048 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11049 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11050 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11051 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11052 specify as optional.
11053 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11054 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11055 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11056 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11057 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11058 [XPG3] (NL_LANGMAX): Likewise.
11059 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11060 [POSIX || XPG3] (NL_NMAX): Likewise.
11061 [POSIX || XPG3] (NL_SETMAX): Likewise.
11062 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11063 [XPG3] (NZERO): Likewise.
11064 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11065 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11066 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11067 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11068 (REG_ERANGE): Expect.
11069 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11071 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11072 Use (void) in prototype.
11073 [POSIX] (*_t): Allow.
11074 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11075 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11076 (WRDE_BADVAL): Expect.
11078 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11080 [XPG3 || XPG4] (O_RSYNC): Likewise.
11081 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11083 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11084 [XPG3 || XPG4] (sigqueue): Likewise.
11085 [XPG3 || XPG4] (sigtimedwait): Likewise.
11086 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11087 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11088 [XPG3 || XPG4] (vsnprintf): Likewise.
11089 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11091 [XPG3 || XPG4] (blksize_t): Likewise.
11092 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11094 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11095 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11096 [XPG3 || XPG4] (struct itimerspec): Likewise.
11097 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11098 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11099 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11100 [XPG3 || XPG4] (clockid_t): Likewise.
11101 [XPG3 || XPG4] (timer_t): Likewise.
11102 [XPG3 || XPG4] (clock_getres): Likewise.
11103 [XPG3 || XPG4] (clock_gettime): Likewise.
11104 [XPG3 || XPG4] (clock_settime): Likewise.
11105 [XPG3 || XPG4] (nanosleep): Likewise.
11106 [XPG3 || XPG4] (timer_create): Likewise.
11107 [XPG3 || XPG4] (timer_delete): Likewise.
11108 [XPG3 || XPG4] (timer_gettime): Likewise.
11109 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11110 [XPG3 || XPG4] (timer_settime): Likewise.
11111 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11112 [XPG3 || XPG4] (getlogin_r): Likewise.
11113 [XPG3 || XPG4] (pread): Likewise.
11114 [XPG3 || XPG4] (pthread_atfork): Likewise.
11115 [XPG3 || XPG4] (pwrite): Likewise.
11118 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11121 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11123 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11124 finalizing MALLSTREAM.
11126 * sysdeps/mach/hurd/syncfs.c: New file.
11128 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11131 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11132 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11133 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11134 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11135 (_nss_dns_gethostbyname4_r): Likewise.
11136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11137 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11139 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11142 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11144 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11146 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11147 * elf/cache.c (print_entry): Print ",AArch64" for
11150 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11151 * elf/cache.c (print_entry): Print ",hard-float" for
11154 2012-11-18 David S. Miller <davem@davemloft.net>
11156 With help from Joseph Myers.
11157 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11159 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11161 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11162 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11164 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11165 * math/libm-test.inc (y0_test): New tests.
11166 (y1_test): New tests.
11167 * sysdeps/i386/fpu/libm-test-ulps: Update.
11168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11171 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11173 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11175 * configure: Regenerated.
11177 2012-11-17 David S. Miller <davem@davemloft.net>
11180 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11181 nonzero exponents with absolute value below 0x1p-128 to +/-
11184 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11186 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11188 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11190 * posix/getconf-speclist.c: New file.
11191 * posix/posix-envs.def: Likewise.
11192 * posix/confstr.c (START_ENV_GROUP): New macro.
11193 (END_ENV_GROUP): Likewise.
11194 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11195 (KNOWN_PRESENT_ENV_STRING): Likewise.
11196 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11197 (UNKNOWN_ENVIRONMENT): Likewise.
11198 (confstr): Include posix-envs.def instead of handling
11199 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11200 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11201 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11202 (END_ENV_GROUP): Likewise.
11203 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11204 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11205 (UNKNOWN_ENVIRONMENT): Likewise.
11206 (__sysconf): Include posix-envs.def instead of handling associated
11207 cases directly here.
11208 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11209 preprocessing getconf-speclist.c rather than running getconf or
11210 generating empty file.
11212 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11214 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11216 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11219 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11221 2012-11-16 David S. Miller <davem@davemloft.net>
11223 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11224 smaller than LDBL_EPSILON/2.0L, just return xm1.
11226 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11228 * elf/tst-array1.c (init): Set constructor priority to 1000.
11229 (fini): Set destructor priority to 1000.
11230 * elf/tst-array2dep.c: Likewise.
11232 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11235 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11236 (_IO_new_file_xsputn): Also return EOF if none of the input
11237 data was written when overflow failed.
11238 * libio/iopadn.c (_IO_padn): Likewise.
11239 * libio/iowpadn.c (_IO_wpadn): Likewise.
11240 * stdio-common/tst-put-error.c: Add copyright notice.
11241 (do_test): Add case for printing padded string.
11242 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11243 _IO_padn returned error.
11244 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11245 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11248 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11250 * libio/libioP.h: Add comment note that the references to C++
11251 bits are now obsolete.
11253 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11255 * math/libm-test.inc (check_complex): Use asprintf.
11257 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11259 * debug/pcprofiledump.c (print_version): Update copyright year.
11260 * malloc/memusagestat.c (print_version): Likewise.
11262 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11265 * elf/Makefile (tests): Add tst-audit8.
11266 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11267 ($(objpfx)tst-audit8.out): New target.
11268 (tst-audit8-ENV): New variable.
11269 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11270 audit if l_reloc_result is NULL.
11271 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11272 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11273 * elf/tst-audit8.c: New file.
11275 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11277 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11278 * misc/Makefile (CFLAGS-select.c): Define.
11279 * posix/Makefile (CFLAGS-pause.c): Define.
11281 2012-11-13 David S. Miller <davem@davemloft.net>
11283 * crypt/Makefile: Move test targets after toplevel Rules
11284 inclusion. Grab any necessary sysdep routines when linking.
11285 * crypt/md5.c (md5_process_block): Remove define, we will always
11286 name it __md5_process_block.
11287 (md5_finish_ctx): Update md5_process_block call.
11288 (md5_stream): Likewise.
11289 (md5_process_bytes): Likewise.
11290 (md5_process_block): Rename to __md5_process_block and move to ...
11291 * crypt/md5-block.c: ... here.
11292 * crypt/sha256.c (sha256_process_block): Move to ...
11293 * crypt/sha256-block.c: ... here.
11294 * crypt/sha512.c (sha512_process_block): Move to ...
11295 * crypt/sha512-block.c: ... here.
11296 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11298 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11299 * sysdeps/sparc/sparc64/multiarch/Makefile
11300 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11302 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11303 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11305 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11306 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11307 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11308 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11309 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11310 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11311 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11312 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11313 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11315 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11316 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11318 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11320 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11322 * timezone/tzselect.ksh: Update from tzcode git revision
11323 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11324 * timezone/zdump.c: Likewise.
11325 * timezone/zic.c: Likewise.
11326 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11327 in TZVERSION setting, not $(PKGVERSION).
11328 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11329 REPORT_BUGS_TO settings.
11332 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11335 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11337 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11338 detection to immediately after _FP_ROUND().
11339 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11342 2012-11-11 David S. Miller <davem@davemloft.net>
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11346 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11347 __close rather than their public counterparts.
11349 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11351 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11353 [UNIX98] (sem_timedwait): Do not expect.
11354 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11355 [XPG4 || UNIX98] (sockatmark): Do not expect.
11356 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11357 (clock_getcpuclockid): Do not expect.
11358 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11359 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11361 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11362 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11363 [UNIX98] (vwscanf): Likewise.
11364 [UNIX98] (vswscanf): Likewise.
11366 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11368 * timezone/version.h: Remove file.
11369 * timezone/README: Do not refer to version.h.
11370 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11371 $(objpfx)version.h.
11372 ($(objpfx)zdump.o): Likewise.
11373 ($(objpfx)version.h): New target.
11375 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11377 * timezone/README: Don't mention modification to tzselect.ksh.
11378 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11379 work on unmodified tzselect.ksh. Substitute version numbers in
11382 * Makefile (format-me): Remove.
11383 (INSTALL): Adjust indentation. Use commands directly instead of
11384 using $(format-me).
11386 * aclocal.m4 (ACX_PKGVERSION): New macro.
11387 (ACX_BUGURL): Likewise.
11388 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11389 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11390 (REPORT_BUGS_TO): Likewise.
11391 * configure: Regenerated.
11392 * config.h.in (PKGVERSION): New macro.
11393 (REPORT_BUGS_TO): Likewise.
11394 * config.make.in (PKGVERSION): New variable.
11395 (PKGVERSION_TEXI): Likewise.
11396 (REPORT_BUGS_TO): Likewise.
11397 (REPORT_BUGS_TEXI): Likewise.
11398 * Makefile (format-me): Use -I$(common-objpfx)manual.
11399 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11400 ($(common-objpfx)manual/%): New target.
11401 (manual/%): Remove target.
11402 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11403 (print_version): Use PKGVERSION.
11404 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11405 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11406 and REPORT_BUGS_TO.
11407 ($(objpfx)xtrace): Likewise.
11408 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11409 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11410 (print_version): Use PKGVERSION.
11411 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11412 (do_version): Use PKGVERSION.
11413 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11415 (common-ldd-rewrite): Likewise.
11416 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11417 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11418 (print_version): Use PKGVERSION.
11419 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11420 * elf/pldd.c (argp_program_bug_address): Remove variable.
11421 (more_help): New function.
11422 (argp): Use more_help.
11423 (print_version): Use PKGVERSION.
11424 * elf/sln.c (main): Use PKGVERSION.
11425 (usage): Use REPORT_BUGS_TO.
11426 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11427 (top level): Use PKGVERSION.
11428 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11429 (print_version): Use PKGVERSION.
11430 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11431 (print_version): Use PKGVERSION.
11432 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11433 (print_version): Use PKGVERSION.
11434 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11435 (print_version): Use PKGVERSION.
11436 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11437 (print_version): Use PKGVERSION.
11438 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11439 (print_version): Use PKGVERSION.
11440 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11442 ($(objpfx)memusage): Likewise.
11443 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11444 (do_version): Use PKGVERSION.
11445 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11446 (print_version): Use PKGVERSION.
11447 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11448 ($PKGVERSION): New variable.
11449 ($REPORT_BUGS_TO): Likewise.
11450 (usage): Use $REPORT_BUGS_TO.
11451 (top level): Use $PKGVERSION.
11452 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11453 ($(objpfx)pkgvers.texi): New rule.
11454 ($(objpfx)stamp-pkgvers): Likewise.
11455 * manual/install.texi: Include pkgvers.texi.
11456 (--with-pkgversion): Document new configure option.
11457 (--with-bugurl): Likewise.
11458 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11459 than necessarily for this particular distribution. Use
11460 REPORT_BUGS_TO for where to report bugs.
11461 * INSTALL: Regenerated.
11462 * manual/libc.texinfo: Include pkgvers.texi.
11463 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11464 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11465 (print_version): Use PKGVERSION.
11466 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11467 (print_version): Use PKGVERSION.
11468 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11469 (print_version): Use PKGVERSION.
11470 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11471 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11473 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11474 (print_version): Use PKGVERSION.
11475 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11476 (print_version): Use PKGVERSION.
11477 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11480 * timezone/checktab.awk: Update from tzcode 2012i.
11481 * timezone/ialloc.c: Likewise.
11482 * timezone/private.h: Likewise.
11483 * timezone/scheck.c: Likewise.
11484 * timezone/tzfile.h: Likewise.
11485 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11486 (TZVERSION): Hardcode tzcode version number.
11487 * timezone/zdump.c: Update from tzcode 2012i.
11488 * timezone/zic.c: Likewise.
11489 * timezone/version.h: New file.
11490 * timezone/README: Describe version.h. Update upstream location.
11493 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11494 (mktemp): Enable declaration.
11495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11496 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11498 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11512 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11513 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11514 for copies of such integer values.
11515 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11516 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11518 2012-11-09 Andreas Jaeger <aj@suse.de>
11520 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11521 definitions and declarations that are provided by
11522 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11524 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11526 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11527 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11528 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11531 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11533 * elf/elf.h: Update comment before AArch64 relocations.
11535 2012-11-07 David S. Miller <davem@davemloft.net>
11537 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11538 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11539 (__start_context): Declare.
11540 (__makecontext_ret): Delete.
11541 (__makecontext): Hook up __start_context instead of
11543 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11544 (sysdep_routines): Add __start_context when in stdlib.
11546 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11548 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11549 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11550 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11552 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11553 (READELF): New variable. Use it instead of hardcoded "readelf".
11555 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11557 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11558 * sysdeps/x86/Makefile: Here.
11559 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11560 * sysdeps/x86/tst-xmmymm.sh: This.
11562 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11564 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11566 [UNIX98] (pthread_barrier_t): Do not expect.
11567 [UNIX98] (pthread_barrierattr_t): Likewise.
11568 [UNIX98] (pthread_spinlock_t): Likewise.
11569 [UNIX98] (pthread_barrier_destroy): Likewise.
11570 [UNIX98] (pthread_barrier_init): Likewise.
11571 [UNIX98] (pthread_barrier_wait): Likewise.
11572 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11573 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11574 [UNIX98] (pthread_barrierattr_init): Likewise.
11575 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11576 [UNIX98] (pthread_getcpuclockid): Likewise.
11577 [UNIX98] (pthread_mutex_timedlock): Likewise.
11578 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11579 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11580 [UNIX98] (pthread_sigmask): Likewise.
11581 [UNIX98] (pthread_spin_destroy): Likewise.
11582 [UNIX98] (pthread_spin_init): Likewise.
11583 [UNIX98] (pthread_spin_lock): Likewise.
11584 [UNIX98] (pthread_spin_trylock): Likewise.
11585 [UNIX98] (pthread_spin_unlock): Likewise.
11586 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11588 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11589 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11590 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11591 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11592 [XPG3 || XPG4] (pthread_key_t): Likewise.
11593 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11594 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11595 [XPG3 || XPG4] (pthread_once_t): Likewise.
11596 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11597 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11598 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11599 [XPG3 || XPG4] (pthread_t): Likewise.
11601 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11603 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11605 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11606 Change function return type to int.
11608 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11609 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11610 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11611 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11612 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11613 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11614 [!POSIX] (posix_madvise): Likewise.
11615 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11617 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11618 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11619 (mode_t): Likewise.
11620 (posix_mem_offset): Likewise.
11621 (posix_typed_mem_get_info): Likewise.
11622 (posix_typed_mem_open): Likewise.
11624 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11625 Change condition to [XOPEN2K8].
11627 * conform/conformtest.pl: Preprocess allow-header data with -x c
11628 instead of from stdin.
11629 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11630 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11631 [C99-based standards] (cerfc): Likewise.
11632 [C99-based standards] (cexp2): Likewise.
11633 [C99-based standards] (cexpm1): Likewise.
11634 [C99-based standards] (clog10): Likewise.
11635 [C99-based standards] (clog1p): Likewise.
11636 [C99-based standards] (clog2): Likewise.
11637 [C99-based standards] (clgamma): Likewise.
11638 [C99-based standards] (ctgamma): Likewise.
11639 [C99-based standards] (cerff): Likewise.
11640 [C99-based standards] (cerfcf): Likewise.
11641 [C99-based standards] (cexp2f): Likewise.
11642 [C99-based standards] (cexpm1f): Likewise.
11643 [C99-based standards] (clog10f): Likewise.
11644 [C99-based standards] (clog1pf): Likewise.
11645 [C99-based standards] (clog2f): Likewise.
11646 [C99-based standards] (clgammaf): Likewise.
11647 [C99-based standards] (ctgammaf): Likewise.
11648 [C99-based standards] (cerfl): Likewise.
11649 [C99-based standards] (cerfcl): Likewise.
11650 [C99-based standards] (cexp2l): Likewise.
11651 [C99-based standards] (cexpm1l): Likewise.
11652 [C99-based standards] (clog10l): Likewise.
11653 [C99-based standards] (clog1pl): Likewise.
11654 [C99-based standards] (clog2l): Likewise.
11655 [C99-based standards] (clgammal): Likewise.
11656 [C99-based standards] (ctgammal): Likewise.
11657 * conform/data/inttypes.h-data [C99-based standards]: Include
11658 stdint.h-data. Remove all expectations for stdint.h contents.
11659 [C99-based standards] (PRI*): Do not allow.
11660 [C99-based standards] (SCN*): Likewise.
11661 [C99-based standards] (*_t): Likewise.
11662 [C99-based-standards] (PRId8): Expect macro.
11663 [C99-based-standards] (PRIi8): Likewise.
11664 [C99-based-standards] (PRIo8): Likewise.
11665 [C99-based-standards] (PRIu8): Likewise.
11666 [C99-based-standards] (PRIx8): Likewise.
11667 [C99-based-standards] (PRIX8): Likewise.
11668 [C99-based-standards] (SCNd8): Likewise.
11669 [C99-based-standards] (SCNi8): Likewise.
11670 [C99-based-standards] (SCNo8): Likewise.
11671 [C99-based-standards] (SCNu8): Likewise.
11672 [C99-based-standards] (SCNx8): Likewise.
11673 [C99-based-standards] (PRIdLEAST8): Likewise.
11674 [C99-based-standards] (PRIiLEAST8): Likewise.
11675 [C99-based-standards] (PRIoLEAST8): Likewise.
11676 [C99-based-standards] (PRIuLEAST8): Likewise.
11677 [C99-based-standards] (PRIxLEAST8): Likewise.
11678 [C99-based-standards] (PRIXLEAST8): Likewise.
11679 [C99-based-standards] (SCNdLEAST8): Likewise.
11680 [C99-based-standards] (SCNiLEAST8): Likewise.
11681 [C99-based-standards] (SCNoLEAST8): Likewise.
11682 [C99-based-standards] (SCNuLEAST8): Likewise.
11683 [C99-based-standards] (SCNxLEAST8): Likewise.
11684 [C99-based-standards] (PRIdFAST8): Likewise.
11685 [C99-based-standards] (PRIiFAST8): Likewise.
11686 [C99-based-standards] (PRIoFAST8): Likewise.
11687 [C99-based-standards] (PRIuFAST8): Likewise.
11688 [C99-based-standards] (PRIxFAST8): Likewise.
11689 [C99-based-standards] (PRIXFAST8): Likewise.
11690 [C99-based-standards] (SCNdFAST8): Likewise.
11691 [C99-based-standards] (SCNiFAST8): Likewise.
11692 [C99-based-standards] (SCNoFAST8): Likewise.
11693 [C99-based-standards] (SCNuFAST8): Likewise.
11694 [C99-based-standards] (SCNxFAST8): Likewise.
11695 [C99-based-standards] (PRId16): Likewise.
11696 [C99-based-standards] (PRIi16): Likewise.
11697 [C99-based-standards] (PRIo16): Likewise.
11698 [C99-based-standards] (PRIu16): Likewise.
11699 [C99-based-standards] (PRIx16): Likewise.
11700 [C99-based-standards] (PRIX16): Likewise.
11701 [C99-based-standards] (SCNd16): Likewise.
11702 [C99-based-standards] (SCNi16): Likewise.
11703 [C99-based-standards] (SCNo16): Likewise.
11704 [C99-based-standards] (SCNu16): Likewise.
11705 [C99-based-standards] (SCNx16): Likewise.
11706 [C99-based-standards] (PRIdLEAST16): Likewise.
11707 [C99-based-standards] (PRIiLEAST16): Likewise.
11708 [C99-based-standards] (PRIoLEAST16): Likewise.
11709 [C99-based-standards] (PRIuLEAST16): Likewise.
11710 [C99-based-standards] (PRIxLEAST16): Likewise.
11711 [C99-based-standards] (PRIXLEAST16): Likewise.
11712 [C99-based-standards] (SCNdLEAST16): Likewise.
11713 [C99-based-standards] (SCNiLEAST16): Likewise.
11714 [C99-based-standards] (SCNoLEAST16): Likewise.
11715 [C99-based-standards] (SCNuLEAST16): Likewise.
11716 [C99-based-standards] (SCNxLEAST16): Likewise.
11717 [C99-based-standards] (PRIdFAST16): Likewise.
11718 [C99-based-standards] (PRIiFAST16): Likewise.
11719 [C99-based-standards] (PRIoFAST16): Likewise.
11720 [C99-based-standards] (PRIuFAST16): Likewise.
11721 [C99-based-standards] (PRIxFAST16): Likewise.
11722 [C99-based-standards] (PRIXFAST16): Likewise.
11723 [C99-based-standards] (SCNdFAST16): Likewise.
11724 [C99-based-standards] (SCNiFAST16): Likewise.
11725 [C99-based-standards] (SCNoFAST16): Likewise.
11726 [C99-based-standards] (SCNuFAST16): Likewise.
11727 [C99-based-standards] (SCNxFAST16): Likewise.
11728 [C99-based-standards] (PRId32): Likewise.
11729 [C99-based-standards] (PRIi32): Likewise.
11730 [C99-based-standards] (PRIo32): Likewise.
11731 [C99-based-standards] (PRIu32): Likewise.
11732 [C99-based-standards] (PRIx32): Likewise.
11733 [C99-based-standards] (PRIX32): Likewise.
11734 [C99-based-standards] (SCNd32): Likewise.
11735 [C99-based-standards] (SCNi32): Likewise.
11736 [C99-based-standards] (SCNo32): Likewise.
11737 [C99-based-standards] (SCNu32): Likewise.
11738 [C99-based-standards] (SCNx32): Likewise.
11739 [C99-based-standards] (PRIdLEAST32): Likewise.
11740 [C99-based-standards] (PRIiLEAST32): Likewise.
11741 [C99-based-standards] (PRIoLEAST32): Likewise.
11742 [C99-based-standards] (PRIuLEAST32): Likewise.
11743 [C99-based-standards] (PRIxLEAST32): Likewise.
11744 [C99-based-standards] (PRIXLEAST32): Likewise.
11745 [C99-based-standards] (SCNdLEAST32): Likewise.
11746 [C99-based-standards] (SCNiLEAST32): Likewise.
11747 [C99-based-standards] (SCNoLEAST32): Likewise.
11748 [C99-based-standards] (SCNuLEAST32): Likewise.
11749 [C99-based-standards] (SCNxLEAST32): Likewise.
11750 [C99-based-standards] (PRIdFAST32): Likewise.
11751 [C99-based-standards] (PRIiFAST32): Likewise.
11752 [C99-based-standards] (PRIoFAST32): Likewise.
11753 [C99-based-standards] (PRIuFAST32): Likewise.
11754 [C99-based-standards] (PRIxFAST32): Likewise.
11755 [C99-based-standards] (PRIXFAST32): Likewise.
11756 [C99-based-standards] (SCNdFAST32): Likewise.
11757 [C99-based-standards] (SCNiFAST32): Likewise.
11758 [C99-based-standards] (SCNoFAST32): Likewise.
11759 [C99-based-standards] (SCNuFAST32): Likewise.
11760 [C99-based-standards] (SCNxFAST32): Likewise.
11761 [C99-based-standards] (PRId64): Likewise.
11762 [C99-based-standards] (PRIi64): Likewise.
11763 [C99-based-standards] (PRIo64): Likewise.
11764 [C99-based-standards] (PRIu64): Likewise.
11765 [C99-based-standards] (PRIx64): Likewise.
11766 [C99-based-standards] (PRIX64): Likewise.
11767 [C99-based-standards] (SCNd64): Likewise.
11768 [C99-based-standards] (SCNi64): Likewise.
11769 [C99-based-standards] (SCNo64): Likewise.
11770 [C99-based-standards] (SCNu64): Likewise.
11771 [C99-based-standards] (SCNx64): Likewise.
11772 [C99-based-standards] (PRIdLEAST64): Likewise.
11773 [C99-based-standards] (PRIiLEAST64): Likewise.
11774 [C99-based-standards] (PRIoLEAST64): Likewise.
11775 [C99-based-standards] (PRIuLEAST64): Likewise.
11776 [C99-based-standards] (PRIxLEAST64): Likewise.
11777 [C99-based-standards] (PRIXLEAST64): Likewise.
11778 [C99-based-standards] (SCNdLEAST64): Likewise.
11779 [C99-based-standards] (SCNiLEAST64): Likewise.
11780 [C99-based-standards] (SCNoLEAST64): Likewise.
11781 [C99-based-standards] (SCNuLEAST64): Likewise.
11782 [C99-based-standards] (SCNxLEAST64): Likewise.
11783 [C99-based-standards] (PRIdFAST64): Likewise.
11784 [C99-based-standards] (PRIiFAST64): Likewise.
11785 [C99-based-standards] (PRIoFAST64): Likewise.
11786 [C99-based-standards] (PRIuFAST64): Likewise.
11787 [C99-based-standards] (PRIxFAST64): Likewise.
11788 [C99-based-standards] (PRIXFAST64): Likewise.
11789 [C99-based-standards] (SCNdFAST64): Likewise.
11790 [C99-based-standards] (SCNiFAST64): Likewise.
11791 [C99-based-standards] (SCNoFAST64): Likewise.
11792 [C99-based-standards] (SCNuFAST64): Likewise.
11793 [C99-based-standards] (SCNxFAST64): Likewise.
11794 [C99-based-standards] (PRIdMAX): Likewise.
11795 [C99-based-standards] (PRIiMAX): Likewise.
11796 [C99-based-standards] (PRIoMAX): Likewise.
11797 [C99-based-standards] (PRIuMAX): Likewise.
11798 [C99-based-standards] (PRIxMAX): Likewise.
11799 [C99-based-standards] (PRIXMAX): Likewise.
11800 [C99-based-standards] (SCNdMAX): Likewise.
11801 [C99-based-standards] (SCNiMAX): Likewise.
11802 [C99-based-standards] (SCNoMAX): Likewise.
11803 [C99-based-standards] (SCNuMAX): Likewise.
11804 [C99-based-standards] (SCNxMAX): Likewise.
11805 [C99-based-standards] (PRIdPTR): Likewise.
11806 [C99-based-standards] (PRIiPTR): Likewise.
11807 [C99-based-standards] (PRIoPTR): Likewise.
11808 [C99-based-standards] (PRIuPTR): Likewise.
11809 [C99-based-standards] (PRIxPTR): Likewise.
11810 [C99-based-standards] (PRIXPTR): Likewise.
11811 [C99-based-standards] (SCNdPTR): Likewise.
11812 [C99-based-standards] (SCNiPTR): Likewise.
11813 [C99-based-standards] (SCNoPTR): Likewise.
11814 [C99-based-standards] (SCNuPTR): Likewise.
11815 [C99-based-standards] (SCNxPTR): Likewise.
11816 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11818 * conform/data/stdint.h-data: Update comments to clarify
11820 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11822 [C99-based standards] (INT8_MAX): Likewise.
11823 [C99-based standards] (INT16_MIN): Likewise.
11824 [C99-based standards] (INT16_MAX): Likewise.
11825 [C99-based standards] (INT32_MIN): Likewise.
11826 [C99-based standards] (INT32_MAX): Likewise.
11827 [C99-based standards] (INT64_MIN): Likewise.
11828 [C99-based standards] (INT64_MAX): Likewise.
11829 [C99-based standards] (UINT8_MAX): Likewise.
11830 [C99-based standards] (UINT16_MAX): Likewise.
11831 [C99-based standards] (UINT32_MAX): Likewise.
11832 [C99-based standards] (UINT64_MAX): Likewise.
11833 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11834 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11835 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11836 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11837 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11838 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11839 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11840 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11841 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11842 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11843 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11844 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11845 [C99-based standards] (INT_FAST8_MIN): Likewise.
11846 [C99-based standards] (INT_FAST8_MAX): Likewise.
11847 [C99-based standards] (INT_FAST16_MIN): Likewise.
11848 [C99-based standards] (INT_FAST16_MAX): Likewise.
11849 [C99-based standards] (INT_FAST32_MIN): Likewise.
11850 [C99-based standards] (INT_FAST32_MAX): Likewise.
11851 [C99-based standards] (INT_FAST64_MIN): Likewise.
11852 [C99-based standards] (INT_FAST64_MAX): Likewise.
11853 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11854 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11855 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11856 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11857 [C99-based standards] (INTPTR_MIN): Likewise.
11858 [C99-based standards] (INTPTR_MAX): Likewise.
11859 [C99-based standards] (UINTPTR_MAX): Likewise.
11860 [C99-based standards] (INTMAX_MIN): Likewise.
11861 [C99-based standards] (INTMAX_MAX): Likewise.
11862 [C99-based standards] (UINTMAX_MAX): Likewise.
11863 [C99-based standards] (PTRDIFF_MIN): Likewise.
11864 [C99-based standards] (PTRDIFF_MAX): Likewise.
11865 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11866 [C99-based standards] (SIZE_MAX): Likewise.
11867 [C99-based standards] (WCHAR_MAX): Likewise.
11868 [C99-based standards] (WINT_MAX): Likewise.
11869 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11870 constraint on value.
11871 [C99-based standards] (WCHAR_MIN): Likewise.
11872 [C99-based standards] (WINT_MIN): Likewise.
11873 [C99-based standards] (*_t): Allow.
11874 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11875 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11876 Include math.h-data and complex.h-data. Remove all expectations
11877 of math.h and complex.h contents.
11878 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11880 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11881 (struct tm): Expect tag.
11882 [C99-based-standards] (wcstof): Expect function.
11883 [C99-based-standards] (wcstold): Likewise.
11884 [C99-based-standards] (wcstoll): Likewise.
11885 [C99-based-standards] (wcstoull): Likewise.
11886 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11887 macro-int-constant. Specify type.
11888 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11889 constraint on value.
11890 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11892 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11894 [ISO C standards]: Do not allow headers.
11895 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11896 wcs[abcdefghijklmnopqrstuvwxyz]*.
11897 [ISO C standards] (*_t): Do not allow.
11898 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11900 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11901 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11903 [ISO C standards]: Do not allow headers.
11904 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11905 is[abcdefghijklmnopqrstuvwxyz]*.
11906 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11907 to[abcdefghijklmnopqrstuvwxyz]*.
11908 [ISO C standards] (*_t): Do not allow.
11909 * conform/data/stdalign.h-data: New file.
11910 * conform/data/stdbool.h-data: Likewise.
11911 * conform/data/stdnoreturn.h-data: Likewise.
11913 2012-11-07 Roland McGrath <roland@hack.frob.com>
11916 * manual/filesys.texi (Directory Entries): Typo fix.
11917 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11919 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11921 * elf/elf.h (EM_AARCH64): New macro.
11922 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11923 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11924 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11925 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11926 (R_AARCH64_TLSDESC): Likewise.
11927 (NT_ARM_TLS): Likewise.
11928 (NT_ARM_HW_BREAK): Likewise.
11929 (NT_ARM_HW_WATCH): Likewise.
11931 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11934 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11935 (__ieee754_powl): Saturate nonzero exponents with absolute value
11936 below 0x1p-79 to +/- 0x1p-79.
11937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11938 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11939 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11940 nonzero exponents with absolute value below 0x1p-32 to +/-
11942 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11943 (__ieee754_powl): Saturate nonzero exponents with absolute value
11944 below 0x1p-79 to +/- 0x1p-79.
11945 * math/libm-test.inc (pow_test): Add more tests.
11947 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11949 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11950 _dl_s390_cap_flags with kernel. Increase string length.
11951 (_dl_s390_platforms): Add z196 and zEC12.
11953 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11955 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11956 Change XOPEN21K to XOPEN2K.
11958 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11960 * string/memmove.c: Use memcpy when possible.
11962 2012-11-06 Andreas Jaeger <aj@suse.de>
11964 * po/eo.po: Update from translation team.
11966 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11970 exponent and small x and y exponents, scale x or y up. Increase
11971 by 2 the exponent used in scaling up.
11972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11974 * math/libm-test.inc (fma_test): Add more tests.
11975 (fma_test_towardzero): Likewise.
11976 (fma_test_downward): Likewise.
11977 (fma_test_upward): Likewise.
11979 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11982 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11986 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11987 namespace for names of struct fields.
11988 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11990 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11991 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11993 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11996 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11998 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12000 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12004 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12007 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12011 definitely overflow as x * y not x * y + z.
12012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12014 * math/libm-test.inc (fma_test): Add more tests.
12015 (fma_test_towardzero): Likewise.
12016 (fma_test_downward): Likewise.
12017 (fma_test_upward): Likewise.
12019 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12023 * include/stub-tag.h: Remove file.
12024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12026 * manual/maint.texi (Porting): Don't reference it.
12027 * Makerules ($(objpfx)stubs): Likewise.
12028 * dirent/closedir.c: Don't include <stub-tag.h>.
12029 * dirent/dirfd.c: Likewise.
12030 * dirent/fdopendir.c: Likewise.
12031 * dirent/getdents.c: Likewise.
12032 * dirent/getdents64.c: Likewise.
12033 * dirent/opendir.c: Likewise.
12034 * dirent/readdir.c: Likewise.
12035 * dirent/readdir64.c: Likewise.
12036 * dirent/readdir64_r.c: Likewise.
12037 * dirent/readdir_r.c: Likewise.
12038 * dirent/rewinddir.c: Likewise.
12039 * dirent/seekdir.c: Likewise.
12040 * dirent/telldir.c: Likewise.
12041 * gmon/profil.c: Likewise.
12042 * grp/setgroups.c: Likewise.
12043 * inet/if_index.c: Likewise.
12044 * io/access.c: Likewise.
12045 * io/chdir.c: Likewise.
12046 * io/chmod.c: Likewise.
12047 * io/chown.c: Likewise.
12048 * io/close.c: Likewise.
12049 * io/dup.c: Likewise.
12050 * io/dup2.c: Likewise.
12051 * io/dup3.c: Likewise.
12052 * io/euidaccess.c: Likewise.
12053 * io/faccessat.c: Likewise.
12054 * io/fchdir.c: Likewise.
12055 * io/fchmod.c: Likewise.
12056 * io/fchmodat.c: Likewise.
12057 * io/fchown.c: Likewise.
12058 * io/fchownat.c: Likewise.
12059 * io/fcntl.c: Likewise.
12060 * io/flock.c: Likewise.
12061 * io/fstatfs.c: Likewise.
12062 * io/fstatfs64.c: Likewise.
12063 * io/fstatvfs.c: Likewise.
12064 * io/fstatvfs64.c: Likewise.
12065 * io/futimens.c: Likewise.
12066 * io/fxstat.c: Likewise.
12067 * io/fxstat64.c: Likewise.
12068 * io/fxstatat.c: Likewise.
12069 * io/fxstatat64.c: Likewise.
12070 * io/getcwd.c: Likewise.
12071 * io/isatty.c: Likewise.
12072 * io/lchmod.c: Likewise.
12073 * io/lchown.c: Likewise.
12074 * io/link.c: Likewise.
12075 * io/linkat.c: Likewise.
12076 * io/lseek.c: Likewise.
12077 * io/lseek64.c: Likewise.
12078 * io/lxstat64.c: Likewise.
12079 * io/mkdir.c: Likewise.
12080 * io/mkdirat.c: Likewise.
12081 * io/mkfifo.c: Likewise.
12082 * io/mkfifoat.c: Likewise.
12083 * io/open.c: Likewise.
12084 * io/open64.c: Likewise.
12085 * io/openat.c: Likewise.
12086 * io/openat64.c: Likewise.
12087 * io/pipe.c: Likewise.
12088 * io/pipe2.c: Likewise.
12089 * io/poll.c: Likewise.
12090 * io/posix_fadvise.c: Likewise.
12091 * io/posix_fadvise64.c: Likewise.
12092 * io/posix_fallocate.c: Likewise.
12093 * io/posix_fallocate64.c: Likewise.
12094 * io/read.c: Likewise.
12095 * io/readlink.c: Likewise.
12096 * io/readlinkat.c: Likewise.
12097 * io/rmdir.c: Likewise.
12098 * io/sendfile.c: Likewise.
12099 * io/sendfile64.c: Likewise.
12100 * io/statfs.c: Likewise.
12101 * io/statfs64.c: Likewise.
12102 * io/statvfs.c: Likewise.
12103 * io/statvfs64.c: Likewise.
12104 * io/symlink.c: Likewise.
12105 * io/symlinkat.c: Likewise.
12106 * io/ttyname.c: Likewise.
12107 * io/ttyname_r.c: Likewise.
12108 * io/umask.c: Likewise.
12109 * io/unlink.c: Likewise.
12110 * io/unlinkat.c: Likewise.
12111 * io/utime.c: Likewise.
12112 * io/utimensat.c: Likewise.
12113 * io/write.c: Likewise.
12114 * io/xmknod.c: Likewise.
12115 * io/xmknodat.c: Likewise.
12116 * io/xstat.c: Likewise.
12117 * io/xstat64.c: Likewise.
12118 * login/getpt.c: Likewise.
12119 * login/grantpt.c: Likewise.
12120 * login/unlockpt.c: Likewise.
12121 * math/e_acoshl.c: Likewise.
12122 * math/e_acosl.c: Likewise.
12123 * math/e_asinl.c: Likewise.
12124 * math/e_atan2l.c: Likewise.
12125 * math/e_atanhl.c: Likewise.
12126 * math/e_coshl.c: Likewise.
12127 * math/e_expl.c: Likewise.
12128 * math/e_fmodl.c: Likewise.
12129 * math/e_gammal_r.c: Likewise.
12130 * math/e_hypotl.c: Likewise.
12131 * math/e_j0l.c: Likewise.
12132 * math/e_j1l.c: Likewise.
12133 * math/e_jnl.c: Likewise.
12134 * math/e_lgammal_r.c: Likewise.
12135 * math/e_log10l.c: Likewise.
12136 * math/e_log2l.c: Likewise.
12137 * math/e_logl.c: Likewise.
12138 * math/e_powl.c: Likewise.
12139 * math/e_rem_pio2l.c: Likewise.
12140 * math/e_sinhl.c: Likewise.
12141 * math/e_sqrtl.c: Likewise.
12142 * math/fclrexcpt.c: Likewise.
12143 * math/fedisblxcpt.c: Likewise.
12144 * math/feenablxcpt.c: Likewise.
12145 * math/fegetenv.c: Likewise.
12146 * math/fegetexcept.c: Likewise.
12147 * math/fegetround.c: Likewise.
12148 * math/feholdexcpt.c: Likewise.
12149 * math/fesetenv.c: Likewise.
12150 * math/fesetround.c: Likewise.
12151 * math/feupdateenv.c: Likewise.
12152 * math/fgetexcptflg.c: Likewise.
12153 * math/fraiseexcpt.c: Likewise.
12154 * math/fsetexcptflg.c: Likewise.
12155 * math/ftestexcept.c: Likewise.
12156 * math/k_cosl.c: Likewise.
12157 * math/k_rem_pio2l.c: Likewise.
12158 * math/k_sinl.c: Likewise.
12159 * math/k_tanl.c: Likewise.
12160 * math/s_asinhl.c: Likewise.
12161 * math/s_atanl.c: Likewise.
12162 * math/s_cbrtl.c: Likewise.
12163 * math/s_erfl.c: Likewise.
12164 * math/s_expm1l.c: Likewise.
12165 * math/s_log1pl.c: Likewise.
12166 * math/s_tanhl.c: Likewise.
12167 * misc/acct.c: Likewise.
12168 * misc/brk.c: Likewise.
12169 * misc/chflags.c: Likewise.
12170 * misc/chroot.c: Likewise.
12171 * misc/fchflags.c: Likewise.
12172 * misc/fgetxattr.c: Likewise.
12173 * misc/flistxattr.c: Likewise.
12174 * misc/fremovexattr.c: Likewise.
12175 * misc/fsetxattr.c: Likewise.
12176 * misc/fsync.c: Likewise.
12177 * misc/ftruncate.c: Likewise.
12178 * misc/futimes.c: Likewise.
12179 * misc/futimesat.c: Likewise.
12180 * misc/getdomain.c: Likewise.
12181 * misc/getdtsz.c: Likewise.
12182 * misc/gethostid.c: Likewise.
12183 * misc/gethostname.c: Likewise.
12184 * misc/getloadavg.c: Likewise.
12185 * misc/getpagesize.c: Likewise.
12186 * misc/getsysstats.c: Likewise.
12187 * misc/getxattr.c: Likewise.
12188 * misc/gtty.c: Likewise.
12189 * misc/ioctl.c: Likewise.
12190 * misc/lgetxattr.c: Likewise.
12191 * misc/listxattr.c: Likewise.
12192 * misc/llistxattr.c: Likewise.
12193 * misc/lremovexattr.c: Likewise.
12194 * misc/lsetxattr.c: Likewise.
12195 * misc/lutimes.c: Likewise.
12196 * misc/madvise.c: Likewise.
12197 * misc/mincore.c: Likewise.
12198 * misc/mlock.c: Likewise.
12199 * misc/mlockall.c: Likewise.
12200 * misc/mmap.c: Likewise.
12201 * misc/mprotect.c: Likewise.
12202 * misc/msync.c: Likewise.
12203 * misc/munlock.c: Likewise.
12204 * misc/munlockall.c: Likewise.
12205 * misc/munmap.c: Likewise.
12206 * misc/preadv.c: Likewise.
12207 * misc/preadv64.c: Likewise.
12208 * misc/ptrace.c: Likewise.
12209 * misc/pwritev.c: Likewise.
12210 * misc/pwritev64.c: Likewise.
12211 * misc/readv.c: Likewise.
12212 * misc/reboot.c: Likewise.
12213 * misc/remap_file_pages.c: Likewise.
12214 * misc/removexattr.c: Likewise.
12215 * misc/revoke.c: Likewise.
12216 * misc/select.c: Likewise.
12217 * misc/setdomain.c: Likewise.
12218 * misc/setegid.c: Likewise.
12219 * misc/seteuid.c: Likewise.
12220 * misc/sethostid.c: Likewise.
12221 * misc/sethostname.c: Likewise.
12222 * misc/setregid.c: Likewise.
12223 * misc/setreuid.c: Likewise.
12224 * misc/setxattr.c: Likewise.
12225 * misc/sstk.c: Likewise.
12226 * misc/stty.c: Likewise.
12227 * misc/swapoff.c: Likewise.
12228 * misc/swapon.c: Likewise.
12229 * misc/sync.c: Likewise.
12230 * misc/syncfs.c: Likewise.
12231 * misc/syscall.c: Likewise.
12232 * misc/truncate.c: Likewise.
12233 * misc/ualarm.c: Likewise.
12234 * misc/usleep.c: Likewise.
12235 * misc/ustat.c: Likewise.
12236 * misc/utimes.c: Likewise.
12237 * misc/vhangup.c: Likewise.
12238 * misc/writev.c: Likewise.
12239 * posix/_exit.c: Likewise.
12240 * posix/alarm.c: Likewise.
12241 * posix/execve.c: Likewise.
12242 * posix/fexecve.c: Likewise.
12243 * posix/fork.c: Likewise.
12244 * posix/fpathconf.c: Likewise.
12245 * posix/getaddrinfo.c: Likewise.
12246 * posix/getegid.c: Likewise.
12247 * posix/geteuid.c: Likewise.
12248 * posix/getgid.c: Likewise.
12249 * posix/getgroups.c: Likewise.
12250 * posix/getlogin.c: Likewise.
12251 * posix/getlogin_r.c: Likewise.
12252 * posix/getpgid.c: Likewise.
12253 * posix/getpid.c: Likewise.
12254 * posix/getppid.c: Likewise.
12255 * posix/getresgid.c: Likewise.
12256 * posix/getresuid.c: Likewise.
12257 * posix/getsid.c: Likewise.
12258 * posix/getuid.c: Likewise.
12259 * posix/glob64.c: Likewise.
12260 * posix/nanosleep.c: Likewise.
12261 * posix/pathconf.c: Likewise.
12262 * posix/pause.c: Likewise.
12263 * posix/posix_madvise.c: Likewise.
12264 * posix/pread.c: Likewise.
12265 * posix/pread64.c: Likewise.
12266 * posix/pwrite.c: Likewise.
12267 * posix/pwrite64.c: Likewise.
12268 * posix/sched_getaffinity.c: Likewise.
12269 * posix/sched_getp.c: Likewise.
12270 * posix/sched_gets.c: Likewise.
12271 * posix/sched_primax.c: Likewise.
12272 * posix/sched_primin.c: Likewise.
12273 * posix/sched_rr_gi.c: Likewise.
12274 * posix/sched_setaffinity.c: Likewise.
12275 * posix/sched_setp.c: Likewise.
12276 * posix/sched_sets.c: Likewise.
12277 * posix/sched_yield.c: Likewise.
12278 * posix/setgid.c: Likewise.
12279 * posix/setlogin.c: Likewise.
12280 * posix/setpgid.c: Likewise.
12281 * posix/setresgid.c: Likewise.
12282 * posix/setresuid.c: Likewise.
12283 * posix/setsid.c: Likewise.
12284 * posix/setuid.c: Likewise.
12285 * posix/sleep.c: Likewise.
12286 * posix/spawni.c: Likewise.
12287 * posix/sysconf.c: Likewise.
12288 * posix/times.c: Likewise.
12289 * posix/wait.c: Likewise.
12290 * posix/wait3.c: Likewise.
12291 * posix/wait4.c: Likewise.
12292 * posix/waitpid.c: Likewise.
12293 * resolv/gai_sigqueue.c: Likewise.
12294 * resource/getpriority.c: Likewise.
12295 * resource/getrlimit.c: Likewise.
12296 * resource/getrusage.c: Likewise.
12297 * resource/nice.c: Likewise.
12298 * resource/setpriority.c: Likewise.
12299 * resource/setrlimit.c: Likewise.
12300 * resource/ulimit.c: Likewise.
12301 * rt/aio_cancel.c: Likewise.
12302 * rt/aio_fsync.c: Likewise.
12303 * rt/aio_read.c: Likewise.
12304 * rt/aio_sigqueue.c: Likewise.
12305 * rt/aio_suspend.c: Likewise.
12306 * rt/aio_write.c: Likewise.
12307 * rt/clock_getres.c: Likewise.
12308 * rt/clock_gettime.c: Likewise.
12309 * rt/clock_nanosleep.c: Likewise.
12310 * rt/clock_settime.c: Likewise.
12311 * rt/lio_listio.c: Likewise.
12312 * rt/mq_close.c: Likewise.
12313 * rt/mq_getattr.c: Likewise.
12314 * rt/mq_notify.c: Likewise.
12315 * rt/mq_open.c: Likewise.
12316 * rt/mq_receive.c: Likewise.
12317 * rt/mq_send.c: Likewise.
12318 * rt/mq_setattr.c: Likewise.
12319 * rt/mq_timedreceive.c: Likewise.
12320 * rt/mq_timedsend.c: Likewise.
12321 * rt/mq_unlink.c: Likewise.
12322 * rt/shm_open.c: Likewise.
12323 * rt/shm_unlink.c: Likewise.
12324 * rt/timer_create.c: Likewise.
12325 * rt/timer_delete.c: Likewise.
12326 * rt/timer_getoverr.c: Likewise.
12327 * rt/timer_gettime.c: Likewise.
12328 * rt/timer_settime.c: Likewise.
12329 * setjmp/__longjmp.c: Likewise.
12330 * setjmp/setjmp.c: Likewise.
12331 * signal/kill.c: Likewise.
12332 * signal/killpg.c: Likewise.
12333 * signal/raise.c: Likewise.
12334 * signal/sigaction.c: Likewise.
12335 * signal/sigaltstack.c: Likewise.
12336 * signal/sigblock.c: Likewise.
12337 * signal/sigignore.c: Likewise.
12338 * signal/sigintr.c: Likewise.
12339 * signal/signal.c: Likewise.
12340 * signal/sigpause.c: Likewise.
12341 * signal/sigpending.c: Likewise.
12342 * signal/sigqueue.c: Likewise.
12343 * signal/sigreturn.c: Likewise.
12344 * signal/sigset.c: Likewise.
12345 * signal/sigsetmask.c: Likewise.
12346 * signal/sigstack.c: Likewise.
12347 * signal/sigsuspend.c: Likewise.
12348 * signal/sigtimedwait.c: Likewise.
12349 * signal/sigvec.c: Likewise.
12350 * signal/sigwait.c: Likewise.
12351 * signal/sigwaitinfo.c: Likewise.
12352 * signal/sysv_signal.c: Likewise.
12353 * socket/accept.c: Likewise.
12354 * socket/accept4.c: Likewise.
12355 * socket/bind.c: Likewise.
12356 * socket/connect.c: Likewise.
12357 * socket/getpeername.c: Likewise.
12358 * socket/getsockname.c: Likewise.
12359 * socket/getsockopt.c: Likewise.
12360 * socket/isfdtype.c: Likewise.
12361 * socket/listen.c: Likewise.
12362 * socket/recv.c: Likewise.
12363 * socket/recvfrom.c: Likewise.
12364 * socket/recvmsg.c: Likewise.
12365 * socket/send.c: Likewise.
12366 * socket/sendmsg.c: Likewise.
12367 * socket/sendto.c: Likewise.
12368 * socket/setsockopt.c: Likewise.
12369 * socket/shutdown.c: Likewise.
12370 * socket/sockatmark.c: Likewise.
12371 * socket/socket.c: Likewise.
12372 * socket/socketpair.c: Likewise.
12373 * stdio-common/ctermid.c: Likewise.
12374 * stdio-common/cuserid.c: Likewise.
12375 * stdio-common/remove.c: Likewise.
12376 * stdio-common/rename.c: Likewise.
12377 * stdio-common/renameat.c: Likewise.
12378 * stdio-common/tempname.c: Likewise.
12379 * stdlib/getcontext.c: Likewise.
12380 * stdlib/makecontext.c: Likewise.
12381 * stdlib/setcontext.c: Likewise.
12382 * stdlib/swapcontext.c: Likewise.
12383 * stdlib/system.c: Likewise.
12384 * streams/fattach.c: Likewise.
12385 * streams/fdetach.c: Likewise.
12386 * streams/getmsg.c: Likewise.
12387 * streams/getpmsg.c: Likewise.
12388 * streams/putmsg.c: Likewise.
12389 * streams/putpmsg.c: Likewise.
12390 * sysdeps/unix/bsd/getpt.c: Likewise.
12391 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12392 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12393 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12396 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12397 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12398 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12399 * sysvipc/msgctl.c: Likewise.
12400 * sysvipc/msgget.c: Likewise.
12401 * sysvipc/msgrcv.c: Likewise.
12402 * sysvipc/msgsnd.c: Likewise.
12403 * sysvipc/semctl.c: Likewise.
12404 * sysvipc/semget.c: Likewise.
12405 * sysvipc/semop.c: Likewise.
12406 * sysvipc/semtimedop.c: Likewise.
12407 * sysvipc/shmat.c: Likewise.
12408 * sysvipc/shmctl.c: Likewise.
12409 * sysvipc/shmdt.c: Likewise.
12410 * sysvipc/shmget.c: Likewise.
12411 * termios/tcdrain.c: Likewise.
12412 * termios/tcflow.c: Likewise.
12413 * termios/tcflush.c: Likewise.
12414 * termios/tcgetattr.c: Likewise.
12415 * termios/tcgetpgrp.c: Likewise.
12416 * termios/tcsendbrk.c: Likewise.
12417 * termios/tcsetattr.c: Likewise.
12418 * termios/tcsetpgrp.c: Likewise.
12419 * time/adjtime.c: Likewise.
12420 * time/clock.c: Likewise.
12421 * time/getitimer.c: Likewise.
12422 * time/gettimeofday.c: Likewise.
12423 * time/setitimer.c: Likewise.
12424 * time/settimeofday.c: Likewise.
12425 * time/stime.c: Likewise.
12426 * time/time.c: Likewise.
12428 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12430 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12433 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12435 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12437 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12441 FE_TONEAREST before applying Dekker multiplication and Knuth
12442 addition. Clear inexact exceptions and check for exact zero
12443 results afterwards.
12444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12447 * math/libm-test.inc (fma_test): Add more tests.
12448 (fma_test_towardzero): Likewise.
12449 (fma_test_downward): Likewise.
12450 (fma_test_upward): Likewise.
12451 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12453 (libc_fesetround): New macro.
12454 (libc_fesetroundf): Likewise.
12455 (libc_fesetroundl): Likewise.
12456 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12458 (libc_fesetround_387): Likewise.
12459 (libc_fesetroundf): New macro.
12460 (libc_fesetround): Likewise.
12461 (libc_fesetroundl): Likewise.
12462 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12464 (libc_fesetroundf): New macro.
12465 (libc_fesetround): Likewise.
12466 (libc_fesetroundl): Likewise.
12467 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12468 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12469 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12471 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12472 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12474 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12475 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12477 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12481 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12482 integer constant usable in #if and use that to give value to enum
12484 (FE_DIVBYZERO): Likewise.
12485 (FE_UNDERFLOW): Likewise.
12486 (FE_OVERFLOW): Likewise.
12487 (FE_INVALID): Likewise.
12488 (FE_INVALID_SNAN): Likewise.
12489 (FE_INVALID_ISI): Likewise.
12490 (FE_INVALID_IDI): Likewise.
12491 (FE_INVALID_ZDZ): Likewise.
12492 (FE_INVALID_IMZ): Likewise.
12493 (FE_INVALID_COMPARE): Likewise.
12494 (FE_INVALID_SOFTWARE): Likewise.
12495 (FE_INVALID_SQRT): Likewise.
12496 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12497 (FE_TONEAREST): Likewise.
12498 (FE_TOWARDZERO): Likewise.
12499 (FE_UPWARD): Likewise.
12500 (FE_DOWNWARD): Likewise.
12501 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12502 (FE_DIVBYZERO): Likewise.
12503 (FE_OVERFLOW): Likewise.
12504 (FE_UNDERFLOW): Likewise.
12505 (FE_INEXACT): Likewise.
12506 (FE_TONEAREST): Likewise.
12507 (FE_DOWNWARD): Likewise.
12508 (FE_UPWARD): Likewise.
12509 (FE_TOWARDZERO): Likewise.
12510 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12511 (FE_UNDERFLOW): Likewise.
12512 (FE_OVERFLOW): Likewise.
12513 (FE_DIVBYZERO): Likewise.
12514 (FE_INVALID): Likewise.
12515 (FE_TONEAREST): Likewise.
12516 (FE_TOWARDZERO): Likewise.
12517 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12518 (FE_OVERFLOW): Likewise.
12519 (FE_UNDERFLOW): Likewise.
12520 (FE_DIVBYZERO): Likewise.
12521 (FE_INEXACT): Likewise.
12522 (FE_TONEAREST): Likewise.
12523 (FE_TOWARDZERO): Likewise.
12524 (FE_UPWARD): Likewise.
12525 (FE_DOWNWARD): Likewise.
12526 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12527 (FE_DIVBYZERO): Likewise.
12528 (FE_OVERFLOW): Likewise.
12529 (FE_UNDERFLOW): Likewise.
12530 (FE_INEXACT): Likewise.
12531 (FE_TONEAREST): Likewise.
12532 (FE_DOWNWARD): Likewise.
12533 (FE_UPWARD): Likewise.
12534 (FE_TOWARDZERO): Likewise.
12536 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12538 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12540 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12542 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12543 commands. Quote $PWD.
12544 (blacklist_exports): Don't use remove_newlines. Replace "declare
12546 (remove_newlines): Remove.
12548 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12550 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12551 * stdlib/stdlib.h (atof): Moved to ...
12552 * include/bits/stdlib-float.h: Here. New file.
12553 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12554 * stdlib/bits/stdlib-float.h: New file.
12555 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12560 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12562 * conform/conformtest.pl (@headers): Add fenv.h.
12563 * conform/data/fenv.h-data: New file.
12564 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12565 include of <math/fenv.h>.
12567 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12568 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12569 && !UNIX98]. Enables tests for XOPEN2K8.
12570 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12571 POSIX2008]: Likewise.
12573 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12574 (struct rusage): Do not expect type or its members.
12577 * math/math.h (FP_NAN): Define macro to integer constant usable in
12578 #if and use that to give value to enum constant.
12579 (FP_INFINITE): Likewise.
12580 (FP_ZERO): Likewise.
12581 (FP_SUBNORMAL): Likewise.
12582 (FP_NORMAL): Likewise.
12584 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12586 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12587 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12590 2012-11-02 Roland McGrath <roland@hack.frob.com>
12592 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12593 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12594 autoconf-time if not.
12595 * configure.in: Remove AC_PREREQ.
12597 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12599 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12600 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12601 of the internal implementation.
12603 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12605 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12606 except include of <misc/sys/syslog.h>.
12608 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12611 function returns with a NULL context exit with zero.
12613 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12615 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12617 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12619 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12620 (run_program_cmd): This.
12621 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12622 (tst_langinfo): New variable. Use it.
12624 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12626 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12627 floating point opcodes.
12629 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12631 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12634 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12636 * sysdeps/mach/hurd/powerpc: Remove directory.
12637 * sysdeps/mach/powerpc: Likewise.
12639 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12641 * scripts/check-local-headers.sh: Ignore c++ headers.
12643 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12645 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12646 __libc_cleanup_region_start argument.
12648 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12653 x * y using scaling, not as x * y + z.
12654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12656 * math/libm-test.inc (fma_test): Add more tests.
12657 (fma_test_towardzero): Likewise.
12658 (fma_test_downward): Likewise.
12659 (fma_test_upward): Likewise.
12661 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12663 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12665 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12667 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12670 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12672 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12674 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12681 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12684 Fix the order of the list for glibc 2.17.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12688 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12692 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12695 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12696 for low part of x being zero before using __atanl (y).
12697 * math/libm-test.inc (atan2_test): Add another test.
12699 * manual/install.texi (Configuring and compiling): Document
12700 general use of test-wrapper and test-wrapper-env.
12701 * INSTALL: Regenerated.
12703 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12704 (__fma): Do not extract and scale down low bits on after-rounding
12705 systems when result rounded to normal precision would have normal
12707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12708 (__fmal): Do not extract and scale down low bits on after-rounding
12709 systems when result rounded to normal precision would have normal
12711 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12712 (__fmal): Do not extract and scale down low bits on after-rounding
12713 systems when result rounded to normal precision would have normal
12715 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12717 (fma_test): Add more tests.
12718 (fma_test_towardzero): Likewise.
12719 (fma_test_downward): Likewise.
12720 (fma_test_upward): Likewise.
12722 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12724 * sysdeps/i386/tininess.h: Renamed to ...
12725 * sysdeps/x86/tininess.h: This.
12726 * sysdeps/x86_64/tininess.h: Removed.
12728 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12730 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12731 input. Use $(build-program-cmd).
12732 ($(objpfx)tst-array1-static.out): Likewise.
12733 ($(objpfx)tst-array2.out): Likewise.
12734 ($(objpfx)tst-array3.out): Likewise.
12735 ($(objpfx)tst-array4.out): Likewise.
12736 ($(objpfx)tst-array5.out): Likewise.
12737 ($(objpfx)tst-array5-static.out): Likewise.
12739 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12741 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12744 * nss/nsswitch.h (nss_interface_function): Provide new
12745 macro for use with NSS functions.
12746 * grp/initgroups.c: Use new macro.
12747 * nss/getXXbyYY.c: Likewise.
12748 * nss/getXXbyYY_r.c: Likewise.
12749 * nss/getXXent.c: Likewise.
12750 * nss/getXXent_r.c: Likewise.
12751 * sysdeps/posix/getaddrinfo.c: Likewise.
12753 2012-10-30 Andreas Jaeger <aj@suse.de>
12755 * po/ru.po: Update Russion translation from translation project.
12757 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12762 result and shift together with sticky bit instead of replicating
12763 round-to-nearest rounding.
12764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12766 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12767 missing underflow exceptions.
12768 (fma_test_towardzero): Add more tests.
12769 (fma_test_downward): Likewise.
12770 (fma_test_upward): Likewise.
12773 * sysdeps/generic/tininess.h: New file.
12774 * sysdeps/i386/tininess.h: Likewise.
12775 * sysdeps/sh/tininess.h: Likewise.
12776 * sysdeps/x86_64/tininess.h: Likewise.
12777 * stdlib/tst-strtod-underflow.c: Likewise.
12778 * stdlib/tst-tininess.c: Likewise.
12779 * stdlib/strtod_l.c: Include <tininess.h>.
12780 (round_and_return): Do not set errno for exact underflow cases.
12781 Force an underflow exception when setting errno for underflow.
12782 Determine underflow based on rounding to normal precision if
12783 TININESS_AFTER_ROUNDING.
12784 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12785 ERANGE for exact underflow cases.
12786 * stdlib/Makefile (tests): Add tst-tininess and
12787 tst-strtod-underflow.
12788 ($(objpfx)tst-tininess): Use $(link-libm).
12789 ($(objpfx)tst-strtod-underflow): Likewise.
12791 2012-10-30 Andreas Jaeger <aj@suse.de>
12794 * elf/Makefile (tests): Remove conditional for have-initfini-array
12795 since this is now always required and the variable does not exist
12797 (tests-static): Likewise.
12798 (modules-names): Likewise.
12800 * po/eo.po: Add Esperanto translation from translation project.
12802 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12803 merged with constructor/destructor.
12804 (init_array): Likewise.
12805 * elf/tst-array2dep.c (fini_array): Likewise.
12806 (init_array): Likewise.
12808 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12810 * manual/message.texi: Delete @cartouche tags.
12812 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12814 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12816 * sysdeps/mach/hurd/fsync.c: Likewise.
12818 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12819 [_POSIX_REALTIME_SIGNALS]: Change condition to
12820 [_POSIX_REALTIME_SIGNALS > 0].
12822 2012-10-27 Andreas Jaeger <aj@suse.de>
12824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12825 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12827 [__WORDSIZE != 64]: Likewise.
12829 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12831 * iconvdata/tst-table.sh: Remove ${SHELL}.
12832 * iconvdata/tst-tables.sh: Likewise.
12834 2012-10-25 David S. Miller <davem@davemloft.net>
12836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12837 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12842 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12843 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12844 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12847 2012-10-25 Roland McGrath <roland@hack.frob.com>
12849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12850 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12853 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12854 Jim Blandy <jimb@codesourcery.com>
12856 * scripts/cross-test-ssh.sh: New file.
12857 * manual/install.texi (Configuring and compiling): Document use of
12859 * INSTALL: Regenerated.
12861 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12863 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12866 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12868 * Makeconfig (run-program-prefix): Fix comment.
12870 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12871 Jim Blandy <jimb@codesourcery.com>
12873 * Makeconfig (test-wrapper): New variable,
12874 (test-wrapper-env): Likewise.
12875 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12876 (run-built-tests): Define to yes.
12877 (run-program-prefix): Use $(test-wrapper).
12878 (built-program-cmd): Likewise.
12879 * Rules (make-test-out): Use $(test-wrapper-env) and
12880 $(host-built-program-cmd).
12881 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12882 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12884 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12885 $(test-wrapper-env) to tst-rtld-load-self.sh.
12886 ($(objpfx)order2.out): Use $(test-wrapper).
12887 ($(objpfx)tst-initorder.out): Likewise.
12888 ($(objpfx)tst-initorder2.out): Likewise.
12889 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12890 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12891 (test_wrapper_env): New variable. Use it to run ld.so.
12892 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12893 Use it to run ld.so.
12894 (test_wrapper_env): Likewise.
12895 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12896 $(test-wrapper) to run-iconv-test.sh.
12897 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12898 (ICONV): Use $test_wrapper.
12899 * posix/Makefile ($(objpfx)globtest.out): Pass
12900 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12901 globtest.sh, not $(run-program-prefix).
12902 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12903 (test_wrapper): Likewise.
12904 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12905 set together with run_via_rtld_prefix.
12906 (run_program_prefix): Define in terms of test_wrapper and
12907 run_via_rtld_prefix.
12909 2012-10-24 Roland McGrath <roland@hack.frob.com>
12911 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12912 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12916 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12917 Declare __clock_getres, __clock_gettime, __clock_settime,
12918 __clock_nanosleep, and __clock_getcpuclockid.
12919 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12920 Remove librt_hidden_def (clock_gettime).
12921 * sysdeps/unix/clock_gettime.c: Likewise.
12922 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12924 * rt/clock_getres.c: Define __clock_getres as an alias.
12925 * sysdeps/posix/clock_getres.c: Likewise.
12926 * rt/clock_settime.c: Define __clock_settime as an alias.
12927 * sysdeps/unix/clock_settime.c: Likewise.
12928 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12929 * sysdeps/unix/clock_nanosleep.c: Likewise.
12930 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12931 * rt/clock-compat.c: New file.
12932 * rt/Makefile (librt-routines): Add clock-compat and move
12933 $(clock-routines) to ...
12934 (routines): ... here, new variable.
12935 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12936 Don't add get_clockfreq here.
12937 * rt/Versions (libc: GLIBC_2.17): New version set.
12938 Add clock_* symbols here.
12939 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12941 (GLIBC_2.17): Add clock_* symbols.
12942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12953 * NEWS: Mention the move.
12955 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12956 Use __open, __read, __close rather than their public counterparts.
12957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12958 (__get_clockfreq_via_cpuinfo): Likewise.
12959 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12960 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12962 * config.h.in (HAVE_IFUNC): New #undef.
12963 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12965 * configure: Regenerated.
12967 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12969 * configure.in: Move READELF check to start of file.
12970 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12971 libc_cv_asm_gnu_indirect_function in the process.
12972 * configure: Regenerated.
12974 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12976 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12977 send the output to /dev/null.
12978 (libc_cv_cc_with_libunwind): Likewise.
12979 (libc_cv_as_noexecstack): Likewise.
12980 * configure: Regenerate.
12982 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12984 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12986 * posix/globtest.sh (TMPDIR): Do not set.
12987 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12988 (testout): Likewise.
12990 2012-10-24 Andreas Jaeger <aj@suse.de>
12992 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12993 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12994 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12995 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12996 posix_fadvise64, posix_fallocate64.
12998 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12999 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13000 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13002 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13004 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13007 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13008 <bits/fcntl-linux.h>.
13009 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13012 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13013 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13014 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13015 [__WORDSIZE != 64]: Likewise.
13017 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13019 * Makeconfig (run-built-tests): New variable.
13020 * Rules [$(cross-compiling) = yes]: Change condition to
13021 [$(run-built-tests) = no].
13022 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13023 to [$(run-built-tests) = yes].
13024 * elf/Makefile [$(cross-compiling) = no]: Likewise
13025 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13026 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13027 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13028 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13029 * io/Makefile [$(cross-compiling) = no]: Likewise.
13030 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13031 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13032 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13033 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13034 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13035 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13036 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13037 * string/Makefile [$(cross-compiling) = no]: Likewise.
13039 * posix/Makefile ($(objpfx)globtest.out): Pass
13040 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13041 $(rtld-installed-name).
13042 * posix/globtest.sh (elf_objpfx): Remove variable.
13043 (rtld_installed_name): Likewise.
13044 (library_path): Likewise.
13045 (run_program_prefix): New variable. Use for running globtest
13048 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13049 Joseph Myers <joseph@codesourcery.com>
13051 * Makeconfig (host-built-program-cmd): New variable.
13052 * elf/Makefile (tst-stackguard1-ARGS): Use
13053 $(host-built-program-cmd).
13054 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13055 (tst-spawn-ARGS): Likewise.
13056 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13058 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13059 Jim Blandy <jimb@codesourcery.com>
13061 * Makeconfig (run-via-rtld-prefix): New variable.
13062 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13063 (built-program-cmd): Likewise.
13065 2012-10-22 Andreas Jaeger <aj@suse.de>
13067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13068 __O_RSYNC if it exists, otherwise to O_SYNC.
13070 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13071 Joseph Myers <joseph@codesourcery.com>
13073 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13075 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13077 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13080 2012-10-22 Andreas Jaeger <aj@suse.de>
13082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13087 bits/fcntl-linux.h.
13089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13090 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13097 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13098 Joseph Myers <joseph@codesourcery.com>
13100 * config.make.in (NM): New variable.
13102 2012-10-21 Andreas Jaeger <aj@suse.de>
13104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13105 definitions and declarations that are provided by
13106 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13108 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13111 * elf/Makefile (tests-static): Add tst-leaks1-static.
13112 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13113 ($(objpfx)tst-leaks1-static): New rule.
13114 ($(objpfx)tst-leaks1-static-mem): Likewise.
13115 (tst-leaks1-static-ENV): New macro.
13116 * elf/dl-open.c (dl_open_worker): Check the main application
13117 only if SHARED is defined.
13118 * elf/tst-leaks1-static.c: New file.
13120 2012-10-20 Andreas Jaeger <aj@suse.de>
13122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13123 generic values for Linux.
13124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13125 and declarations that are provided by <bits/fcntl-linux.h> and
13126 include <bits/fcntl-linux.h>.
13127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13130 2012-10-20 Roland McGrath <roland@hack.frob.com>
13132 * io/fcntl.h: Move include of <bits/types.h> to the top and
13133 include it unconditionally.
13135 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13137 * wcsmbs/Makefile (tests-ifunc): New variable.
13138 (tests): Add $(tests-ifunc).
13139 * wcsmbs/test-wcschr-ifunc.c: New file.
13140 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13141 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13142 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13143 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13144 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13146 * string/Makefile (tests-ifunc): New variable.
13147 (tests): Add $(tests-ifunc).
13148 * string/test-memccpy.c (TEST_NAME): New macro.
13149 * string/test-memchr.c (TEST_NAME): Likewise.
13150 * string/test-memcmp.c (TEST_NAME): Likewise.
13151 * string/test-memcpy.c (TEST_NAME): Likewise.
13152 * string/test-memmem.c (TEST_NAME): Likewise.
13153 * string/test-memmove.c (TEST_NAME): Likewise.
13154 * string/test-memset.c (TEST_NAME): Likewise.
13155 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13156 * string/test-stpcpy.c (TEST_NAME): Likewise.
13157 * string/test-stpncpy.c (TEST_NAME): Likewise.
13158 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13159 * string/test-strcasestr.c (TEST_NAME): Likewise.
13160 * string/test-strcat.c (TEST_NAME): Likewise.
13161 * string/test-strchr.c (TEST_NAME): Likewise.
13162 * string/test-strcmp.c(TEST_NAME): Likewise.
13163 * string/test-strcpy.c (TEST_NAME): Likewise.
13164 * string/test-strcspn.c (TEST_NAME): Likewise.
13165 * string/test-strlen.c (TEST_NAME): Likewise.
13166 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13167 * string/test-strncmp.c (TEST_NAME): Likewise.
13168 * string/test-strncpy.c (TEST_NAME): Likewise.
13169 * string/test-strnlen.c (TEST_NAME): Likewise.
13170 * string/test-strpbrk.c (TEST_NAME): Likewise.
13171 * string/test-strrchr.c (TEST_NAME): Likewise.
13172 * string/test-strspn.c (TEST_NAME): Likewise.
13173 * string/test-strstr.c (TEST_NAME): Likewise.
13174 * string/test-bcopy-ifunc.c: New file.
13175 * string/test-bzero-ifunc.c: Likewise.
13176 * string/test-memccpy-ifunc.c: Likewise.
13177 * string/test-memchr-ifunc.c: Likewise.
13178 * string/test-memcmp-ifunc.c: Likewise.
13179 * string/test-memcpy-ifunc.c: Likewise.
13180 * string/test-memmem-ifunc.c: Likewise.
13181 * string/test-memmove-ifunc.c: Likewise.
13182 * string/test-mempcpy-ifunc.c: Likewise.
13183 * string/test-memset-ifunc.c: Likewise.
13184 * string/test-rawmemchr-ifunc.c: Likewise.
13185 * string/test-stpcpy-ifunc.c: Likewise.
13186 * string/test-stpncpy-ifunc.c: Likewise.
13187 * string/test-strcasecmp-ifunc.c: Likewise.
13188 * string/test-strcasestr-ifunc.c: Likewise.
13189 * string/test-strcat-ifunc.c: Likewise.
13190 * string/test-strchr-ifunc.c: Likewise.
13191 * string/test-strchrnul-ifunc.c: Likewise.
13192 * string/test-strcmp-ifunc.c: Likewise.
13193 * string/test-strcpy-ifunc.c: Likewise.
13194 * string/test-strcspn-ifunc.c: Likewise.
13195 * string/test-strlen-ifunc.c: Likewise.
13196 * string/test-strncasecmp-ifunc.c: Likewise.
13197 * string/test-strncat-ifunc.c: Likewise.
13198 * string/test-strncmp-ifunc.c: Likewise.
13199 * string/test-strncpy-ifunc.c: Likewise.
13200 * string/test-strnlen-ifunc.c: Likewise.
13201 * string/test-strpbrk-ifunc.c: Likewise.
13202 * string/test-strrchr-ifunc.c: Likewise.
13203 * string/test-strspn-ifunc.c: Likewise.
13204 * string/test-strstr-ifunc.c: Likewise.
13206 * debug/Makefile (tests-ifunc): New variable.
13207 (tests): Add $(tests-ifunc).
13208 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13209 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13210 * debug/test-stpcpy_chk-ifunc.c: New file.
13211 * debug/test-strcpy_chk-ifunc.c: Likewise.
13213 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13216 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13217 header is not read in.
13219 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13221 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13222 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13223 directly. Pass built executable to script as
13224 $(built-program-cmd).
13225 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13226 $testprogram without using LD_LIBRARY_PATH and $ldso.
13228 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13229 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13230 $(rtld-installed-name).
13231 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13232 (rtld_installed_name): Likewise.
13233 (library_path): Likewise.
13234 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13235 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13236 $(run-program-prefix) to tst-tables.sh.
13237 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13238 it to run tst-table-from and tst-table-to.
13239 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13240 Pass it to tst-table.sh.
13241 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13242 $(run-program-prefix) to tst-gettext.sh.
13243 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13245 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13247 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13248 to run tst-gettext.
13249 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13250 to run tst-gettext2.
13251 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13252 to run tst-translit.
13253 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13254 $(run-program-prefix) to tst-mtrace.sh.
13255 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13257 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13258 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13259 $(rtld-installed-name).
13260 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13261 (rtld_installed_name): Likewise.
13262 (run_program_prefix): New variable. Use it to run wordexp-test.
13264 * Makeconfig (ARCH): Remove all definitions.
13265 (machine): Likewise.
13266 [ARCH]: Remove conditional code.
13267 [!objdir]: Give error.
13268 [!objdir] (objpfx): Remove.
13269 [!objdir] (common-objpfx): Likewise.
13270 [!objdir] (common-objdir): Likewise.
13271 * configure.in (config_makefile): Remove. Hardcode Makefile in
13272 AC_CONFIG_FILES call.
13273 * configure: Regenerated.
13276 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13278 (testout): Likewise.
13280 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13281 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13282 $(rtld-installed-name).
13283 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13284 (rtld_installed_name): Likwise.
13285 (runit): Remove function.
13286 (run_getconf): New variable, Use it for running getconf binary.
13288 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13291 * string/test-memmem.c (check_result): New function.
13292 (do_one_test): Use it.
13293 (check1): New function.
13294 (test_main): Use it.
13296 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13298 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13300 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13302 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13303 (_G_LSEEK64): Likewise.
13304 (_G_MMAP64): Likewise.
13305 (_G_FSTAT64): Likewise.
13306 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13307 (_G_LSEEK64): Likewise.
13308 (_G_MMAP64): Likewise.
13309 (_G_FSTAT64): Likewise.
13310 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13311 unconditional. Call __mmap64 directly.
13312 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13313 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13314 __lseek64 directly.
13315 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13316 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13318 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13319 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13320 __lseek64 directly.
13321 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13322 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13323 __lseek64 directly.
13324 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13325 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13326 __lseek64 directly.
13327 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13328 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13329 __fxstat64 directly.
13330 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13331 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13333 (freopen64) [!_G_OPEN64]: Remove conditional code.
13334 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13336 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13337 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13339 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13340 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13342 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13343 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13345 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13346 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13348 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13349 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13351 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13352 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13354 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13356 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13359 * manual/memory.texi (Malloc Tunable Parameters): Add note
13360 about free list pointers overwriting some perturb bytes.
13361 Wording suggested by Roland McGrath.
13363 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13365 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13366 (lgamma_test): Likewise.
13367 (tgamma_test): Likewise.
13369 2012-10-16 Florian Weimer <fweimer@redhat.com>
13372 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13373 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13375 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13377 * NEWS: Mention BZ #14716.
13378 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13379 when removing AVAILABLE1_USES_J macro.
13381 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13383 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13384 (__bswap_64): __uint64_t for unsigned 64-bit int.
13386 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13388 * include/string.h (memmem): Declare libc hidden alias.
13389 * string/memmem.c (memmem): Define libc hidden alias.
13390 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13391 __read, __close instead of open, read, close.
13393 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13396 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13398 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13399 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13400 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13402 (__rawmemchr_sse2): Likewise.
13403 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13404 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13405 (__strchr_sse2): Likewise.
13406 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13407 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13408 (__strcasecmp_sse2): Likewise.
13409 (__strncasecmp_sse2): Likewise.
13410 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13411 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13412 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13413 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13414 (__strrchr_sse2): Likewise.
13415 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13417 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13418 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13419 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13420 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13421 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13422 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13423 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13424 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13425 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13426 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13427 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13428 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13429 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13430 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13431 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13432 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13433 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13434 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13435 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13436 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13437 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13438 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13439 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13440 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13441 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13442 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13443 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13444 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13445 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13446 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13448 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13450 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13451 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13452 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13453 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13455 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13457 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13458 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13459 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13460 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13462 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13463 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13464 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13465 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13466 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13467 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13468 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13469 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13470 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13471 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13472 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13473 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13474 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13475 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13476 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13478 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13479 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13480 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13481 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13485 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13487 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13488 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13489 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13490 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13491 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13492 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13493 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13494 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13495 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13496 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13501 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13502 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13504 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13505 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13506 * include/ifunc-impl-list.h: New file.
13507 * misc/ifunc-impl-list.c: Likewise.
13508 * misc/Makefile (routines): Add ifunc-impl-list.
13509 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13510 * string/test-string.h: Include <ifunc-impl-list.h>.
13511 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13512 impl_array): New variables.
13513 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13515 (test_init): Call __libc_ifunc_impl_list to initialize
13516 func_list if TEST_IFUNC and TEST_NAME are defined.
13518 * string/Makefile (strop-tests): Add bcopy and bzero.
13519 * string/test-bcopy.c: New file.
13520 * string/test-bzero.c: Likewise.
13521 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13523 * string/test-memset.c: Support bzero test if TEST_BZERO is
13525 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13527 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13529 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13532 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13534 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13535 * configure: Regenerated.
13537 * Makeconfig (+link-static-before-libc): Don't include
13538 $(link-static-libc).
13540 * libio/libio.h (_IO_pos_t): Remove.
13542 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13544 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13547 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13549 * crypt/crypt-entry.c: Include fips-private.h.
13550 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13551 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13552 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13553 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13555 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13557 * crypt/crypt-private.h: Include stdbool.h.
13558 (_ufc_setup_salt_r): Return bool.
13559 * crypt/crypt-entry.c: Include errno.h.
13560 (__crypt_r): Return NULL with EINVAL for bad salt.
13561 * crypt/crypt_util.c (bad_for_salt): New.
13562 (_ufc_setup_salt_r): Check that salt is long enough and within
13563 the specified alphabet.
13564 * crypt/badsalttest.c: New file.
13565 * crypt/Makefile (tests): Add it.
13566 ($(objpfx)badsalttest): New.
13568 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13570 * NEWS: Add entry for BZ #14602.
13572 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13574 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13576 * math/libm-test.inc: Update comment listing what functions and
13578 (isgreater_test): New function.
13579 (isgreaterequal_test): Likewise.
13580 (isless_test): Likewise.
13581 (islessequal_test): Likewise.
13582 (islessgreater_test): Likewise.
13583 (isunordered_test): Likewise.
13584 (main): Call the new functions.
13586 2012-10-09 Roland McGrath <roland@hack.frob.com>
13588 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13589 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13590 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13591 * sysdeps/i386/configure: Regenerated.
13592 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13593 * sysdeps/mach/configure: Regenerated.
13594 * sysdeps/mach/hurd/configure: Regenerated.
13595 * sysdeps/powerpc/configure: Regenerated.
13596 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13597 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13598 * sysdeps/s390/s390-32/configure: Regenerated.
13599 * sysdeps/s390/s390-64/configure: Regenerated.
13600 * sysdeps/sh/configure: Regenerated.
13601 * sysdeps/sparc/configure: Regenerated.
13602 * sysdeps/unix/sysv/linux/configure: Regenerated.
13603 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13604 * sysdeps/x86_64/configure: Regenerated.
13606 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13607 defined. Don't check if MAP is NULL.
13609 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13611 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13612 (_G_stat64): Likewise.
13613 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13614 (_G_stat64): Likewise.
13615 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13616 instead of struct _G_stat64.
13617 * libio/fileops.c (mmap_remap_check): Likewise.
13618 (decide_maybe_mmap): Likewise.
13619 (_IO_new_file_seekoff): Likewise.
13620 (_IO_file_stat): Likewise.
13621 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13623 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13624 instead of struct _G_stat64.
13625 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13627 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13630 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13632 (CHECK_EOL): New macro.
13633 (two_way_short_needle): Check beginning of haystack for EOL. Use
13635 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13636 Replace with CHECK_EOL.
13637 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13638 Replace with CHECK_EOL.
13640 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13642 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13644 * math/libm-test.inc: Update comment listing what functions and
13646 (finite_test): New function.
13647 (isinf_test): Likewise.
13648 (isnan_test): Likewise.
13649 (fpclassify_test): Test subnormal input.
13650 (isfinite_test): Likewise.
13651 (isnormal_test): Likewise.
13652 (main): Call the new functions.
13654 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13657 * Makerules (%.dynsym): Force C locale when running
13658 $(OBJDUMP) --dynamic-syms.
13660 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13662 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13665 2012-10-06 David S. Miller <davem@davemloft.net>
13667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13668 upper 32-bits of the length value in %o2 since we use branch-on-register
13669 tests which consider the entire 64-bit register.
13671 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13673 * string/test-strstr.c (check2): Add a test for page boundary.
13675 2012-10-05 David S. Miller <davem@davemloft.net>
13677 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13678 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13680 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13682 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13683 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13684 and bzero when HWCAP_SPARC_CRYPTO is present.
13686 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13689 * string/test-strstr.c (check2): New function.
13690 (test_main): Call check2.
13692 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13694 * string/bug-strcasestr1.c (do_test): Moved to ...
13695 * string/test-strcasestr.c (check1): Here. New function.
13696 (do_one_test): Break out result checking code into ...
13697 (check_result): This. New function.
13698 (do_one_test): Call check_result.
13699 (test_main): Call check1.
13700 * string/bug-strchr1.c (do_test): Moved to ...
13701 * string/test-strchr.c (check1): Here. New function.
13702 (do_one_test): Break out result checking code into ...
13703 (check_result): This. New function.
13704 (do_one_test): Call check_result.
13705 (test_main): Call check1.
13706 * string/bug-strstr1.c (main): Moved to ...
13707 * string/test-strstr.c (check1): Here. New function.
13708 (do_one_test): Break out result checking code into ...
13709 (check_result): This. New function.
13710 (do_one_test): Call check_result.
13711 (test_main): Call check1.
13712 * string/bug-strcasestr1.c: Removed.
13713 * string/bug-strchr1.c: Likewise.
13714 * string/bug-strstr1.c: Likewise.
13716 * elf/Makefile (dl-routines): Add hwcaps.
13717 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13718 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13719 (_dl_important_hwcaps): Moved to ...
13720 * elf/dl-hwcaps.c: Here. New file.
13721 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13724 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13725 if IS_IN_rtld isn't defined.
13727 * elf/dl-support.c (_dl_sysinfo_map): New.
13728 Include "get-dynamic-info.h" and "setup-vdso.h".
13729 (_dl_non_dynamic_init): Call setup_vdso.
13730 * elf/dynamic-link.h: Don't include <assert.h>.
13731 (elf_get_dynamic_info): Moved to ...
13732 * elf/get-dynamic-info.h: Here. New file.
13733 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13734 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13735 * elf/setup-vdso.h: Here. New file.
13736 * elf/rtld.c: Include "setup-vdso.h".
13737 (dl_main): Call setup_vdso.
13739 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13741 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13742 creal in comment listing functions tested. List finite, isinf,
13743 isnan, isless, islessequal, isgreater, isgreaterequal,
13744 islessgreater, isunordered, lgamma_r and pow10 as functions and
13745 macros not tested. Mention which functions not tested are aliases
13746 for other functions. Fix typo. Note that signs of NaNs are not
13749 * scripts/config.guess: Update from config.git.
13750 * scripts/config.sub: Likewise.
13752 2012-10-04 Roland McGrath <roland@hack.frob.com>
13754 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13755 * misc/madvise.c (madvise): Renamed to __madvise.
13756 Make madvise a weak alias.
13757 * include/sys/mman.h: Declare __madvise.
13758 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13759 * sysdeps/unix/syscalls.list
13760 (madvise): Make __madvise the strong name, and madvise a weak alias.
13761 * sysdeps/unix/sysv/linux/syscalls.list
13762 (madvise, mmap): Remove redundant entries.
13763 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13764 * malloc/malloc.c (mtrim): Likewise.
13765 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13767 2012-10-03 Roland McGrath <roland@hack.frob.com>
13769 * sysdeps/mach/hurd/dl-cache.c: File removed.
13770 * config.h.in (USE_LDCONFIG): New #undef.
13771 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13772 * configure: Regenerated.
13773 * elf/Makefile (dl-routines): Add dl-cache only under
13774 [$(use-ldconfig) = yes].
13775 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13776 cache on [USE_LDCONFIG].
13777 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13779 * elf/rtld.c (dl_main): Likewise.
13781 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13783 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13784 _SC_LEVEL4_CACHE_LINESIZE.
13786 2012-10-03 Roland McGrath <roland@hack.frob.com>
13788 * sysdeps/unix/bsd/confstr.h: File removed.
13790 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13792 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13795 2012-10-02 Roland McGrath <roland@hack.frob.com>
13797 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13798 Make 'mapoff' field ElfW(Off) rather than off_t.
13800 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13802 * nscd/Makefile: Remove nscd-cflags and all its users.
13803 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13804 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13807 * malloc.c (malloc_printerr): Clarify error message.
13809 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13813 Set bit_FMA_Usable if FMA is supported.
13814 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13816 (bit_FMA4_Usable): Updated.
13817 (index_FMA_Usable): New macro.
13818 (CPUID_FMA): Likewise
13819 (HAS_FMA): Defined with bit_FMA_Usable.
13821 2012-10-01 Roland McGrath <roland@hack.frob.com>
13823 * bits/types.h (__swblk_t): Type removed.
13824 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13825 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13827 (__SWBLK_T_TYPE): Likewise.
13828 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13829 (__SWBLK_T_TYPE): Likewise.
13830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13831 (__SWBLK_T_TYPE): Likewise.
13832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13833 (__SWBLK_T_TYPE): Likewise.
13835 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13836 Honza Horak <hhorak@redhat.com>
13838 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13839 (xdr_mapname): Use YPMAXMAP as maxsize.
13840 (xdr_peername): Use YPMAXPEER as maxsize.
13841 (xdr_keydat): Use YPAXRECORD as maxsize.
13842 (xdr_valdat): Use YPMAXRECORD as maxsize.
13844 2012-10-01 Roland McGrath <roland@hack.frob.com>
13846 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13848 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13849 * csu/init-first.c: ... here.
13850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13851 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13852 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13853 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13854 * sysdeps/i386/init-first.c: File removed.
13855 * sysdeps/sh/init-first.c: File removed.
13857 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13861 if x * y might underflow to zero and z is zero.
13862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13864 * math/libm-test.inc (min_subnorm_value): New variable.
13865 (fma_test): Add more tests.
13866 (fma_test_towardzero): Likewise.
13867 (fma_test_downward): Likewise
13868 (fma_test_upward): Likewise.
13869 (initialize): Set min_subnorm_value.
13871 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13877 mode for addition resulting in exact zero.
13878 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13883 * math/libm-test.inc (fma_test): Add more tests.
13884 (fma_test_towardzero): New function.
13885 (fma_test_downward): Likewise.
13886 (fma_test_upward): Likewise.
13887 (main): Call the new functions.
13889 2012-09-28 David S. Miller <davem@davemloft.net>
13891 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13893 2012-09-28 Roland McGrath <roland@hack.frob.com>
13895 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13896 instead of SIGALRM.
13898 * sysdeps/gnu/_G_config.h: Moved to ...
13899 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13900 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13901 * sysdeps/generic/_G_config.h: ... here.
13903 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13905 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13907 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13908 Conditionalize target on [libnss_test1.so-version].
13910 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13912 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13913 (elfobjdir): Move out of conditionals.
13915 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13916 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13917 (__nss_lookup_function): Conditionalize label remove_from_tree on
13918 [!DO_STATIC_NSS || SHARED], matching its only use.
13920 2012-09-28 David S. Miller <davem@davemloft.net>
13922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13923 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13925 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13929 when HWCAP_SPARC_CRYPTO is present.
13931 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13933 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13935 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13938 * stdio-common/vfprintf.c (process_string_arg): Revert
13941 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13943 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13945 * stdio-common/tst-sprintf.c: Include <locale.h>
13946 (main): Test sprintf's handling of incomplete multibyte
13949 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13951 * elf/dl-runtime.c (VERSYMIDX): Removed.
13952 * elf/dl-version.c (VERSYMIDX): Likewise.
13953 * elf/do-rel.h (VERSYMIDX): Likewise.
13954 (VALIDX): Likewise.
13955 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13956 * elf/rtld.c (VALIDX): Likewise.
13957 (ADDRIDX): Likewise.
13958 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13959 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13960 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13961 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13962 (VALIDX): Likewise.
13963 (ADDRIDX): Likewise.
13965 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13967 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13969 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13972 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13974 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13975 addresses are in the same scope as 192.0.2/24.
13976 * posix/gai.conf: Document new scope table defaults.
13978 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13981 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13982 for ftell. Compute offsets from write pointers instead.
13983 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13985 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13988 * libio/Makefile (tests): New test case tst-fseek.
13989 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13990 combination works in wide mode.
13991 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13992 state when the external buffer state changes.
13994 2012-09-27 David S. Miller <davem@davemloft.net>
13997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13998 pass reloc->r_addend in as the 'high' argument to
13999 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14003 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14005 * rt/tst-aio2.c: Include <pthread.h>.
14006 * rt/tst-aio3.c: Likewise.
14008 2012-09-27 Steve Ellcey <sellcey@mips.com>
14010 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14012 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14014 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14015 contents on [SHARED].
14017 2012-09-26 Marek Polacek <polacek@redhat.com>
14021 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14022 for C++ and GCC <4.3 as well as for non GCC compilers.
14024 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14028 2012-09-25 Roland McGrath <roland@hack.frob.com>
14030 * Makefile.in (all, install): Declare with .PHONY.
14031 Reported by Michael Hope <michael.hope@linaro.org>.
14033 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14035 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14036 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14038 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14040 (sydep_routines): Add the new and the internal functions.
14041 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14042 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14044 (GLIBC_2.17): Add the new function.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14046 (GLIBC_2.17): Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14048 (GLIBC_2.17): Likewise.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14050 (GLIBC_2.17): Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14053 2012-09-25 Alan Modra <amodra@gmail.com>
14055 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14056 Add release barrier before setting once_control to say
14057 initialisation is done. Add hints on lwarx. Use macro in
14059 (clear_once_control): Add release barrier.
14061 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14064 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14066 * math/s_clog10.c (__clog10): Likewise.
14067 * math/s_clog10f.c (__clog10f): Likewise.
14068 * math/s_clog10l.c (__clog10l): Likewise.
14069 * math/s_clogf.c (__clogf): Likewise.
14070 * math/s_clogl.c (__clogl): Likewise.
14071 * math/Makefile (libm-calls): Add x2y2m1.
14072 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14073 (__x2y2m1): Likewise.
14074 (__x2y2m1l): Likewise.
14075 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14076 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14079 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14080 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14081 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14082 * sysdeps/i386/fpu/libm-test-ulps: Update.
14083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14086 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14087 int as type of variable DEPTH.
14088 (glob): Use size_t instead of int as type of variables NEWCOUNT
14091 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14093 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14094 Add s_sincosf-sse2.
14095 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14096 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14097 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14098 macros for using routine as __sincosf_ia32.
14099 Use macro for function declaration and weak_alias.
14100 * sysdeps/i386/fpu/libm-test-ulps: Update.
14102 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14105 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14106 subnormal argument.
14107 * math/s_cexpf.c (__cexpf): Likewise.
14108 * math/s_csinf.c (__csinf): Likewise.
14109 * math/s_csinhf.c (__csinhf): Likewise.
14110 * math/s_ctanf.c (__ctanf): Likewise.
14111 * math/s_ctanhf.c (__ctanhf): Likewise.
14112 * math/s_ccosh.c (__ccoshf): Likewise.
14113 * math/s_cexp.c (__cexpl): Likewise.
14114 * math/s_csin.c (__csin): Likewise.
14115 * math/s_csinh.c (__csinh): Likewise.
14116 * math/s_ctan.c (__ctan): Likewise.
14117 * math/s_ctanh.c (ctanh): Likewise.
14118 * math/s_ccoshl.c (__ccoshl): Likewise.
14119 * math/s_cexpl.c (__cexpl): Likewise.
14120 * math/s_csinl.c (__csinl): Likewise.
14121 * math/s_csinhl.c (__csinhl): Likewise.
14122 * math/s_ctanl.c (__ctanl): Likewise.
14123 * math/s_ctanhl.c (__ctanhl): Likewise.
14125 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14127 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14128 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14129 (_IO_off_t): Define to __off_t, not _G_off_t.
14130 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14131 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14132 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14133 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14134 type of __dummy and __dummy2 fields.
14135 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14136 (_G_ssize_t): Likewise.
14137 (_G_off_t): Likewise.
14138 (_G_pid_t): Likewise.
14139 (_G_uid_t): Likewise.
14140 (_G_wchar_t): Likewise.
14141 (_G_wint_t): Likewise.
14142 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14143 (_G_ssize_t): Likewise.
14144 (_G_off_t): Likewise.
14145 (_G_pid_t): Likewise.
14146 (_G_uid_t): Likewise.
14147 (_G_wchar_t): Likewise.
14148 (_G_wint_t): Likewise.
14149 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14150 (_G_ssize_t): Likewise.
14151 (_G_off_t): Likewise.
14152 (_G_pid_t): Likewise.
14153 (_G_uid_t): Likewise.
14154 (_G_wchar_t): Likewise.
14155 (_G_wint_t): Likewise.
14157 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14159 * malloc/arena.c: Include malloc-sysdep.h.
14160 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14161 is sufficient to shrink the heap or an unmap is needed.
14162 * sysdeps/generic/malloc-sysdep.h: New file. Define
14163 new function check_may_shrink_heap.
14164 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14165 new function check_may_shrink_heap.
14167 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14169 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14172 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14174 * catgets/test-gencat.sh: Add "set -e".
14175 * elf/tst-pathopt.sh: Likewise.
14176 * grp/tst_fgetgrent.sh: Likewise.
14177 * iconvdata/run-iconv-test.sh: Likewise.
14178 * intl/tst-gettext.sh: Likewise.
14179 * intl/tst-gettext2.sh: Likewise.
14180 * intl/tst-gettext4.sh: Likewise.
14181 * intl/tst-gettext6.sh: Likewise.
14182 * intl/tst-translit.sh: Likewise.
14183 * io/ftwtest-sh: Likewise.
14184 * libio/test-freopen.sh: Likewise.
14185 * malloc/tst-mtrace.sh: Likewise.
14186 * posix/globtest.sh: Likewise.
14187 * posix/tst-getconf.sh: Likewise.
14188 * posix/wordexp-tst.sh: Likewise.
14189 * stdio-common/tst-printf.sh: Likewise.
14190 * stdio-common/tst-unbputc.sh: Likewise.
14191 * stdlib/tst-fmtmsg.sh: Likewise.
14192 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14193 * catgets/Makefile: Do not specify -e option when running
14194 testsuite shell scripts.
14195 * elf/Makefile: Likewise.
14196 * grp/Makefile: Likewise.
14197 * iconvdata/Makefile: Likewise.
14198 * intl/Makefile: Likewise.
14199 * io/Makefile: Likewise.
14200 * libio/Makefile: Likewise.
14201 * malloc/Makefile: Likewise.
14202 * posix/Makefile: Likewise.
14203 * stdio-common/Makefile: Likewise.
14204 * stdlib/Makefile: Likewise.
14205 * sysdeps/x86_64/Makefile: Likewise.
14207 * io/ftwtest-sh: Add copyright header.
14208 * posix/globtest.sh: Likewise.
14209 * posix/tst-getconf.sh: Likewise.
14210 * posix/wordexp-tst.sh: Likewise.
14211 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14213 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14216 * Makeconfig (+link): Defined as $(+link-static) if
14217 $(build-shared) isn't yes.
14218 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14220 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14222 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14225 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14226 new chunk size with MALLOC_ALIGN_MASK.
14228 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14231 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14233 (__printf_fphex): Determine rounding using get_rounding_mode and
14235 * stdio-common/tst-printf-round.c (struct hex_test): New
14237 (hex_tests): New variable.
14238 (test_hex_in_one_mode): New function.
14239 (do_test): Also run tests for hex float output.
14241 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14243 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14244 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14245 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14246 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14247 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14248 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14249 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14250 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14252 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14254 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14255 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14256 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14257 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14259 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14262 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14264 * elf/tst-rtld-load-self.sh: New test.
14265 * elf/Makefile: Run it.
14267 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14269 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14270 (tst-writev-ENV): Remove.
14271 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14273 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14275 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14277 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14279 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14281 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14283 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14284 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14288 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14291 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14292 * config.make.in (have-cpp-asm-debuginfo): Removed.
14293 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14294 * configure: Regenerated.
14296 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14299 * stdio-common/printf_fp.c: Include <stdbool.h> and
14301 (___printf_fp): Determine rounding using get_rounding_mode and
14303 * stdio-common/tst-printf-round.c: New file.
14304 * stdio-common/Makefile (tests): Add tst-printf-round.
14305 (link-libm): New variable.
14306 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14308 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14311 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14312 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14314 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14317 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14319 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14320 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14321 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14322 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14324 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14327 * include/rounding-mode.h: New file.
14328 * sysdeps/generic/get-rounding-mode.h: Likewise.
14329 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14330 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14331 (MAX_VALUE): New macro.
14332 (MIN_VALUE): Likewise.
14333 (overflow_value): New function.
14334 (underflow_value): Likewise.
14335 (round_and_return): Use overflow_value and underflow_value to
14336 determine return values in overflow and underflow cases. Use
14337 round_away to determine rounding depending on rounding mode.
14338 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14339 determine return values in overflow and underflow cases.
14340 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14341 (struct test_results): New structure.
14342 (struct test): Use struct test_results to store expected results
14343 for all rounding modes.
14344 (TEST): Include expected results for all rounding modes.
14345 (test_in_one_mode): New function.
14346 (do_test): Use test_in_one_mode to compute and check results.
14347 Check results for all rounding modes.
14348 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14351 2012-12-09 Allan McRae <allan@archlinux.org>
14353 * sysdeps/i386/fpu/libm-test-ulps: Update
14355 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14357 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14358 (_G_int32_t): Likewise.
14359 (_G_uint16_t): Likewise.
14360 (_G_uint32_t): Likewise.
14361 (_G_HAVE_BOOL): Likewise.
14362 (_G_HAVE_ATEXIT): Likewise.
14363 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14364 (_G_HAVE_IO_FILE_OPEN): Likewise.
14365 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14366 (_G_int32_t): Likewise.
14367 (_G_uint16_t): Likewise.
14368 (_G_uint32_t): Likewise.
14369 (_G_HAVE_BOOL): Likewise.
14370 (_G_HAVE_ATEXIT): Likewise.
14371 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14372 (_G_HAVE_IO_FILE_OPEN): Likewise.
14373 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14374 (_G_int32_t): Likewise.
14375 (_G_uint16_t): Likewise.
14376 (_G_uint32_t): Likewise.
14377 (_G_HAVE_BOOL): Likewise.
14378 (_G_HAVE_ATEXIT): Likewise.
14379 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14380 (_G_HAVE_IO_FILE_OPEN): Likewise.
14382 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14384 * csu/libc-tls.c: Update copyright years.
14386 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14388 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14389 [!_G_USING_THUNKS]: Remove conditional code.
14390 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14391 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14393 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14394 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14395 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14396 (_G_VTABLE_LABEL_PREFIX): Likewise.
14397 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14398 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14399 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14400 (_G_VTABLE_LABEL_PREFIX): Likewise.
14401 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14402 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14403 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14404 (_G_VTABLE_LABEL_PREFIX): Likewise.
14405 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14407 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14409 * libio/Makefile: Include ../Makeconfig before tests.
14410 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14411 only if $(build-shared) is yes.
14413 * iconv/gconv_db.c: Update copyright years.
14415 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14417 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14418 unwind info if defined PIC. Fix special cases description.
14419 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14421 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14423 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14425 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14427 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14429 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14432 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14433 (LDLIBS-tst-chk4): This.
14434 (LDFLAGS-tst-chk5): Renamed to ...
14435 (LDLIBS-tst-chk5): This.
14436 (LDFLAGS-tst-chk6): Renamed to ...
14437 (LDLIBS-tst-chk6): This.
14438 (LDFLAGS-tst-lfschk4): Renamed to ...
14439 (LDLIBS-tst-lfschk4): This.
14440 (LDFLAGS-tst-lfschk5): Renamed to ...
14441 (LDLIBS-tst-lfschk5): This.
14442 (LDFLAGS-tst-lfschk6): Renamed to ...
14443 (LDLIBS-tst-lfschk6): This.
14445 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14446 on $(common-objpfx)soversions.mk.
14448 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14451 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14454 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14456 * malloc/arena.c (arena_get_retry): New function that gets
14457 another arena for the caller to try its request on.
14458 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14459 current arena cannot fulfill the request.
14460 (__libc_memalign): Likewise.
14461 (__libc_memalign): Likewise.
14462 (__libc_pvalloc): Likewise.
14463 (__libc_calloc): Likewise.
14465 2012-09-05 John Tobey <john.tobey@gmail.com>
14468 * manual/arith.texi (Operations on Complex): Fix description
14469 of carg branch cut.
14471 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14474 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14478 * manual/memory.texi (Memory): Make order of menu items match
14481 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14483 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14484 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14485 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14487 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14489 * csu/libc-tls.c (static_dtv): Renamed to ...
14490 (_dl_static_dtv): This. Make it global.
14491 (_dl_initial_dtv): Removed.
14492 (__libc_setup_tls): Updated.
14493 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14494 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14497 2012-09-06 Petr Machata <pmachata@redhat.com>
14499 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14500 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14501 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14502 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14504 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14507 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14508 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14511 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14514 * Makeconfig (link-static-before-libc): Replace $(+prector)
14516 (link-static-after-libc): Replace $(+postctor) with
14518 (link-bounded): Replace $(+prector)/$(+postctor) with
14519 $(+prectorT)/$(+postctorT).
14520 (+prectorT): New macro.
14521 (+postctorT): Likewise.
14523 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14525 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14526 (round_str): Handle values above the maximum for IBM long double
14528 * stdlib/tst-strtod-round.c (tests): Regenerated.
14530 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14532 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14534 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14535 zarch_nohighgprs around the zarch optimized routines.
14536 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14537 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14541 2012-09-05 David S. Miller <davem@davemloft.net>
14543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14545 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14546 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14547 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14548 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14551 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14553 * malloc/arena.c: Fold copyright years.
14554 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14556 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14558 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14560 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14562 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14564 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14566 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14567 change internal state upon failure.
14569 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14571 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14572 * malloc/memusage.c (mmap): Likewise.
14573 (mmap64, mremap): Likewise. Adjust name in comment.
14575 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14577 * libio/fileops.c: Fix typos in comments.
14578 * libio/oldfileops.c: Likewise.
14579 * libio/wfileops.c: Likewise.
14581 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14584 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14585 (tst-malloc-usable-ENV): Set environment for test case.
14586 * malloc/hooks.c (malloc_check_get_size): New function to get
14588 * malloc/malloc.c (musable): Use malloc_check_get_size.
14589 * malloc/tst-malloc-usable.c: New test case.
14591 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14593 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14595 2012-09-05 Allan McRae <allan@archlinux.org>
14598 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14599 determine header location.
14600 * configure: Regenerated.
14602 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14604 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14606 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14607 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14609 (test): Regenerate.
14611 2012-09-04 David S. Miller <davem@davemloft.net>
14613 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14614 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14615 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14617 2012-09-04 Florian Weimer <fweimer@redhat.com>
14619 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14622 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14624 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14627 * libio/iogetdelim.c: Include <limits.h>.
14628 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14629 + len + 1 would overflow.
14631 2012-09-03 Andreas Jaeger <aj@suse.de>
14633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14634 * sysdeps/i386/fpu/libm-test-ulps: Update.
14636 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14638 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14639 Add s_sinf-sse2, s_conf-sse2.
14641 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14642 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14643 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14644 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14646 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14647 for using routine as __sinf_ia32.
14648 Use macro for function declaration and weak_alias.
14649 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14650 for using routine as __cosf_ia32.
14651 Use macro for function declaration and weak_alias.
14653 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14654 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14656 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14657 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14660 * math/libm-test.inc (cos_test): Add more test cases.
14661 (sin_test): Likewise.
14662 (sincos_test): Likewise.
14664 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14666 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14667 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14669 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14671 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14674 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14675 first element of the GOT.
14676 (elf_machine_load_address): Return the difference between
14677 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14679 2012-09-01 Allan McRae <allan@archlinux.org>
14682 * configure.in (AWK): Require gawk version 3.0 or later.
14683 * configure: Regenerated.
14685 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14687 * sysdeps/unix/sysv/linux/kernel-features.h
14688 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14690 [__NR_clock_getres]: Make code unconditional.
14691 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14692 (clock_getcpuclockid): Remove code left unreachable by removal of
14694 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14695 code unconditional.
14696 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14697 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14698 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14699 Make code unconditional.
14700 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14701 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14702 * sysdeps/unix/sysv/linux/clock_settime.c
14703 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14705 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14708 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14711 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14712 scripts/test-installation.pl.
14714 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14715 and $ld_so_version if it is set.
14717 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14721 failure if reading from procfs failed.
14722 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14724 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14726 * sysdeps/unix/sysv/linux/kernel-features.h
14727 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14728 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14729 Remove conditional code.
14730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14731 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14732 Remove conditional code.
14733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14734 * sysdeps/unix/sysv/linux/i386/fxstat.c
14735 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14737 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14738 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14740 * sysdeps/unix/sysv/linux/i386/lxstat.c
14741 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14742 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14743 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14744 Remove conditional code.
14745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14746 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14747 Remove conditional code.
14748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14749 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14750 <kernel-features.h>.
14751 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14753 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14754 Remove conditional code.
14755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14756 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14757 Remove conditional.
14759 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14762 * NEWS: Add fixed bug number.
14764 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14767 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14768 underflowing exponent in case of negative sign.
14769 * stdlib/tst-strtod-round-data: Add more tests.
14770 * stdlib/tst-strtod-round.c (tests): Regenerated.
14773 * stdlib/strtod_l.c (NDIG): Remove.
14774 (HEXNDIG): Likewise.
14775 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14776 smallest representable value.
14777 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14778 lie within an exact representation of 1/2 ulp of the result.
14779 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14781 (TENS_P9_IDX): Define unconditionally.
14782 (TENS_P9_SIZE): Likewise.
14783 (TENS_P10_IDX): Likewise.
14784 (TENS_P10_SIZE): Likewise.
14785 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14786 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14787 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14788 entries for 10^2^13 and 10^2^14.
14789 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14790 (TENS_P13_IDX): Define.
14791 (TENS_P13_SIZE): Likewise.
14792 (TENS_P14_IDX): Likewise.
14793 (TENS_P14_SIZE): Likewise.
14794 (_fpioconst_pow10): Change array size to
14795 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14797 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14798 1024]: Add entries for 10^2^13 and 10^2^14.
14799 [LAST_POW10 > _LAST_POW10]: Remove #error.
14800 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14801 (_fpioconst_pow10): Change array size to
14802 FPIOCONST_POW10_ARRAY_SIZE.
14803 * stdlib/gen-fpioconst.c: New file.
14804 * stdlib/gen-tst-strtod-round.c: Likewise.
14805 * stdlib/tst-strtod-round-data: Likewise.
14806 * stdlib/tst-strtod-round.c: Likewise.
14807 * stdlib/Makefile (tests): Add tst-strtod-round.
14810 * stdlib/strtod_l.c: Include <stdint.h>.
14811 (NDEBUG): Do not define.
14812 (round_and_return): Change EXPONENT parameter to type intmax_t.
14813 Rearrange calculations to avoid internal overflow possibilities.
14814 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14815 Rearrange calculations to avoid internal overflow possibilities.
14816 Assert that number fits inside MPNSIZE limbs.
14817 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14818 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14819 calculations and add assertions to avoid internal overflow
14820 possibilities. Add casts to avoid signed/unsigned operations.
14821 * stdlib/tst-strtod-overflow.c: New file.
14822 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14824 2012-08-25 Marek Polacek <polacek@redhat.com>
14826 * time/time.h: Fix some typos in comments.
14828 2012-08-23 Roland McGrath <roland@hack.frob.com>
14830 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14831 * posix/tst-rfc3484-2.c: Likewise.
14832 * posix/tst-rfc3484-3.c: Likewise.
14834 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14836 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14837 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14839 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14841 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14842 #include of fxstatat64.c.
14844 2012-08-22 Roland McGrath <roland@hack.frob.com>
14846 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14847 * shadow/getspent_r.c: Likewise.
14848 * shadow/getspnam.c: Likewise.
14849 * shadow/getspnam_r.c: Likewise.
14850 * gshadow/getsgent.c: Likewise.
14851 * gshadow/getsgent_r.c: Likewise.
14852 * gshadow/getsgnam.c: Likewise.
14853 * gshadow/getsgnam_r.c: Likewise.
14854 * inet/getnetbyad.c: Likewise.
14855 * inet/getnetbyad_r.c: Likewise.
14856 * inet/getnetbynm.c: Likewise.
14857 * inet/getnetbynm_r.c: Likewise.
14858 * inet/getnetent.c: Likewise.
14859 * inet/getnetent_r.c: Likewise.
14860 * inet/getproto.c: Likewise.
14861 * inet/getproto_r.c: Likewise.
14862 * inet/getprtent.c: Likewise.
14863 * inet/getprtent_r.c: Likewise.
14864 * inet/getprtname.c: Likewise.
14865 * inet/getprtname_r.c: Likewise.
14866 * inet/getrpcbyname.c: Likewise.
14867 * inet/getrpcbyname_r.c: Likewise.
14868 * inet/getrpcbynumber.c: Likewise.
14869 * inet/getrpcbynumber_r.c: Likewise.
14870 * inet/getrpcent.c: Likewise.
14871 * inet/getrpcent_r.c: Likewise.
14872 * inet/getaliasent.c: Likewise.
14873 * inet/getaliasent_r.c: Likewise.
14874 * inet/getaliasname.c: Likewise.
14875 * inet/getaliasname_r.c: Likewise.
14876 * nscd/getgrgid_r.c: Likewise.
14877 * nscd/getgrnam_r.c: Likewise.
14878 * nscd/gethstbyad_r.c: Likewise.
14879 * nscd/gethstbynm3_r.c: Likewise.
14880 * nscd/getpwnam_r.c: Likewise.
14881 * nscd/getpwuid_r.c: Likewise.
14882 * nscd/getsrvbynm_r.c: Likewise.
14883 * nscd/getsrvbypt_r.c: Likewise.
14884 * nscd/gai.c: Likewise.
14886 * configure.in (build_nscd): New substituted variable, set
14887 by --disable-build-nscd and defaults to $use_nscd.
14888 * configure: Regenerated.
14889 * config.make.in (build-nscd): New substituted variable.
14890 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14891 Change conditional to require [$(build-nscd) = yes] as well.
14892 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14895 * configure.in (use_nscd): New substituted variable, set by
14896 --disable-nscd. If enabled, define USE_NSCD.
14897 * configure: Regenerated.
14898 * config.h.in: Add USE_NSCD.
14899 * config.make.in (use-nscd): New substituted variable.
14900 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14901 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14902 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14903 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14904 (CFLAGS-getgrnam_r.c): Likewise.
14905 (CFLAGS-initgroups.c): Likewise.
14906 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14907 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14909 * inet/getnetgrent_r.c
14910 (nscd_setnetgrent): New function, broken out of ...
14911 (setnetgrent): ... here. Call it.
14912 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14913 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14914 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14915 * nscd/Makefile (routines, aux): Move definitions after include of
14916 Makeconfig. Conditionalize on [$(use-nscd) != no].
14917 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14918 Conditionalize on [USE_NSCD].
14919 (is_nscd, nscd_init_cb): Likewise.
14920 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14921 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14922 * nss/nss_db/db-init.c: Likewise.
14923 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14925 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14926 (make_request): Use it.
14927 (cache_valid_p): New function.
14928 (__check_pf): Use it.
14929 * NEWS: Add item for --disable-nscd.
14931 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14933 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14934 to support sed >= 4.2.1-20-ga9bf076.
14935 * configure: Regenerated.
14937 2012-08-22 Roland McGrath <roland@hack.frob.com>
14939 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14940 Conditionalize whole body on [IREL].
14942 2012-08-22 Jeff Law <law@redhat.com>
14945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14946 if the family is PF_UNSPEC.
14948 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14950 * Makerules (lib-version): Rename from V.
14951 (install-lib-nosubdir): Change V to lib-version.
14953 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14956 * powerpc32/power6/wcschr.c: New file.
14957 * powerpc32/power6/wcscpy.c: New file.
14958 * powerpc32/power6/wcsrchr.c: New file.
14959 * powerpc64/power6/wcschr.c: New file.
14960 * powerpc64/power6/wcscpy.c: New file.
14961 * powerpc64/power6/wcsrchr.c: New file.
14963 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14965 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14966 (two_way_short_needle): Use it.
14967 * string/strstr.c (AVAILABLE1_USES_J): Define.
14968 * string/strcasestr.c: Likewise.
14970 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14972 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14975 * NEWS: Add an entry.
14976 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14977 define their defaults.
14978 (two_way_short_needle): Detect end-of-string on-the-fly.
14979 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14980 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14981 * string/bug-strcasestr1.c: New test.
14982 * string/Makefile: Run it.
14984 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14987 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14988 the first character.
14990 2012-08-21 Roland McGrath <roland@hack.frob.com>
14992 * csu/elf-init.c (__libc_csu_irel): Function removed.
14993 * csu/libc-start.c (apply_irel): New function.
14994 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14996 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14998 * sysdeps/unix/sysv/linux/kernel-features.h
14999 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15000 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15001 <kernel-features.h>.
15002 [__NR_fadvise64_64]: Make code unconditional.
15003 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15004 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15005 !__NR_fadvise64_64)]: Likewise.
15006 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15007 !__NR_fadvise64_64))]: Likewise.
15008 [__NR_fadvise64]: Make code unconditional.
15009 [!__NR_fadvise64]: Remove conditional code.
15010 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15011 <kernel-features.h>.
15012 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15014 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15017 not include <kernel-features.h>.
15018 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15020 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15022 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15023 include <kernel-features.h>.
15024 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15026 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15029 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15031 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15032 slight instruction rearrangements per scrollpipe analysis.
15033 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15035 2012-08-20 Roland McGrath <roland@hack.frob.com>
15037 * manual/syslog.texi (syslog; vsyslog, closelog):
15038 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15039 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15041 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15042 DSOCAPS to match condition on defining it.
15044 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15046 * sysdeps/unix/sysv/linux/kernel-features.h
15047 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15049 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15050 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15052 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15053 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15055 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15056 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15058 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15059 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15061 * sysdeps/unix/sysv/linux/kernel-features.h
15062 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15063 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15065 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15066 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15067 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15068 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15069 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15070 Make code unconditional.
15071 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15072 (__mmap64) [!__NR_mmap2]: Likewise.
15073 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15074 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15075 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15076 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15077 [__NR_mmap2]: Make code unconditional.
15078 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15079 (__mmap64) [!__NR_mmap2]: Likewise.
15081 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15083 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15085 2012-08-18 Andreas Jaeger <aj@suse.de>
15087 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15089 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15091 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15092 * include/unistd.h (__have_sock_cloexec): Likewise.
15093 (__have_pipe2): Likewise.
15094 (__have_dup3): Likewise.
15096 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15099 * include/unistd.h (__have_pipe2): Change define into an extern int.
15100 (__have_dup3): Likewise.
15101 * socket/have_sock_cloexec.c: Include fcntl.h.
15102 (__have_pipe2): New variable.
15103 (__have_dup3): Likewise.
15105 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15107 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15109 2012-08-17 Marek Polacek <polacek@redhat.com>
15111 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15112 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15114 2012-08-17 Roland McGrath <roland@hack.frob.com>
15116 * configure.in: Add AC_SUBST for sysheaders.
15117 * configure: Regenerated.
15118 * config.make.in (sysheaders): New substituted variable.
15120 * sysdeps/unix/mkfifo.c: Moved ...
15121 * sysdeps/posix/mkfifo.c: ... here.
15122 * sysdeps/unix/mkfifoat.c: Moved ...
15123 * sysdeps/posix/mkfifoat.c: ... here.
15125 * sysdeps/unix/utime.c: Moved ...
15126 * sysdeps/posix/utime.c: ... here.
15128 * sysdeps/unix/time.c: Moved ...
15129 * sysdeps/posix/time.c: ... here.
15130 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15131 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15133 * sysdeps/unix/nice.c: Moved ...
15134 * sysdeps/posix/nice.c: ... here.
15136 * sysdeps/unix/alarm.c: Moved ...
15137 * sysdeps/posix/alarm.c: ... here.
15139 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15141 2012-08-17 Jeff Law <law@redhat.com>
15143 * intl/Makefile (codeset_mo): New variable.
15144 ($(codeset_mo)): New target.
15145 (tst-codeset.out): Depend on that. Remove explicit rule.
15146 (tst-gettext3.out, tst-gettext5.out): Likewise.
15147 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15148 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15149 * intl/tst-codeset.sh: Remove.
15150 * intl/tst-gettext3.sh: Likewise.
15151 * intl/tst-gettext5.sh: Likewise.
15153 2012-08-17 Roland McGrath <roland@hack.frob.com>
15155 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15156 * sysdeps/unix/syscalls.list: ... here.
15158 * sysdeps/posix/getaddrinfo.c
15159 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15160 (gaiconf_init, gaiconf_reload): Use them.
15161 [!_STATBUF_ST_NSEC]
15162 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15163 Define using time_t rather than struct timespec.
15165 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15166 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15168 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15170 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15171 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15174 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15175 __libc_cleanup_push argument.
15177 * bits/param.h: New file.
15178 * misc/sys/param.h: New file.
15179 * include/sys/param.h: New file.
15180 * misc/Makefile (headers): Add bits/param.h.
15181 * sysdeps/generic/sys/param.h: File removed.
15182 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15183 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15184 * sysdeps/mach/hurd/bits/param.h: New file.
15185 * sysdeps/mach/hurd/sys/param.h: File removed.
15187 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15190 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15192 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15193 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15196 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15197 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15198 rather than -D_IO_MTSAFE_IO conditionally.
15199 * stdio-common/Makefile (CPPFLAGS): Likewise.
15200 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15201 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15202 Use $(libio-mtsafe).
15203 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15204 of -D_IO_MTSAFE_IO.
15205 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15206 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15207 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15208 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15209 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15210 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15211 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15212 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15213 (CFLAGS-fread_u_chk.c): Likewise.
15214 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15215 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15216 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15217 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15218 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15219 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15220 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15221 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15222 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15224 * libio/Makefile: Test [$(libc-reentrant) = yes]
15225 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15228 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15229 * sysdeps/pthread/configure: File removed.
15230 * sysdeps/pthread/Makeconfig: New file.
15231 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15232 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15234 2012-08-16 Gary Benson <gbenson@redhat.com>
15236 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15237 unmapping the first object in a namespace.
15239 2012-08-16 Roland McGrath <roland@hack.frob.com>
15241 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15242 (__internal_setnetgrent): ... this. Add internal_function to
15243 definition. Add libc_hidden_def.
15244 (setnetgrent): Update caller.
15245 (internal_endnetgrent): Renamed to ...
15246 (__internal_endnetgrent): ... this. Add internal_function to
15247 definition. Add libc_hidden_def.
15248 (endnetgrent): Update caller.
15249 (internal_getnetgrent_r): Renamed to ...
15250 (__internal_getnetgrent_r): ... this. Add internal_function to
15251 definition. Add libc_hidden_def.
15252 (__getnetgrent_r): Update caller.
15253 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15255 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15257 * stdlib/longlong.h: Update from GCC.
15259 2012-08-16 Roland McGrath <roland@hack.frob.com>
15261 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15262 on _QL, which is set by umul_ppmm but never used.
15263 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15264 variables, which are set by GMP macros but never used.
15265 * stdio-common/_itowa.c (_itowa): Likewise.
15266 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15267 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15269 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15271 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15272 struct La_sh_regs is not constant.
15273 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15274 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15275 and struct La_sparc64_regs are not constant.
15277 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15279 * sysdeps/unix/sysv/linux/kernel-features.h
15280 (__ASSUME_POSIX_TIMERS): Remove.
15281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15282 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15283 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15284 Make code unconditional.
15285 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15286 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15287 Make code unconditional.
15288 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15289 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15290 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15291 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15292 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15293 Make code unconditional.
15294 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15295 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15296 (__libc_missing_posix_timers): Remove.
15298 2012-08-15 Roland McGrath <roland@hack.frob.com>
15300 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15301 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15303 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15305 * elf/dl-sym.c: Include <stdlib.h>.
15307 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15308 constants, which avoids warnings in 32-bit builds.
15310 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15311 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15313 * misc/lseek.c: File moved to ...
15314 * io/lseek.c: ... here.
15316 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15318 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15319 shifting LEN more than 31 bits at once.
15321 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15324 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15325 segmentation fault for a case of two empty input strings.
15326 * string/test-strncasecmp.c (check1): Renamed to...
15327 (bz12205): ...this.
15328 (bz14195): Add new testcase for two empty input strings and N > 0.
15329 (test_main): Call new testcase, adapt for renamed function.
15331 2012-08-15 Andreas Jaeger <aj@suse.de>
15334 * crypt/md5test2.c: New test, based on test supplied by Serge
15335 Belyshev <belyshev@depni.sinp.msu.ru>.
15336 * crypt/Makefile (xtests): Add md5test-giant..
15337 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15339 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15342 * crypt/md5.c (md5_process_block): Don't assume the buffer
15343 length is less than 2**32.
15344 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15345 length is less than 2**64.
15347 2012-08-15 Roland McGrath <roland@hack.frob.com>
15349 * string/str-two-way.h: Include <sys/param.h>.
15350 (MAX): Macro removed.
15352 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15353 Move #define and #undef of memmove to just before and after
15354 including <string.h>.
15356 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15357 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15358 and after including <string.h>. Move declarations of
15359 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15360 to before #include "string/memmove.c".
15362 * include/dirent.h: Declare __getdirentries.
15364 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15365 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15367 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15369 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15370 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15371 * sysdeps/i386/configure: Regenerated.
15372 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15373 STABS_CURRENT_FILE, and STABS_FUN.
15374 (END): Remove call to STABS_FUN_END.
15375 (STABS_CURRENT_FILE1): Delete.
15376 (STABS_CURRENT_FILE): Likewise.
15377 (STABS_FUN): Likewise.
15378 (STABS_FUN_END): Likewise.
15379 (STABS_FUN2): Likewise.
15380 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15381 * sysdeps/x86_64/configure: Regenerated.
15383 2012-08-14 Roland McGrath <roland@hack.frob.com>
15385 * elf/dl-open.c: Include <atomic.h>.
15386 * elf/dl-lookup.c: Likewise.
15388 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15390 * sysdeps/unix/sysv/linux/kernel-features.h
15391 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15392 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15394 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15396 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15397 condition on __ASSUME_CLONE_THREAD_FLAGS.
15399 2012-08-14 Andreas Jaeger <aj@suse.de>
15401 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15405 * include/atomic.h (atomic_exchange_and_add): Split into ...
15406 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15409 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15413 2012-08-13 Jeff Law <law@redhat.com>
15415 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15416 null byte in the output string.
15418 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15420 * sysdeps/unix/sysv/linux/kernel-features.h
15421 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15422 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15423 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15425 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15426 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15427 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15429 2012-08-09 Jeff Law <law@redhat.com>
15432 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15433 When avoid_arena is set, don't retry in the that arena. Pick the
15434 next one, whatever it might be.
15435 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15436 (arena_lock): Pass in new parameter to arena_get2.
15437 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15439 (__libc_malloc): Unify retrying after main arena failure with
15440 __libc_memalign version.
15441 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15443 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15446 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15447 to __redirect_strstr.
15448 (__strstr_sse42): Use typeof __redirect_strstr.
15449 (__strstr_ia32): Likewise.
15450 (__libc_strstr): New prototype.
15451 (strstr): Renamed to ...
15452 (__libc_strstr): This.
15453 (strstr): New strong alias of __libc_strstr.
15454 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15455 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15458 (__libc_time): New prototype.
15459 (time_ifunc): Replace time with __libc_time.
15460 (time): New strong alias and hidden definition of __libc_time.
15461 (__GI_time): Remove strong alias.
15462 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15463 Include <stddef.h>.
15464 (memmove): Redefined to __redirect_memmove.
15465 (__memmove_sse2): Use typeof __redirect_memmove.
15466 (__memmove_ssse3): Likewise.
15467 (__memmove_ssse3_back): Likewise.
15468 (__libc_memmove): New prototype.
15469 (memmove): Renamed to ...
15470 (__libc_memmove): This.
15471 (memmove): New strong alias of __libc_memmove.
15473 2012-08-08 Mark Salter <msalter@redhat.com>
15476 (R_MN10300_TLS_GD): Define.
15477 (R_MN10300_TLS_LD): Likewise.
15478 (R_MN10300_TLS_LDO): Likewise.
15479 (R_MN10300_TLS_GOTIE): Likewise.
15480 (R_MN10300_TLS_IE): Likewise.
15481 (R_MN10300_TLS_LE): Likewise.
15482 (R_MN10300_TLS_DTPMOD): Likewise.
15483 (R_MN10300_TLS_DTPOFF): Likewise.
15484 (R_MN10300_TLS_TPOFF): Likewise.
15485 (R_MN10300_SYM_DIFF): Likewise.
15486 (R_MN10300_ALIGN): Likewise.
15487 (R_MN10300_NUM): Update.
15489 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15494 2012-08-08 Roland McGrath <roland@hack.frob.com>
15496 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15498 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15499 sysdeps/unix -> sysdeps/posix move.
15500 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15502 2012-08-07 Allan McRae <allan@archlinux.org>
15505 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15506 (SUNOS_CPP): Likewise.
15507 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15509 (open_input): Call CPP using execvp.
15511 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15513 * sysdeps/unix/sysv/linux/kernel-features.h
15514 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15515 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15516 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15517 (__ASSUME_WAITID_SYSCALL): Likewise.
15518 * sysdeps/unix/sysv/linux/dl-execstack.c
15519 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15520 code unconditional.
15521 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15524 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15525 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15527 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15529 [__ASSUME_WAITID_SYSCALL]: Likewise.
15530 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15532 2012-08-07 Roland McGrath <roland@hack.frob.com>
15534 * sysdeps/unix/closedir.c: Renamed to ...
15535 * sysdeps/posix/closedir.c: ... here.
15536 * sysdeps/unix/dirfd.c: Renamed to ...
15537 * sysdeps/posix/dirfd.c: ... here.
15538 * sysdeps/unix/dirstream.h: Renamed to ...
15539 * sysdeps/posix/dirstream.h: ... here.
15540 * sysdeps/unix/fdopendir.c: Renamed to ...
15541 * sysdeps/posix/fdopendir.c: ... here.
15542 * sysdeps/unix/opendir.c: Renamed to ...
15543 * sysdeps/posix/opendir.c: ... here.
15544 * sysdeps/unix/readdir.c: Renamed to ...
15545 * sysdeps/posix/readdir.c: ... here.
15546 * sysdeps/unix/readdir_r.c: Renamed to ...
15547 * sysdeps/posix/readdir_r.c: ... here.
15548 * sysdeps/unix/rewinddir.c: Renamed to ...
15549 * sysdeps/posix/rewinddir.c: ... here.
15550 * sysdeps/unix/seekdir.c: Renamed to ...
15551 * sysdeps/posix/seekdir.c: ... here.
15552 * sysdeps/unix/telldir.c: Renamed to ...
15553 * sysdeps/posix/telldir.c: ... here.
15554 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15555 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15556 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15557 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15559 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15560 * bits/fcntl.h: ... here.
15562 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15564 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15565 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15566 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15567 (struct flock): Move l_start, l_len to the beginning.
15568 Use __pid_t for l_pid.
15569 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15570 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15571 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15572 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15573 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15574 [__USE_LARGEFILE64] (struct flock64): New type.
15575 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15577 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15578 * bits/dirent.h: ... here.
15580 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15581 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15583 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15586 Change from 2.6.0 to 2.6.16.
15587 * sysdeps/unix/sysv/linux/configure: Regenerated.
15588 * sysdeps/unix/sysv/linux/kernel-features.h
15589 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15590 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15592 (__ASSUME_UTIMES): Likewise.
15593 (__ASSUME_CLONE_STOPPED): Remove.
15594 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15595 architectures, not kernel version.
15596 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15597 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15598 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15599 (__ASSUME_WAITID_SYSCALL): Likewise.
15600 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15601 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15602 * README: State 2.6.16 as minimum Linux kernel version. Do not
15603 refer to older versions.
15605 2012-08-06 Roland McGrath <roland@hack.frob.com>
15607 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15608 Define alphasort64 as an alias.
15609 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15610 Define versionsort64 as an alias.
15611 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15612 Define scandir64 as an alias.
15613 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15614 Define scandirat64 as an alias.
15615 * dirent/alphasort64.c (alphasort64):
15616 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15617 * dirent/versionsort64.c: Likewise.
15618 * dirent/scandir64.c: Likewise.
15619 * dirent/scandirat64.c: Likewise.
15620 * sysdeps/wordsize-64/alphasort.c: File removed.
15621 * sysdeps/wordsize-64/alphasort64.c: File removed.
15622 * sysdeps/wordsize-64/scandir.c: File removed.
15623 * sysdeps/wordsize-64/scandir64.c: File removed.
15624 * sysdeps/wordsize-64/scandirat.c: File removed.
15625 * sysdeps/wordsize-64/scandirat64.c: File removed.
15626 * sysdeps/wordsize-64/versionsort.c: File removed.
15627 * sysdeps/wordsize-64/versionsort64.c: File removed.
15628 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15631 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15633 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15634 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15635 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15637 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15639 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15641 [defined __arch64__ || defined __sparcv9]
15642 (__INO_T_MATCHES_INO64_T): New macro.
15643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15644 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15645 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15646 * sysdeps/unix/sysv/linux/bits/dirent.h
15647 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15648 (_DIRENT_MATCHES_DIRENT64): New macro.
15650 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15651 Define lockf64 as an alias.
15652 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15653 Define fseeko64 as an alias.
15654 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15655 Define ftello64 as an alias.
15656 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15657 Define _IO_fgetpos64 and fgetpos64 as aliases.
15658 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15659 Define _IO_fsetpos64 and fsetpos64 as aliases.
15660 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15661 Conditionalize body on this.
15662 * libio/fseeko64.c: Likewise.
15663 * libio/ftello64.c: Likewise.
15664 * libio/iofgetpos64.c: Likewise.
15665 * libio/iofsetpos64.c: Likewise.
15666 * sysdeps/wordsize-64/lockf.c: File removed.
15667 * sysdeps/wordsize-64/lockf64.c: File removed.
15668 * sysdeps/wordsize-64/fseeko.c: File removed.
15669 * sysdeps/wordsize-64/fseeko64.c: File removed.
15670 * sysdeps/wordsize-64/ftello.c: File removed.
15671 * sysdeps/wordsize-64/ftello64.c: File removed.
15672 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15673 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15674 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15675 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15676 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15677 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15678 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15679 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15680 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15681 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15683 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15684 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15685 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15687 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15689 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15691 [defined __arch64__ || defined __sparcv9]
15692 (__OFF_T_MATCHES_OFF64_T): New macro.
15693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15694 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15696 (__OFF_T_MATCHES_OFF64_T): New macro.
15698 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15700 * stdlib/secure-getenv.c (__secure_getenv): Replace
15701 GLIBC_2_16 with GLIBC_2_17.
15703 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15706 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15708 2012-08-03 David S. Miller <davem@davemloft.net>
15710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15712 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15714 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15716 (__ASSUME_CORRECT_SI_PID): Likewise.
15717 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15718 (__ASSUME_TMPFS_NAME): Likewise.
15719 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15720 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15721 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15722 (HAVE_AUX_SECURE): Make definition unconditional.
15723 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15724 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15726 2012-08-03 Roland McGrath <roland@hack.frob.com>
15728 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15729 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15730 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15731 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15732 __eloop_threshold instead of SYMLOOP_MAX.
15734 * sysdeps/generic/eloop-threshold.h: New file.
15735 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15737 * elf/chroot_canon.c (chroot_canon): Likewise.
15739 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15743 Change to 2.6.0 everywhere.
15744 * sysdeps/unix/sysv/linux/configure: Regenerated.
15745 * sysdeps/unix/sysv/linux/kernel-features.h
15746 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15747 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15749 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15750 (__ASSUME_FUTEX_REQUEUE): Remove.
15751 (__ASSUME_STATFS64): Define unconditionally.
15752 (__ASSUME_AT_SECURE): Likewise.
15753 (__ASSUME_CORRECT_SI_PID): Likewise.
15754 (__ASSUME_TGKILL): Define without depending on kernel version for
15756 (__ASSUME_UTIMES): Likewise.
15757 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15759 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15760 (__ASSUME_TMPFS_NAME): Likewise.
15761 * README: Update reference to Linux kernel versions.
15763 2012-08-02 Marek Polacek <polacek@redhat.com>
15766 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15767 libc_cv_asm_type_prefix with %.
15768 * configure: Regenerated.
15769 * include/libc-symbols.h: Remove comment about
15770 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15771 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15772 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15773 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15774 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15775 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15776 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15777 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15778 * elf/tst-unique2mod1.c: Likewise.
15779 * elf/tst-unique1mod2.c: Likewise.
15780 * elf/tst-unique1mod1.c: Likewise.
15781 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15782 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15783 Replace ASM_TYPE_DIRECTIVE with .type.
15784 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15785 * sysdeps/i386/sysdep.h: Likewise.
15786 * sysdeps/x86_64/sysdep.h: Likewise.
15787 * sysdeps/sh/sysdep.h: Likewise.
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15789 Do not define ASM_TYPE_DIRECTIVE.
15790 * sysdeps/powerpc/sysdep.h: Likewise.
15791 * sysdeps/powerpc/powerpc32/sysdep.h:
15792 Replace ASM_TYPE_DIRECTIVE with .type.
15793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15794 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15795 * sysdeps/i386/fpu/e_powf.S: Likewise.
15796 * sysdeps/i386/fpu/e_expl.S: Likewise.
15797 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15798 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15799 * sysdeps/i386/fpu/e_pow.S: Likewise.
15800 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15801 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15802 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15803 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15804 * sysdeps/i386/fpu/e_log2.S: Likewise.
15805 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15806 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15807 * sysdeps/i386/fpu/e_powl.S: Likewise.
15808 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15809 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15810 * sysdeps/i386/fpu/e_logl.S: Likewise.
15811 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15812 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15813 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15814 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15815 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15816 * sysdeps/i386/fpu/e_log.S: Likewise.
15817 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15818 * sysdeps/i386/fpu/e_logf.S: Likewise.
15819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15821 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15822 * sysdeps/i386/fpu/e_log10.S: Likewise.
15823 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15824 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15825 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15826 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15828 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15829 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15830 * sysdeps/i386/i686/strtok.S: Likewise.
15831 * sysdeps/i386/i386-mcount.S: Likewise.
15832 * sysdeps/i386/strtok.S: Likewise.
15833 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15834 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15835 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15836 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15837 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15838 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15839 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15840 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15841 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15842 * sysdeps/x86_64/_mcount.S: Likewise.
15843 * sysdeps/x86_64/strtok.S: Likewise.
15844 * sysdeps/sh/_mcount.S: Likewise.
15846 2012-08-01 Roland McGrath <roland@hack.frob.com>
15848 * libio/iofopen.c: Include <fcntl.h>.
15849 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15850 (_IO_fopen64, fopen64): Define as aliases.
15851 * libio/iofopen64.c: Include <fcntl.h>.
15852 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15853 Conditionalize body on this.
15854 * sysdeps/wordsize-64/iofopen.c: File removed.
15855 * sysdeps/wordsize-64/iofopen64.c: File removed.
15857 2012-08-01 Marek Polacek <polacek@redhat.com>
15859 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15860 Use dlfcn directly instead of a variable.
15861 (binfmt-subdir): Do not define.
15864 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15867 Remove all definitions.
15868 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15869 <kernel-features.h>.
15870 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15871 (miss_F_GETOWN_EX): Remove all definitions.
15872 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15874 [!__ASSUME_FCNTL64]: Remove conditional code.
15875 [__ASSUME_FCNTL64]: Make code unconditional.
15876 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15877 <kernel-features.h>.
15878 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15879 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15880 (lockf64) [__NR_fcntl64]: Make code unconditional.
15881 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15883 * sysdeps/unix/sysv/linux/kernel-features.h
15884 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15885 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15886 Make code unconditional.
15887 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15888 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15890 [__NR_vfork]: Make code unconditional.
15891 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15892 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15894 [__NR_vfork]: Make code unconditional.
15895 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15896 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15898 2012-08-01 Roland McGrath <roland@hack.frob.com>
15900 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15901 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15903 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15904 Define mkstemp64 as an alias.
15905 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15906 Define mkstemps64 as an alias.
15907 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15908 Define mkostemp64 as an alias.
15909 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15910 Define mkostemps64 as an alias.
15911 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15912 Conditionalize body on this.
15913 * misc/mkostemp64.c: Likewise.
15914 * misc/mkostemps64.c: Likewise.
15915 * misc/mkstemps64.c: Likewise.
15916 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15917 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15918 * sysdeps/wordsize-64/mkostemp.c: File removed.
15919 * sysdeps/wordsize-64/mkstemp.c: File removed.
15920 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15921 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15926 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15928 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15929 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15931 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15932 compat_symbol macros from <shlib-compat.h> rather than the underlying
15933 default_symbol_version and symbol_version macros, so that DEFAULT
15934 lines in shlib-versions are respected.
15935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15937 2012-08-01 Florian Weimer <fweimer@redhat.com>
15939 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15940 Declare with warn_unused_result.
15941 (setgid, setregid, setegid, setresgid): Likewise.
15942 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15944 * WUR-REPORT: Remove set*id functions.
15946 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15948 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15950 2012-07-31 Roland McGrath <roland@hack.frob.com>
15953 * include/sys/socket.h (__libc_accept, __libc_accept4):
15954 Add attribute_hidden.
15955 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15957 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15959 * inet/getnetgrent_r.c (setup): Likewise.
15961 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15963 2012-07-31 David S. Miller <davem@davemloft.net>
15965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15967 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15970 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15971 value between 1.0 and 2.0 and smaller part has absolute value less
15973 * math/s_clog10.c (__clog10): Likewise.
15974 * math/s_clog10f.c (__clog10f): Likewise.
15975 * math/s_clog10l.c (__clog10l): Likewise.
15976 * math/s_clogf.c (__clogf): Likewise.
15977 * math/s_clogl.c (__clogl): Likewise.
15978 * math/libm-test.inc (clog_test): Add more tests.
15979 (clog10_test): Likewise.
15980 * sysdeps/i386/fpu/libm-test-ulps: Update.
15981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15983 2012-07-31 Florian Weimer <fweimer@redhat.com>
15985 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15986 Exit with zero in case no suitable GID is found, and write a
15987 message to standard error.
15989 2012-07-30 Roland McGrath <roland@hack.frob.com>
15991 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15993 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15994 (MAXPATHLEN): Removed.
15995 (NOGROUP, NODEV): New macros.
15996 (setbit, clrbit, isset, isclr): New macros.
15997 (howmany, roundup, powerof2): New macros.
15998 (DEV_BSIZE): New macro.
16000 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16001 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16003 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16004 definition on [!__NO_LONG_DOUBLE_MATH].
16006 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16007 PTR_MANGLE and PTR_DEMANGLE.
16009 * socket/accept4.c (accept4): Rename to __libc_accept4.
16010 Define accept4 as a weak alias.
16012 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16013 on [_DIRENT_HAVE_D_TYPE].
16014 * io/ftw.c (ftw_dir): Likewise.
16016 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16018 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16020 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16021 Use the BSD numbers rather than the arbitrary ones we had.
16022 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16023 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16024 (SIGXCPU, SIGXFSZ): New macros.
16027 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16028 initializer on [_LIBC_REENTRANT].
16030 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16031 definitions inside [_POSIX_MAPPED_FILES].
16033 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16035 * dirent/opendir.c: Include <fcntl.h>.
16037 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16038 (__libc_getspecific): Likewise.
16039 (__libc_key_create): Likewise.
16041 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16042 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16043 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16044 (tmpfile64): Define as alias.
16045 * sysdeps/wordsize-64/tmpfile.c: File removed.
16046 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16050 * stdio-common/vfscanf.c: Include <stdbool.h>.
16051 * nss/makedb.c: Likewise.
16052 * stdio-common/_i18n_number.h: Likewise.
16053 * argp/argp-help.c: Likewise.
16054 * posix/wordexp.c: Likewise.
16055 * sysdeps/posix/spawni.c: Likewise.
16056 * nss/nss_files/files-initgroups.c: Likewise.
16057 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16058 * nss/nss_files/files-initgroups.c: Likewise.
16059 * nss/nss_db/db-netgrp.c: Likewise.
16060 * nss/nss_db/db-initgroups.c: Likewise.
16061 * io/fchmodat.c: Include <sys/stat.h>.
16063 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16064 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16066 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16069 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16070 Add multiple inclusion protection.
16072 2012-07-27 David S. Miller <davem@davemloft.net>
16074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16076 2012-07-27 Gary Benson <gbenson@redhat.com>
16079 * elf/rtld.c: Include <stap-probe.h>.
16080 (dl_main): Added static probes "init_start" and "init_complete".
16081 * elf/dl-load.c: Include <stap-probe.h>.
16082 (lose): Take new parameter "nsid".
16083 Added static probe "map_failed".
16084 (_dl_map_object_from_fd): Pass namespace id to lose.
16085 Added static probe "map_start".
16086 (open_verify): Pass namespace id to lose.
16087 * elf/dl-open.c: Include <stap-probe.h>.
16088 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16089 and "reloc_complete".
16090 * elf/dl-close.c: Include <stap-probe.h>.
16091 (_dl_close_worker): Added static probes "unmap_start" and
16093 * elf/rtld-debugger-interface.txt: New file documenting the above.
16095 2012-07-26 Roland McGrath <roland@hack.frob.com>
16097 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16098 rather than a string variable.
16099 * sunrpc/rpc_main.c (h_output): Likewise.
16100 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16102 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16104 * inet/check_native.c: New file.
16106 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16109 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16110 if larger part has absolute value 1.0.
16111 * math/s_clog10.c (__clog10): Likewise.
16112 * math/s_clog10f.c (__clog10f): Likewise.
16113 * math/s_clog10l.c (__clog10l): Likewise.
16114 * math/s_clogf.c (__clogf): Likewise.
16115 * math/s_clogl.c (__clogl): Likewise.
16116 * math/libm-test.inc (clog_test): Add more tests.
16117 (clog10_test): Likewise.
16118 * sysdeps/i386/fpu/libm-test-ulps: Update.
16119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16121 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16122 (pltexit): Likewise.
16123 (La_regs): Likewise.
16124 (La_retval): Likewise.
16125 (int_retval): Likewise.
16126 Update #error for removed macros to refer only to definitions in
16128 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16130 (pltexit): Likewise.
16131 (La_regs): Likewise.
16132 (La_retval): Likewise.
16133 (int_retval): Likewise.
16134 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16136 (pltexit): Likewise.
16137 (La_regs): Likewise.
16138 (La_retval): Likewise.
16139 (int_retval): Likewise.
16140 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16142 (pltexit): Likewise.
16143 (La_regs): Likewise.
16144 (La_retval): Likewise.
16145 (int_retval): Likewise.
16146 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16148 (pltexit): Likewise.
16149 (La_regs): Likewise.
16150 (La_retval): Likewise.
16151 (int_retval): Likewise.
16152 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16154 (pltexit): Likewise.
16155 (La_regs): Likewise.
16156 (La_retval): Likewise.
16157 (int_retval): Likewise.
16158 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16160 (pltexit): Likewise.
16161 (La_regs): Likewise.
16162 (La_retval): Likewise.
16163 (int_retval): Likewise.
16164 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16165 macro definitions in tst-audit.h.
16166 * sysdeps/i386/tst-audit.h: New file.
16167 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16168 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16169 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16170 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16171 * sysdeps/sh/tst-audit.h: Likewise.
16172 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16173 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16174 * sysdeps/x86_64/tst-audit.h: Likewise.
16176 2012-07-26 Andreas Jaeger <aj@suse.de>
16178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16181 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16182 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16183 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16185 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16186 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16187 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16189 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16192 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16194 (si_call_addr, si_syscall, si_arch): Define new macro.
16195 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16197 (si_call_addr, si_syscall, si_arch): Define new marcro.
16198 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16200 (si_call_addr, si_syscall, si_arch): Define new macro.
16201 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16203 (si_call_addr, si_syscall, si_arch): Define new macro.
16205 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16209 Change to 2.4.21 where previously 2.4.1.
16210 * sysdeps/unix/sysv/linux/configure: Regenerated.
16211 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16212 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16213 Linux kernel version.
16214 (__ASSUME_STD_AUXV): Remove.
16215 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16217 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16218 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16219 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16220 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16221 (__ASSUME_NETLINK_SUPPORT): Likewise.
16222 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16223 (__no_netlink_support): Remove conditional definition.
16224 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16226 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16227 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16228 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16229 (if_nameindex_ioctl): Remove.
16230 (if_nameindex_netlink): Do not handle __no_netlink_support.
16231 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16233 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16234 Remove conditional code.
16235 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16237 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16239 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16240 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16241 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16243 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16244 [!__ASSUME_STD_AUXV]: Remove conditional code.
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16246 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16247 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16249 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16250 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16252 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16254 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16255 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16257 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16259 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16262 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16265 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16266 code unconditional.
16267 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16269 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16271 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16274 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16276 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16279 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16280 code unconditional.
16281 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16283 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16285 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16288 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16289 code unconditional.
16290 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16292 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16294 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16297 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16299 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16300 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16301 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16302 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16303 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16304 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16305 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16306 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16307 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16308 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16309 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16310 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16311 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16312 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16313 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16314 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16315 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16316 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16317 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16319 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16320 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16323 2012-07-25 Florian Weimer <fweimer@redhat.com>
16325 * Versions.def: Add GLIBC_2.17.
16326 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16327 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16328 Introduce __libc_secure_getenv.
16329 * stdlib/Versions (2.17): Add secure_getenv
16330 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16331 * stdlib/secure-getenv.c: Rename __secure_getenv to
16332 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16333 symbol __secure_getenv for GLIBC_2.0.
16334 * stdlib/tst-secure-getenv.c: New.
16335 * stdlib/Makefile (tests): Add testcase.
16336 * manual/startup.texi (Environment Access): Document
16338 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16339 __libc_secure_getenv.
16340 * inet/ruserpass.c (ruserpass): Likewise.
16341 * malloc/mtrace.c (mtrace): Likewise.
16342 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16343 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16344 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16345 * sysdeps/posix/tempname.c: Likewise. Evaluate
16346 HAVE_SECURE_GETENV.
16347 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16348 __secure_getenv to __libc_secure_getenv.
16349 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16362 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16365 (struct La_i86_retval): Likewise.
16366 (struct La_x86_64_regs): Likewise.
16367 (struct La_x86_64_retval): Likewise.
16368 (struct La_x32_regs): Likewise.
16369 (struct La_x32_retval): Likewise.
16370 (struct La_ppc32_regs): Likewise.
16371 (struct La_ppc32_retval): Likewise.
16372 (struct La_ppc64_regs): Likewise.
16373 (struct La_ppc64_retval): Likewise.
16374 (struct La_sh_regs): Likewise.
16375 (struct La_sh_retval): Likewise.
16376 (struct La_s390_32_regs): Likewise.
16377 (struct La_s390_32_retval): Likewise.
16378 (struct La_s390_64_regs): Likewise.
16379 (struct La_s390_64_retval): Likewise.
16380 (struct La_sparc32_regs): Likewise.
16381 (struct La_sparc32_retval): Likewise.
16382 (struct La_sparc64_regs): Likewise.
16383 (struct La_sparc64_retval): Likewise.
16384 (struct audit_ifaces): Remove architecture-specific pltenter and
16386 * sysdeps/i386/ldsodefs.h: New file.
16387 * sysdeps/powerpc/ldsodefs.h: Likewise.
16388 * sysdeps/s390/ldsodefs.h: Likewise.
16389 * sysdeps/sh/ldsodefs.h: Likewise.
16390 * sysdeps/sparc/ldsodefs.h: Likewise.
16391 * sysdeps/x86_64/ldsodefs.h: Likewise.
16393 2012-07-25 Marek Polacek <polacek@redhat.com>
16396 * math/libm-test.inc (yn_test): Add another test.
16397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16398 to ERANGE when the result is +-Inf.
16399 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16400 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16401 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16402 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16404 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16406 * conform/data/time.h-data (NULL): Use macro-constant. Require
16408 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16410 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16412 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16414 * configure.in <sysdeps resolving>: Correct printing
16416 * configure: Regenerate.
16418 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16420 * math/w_ilogb.c: Include <limits.h>.
16421 * math/w_ilogbl.c: Likewise.
16423 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16425 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16426 va_copy. Document allowing for unavailable va_copy only as
16427 pre-C99 compatibility.
16428 * manual/string.texi (Copying and Concatenation): Use va_copy
16429 instead of __va_copy in concat example.
16431 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16433 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16434 (__sendto): Use create_address_port. Initialize APORT and deallocate
16437 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16438 with O_NOLINK passed to __file_name_lookup.
16440 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16441 with O_NOLINK passed to __file_name_lookup.
16443 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16444 negative N or less than NGIDS.
16446 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16447 type to string_t. Set ERANGE as errno and return it if NAME is not big
16448 enough. Use memcpy instead of strncpy.
16450 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16452 * elf/Makefile (check-data): Remove.
16453 (localplt.data): New vpath directive.
16454 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16455 instead of $(check-data).
16456 * scripts/data/localplt-generic.data: Move to ...
16457 * sysdeps/generic/localplt.data: ... here.
16458 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16459 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16460 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16463 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16466 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16469 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16472 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16475 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16479 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16481 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16482 PPC32 and PPC64 files.
16483 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16484 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16486 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16488 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16489 __makecontext_ret to ...
16490 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16491 ... here and call exit if uc_link is NULL. New file.
16492 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16493 __makecontext_ret.S.
16494 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16495 __makecontext_ret to ...
16496 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16497 ... here and call exit if uc_link is NULL. New file.
16498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16499 __makecontext_ret.S.
16501 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16503 * elf/elf.h (R_390_IRELATIVE): New definition.
16504 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16505 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16506 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16507 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16508 (elf_machine_lazy_rel): Likewise.
16509 * sysdeps/s390/dl-irel.h: New file.
16510 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16511 * sysdeps/s390/s390-64/memset.S: New asm code.
16512 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16513 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16515 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16516 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16517 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16519 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16520 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16521 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16522 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16523 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16524 * sysdeps/s390/s390-32/memset.S: New asm code.
16525 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16527 2012-07-17 Marek Polacek <polacek@redhat.com>
16530 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16531 * sysdeps/s390/s390-64/configure.in: Likewise.
16532 * sysdeps/sparc/configure.in: Likewise.
16533 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16534 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16535 * sysdeps/i386/configure.in: Likewise.
16536 * sysdeps/x86_64/configure.in: Likewise.
16537 * sysdeps/sh/configure.in: Likewise.
16538 * sysdeps/s390/s390-32/configure: Regenerated.
16539 * sysdeps/s390/s390-64/configure: Likewise.
16540 * sysdeps/x86_64/configure: Likewise.
16541 * sysdeps/sh/configure: Likewise.
16542 * sysdeps/powerpc/powerpc64/configure: Likewise.
16543 * sysdeps/powerpc/powerpc32/configure: Likewise.
16544 * sysdeps/sparc/configure: Likwise.
16545 * sysdeps/i386/configure: Likewise.
16547 * elf/dl-open.c: Comment fixes.
16549 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16551 * Makefile [CXX] (check-data): Remove.
16552 [CXX] (c++-types.data): New vpath directive.
16553 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16554 vpath. Do not allow for C++ type data being missing.
16555 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16556 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16557 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16558 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16559 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16560 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16561 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16564 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16567 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16570 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16573 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16576 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16579 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16582 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16585 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16586 definitions to architecture-specific files.
16587 (TLS_IE): Likewise.
16588 (TLS_LD): Likewise.
16589 (TLS_GD): Likewise.
16590 * sysdeps/i386/tls-macros.h: New file.
16591 * sysdeps/powerpc/tls-macros.h: Likewise.
16592 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16593 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16594 * sysdeps/sh/tls-macros.h: Likewise.
16595 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16596 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16597 * sysdeps/x86_64/tls-macros.h: Likewise.
16599 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16601 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16602 zero value for regular exit case.
16604 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16605 (__start_context): Preserve zero value for regular exit case.
16607 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16608 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16610 * manual/setjmp.texi (setcontext): Clarify normal process
16611 termination when uc_link is the null pointer.
16612 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16615 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16617 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16618 preprocessor. Test for each exception mask separately.
16620 2012-07-16 Andreas Jaeger <aj@suse.de>
16622 * po/ru.po: Update from translation team.
16624 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16626 * conform/data/string.h-data (NULL): Use macro-constant. Require
16628 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16629 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16630 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16631 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16634 2012-07-13 Andreas Jaeger <aj@suse.de>
16636 * po/fr.po: Update from translation team.
16638 2012-07-12 Marek Polacek <polacek@redhat.com>
16641 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16642 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16645 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16649 Change to 2.4.1 where previously 2.4.0.
16650 * sysdeps/unix/sysv/linux/configure: Regenerated.
16651 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16652 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16654 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16655 (__ASSUME_AT_CLKTCK): Remove.
16656 (__ASSUME_AT_PAGESIZE): Likewise.
16657 (__ASSUME_AT_XID): Likewise.
16658 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16659 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16660 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16662 (HAVE_AUX_PAGESIZE): Likewise.
16663 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16664 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16665 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16667 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16671 the temporary buffer used to invoke __gethostbyname2_r,
16672 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16673 host_data / struct gaih_addrtuple.
16674 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16675 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16676 header file nss/nsswitch.h.
16677 * nss/nsswitch.h (global scope): Add definition of implementation
16678 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16679 resolv/nss_dns/dns-host.c).
16681 2012-07-11 Andreas Jaeger <aj@suse.de>
16683 * po/fr.po: Update from translation team.
16685 * po/sv.po: Update from translation team
16686 * po/fr.po: Another update from translation team.
16688 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16690 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16691 for subnormals or multiply small sinh result by itself.
16692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16695 2012-07-11 David S. Miller <davem@davemloft.net>
16697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16699 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16702 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16703 (INTERNAL_MARK): Shift it here.
16705 2012-07-10 Marek Polacek <polacek@redhat.com>
16708 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16709 libc_cv_asm_global_directive with .globl.
16710 * configure: Regenerated.
16711 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16713 * sysdeps/i386/configure: Regenerated.
16714 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16716 * sysdeps/x86_64/configure: Regenerated.
16717 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16718 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16719 * elf/tst-unique2mod2.c: Likewise.
16720 * elf/tst-unique2mod1.c: Likewise.
16721 * elf/tst-unique1mod2.c: Likewise.
16722 * elf/tst-unique1mod1.c: Likewise.
16723 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16724 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16725 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16726 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16727 * sysdeps/mach/sysdep.h: Likewise.
16728 * sysdeps/i386/sysdep.h: Likewise.
16729 * sysdeps/i386/i386-mcount.S: Likewise.
16730 * sysdeps/x86_64/_mcount.S: Likewise.
16731 * sysdeps/x86_64/sysdep.h: Likewise.
16732 * sysdeps/sh/_mcount.S: Likewise.
16733 * sysdeps/sh/sysdep.h: Likewise.
16734 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16735 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16736 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16738 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16739 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16740 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16741 * locale/localeinfo.h: Likewise.
16742 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16743 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16745 2012-07-09 Roland McGrath <roland@hack.frob.com>
16748 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16750 * manual/message.texi (The Uniforum approach): Likewise.
16751 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16752 (glibc iconv Implementation): Likewise.
16754 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16757 * math/s_clog.c (__clog): Avoid scaling a value down where that
16758 could result in underflow.
16759 * math/s_clog10.c (__clog10): Likewise.
16760 * math/s_clog10f.c (__clog10f): Likewise.
16761 * math/s_clog10l.c (__clog10l): Likewise.
16762 * math/s_clogf.c (__clogf): Likewise.
16763 * math/s_clogl.c (__clogl): Likewise.
16764 * math/libm-test.inc (clog_test): Add more tests.
16765 (clog10_test): Likewise.
16766 * sysdeps/i386/fpu/libm-test-ulps: Update.
16767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16769 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16772 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16773 by 7 not 8 to examine high bit of fractional part.
16776 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16777 for call to __mcount_internal.
16778 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16779 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16780 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16782 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16785 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16786 approximation for values within 0x1p-13f of an odd multiple of
16788 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16789 exception. Add more tests.
16790 * sysdeps/i386/fpu/libm-test-ulps: Update.
16793 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16794 inputs and return -1 for them. Do not check for +Inf in case not
16795 reachable for +Inf.
16796 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16797 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16799 and return -1 for them. Do not check for +Inf in case not
16800 reachable for +Inf.
16801 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16804 and return -1 for them. Do not check for +Inf in case not
16805 reachable for +Inf.
16806 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16807 spurious underflow.
16808 * sysdeps/i386/fpu/libm-test-ulps: Update.
16809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16811 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16813 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16815 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16819 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16820 could result in spurious underflow. Scale down values above
16821 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16822 * math/s_csqrtf.c (__csqrtf): Likewise.
16823 * math/s_csqrtl.c (__csqrtl): Likewise.
16824 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16825 spurious underflow.
16826 * sysdeps/i386/fpu/libm-test-ulps: Update.
16827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16829 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16831 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16833 * catgets/xopen-msg.awk: New file.
16834 * catgets/xopen-msg.sed: Removed.
16836 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16838 * intl/po2test.awk: New file.
16839 * intl/po2test.sed: Removed.
16841 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16844 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16845 or multiply small sinh result by itself.
16846 * math/s_ctanf.c (__ctanf): Likewise.
16847 * math/s_ctanh.c (__ctanh): Likewise.
16848 * math/s_ctanhf.c (__ctanhf): Likewise.
16849 * math/s_ctanhl.c (__ctanhl): Likewise.
16850 * math/s_ctanl.c (__ctanl): Likewise.
16851 * math/libm-test.inc (ctan_test_tonearest): New function.
16852 (ctan_test_towardzero): Likewise.
16853 (ctan_test_downward): Likewise.
16854 (ctan_test_upward): Likewise.
16855 (ctanh_test_tonearest): Likewise.
16856 (ctanh_test_towardzero): Likewise.
16857 (ctanh_test_downward): Likewise.
16858 (ctanh_test_upward): Likewise.
16859 (main): Call these new functions.
16860 * sysdeps/i386/fpu/libm-test-ulps: Update.
16861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16863 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16865 * .gitignore: Delete /ports entry.
16867 2012-07-03 Andreas Jaeger <aj@suse.de>
16869 * po/bg.po: Update from translation team.
16870 * po/cs.po: Likewise.
16871 * po/de.po: Likewise.
16872 * po/hr.po: Likewise.
16873 * po/nl.pl: Likewise.
16874 * po/pl.po: Likewise.
16875 * po/vi.po: Likewise.
16877 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16879 * Makeconfig [!+link] (+link-before-libc): New variable.
16880 [!+link] (+link-after-libc): Likewise.
16881 [!+link] (+link-tests): Likewise.
16882 [!+link] (+link): Define in terms of $(+link-before-libc) and
16883 $(+link-after-libc).
16884 [!+link-static] (+link-static-before-libc): New variable.
16885 [!+link-static] (+link-static-after-libc): Likewise.
16886 [!+link-static] (+link-static-tests): Likewise.
16887 [!+link-static] (+link-static): Define in terms of
16888 $(+link-static-before-libc) and $(+link-static-after-libc).
16889 [build-shared] (link-libc-before-gnulib): New variable.
16890 [build-shared] (link-libc-tests): Likewise.
16891 [build-shared] (link-libc): Define in terms of
16892 $(link-libc-before-gnulib).
16893 [!build-shared] (link-libc-tests): New variable.
16894 (link-libc-static-tests): New variable.
16895 [!gnulib] (gnulib-arch): New variable.
16896 [!gnulib] (gnulib-tests): Likewise.
16897 [!gnulib] (static-gnulib-arch): Likewise.
16898 [!gnulib] (static-gnulib-tests): Likewise.
16899 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16900 Define with "=" instead of ":=".
16901 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16902 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16903 * Rules (binaries-all-notests): New variable.
16904 (binaries-all-tests): Likewise.
16905 (binaries-static-notests): Likewise.
16906 (binaries-static-tests): Likewise.
16907 (binaries-all): Define using $(binaries-all-notests) and
16908 $(binaries-all-tests).
16909 (binaries-static): Define using $(binaries-static-notests) and
16910 $(binaries-static-tests).
16911 (binaries-shared-tests): New variable.
16912 (binaries-shared-notests): Likewise.
16913 (binaries-shared): Remove variable.
16914 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16915 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16916 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16917 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16918 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16919 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16920 * elf/Makefile (sln-modules): New variable.
16921 (extra-objs): Add $(sln-modules:=.o).
16922 (ldconfig-modules): Add static-stubs.
16923 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16924 * elf/static-stubs.c: New file.
16927 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16928 by 7 not 8 to examine high bit of fractional part. Use volatile
16929 variables when splitting into final array of floats if
16930 __FLT_EVAL_METHOD__ != 0.
16931 * math/libm-test.inc (cos_test): Add another test.
16932 (sin_test): Likewise.
16933 * sysdeps/i386/fpu/libm-test-ulps: Update.
16936 * math/libm-test.inc (cosh_test): Add more tests.
16938 * version.h (RELEASE): Set to "development".
16939 (VERSION): Set to "2.16.90".
16941 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16943 * NEWS: Update copyright. Remove last-updated date.
16944 Mention math library bug fixes and timezone data changes.
16945 * README: Mention GNU/Hurd, x32, and HPPA support status.
16947 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16949 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16951 2012-06-27 Andreas Jaeger <aj@suse.de>
16953 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16955 2012-06-25 Andreas Jaeger <aj@suse.de>
16957 * sysdeps/s390/fpu/libm-test-ulps: Update.
16959 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16960 Thomas Schwinge <thomas@codesourcery.com>
16962 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16963 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16967 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16969 * sysdeps/mach/start.c: Remove file.
16970 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16971 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16972 * sysdeps/sh/init-first.c: Likewise.
16974 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16975 registers for frame unwinding purposes, add CFI directives.
16976 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16978 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16981 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16982 __fortify_fail returning.
16983 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16985 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16986 sysdeps/sh/____longjmp_chk.S.
16987 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16988 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16989 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16990 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16992 * sysdeps/sh/abort-instr.h: New file.
16993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16994 process in case exit returns.
16996 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16997 initialize the GOT register before use.
16999 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17000 calculation of ARGC > 4.
17002 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17003 meaningful names to some local labels.
17005 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17006 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17008 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17009 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17010 (__arch_compare_and_exchange_val_16_acq): Likewise.
17011 (__arch_compare_and_exchange_val_32_acq): Likewise.
17012 (atomic_exchange_and_add): Fix gUSA sequence.
17013 (atomic_add): Likewise.
17014 (atomic_add_negative): Likewise.
17015 (atomic_add_zero): Likewise.
17016 (atomic_bit_test_set): Likewise.
17018 2012-06-22 Andreas Schwab <schwab@redhat.com>
17021 * include/link.h (struct link_map): Add l_free_initfini.
17022 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17024 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17025 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17026 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17029 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17031 * configure.in: Use AC_LANG_SOURCE.
17032 * configure: Regenerate.
17034 2012-06-22 Roland McGrath <roland@hack.frob.com>
17036 * configure.in (libc_cv_localstatedir): New substituted variable.
17037 * configure: Regenerated.
17038 * config.make.in (localstatedir): New variable, substituted from
17039 libc_cv_localstatedir.
17040 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17041 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17042 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17043 * sysdeps/gnu/configure: Regenerated.
17045 2012-06-21 Jeff Law <law@redhat.com>
17048 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17049 free. Simplify list management for _LIBC case.
17051 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17054 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17055 Clear sign bit of 64-bit integer value before comparing against
17058 * sysdeps/mach/configure: Regenerated.
17060 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17063 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17065 2012-06-21 Jeff Law <law@redhat.com>
17068 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17069 uint16_t for elements in the "seen" array to avoid char overflows.
17070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17071 * elf/dl-open.c (dl_open_worker): Likewise.
17073 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17075 * scripts/list-sources.sh: Scan PORTS for translations.
17076 * po/libc.pot: Regenerated.
17078 2012-06-21 Andreas Jaeger <aj@suse.de>
17081 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17083 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17084 * bits/byteswap-16.h (__bswap_16): Likewise.
17085 * bits/byteswap.h (__bswap_constant_16): Likewise.
17087 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17090 * sysdeps/i386/fpu_control.h: Removed.
17091 * sysdeps/x86_64/fpu_control.h: Moved to ...
17092 * sysdeps/x86/fpu_control.h: Here.
17094 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17095 (_FPU_SETCW): Likewise.
17097 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17100 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17101 * sysdeps/x86/fpu/bits/mathinline.h: This.
17102 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17106 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17107 functions if __x86_64__ is defined.
17109 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17111 * string/endian.h: Add !__ASSEMBLER__ condition for including
17112 conversion interfaces.
17114 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17118 of ABS(x) in calculating zero to negative powers other than odd
17120 * math/libm-test.inc (pow_test): Add more tests.
17122 2012-06-15 Andreas Jaeger <aj@suse.de>
17124 * manual/contrib.texi (Contributors): Update entry of Liubov
17125 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17128 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17130 * string/string.h: Add __wur to GNU version of strerror_r.
17132 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17135 * string/Makefile (tests): Add tst-strtok_r.
17136 * string/tst-strtok_r.c: New file.
17137 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17138 RAX_LP/RDX_LP on SAVE_PTR.
17140 2012-06-14 Roland McGrath <roland@hack.frob.com>
17142 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17144 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17146 * libm_test.inc (csqrt_test): Allow more spurious underflow
17148 (j0_test): Likewise.
17149 (j1_test): Likewise.
17150 (y0_test): Likewise.
17151 (y1_test): Likewise.
17153 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17155 * po/Makefile (libc.pot): Use UTF-8 charset.
17157 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17160 Suppress sign-conversion warning from FD_SET.
17161 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17162 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17163 not unsigned long int.
17164 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17166 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17170 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17171 __extern_always_inline instead of __extern_inline.
17172 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17173 (__signbit): Likewise.
17174 (__signbitl): Support C++ namespace.
17175 (lrintf): New inline function.
17177 (llrintf): Likewise.
17178 (llrint): Likewise.
17188 (floorf): Likewise.
17189 (nearbyint): Likewise.
17190 (nearbyintf): Likewise.
17192 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17195 non-default versions.
17197 2012-06-11 Roland McGrath <roland@hack.frob.com>
17200 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17202 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17204 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17205 (FE_UPWARD, FE_DOWNWARD): Don't define.
17206 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17209 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17211 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17212 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17214 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17216 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17219 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17221 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17224 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17225 * sysdeps/i386/fpu/Implies: New file.
17226 * sysdeps/x86_64/fpu/Implies: Likewise.
17227 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17228 * sysdeps/x86/fpu/bits/fenv.h: This.
17230 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17233 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17236 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17237 character 0xffff that matches the last element of the
17240 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17242 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17245 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17248 values higher than 25.6283.
17250 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17253 subnormal exponent extraction and add some __builtin_expect.
17254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17255 Fix for subnormal mantissa calculation.
17257 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17259 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17260 cpu2 is -1 and errno is not ENOSYS.
17262 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17265 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17266 * sysdeps/x86/bits/string.h: This.
17267 * sysdeps/x86_64/bits/string.h: Removed.
17269 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17270 if not compiling for x86-64, but compiling for >= i486.
17272 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17273 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17275 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17276 New macro from Linux kernel 3.4.0.
17277 (FP_XSTATE_MAGIC2): Likewise.
17278 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17279 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17280 (struct _fpx_sw_bytes): New struct.
17281 (struct _xsave_hdr): Likewise.
17282 (struct _ymmh_state): Likewise.
17283 (struct _xstate): Likewise.
17285 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17286 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17287 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17288 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17289 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17290 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17292 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17293 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17294 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17295 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17296 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17297 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17299 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17302 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17303 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17304 (sysdep_headers): Include sys/platform/ppc.h.
17305 * sysdeps/powerpc/test-gettimebase.c: Test for
17306 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17307 * manual/Makefile (appendices): Include platform.texi.
17308 * manual/contrib.texi (Contributors): Update @node pointers.
17309 * manual/maint.texi (Maintenance): Likewise.
17310 (Platform): New node.
17311 * manual/platform.texi: New file. Document the new features.
17313 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17314 Jakub Jelinek <jakub@redhat.com>
17317 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17318 where __builtin_expect is unavailable.
17320 2012-06-03 David S. Miller <davem@davemloft.net>
17322 * stdlib/longlong.h: Updated from GCC.
17324 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17327 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17328 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17331 (GLIBC_2.16): Likewise.
17333 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17335 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17337 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17340 (default-abi): New variable.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17342 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17344 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17346 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17348 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17351 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17352 definition. Document in comment.
17354 2012-06-01 David S. Miller <davem@davemloft.net>
17356 * stdlib/longlong.h: Updated from GCC.
17358 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17361 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17362 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17363 sys/debugreg.h sys/io.h here.
17364 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17365 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17367 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17368 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17369 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17370 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17371 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17372 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17375 Define only if __x86_64__ is defined.
17377 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17380 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17381 Use int64_t for variable i.
17382 * math/libm-test.inc (fmod_test): Add more tests.
17384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17385 z computation is not scheduled after fetestexcept.
17386 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17387 Use math_force_eval instead of asm to ensure calculation scheduled
17388 before exception test.
17389 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17390 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17392 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17395 computation is not scheduled after fetestexcept.
17397 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17400 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17401 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17403 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17405 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17406 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17408 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17411 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17413 (__WCHAR_MIN): Support __WORDSIZE == 64.
17414 (__WCHAR_MAX): Likewise.
17416 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17417 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17421 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17424 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17425 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17427 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17428 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17430 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17431 Defined to 1 if __x86_64__ isn't defined.
17432 (_STAT_VER_LINUX_OLD): New.
17433 (st_atime): Remove duplicate.
17434 (st_mtime): Likewise.
17435 (st_ctime): Likewise.
17437 2012-05-31 David S. Miller <davem@davemloft.net>
17439 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17442 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17444 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17448 * elf/dl-reloc.c: Include <_itoa.h>.
17449 (_dl_reloc_bad_type): Remove use of INTUSE.
17450 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17451 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17452 * stdio-common/psiginfo.c (psiginfo): Likewise.
17453 * stdio-common/psignal.c (psignal): Likewise.
17454 * string/strsignal.c (strsignal): Likewise.
17455 * include/signal.h (_sys_siglist): Declare hidden proto.
17456 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17457 INTVARDEF with libc_hidden_data_def.
17458 * stdio-common/itoa-udigits.c: Likewise.
17459 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17460 (_itoa_lower_digits_internal): Remove declaration.
17461 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17462 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17463 (_sys_sigabbrev_internal): Remove aliases.
17464 (_sys_siglist): Define hidden alias.
17466 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17471 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17474 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17475 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17477 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17478 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17479 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17480 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17482 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17484 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17486 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17488 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17496 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17498 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17500 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17501 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17503 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17504 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17505 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17507 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17508 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17510 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17511 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17513 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17515 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17517 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17518 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17520 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17522 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17523 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17524 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17530 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17532 * math/math.h (M_El): Use two more decimal places.
17533 (M_LOG2El): Likewise.
17534 (M_LOG10El): Likewise.
17535 (M_LN2l): Likewise.
17536 (M_LN10l): Likewise.
17538 (M_PI_2l): Likewise.
17539 (M_PI_4l): Likewise.
17540 (M_1_PIl): Likewise.
17541 (M_2_PIl): Likewise.
17542 (M_2_SQRTPIl): Likewise.
17543 (M_SQRT2l): Likewise.
17544 (M_SQRT1_2l): Likewise.
17546 2012-05-31 David S. Miller <davem@davemloft.net>
17548 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17549 values between float registers.
17550 * sysdeps/sparc/sparc64/memset.S: Likewise.
17551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17553 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17555 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17556 -D_FORTIFY_SOURCE=1.
17557 (CPPFLAGS-tst-longjmp_chk.c): Define.
17558 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17559 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17560 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17561 CFLAGS-tst-wchar-h.c.
17563 2012-05-31 Marek Polacek <polacek@redhat.com>
17566 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17567 __endmntent_internal): Remove declaration.
17568 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17569 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17570 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17572 2012-05-30 David S. Miller <davem@davemloft.net>
17574 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17575 (___Q_simulate_exceptions): Use real FP ops rather than writing
17577 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17580 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17583 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17584 * sysdeps/x86/bits/xtitypes.h: This.
17586 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17587 * sysdeps/x86/bits/wordsize.h: This.
17589 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17590 * sysdeps/x86/bits/huge_vall.h: This.
17592 * sysdeps/i386/bits/select.h: Removed.
17593 * sysdeps/x86_64/bits/select.h: Renamed to ...
17594 * sysdeps/x86/bits/select.h: This.
17596 * sysdeps/i386/bits/setjmp.h: Removed.
17597 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17598 * sysdeps/x86/bits/setjmp.h: This.
17600 * sysdeps/i386/bits/mathdef.h: Removed.
17601 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17602 * sysdeps/x86/bits/mathdef.h: This.
17604 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17607 * include/sys/socket.h (__connect_internal)
17608 (__libc_sa_len_internal): Remove declaration.
17609 (__connect, __libc_sa_len): Declare hidden_proto.
17610 (SA_LEN): Remove use of INTUSE.
17611 * socket/connect.c: Add libc_hidden_def.
17612 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17613 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17614 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17616 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17617 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17618 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17619 of adding _internal alias.
17621 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17624 * sysdeps/i386/bits/link.h: Removed.
17625 * sysdeps/i386/bits/linkmap.h: Likewise.
17626 * sysdeps/x86_64/bits/link.h: Renamed to ...
17627 * sysdeps/x86/bits/link.h: This.
17628 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17629 * sysdeps/x86/bits/linkmap.h: This.
17631 * sysdeps/i386/bits/endian.h: Removed.
17632 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17633 * sysdeps/x86/bits/endian.h: This.
17635 * sysdeps/i386/bits/byteswap.h: Removed.
17636 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17637 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17638 * sysdeps/x86/bits/byteswap.h: This.
17639 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17640 * sysdeps/x86/bits/byteswap-16.h: This.
17641 * sysdeps/i386/Implies: Add x86.
17642 * sysdeps/x86_64/Implies: Likewise.
17644 2012-05-30 David S. Miller <davem@davemloft.net>
17646 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17647 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17648 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17649 (FP_TRAPPING_EXCEPTIONS): Define.
17650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17651 (FP_TRAPPING_EXCEPTIONS): Define.
17652 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17653 subnormals only when inexact has been signalled or underflow
17654 exceptions are enabled.
17655 (_FP_PACK_CANONICAL): Likewise.
17657 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17660 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17661 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17663 2012-05-30 Richard Henderson <rth@twiddle.net>
17665 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17666 with #ifndef NOT_IN_libc.
17668 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17669 marked to avoid plt entry.
17671 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17674 * Makeconfig (default-abi): New macro.
17675 (abi-includes): Likewise.
17676 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17677 $(abi-$(default-abi)-lib-soname) for soname if defined.
17678 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17680 * Makefile (installed-stubs): Likewise.
17681 * include/stubs-biarch.h: Removed.
17682 * scripts/lib-names.awk: Only handle one library at a time.
17683 * scripts/soversions.awk: Remove WORDSIZE support.
17684 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17686 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17688 (syscall-list-default-condition): Likewise.
17689 (syscall-list-default-condition): Likewise.
17690 (syscall-list-includes): Likewise.
17691 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17692 syscall-list-* with abi-*. Handle undefined abi-variants.
17693 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17694 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17695 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17697 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17698 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17700 (syscall-list-32-options): Likewise.
17701 (syscall-list-32-condition): Likewise.
17702 (syscall-list-64-options): Likewise.
17703 (syscall-list-64-condition): Likewise.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17706 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17709 (abi-64-ld-soname): New macro.
17710 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17711 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17714 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17715 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17717 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17719 * sysdeps/unix/sysv/linux/kernel-features.h
17720 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17721 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17722 include <kernel-features.h>.
17723 [!__NR_ftruncate64]: Remove conditional code.
17724 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17725 [__NR_ftruncate64]: Make code unconditional.
17726 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17727 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17728 include <kernel-features.h>.
17729 [!__NR_ftruncate64]: Remove conditional code.
17730 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17731 [__NR_ftruncate64]: Make code unconditional.
17732 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17734 include <kernel-features.h>.
17735 [!__NR_ftruncate64]: Remove conditional code.
17736 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17737 [__NR_ftruncate64]: Make code unconditional.
17738 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17740 include <kernel-features.h>.
17741 [!__NR_ftruncate64]: Remove conditional code.
17742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17743 [__NR_ftruncate64]: Make code unconditional.
17744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17746 * configure.in (libc_cv_fpie): Weaken to a compile test using
17747 LIBC_TRY_CC_OPTION.
17748 * configure: Regenerated.
17750 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17765 2012-05-27 David S. Miller <davem@davemloft.net>
17767 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17769 (__Q_simulate_exceptions): Return void. Change to simulate
17770 exceptions by writing into the %fsr.
17771 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17772 (__Qp_handle_exceptions): Likewise.
17774 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17775 __Qp_handle_exceptions.
17776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17777 __Qp_handle_exceptions.
17778 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17779 as unused and give dummy FP_RND_NEAREST initializer.
17780 (FP_INHIBIT_RESULTS): Define.
17781 (___Q_simulate_exceptions): Update declaration.
17782 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17785 as unused and give dummy FP_RND_NEAREST initializer.
17786 (__Qp_handle_exceptions): Update declaration.
17787 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17790 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17792 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17793 the temporary FPU control word.
17794 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17795 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17796 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17797 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17798 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17799 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17800 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17801 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17802 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17803 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17806 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17808 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17811 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17813 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17814 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17815 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17816 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17818 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17819 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17822 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17824 * po/h.po: Update from translation team.
17826 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17828 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17830 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17831 handling of denormals.
17832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17833 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17834 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17841 2012-05-26 Marek Polacek <polacek@redhat.com>
17844 * math/libm-test.inc (fma_test): Don't always expect underflow
17847 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17850 * elf/tst-execstack.c: Include stackinfo.h.
17851 (do_test): Adjust test case to ensure that pthread_getattr_np
17852 behaviour remains the same after marking stack executable.
17854 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17856 * sysdeps/unix/sysv/linux/kernel-features.h
17857 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17858 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17860 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17861 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17862 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17867 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17869 * configure.in: Define the default includes to being none.
17870 * configure: Regenerated.
17872 2012-05-25 Roland McGrath <roland@hack.frob.com>
17874 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17875 * sysdeps/x86_64/setjmp.S: Likewise.
17876 * sysdeps/i386/bsd-setjmp.S: Likewise.
17877 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17878 * sysdeps/i386/setjmp.S: Likewise.
17879 * sysdeps/i386/__longjmp.S: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17881 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17883 * include/stap-probe.h: New file.
17884 * configure.in: Handle --enable-systemtap.
17885 * configure: Regenerated.
17886 * config.h.in (USE_STAP_PROBE): New #undef.
17887 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17888 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17889 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17891 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17895 to 2.4.0 where earlier.
17896 * sysdeps/unix/sysv/linux/configure: Regenerated.
17897 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17898 <kernel-features.h>.
17899 [__ASSUME_32BITUIDS]: Make code unconditional.
17900 [!__ASSUME_32BITUIDS]: Remove conditional code.
17901 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17902 <kernel-features.h>.
17903 [__ASSUME_32BITUIDS]: Make code unconditional.
17904 [!__ASSUME_32BITUIDS]: Remove conditional code.
17905 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17906 [__ASSUME_32BITUIDS]: Make code unconditional.
17907 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17908 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
17925 <kernel-features.h>.
17926 [__ASSUME_32BITUIDS]: Make code unconditional.
17927 [!__ASSUME_32BITUIDS]: Remove conditional code.
17928 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17929 <kernel-features.h>.
17930 [__ASSUME_32BITUIDS]: Make code unconditional.
17931 [!__ASSUME_32BITUIDS]: Remove conditional code.
17932 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17933 <kernel-features.h>.
17934 [__ASSUME_32BITUIDS]: Make code unconditional.
17935 [!__ASSUME_32BITUIDS]: Remove conditional code.
17936 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17937 <kernel-features.h>.
17938 [__ASSUME_32BITUIDS]: Make code unconditional.
17939 [!__ASSUME_32BITUIDS]: Remove conditional code.
17940 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17941 <kernel-features.h>.
17942 [__ASSUME_32BITUIDS]: Make code unconditional.
17943 [!__ASSUME_32BITUIDS]: Remove conditional code.
17944 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17945 <kernel-features.h>.
17946 [__ASSUME_32BITUIDS]: Make code unconditional.
17947 [!__ASSUME_32BITUIDS]: Remove conditional code.
17948 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17949 <kernel-features.h>.
17950 [__NR_setresgid] (__setresgid): Do not declare.
17951 [__ASSUME_32BITUIDS]: Make code unconditional.
17952 [!__ASSUME_32BITUIDS]: Remove conditional code.
17953 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17954 <kernel-features.h>.
17955 [__NR_setresuid] (__setresuid): Do not declare.
17956 [__ASSUME_32BITUIDS]: Make code unconditional.
17957 [!__ASSUME_32BITUIDS]: Remove conditional code.
17958 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
17975 <kernel-features.h>.
17976 [__ASSUME_32BITUIDS]: Make code unconditional.
17977 [!__ASSUME_32BITUIDS]: Remove conditional code.
17978 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17979 <kernel-features.h>.
17980 [__ASSUME_32BITUIDS]: Make code unconditional.
17981 [!__ASSUME_32BITUIDS]: Remove conditional code.
17982 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17983 <kernel-features.h>.
17984 [__ASSUME_32BITUIDS]: Make code unconditional.
17985 [!__ASSUME_32BITUIDS]: Remove conditional code.
17986 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17987 <kernel-features.h>.
17988 [__ASSUME_32BITUIDS]: Make code unconditional.
17989 [!__ASSUME_32BITUIDS]: Remove conditional code.
17990 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17991 <kernel-features.h>.
17992 [__ASSUME_32BITUIDS]: Make code unconditional.
17993 [!__ASSUME_32BITUIDS]: Remove conditional code.
17994 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17995 <kernel-features.h>.
17996 [__ASSUME_32BITUIDS]: Make code unconditional.
17997 [!__ASSUME_32BITUIDS]: Remove conditional code.
17998 * sysdeps/unix/sysv/linux/kernel-features.h
17999 (__ASSUME_SETRESUID_SYSCALL): Remove.
18000 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18001 (__ASSUME_32BITUIDS): Likewise.
18002 (__ASSUME_LDT_WORKS): Likewise.
18003 (__ASSUME_O_DIRECTORY): Likewise.
18004 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18005 architecture but not kernel version.
18006 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18007 (__ASSUME_MMAP2_SYSCALL): Likewise.
18008 (__ASSUME_STAT64_SYSCALL): Likewise.
18009 (__ASSUME_IPC64): Likewise.
18010 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18011 <kernel-features.h>.
18012 [__ASSUME_32BITUIDS]: Make code unconditional.
18013 [!__ASSUME_32BITUIDS]: Remove conditional code.
18014 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18015 <kernel-features.h>.
18016 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18017 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18018 132096]: Remove conditional code.
18019 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18020 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18021 <kernel-features.h>.
18022 [__ASSUME_32BITUIDS]: Make code unconditional.
18023 [!__ASSUME_32BITUIDS]: Remove conditional code.
18024 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18025 <kernel-features.h>.
18026 [__ASSUME_32BITUIDS]: Make code unconditional.
18027 [!__ASSUME_32BITUIDS]: Remove conditional code.
18028 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18029 <kernel-features.h>.
18030 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18032 (__setresgid): Do not declare.
18033 [__ASSUME_32BITUIDS]: Make code unconditional.
18034 [!__ASSUME_32BITUIDS]: Remove conditional code.
18035 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18036 <kernel-features.h>.
18037 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18039 (__setresuid): Do not declare.
18040 [__ASSUME_32BITUIDS]: Make code unconditional.
18041 [!__ASSUME_32BITUIDS]: Remove conditional code.
18042 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18043 <kernel-features.h>.
18044 [__ASSUME_32BITUIDS]: Make code unconditional.
18045 [!__ASSUME_32BITUIDS]: Remove conditional code.
18046 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18047 <kernel-features.h>.
18048 [__ASSUME_32BITUIDS]: Make code unconditional.
18049 [!__ASSUME_32BITUIDS]: Remove conditional code.
18051 2012-05-25 Richard Henderson <rth@twiddle.net>
18053 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18054 dl_hwcap to ifunc resolver.
18055 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18057 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18058 dl_hwcap to ifunc resolver.
18059 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18061 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18064 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18065 for |x| <= 2**-26, not 2**-57.
18066 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18069 2012-05-24 Jeff Law <law@redhat.com>
18071 * stdio-common/Makefile (tests): Add bug25.
18072 * stdio-common/bug25.c: New test.
18074 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18077 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18078 multiple of MALLOC_ALIGNMENT in size.
18079 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18081 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18083 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18085 (FILENAME_MAX): Use macro-int-constant.
18086 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18087 (_IOFBF): Use macro-int-constant.
18088 (_IOLBF): Likewise.
18089 (_IONBF): Likewise.
18090 (SEEK_CUR): Likewise.
18091 (SEEK_END): Likewise.
18092 (SEEK_SET): Likewise.
18093 (TMP_MAX): Likewise.
18094 (EOF): Use macro-int-constant. Require < 0.
18095 (NULL): Use macro-constant. Require == 0.
18096 (stdin): Require type to be FILE *.
18097 (stdout): Likewise.
18098 (stderr): Likewise.
18099 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18100 macro-int-constant.
18101 (EXIT_SUCCESS): Likewise.
18102 (NULL): Use macro-constant. Require == 0.
18103 (RAND_MAX): Use macro-int-constant.
18104 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18105 [C99-based standards] (strtof): Require function.
18106 [C99-based standards] (strtold): Likewise.
18107 [C99-based standards] (strtoll): Likewise.
18108 [C99-based standards] (strtoull): Likewise.
18109 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18110 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18111 [ISO || ISO99 || ISO11] (math.h): Likewise.
18112 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18113 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18114 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18116 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18119 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18120 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18121 * intl/dgettext.c (DCGETTEXT): Likewise.
18122 * intl/gettext.c (DCGETTEXT): Likewise.
18123 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18124 * posix/regex_internal.h (gettext): Likewise.
18125 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18126 Remove declaration.
18127 * include/argz.h (__argz_count_internal)
18128 (__argz_stringify_internal): Remove declaration.
18129 (__argz_count, __argz_stringify): Declare hidden proto.
18130 * intl/dcgettext.c: Remove use of INTDEF.
18131 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18132 * string/argz-stringify.c: Likewise.
18133 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18134 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18135 Declare hidden proto.
18136 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18137 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18138 Declare hidden proto.
18139 * include/stdio.h (__asprintf_internal): Don't declare.
18140 (__asprintf): Don't define as macro. Declare hidden proto.
18141 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18142 (__fsetlocking): Declare hidden proto.
18143 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18144 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18146 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18147 (_IO_setlinebuf): Remove use of INTUSE.
18148 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18149 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18150 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18151 Remove declaration.
18152 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18153 (_IO_do_flush): Remove use of INTUSE.
18154 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18155 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18156 (_IO_adjust_column, _IO_least_wmarker)
18157 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18158 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18159 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18160 (_IO_default_doallocate, _IO_wdefault_doallocate)
18161 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18162 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18163 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18164 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18165 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18166 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18167 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18168 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18169 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18170 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18171 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18172 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18173 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18175 (_IO_flush_all_internal, _IO_adjust_column_internal)
18176 (_IO_default_uflow_internal, _IO_default_finish_internal)
18177 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18178 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18179 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18180 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18181 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18182 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18183 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18184 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18185 (_IO_file_close_internal, _IO_file_close_it_internal)
18186 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18187 (_IO_file_init_internal, _IO_file_attach_internal)
18188 (_IO_file_fopen_internal, _IO_file_read_internal)
18189 (_IO_file_sync_internal, _IO_file_seek_internal)
18190 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18191 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18192 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18193 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18194 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18195 (_IO_list_all_internal, _IO_link_in_internal)
18196 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18197 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18198 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18199 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18200 (_IO_do_write_internal, _IO_padn_internal)
18201 (_IO_getline_info_internal, _IO_getline_internal)
18202 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18203 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18204 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18205 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18206 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18207 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18208 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18209 with libc_hidden_ver, remove use of INTUSE.
18210 * libio/genops.c: Likewise.
18211 * libio/freopen.c: Likewise.
18212 * libio/freopen64.c: Likewise.
18213 * libio/iofclose.c: Likewise.
18214 * libio/iofdopen.c: Likewise.
18215 * libio/iofflush.c: Likewise.
18216 * libio/iofflush_u.c: Likewise.
18217 * libio/iofgets.c: Likewise.
18218 * libio/iofgets_u.c: Likewise.
18219 * libio/iofopen.c: Likewise.
18220 * libio/iofopncook.c: Likewise.
18221 * libio/iofread.c: Likewise.
18222 * libio/iofread_u.c: Likewise.
18223 * libio/ioftell.c: Likewise.
18224 * libio/iofwrite.c: Likewise.
18225 * libio/iogetline.c: Likewise.
18226 * libio/iogets.c: Likewise.
18227 * libio/iogetwline.c: Likewise.
18228 * libio/iopadn.c: Likewise.
18229 * libio/iopopen.c: Likewise.
18230 * libio/ioseekoff.c: Likewise.
18231 * libio/ioseekpos.c: Likewise.
18232 * libio/iosetbuffer.c: Likewise.
18233 * libio/iosetvbuf.c: Likewise.
18234 * libio/ioungetc.c: Likewise.
18235 * libio/ioungetwc.c: Likewise.
18236 * libio/iovdprintf.c: Likewise.
18237 * libio/iovsprintf.c: Likewise.
18238 * libio/iovsscanf.c: Likewise.
18239 * libio/memstream.c: Likewise.
18240 * libio/obprintf.c: Likewise.
18241 * libio/oldfileops.c: Likewise.
18242 * libio/oldiofclose.c: Likewise.
18243 * libio/oldiofdopen.c: Likewise.
18244 * libio/oldiofopen.c: Likewise.
18245 * libio/oldiopopen.c: Likewise.
18246 * libio/oldstdfiles.c: Likewise.
18247 * libio/putc.c: Likewise.
18248 * libio/setbuf.c: Likewise.
18249 * libio/setlinebuf.c: Likewise.
18250 * libio/stdfiles.c: Likewise.
18251 * libio/strops.c: Likewise.
18252 * libio/vasprintf.c: Likewise.
18253 * libio/vscanf.c: Likewise.
18254 * libio/vsnprintf.c: Likewise.
18255 * libio/vswprintf.c: Likewise.
18256 * libio/wfiledoalloc.c: Likewise.
18257 * libio/wfileops.c: Likewise.
18258 * libio/wgenops.c: Likewise.
18259 * libio/wmemstream.c: Likewise.
18260 * libio/wstrops.c: Likewise.
18261 * libio/__fpurge.c: Likewise.
18262 * libio/__fsetlocking.c: Likewise.
18263 * assert/assert.c: Likewise.
18264 * debug/fgets_chk.c: Likewise.
18265 * debug/fgets_u_chk.c: Likewise.
18266 * debug/fread_chk.c: Likewise.
18267 * debug/fread_u_chk.c: Likewise.
18268 * debug/gets_chk.c: Likewise.
18269 * debug/obprintf_chk.c: Likewise.
18270 * debug/vasprintf_chk.c: Likewise.
18271 * debug/vdprintf_chk.c: Likewise.
18272 * debug/vsnprintf_chk.c: Likewise.
18273 * debug/vsprintf_chk.c: Likewise.
18274 * malloc/mtrace.c: Likewise.
18275 * misc/error.c: Likewise.
18276 * misc/syslog.c: Likewise.
18277 * stdio-common/asprintf.c: Likewise.
18278 * stdio-common/fxprintf.c: Likewise.
18279 * stdio-common/getw.c: Likewise.
18280 * stdio-common/isoc99_fscanf.c: Likewise.
18281 * stdio-common/isoc99_scanf.c: Likewise.
18282 * stdio-common/isoc99_vfscanf.c: Likewise.
18283 * stdio-common/isoc99_vscanf.c: Likewise.
18284 * stdio-common/isoc99_vsscanf.c: Likewise.
18285 * stdio-common/printf-prs.c: Likewise.
18286 * stdio-common/printf_fp.c: Likewise.
18287 * stdio-common/printf_fphex.c: Likewise.
18288 * stdio-common/printf_size.c: Likewise.
18289 * stdio-common/putw.c: Likewise.
18290 * stdio-common/scanf.c: Likewise.
18291 * stdio-common/sprintf.c: Likewise.
18292 * stdio-common/tmpfile.c: Likewise.
18293 * stdio-common/vfprintf.c: Likewise.
18294 * stdio-common/vfscanf.c: Likewise.
18295 * stdlib/strfmon_l.c: Likewise.
18296 * sunrpc/openchild.c: Likewise.
18297 * sunrpc/xdr_stdio.c: Likewise.
18298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18299 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18301 2012-05-24 Roland McGrath <roland@hack.frob.com>
18303 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18305 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18306 in the third column, to generate for the shared library an IFUNC
18307 that uses _dl_vdso_vsym.
18308 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18309 * Makeconfig (object-suffixes-noshared): New variable.
18311 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18312 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18313 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18314 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18317 * include/sys/time.h (__gettimeofday): Remove macro.
18318 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18319 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18321 (__gettimeofday): Add libc_hidden_def.
18322 (gettimeofday): Add libc_hidden_weak.
18323 * sysdeps/mach/gettimeofday.c: Likewise.
18324 * sysdeps/posix/gettimeofday.c: Likewise.
18325 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18326 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18328 (__gettimeofday_internal): Remove strong_alias.
18329 (__gettimeofday): Add libc_hidden_def.
18330 (gettimeofday): Add libc_hidden_weak.
18331 * sysdeps/unix/syscalls.list (gettimeofday):
18332 Remove __gettimeofday_internal alias.
18334 2012-05-24 Daniel Jacobowitz <drow@false.org>
18335 H.J. Lu <hongjiu.lu@intel.com>
18338 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18339 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18340 (largebin_index_32_big): New.
18341 (largebin_index): Use it for 16-byte alignment.
18342 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18343 correction with front_misalign.
18345 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18373 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18374 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18376 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18380 * math/libm-test.inc (exp_test): Add test from bug 14036.
18381 (pow_test): Add test from bug 10846.
18383 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18385 (special_function): Do not include flags in test name.
18386 (parse_args): Likewise.
18387 * sysdeps/i386/fpu/libm-test-ulps: Update.
18388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18389 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18393 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18395 * math/libm-test.inc ("Philosophy"): Update comment about
18397 (UNDERFLOW_EXCEPTION): New macro.
18398 (UNDERFLOW_EXCEPTION_OK): Likewise.
18399 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18400 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18401 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18402 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18403 (INVALID_EXCEPTION_OK): Update value.
18404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18405 (OVERFLOW_EXCEPTION_OK): Likewise.
18406 (IGNORE_ZERO_INF_SIGN): Likewise.
18407 (test_exceptions): Handle underflow exceptions.
18408 (acos_test): Update for underflow exception expectations.
18409 (cexp_test): Likewise.
18410 (clog_test): Likewise.
18411 (clog10_test): Likewise.
18412 (csqrt_test): Likewise.
18413 (ctan_test): Likewise.
18414 (ctanh_test): Likewise.
18415 (exp_test): Likewise.
18416 (exp10_test): Likewise.
18417 (exp2_test): Likewise.
18418 (expm1_test): Likewise.
18419 (fma_test): Likewise.
18420 (j0_test): Likewise.
18421 (jn_test): Likewise.
18422 (nexttoward_test): Likewise.
18423 (pow_test): Likewise.
18424 (scalbn_test): Likewise.
18425 (scalbln_test): Likewise.
18426 (tan_test): Likewise.
18427 (y1_test): Likewise.
18428 * sysdeps/i386/fpu/libm-test-ulps: Update.
18429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431 2012-05-23 David S. Miller <davem@davemloft.net>
18433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18434 (__libc_sigaction): Remove unused local variables.
18436 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18438 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18440 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18442 mktime: avoid signed integer overflow
18443 * time/mktime.c (__mktime_internal): Do not mishandle the case
18444 where diff == INT_MIN.
18446 mktime: simplify computation of average
18447 * time/mktime.c (ranged_convert): Use new time_t_avg function
18448 instead of rolling our own (probably-slower) code.
18450 mktime: do not assume signed right shift propagates sign bit
18451 * time/mktime.c (isdst_differ): New static function.
18452 (__mktime_internal): No need to normalize tm_isdst now.
18453 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18456 mktime: merge another wrapv change from gnulib
18457 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18458 from some compilers.
18460 mktime: remove incorrect attempt at unusual arithmetics
18461 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18462 The code didn't really work on such machines anyway.
18463 (TYPE_MINIMUM): Assume two's complement.
18464 (twos_complement_arithmetic): Verify that long_int and time_t
18465 are two's complement (or unsigned, in the latter case).
18467 mktime: check signed shifts on long_int and time_t, too
18468 * time/mktime.c (SHR): Check that shifts work as desired
18469 on the types long_int and time_t too, as SHR is used on
18472 mktime: do not assume 'long' is wide enough
18473 * time/mktime.c (verify): Move decl up.
18474 (long_int): New type.
18475 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18476 to remove assumption in the code that 'long' is wide enough to
18477 store year values. This assumption is not true on x32 and on
18478 some non-glibc platforms.
18480 mktime: merge wrapv change from gnulib
18481 * time/mktime.c (WRAPV): New macro.
18482 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18483 (guess_time_tm, __mktime_internal): Do not assume that signed
18484 integer overflow wraps around; modern compilers generate code
18485 where this assumption is no longer valid.
18487 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18489 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18490 Replace "jmp L(pseudo_end)" with "ret".
18491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18494 2012-05-23 Andreas Jaeger <aj@suse.de>
18496 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18497 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18499 2012-05-23 Andreas Jaeger <aj@suse.de>
18500 Maximilian Attems <max@stro.at>
18502 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18505 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18508 code so that pseudo_end is just ret and the stack pointer is
18509 correct also for static library in error case.
18511 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18513 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18514 move to syscalls.list.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18520 * manual/install.texi (Running make install): Do not mention Linux
18521 kernel version for which pt_chown is not needed.
18522 (Linux): Do not mention problems with nscd with 2.0 kernels.
18523 * INSTALL: Regenerated.
18525 2012-05-23 Andreas Jaeger <aj@suse.de>
18527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18528 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18530 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18531 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18532 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18533 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18534 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18536 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18540 * sysdeps/unix/sysv/linux/bits/in.h
18541 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18543 2012-05-22 Roland McGrath <roland@hack.frob.com>
18545 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18546 (PREPARE_VERSION): Just use assert instead, it will be elided
18547 under [NDEBUG] anyway.
18549 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18551 * sysdeps/unix/sysv/linux/Makefile: Include
18552 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18553 (sysdep_routines): Remove sysctl.
18554 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18555 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18557 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18558 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18560 2012-05-22 Andreas Jaeger <aj@suse.de>
18562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18563 that pseudo_end is just ret and the stack pointer is correct also
18564 for static library in error case.
18566 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18569 * nss/nsswitch.c (defconfig_entries): New variable.
18570 (__nss_database_lookup): Don't leak defconfig entries.
18571 (nss_parse_service_list): Don't leak on error paths.
18572 (free_database_entries): New function.
18573 (free_defconfig): New function.
18574 (free_mem): Move common code to free_database_entries.
18576 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18578 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18580 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18582 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18583 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18586 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18587 (INTERNAL_SYSCALL_TYPES): Likewise.
18588 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18589 (LOAD_REGS_TYPES_[1-6]): Likewise.
18590 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18591 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18593 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18595 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18596 copysignl for GLIBC_2_0.
18597 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18598 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18600 logbl for GLIBC_2_0.
18601 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18602 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18604 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18607 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18609 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18612 * time/mktime.c: Update copyright years.
18614 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18616 mktime: merge comment-quoting-style change from gnulib
18617 * time/mktime.c: Quote 'like this' in comments.
18618 The GNU coding standards suggest that we no longer quote `like this',
18619 as "`" and "'" are typically rendered asymmetrically nowadays.
18620 The typical gnulib style is to quote 'like this' when quoting
18621 code, and "like this" when quoting English.
18623 * time/mktime.c (compile-command): Add "-I.".
18625 mktime: merge mktime-internal.h change from gnulib
18626 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18628 mktime: merge time_r change from gnulib
18629 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18631 mktime: merge DEBUG change from gnulib
18632 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18633 case system <time.h> has a #define.
18635 mktime: merge <sys/types.h> change from gnulib
18636 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18637 since <time.t> is now guaranteed to define time_t.
18639 mktime: merge HAVE_CONFIG_H change from gnulib
18640 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18642 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18647 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18649 (struct rusage): Use anonymous union to pad each field to
18652 2012-05-21 David S. Miller <davem@davemloft.net>
18654 * Makefules (o-iterator): Remove .s cases.
18655 (compile-command.s): Delete.
18656 (COMPILE.s): Delete.
18657 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18659 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18661 * configure.in (libc_cv_predef_stack_protector): Only consider
18662 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18663 * configure: Regenerated.
18665 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18668 New macro. Use R*LP on int and pointer.
18669 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18670 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18671 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18672 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18674 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18675 [__WORDSIZE_TIME64_COMPAT32] instead of
18676 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18677 (struct utmp): Likewise.
18678 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18679 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18681 (__WORDSIZE_TIME64_COMPAT32): This.
18682 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18683 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18684 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18686 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18687 (__WORDSIZE_TIME64_COMPAT32): New macro.
18689 2012-05-21 Andreas Jaeger <aj@suse.de>
18691 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18692 only if [SHARED]. Add prototype for __wcschr_ia32.
18694 2012-05-21 Roland McGrath <roland@hack.frob.com>
18696 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18697 of %rbp unmolested in the jmp_buf while mangling the low bits.
18698 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18699 unmolested high bits of %rbp while demangling the low bits.
18700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18702 2012-05-21 Andreas Jaeger <aj@suse.de>
18704 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18705 * sunrpc/svc_simple.c: Use it for registerrpc.
18706 * sunrpc/xcrypt.c: Use it for passwd2des.
18708 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18710 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18712 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18713 Don't define if [__SYSCALL_WORDSIZE != 32].
18714 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18717 2012-05-21 Bruno Haible <bruno@clisp.org>
18718 Andreas Jaeger <aj@suse.de>
18720 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18721 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18722 inptr and inend for must_buffer_ch.
18723 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18724 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18725 * stdio-common/Makefile (tests): Remove bug15.
18726 (bug15-ENV): Remove macro.
18727 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18730 2012-05-19 Andreas Jaeger <aj@suse.de>
18731 Roland McGrath <roland@hack.frob.com>
18733 * manual/contrib.texi: Completely rewritten. It contains now an
18734 alphabetical list of contributors and their contributions.
18736 2012-05-21 Richard Henderson <rth@twiddle.net>
18738 * misc/getauxval.c (__getauxval): Use unsigned long int.
18739 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18740 (getauxval): Use unsigned long int.
18742 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18744 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18746 2012-05-21 Roland McGrath <roland@hack.frob.com>
18748 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18749 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18750 __alignof__ (long double).
18752 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18756 2012-05-20 Richard Henderson <rth@twiddle.net>
18758 * misc/getauxval.c: New file.
18759 * misc/sys/auxv.h: New file.
18760 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18761 (routines): Add getauxval.
18762 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18763 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18764 * elf/dl-sysdep.c (_dl_auxv): Remove.
18765 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18766 * elf/dl-support.c (_dl_auxv): New variable.
18767 (_dl_aux_init): Initialize it.
18768 * manual/startup.texi (Auxiliary Vector): New node.
18769 * sysdeps/generic/bits/hwcap.h: New file.
18770 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18771 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18772 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18773 * sysdeps/sparc/sysdep.h: ... here. Include it.
18774 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18787 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18791 2012-05-19 David S. Miller <davem@davemloft.net>
18793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18795 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18798 * math/s_ccosh.c: Include <float.h>
18799 (__ccosh): Avoid internal overflow calculating sinh and cosh
18800 values before multiplying by sin and cos values.
18801 * math/s_ccoshf.c: Likewise.
18802 * math/s_ccoshl.c: Likewise.
18803 * math/s_csin.c: Likewise.
18804 * math/s_csinf.c: Likewise.
18805 * math/s_csinl.c: Likewise.
18806 * math/s_csinh.c: Likewise.
18807 * math/s_csinhf.c: Likewise.
18808 * math/s_csinhl.c: Likewise.
18809 * math/libm-test.inc (ccos_test): Add more tests.
18810 (ccosh_test): Likewise.
18811 (csin_test): Likewise.
18812 (csinh_test): Likewise.
18813 * sysdeps/i386/fpu/libm-test-ulps: Update.
18814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18816 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18818 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18819 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18821 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18823 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18826 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18827 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18828 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18829 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18830 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18831 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18832 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18833 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18834 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18835 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18836 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18837 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18838 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18839 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18840 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18841 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18842 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18843 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18844 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18845 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18846 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18847 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18848 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18849 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18850 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18851 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18852 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18853 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18854 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18855 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18857 2012-05-18 Andreas Jaeger <aj@suse.de>
18859 * csu/.gitignore: Delete.
18861 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18863 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18864 (timex): Use __syscall_slong_t.
18866 2012-05-18 Andreas Jaeger <aj@suse.de>
18867 Carlos O'Donell <carlos_odonell@mentor.com>
18869 * manual/install.texi (Configuring and compiling): Update
18870 description about files modified in the source directory.
18871 * INSTALL: Regenerated.
18873 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18875 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18876 value. Use "or" to set return value to -1.
18877 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18878 negate return value.
18880 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18882 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18883 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18884 failure if the compiler has Graphite support disabled.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18887 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18888 CFLAGS-memmove.c): Likewise.
18889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18892 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18894 * sysdeps/x86_64/x32/_itoa.h: New file.
18896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18897 getdents system call only if kernel and user dirents have the
18898 same d_ino and d_off.
18900 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18901 LLONG_MAX != LONG_MAX.
18902 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18903 (_fitoa_word): Likewise.
18905 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18907 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18908 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18909 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18912 include <bits/wordsize.h>. Check __x86_64__ instead of
18914 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18915 if __x86_64__ is defined. Use anonymous union on fpstate.
18917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18920 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18922 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18923 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18924 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18925 Refer to _rtld_local_ro instead of _rtld_global_ro.
18926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18928 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18930 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18932 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18933 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18934 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18936 * sysdeps/powerpc/powerpc32/dl-machine.c
18937 (__elf_machine_runtime_setup) [PROF]: Don't reference
18940 2012-05-18 Andreas Jaeger <aj@suse.de>
18942 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18943 function only available for GCCs before 3.4 since GCC 3.4
18944 introduced a builtin.
18946 (llrintf): Likewise.
18947 (llrint): Likewise.
18954 (nearbyint): Likewise.
18955 (nearbyintf): Likewise.
18959 (floorf): Likewise.
18961 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18963 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18964 on both fields and cast pointer to __syscall_ulong_t.
18966 * bits/types.h (__fsword_t): New type.
18967 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18968 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18970 (__FSWORD_T_TYPE): Likewise.
18971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18972 (__FSWORD_T_TYPE): Likewise.
18973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18974 (__FSWORD_T_TYPE): Likewise.
18975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18976 (__FSWORD_T_TYPE): Likewise.
18977 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18978 __SWORD_TYPE with __fsword_t.
18979 (statfs64): Likewise.
18981 2012-05-17 David S. Miller <davem@davemloft.net>
18983 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18985 2012-05-17 Andreas Jaeger <aj@suse.de>
18987 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18990 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18992 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18994 2012-05-17 Andreas Jaeger <aj@suse.de>
18996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18999 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19001 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19003 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19005 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19006 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19008 2012-05-17 Andreas Jaeger <aj@suse.de>
19009 Carlos O'Donell <carlos_odonell@mentor.com>
19012 * sysdeps/x86_64/multiarch/init-arch.h
19013 (bit_YMM_Usable): Rename to...
19014 (bit_AVX_Usable): ... this.
19015 (bit_FMA4_Usable): New macro.
19016 (bit_XMM_state): New macro.
19017 (bit_YMM_state): New macro.
19018 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19019 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19020 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19021 (CPUID_OSXSAVE): New macro.
19022 (CPUID_AVX): New macro.
19023 (CPUID_FMA4): New macro.
19024 (index_YMM_Usable): Rename to...
19025 (index_AVX_Usable): ... this.
19026 (HAS_AVX): Use HAS_ARCH_FEATURE.
19027 (HAS_FMA4): Likewise.
19028 (HAS_YMM_USABLE): Remove.
19029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19030 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19032 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19033 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19034 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19035 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19036 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19038 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19040 * math/libm-test.c: Support platforms without multiple rounding modes.
19041 * math/bug-nextafter.c: Support platforms without FP exceptions.
19042 * math/bug-nexttoward.c: Likewise.
19043 * math/test-fenv.c: Likewise.
19044 * math/test-misc.c: Likewise.
19045 * stdlib/bug-getcontext.c: Likewise.
19047 2012-05-17 Andreas Jaeger <aj@suse.de>
19049 * manual/examples/search.c (critter_cmp): Change signature to
19051 * manual/string.texi (Collation Functions): Likewise.
19053 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19055 * bits/types.h: Fold copyright years.
19056 * bits/typesizes.h: Likewise.
19057 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19061 * time/time.h: Likewise.
19063 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19066 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19067 in instead of returning them. Return void.
19068 (__libc_mallinfo): Accumulate over all arenas.
19069 (__malloc_stats): Adjust for change in int_mallinfo interface.
19071 2012-05-16 Roland McGrath <roland@hack.frob.com>
19074 * configure.in (NM): Add AC_CHECK_TOOL for it.
19075 (libc_extra_cflags): New substituted variable.
19076 Check for -fstack-protector being used implicitly.
19077 * configure: Regenerated.
19078 * config.make.in (config-extra-cflags): New variable,
19079 gets @libc_extra_cflags@.
19080 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19083 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19084 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19085 * configure: Regenerated.
19086 * config.make.in (CPPUNDEFS): New substituted variable.
19087 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19088 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19089 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19091 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19093 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19094 (mq_attr): Use __syscall_slong_t.
19096 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19098 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19099 Check __x86_64__ instead of __WORDSIZE.
19100 (_STAT_VER_LINUX): Likewise.
19101 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19102 __syscall_ulong_t and __syscall_slong_t.
19103 (stat64): Likewise.
19105 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19107 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19109 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19111 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19113 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19115 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19118 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19119 include <bits/wordsize.h>. Check __x86_64__ instead of
19121 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19123 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19126 include <bits/wordsize.h>. Check __x86_64__ instead of
19128 (user_regs_struct): Use "__extension__ unsigned long long"
19129 instead of "unsigned long" if __x86_64__ is defined.
19130 (user): Likewise. Pad after pointer field if __ILP32__ is
19133 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19135 * configure.in (makeinfo): Require version 4.5 or later. Allow
19137 * configure: Regenerated.
19138 * manual/install.texi (texinfo): Increase version requirement to
19140 * INSTALL: Regenerated.
19142 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19144 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19146 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19148 * sysdeps/x86_64/x32/ffs.c: New file.
19150 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19152 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19153 defined. Use __syscall_ulong_t.
19154 (shminfo): Use __syscall_ulong_t.
19155 (shm_info): Likewise.
19157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19160 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19162 (msgqnum_t): Use __syscall_ulong_t.
19163 (msglen_t): Likewise.
19164 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19167 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19168 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19170 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19172 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19173 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19175 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19178 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19179 include <bits/wordsize.h>. Check __x86_64__ instead of
19182 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19183 "unsigned long long int" if __x86_64__ is defined.
19184 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19187 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19188 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19190 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19192 (GET_PC): Cast to uintptr_t first.
19193 (GET_FRAME): Likewise.
19194 (GET_STACK): Likewise.
19196 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19197 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19199 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19200 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19201 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19202 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19203 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19204 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19205 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19207 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19208 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19209 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19211 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19213 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19214 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19215 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19216 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19217 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19218 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19219 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19220 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19221 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19222 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19223 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19224 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19226 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19228 * Makerules (+depfiles): Also collect depfiles from .oS in
19230 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19231 .oS, $(libnldbl-routines)).
19233 * Makerules (native-compile-mkdep-flags): Define.
19234 * sunrpc/Makefile (extra-objs): Add $(addprefix
19235 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19236 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19237 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19238 calling $(make-target-directory).
19240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19242 * bits/types.h (__snseconds_t): Removed.
19243 * time/time.h (struct timespec): Replace __snseconds_t with
19245 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19246 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19249 (__SNSECONDS_T_TYPE): Likewise.
19250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19251 (__SNSECONDS_T_TYPE): Likewise.
19252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19253 (__SNSECONDS_T_TYPE): Likewise.
19255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19257 * sysdeps/mach/hurd/bits/typesizes.h
19258 (__SYSCALL_SLONG_TYPE): New macro.
19259 (__SYSCALL_ULONG_TYPE): Likewise.
19261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19263 * bits/types.h (__syscall_slong_t): New type.
19264 (__syscall_ulong_t): Likewise.
19266 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19267 (__SYSCALL_ULONG_TYPE): Likewise.
19268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19269 (__SYSCALL_SLONG_TYPE): Likewise.
19270 (__SYSCALL_ULONG_TYPE): Likewise.
19271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19272 (__SYSCALL_SLONG_TYPE): Likewise.
19273 (__SYSCALL_ULONG_TYPE): Likewise.
19274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19275 (__SYSCALL_SLONG_TYPE): Likewise.
19276 (__SYSCALL_ULONG_TYPE): Likewise.
19278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19280 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19281 Add sigaltstack-offsets.sym.
19282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19283 <sigaltstack-offsets.h>.
19284 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19285 longjmp_msg pointer.
19286 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19287 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19289 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19291 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19293 * elf/stackguard-macros.h: Remove file.
19294 * sysdeps/generic/stackguard-macros.h: New file.
19295 * sysdeps/i386/stackguard-macros.h: Likewise.
19296 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19297 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19298 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19299 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19300 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19301 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19302 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19303 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19304 <elf/stackguard-macros.h>.
19307 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19308 __aligned__ in attribute.
19309 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19310 (gregset_t): Likewise.
19312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19314 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19315 * sysdeps/x86_64/64/Implies-after: Here. New file.
19316 * sysdeps/x86_64/x32/Implies-after: New file.
19318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19320 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19321 and access return value for _dl_profile_fixup. Use R10_LP to
19324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19326 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19330 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19331 * sysdeps/x86_64/x32/sysdep.h: New file.
19333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19335 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19336 * sysdeps/x86_64/setjmp.S: Likewise.
19338 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19340 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19342 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19343 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19344 remove unused global constant.
19346 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19348 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19349 include of <not-cancel.h>.
19351 2012-05-15 Roland McGrath <roland@hack.frob.com>
19353 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19355 2012-05-15 Jeff Law <law@redhat.com>
19356 Andreas Jaeger <aj@suse.de>
19359 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19361 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19362 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19363 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19364 code changing __hst_map_handle.map.
19366 2012-05-15 Roland McGrath <roland@hack.frob.com>
19368 * configure.in (sysnames): Look for Implies-before and Implies-after
19370 * configure: Regenerated.
19372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19374 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19375 8-byte data alignment with LP_SIZE alignment.
19377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19379 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19384 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19388 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19389 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19396 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19397 (stackinfo_sub_sp): Likewise.
19399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19406 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19416 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19420 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19421 into R11_LP and load __x86_64_shared_cache_size_half into
19424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19426 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19429 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19437 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19438 powerpc32/power7/fpu/s_logb.c via #include.
19439 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19440 powerpc32/power7/fpu/s_logbf.c via #include.
19441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19442 powerpc32/power7/fpu/s_logbl.c via #include.
19444 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19446 * README.libm: Remove file.
19448 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19450 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19451 count for x32. Use R*_LP and omit operand-size suffix.
19453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19455 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19456 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19457 * sysdeps/x86_64/x32/shlib-versions: New file.
19459 2012-05-14 Roland McGrath <roland@hack.frob.com>
19461 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19462 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19463 Use _dl_fatal_printf instead.
19465 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19467 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19468 set if not set by the user. Do not allow for being unset.
19469 * sysdeps/unix/sysv/linux/configure: Regenerated.
19471 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19473 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19474 the `q' suffix from lea and replace .quad with ASM_ADDR.
19476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19479 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19481 (PTR_DEMANGLE): Likewise.
19483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19485 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19487 (ASM_ADDR): Likewise.
19488 (RAX_LP): Likewise.
19489 (RBP_LP): Likewise.
19490 (RBX_LP): Likewise.
19491 (RCX_LP): Likewise.
19492 (RDI_LP): Likewise.
19493 (RSI_LP): Likewise.
19494 (RSP_LP): Likewise.
19497 (R10_LP): Likewise.
19498 (R10_LP): Likewise.
19499 (R11_LP): Likewise.
19500 (R12_LP): Likewise.
19501 (R13_LP): Likewise.
19502 (R14_LP): Likewise.
19503 (R15_LP): Likewise.
19505 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19507 * sysdeps/x86_64/x32/dl-machine.h: New file.
19509 2012-05-14 Andreas Jaeger <aj@suse.de>
19511 * manual/Makefile (subdir): Remove export of subdir.
19512 (all): Remove target.
19513 (.PHONY): Remove all from list.
19514 (mkinstalldirs): Remove.
19515 (.PHONY): Remove installdirs from list.
19516 ($(inst_infodir)/libc.info): Use make-target-directory.
19517 (installdirs): Remove.
19518 (subdir_%): Remove.
19519 (glibc-targets): Remove.
19522 ($(objpfx)stubs ../po/manual.pot): Remove.
19523 ($(objpfx)stamp%): Remove.
19524 (make-target-directory): Remove.
19525 (subdir_install): Remove.
19526 (routines): Remove.
19533 * manual/.gitignore: Remove, it's not needed anymore.
19534 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19536 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19538 (texis): Renamed to $(objpfx)texis.
19539 (texis-path): New, contains path to generated files.
19540 (chapters.%): Use texis-path for complete path, add extra argument
19542 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19543 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19544 (summary,texi, stamp-summary): Use complete path of
19545 files. Generate files in build dir.
19546 (dir-add.texi): Build in build dir.
19547 (libm-err.texi,stamp-libm-err): Likewise.
19548 (version.texi, stamp-version): Likewise.
19549 (.%c.texi): Likewise.
19550 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19551 (mostlyclean): Remove target.
19552 (realclean): Remove target.
19553 (generated): Add new variable with contents from mostlyclean and
19554 realclean, remove entries duplicated in common-mostlyclean, add
19555 stamp-libm-err and stamp-version.
19556 (generated-dirs): Add libc directory.
19557 ($(inst_infodir)/libc.info): Install files from build dir.
19559 * manual/install.texi (Configuring and compiling): Adjust since
19560 the info files are not part of the tar ball anymore.
19562 2012-05-14 Andreas Jaeger <aj@suse.de>
19564 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19567 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19571 to 2.2.0 where earlier.
19572 * sysdeps/unix/sysv/linux/configure: Regenerated.
19573 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19574 Remove conditional code.
19575 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19576 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19577 Remove conditional code.
19578 [!__NR_lchown]: Likewise.
19579 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19580 [__NR_lchown]: Likewise.
19581 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19582 comment referencing __ASSUME_LCHOWN_SYSCALL.
19583 * sysdeps/unix/sysv/linux/i386/sigaction.c
19584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19586 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19587 Remove conditional code.
19588 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19589 (__protocol_available): Remove #if 0 code.
19590 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19592 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19593 * sysdeps/unix/sysv/linux/kernel-features.h
19594 (__ASSUME_GETCWD_SYSCALL): Don't define.
19595 (__ASSUME_REALTIME_SIGNALS): Likewise.
19596 (__ASSUME_PREAD_SYSCALL): Likewise.
19597 (__ASSUME_PWRITE_SYSCALL): Likewise.
19598 (__ASSUME_POLL_SYSCALL): Likewise.
19599 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19600 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19602 (__ASSUME_SIOCGIFNAME): Don't define.
19603 (__ASSUME_MSG_NOSIGNAL): Likewise.
19604 (__ASSUME_SENDFILE): Define unconditionally.
19605 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19606 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19608 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19609 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19610 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19611 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19612 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19613 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19614 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19616 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19619 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19625 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19628 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19639 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19640 Remove conditional code.
19641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19642 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19643 Remove conditional code.
19644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19645 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19646 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19647 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19648 Remove conditional code.
19649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19650 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19651 Remove conditional code.
19652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19653 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19654 Remove conditional code.
19655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19656 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19657 Remove conditional code.
19658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19659 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19660 Remove conditional code.
19661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19662 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19665 * sysdeps/unix/sysv/linux/sigaction.c
19666 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19667 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19668 * sysdeps/unix/sysv/linux/sigpending.c
19669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19671 * sysdeps/unix/sysv/linux/sigprocmask.c
19672 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19673 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19674 * sysdeps/unix/sysv/linux/sigsuspend.c
19675 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19676 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19678 (__libc_missing_rt_sigs): Remove.
19679 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19680 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19681 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19682 Remove conditional code.
19683 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19684 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19686 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19687 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19688 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19689 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19691 2012-05-14 Andreas Jaeger <aj@suse.de>
19693 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19694 it's not used in glibc.
19695 (__coshm1): Likewise.
19696 (__acosh1p): Likewise.
19699 * manual/string.texi (Copying and Concatenation): Add missing
19700 variable in concat example.
19701 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19703 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19707 __builtin_clzl with __builtin_clzll.
19709 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19712 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19715 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19717 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19718 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19719 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19720 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19722 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19724 * NEWS: Update ia64 info.
19726 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19728 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19731 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19733 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19734 * sysdeps/unix/syscalls.list (dup3): Likewise.
19735 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19736 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19738 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19740 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19741 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19743 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19745 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19747 (TLS_IE): Use mov/add instead of movq/addq to load thread
19749 (TLS_GD_PREFIX): New.
19752 2012-05-11 David S. Miller <davem@davemloft.net>
19754 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19755 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19756 (_FPU_SETCW): Likewise.
19758 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19760 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19761 is 32-byte aligned.
19763 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19766 * iconvdata/gb18030.c: Update tables.
19767 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19768 characters specially.
19769 (BODY for TO_LOOP): Add encoding of missing ranges.
19771 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19774 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19775 * sysdeps/mach/hurd/dup3.c: Likewise.
19776 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19777 * sysdeps/powerpc/memmove.c:: Likewise.
19779 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19782 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19784 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19786 * elf/elf.h (R_X86_64_RELATIVE64): New.
19787 (R_X86_64_NUM): Updated.
19788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19789 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19790 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19791 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19792 tst-quad1pie tst-quad2pie
19793 (modules-names): Add tst-quadmod1 tst-quadmod2.
19794 ($(objpfx)tst-quad1): New dependency.
19795 ($(objpfx)tst-quad2): Likewise.
19796 ($(objpfx)tst-quad1pie): Likewise.
19797 ($(objpfx)tst-quad2pie): Likewise.
19798 * sysdeps/x86_64/tst-quad1.c: New file.
19799 * sysdeps/x86_64/tst-quad1pie.c: New file.
19800 * sysdeps/x86_64/tst-quad2.c: Likewise.
19801 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19802 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19803 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19804 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19805 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19809 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19810 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19811 * streams/stropts.h (t_scalar_t): Define type.
19813 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19814 (_PATH_PRESERVE): Set to "/var/lib".
19815 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19817 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19820 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19821 if __dir_mkfile succeeded.
19823 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19824 checking for _hurd_dtablesize. Unlock it right after having
19825 finished _hurd_dtable allocation.
19827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19829 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19830 * sysdeps/mach/hurd/configure: Regenerated.
19831 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19832 special-casing to...
19833 * sysdeps/gnu/configure.in: ... this new file.
19834 * sysdeps/unix/sysv/linux/configure: Regenerated.
19835 * sysdeps/gnu/configure: New generated file.
19837 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19838 for Linux: use nsec instead of usec, as well as:
19839 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19840 members of type struct timespec.
19841 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19843 (struct stat64): Likewise.
19844 (_STATBUF_ST_NSEC): New macro.
19845 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19847 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19848 __strtoul_internal rather than strtoul.
19850 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19852 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19857 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19858 which preserves existing values.
19859 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19861 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19863 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19864 TIMEOUT values. Return EINVAL for NFDS values either negative or
19865 greater than FD_SETSIZE.
19867 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19869 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19870 allocated, call __vm_protect to finish enabling the existing space, and
19871 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19872 allocate the remainder.
19874 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19876 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19877 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19881 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19882 sysdeps/mach/hurd/readlink.c.
19884 * posix/tst-sysconf.c (posix_options): Only use
19885 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19886 _POSIX_SYNCHRONIZED_IO when they are defined
19887 * sysdeps/mach/hurd/bits/posix_opt.h:
19888 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19889 (_XOPEN_REALTIME): Undefine macro.
19890 (_XOPEN_REALTIME_THREADS): Undefine macro.
19891 (_XOPEN_SHM): Undefine macro.
19892 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19894 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19896 (_POSIX_ASYNC_IO): Undefine macro.
19897 (_POSIX_PRIORITIZED_IO): Undefine macro.
19898 (_POSIX_SPIN_LOCKS): Define macro to -1.
19900 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19901 SA_NODEFER, SA_RESETHAND.
19902 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19903 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19906 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19908 * elf/Makefile (pldd-modules): Define unconditionally.
19910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19912 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19916 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19917 Return ENOENT when name is empty.
19918 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19922 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19924 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19928 Fix mlock in all cases except non-readable pages.
19929 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19930 instead of VM_PROT_ALL as parameter to __vm_wire function.
19932 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19933 (__mkdir): When path is `/', just fail with EEXIST.
19934 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19938 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19939 <sys/uio.h> (for writev).
19940 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19941 and <sys/param.h> (for MIN).
19943 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19945 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19946 REQUESTED_TIME. Properly set the remaining time and return EINTR
19949 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19951 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19952 Depend on against $(link-rpcuserlibs).
19954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19956 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19957 (__libc_stack_end): Do not use attribute_relro.
19958 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19959 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19960 to libthread-provided value.
19961 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19967 * bits/libc-lock.h (__libc_once_get): New macro.
19968 * sysdeps/mach/bits/libc-lock.h: Likewise.
19969 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19971 instead of using implementation details.
19973 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19974 * libio/freopen.c: Likewise.
19975 * libio/freopen64.c: Likewise.
19976 * misc/syslog.c: Likewise.
19977 * nscd/connections.c: Likewise.
19978 * nscd/netgroupcache.c: Likewise.
19979 * sysdeps/posix/getcwd.c: Likewise.
19981 2012-05-10 Roland McGrath <roland@hack.frob.com>
19983 * math/w_ilogbf.c: Add #include <limits.h>.
19985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19987 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19988 path instead of returning without unlocking.
19990 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19991 immediate-write ioctls.
19992 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19994 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19996 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19997 __builtin_frame_address instead of making assumptions about the
19998 location of the return address relative to DATA. Force early load of
19999 the return address.
20000 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20001 __builtin_frame_address.
20004 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20005 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20006 implement dup3 and do some further code clean-ups.
20007 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20008 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20010 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20012 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20014 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20015 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20016 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20017 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20018 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20021 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20022 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20023 when handler == SIG_ERR, not when handler != SIG_ERR.
20025 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20027 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20028 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20031 accept4 for GNU Hurd.
20032 * include/sys/socket.h (__libc_accept4): New prototype.
20033 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20034 to implement __libc_accept4.
20035 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20037 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20039 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20040 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20041 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20042 signal-defines.sym.
20044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20046 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20050 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20051 assertion on O_CLOEXEC flag.
20052 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20053 * hurd/intern-fd.c: Likewise.
20054 * hurd/port2fd.c: Likewise.
20056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20059 * bits/in.h (IPV6_PKTINFO): Define new macro.
20060 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20062 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20067 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20069 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20070 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20072 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20073 * math/libm-test.inc (logb_test) : Additional logb tests.
20075 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20076 Andreas Jaeger <aj@suse.de>
20078 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20079 * configure: Regenerated.
20080 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20081 * config.make.in (link-obsolete-rpc): New substituted variable.
20082 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20083 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20084 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20085 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20086 so that libc.a contains the symbols.
20087 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20088 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20089 * sunrpc/auth_none.c: Likewise.
20090 * sunrpc/auth_unix.c: Likewise.
20091 * sunrpc/authdes_prot.c: Likewise.
20092 * sunrpc/authuxprot.c: Likewise.
20093 * sunrpc/clnt_gen.c: Likewise.
20094 * sunrpc/clnt_perr.c: Likewise.
20095 * sunrpc/clnt_raw.c: Likewise.
20096 * sunrpc/clnt_simp.c: Likewise.
20097 * sunrpc/clnt_tcp.c: Likewise.
20098 * sunrpc/clnt_udp.c: Likewise.
20099 * sunrpc/clnt_unix.c: Likewise.
20100 * sunrpc/des_crypt.c: Likewise.
20101 * sunrpc/des_soft.c: Likewise.
20102 * sunrpc/get_myaddr.c: Likewise.
20103 * sunrpc/key_call.c: Likewise.
20104 * sunrpc/key_prot.c: Likewise.
20105 * sunrpc/netname.c: Likewise.
20106 * sunrpc/pm_getmaps.c: Likewise.
20107 * sunrpc/pm_getport.c: Likewise.
20108 * sunrpc/pmap_clnt.c: Likewise.
20109 * sunrpc/pmap_prot.c: Likewise.
20110 * sunrpc/pmap_prot2.c: Likewise.
20111 * sunrpc/pmap_rmt.c: Likewise.
20112 * sunrpc/publickey.c: Likewise.
20113 * sunrpc/rpc_cmsg.c: Likewise.
20114 * sunrpc/rpc_common.c: Likewise.
20115 * sunrpc/rpc_dtable.c: Likewise.
20116 * sunrpc/rpc_prot.c: Likewise.
20117 * sunrpc/rpc_thread.c: Likewise.
20118 * sunrpc/rtime.c: Likewise.
20119 * sunrpc/svc.c: Likewise.
20120 * sunrpc/svc_auth.c: Likewise.
20121 * sunrpc/svc_raw.c: Likewise.
20122 * sunrpc/svc_run.c: Likewise.
20123 * sunrpc/svc_tcp.c: Likewise.
20124 * sunrpc/svc_udp.c: Likewise.
20125 * sunrpc/svc_unix.c: Likewise.
20126 * sunrpc/svcauth_des.c: Likewise.
20127 * sunrpc/xcrypt.c: Likewise.
20128 * sunrpc/xdr.c: Likewise.
20129 * sunrpc/xdr_array.c: Likewise.
20130 * sunrpc/xdr_float.c: Likewise.
20131 * sunrpc/xdr_intXX_t.c: Likewise.
20132 * sunrpc/xdr_mem.c: Likewise.
20133 * sunrpc/xdr_rec.c: Likewise.
20134 * sunrpc/xdr_ref.c: Likewise.
20135 * sunrpc/xdr_sizeof.c: Likewise.
20136 * sunrpc/xdr_stdio.c: Likewise.
20138 2012-05-10 Roland McGrath <roland@hack.frob.com>
20140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20141 change. Update copyright years.
20143 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20145 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20147 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20148 Joseph Myers <joseph@codesourcery.com>
20149 Paul Pluzhnikov <ppluzhnikov@google.com>
20152 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20154 [cross-compiling] (extra-libs): Likewise.
20155 [cross-compiling] (extra-libs-others): Likewise.
20156 [cross-compiling] (librpcsvc-routines): Likewise.
20157 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20158 [cross-compiling] (omit-deps): Likewise.
20159 (sunrpc-CPPFLAGS): New variable.
20160 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20161 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20162 (cross-rpcgen-objs): New variable.
20163 (extra-objs): Append $(cross-rpcgen-objs).
20164 ($(cross-rpcgen-objs)): New rule.
20165 ($(objpfx)cross-rpcgen): Likewise.
20166 (rpcgen-cmd): Define to use $(built-program-file). Expand
20168 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20169 ($(objpfx)x%.stmp): Likewise.
20170 * sunrpc/proto.h [IS_IN_build] (_): Define.
20171 [IS_IN_build] (_libc_intl_domainname): Likewise.
20173 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20176 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20177 and R_X86_64_TPOFF64.
20179 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20181 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20182 sysdeps/unix/sysv/syscalls.list.
20185 * sysdeps/unix/sysv/syscalls.list: Remove file.
20187 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20190 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20191 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20192 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20193 (__LC_IDENTIFICATION): Make these macros useful in #if
20194 expressions, as required by C99.
20196 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20198 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20199 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20202 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20204 * stdlib/longlong.h: Updated from GCC.
20206 2012-05-09 Andreas Jaeger <aj@suse.de>
20208 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20209 default is first entry.
20210 (run_mode): Set type.
20211 (main): Remove informal message about syslog.
20212 (options): Fix typo.
20215 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20218 (llrintf): Likewise.
20219 (llrint): Likewise.
20222 (nearbyint): Likewise.
20223 (nearbyintf): Likewise.
20225 2012-05-09 Andreas Jaeger <aj@suse.de>
20226 Pedro Alves <palves@redhat.com>
20228 * nscd/nscd.c (run_mode): Use enum.
20229 (main): Cleanup coding style issue.
20231 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20232 Andreas Jaeger <aj@suse.de>
20234 * nscd/nscd.c (go_background): Replaced with...
20235 (run_mode): ... this.
20236 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20237 (options): Add -F --foreground.
20238 (main): Implement it.
20239 (parse_opt): Parse it.
20241 2012-05-09 Andreas Jaeger <aj@suse.de>
20244 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20245 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20246 -Wconversion warning.
20247 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20250 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20252 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20254 (LC_ALL): Use macro-int-constant.
20255 (LC_COLLATE): Likewise.
20256 (LC_CTYPE): Likewise.
20257 (LC_MESSAGES): Likewise.
20258 (LC_MONETARY): Likewise.
20259 (LC_NUMERIC): Likewise.
20260 (LC_TIME): Likewise.
20261 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20262 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20264 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20266 [C99-based standards] (float_t): Expect type.
20267 [C99-based standards] (double_t): Expect type.
20268 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20270 [C99-based standards] (HUGE_VALL): Likewise.
20271 [C99-based standards] (INFINITY): Likewise.
20272 [C99-based standards] (NAN): Likewise.
20273 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20274 [C99-based standards] (FP_NAN): Likewise.
20275 [C99-based standards] (FP_NORMAL): Likewise.
20276 [C99-based standards] (FP_SUBNORMAL): Likewise.
20277 [C99-based standards] (FP_ZERO): Likewise.
20278 [C99-based standards] (FP_FAST_FMA): Use
20279 optional-macro-int-constant. Specify type. Require == 1.
20280 [C99-based standards] (FP_FAST_FMAF): Likewise.
20281 [C99-based standards] (FP_FAST_FMAL): Likewise.
20282 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20283 [C99-based standards] (FP_ILOGBNAN): Likewise.
20284 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20286 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20287 [C99-based standards] (math_errhandling): Specify type.
20288 [ISO99 || ISO11] (signgam): Do not allow.
20289 [non-C99-based standards] (copysignf): Do not allow.
20290 [non-C99-based standards] (exp2f): Likewise.
20291 [non-C99-based standards] (log2f): Likewise.
20292 [non-C99-based standards] (modff): Allow.
20293 [non-C99-based standards] (erff): Do not allow.
20294 [non-C99-based standards] (erfcf): Likewise.
20295 [non-C99-based standards] (gammaf): Likewise.
20296 [non-C99-based standards] (hypotf): Likewise.
20297 [non-C99-based standards] (j0f): Likewise.
20298 [non-C99-based standards] (j1f): Likewise.
20299 [non-C99-based standards] (jnf): Likewise.
20300 [non-C99-based standards] (lgammaf): Likewise.
20301 [non-C99-based standards] (tgammaf): Likewise.
20302 [non-C99-based standards] (y0f): Likewise.
20303 [non-C99-based standards] (y1f): Likewise.
20304 [non-C99-based standards] (ynf): Likewise.
20305 [non-C99-based standards] (isnanf): Likewise.
20306 [non-C99-based standards] (acoshf): Likewise.
20307 [non-C99-based standards] (asinhf): Likewise.
20308 [non-C99-based standards] (atanhf): Likewise.
20309 [non-C99-based standards] (cbrtf): Likewise.
20310 [non-C99-based standards] (expm1f): Likewise.
20311 [non-C99-based standards] (ilogbf): Likewise.
20312 [non-C99-based standards] (log1pf): Likewise.
20313 [non-C99-based standards] (logbf): Likewise.
20314 [non-C99-based standards] (nextafterf): Likewise.
20315 [non-C99-based standards] (remainderf): Likewise.
20316 [non-C99-based standards] (rintf): Likewise.
20317 [non-C99-based standards] (scalbf): Likewise.
20318 [non-C99-based standards] (copysignl): Likewise.
20319 [non-C99-based standards] (exp2l): Likewise.
20320 [non-C99-based standards] (log2l): Likewise.
20321 [non-C99-based standards] (modfl): Allow.
20322 [non-C99-based standards] (erfl): Do not allow.
20323 [non-C99-based standards] (erfcl): Likewise.
20324 [non-C99-based standards] (gammal): Likewise.
20325 [non-C99-based standards] (hypotl): Likewise.
20326 [non-C99-based standards] (j0l): Likewise.
20327 [non-C99-based standards] (j1l): Likewise.
20328 [non-C99-based standards] (jnl): Likewise.
20329 [non-C99-based standards] (lgammal): Likewise.
20330 [non-C99-based standards] (tgammal): Likewise.
20331 [non-C99-based standards] (y0l): Likewise.
20332 [non-C99-based standards] (y1l): Likewise.
20333 [non-C99-based standards] (ynl): Likewise.
20334 [non-C99-based standards] (isnanl): Likewise.
20335 [non-C99-based standards] (acoshl): Likewise.
20336 [non-C99-based standards] (asinhl): Likewise.
20337 [non-C99-based standards] (atanhl): Likewise.
20338 [non-C99-based standards] (cbrtl): Likewise.
20339 [non-C99-based standards] (expm1l): Likewise.
20340 [non-C99-based standards] (ilogbl): Likewise.
20341 [non-C99-based standards] (log1pl): Likewise.
20342 [non-C99-based standards] (logbl): Likewise.
20343 [non-C99-based standards] (nextafterl): Likewise.
20344 [non-C99-based standards] (remainderl): Likewise.
20345 [non-C99-based standards] (rintl): Likewise.
20346 [non-C99-based standards] (scalbl): Likewise.
20347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20348 [non-C99-based standards] (FP_*): Do not allow.
20349 [C99-based standards] (FP_*): Change to
20350 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20351 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20353 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20354 (SIG_ERR): Likewise.
20355 [X/Open-based standards] (SIG_HOLD): Likewise.
20356 (SIG_IGN): Likewise.
20357 (SIGABRT): Use macro-int-constant. Specify type. Require
20359 (SIGFPE): Likewise.
20360 (SIGILL): Likewise.
20361 (SIGINT): Likewise.
20362 (SIGSEGV): Likewise.
20363 (SIGTER): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20373 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20374 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20375 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20376 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20377 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20378 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20380 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20381 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20382 [X/Open-based standards] (SIGTRAP): Likewise.
20383 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20386 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20387 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20390 2012-05-08 Ian Wienand <ianw@vmware.com>
20393 * time/tzset.c (__tzset_parse_tz): Update default rules for
20394 daylight time changes in the Energy Policy Act of 2005.
20396 2012-05-09 Andreas Jaeger <aj@suse.de>
20399 * elf/ldconfig.c (parse_conf): Change string to make clear that
20400 ldconfig only issued a warning if ld.so.conf does not exist.
20402 2012-05-08 David S. Miller <davem@davemloft.net>
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20405 movxtod instead of popping the value on the stack.
20407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20409 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20411 * config.h.in: Add HAVE_ARM_PCS_VFP.
20413 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20416 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20417 checking but the checks are disabled for any reason.
20419 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20421 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20422 and ELF64_R_TYPE with ELFW(R_TYPE).
20424 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20426 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20427 (ulimit): Likewise.
20429 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20430 (settimeofday): Likewise.
20432 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20434 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20435 a struct th_u2 inside the union, and move tu_block/tu_code into
20436 a new th_u3 union of tu_block/tu_code inside of that. Move
20437 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20438 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20439 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20440 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20441 (th_stuff): Change to th_u1.tu_stuff.
20443 (th_msg): Change to th_u1.th_u2.tu_data.
20445 2012-05-07 David S. Miller <davem@davemloft.net>
20447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20450 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20451 (SETUP_PIC_REG): Use it.
20452 (SETUP_PIC_REG_LEAF): Use it.
20454 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20460 (EXPL_FINITE): Likewise.
20461 (FLDLOG): Likewise.
20462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20463 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20465 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20467 (EXPL_FINITE): Likewise.
20468 (FLDLOG): Likewise.
20469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20470 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20472 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20473 test of -max_value argument for long double.
20474 * sysdeps/i386/fpu/libm-test-ulps: Update.
20475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20477 2012-05-06 David S. Miller <davem@davemloft.net>
20479 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20480 quad soft-float symbols whose references which are compiler
20482 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20484 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20490 (EXPL_FINITE): Likewise.
20491 (FLDLOG): Likewise.
20494 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20495 Adjust comments for base varying.
20496 (__expl_finite): Change alias to EXPL_FINITE.
20497 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20499 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20500 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20501 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20502 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20503 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20505 (EXPL_FINITE): Likewise.
20506 (FLDLOG): Likewise.
20509 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20510 Adjust comments for base varying.
20511 (__expl_finite): Change alias to EXPL_FINITE.
20512 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20517 * math/libm-test.inc (check_float_internal): Correct ulp
20518 calculation for subnormal expected results.
20520 2012-05-06 Andreas Jaeger <aj@suse.de>
20522 * Makeconfig (+math-flags): New, set to -frounding-math.
20523 (+cflags): Add +math-flags so that all of glibc gets compiled with
20526 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20528 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20530 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20536 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20537 (__ieee754_expl): Allow for and saturate large arguments.
20538 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20539 (u_threshold): Likewise.
20540 (__exp): Call __ieee754_exp before checking for overflow and
20542 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20543 (u_threshold): Likewise.
20544 (__expf): Call __ieee754_expf before checking for overflow and
20546 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20547 (u_threshold): Likewise.
20548 (__expl): Call __ieee754_expl before checking for overflow and
20550 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20551 (__ieee754_expl): Allow for and saturate large arguments.
20552 * math/libm-test.inc (exp_test): Add another test. Do not allow
20553 missing overflow exception on overflow.
20554 (expm1_test): Do not allow missing overflow exception on overflow.
20556 * sysdeps/i386/fpu/e_expl.c: Move to ...
20557 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20558 rather than using inline asm.
20559 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20560 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20561 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20563 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20566 (signal): Likewise.
20570 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20572 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20573 sysdeps/unix/common/syscalls.list.
20574 (fchmod): Likewise.
20575 (fchown): Likewise.
20576 (ftruncate): Likewise.
20577 (getrusage): Likewise.
20578 (gettimeofday): Likewise.
20579 (setpgid): Likewise.
20580 (setregid): Likewise.
20581 (setreuid): Likewise.
20582 (sigaction): Likewise.
20583 (truncate): Likewise.
20584 (vhangup): Likewise.
20585 * sysdeps/unix/common/syscalls.list: Remove file.
20586 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20587 * sysdeps/unix/sysv/linux/Implies: Likewise.
20589 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20591 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20593 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20597 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20600 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20603 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20606 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20609 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20612 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20615 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20623 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20626 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20630 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20634 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20636 * sysdeps/unix/common/bits/dirent.h: Remove file.
20637 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20639 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20640 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20641 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20642 * sysdeps/unix/bsd/isatty.c: Likewise.
20643 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20644 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20645 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20647 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20651 long double comparison inaccuracies.
20652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20655 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20657 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20660 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20664 nonzero digits before rounding a hex value.
20665 * stdlib/tst-strtod.c (tests): Add another test.
20667 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20669 * sysdeps/s390/fpu/libm-test-ulps: Update.
20671 2012-05-03 Andreas Jaeger <aj@suse.de>
20673 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20674 does not get optimized out.
20675 (malloc_opt_barrier): New.
20677 2012-05-03 Andreas Jaeger <aj@suse.de>
20678 Roland McGrath <roland@hack.frob.com>
20680 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20681 intermediate file deletion.
20682 (generated): Add .symlist files.
20684 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20687 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20688 Redirect under this condition.
20689 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20690 [__USE_GNU] (__dprintf_chk): Not under this condition.
20691 [__USE_GNU] (__vdprintf_chk): Likewise.
20692 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20693 under this condition.
20694 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20695 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20696 [__USE_XOPEN2K8] (vdprintf): Likewise.
20697 [__USE_GNU] (__dprintf_chk): Not under this condition.
20698 [__USE_GNU] (__vdprintf_chk): Likewise.
20699 [__USE_GNU] (dprintf): Likewise.
20700 [__USE_GNU] (vdprintf): Likewise.
20702 2012-05-03 Roland McGrath <roland@hack.frob.com>
20704 * elf/Makefile (common-generated): Set this instead of generated for
20705 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20706 $(all-built-dso)-derived lists.
20708 2012-05-03 Andreas Jaeger <aj@suse.de>
20710 * sysdeps/i386/fpu/libm-test-ulps: Update.
20713 * FAQ.in: Likewise.
20714 * scripts/gen-FAQ.pl: Likewise.
20715 * manual/install.texi (Installation): Point to online location of
20717 * Makefile (files-for-dist): Remove FAQ.
20720 2012-05-02 Allan McRae <allan@archlinux.org>
20722 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20723 (LDFLAGS-reldepmod5.so): Likewise.
20724 (LDFLAGS-reldep6mod1.so): Likewise.
20725 (LDFLAGS-reldep6mod4.so): Likewise.
20726 (LDFLAGS-reldep8mod3.so): Likewise.
20727 (LDFLAGS-unload4mod1.so): Likewise.
20728 (LDFLAGS-unload4mod2.so): Likewise.
20729 (LDFLAGS-tst-initorder): Likewise.
20730 (LDFLAGS-tst-initordera2.so): Likewise.
20731 (LDFLAGS-tst-initordera3.so): Likewise.
20732 (LDFLAGS-tst-initordera4.so): Likewise.
20733 (LDFLAGS-tst-initorderb2.so): Likewise.
20734 (LDFLAGS-noload): Likewise.
20735 (LDFLAGS-next): Likewise.
20736 (LDFLAGS-order2mod1.so): Likewise.
20737 (LDFLAGS-order2mod2.so): Likewise.
20738 (LDFLAGS-tst-initorder2): Likewise.
20739 (LDFLAGS-tst-initorder2a.so): Likewise.
20740 (LDFLAGS-tst-initorder2b.so): Likewise.
20741 (LDFLAGS-tst-initorder2c.so): Likewise.
20742 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20744 2012-05-02 David S. Miller <davem@davemloft.net>
20746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20748 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20751 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20753 2012-05-02 Andreas Jaeger <aj@suse.de>
20755 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20756 since we manipulate rounding mode.
20757 (CPPFLAGS-test-idouble.c): Likewise.
20758 (CPPFLAGS-test-ifloat.c): Likewise.
20759 (CFLAGS-test-ldouble.c): Likewise.
20760 (CFLAGS-test-double.c): Likewise.
20761 (CFLAGS-test-float.c): Likewise.
20762 (CFLAGS-test-misc.c): Likewise.
20763 (CFLAGS-test-test-fenv.c): Likewise.
20765 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20770 comparisons to determine direction to adjust input.
20772 2012-05-01 Roland McGrath <roland@hack.frob.com>
20774 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20775 output to the target.
20777 * scripts/localplt.awk: New file.
20778 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20779 (check-localplt-CFLAGS): Variable removed.
20780 ($(all-built-dso:=.jmprel)): New static pattern rule.
20781 (generated): Add those targets.
20782 (localplt-built-dso): New variable.
20783 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20785 * elf/check-localplt.c: File removed.
20787 * scripts/check-execstack.awk: New file.
20788 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20789 (check-execstack-CFLAGS): Variable removed.
20790 ($(objpfx)check-execstack.h): Target removed.
20791 ($(objpfx)execstack-default): New target.
20792 (generated): Add that instead of check-execstack.h.
20793 ($(all-built-dso:=.phdr)): New static pattern rule.
20794 (generated): Add those targets.
20795 * elf/check-execstack.c: File removed.
20797 * scripts/check-textrel.awk: New file.
20798 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20799 (check-textrel-CFLAGS): Variable removed.
20800 (all-built-dso): Use := to define.o
20801 ($(all-built-dso:=.dyn)): New static pattern rule.
20802 (generated): Add those targets.
20803 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20804 * config.make.in (READELF): New substituted variable.
20805 * elf/check-textrel.c: File removed.
20807 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20809 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20811 * conform/data/ctype.h-data [C99-based standards] (isblank):
20813 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20814 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20816 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20817 Specify type. Require positive value.
20818 (EILSEQ): Likewise.
20819 (ERANGE): Likewise.
20820 [ISO || POSIX] (EILSEQ): Do not expect.
20821 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20822 Specify type. Require positive value.
20823 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20826 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20827 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20828 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20829 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20830 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20834 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20835 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20836 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20837 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20840 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20842 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20843 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20844 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20876 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20877 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20879 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20880 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20882 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20883 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20885 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20886 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20887 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20888 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20889 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20892 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20893 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20894 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20895 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20896 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20897 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20898 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20899 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20901 (FLT_ROUNDS): Expect as macro, not constant.
20902 (FLT_MANT_DIG): Use macro-int-constant.
20903 (DBL_MANT_DIG): Likewise.
20904 (LDBL_MANT_DIG): Likewise.
20905 (FLT_DIG): Likewise.
20906 (DBL_DIG): Likewise.
20907 (LDBL_DIG): Likewise.
20908 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20909 (DBL_MIN_EXP): Likewise.
20910 (LDBL_MIN_EXP): Likewise.
20911 (FLT_MAX_EXP): Use macro-int-constant.
20912 (DBL_MAX_EXP): Likewise.
20913 (LDBL_MAX_EXP): Likewise.
20914 (FLT_MAX_10_EXP): Likewise.
20915 (DBL_MAX_10_EXP): Likewise.
20916 (LDBL_MAX_10_EXP): Likewise.
20917 (FLT_MAX): Use macro-constant.
20918 (DBL_MAX): Likewise.
20919 (LDBL_MAX): Likewise.
20920 (FLT_EPSILON): Use macro-constant. Give upper bound.
20921 (DBL_EPSILON): Likewise.
20922 (LDBL_EPSILON): Likewise.
20923 (FLT_MIN): Likewise.
20924 (DBL_MIN): Likewise.
20925 (LDBL_MIN): Likewise.
20926 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20927 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20928 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20929 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20930 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20931 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20932 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20933 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20934 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20935 [ISO11] (FLT_TRUE_MIN): Likewise.
20936 [ISO11] (LDBL_TRUE_MIN): Likewise.
20937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20938 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20939 (SCHAR_MIN): Use macro-int-constant. Specify type.
20940 (SCHAR_MAX): Likewise.
20941 (UCHAR_MAX): Likewise.
20942 (CHAR_MIN): Likewise.
20943 (CHAR_MAX): Likewise.
20944 (MB_LEN_MAX): Use macro-int-constant.
20945 (SHRT_MIN): Use macro-int-constant. Specify type.
20946 (SHRT_MAX): Likewise.
20947 (USHRT_MAX): Likewise.
20948 (INT_MAX): Likewise.
20949 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20951 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20953 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20955 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20956 bound negative. Suffix upper bound with "L".
20957 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20959 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20961 [C99-based standards] (LLONG_MAX): Likewise.
20962 [C99-based standards] (ULLONG_MAX): Likewise.
20963 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20965 [ISO11] (max_align_t): Require type.
20966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20968 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20969 from $CFLAGS, without defining away __attribute__ calls.
20970 (checknamespace): Use $CFLAGS_namespace.
20972 * conform/conformtest.pl (@keywords): Only include C99 keywords
20973 for standards based on C99 or C11.
20975 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20977 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20980 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20981 usability of symbols in #if.
20983 * conform/conformtest.pl: If macro or constant types start
20984 "promoted:", expect the symbol to be of the following type
20985 promoted by the integer promotions.
20987 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20988 in one place. Also handle "macro-constant".
20990 * conform/conformtest.pl: Only accept expected macro values with
20991 "==". Parse all "macro" lines in one place.
20992 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20994 * conform/conformtest.pl: Handle braced types on "constant" lines
20995 instead of handling "typed-constant".
20996 * conform/data/signal.h-data: Use "constant" instead of
20999 * conform/conformtest.pl: Handle "optional-" at start of lines in
21000 one place rather than duplicating several cases. Handle each
21001 format of "macro" line with initial "optional-".
21003 * conform/conformtest.pl: Only accept expected constant or
21004 optional-constant values with "==". Parse all "constant" lines in
21005 one place. Parse all "optional-constant" lines in one place.
21006 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21007 * conform/data/fmtmsg.h-data: Likewise.
21008 * conform/data/netinet/in.h-data: Likewise.
21009 * conform/data/tar.h-data: Likewise.
21010 * conform/data/limits.h-data: Use "==" form on "constant" and
21011 "optional-constant" lines.
21013 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21014 Use -std=c99 for XOPEN2K.
21015 (@knownproblems): Remove.
21016 (newtoken): Don't check %isknown.
21018 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21019 Do not expect macro.
21020 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21032 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21033 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21037 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21038 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21039 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21040 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21041 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21043 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21046 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21047 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21050 [XPG3] (acosh): Likewise.
21051 [XPG3] (asinh): Likewise.
21052 [XPG3] (atanh): Likewise.
21053 [XPG3] (cbrt): Likewise.
21054 [XPG3] (expm1): Likewise.
21055 [XPG3] (ilogb): Likewise.
21056 [XPG3] (log1p): Likewise.
21057 [XPG3] (logb): Likewise.
21058 [XPG3] (nextafter): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21061 [XPG3] (remainder): Likewise.
21062 [XPG3] (rint): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21070 [UNIX98 || XOPEN2K] (scalb): Expect.
21071 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21072 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21077 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21078 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21080 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21081 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21082 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21083 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21084 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21085 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21089 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21097 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21098 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21099 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21109 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21110 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21111 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21112 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21113 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21114 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21115 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21116 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21118 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21119 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21124 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21125 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21128 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21129 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21130 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21131 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21132 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21144 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21145 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21153 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21155 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21156 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21157 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21158 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21160 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21162 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21164 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21165 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21166 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21167 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21168 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21170 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21171 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21173 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21174 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21175 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21176 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21177 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21179 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21180 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21182 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21183 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21184 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21186 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21187 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21195 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21196 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21209 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21210 _XOPEN_SOURCE_EXTENDED for XPG4.
21212 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21214 * Makeconfig (localtime): Remove variable.
21215 (inst_localtime-file): Likewise.
21217 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21238 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21242 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21243 comparisons to determine direction to adjust input.
21244 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21245 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21250 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21255 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21257 * math/libm-test.inc (nexttoward_test): Add more tests.
21259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21263 in version GLIBC_2.1, not GLIBC_2.0.
21264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21267 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21273 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21274 * math/libm-test.inc (acos_test): Add more tests.
21275 (asin_test): Likewise.
21276 * sysdeps/i386/fpu/libm-test-ulps: Update.
21277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21282 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21283 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21284 * math/libm-test.inc (acos_test_tonearest): New function.
21285 (acos_test_towardzero): Likewise.
21286 (acos_test_downward): Likewise.
21287 (acos_test_upward): Likewise.
21288 (asin_test_tonearest): Likewise.
21289 (asin_test_towardzero): Likewise.
21290 (asin_test_downward): Likewise.
21291 (asin_test_upward): Likewise.
21292 (main): Call the new functions.
21293 * sysdeps/i386/fpu/libm-test-ulps: Update.
21294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21298 * math/e_exp10.c: Include <float.h>.
21299 (__ieee754_exp10): Handle underflow here rather than multiplying
21300 large negative argument by M_LN10.
21301 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21303 * math/e_exp10l.c: Include <float.h>.
21304 (__ieee754_exp10l): Handle underflow here rather than multiplying
21305 large negative argument by M_LN10l.
21306 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21307 spurious overflow exception on underflow.
21309 2012-04-29 Marek Polacek <polacek@redhat.com>
21311 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21312 (__fortify_function): New macro.
21313 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21314 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21315 __extern_always_inline.
21316 * libio/bits/stdio2.h: Likewise.
21317 * libio/bits/stdio.h: Likewise.
21318 * string/string.h: Likewise.
21319 * string/bits/string3.h: Likewise.
21320 * include/stdio.h: Likewise.
21321 * stdlib/bits/stdlib.h: Likewise.
21322 * stdlib/stdlib.h: Likewise.
21323 * rt/bits/mqueue2.h: Likewise.
21324 * rt/mqueue.h: Likewise.
21325 * posix/bits/unistd.h: Likewise.
21326 * posix/unistd.h: Likewise.
21327 * io/bits/poll2.h: Likewise.
21328 * io/bits/fcntl2.h: Likewise.
21329 * io/fcntl.h: Likewise.
21330 * io/sys/poll.h: Likewise.
21331 * misc/bits/syslog.h: Likewise.
21332 * misc/bits/syslog-ldbl.h: Likewise.
21333 * misc/sys/syslog.h: Likewise.
21334 * socket/bits/socket2.h: Likewise.
21335 * socket/sys/socket.h: Likewise.
21336 * debug/tst-chk1.c: Likewise.
21337 * wcsmbs/bits/wchar2.h: Likewise.
21338 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21339 * wcsmbs/wchar.h: Likewise.
21341 2012-04-29 Andreas Jaeger <aj@suse.de>
21343 * Makerules (tests): Remove enable-check-abi protection.
21344 (check-abi-warn): Remove.
21345 (check-abi-%): Remove check-abi-warn usage.
21347 * configure.in: Remove check-abi configure option.
21348 * configure: Regenerated.
21349 * config.make.in (enable-check-abi): Remove.
21351 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21354 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21355 double functions to double *_finite functions.
21358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21359 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21361 * stdio-common/Makefile (tests): Add tst-sprintf3.
21362 * stdio-common/tst-sprintf3.c: New file.
21364 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21365 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21367 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21369 * conform/conformtest.pl: Remove duplicate typed-constant
21372 2012-04-28 David S. Miller <davem@davemloft.net>
21374 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21375 (check-abi-%): Remove AWK script prerequisite and explicit
21377 (check-abi): Rewrite to just diff the symlist with the abilist.
21378 (config-tls, config-abi-config): Delete, no longer used.
21379 (update-abi-%): Remove AWK script and explicit abilist directory.
21380 (update-abi): Rewrite to simply compare and conditionally copy the
21381 symlist and the sysdep abilist file. Remove update-abi-config
21383 * abilist/ld.abilist: Remove.
21384 * abilist/libBrokenLocale.abilist: Remove.
21385 * abilist/libanl.abilist: Remove.
21386 * abilist/libcrypt.abilist: Remove.
21387 * abilist/libdl.abilist: Remove.
21388 * abilist/librt.abilist: Remove.
21389 * abilist/libthread_db.abilist: Remove.
21390 * abilist/libutil.abilist: Remove.
21391 * scripts/extract-abilist.awk: Remove.
21392 * scripts/merge-abilist.awk: Remove.
21393 * sysdeps/generic/libcidn.abilist: New file.
21394 * sysdeps/generic/libnss_compat.abilist: New file.
21395 * sysdeps/generic/libnss_db.abilist: New file.
21396 * sysdeps/generic/libnss_dns.abilist: New file.
21397 * sysdeps/generic/libnss_files.abilist: New file.
21398 * sysdeps/generic/libnss_hesiod.abilist: New file.
21399 * sysdeps/generic/libnss_nis.abilist: New file.
21400 * sysdeps/generic/libnss_nisplus.abilist: New file.
21401 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21403 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21407 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21408 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21409 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21410 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21411 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21412 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21413 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21415 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21416 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21417 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21418 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21420 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21421 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21423 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21425 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21534 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21535 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21536 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21539 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21540 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21541 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21542 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21543 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21544 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21545 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21547 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21599 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21601 * conform/conformtest.pl: Fix typo in handling typed-constant from
21604 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21606 * README: Cut down references to pre-2.6 Linux kernels and
21607 Linuxthreads. Update lists of configurations in libc and ports
21608 and sort alphabetically. Say "or newer" with Linux kernel version
21611 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21613 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21616 * math/libm-test.inc (logb_test_downward): New test to expose
21617 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21620 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21623 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21625 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21626 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21628 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21630 * sysdeps/unix/i386/brk.S: Remove file.
21631 * sysdeps/unix/i386/dl-brk.S: Likewise.
21632 * sysdeps/unix/i386/pipe.S: Likewise.
21633 * sysdeps/unix/i386/sigreturn.S: Likewise.
21634 * sysdeps/unix/i386/syscall.S: Likewise.
21635 * sysdeps/unix/i386/vfork.S: Likewise.
21636 * sysdeps/unix/i386/wait.S: Likewise.
21638 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21639 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21641 * configure.in (arm*-none*): Do not allow without
21642 --enable-hacker-mode.
21643 (netbsd*): Remove case setting base_os.
21644 (386bsd*): Likewise.
21645 (freebsd*): Likewise.
21648 (sunos*): Likewise.
21649 (ultrix*): Likewise.
21650 (newsos*): Likewise.
21651 (dynix*): Likewise.
21657 (minix*): Likewise.
21658 (irix4*): Likewise.
21659 (irix6*): Likewise.
21660 (solaris[2-9]*): Likewise.
21662 * configure: Regenerated.
21664 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21668 overflow or cancellation in calculating denominator.
21669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21671 down expression to avoid unexpected rounding in newer GCCs.
21672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21674 2012-04-26 David S. Miller <davem@davemloft.net>
21676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21677 long-double compat symbols.
21678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21692 2012-04-25 David S. Miller <davem@davemloft.net>
21694 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21695 HWCAP_* values only after the memory barriers have been defined.
21696 (atomic_full_barrier): Define.
21697 (atomic_read_barrier): Define.
21698 (atomic_write_barrier): Define.
21700 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21702 * shlib-versions: Add libgcc_s version information.
21703 * sysdeps/generic/libgcc_s.h: Remove.
21704 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21706 * sysdeps/gnu/unwind-resume.c: Likewise.
21707 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21709 2012-04-25 David S. Miller <davem@davemloft.net>
21711 * sysdeps/unix/sparc/brk.S: Delete.
21712 * sysdeps/unix/sparc/dl-brk.S: Delete.
21713 * sysdeps/unix/sparc/pipe.S: Delete.
21714 * sysdeps/unix/sparc/sysdep.S: Delete.
21715 * sysdeps/unix/sparc/sysdep.h: Delete.
21716 * sysdeps/unix/sparc/vfork.S: Delete.
21717 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21718 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21720 ret_ERRVAL, r0, r1, MOVE): Define.
21721 (JUMPTARGET): Remove.
21722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21723 sysdeps/unix/sparc/sysdep.h
21724 (ENTRY, END): Remove.
21725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21727 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21729 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21730 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21733 * timezone/README: Update upstream location and email address for
21735 * timezone/zdump.c: Update from tzcode 2012b.
21736 * timezone/zic.c: Likewise.
21738 * configure.in (libc_cv_as_needed): Remove test.
21739 * configure: Regenerated.
21740 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21741 conditional definition.
21742 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21743 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21744 * config.make.in (have-as-needed): Remove variable.
21746 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21747 Paul Pluzhnikov <ppluzhnikov@google.com>
21749 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21752 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21754 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21755 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21756 * sysdeps/sh/strlen.S: Likewise.
21758 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21760 * sysdeps/unix/fork.S: Remove file.
21761 * sysdeps/unix/i386/fork.S: Likewise.
21762 * sysdeps/unix/sparc/fork.S: Likewise.
21764 * sysdeps/unix/system.c: Remove file.
21765 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21767 * sysdeps/unix/getegid.S: Remove file.
21768 * sysdeps/unix/geteuid.S: Likewise.
21770 2012-04-24 Roland McGrath <roland@hack.frob.com>
21772 * scripts/check-localplt.awk: New file.
21773 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21775 * scripts/data/localplt-generic.data: Add a comment.
21777 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21778 NODE when __dir_mkfile failed.
21779 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21780 Reported by Ludovic Courtès <ludo@gnu.org>.
21782 2012-04-24 Andreas Jaeger <aj@suse.de>
21784 * Makerules (common-clean): Also remove gen-as-const-headers
21787 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21789 * Makerules (native-compile): Do not change working directory for
21790 build. Use $(OUTPUT_OPTION) in command.
21791 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21793 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21796 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21797 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21798 * math/libm-test.inc (floor_test): Add more tests.
21799 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21801 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21803 * sysdeps/unix/getdents.c: Remove file.
21804 * sysdeps/unix/sysv/getdents.c: Likewise.
21805 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21807 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21808 sysdeps/unix/mman/syscalls.list.
21810 (mprotect): Likewise.
21812 (munmap): Likewise.
21813 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21814 * sysdeps/unix/mman/syscalls.list: Remove.
21815 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21817 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21818 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21819 * configure: Regenerated.
21820 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21821 $(libgcc_s_suffix).
21822 * config.make.in (libgcc_s_suffix): Remove variable.
21824 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21826 * sysdeps/unix/sysv/gethostname.c: Move to ...
21827 * sysdeps/posix/gethostname.c: ... here.
21829 * sysdeps/unix/execve.S: Remove file.
21831 * sysdeps/unix/_exit.S: Remove file.
21833 2012-04-23 Andreas Jaeger <aj@suse.de>
21836 * manual/Makefile: Remove make dist support, there's no
21837 need for a stand-alone documentation tar ball.
21838 (TEXI2DVI): Define always, it's not in Makeconfig.
21841 (edition): Removed.
21842 (glibc-doc-$(edition).tar): Removed
21846 (ETAGS): Remove, it's in Makeconfig.
21847 (move-if-change): Remove, it's in Makeconfig.
21849 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21852 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21853 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21854 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21855 (strtod_l, strtof_l, strtold_l): Remove __wur.
21856 It is not necessarily an error to ignore strtol's return value.
21857 One can reliably look at the stored endptr to decide whether
21858 the number had valid syntax.
21860 2012-04-21 Andreas Jaeger <aj@suse.de>
21863 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21865 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21868 * sysdeps/unix/sysv/Versions: Remove file.
21870 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21875 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21879 version from __vm86.
21881 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21883 * sysdeps/unix/common/lxstat.c: Remove file.
21884 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21886 * sysdeps/unix/sysv/Makefile: Remove file.
21888 * sysdeps/unix/sysv/direct.h: Remove file.
21890 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21891 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21892 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21893 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21894 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21895 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21896 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21898 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21900 * sysdeps/unix/xmknod.c: Remove file.
21901 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21903 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21905 * sysdeps/unix/sysv/i386/time.S: Remove file.
21907 * sysdeps/unix/fxstat.c: Remove file.
21908 * sysdeps/unix/xstat.c: Likewise.
21909 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21911 * sysdeps/unix/sysv/sigaction.c: Remove file.
21913 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21914 (sysdep_headers): Remove variable.
21915 [termio.h not in sysdep_headers] (generated): Likewise.
21916 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21917 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21918 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21919 * sysdeps/unix/sysv/tcflow.c: Likewise.
21920 * sysdeps/unix/sysv/tcflush.c: Likewise.
21921 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21922 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21923 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21924 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21925 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21927 * sysdeps/unix/siglist.c: Remove file.
21929 * sysdeps/unix/getppid.S: Remove file.
21931 * sysdeps/unix/mkdir.c: Remove file.
21932 * sysdeps/unix/rmdir.c: Likewise.
21934 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21936 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21939 errlist-compat value.
21941 2012-04-18 David S. Miller <davem@davemloft.net>
21943 * sysdeps/generic/memcopy.h (reg_char): Delete.
21944 * debug/strcat_chk.c: Use char, not reg_char.
21945 * debug/strcpy_chk.c: Likewise.
21946 * debug/strncat_chk.c: Likewise.
21947 * debug/strncpy_chk.c: Likewise.
21948 * string/memchr.c: Likewise.
21949 * string/memrchr.c: Likewise.
21950 * string/rawmemchr.c: Likewise.
21951 * string/strcat.c: Likewise.
21952 * string/strchr.c: Likewise.
21953 * string/strchrnul.c: Likewise.
21954 * string/strcmp.c: Likewise.
21955 * string/strcpy.c: Likewise.
21956 * string/strncat.c: Likewise.
21957 * string/strncmp.c: Likewise.
21958 * string/strncpy.c: Likewise.
21960 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21962 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21963 __builtin_memcopy is called when src and dest ranges are known to not
21966 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21968 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21969 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21970 fwd_align_merge macro call.
21971 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21972 bwd_align_merge macro call.
21973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21975 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21978 bwd_align_merge macros.
21979 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21980 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21983 2012-04-18 David S. Miller <davem@davemloft.net>
21985 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21987 2012-04-18 Andreas Jaeger <aj@suse.de>
21990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21991 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21995 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21998 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21999 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22000 Adjust for changed ldbl-128 files.
22002 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22003 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22006 2012-04-17 David S. Miller <davem@davemloft.net>
22008 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22010 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22012 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22013 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22014 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22015 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22017 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22019 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22022 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22023 * math/libm-test.inc: Add ilogb errno and exception tests.
22024 * math/w_ilogb.c: New file: ilogb wrapper.
22025 * math/w_ilogbf.c: New file: ilogbf wrapper.
22026 * math/w_ilogbl.c: New file: ilogbl wrapper.
22027 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22028 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22029 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22030 exception being thrown with 0.0 as argument.
22031 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22032 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22033 exception being thrown with 0.0 as argument.
22034 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22035 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22036 exception being thrown with 0.0 as argument.
22037 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22038 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22039 exception being thrown with 0.0 as argument.
22040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22041 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22043 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22045 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22046 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22047 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22048 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22050 2012-04-17 Petr Baudis <pasky@ucw.cz>
22052 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22055 2012-04-16 Marek Polacek <polacek@redhat.com>
22057 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22059 2012-04-16 Marek Polacek <polacek@redhat.com>
22061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22062 operands of fdivp instruction.
22064 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22066 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22067 * elf/tst-auditmod3b.c: Likewise.
22068 * elf/tst-auditmod4b.c: Likewise.
22069 * elf/tst-auditmod5b.c: Likewise.
22070 * elf/tst-auditmod6b.c: Likewise.
22071 * elf/tst-auditmod6c.c: Likewise.
22072 * elf/tst-auditmod7b.c: Likewise.
22073 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22074 * sysdeps/x86_64/preconfigure.in: Likewise.
22075 * sysdeps/x86_64/preconfigure: Regenerated.
22077 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22082 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22085 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22087 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22090 * locale/iso-639.def: Fix gl language name. Spotted by
22093 2012-04-12 Roland McGrath <roland@hack.frob.com>
22096 * libio/libio.h (__io_write_fn): Update comment.
22098 2012-04-12 Petr Baudis <pasky@ucw.cz>
22101 * stdio.texi (Hook Functions): The user provided writer function
22102 is not allowed to return -1.
22104 2012-04-11 David S. Miller <davem@davemloft.net>
22106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22108 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22110 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22111 Add a leading slash to rtkaio.
22113 2012-04-11 Jim Meyering <meyering@redhat.com>
22116 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22117 It is not necessarily an error to ignore fwrite's return
22118 value. One can reliably use ferror to test for errors after
22121 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22123 * bits/types.h (__snseconds_t): New type.
22124 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22126 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22128 (__SNSECONDS_T_TYPE): Likewise.
22129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22130 (__SNSECONDS_T_TYPE): Likewise.
22131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22132 (__SNSECONDS_T_TYPE): Likewise.
22134 2012-04-10 Andreas Jaeger <aj@suse.de>
22137 * manual/time.texi (Processor Time): Return type of times is
22138 elapsed real time since an arbitrary point in the past.
22139 (CPU Time): Move CLK_TCK from here...
22140 (Processor Time): ...to here. Correct description.
22141 * manual/conf.texi (Constants for Sysconf): Correct description of
22144 2012-04-10 David S. Miller <davem@davemloft.net>
22147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22148 where the is a gap between DT_REL(A) and DT_JMPREL.
22150 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22152 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22156 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22158 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22159 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22160 (dl_main): Handle --inhibit-cache.
22161 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22163 * elf/dl-load.c (_dl_map_object): Use it.
22164 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22166 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22169 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22170 (__ieee754_powl): Saturate large exponents rather than testing for
22171 overflow of y*log2(x).
22172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22173 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22177 * math/s_ctan.c: Include <float.h>.
22178 (__ctan): Avoid internal overflow or cancellation in calculating
22180 * math/s_ctanf.c: Likewise.
22181 * math/s_ctanl.c: Likewise.
22182 * math/s_ctanh.c: Likewise.
22183 * math/s_ctanhf.c: Likewise.
22184 * math/s_ctanhl.c: Likewise.
22185 * math/libm-test.inc (ctan_test): Add more tests.
22186 (ctanh_test): Likewise.
22187 * sysdeps/i386/fpu/libm-test-ulps: Update.
22188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22190 2012-04-09 Andreas Jaeger <aj@suse.de>
22193 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22194 is an optional BSD extension.
22197 * manual/stdio.texi (Opening Streams): Document additional fopen
22200 2012-04-09 Roland McGrath <roland@hack.frob.com>
22202 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22203 %eax without telling the compiler.
22205 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22208 * manual/install.texi: Use sourceware.org.
22210 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22213 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22214 (__ieee754_pow): Generate overflow and underflow using huge*huge
22215 and tiny*tiny rather than just returning constant infinity or zero
22216 for large exponents.
22217 * math/libm-test.inc (pow_test): Require overflow exceptions for
22218 applicable cases of large exponents.
22221 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22222 (__ieee754_pow): Use iterative multiplication algorithm only for
22223 integer exponents with absolute value below 1024. Check for odd
22224 integer exponents when using algorithm for real exponents.
22225 * math/libm-test.inc (pow_test): Add more tests.
22226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22228 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22231 * math/libm-test.inc (exp_test): Do not allow overflow exception
22234 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22237 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22238 instead of __kernel_standard_f.
22240 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22242 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22243 * sysdeps/x86_64/memset_chk.S: Likewise.
22245 2012-04-08 Andreas Jaeger <aj@suse.de>
22248 * manual/startup.texi (Environment Access): Describe return value
22249 for putenv and setenv.
22252 * manual/filesys.texi (Directory Entries): Add description for
22256 * manual/filesys.texi (Directory Entries): Clarify that it's file
22257 system not operating system in the description of DT_UNKNOWN.
22260 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22262 2012-04-08 Stephen Compall <s11@member.fsf.org>
22265 * manual/llio.texi (Opening and Closing Files): Add cross
22266 reference to explain mode argument.
22268 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22270 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22271 * sysdeps/x86_64/memset_chk.S: Likewise.
22273 2012-04-07 David S. Miller <davem@davemloft.net>
22275 * elf/elf.h (R_SPARC_WDISP10): Define.
22276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22279 R_SPARC_SIZE64 and R_SPARC_H34.
22281 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22284 conditions and remove no longer applicable assertion.
22286 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22288 * bits/byteswap.h: Include <features.h>.
22289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22292 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22294 * bits/byteswap.h (__bswap_16): Removed.
22295 Include <bits/byteswap-16.h> to get __bswap_16.
22296 * sysdeps/i386/bits/byteswap.h: Likewise.
22297 * sysdeps/s390/bits/byteswap.h: Likewise.
22298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22299 * bits/byteswap-16.h: New file.
22300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22301 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22302 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22303 * string/Makefile (headers): Add bits/byteswap-16.h.
22305 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22308 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22310 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22311 * nss/tst-nss-static.c: New.
22313 2012-04-06 Robert Millan <rmh@gnu.org>
22316 * manual/llio.texi (File Position Primitive): lseek
22317 refers to WHENCE when it really means OFFSET.
22319 2012-04-06 Andreas Jaeger <aj@suse.de>
22321 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22322 strncmp declarations.
22324 * abilist/libc.abilist: Add __poll and __ppoll.
22326 2012-04-05 David S. Miller <davem@davemloft.net>
22328 * scripts/check-local-headers.sh: Accept a host triplet in the
22329 path matched by the exclude regexp.
22331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22333 * sysdeps/powerpc/powerpc32/dl-machine.h
22334 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22335 * sysdeps/s390/s390-32/dl-machine.h
22336 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22337 * sysdeps/sparc/sparc32/dl-machine.h
22338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22339 * sysdeps/sparc/sparc64/dl-machine.h
22340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22342 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22344 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22345 undefined symbol errors.
22347 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22350 2012-04-05 Michael Matz <matz@suse.de>
22353 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22355 2012-04-05 Andreas Jaeger <aj@suse.de>
22358 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22364 which ROUND is no valid rounding mode.
22366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22370 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22372 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22375 an exception using FPU order intentionally.
22377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22379 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22380 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22381 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22382 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22384 2012-04-05 Simon Josefsson <simon@josefsson.org>
22387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22388 EINVAL when BUFLEN is too smal.
22390 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22393 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22394 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22396 2012-04-03 Andreas Jaeger <aj@suse.de>
22399 * manual/setjmp.texi (System V contexts): Fix sentence.
22402 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22403 New macro for this case.
22404 [!__GNUC__] (__bswap_64): New inline function for this case.
22405 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22406 * bits/byteswap.h: Likewise.
22407 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22408 ull, guard with __GLIBC_HAVE_LONG_LONG.
22410 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22411 __GLIBC_HAVE_LONG_LONG.
22413 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22414 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22416 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22419 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22420 inptr and inend, rather than using last_ch.
22422 2012-04-02 David S. Miller <davem@davemloft.net>
22424 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22425 * stdio-common/printf-parse.h (read_int): Change return type to
22426 'int', return -1 on INT_MAX overflow.
22427 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22428 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22429 overflows INT_MAX. Check for overflow of in-format-string precision
22430 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22431 SIZE_MAX not INT_MAX for integer overflow test.
22432 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22433 skip the construct in the format string but do not record anything.
22434 * stdio-common/bug22.c: Adjust to test both width/prevision
22435 INT_MAX overflow as well as total length INT_MAX overflow. Check
22436 explicitly for proper errno values.
22438 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22440 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22442 * string/test-strcmp.c [! WIDE]: Likewise.
22443 * time/tst-mktime2.c: Likewise for INT_MAX.
22444 * string/test-string.h: #include <sys/param.h> for MIN.
22446 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22447 * sysdeps/i386/init-first.c (init): Likewise.
22448 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22449 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22450 * sysdeps/sh/init-first.c (init): Likewise.
22452 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22454 * po/ru.po: Update from translation team.
22455 * po/vi.po: Likewise.
22457 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22459 * resolv/nss_dns/dns-host.c: Merge copyright years.
22461 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22464 Optimize memcpy with prefetch if
22465 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22466 src, dst pointers have unequal 16 byte alignments.
22468 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22471 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22472 from a CNAME entry and return the minimum ttl for the query.
22473 (gaih_getanswer_slice): Likewise.
22475 2012-03-30 Jeff Law <law@redhat.com>
22477 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22479 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22480 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22482 * resolv/nss_dns/dns-host.c: Update copyright year.
22484 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22486 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22487 requests to save a system call. Fix check that all bytes are sent.
22489 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22490 comments for sendmmsg.
22492 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22495 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22496 with only 1 character between 0x0041 and 0x01b0.
22497 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22498 * wcsmbs/tst-mbsnrtowcs.c: New file.
22500 2012-03-29 David S. Miller <davem@davemloft.net>
22502 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22503 small copies by hand.
22505 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22508 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22509 _nss_compat_initgroups_dyn): Fall back to malloc/free
22510 for large group memberships.
22512 2012-03-28 David S. Miller <davem@davemloft.net>
22514 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22515 that branches into memcpy.
22516 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22522 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22523 implementation too.
22524 * sysdeps/sparc/mempcpy.S: New file.
22526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22527 the IFUNC routine in the libc case.
22528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22530 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22532 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22533 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22534 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22535 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22536 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22537 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22539 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22540 loop to 256 bytes instead of 64 bytes and fix test signedness.
22542 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22543 * sysdeps/sparc/sparc32/Makefile: rather than here...
22544 * sysdeps/sparc/sparc64/Makefile: and here.
22546 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22548 * malloc/mallocbug.c: Avoid warnings about unused variables.
22550 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22553 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22554 in the right place. Discard and retry query if response is
22555 larger than input buffer size.
22557 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22563 x for large integer exponent.
22564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22566 sign of result as needed afterwards.
22567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22569 result for underflowing pow the same as for overflow.
22570 (__kernel_standard_l): Handle powl overflow and underflow here
22571 rather than calling __kernel_standard.
22572 * math/libm-test.inc (pow_test): Add more tests.
22587 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22588 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22589 (__kernel_standard_l): New function.
22590 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22592 * math/w_acosl.c (__acosl): Likewise.
22593 * math/w_asinl.c (__asinl): Likewise.
22594 * math/w_atan2l.c (__atan2l): Likewise.
22595 * math/w_atanhl.c (__atanhl): Likewise.
22596 * math/w_coshl.c (__coshl): Likewise.
22597 * math/w_exp10l.c (__exp10l): Likewise.
22598 * math/w_exp2l.c (__exp2l): Likewise.
22599 * math/w_fmodl.c (__fmodl): Likewise.
22600 * math/w_hypotl.c (__hypotl): Likewise.
22601 * math/w_j0l.c (__j0l, __y0l): Likewise.
22602 * math/w_j1l.c (__j1l, __y1l): Likewise.
22603 * math/w_jnl.c (__jnl, __ynl): Likewise.
22604 * math/w_lgammal.c (__lgammal): Likewise.
22605 * math/w_log10l.c (__log10l): Likewise.
22606 * math/w_log2l.c (__log2l): Likewise.
22607 * math/w_logl.c (__logl): Likewise.
22608 * math/w_powl.c (__powl): Likewise.
22609 * math/w_remainderl.c (__remainderl): Likewise.
22610 * math/w_scalbl.c (sysv_scalbl): Likewise.
22611 * math/w_sinhl.c (__sinhl): Likewise.
22612 * math/w_sqrtl.c (__sqrtl): Likewise.
22613 * math/w_tgammal.c (__tgammal): Likewise.
22614 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22615 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22616 * math/libm-test.inc (acos_test): Add more tests.
22617 (acosh_test): Likewise.
22618 (asin_test): Likewise.
22619 (atanh_test): Likewise.
22620 (exp_test): Likewise.
22621 (exp10_test): Likewise.
22622 (exp2_test): Likewise.
22623 (expm1_test): Likewise.
22624 (lgamma_test): Likewise.
22625 (log_test): Likewise.
22626 (log10_test): Likewise.
22627 (log1p_test): Likewise.
22628 (log2_test): Likewise.
22629 (pow_test): Do not allow some spurious overflow exceptions.
22630 (sqrt_test): Add more tests.
22631 (tgamma_test): Likewise.
22632 (y0_test): Likewise.
22633 (y1_test): Likewise.
22634 (yn_test): Likewise.
22636 2012-03-27 Anton Blanchard <anton@samba.org>
22638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22644 2012-03-27 David S. Miller <davem@davemloft.net>
22646 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22648 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22649 have-as-vis3 check.
22651 2012-03-27 Andreas Jaeger <aj@suse.de>
22653 * sysdeps/x86_64/elf/configure.in: Moved to ...
22654 * sysdeps/x86_64/configure.in: ... here.
22655 * sysdeps/x86_64/elf/start.S: Moved to ...
22656 * sysdeps/x86_64/start.S: ... here.
22657 * sysdeps/x86_64/elf/configure: Delete.
22659 * sysdeps/x86_64/configure.in: Merge contents from
22660 sysdeps/i386/configure.in (without i686 check).
22662 * sysdeps/i386/elf/Versions: Merge into ...
22663 * sysdeps/i386/Versions: ... this.
22664 * sysdeps/i386/elf/Versions: Delete file.
22665 * sysdeps/i386/elf/start.S: Moved to ...
22666 * sysdeps/i386/start.S: ...here.
22667 * sysdeps/i386/elf/configure.in: Merge into...
22668 * sysdeps/i386/configure.in: ...here.
22669 * sysdeps/i386/elf/configure.in: Delete file.
22670 * sysdeps/i386/elf/configure: Delete file.
22672 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22673 * debug/backtracesyms.c: ... here.
22674 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22675 * debug/backtracesymsfd.c: ... here.
22676 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22677 * sysdeps/generic/ifunc-sel.h: ... here.
22679 * sysdeps/unix/i386/start.c: Delete file.
22680 * sysdeps/unix/sparc/start.c: Delete file.
22681 * sysdeps/unix/start.c: Delete file.
22683 * sysdeps/sh/elf/configure.in: Moved to ...
22684 * sysdeps/sh/configure.in: ... here.
22685 * sysdeps/sh/elf/start.S: Moved to ...
22686 * sysdeps/sh/start.S: ... here.
22687 * sysdeps/sh/elf/configure: Delete file.
22689 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22690 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22691 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22692 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22693 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22694 * sysdeps/powerpc/powerpc64/start.S: here.
22695 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22696 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22697 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22698 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22699 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22701 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22702 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22703 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22704 * sysdeps/powerpc/powerpc32/start.S: ... here.
22705 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22706 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22707 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22709 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22710 * sysdeps/powerpc/ifunc-sel.h: ... here.
22711 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22712 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22714 * sysdeps/sparc/elf/configure.in: Moved to ...
22715 * sysdeps/sparc/configure.in: ... here.
22716 * sysdeps/sparc/elf/configure: Delete file.
22717 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22718 * sysdeps/sparc/sparc32/start.S: ... here.
22719 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22720 * sysdeps/sparc/sparc64/start.S: ... here.
22721 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22722 * sysdeps/sparc/sparc32/Makefile: ... this.
22723 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22724 * sysdeps/sparc/sparc64/Makefile: ... this.
22726 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22727 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22728 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22729 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22730 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22731 * sysdeps/s390/s390-32/setjmp.S: ... here.
22732 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22733 * sysdeps/s390/s390-32/configure.in: ... here.
22734 * sysdeps/s390/s390-32/elf/configure: Delete file.
22735 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22736 * sysdeps/s390/s390-32/start.S: ... here.
22738 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22739 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22740 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22741 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22742 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22743 * sysdeps/s390/s390-64/setjmp.S: ... here.
22744 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22745 * sysdeps/s390/s390-64/configure.in: ... here
22746 * sysdeps/s390/s390-64/elf/configure: Delete file.
22747 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22748 * sysdeps/s390/s390-64/start.S: ... here.
22749 * sysdeps/s390/s390-64/elf/configure: Delete.
22751 * configure.in: Remove support for elf directories in sysdeps.
22753 * configure: Regenerated.
22754 * sysdeps/i386/configure: Regenerated.
22755 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22756 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22757 * sysdeps/s390/s390-32/configure: Regenerated.
22758 * sysdeps/s390/s390-64/configure: Regenerated.
22759 * sysdeps/sh/configure: Regenerated.
22760 * sysdeps/sparc/configure: Regenerated.
22761 * sysdeps/x86_64/configure: Regenerated.
22763 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22768 denormal result into account.
22770 2012-03-25 Roland McGrath <roland@hack.frob.com>
22772 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22773 Reported by Allan McRae <allan@archlinux.org>.
22775 2012-03-23 Jeff Law <law@redhat.com>
22777 * nss/getnssent.c (__nss_getent): Fix typo.
22779 2012-03-23 David S. Miller <davem@davemloft.net>
22781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22783 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22785 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22786 to pad to uint64_t for each field.
22787 (dl_tls_index): Replace unsigned long with uint64_t.
22789 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22790 Paul Pluzhnikov <ppluzhnikov@google.com>
22793 * grp/Makefile (otherlibs): Don't set it.
22794 * inet/Makefile (otherlibs): Likewise.
22795 * login/Makefile (otherlibs): Likewise.
22796 * nscd/Makefile (otherlibs): Likewise.
22797 * posix/Makefile (otherlibs): Likewise.
22798 * pwd/Makefile (otherlibs): Likewise.
22799 * rt/Makefile (otherlibs): Likewise.
22800 * sunrpc/Makefile (otherlibs): Likewise.
22801 * nss/Makefile (otherlibs): Likewise.
22802 Add libnss_files to routines and static-only-routines.
22803 ($(objpfx)getent): Remove rule.
22804 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22805 static-only-routines.
22807 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22810 * math/s_cexp.c: Include <float.h>.
22811 (__cexp): Handle exp result overflowing not necessarily
22812 overflowing both real and imaginary parts of result.
22813 * math/s_cexpf.c: Likewise.
22814 * math/s_cexpl.c: Likewise.
22815 * math/libm-test.inc (cexp_test): Add more tests.
22816 * sysdeps/i386/fpu/libm-test-ulps: Update.
22817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22819 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22821 * include/link.h (ELFW): New macro.
22822 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22823 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22825 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22827 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22832 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22834 (struct La_x32_retval): Likewise.
22836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22838 * sysdeps/x86_64/preconfigure.in: New file.
22839 * sysdeps/x86_64/preconfigure: New generated file.
22841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22844 * math/e_exp2l.c: Include <float.h>.
22845 (__ieee754_exp2l): Handle overflow and underflow cases
22846 separately. Only pass fractional part of argument to
22848 * math/libm-test.inc (exp2_test): Add more tests.
22850 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22851 negating x to take absolute value.
22852 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22858 computing low part if x was negated.
22859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22861 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22863 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22864 la_x32_gnu_pltexit.
22865 (pltexit): Cast int_retval to ptrdiff_t.
22866 * elf/tst-auditmod3b.c: Likewise.
22867 * elf/tst-auditmod4b.c: Likewise.
22868 * elf/tst-auditmod5b.c: Likewise.
22869 * elf/tst-auditmod6b.c: Likewise.
22870 * elf/tst-auditmod6c.c: Likewise.
22871 * elf/tst-auditmod7b.c: Likewise.
22873 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22874 and x32_gnu_pltexit.
22876 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22877 __ELF_NATIVE_CLASS.
22878 (La_x32_regs): New macro.
22879 (La_x32_retval): Likewise.
22880 (la_x32_gnu_pltenter): New function prototype.
22881 (la_x32_gnu_pltexit): Likewise.
22883 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22890 * configure.in (libc_cv_cc_nofma): Check for option to disable
22891 generation of FMA instructions.
22892 * configure: Regenerate.
22893 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22894 * sysdeps/ieee754/dbl-64/Makefile: New file.
22895 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22896 Remove brandred-fma4.
22897 (CFLAGS-brandred-fma4.c): Remove.
22898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22904 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22906 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22907 LLONG_MAX != LONG_MAX.
22908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22909 (_fitoa_word): Likewise.
22910 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22911 LLONG_MAX != LONG_MAX.
22912 * stdio-common/_itowa.h: Include <_itoa.h>.
22913 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22914 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22915 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22916 only if not defined.
22917 (_ITOA_WORD_TYPE): Likewise.
22918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22919 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22921 2012-03-21 David S. Miller <davem@davemloft.net>
22923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22925 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22927 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22928 of x86_64 when setting libc_cv_slibdir, libdir and
22930 * sysdeps/unix/sysv/linux/configure: Regenerated.
22932 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22934 * manual/lang.texi (Old Varargs): Remove section.
22935 (How Variadic): Update menu.
22936 (va_start): Do not mention varargs.h.
22938 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22939 Joseph Myers <joseph@codesourcery.com>
22941 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22943 * configure: Regenerated.
22945 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22947 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22948 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22951 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22954 * Makefile (files-for-dist): Remove NOTES.
22955 (NOTES): Remove rule.
22956 * README: Don't refer to NOTES.
22957 * manual/creature.texi: Don't include macros.texi.
22958 * manual/intro.texi (creature.texi): Remove comment referring to
22961 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22962 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22963 * configure: Regenerated.
22964 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22965 LIBC_TRY_CC_OPTION.
22966 (libc_cv_as_i686): Likewise.
22967 (libc_cv_cc_avx): Likewise.
22968 (libc_cv_cc_sse2avx): Likewise.
22969 (libc_cv_cc_fma4): Likewise.
22970 (libc_cv_cc_novzeroupper): Likewise.
22971 * sysdeps/i386/configure: Regenerated.
22974 * sysdeps/i386/fpu/s_cexp.S: Remove.
22975 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22976 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22977 * math/libm-test.inc (cexp_test): Add more tests.
22978 * sysdeps/i386/fpu/libm-test-ulps: Update.
22979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22981 2012-03-21 Allan McRae <allan@archlinux.org>
22983 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22988 * math/w_exp2.c: Do not include <float.h>.
22989 (o_threshold, u_threshold): Remove.
22990 (__exp2): Calculate result before checking finiteness and calling
22992 * math/w_exp2f.c: Likewise.
22993 * math/w_exp2l.c: Likewise.
22994 * math/libm-test.inc (exp2_test): Require overflow exception for
22998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22999 range of signed 64-bit integers before using fistpll. Remove
23000 checks for whether integers fit in mantissa bits.
23001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23002 the range of signed 32-bit integers before using fistpl. Remove
23003 checks for whether integers fit in mantissa bits.
23004 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23005 (__ieee754_powl): Test for y outside the range of signed 64-bit
23006 integers before using fistpll. Reduce 64-bit values to 63-bit
23008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23009 divide-by-zero is raised for zero to large negative powers.
23010 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23011 (__ieee754_powl): Test for y outside the range of signed 64-bit
23012 integers before using fistpll. Reduce 64-bit values to 63-bit
23014 * math/libm-test.inc (pow_test): Add more tests.
23016 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23018 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23019 <stdio-common/_itoa.h>.
23020 * debug/segfault.c: Likewise.
23021 * elf/dl-cache.c: Likewise.
23022 * elf/dl-minimal.c: Likewise.
23023 * elf/dl-misc.c: Likewise.
23024 * elf/dl-sysdep.c: Likewise.
23025 * elf/dl-version.c: Likewise.
23026 * elf/rtld.c: Likewise.
23027 * hurd/hurdsock.c: Likewise.
23028 * hurd/lookup-retry.c: Likewise.
23029 * malloc/malloc.c: Likewise.
23030 * malloc/mtrace.c: Likewise.
23031 * nscd/nscd_getgr_r.c: Likewise.
23032 * nscd/nscd_getpw_r.c: Likewise.
23033 * nscd/nscd_getserv_r.c: Likewise.
23034 * posix/getopt_init.c: Likewise.
23035 * posix/wordexp.c: Likewise.
23036 * stdio-common/_itoa.c: Likewise.
23037 * stdio-common/printf_fphex.c: Likewise.
23038 * stdio-common/vfprintf.c: Likewise.
23039 * string/_strerror.c: Likewise.
23040 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23041 * sysdeps/i386/i686/hp-timing.h: Likewise.
23042 * sysdeps/mach/_strerror.c: Likewise.
23043 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23044 * sysdeps/mach/hurd/sethostid.c: Likewise.
23045 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23046 * sysdeps/mach/xpg-strerror.c: Likewise.
23047 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23049 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23050 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23051 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23052 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23053 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23054 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23055 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23056 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23057 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23058 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23059 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23060 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23061 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23064 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23065 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23066 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23067 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23069 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23071 * stdio-common/_itoa.h: Moved to ...
23072 * sysdeps/generic/_itoa.h: Here.
23074 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23076 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23077 instead of "_itoa.h" and "_itowa.h".
23078 * stdio-common/vfprintf.: Likewise.
23080 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23084 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23085 (__signbit): Likwise.
23086 (llrintf): Likwise.
23089 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23091 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23094 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23096 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23097 OVERFLOW_EXCEPTION_OK.
23098 * math/libm-test.inc ("Philosophy"): Update comment about
23100 (OVERFLOW_EXCEPTION): Define.
23101 (OVERFLOW_EXCEPTION_OK): Likewise.
23102 (INVALID_EXCEPTION_OK): Renumber.
23103 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23104 (IGNORE_ZERO_INF_SIGN): Likewise.
23105 (test_exceptions): Handle FE_OVERFLOW.
23106 (exp10_test): Expect overflow exceptions.
23107 (exp2_test): Likewise.
23108 (expm1_test): Likewise.
23109 (nextafter_test): Likewise.
23110 (pow_test): Likewise.
23111 (scalbn_test): Likewise.
23112 (scalbln_test): Likewise.
23114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23116 * sysdeps/x86_64/bits/atomic.h
23117 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23119 (atomic_exchange_acq): Likewise.
23120 (__arch_exchange_and_add_body): Likewise.
23121 (__arch_add_body): Likewise.
23122 (atomic_add_negative): Likewise.
23123 (atomic_add_zero): Likewise.
23125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23127 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23128 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23132 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23133 Check __x86_64__ instead of __WORDSIZE.
23135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23137 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23139 2012-03-19 David S. Miller <davem@davemloft.net>
23141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23143 * sysdeps/sparc/fpu/fenv_private.h: New file.
23144 * sysdeps/sparc/fpu/math_private.h: Use it.
23145 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23148 (libc_feholdexcept_setroundl): Remove.
23149 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23156 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23157 int64_t instead of long int.
23158 (INSERT_WORDS64): Likwise.
23160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23162 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23163 _Unwind_GetCFA return to _Unwind_Ptr first.
23165 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23168 * math/s_clog.c: Include <float.h>.
23169 (__clog): Scale large or subnormal inputs.
23170 * math/s_clogf.c: Likewise.
23171 * math/s_clogl.c: Likewise.
23172 * math/s_clog10.c: Include <float.h>.
23173 (M_LOG10_2): Define.
23174 (__clog10): Scale large or subnormal inputs.
23175 * math/s_clog10f.c: Likewise.
23176 * math/s_clog10l.c: Likewise.
23177 * math/libm-test.inc (clog_test): Add more tests.
23178 (clog10_test): Likewise.
23179 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23183 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23185 * math/libm-test.inc (atan2_test): Add another test.
23187 * Makerules (common-objdir-compile): Remove.
23188 * sysdeps/unix/Makefile (config-generated): Do not add
23189 $(unix-generated) to variable.
23190 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23191 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23193 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23195 [generic bits/local_lim.h] (before-compile): Do not append to
23197 [generic bits/local_lim.h] (common-generated): Likewise.
23198 [generic sys/param.h] (before-compile): Do not append to variable.
23199 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23200 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23201 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23202 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23204 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23205 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23206 [generic sys/param.h] ($(addprefix
23207 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23208 [generic sys/param.h] (common-generated): Do not append to
23210 [generic sys/param.h] (sysdep_headers): Likewise.
23211 [generic bits/errno.h] (before-compile): Do not append to
23213 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23215 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23216 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23217 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23218 [generic bits/errno.h] (common-generated): Do not append to
23220 [generic bits/ioctls.h] (before-compile): Do not append to
23222 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23224 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23225 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23226 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23229 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23230 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23231 [generic bits/ioctls.h] (common-generated): Do not append to
23233 [generic sys/syscall.h] (syscall.h): Remove variable.
23234 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23236 [generic sys/syscall.h] (before-compile): Do not append to
23238 [generic sys/syscall.h] (common-generated): Likewise.
23239 * sysdeps/unix/errnos-tmpl.c: Remove file.
23240 * sysdeps/unix/errnos.awk: Likewise.
23241 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23242 * sysdeps/unix/ioctls.awk: Likewise.
23243 * sysdeps/unix/mk-local_lim.c: Likewise.
23244 * sysdeps/unix/snarf-ioctls: Likewise.
23246 2012-03-19 Richard Henderson <rth@twiddle.net>
23248 * sysdeps/i386/fpu/fenv_private.h: New file.
23249 * sysdeps/i386/fpu/math_private.h: Use it.
23250 (math_opt_barrier, math_force_eval): Remove.
23251 (libc_feholdexcept_setround_53bit): Remove.
23252 (libc_feupdateenv_53bit): Remove.
23253 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23254 (math_opt_barrier, math_force_eval): Remove.
23255 (libc_feholdexcept): Remove.
23256 (libc_feholdexcept_setround): Remove.
23257 (libc_fetestexcept, libc_fesetenv): Remove.
23258 (libc_feupdateenv_test): Remove.
23259 (libc_feupdateenv, libc_feholdsetround): Remove.
23260 (libc_feresetround): Remove.
23262 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23263 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23265 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23266 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23267 (libc_feupdateenv_testl): New.
23268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23269 (libc_feupdateenv_testf): New.
23270 (libc_feupdateenv): Use libc_feupdateenv_test.
23271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23274 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23275 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23276 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23277 (libc_feresetround_noex): New.
23278 (libc_feresetround_noexf): New.
23279 (libc_feresetround_noexl): New.
23280 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23281 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23282 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23288 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23290 SET_RESTORE_ROUND_NOEX.
23291 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23292 SET_RESTORE_ROUND_NOEXF.
23293 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23294 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23295 (libc_feholdsetroundf): New.
23296 (libc_feresetround, libc_feresetroundf): New.
23298 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23299 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23300 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23302 * sysdeps/generic/math_private.h: Include <fenv.h>.
23303 (default_libc_feholdexcept): New.
23304 (default_libc_feholdexcept_setround): New.
23305 (default_libc_fesetenv, default_libc_feupdateenv): New.
23306 (libc_feholdexcept): Only define if undefined.
23307 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23309 (libc_feholdexcept_setroundl): Likewise.
23310 (libc_feholdexcept_setround_53bit): Likewise.
23311 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23314 (libc_feupdateenv_53bit): Likewise.
23315 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23316 (libc_feholdexcept): Convert from macro to inline function.
23317 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23318 (libc_fesetenv, libc_feupdateenv): Likewise.
23320 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23321 not previously defined.
23322 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23323 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23324 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23325 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23326 * sysdeps/ieee754/flt-32/math_private.h: New file.
23327 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23328 math_private.h below SET_FLOAT_WORD.
23329 (__isnan, __isinf_ns, __finite): Remove.
23330 (__isnanf, __isinf_nsf, __finitef): Remove.
23332 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23336 2012-03-17 David S. Miller <davem@davemloft.net>
23339 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23342 2012-03-16 David S. Miller <davem@davemloft.net>
23344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23350 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23351 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23352 sysdep_routines when subdir is sysvipc.
23353 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23354 __getshmlba helper.
23356 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23360 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23366 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23367 (__lround): Renamed to ...
23368 (__llround): This. Replace long int with long long int.
23369 Define lround functions as aliases of llround functions.
23370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23374 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23375 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23376 adresses to uintptr_t. Replace "long int" and "unsigned long
23377 int" with "greg_t" on va_arg.
23379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23382 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23384 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23385 Move e_machine check before EI_CLASS check. Handle x32
23386 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23387 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23388 SKIP_EM_IA_64 and include
23389 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23391 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23392 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23393 (add_system_dir): New macro.
23395 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23396 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23398 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23409 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23411 * math/w_j0f.c (j0f): Likewise.
23413 * math/w_j0l.c (__j0l): Likewise.
23415 * math/w_j1.c (j1): Likewise.
23417 * math/w_j1f.c (j1f): Likewise.
23419 * math/w_j1l.c (__j1l): Likewise.
23421 * math/w_jn.c (jn): Likewise.
23423 * math/w_jnf.c (jnf): Likewise.
23425 * math/w_jnl.c (__jnl): Likewise.
23427 * math/libm-test.inc (j0_test): Add more tests.
23428 (j1_test): Likewise.
23429 (jn_test): Likewise. Add trailing semicolon to existing test.
23430 (y0_test): Likewise.
23431 (y1_test): Likewise.
23432 * sysdeps/i386/fpu/libm-test-ulps: Update.
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23438 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23439 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23441 (__tanl): Set errno for infinite argument.
23442 * sysdeps/i386/fpu/mptan.c: Remove.
23443 * sysdeps/i386/fpu/s_tan.S: Likewise.
23444 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23445 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23446 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23447 * math/libm-test.inc (tan_test): Add more tests and enable more
23448 tests for double and long double.
23449 * sysdeps/i386/fpu/libm-test-ulps: Update.
23450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23452 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23454 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23455 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23457 2012-03-16 Roland McGrath <roland@hack.frob.com>
23459 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23460 * configure.in: Use it for both main tree and add-ons.
23461 * configure: Regenerated.
23463 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23465 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23467 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23473 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23474 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23475 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23479 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23481 != 0 for prec == 2.
23482 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23483 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23484 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23485 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23486 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23487 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23488 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23489 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23490 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23491 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23492 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23493 * math/libm-test.inc (cos_test): Add more tests and enable more
23494 tests for long double.
23495 (sin_test): Likewise.
23496 (sincos_test): Likewise.
23497 * sysdeps/i386/fpu/libm-test-ulps: Update.
23498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23500 2012-03-16 David S. Miller <davem@davemloft.net>
23502 * sysdeps/sparc/fpu/math_private.h: New file.
23504 2012-03-15 David S. Miller <davem@davemloft.net>
23506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23520 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23521 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23523 * sysdeps/sparc/sparc-ifunc.h: New file.
23524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23569 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23571 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23575 2012-03-15 Andreas Jaeger <aj@suse.de>
23578 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23579 ieee754/flt-32 implementation for sin, cos and sincos.
23580 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23581 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23582 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23583 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23584 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23585 ieee754/flt-32 implementation for tan.
23587 * math/libm-test.inc (cos_test): Enable some large input tests for
23589 (sin_test): Likewise.
23590 (sincos_test): Likewise.
23591 (tan_test): Add tests for large input.
23593 * sysdeps/i386/fpu/libm-test-ulps: Update.
23595 2012-03-15 Andreas Jaeger <aj@suse.de>
23598 * math/libm-test.inc (cos_test): Add more test cases.
23599 (sin_test): Likewise.
23600 (sincos_test): Likewise.
23602 2012-03-15 Andreas Jaeger <aj@suse.de>
23605 * math/libm-test.inc (cos_test): Add a test case for large input
23607 (sin_test): Likewise.
23608 (sincos_test): Likewise.
23610 2012-03-15 Andreas Jaeger <aj@suse.de>,
23611 Joseph Myers <joseph@codesourcery.com>
23614 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23615 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23616 * sysdeps/i386/fpu/branred.c: Likewise.
23617 * sysdeps/i386/fpu/dosincos.c: Likewise.
23618 * sysdeps/i386/fpu/mpa.c: Likewise.
23619 * sysdeps/i386/fpu/s_cos.S: Likewise.
23620 * sysdeps/i386/fpu/s_sin.S: Likewise.
23621 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23622 * sysdeps/i386/fpu/sincos32.c: Likewise.
23624 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23626 (libc_feupdateenv_53bit): Define.
23627 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23629 (libc_feupdateenv_53bit): Define.
23631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23632 53 bit (without extend i386 double precision).
23634 * math/libm-test.inc (sincos_test): Add tests for large input.
23638 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23640 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23644 2012-03-15 David S. Miller <davem@davemloft.net>
23646 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23647 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23648 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23649 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23674 fmin/fmax sysdep routines.
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23677 2012-03-14 David S. Miller <davem@davemloft.net>
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23756 * sysdeps/sparc/configure.in: New file.
23757 * sysdeps/sparc/configure: Generate.
23758 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23759 * configure: Regenerate.
23760 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23761 * config.make.in (have-as-vis3): New.
23762 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23763 available use -Av9d instead of -Av9a.
23764 * sysdeps/sparc/sparc64/Makefile: Likewise.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23780 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23781 fzeros/fnegs to load 0x80000000 into a float register instead of
23783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23785 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23789 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23790 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23791 ($(inst_includedir)/bits/syscall.h): Remove rule.
23792 ($(objpfx)bits/syscall.d): Include instead of
23793 $(objpfx)syscall-list.d.
23794 (generated): Change syscall-list.h and syscall-list.d to
23795 bits/syscall.h and bits/syscall.d.
23797 2012-03-14 Roland McGrath <roland@hack.frob.com>
23800 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23802 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23805 * math/s_csqrt.c: Include <float.h>.
23806 (__csqrt): Scale large or subnormal inputs.
23807 * math/s_csqrtf.c: Likewise.
23808 * math/s_csqrtl.c: Likewise.
23809 * math/libm-test.inc (csqrt_test): Add more tests.
23810 * sysdeps/i386/fpu/libm-test-ulps: Update.
23811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23814 * math/libm-test.inc (hypot_test): Add more tests.
23816 2012-03-13 David S. Miller <davem@davemloft.net>
23819 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23820 double-precision for the calculation instead of scaling.
23822 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23824 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23825 manipulate bits before adding and subtracting TWO52[sx].
23826 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23831 2012-03-13 David S. Miller <davem@davemloft.net>
23833 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23834 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23836 rtld-global-offsets.h
23837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23839 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23845 'err' in the ifdef scope in which it is actually used.
23847 * nss/nss_db/db-init.c: Include string.h
23849 2012-03-12 David S. Miller <davem@davemloft.net>
23851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23852 masking out of the most significant byte of random value used.
23853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23854 Fix coding style in previous change.
23856 * sysdeps/unix/sysv/linux/kernel-features.h
23857 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23858 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23860 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23863 2012-03-11 David S. Miller <davem@davemloft.net>
23865 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23866 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23868 for 'resultvar' otherwise things get truncated on 64-bit.
23870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23871 Fix masking out of the most significant byte of random value used.
23873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23875 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23879 2012-03-09 David S. Miller <davem@davemloft.net>
23881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23882 variables with appropriate CPP guards.
23883 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23884 frame pointer, not the stack pointer. Correct layout comments. Fix test
23885 on resulting framesize and the management of the outregs buffer for pltexit.
23886 Preserve floating point return values across _dl_call_pltexit call.
23887 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23888 framesize and the management of the outregs buffer for pltexit.
23889 Preserve floating point return values across _dl_call_pltexit
23891 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23892 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23893 (print_exit): Fix format string for return register value.
23895 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23897 * sunrpc/Makefile (others): Add rpcgen.
23898 ($(objpfx)rpcgen): Remove special build rule and dependency on
23900 * sunrpc/rpcgen.c: New file.
23902 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23905 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23906 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23907 * sysdeps/i386/crti.S: Likewise.
23908 * sysdeps/i386/crtn.S: Likewise.
23909 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23910 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23911 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23912 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23913 * sysdeps/sh/crti.S: Likewise.
23914 * sysdeps/sh/crtn.S: Likewise.
23915 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23918 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23920 * locale/programs/locfile-kw.gperf: Likewise.
23921 * locale/programs/charmap-kw.h: Regenerated.
23922 * locale/programs/locfile-kw.h: Likewise.
23925 * intl/plural.y: Replace FSF snail mail address with URL.
23926 * intl/plural.c: Regenerated.
23928 2012-03-09 Richard Henderson <rth@twiddle.net>
23930 * include/math_private.h: Remove file.
23931 * math/math_private.h: Move file ...
23932 * sysdeps/generic/math_private.h: ... here.
23934 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23935 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23936 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23938 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23939 and <math_private.h>.
23940 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23941 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23942 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23943 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23944 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23983 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23984 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23985 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23986 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24008 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24012 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24024 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24028 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24031 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24034 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24035 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24040 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24041 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24042 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24043 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24045 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24046 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24047 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24052 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24054 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24056 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24057 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24067 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24068 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24069 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24070 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24073 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24074 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24075 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24076 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24078 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24082 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24083 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24084 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24085 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24086 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24087 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24088 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24089 * sysdeps/ieee754/k_standard.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24102 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24103 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24104 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24239 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24250 * sysdeps/ieee754/s_lib_version.c: Likewise.
24251 * sysdeps/ieee754/s_matherr.c: Likewise.
24252 * sysdeps/ieee754/s_signgam.c: Likewise.
24253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24256 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24257 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24258 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24259 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24260 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24261 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24262 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24263 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24264 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24265 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24267 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24268 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24269 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24275 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24277 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24278 * sunrpc/rpc_main.c: Likewise.
24279 * sunrpc/rpc_svcout.c: Likewise.
24281 2012-03-09 David S. Miller <davem@davemloft.net>
24283 * include/math_private.h: New file.
24285 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24287 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24288 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24289 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24290 from <bits/socket_type.h>.
24291 (enum __socket_type): Don't define here.
24292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24294 bits/socket_type.h.
24297 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24298 checking __USE_GNU.
24300 * Makerules ($(inst_includedir)/%.h): New rule.
24301 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24302 (install-others): Remove variable setting.
24303 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24305 2012-03-08 Richard Henderson <rth@twiddle.net>
24307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24308 from macro to inline function; merge with the
24309 !__LIBC_INTERNAL_MATH_INLINES version.
24310 (__ieee754_sqrtf): Likewise.
24312 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24313 to inline function.
24314 (__rintf, __floor, __floorf): Likewise.
24316 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24317 macro to inline function.
24318 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24321 not <math/math_private.h>.
24323 2012-03-08 David S. Miller <davem@davemloft.net>
24325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24327 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24329 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24331 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24333 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24334 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24336 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24338 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24339 be defined individually, they must be defined as a block. Define
24340 S for printing a string instead of hidint the different by using a
24341 macro for adding the 'l'.
24342 * stdio-common/tst-fphex-wide.c: Adjust.
24344 2012-03-07 Marek Polacek <polacek@redhat.com>
24346 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24348 2012-03-08 Marek Polacek <polacek@redhat.com>
24351 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24352 * stdio-common/tst-fphex.c: Define a few macros to make the
24353 test reusable. Use them.
24354 * stdio-common/tst-fphex-wide.c: New file.
24356 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24359 * manual/macros.texi (gnusystems): New macro.
24360 (nongnusystems): Likewise.
24361 (gnulinuxhurdsystems): Likewise.
24362 (gnuhurdsystems): Likewise..
24363 (gnulinuxsystems): Likewise.
24364 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24365 variants of the GNU system, not "GNU system".
24366 * manual/conf.texi: Likewise.
24367 * manual/errno.texi: Likewise. Update example of errno macro
24369 * manual/filesys.texi: Likewise.
24370 (getumask): Document as specific to GNU/Hurd.
24371 * manual/install.texi: Likewise. Reword some references to
24373 * manual/intro.texi: Likewise.
24374 * manual/io.texi: Likewise.
24375 (File Name Portability): Detail which constraints are inapplicable
24376 to all GNU systems and which are only inapplicable to GNU/Hurd.
24377 * manual/job.texi: Likewise.
24378 * manual/llio.texi: Likewise.
24379 (O_NOCTTY): Document as present on GNU/Linux.
24380 * manual/maint.texi: Likewise.
24381 * manual/memory.texi: Likewise.
24382 * manual/pattern.texi: Likewise.
24383 * manual/pipe.texi: Likewise.
24384 * manual/process.texi: Likewise.
24385 * manual/resource.texi: Likewise.
24386 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24388 * manual/setjmp.texi: Likewise.
24389 * manual/signal.texi: Likewise.
24390 * manual/startup.texi: Likewise.
24391 * manual/stdio.texi: Likewise.
24392 * manual/terminal.texi: Likewise.
24393 (ONLCR): Document as POSIX.
24394 (OXTABS): Document availability on GNU/Linux as XTABS.
24395 (ONOEOT): Document availability separately from other bits.
24396 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24397 * manual/time.texi: Likewise.
24398 * manual/users.texi: Likewise.
24399 * INSTALL: Regenerated.
24400 * sysdeps/gnu/errlist.c: Regenerated.
24402 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24403 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24404 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24406 * configure: Regenerated.
24408 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24410 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24411 default includes instead of AC_HEADER_CHECK.
24412 * sysdeps/i386/configure: Regenerated.
24415 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24416 * math/s_cacoshf.c (__cacoshf): Likewise.
24417 * math/s_cacoshl.c (__cacoshl): Likewise.
24418 * math/s_casinh.c (__casinh): Set signs of result from argument.
24419 * math/s_casinhf.c (__casinhf): Likewise.
24420 * math/s_casinhl.c (__casinhl): Likewise.
24421 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24422 (casinh_test): Add more tests.
24423 * sysdeps/i386/fpu/libm-test-ulps: Update.
24424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24426 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24428 * po/zh_TW.po: Update from translation team.
24430 * login/Makefile (distribute): Remove variable.
24431 * catgets/Makefile: Likewise.
24432 * mach/Makefile: Likewise.
24433 * malloc/Makefile: Likewise.
24434 * misc/Makefile: Likewise.
24435 * iconv/Makefile: Likewise.
24436 * nscd/Makefile: Likewise.
24437 * hurd/Makefile: Likewise.
24438 * manual/Makefile: Likewise.
24439 * locale/Makefile: Likewise.
24440 * intl/Makefile: Likewise.
24441 * conform/Makefile: Likewise.
24442 * nss/Makefile: Likewise.
24443 * time/Makefile: Likewise.
24444 * soft-fp/Makefile: Likewise.
24445 * dirent/Makefile: Likewise.
24446 * gmon/Makefile: Likewise.
24447 * po/Makefile: Likewise.
24448 * rt/Makefile: Likewise.
24449 * socket/Makefile: Likewise.
24450 * math/Makefile: Likewise.
24451 * signal/Makefile: Likewise.
24452 * debug/Makefile: Likewise.
24453 * elf/Makefile: Likewise.
24454 * timezone/Makefile: Likewise.
24455 * stdlib/Makefile: Likewise.
24456 * iconvdata/Makefile: Likewise.
24457 * sunrpc/Makefile: Likewise.
24458 * io/Makefile: Likewise.
24459 * argp/Makefile: Likewise.
24460 * inet/Makefile: Likewise.
24461 * hesiod/Makefile: Likewise.
24462 * grp/Makefile: Likewise.
24463 * csu/Makefile: Likewise.
24464 * wctype/Makefile: Likewise.
24465 * crypt/Makefile: Likewise.
24466 * libio/Makefile: Likewise.
24467 * string/Makefile: Likewise.
24468 * nis/Makefile: Likewise.
24469 * resolv/Makefile: Likewise.
24470 * stdio-common/Makefile: Likewise.
24471 * wcsmbs/Makefile: Likewise.
24472 * dlfcn/Makefile: Likewise.
24473 * posix/Makefile: Likewise.
24476 * timezone/Makefile: Don't install timezone files, just the programs
24479 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24481 * nss/databases.def: Add missing gshadow entry.
24483 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24485 2012-03-06 Marek Polacek <polacek@redhat.com>
24488 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24489 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24490 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24491 * stdio-common/tst-long-dbl-fphex.c: New file.
24493 2012-03-06 David S. Miller <davem@davemloft.net>
24495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24496 (set_obp_int): New function.
24497 (get_obp_int): New function.
24498 (__get_clockfreq_via_dev_openprom): Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24500 Avoid unused variable warnings on 'val' and use builtin_expect.
24501 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24503 (INLINE_CLONE_SYSCALL): Likewise.
24505 2012-03-05 David S. Miller <davem@davemloft.net>
24507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24509 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24514 only for |x| >= 40.
24515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24517 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24520 Replace gettimeofday with __vdso_gettimeofday.
24522 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24523 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24524 __vdso_clock_gettime and __vdso_getcpu.
24526 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24527 time with __vdso_time.
24529 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24531 * manual/lang.texi (size_t): Note types to which size_t may be
24532 equivalent with the GNU C Library, but do not describe when
24533 differences between them are significant.
24535 2012-03-05 Andreas Jaeger <aj@suse.de>
24537 * sysdeps/i386/fpu/libm-test-ulps: Update.
24539 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24542 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24543 (__ieee754_pow): Save and restore rounding mode and use
24544 round-to-nearest for main computations.
24545 * math/libm-test.inc (pow_test_tonearest): New function.
24546 (pow_test_towardzero): Likewise.
24547 (pow_test_downward): Likewise.
24548 (pow_test_upward): Likewise.
24549 (main): Call the new functions.
24550 * sysdeps/i386/fpu/libm-test-ulps: Update.
24551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24554 * math/libm-test.inc (cosh_test_tonearest): New function.
24555 (cosh_test_towardzero): Likewise.
24556 (cosh_test_downward): Likewise.
24557 (cosh_test_upward): Likewise.
24558 (sinh_test_tonearest): Likewise.
24559 (sinh_test_towardzero): Likewise.
24560 (sinh_test_downward): Likewise.
24561 (sinh_test_upward): Likewise.
24562 (main): Call the new functions.
24563 * sysdeps/i386/fpu/libm-test-ulps: Update.
24564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24566 2012-03-05 Tom de Vries <tom@codesourcery.com>
24568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24569 default stack guard is set in last bytes.
24570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24572 2012-03-05 Kees Cook <keescook@chromium.org>
24574 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24577 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24578 possibly allocate from heap instead of stack.
24579 * stdio-common/bug-vfprintf-nargs.c: New file.
24580 * stdio-common/Makefile (tests): Add nargs overflow test.
24582 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24586 2012-03-03 Marek Polacek <polacek@redhat.com>
24588 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24589 * math/math_private.h: Likewise.
24590 * stdlib/tst-strtod.c: Likewise.
24591 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24592 * sysdeps/x86_64/bits/atomic.h: Likewise.
24594 2012-03-02 David S. Miller <davem@davemloft.net>
24596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24600 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24601 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24602 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24603 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24605 2012-03-02 Roland McGrath <roland@hack.frob.com>
24608 * manual/examples/README: New file, says the example source files
24609 can be used under GPL>=2.
24610 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24611 line containing just "*/".
24612 * manual/examples/add.c: Add copyright header (GPL>=2).
24613 * manual/examples/argp-ex1.c: Likewise.
24614 * manual/examples/argp-ex2.c: Likewise.
24615 * manual/examples/argp-ex3.c: Likewise.
24616 * manual/examples/argp-ex4.c: Likewise.
24617 * manual/examples/atexit.c: Likewise.
24618 * manual/examples/db.c: Likewise.
24619 * manual/examples/dir.c: Likewise.
24620 * manual/examples/dir2.c: Likewise.
24621 * manual/examples/execinfo.c: Likewise.
24622 * manual/examples/filecli.c: Likewise.
24623 * manual/examples/filesrv.c: Likewise.
24624 * manual/examples/fmtmsgexpl.c: Likewise.
24625 * manual/examples/genpass.c: Likewise.
24626 * manual/examples/inetcli.c: Likewise.
24627 * manual/examples/inetsrv.c: Likewise.
24628 * manual/examples/isockad.c: Likewise.
24629 * manual/examples/longopt.c: Likewise.
24630 * manual/examples/memopen.c: Likewise.
24631 * manual/examples/memstrm.c: Likewise.
24632 * manual/examples/mkfsock.c: Likewise.
24633 * manual/examples/mkisock.c: Likewise.
24634 * manual/examples/mygetpass.c: Likewise.
24635 * manual/examples/pipe.c: Likewise.
24636 * manual/examples/popen.c: Likewise.
24637 * manual/examples/rprintf.c: Likewise.
24638 * manual/examples/search.c: Likewise.
24639 * manual/examples/select.c: Likewise.
24640 * manual/examples/setjmp.c: Likewise.
24641 * manual/examples/sigh1.c: Likewise.
24642 * manual/examples/sigusr.c: Likewise.
24643 * manual/examples/stpcpy.c: Likewise.
24644 * manual/examples/strdupa.c: Likewise.
24645 * manual/examples/strftim.c: Likewise.
24646 * manual/examples/strncat.c: Likewise.
24647 * manual/examples/subopt.c: Likewise.
24648 * manual/examples/swapcontext.c: Likewise.
24649 * manual/examples/termios.c: Likewise.
24650 * manual/examples/testopt.c: Likewise.
24651 * manual/examples/testpass.c: Likewise.
24652 * manual/examples/timeval_subtract.c: Likewise.
24655 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24657 * manual/timeval_subtract.c.texi: ... here, new file.
24659 2012-03-02 David S. Miller <davem@davemloft.net>
24661 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24663 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24666 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24667 (__sin): Save and restore rounding mode and use round-to-nearest
24668 for all computations.
24669 (__cos): Save and restore rounding mode and use round-to-nearest
24670 for all computations.
24671 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24673 (tan): Save and restore rounding mode and use round-to-nearest for
24675 * math/libm-test.inc (cos_test_tonearest): New function.
24676 (cos_test_towardzero): Likewise.
24677 (cos_test_downward): Likewise.
24678 (cos_test_upward): Likewise.
24679 (sin_test_tonearest): Likewise.
24680 (sin_test_towardzero): Likewise.
24681 (sin_test_downward): Likewise.
24682 (sin_test_upward): Likewise.
24683 (tan_test_tonearest): Likewise.
24684 (tan_test_towardzero): Likewise.
24685 (tan_test_downward): Likewise.
24686 (tan_test_upward): Likewise.
24687 (main): Call the new functions.
24688 * sysdeps/i386/fpu/libm-test-ulps: Update.
24689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24693 small n, then large n, before computing and testing k+n.
24694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24699 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24700 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24707 * math/libm-test.inc (scalbn_test): Add more tests.
24708 (scalbln_test): Likewise.
24710 * manual/filesys.texi (mode_t): Describe constraints on size and
24711 signedness, not exact equivalence to a particular type.
24713 (ino64_t): Likewise.
24715 (nlink_t): Likewise.
24716 (blkcnt_t): Likewise.
24717 (blkcnt64_t): Likewise.
24718 * manual/llio.texi (off_t): Likewise.
24721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24722 (__ieee754_exp): Save and restore rounding mode and use
24723 round-to-nearest for all computations.
24724 * math/libm-test.inc (exp_test_tonearest): New function.
24725 (exp_test_towardzero): Likewise.
24726 (exp_test_downward): Likewise.
24727 (exp_test_upward): Likewise.
24728 (main): Call the new functions.
24729 * sysdeps/i386/fpu/libm-test-ulps: Update.
24730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24732 2012-03-01 Chris Demetriou <cgd@google.com>
24734 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24735 have predictable order.
24737 2012-03-01 David S. Miller <davem@davemloft.net>
24739 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24741 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24743 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24744 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24746 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24747 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24748 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24750 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24751 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24752 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24753 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24754 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24759 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24760 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24762 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24771 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24772 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24776 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24778 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24779 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24780 * sysdeps/sparc/elf/configure: Regenerated.
24782 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24784 * configure.in (AS, LD): Require binutils 2.20 or later.
24785 * configure: Regenerated.
24786 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24787 as required minimum version.
24788 * INSTALL: Regenerated.
24792 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24793 before squaring exponent.
24794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24795 bottom long double and 27 bits of top long double before squaring
24797 * math/libm-test.inc (erfc_test): Add more tests.
24798 * sysdeps/i386/fpu/libm-test-ulps: Update.
24799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24802 2012-03-01 Kai Tietz <ktietz@redhat.com>
24804 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24805 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24806 containing bit-fields.
24807 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24808 * soft-fp/single.h (_FP_UNION_S): Likewise.
24809 * soft-fp/double.h (_FP_UNION_D): Likewise.
24811 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24814 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24815 not include ../strcmp.S.
24816 [USE_AS_STRNCASECMP_L]: Likewise.
24817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24818 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24819 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24820 (__strncasecmp_l_ia32): Define as alias to
24821 __strncasecmp_l_nonascii.
24824 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24825 * sysdeps/i386/fpu/libm-test-ulps: Update.
24826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24828 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24831 2012-02-29 Jeff Law <law@redhat.com>
24833 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24834 out of bounds read.
24836 2012-02-29 Marek Polacek <polacek@redhat.com>
24839 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24840 * elf/Makefile: Add rules to run tst-unused-dep.out.
24842 2012-02-28 David S. Miller <davem@davemloft.net>
24844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24851 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24853 * math/libm-test.inc (llround_test): Move one test from
24854 lround_test. Use TEST_f_L in moved test.
24855 (lround_test): Move misplaced test to llround_test. Add testcase
24858 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24860 * sysdeps/x86_64/fpu/e_expf.S: New file.
24861 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24863 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24866 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24867 of remain_len that may cause incomplete multi-byte character and
24869 * posix/bug-regex33.c: New file.
24870 * posix/Makefile (tests): Add bug-regex33.
24872 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24874 * manual/macros.texi: New file.
24875 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24876 * manual/libc.texinfo: Include macros.texi.
24877 * manual/creatute.texi: Likewise.
24878 * manual/install.texi: Likewise.
24879 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24880 @glibcadj{} in references to the GNU C Library.
24881 * manual/charset.texi: Likewise.
24882 * manual/conf.texi: Likewise.
24883 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24884 when not using those macros.
24885 * manual/creature.texi: Likewise.
24886 * manual/crypt.texi: Likewise.
24887 * manual/errno.texi: Likewise.
24888 * manual/filesys.texi: Likewise.
24889 * manual/header.texi: Likewise.
24890 * manual/install.texi: Likewise.
24891 * manual/intro.texi: Likewise.
24892 * manual/io.texi: Likewise.
24893 * manual/job.texi: Likewise.
24894 * manual/lang.texi: Likewise.
24895 * manual/libc.texiinfo: Likewise.
24896 * manual/llio.texi: Likewise.
24897 * manual/locale.texi: Likewise.
24898 * manual/maint.texi: Likewise.
24899 * manual/math.texi: Likewise.
24900 * manual/memory.texi: Likewise.
24901 * manual/message.texi: Likewise.
24902 * manual/nss.texi: Likewise.
24903 * manual/pattern.texi: Likewise.
24904 * manual/process.texi: Likewise.
24905 * manual/resource.texi: Likewise.
24906 * manual/search.texi: Likewise.
24907 * manual/setjmp.texi: Likewise.
24908 * manual/signal.texi: Likewise.
24909 * manual/socket.texi: Likewise.
24910 * manual/startup.texi: Likewise.
24911 * manual/stdio.texi: Likewise.
24912 * manual/string.texi: Likewise.
24913 * manual/sysinfo.texi: Likewise.
24914 * manual/syslog.texi: Likewise.
24915 * manual/terminal.texi: Likewise.
24916 * manual/time.texi: Likewise.
24917 * manual/users.texi: Likewise.
24918 * INSTALL: Regenerated.
24919 * NOTES: Regenerated.
24920 * sysdeps/gnu/errlist.c: Regenerated.
24922 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24924 * include/dirent.h: Include <dirstream.h> before
24927 2012-02-28 David S. Miller <davem@davemloft.net>
24929 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24930 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24931 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24932 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24934 2012-02-27 David S. Miller <davem@davemloft.net>
24936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24938 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24939 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24942 frame pointer instead of stack pointer relative arg slot.
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24947 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24950 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24952 2012-02-27 David S. Miller <davem@davemloft.net>
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24958 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24959 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24960 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24961 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24963 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24965 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24966 later. Allow versions 5-9.
24967 * configure: Regenerated.
24968 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24969 required minimum version and 4.6 as recommended version. Do not
24970 mention bugs in GCC 2.7 and 2.8.
24971 * INSTALL: Regenerated.
24973 2012-02-27 David S. Miller <davem@davemloft.net>
24975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24981 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24982 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24985 manipulate bits before adding and subtracting TWO112[sx].
24986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24988 2012-02-27 Roland McGrath <roland@hack.frob.com>
24991 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24992 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24993 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24994 being in POSIX, because they are in 1003.1-2008.
24996 * rt/tst-aio.c: Include <fcntl.h>.
24997 * rt/tst-aio7.c: Likewise.
24998 * rt/tst-aio64.c: Likewise.
25000 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25002 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25004 * manual/install.texi (--with-headers): Describe headers as
25005 interface headers, not private headers.
25006 (Specific advice for GNU/Linux systems): Describe use of headers
25007 from "make headers_install", not private headers from older
25009 * INSTALL: Regenerated.
25010 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25012 * sysdeps/unix/sysv/linux/configure: Regenerated.
25014 * manual/llio.texi (fclean): Remove documentation.
25016 * manual/Makefile (libc-texi-generated): New variable. Include
25018 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25019 $(libc-texi-generated), not duplicated list of files.
25020 (version.texi, stamp-version): New rules.
25021 (realclean): Remove $(libc-texi-generated), not individual files
25022 from that list. Do not remove dir-add.texinfo.
25023 * manual/libc.texinfo: Comment out uses of edition numbers and
25024 references to printed manual. Remove last-updated dates.
25025 (EDITION): Comment out.
25027 (VERSION, UPDATED): Remove.
25028 (version.texi): Include.
25030 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25032 * sysdeps/posix/spawni.c: Include <signal.h>.
25033 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25034 * sysdeps/pthread/aio_fsync.c: Likewise.
25036 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25038 * conform/Makefile (tests): Run only when not cross-compiling and
25039 when fast-check is not defined.
25041 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25042 * conform/data/limits.h-data: Fixes for POSIX2008.
25043 * conform/run-conformtest.sh: Run all tests.
25044 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25046 * include/bits/dlfcn.h: Likewise.
25047 * include/langinfo.h: Likewise.
25048 * include/monetary.h: Likewise.
25049 * include/sys/poll.h: Likewise.
25051 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25053 * posix/spawn.h: Define __need_sigset_t.
25054 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25055 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25056 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25057 to get sigevent_t only.
25058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25059 only for __USE_GNU.
25060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25061 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25062 process_vm_writev only for __USE_GNU.
25063 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25065 * conform/Makefile: For now ignore errors from run-conformtest.
25066 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25067 POSIX to avoid namespace pollution. Don't prepend headers.
25068 * conform/data/aio.h-data: Fixes for POSIX testing.
25069 * conform/data/fcntl.h-data: Likewise.
25070 * conform/data/glob.h-data: Likewise.
25071 * conform/data/grp.h-data: Likewise.
25072 * conform/data/pthread.h-data: Likewise.
25073 * conform/data/pwd.h-data: Likewise.
25074 * conform/data/signal.h-data: Likewise.
25075 * conform/data/spawn.h-data: Likewise.
25076 * conform/data/stdio.h-data: Likewise.
25077 * conform/data/stdlib.h-data: Likewise.
25078 * conform/data/stropts.h-data: Likewise.
25079 * conform/data/sys/mman.h-data: Likewise.
25080 * conform/data/sys/stat.h-data: Likewise.
25081 * conform/data/sys/types.h-data: Likewise.
25082 * conform/data/sys/wait.h-data: Likewise.
25083 * conform/data/time.h-data: Likewise.
25084 * conform/data/unistd.h-data: Likewise.
25085 * conform/data/utime.h-data: Likewise.
25087 * io/sys/stat.h: fchmod was always in POSIX.
25088 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25089 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25090 * rt/aio.h: Define __need_timespec before including <time.h>.
25091 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25092 struct. Add forward declaration of pthread_attr_t and use it in
25094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25096 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25097 always remove CLK_TCK definition.
25099 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25101 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25103 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25105 * conform/run-conformtest.sh: New file.
25106 * conform/Makefile: Run run-conformtest for tests.
25107 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25110 * conform/data/uchar.h-data: New file.
25111 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25112 * conform/data/arpa/inet.h-data: Likewise.
25113 * conform/data/assert.h-data: Likewise.
25114 * conform/data/complex.h-data: Likewise.
25115 * conform/data/cpio.h-data: Likewise.
25116 * conform/data/ctype.h-data: Likewise.
25117 * conform/data/dirent.h-data: Likewise.
25118 * conform/data/dlfcn.h-data: Likewise.
25119 * conform/data/errno.h-data: Likewise.
25120 * conform/data/fcntl.h-data: Likewise.
25121 * conform/data/float.h-data: Likewise.
25122 * conform/data/fmtmsg.h-data: Likewise.
25123 * conform/data/fnmatch.h-data: Likewise.
25124 * conform/data/ftw.h-data: Likewise.
25125 * conform/data/glob.h-data: Likewise.
25126 * conform/data/grp.h-data: Likewise.
25127 * conform/data/iconv.h-data: Likewise.
25128 * conform/data/inttypes.h-data: Likewise.
25129 * conform/data/langinfo.h-data: Likewise.
25130 * conform/data/libgen.h-data: Likewise.
25131 * conform/data/limits.h-data: Likewise.
25132 * conform/data/locale.h-data: Likewise.
25133 * conform/data/math.h-data: Likewise.
25134 * conform/data/monetary.h-data: Likewise.
25135 * conform/data/mqueue.h-data: Likewise.
25136 * conform/data/ndbm.h-data: Likewise.
25137 * conform/data/net/if.h-data: Likewise.
25138 * conform/data/netdb.h-data: Likewise.
25139 * conform/data/netinet/in.h-data: Likewise.
25140 * conform/data/nl_types.h-data: Likewise.
25141 * conform/data/poll.h-data: Likewise.
25142 * conform/data/pthread.h-data: Likewise.
25143 * conform/data/pwd.h-data: Likewise.
25144 * conform/data/regex.h-data: Likewise.
25145 * conform/data/sched.h-data: Likewise.
25146 * conform/data/search.h-data: Likewise.
25147 * conform/data/semaphore.h-data: Likewise.
25148 * conform/data/setjmp.h-data: Likewise.
25149 * conform/data/signal.h-data: Likewise.
25150 * conform/data/spawn.h-data: Likewise.
25151 * conform/data/stdarg.h-data: Likewise.
25152 * conform/data/stdio.h-data: Likewise.
25153 * conform/data/stdlib.h-data: Likewise.
25154 * conform/data/string.h-data: Likewise.
25155 * conform/data/strings.h-data: Likewise.
25156 * conform/data/stropts.h-data: Likewise.
25157 * conform/data/sys/ipc.h-data: Likewise.
25158 * conform/data/sys/mman.h-data: Likewise.
25159 * conform/data/sys/msg.h-data: Likewise.
25160 * conform/data/sys/resource.h-data: Likewise.
25161 * conform/data/sys/select.h-data: Likewise.
25162 * conform/data/sys/sem.h-data: Likewise.
25163 * conform/data/sys/shm.h-data: Likewise.
25164 * conform/data/sys/socket.h-data: Likewise.
25165 * conform/data/sys/stat.h-data: Likewise.
25166 * conform/data/sys/statvfs.h-data: Likewise.
25167 * conform/data/sys/time.h-data: Likewise.
25168 * conform/data/sys/timeb.h-data: Likewise.
25169 * conform/data/sys/times.h-data: Likewise.
25170 * conform/data/sys/types.h-data: Likewise.
25171 * conform/data/sys/uio.h-data: Likewise.
25172 * conform/data/sys/un.h-data: Likewise.
25173 * conform/data/sys/utsname.h-data: Likewise.
25174 * conform/data/sys/wait.h-data: Likewise.
25175 * conform/data/syslog.h-data: Likewise.
25176 * conform/data/tar.h-data: Likewise.
25177 * conform/data/termios.h-data: Likewise.
25178 * conform/data/utime.h-data: Likewise.
25179 * conform/data/utmpx.h-data: Likewise.
25180 * conform/data/varargs.h-data: Likewise.
25181 * conform/data/wchar.h-data: Likewise.
25182 * conform/data/wctype.h-data: Likewise.
25183 * conform/data/wordexp.h-data: Likewise.
25185 * include/stropts.h: New file.
25186 * include/uchar.h: New file.
25187 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25188 * include/assert.h: Likewise.
25189 * include/ctype.h: Likewise.
25190 * include/dirent.h: Likewise.
25191 * include/dlfcn.h: Likewise.
25192 * include/fcntl.h: Likewise.
25193 * include/fnmatch.h: Likewise.
25194 * include/glob.h: Likewise.
25195 * include/grp.h: Likewise.
25196 * include/libio.h: Likewise.
25197 * include/locale.h: Likewise.
25198 * include/math.h: Likewise.
25199 * include/net/if.h: Likewise.
25200 * include/netdb.h: Likewise.
25201 * include/netinet/in.h: Likewise.
25202 * include/pthread.h: Likewise.
25203 * include/pwd.h: Likewise.
25204 * include/regex.h: Likewise.
25205 * include/sched.h: Likewise.
25206 * include/search.h: Likewise.
25207 * include/setjmp.h: Likewise.
25208 * include/signal.h: Likewise.
25209 * include/stdio.h: Likewise.
25210 * include/stdlib.h: Likewise.
25211 * include/string.h: Likewise.
25212 * include/sys/cdefs.h: Likewise.
25213 * include/sys/mman.h: Likewise.
25214 * include/sys/msg.h: Likewise.
25215 * include/sys/resource.h: Likewise.
25216 * include/sys/select.h: Likewise.
25217 * include/sys/socket.h: Likewise.
25218 * include/sys/stat.h: Likewise.
25219 * include/sys/statvfs.h: Likewise.
25220 * include/sys/time.h: Likewise.
25221 * include/sys/times.h: Likewise.
25222 * include/sys/uio.h: Likewise.
25223 * include/sys/utsname.h: Likewise.
25224 * include/sys/wait.h: Likewise.
25225 * include/termios.h: Likewise.
25226 * include/time.h: Likewise.
25227 * include/ulimit.h: Likewise.
25228 * include/unistd.h: Likewise.
25229 * include/utime.h: Likewise.
25230 * include/wchar.h: Likewise.
25231 * include/wctype.h: Likewise.
25232 * include/wordexp.h: Likewise.
25234 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25236 * time/time.h: TIME_UTC must be a macro.
25237 Make timespec_get available for ISO C11 only as well.
25239 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25241 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25242 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25246 * configure.in: Use -o not -a in test for unsupported multi-arch.
25248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25250 * manual/texinfo.tex: Update to version 2012-01-19.16.
25252 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25254 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25256 2012-02-24 Roland McGrath <roland@hack.frob.com>
25259 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25260 * manual/fdl-1.3.texi: New file.
25261 * manual/fdl-1.1.texi: File removed.
25264 * manual/libc.texinfo (FDL_VERSION): New @set.
25265 Use it for mention of FDL in cover text.
25266 (Documentation License): Use it in @include file name.
25268 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25269 Roland McGrath <roland@hack.frob.com>
25272 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25273 not LONG_LONG_MAX and LONG_LONG_MIN.
25274 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25275 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25277 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25283 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25284 manipulate bits before adding and subtracting TWO23[sx].
25285 * math/libm-test.inc (nearbyint_test): Add more tests.
25287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25290 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25291 bits before adding and subtracting TWO23[sx].
25292 * math/libm-test.inc (rint_test): Add more tests.
25293 (rint_test_tonearest): Likewise.
25294 (rint_test_towardzero): Likewise.
25295 (rint_test_downward): Likewise.
25296 (rint_test_upward: Likewise.
25298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25301 * include/stdc-predef.h: New file. Extracted from features.h.
25302 * include/features.h: Include stdc-predef.h.
25303 * Makefile (headers): Add stdc-predef.h.
25304 * CONFORMANCE (Compiler limitations): Update.
25306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25308 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25310 2012-02-21 David S. Miller <davem@davemloft.net>
25312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25315 2012-02-20 David S. Miller <davem@davemloft.net>
25317 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25318 using a normal save/restore sequence, rather than allocating a
25319 dummy stack frame just to store a frame pointer and restore.
25320 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25322 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25324 * manual/install.texi: Fix stray word in line-wrapped comment.
25326 2012-02-20 David S. Miller <davem@davemloft.net>
25328 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25329 both binutils and gcc support GOTDATA.
25331 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25332 "rd %pc" in the PIC register setup sequences.
25334 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25335 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25337 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25338 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25340 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25341 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25343 (SYSCALL_ERROR_HANDLER): Likewise.
25344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25347 (SYSCALL_ERROR_HANDLER): Likewise.
25349 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25350 (HAVE_GCC_GOTDATA): New.
25351 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25352 relocation support in both binutils and gcc.
25353 * sysdeps/sparc/elf/configure: Regenerate.
25355 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25356 * sysdeps/sparc/sparc32/elf/configure: Delete.
25357 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25358 * sysdeps/sparc/sparc64/elf/configure: Delete.
25359 * sysdeps/sparc/elf/configure.in: New file.
25360 * sysdeps/sparc/elf/configure: Generate.
25362 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25363 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25364 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25365 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25366 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25368 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25370 * manual/install.texi: Do not mention specific glibc version
25372 * manual/libc.texinfo (VERSION, UPDATED): Update.
25373 (@copying): Use @copyright{} and range of years.
25375 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25378 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25379 [crti.S not in sysdirs] (generated): Do not append.
25380 [crti.S not in sysdirs] (omit-deps): Likewise.
25381 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25382 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25383 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25384 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25385 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25387 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25388 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25389 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25390 * csu/defs.awk: Remove file.
25391 * sysdeps/generic/initfini.c: Likewise.
25392 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25394 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25397 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25399 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25400 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25402 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25404 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25406 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25407 (__EPOLL_PACKED): Define to empty if not defined by
25409 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25413 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25415 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25416 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25418 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25420 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25424 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25426 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25433 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25436 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25438 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25440 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25441 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25443 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25445 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25448 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25450 * math/w_acos.c: Use non-signaling floating-point comparisons.
25451 * math/w_acosf.c: Likewise.
25452 * math/w_acosh.c: Likewise.
25453 * math/w_acoshf.c: Likewise.
25454 * math/w_acoshl.c: Likewise.
25455 * math/w_acosl.c: Likewise.
25456 * math/w_asin.c: Likewise.
25457 * math/w_asinf.c: Likewise.
25458 * math/w_asinl.c: Likewise.
25459 * math/w_atanh.c: Likewise.
25460 * math/w_atanhf.c: Likewise.
25461 * math/w_atanhl.c: Likewise.
25462 * math/w_exp2.c: Likewise.
25463 * math/w_exp2f.c: Likewise.
25464 * math/w_exp2l.c: Likewise.
25465 * math/w_j0.c: Likewise.
25466 * math/w_j0f.c: Likewise.
25467 * math/w_j0l.c: Likewise.
25468 * math/w_j1.c: Likewise.
25469 * math/w_j1f.c: Likewise.
25470 * math/w_j1l.c: Likewise.
25471 * math/w_jn.c: Likewise.
25472 * math/w_jnf.c: Likewise.
25473 * math/w_log.c: Likewise.
25474 * math/w_log10.c: Likewise.
25475 * math/w_log10f.c: Likewise.
25476 * math/w_log10l.c: Likewise.
25477 * math/w_log2.c: Likewise.
25478 * math/w_log2f.c: Likewise.
25479 * math/w_log2l.c: Likewise.
25480 * math/w_logf.c: Likewise.
25481 * math/w_logl.c: Likewise.
25482 * math/w_sqrt.c: Likewise.
25483 * math/w_sqrtf.c: Likewise.
25484 * math/w_sqrtl.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25491 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25494 * manual/string.texi (strnlen): Use correct parameter name in
25495 equivalent expression.
25497 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25500 * manual/users.texi (seteuid): Consistently use neweuid for
25503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25506 * manual/nss.texi (Services in the NSS configuration): Correct
25507 list of services in example configuration file.
25509 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25512 * manual/arith.texi: Remove statements about negative zero
25513 behaving identically to zero.
25515 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25518 * manual/install.texi: Do not document upgrading from libc5.
25520 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25523 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25525 2012-02-18 David S. Miller <davem@davemloft.net>
25527 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25528 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25529 %o7 across the call.
25530 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25533 SETUP_PIC_REG_LEAF.
25534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25535 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25536 * sysdeps/sparc/crtn.S: Likewise.
25538 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25540 * aout/Makefile: Remove.
25542 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25545 * manual/examples/argp-ex1.c (main): Format definition in GNU
25547 * manual/examples/argp-ex2.c (main): Likewise.
25548 * manual/examples/argp-ex3.c (main): Likewise.
25549 * manual/examples/argp-ex4.c (main): Likewise.
25550 * manual/examples/longopt.c (main): Use new-style prototype
25552 * manual/examples/strncat.c (main): Specify return type and use
25553 (void) for arguments.
25554 * manual/examples/subopt.c (main): Use char **argv argument.
25556 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25559 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25562 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25565 * manual/string.texi (strchr): Change when strchrnul is
25568 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25571 * manual/locale.texi (setlocale): Document LOCPATH.
25573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25576 * manual/process.texi (execle): Move @dots{} before last argument.
25578 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25581 * manual/charset.texi (Generic Charset Conversion): Fix typo
25582 (LC_TYPE -> LC_CTYPE).
25584 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25587 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25588 (scalbnf): Likewise.
25589 (scalbnl): Likewise.
25590 (scalbln): Likewise.
25591 (scalblnf): Likewise.
25592 (scalblnl): Likewise.
25593 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25594 (vwarnx): Likewise.
25597 * manual/filesys.texi (telldir): Use braces around return type.
25598 * manual/llio.texi (mmap): Add space after comma.
25599 (mmap64): Likewise.
25600 * manual/math.texi (jn): Use @var{} on parameter names.
25606 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25608 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25610 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25611 (sched_get_priority_max): Likewise.
25612 * manual/signal.texi (sigvec): Add space after comma.
25613 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25615 (if_indextoname): Likewise.
25616 (if_freenameindex): Likewise.
25617 (sendto): Use ',' instead of '.' in prototype.
25618 * manual/startup.texi (syscall): Use @dots{} instead of literal
25620 * manual/stdio.texi (__fpending): Separate initial words of
25621 paragraph from @deftypefun line.
25622 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25624 (vsyslog): Use @var{} on parameter names.
25625 * manual/terminal.texi (stty): Use @var{} on parameter names.
25626 * manual/users.texi (getutmp): Use @var{} on parameter names.
25627 (getutmpx): Likewise.
25629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25632 * manual/stdio.texi (fopen): Fix typos in description of
25635 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25638 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25639 get clock_id definition.
25641 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25644 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25645 (madvise): Cast every argument to void on its own.
25647 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25650 * manual/startup.texi (Exit Status): Fix typo.
25652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25655 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25656 * manual/examples/argp-ex2.c: Likewise.
25657 * manual/examples/argp-ex3.c: Likewise.
25659 2012-02-16 Richard Henderson <rth@redhat.com>
25661 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25662 * sysdeps/s390/s390-32/initfini.c: Remove.
25663 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25664 * sysdeps/s390/s390-64/initfini.c: Remove.
25666 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25668 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25669 compiler output for sysdeps/generic/initfini.c.
25670 * sysdeps/sh/elf/initfini.c: Remove file.
25672 2012-02-16 David S. Miller <davem@davemloft.net>
25675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25677 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25678 * sysdeps/sparc/crti.S: New file.
25679 * sysdeps/sparc/crtn.S: New file.
25680 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25681 * sysdeps/sparc/sparc64/Makefile: Likewise.
25683 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25686 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25688 2012-02-15 Roland McGrath <roland@hack.frob.com>
25691 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25693 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25694 (write, read, close): Likewise.
25695 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25697 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25699 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25700 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25701 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25702 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25704 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25708 2012-02-14 Marek Polacek <polacek@redhat.com>
25710 * sysdeps/x86_64/crti.S: New file.
25711 * sysdeps/x86_64/crtn.S: New file.
25712 * sysdeps/x86_64/elf/initfini.c: Remove file.
25714 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25716 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25717 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25718 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25719 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25721 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25725 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25727 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25729 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25730 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25732 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25736 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25738 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25739 __feraiseexcept instead of feraiseexcept.
25741 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25742 nanosleep invocations.
25743 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25744 strings, and add error checking for a nanosleep invocations.
25746 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25748 Replace FSF snail mail address with URLs, as per GNU coding standards.
25749 Most of the snail mail addresses were wrong anyway, and omitting
25750 them makes the source code easier to maintain. Almost all of the
25751 changes are to license notices and to locale LC_IDENTIFICATION
25752 addresses, except for this one:
25753 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25754 not its snail mail address.
25756 2012-02-09 Richard Henderson <rth@twiddle.net>
25758 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25759 of kernel-features.h.
25761 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25763 2012-02-08 Marek Polacek <polacek@redhat.com>
25765 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25766 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25767 * sysdeps/gnu/_G_config.h: Likewise.
25768 * sysdeps/generic/_G_config.h: Likewise.
25770 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25772 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25776 * sysdeps/powerpc/powerpc32/crti.S: New file.
25777 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25778 * sysdeps/powerpc/powerpc64/crti.S: New file.
25779 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25781 * Makeconfig (have-initfini): Don't set.
25782 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25783 * configure.in (nopic_initfini): Don't substitute.
25784 * config.h.in (HAVE_INITFINI): Don't #undef.
25785 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25786 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25788 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25790 Support crti.S and crtn.S provided directly by architectures.
25791 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25792 [crti.S in sysdirs] (omit-deps): Likewise.
25793 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25794 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25795 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25796 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25797 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25798 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25799 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25800 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25801 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25802 compiler output for sysdeps/generic/initfini.c.
25803 * sysdeps/i386/elf/Makefile: Remove file.
25804 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25806 2012-02-07 Marek Polacek <polacek@redhat.com>
25808 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25809 * sysdeps/gnu/_G_config.h: Likewise.
25810 * sysdeps/mach/hurd/_G_config.h: Likewise.
25812 2012-02-07 Marek Polacek <polacek@redhat.com>
25814 * math/Makefile (tests): Add tst-CMPLX2.
25815 * math/tst-CMPLX2.c: New file.
25817 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25821 * math/libm-test.inc (jn_test): Add missing L suffix.
25823 2012-02-06 Marek Polacek <polacek@redhat.com>
25825 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25826 * sysdeps/i386/fpu/e_powf.S: Likewise.
25827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25828 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25829 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25830 * sysdeps/i386/fpu/e_pow.S: Likewise.
25831 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25833 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25834 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25835 * sysdeps/i386/fpu/e_log2.S: Likewise.
25836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25837 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25838 * sysdeps/i386/fpu/e_powl.S: Likewise.
25839 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25840 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25841 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25842 * sysdeps/i386/fpu/e_logl.S: Likewise.
25843 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25844 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25849 * sysdeps/i386/fpu/e_log.S: Likewise.
25850 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25852 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25853 * sysdeps/i386/fpu/e_logf.S: Likewise.
25854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25856 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25859 * sysdeps/i386/fpu/e_log10.S: Likewise.
25860 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25862 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25863 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25866 * sysdeps/i386/asm-syntax.h: Likewise.
25867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25870 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25871 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25876 * sysdeps/powerpc/sysdep.h: Likewise.
25877 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25880 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25883 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25885 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25887 * sysdeps/i386/sysdep.h: Include <features.h>.
25888 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25891 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25895 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25898 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25900 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25901 (SETUP_PIC_REG): Use GET_PC_THUNK.
25902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25905 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25907 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25908 for non-PIC compilation.
25909 (SETUP_PIC_REG): Add .p2align directive.
25910 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25911 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25913 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25915 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25918 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25919 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25920 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25921 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25922 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25923 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25924 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25925 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25926 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25936 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25942 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25943 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25944 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25945 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25946 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25947 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25948 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25949 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25952 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25954 * math/tst-CMPLX.c: Include <stdio.h>.
25956 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25958 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25960 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25961 * sysdeps/sparc/bits/mathdef.h: Likewise.
25963 2012-01-31 Marek Polacek <polacek@redhat.com>
25965 * libio/libio.h: Don't define _PARAMS.
25966 * locale/programs/config.h: Don't define PARAMS.
25967 * stdlib/strtol_l.c: Likewise.
25968 (__strtol_l): Remove PARAMS from the prototype.
25970 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25972 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25973 names. Just use the correct names. Remove unnecessary wrapper
25975 * malloc/arena.c: Likewise.
25976 * malloc/hooks.c: Likewise.
25978 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25979 ARENA_TEST says not to. Simplify test for creation of a new arena.
25980 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25982 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25984 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25986 (update_get_addr): New function.
25987 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25988 GET_ADDR_MODULE parameter.
25990 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25992 * crypt/cert.c: Remove __STDC__ conditionals.
25993 * crypt/crypt-entry.c: Likewise.
25994 * crypt/crypt_util.c: Likewise.
25995 * libio/filedoalloc.c: Likewise.
25996 * libio/fileops.c: Likewise.
25997 * libio/genops.c: Likewise.
25998 * libio/iofclose.c: Likewise.
25999 * libio/iofdopen.c: Likewise.
26000 * libio/iofopen.c: Likewise.
26001 * libio/iofopen64.c: Likewise.
26002 * libio/iogetdelim.c: Likewise.
26003 * libio/iopopen.c: Likewise.
26004 * libio/obprintf.c: Likewise.
26005 * libio/oldfileops.c: Likewise.
26006 * libio/oldiofclose.c: Likewise.
26007 * libio/oldiofdopen.c: Likewise.
26008 * libio/oldiofopen.c: Likewise.
26009 * libio/oldiopopen.c: Likewise.
26010 * libio/wfiledoalloc.c: Likewise.
26011 * libio/wgenops.c: Likewise.
26012 * locale/programs/xmalloc.c: Likewise.
26013 * misc/syslog.c: Likewise.
26014 * stdio-common/xbug.c: Likewise.
26015 * string/memchr.c: Likewise.
26016 * string/memcmp.c: Likewise.
26017 * string/memrchr.c: Likewise.
26018 * string/rawmemchr.c: Likewise.
26019 * sysdeps/posix/getcwd.c: Likewise.
26020 * time/strftime_l.c: Likewise.
26022 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26024 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26025 * config.make.in (config-cflags-sse2avx): Define.
26026 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26029 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26031 * scripts/config.guess: Update from upstream config git repository.
26032 * scripts/config.sub: Likewise.
26034 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26036 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26038 (R_TILEPRO_*, R_TILEGX_*): New macros.
26040 * scripts/firstversions.awk: Fix bug in version range handling.
26042 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26044 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26046 * include/sys/epoll.h: New file.
26047 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26050 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26052 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26053 Avoid unnecessary __WORDSIZE == 64 test.
26054 (fmaxf): Use VEX format if possible.
26059 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26060 * math/math_private.h: Remove libc_fegetround* and
26062 * sysdeps/i386/configure.in: Check for -msse2avx.
26063 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26064 also if SSE2AVX is defined.
26065 Remove libc_fegetround* and libc_fesetround*.
26066 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26067 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26076 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26078 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26084 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26087 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26089 * Makeconfig (libm): Define.
26090 * elf/Makefile: Add rules to build and run tst-relsort1.
26091 * elf/tst-relsort1.c: New file.
26092 * elf/tst-relsort1mod1.c: New file.
26093 * elf/tst-relsort1mod2.c: New file.
26095 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26097 * math/s_ldexp.c: Remove __STDC__ conditionals.
26098 * math/s_ldexpf.c: Likewise.
26099 * math/s_ldexpl.c: Likewise.
26100 * math/s_nextafter.c: Likewise.
26101 * math/s_nexttowardf.c: Likewise.
26102 * math/s_significand.c: Likewise.
26103 * math/s_significandf.c: Likewise.
26104 * math/s_significandl.c: Likewise.
26105 * math/w_jnl.c: Likewise.
26106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26127 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26132 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26138 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26139 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26143 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26144 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26146 * sysdeps/ieee754/k_standard.c: Likewise.
26147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26154 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26155 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26156 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26226 * sysdeps/ieee754/s_matherr.c: Likewise.
26227 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26228 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26232 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26234 * crypt/md5.h: Remove __STDC__ conditionals.
26235 * libio/libioP.h: Likewise.
26236 * locale/programs/config.h: Likewise.
26237 * sysdeps/generic/sysdep.h: Likewise.
26238 * sysdeps/i386/asm-syntax.h: Likewise.
26239 * sysdeps/s390/asm-syntax.h: Likewise.
26240 * sysdeps/unix/sysdep.h: Likewise.
26241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26246 * libio/libio.h: Remove __STDC__ conditionals.
26247 * malloc/obstack.h: Likewise.
26248 * math/complex.h: Likewise.
26249 * math/math.h: Likewise.
26250 * sysdeps/generic/_G_config.h: Likewise.
26251 * sysdeps/gnu/_G_config.h: Likewise.
26252 * sysdeps/mach/hurd/_G_config.h: Likewise.
26253 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26254 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26255 * sysdeps/sparc/bits/mathdef.h: Likewise.
26257 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26261 Clean up HAS_* macros.
26262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26263 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26267 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26268 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26269 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26273 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26275 * elf/tst-unique3.cc (gets): Remove declaration.
26276 * elf/tst-unique3lib.cc (gets): Likewise.
26277 * elf/tst-unique3lib2.cc (gets): Likewise.
26278 * elf/tst-unique4.cc (gets): Likewise.
26280 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26282 * include/stdio.h: Add C++ protection. Add gets declarations and
26284 * debug/tst-chk1.c: Don't declare gets here.
26285 * stdio-common/tst-gets.c: Likewise.
26287 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26289 * posix/glob: Remove directory.
26291 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26293 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26295 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26297 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26298 of the non-standard EPFNOSUPPORT.
26300 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26302 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26303 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26304 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26306 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26308 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26310 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26312 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26314 * nscd/grpcache.c (cache_addgr): Likewise.
26315 * nscd/hstcache.c (cache_addhst): Likewise.
26316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26317 * nscd/pwdcache.c (cache_addpw): Likewise.
26318 * nscd/servicescache.c (cache_addserv): Likewise.
26320 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26322 * malloc/malloc.c: Various cleanups.
26323 * malloc/hooks.c: Likewise.
26325 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26326 * stdlib/bug-fmtmsg1.c: New file.
26328 * stdlib/fmtmsg.c (init): Add missing unlock.
26329 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26331 2012-01-12 Marek Polacek <polacek@redhat.com>
26333 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26336 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26338 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26339 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26340 macro to ensure uniqueness of label name.
26341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26344 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26349 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26353 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26357 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26361 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26364 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26368 * math/bits/math-finite.h: Add ldexp support.
26370 2012-01-10 Marek Polacek <polacek@redhat.com>
26372 * locale/programs/localedef.h (show_archive_content): Add noreturn
26375 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26379 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26381 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26383 * io/Makefile (headers): Add bits/poll2.h.
26385 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26388 typo #include statement.
26390 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26392 * include/sys/cdefs.h: Define __attribute_alloc_size.
26393 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26394 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26395 * elf/pldd.c: Likewise.
26396 * iconv/iconv_charmap.c: Likewise.
26397 * iconv/iconvconfig.c: Likewise.
26398 * iconv/strtab.c: Likewise.
26399 * locale/programs/locale.c: Likewise.
26400 * locale/programs/localedef.h: Likewise.
26401 * locale/programs/simple-hash.c: Likewise.
26402 * nscd/nscd.h: Likewise.
26403 * nss/makedb.c: Likewise.
26404 * sysdeps/generic/ldconfig.h: Likewise.
26405 * locale/programs/localedef.c: Remove xmalloc prototype.
26406 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26408 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26415 * math/Makefile (tests): Add tst-CMPLX.
26416 * math/tst-CMPLX.c: New file.
26418 * math/complex.h (CMPLXL): Fix typo.
26420 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26421 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26423 * debug/tst-chk1.c: Add poll and ppoll tests.
26424 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26425 * include/sys/poll.h: Add hidden proto for ppoll.
26426 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26427 * sysdeps/mach/hurd/ppoll.c: Likewise.
26428 * io/ppoll.c: Likewise.
26429 * debug/poll_chk.c: New file.
26430 * debug/ppoll_chk.c: New file.
26431 * include/bits/poll2.h: New file.
26432 * io/bits/poll2.h: New file.
26435 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26437 * configure.in: static is always set to yes. Remove.
26438 * config.make.in: Don't set build-static.
26439 * Makeconfig: Remove use of build-static.
26440 * dlfcn/Makefile: Likewise.
26441 * elf/Makefile: Likewise.
26442 * math/Makefile: Likewise.
26443 * misc/Makefile: Likewise.
26444 * nptl/Makefile: Likewise.
26445 * sysdeps/mach/hurd/Makefile: Likewise.
26447 * configure.in: PWD_P is not used anymore.
26448 * config.make.in: Remove PWD_P entry.
26450 * configure.in: Remove last remnants of RANLIB.
26451 No need to check for signed size_t anymore.
26452 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26454 Remove __builtin_expect test because we require at least gcc 3.4.
26455 * aclocal.m4: Likewise.
26457 * wcsmbs/mbrtoc16.c: Implement using towc function.
26458 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26459 * wcsmbs/wcsmbsload.c: Likewise.
26460 * iconv/gconv_simple.c: Likewise.
26461 * iconv/gconv_int.h: Likewise.
26462 * iconv/gconv_builtin.h: Likewise.
26463 * iconv/iconv_prog.c: Remove CHAR16 handling.
26465 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26467 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26469 * configure.in: Remove --with-elf and --enable-bounded options.
26470 Dont set base_machine for ia64. More non-ELF conditions removed.
26471 Remove testing and setting of leading underscore information.
26472 * config.make.in (build-bounded): Set to no.
26473 * config.h.in: Remove NO_UNDERSCORES entry.
26474 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26476 * csu/start.c: Remove !NO_UNDERSCORE code.
26477 * locale/localeinfo.h: Likewise.
26478 * sysdeps/generic/machine-gmon.h: Likewise.
26479 * sysdeps/generic/sysdep.h: Likewise.
26480 * sysdeps/i386/sysdep.h: Likewise.
26481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26482 * sysdeps/mach/sysdep.h: Likewise.
26483 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26485 * sysdeps/sh/sysdep.h: Likewise.
26486 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26487 * sysdeps/unix/i386/sysdep.S: Likewise.
26488 * sysdeps/unix/sparc/start.c: Likewise.
26489 * sysdeps/unix/sparc/sysdep.S: Likewise.
26490 * sysdeps/unix/sparc/sysdep.h: Likewise.
26491 * sysdeps/unix/start.c: Likewise.
26492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26493 * sysdeps/x86_64/sysdep.h: Likewise.
26495 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26498 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26500 * argp/argp-fmtstream.h: Use const instead __const.
26501 * argp/argp.h: Likewise.
26502 * assert/assert.h: Likewise.
26503 * bits/fenv.h: Likewise.
26504 * bits/sched.h: Likewise.
26505 * bits/sigset.h: Likewise.
26506 * bits/sigthread.h: Likewise.
26507 * catgets/nl_types.h: Likewise.
26508 * conform/data/pthread.h-data: Likewise.
26509 * crypt/crypt-private.h: Likewise.
26510 * crypt/crypt.h: Likewise.
26511 * crypt/crypt_util.c: Likewise.
26512 * ctype/ctype.h: Likewise.
26513 * debug/execinfo.h: Likewise.
26514 * debug/mbsnrtowcs_chk.c: Likewise.
26515 * debug/mbsrtowcs_chk.c: Likewise.
26516 * debug/wcsnrtombs_chk.c: Likewise.
26517 * debug/wcsrtombs_chk.c: Likewise.
26518 * debug/wcstombs_chk.c: Likewise.
26519 * dirent/dirent.h: Likewise.
26520 * dlfcn/dlfcn.h: Likewise.
26521 * elf/neededtest4.c: Likewise.
26522 * grp/grp.h: Likewise.
26523 * gshadow/gshadow.h: Likewise.
26524 * iconv/gconv.h: Likewise.
26525 * iconv/gconv_int.h: Likewise.
26526 * iconv/gconv_simple.c: Likewise.
26527 * iconv/iconv.h: Likewise.
26528 * iconv/loop.c: Likewise.
26529 * iconv/skeleton.c: Likewise.
26530 * include/aio.h: Likewise.
26531 * include/aliases.h: Likewise.
26532 * include/argz.h: Likewise.
26533 * include/arpa/inet.h: Likewise.
26534 * include/assert.h: Likewise.
26535 * include/dirent.h: Likewise.
26536 * include/dlfcn.h: Likewise.
26537 * include/execinfo.h: Likewise.
26538 * include/fcntl.h: Likewise.
26539 * include/fenv.h: Likewise.
26540 * include/glob.h: Likewise.
26541 * include/grp.h: Likewise.
26542 * include/libintl.h: Likewise.
26543 * include/mntent.h: Likewise.
26544 * include/netdb.h: Likewise.
26545 * include/pwd.h: Likewise.
26546 * include/rpc/netdb.h: Likewise.
26547 * include/sched.h: Likewise.
26548 * include/search.h: Likewise.
26549 * include/shadow.h: Likewise.
26550 * include/signal.h: Likewise.
26551 * include/stdio.h: Likewise.
26552 * include/stdlib.h: Likewise.
26553 * include/string.h: Likewise.
26554 * include/sys/socket.h: Likewise.
26555 * include/sys/stat.h: Likewise.
26556 * include/sys/statfs.h: Likewise.
26557 * include/sys/statvfs.h: Likewise.
26558 * include/sys/syslog.h: Likewise.
26559 * include/sys/time.h: Likewise.
26560 * include/sys/uio.h: Likewise.
26561 * include/time.h: Likewise.
26562 * include/unistd.h: Likewise.
26563 * include/utmp.h: Likewise.
26564 * include/wchar.h: Likewise.
26565 * include/wctype.h: Likewise.
26566 * inet/aliases.h: Likewise.
26567 * inet/arpa/inet.h: Likewise.
26568 * inet/netinet/ether.h: Likewise.
26569 * inet/netinet/in.h: Likewise.
26570 * intl/libintl.h: Likewise.
26571 * io/bits/fcntl2.h: Likewise.
26572 * io/fcntl.h: Likewise.
26573 * io/ftw.h: Likewise.
26574 * io/sys/poll.h: Likewise.
26575 * io/sys/stat.h: Likewise.
26576 * io/sys/statfs.h: Likewise.
26577 * io/sys/statvfs.h: Likewise.
26578 * io/utime.h: Likewise.
26579 * libio/bits/stdio.h: Likewise.
26580 * libio/bits/stdio2.h: Likewise.
26581 * libio/libio.h: Likewise.
26582 * libio/libioP.h: Likewise.
26583 * libio/stdio.h: Likewise.
26584 * locale/lc-ctype.c: Likewise.
26585 * locale/locale.h: Likewise.
26586 * login/utmp.h: Likewise.
26587 * malloc/arena.c: Likewise.
26588 * malloc/malloc.c: Likewise.
26589 * malloc/malloc.h: Likewise.
26590 * malloc/mcheck.c: Likewise.
26591 * malloc/mtrace.c: Likewise.
26592 * math/bits/mathcalls.h: Likewise.
26593 * math/fenv.h: Likewise.
26594 * math/math_private.h: Likewise.
26595 * misc/bits/error.h: Likewise.
26596 * misc/bits/syslog.h: Likewise.
26597 * misc/err.h: Likewise.
26598 * misc/error.h: Likewise.
26599 * misc/fstab.h: Likewise.
26600 * misc/mntent.h: Likewise.
26601 * misc/regexp.h: Likewise.
26602 * misc/search.h: Likewise.
26603 * misc/sgtty.h: Likewise.
26604 * misc/sys/mman.h: Likewise.
26605 * misc/sys/syslog.h: Likewise.
26606 * misc/sys/uio.h: Likewise.
26607 * misc/sys/xattr.h: Likewise.
26608 * misc/ttyent.h: Likewise.
26609 * nis/rpcsvc/ypclnt.h: Likewise.
26610 * nss/nss.h: Likewise.
26611 * posix/bits/unistd.h: Likewise.
26612 * posix/fnmatch.h: Likewise.
26613 * posix/glob.h: Likewise.
26614 * posix/sched.h: Likewise.
26615 * posix/spawn.h: Likewise.
26616 * posix/sys/wait.h: Likewise.
26617 * posix/unistd.h: Likewise.
26618 * posix/wordexp.h: Likewise.
26619 * pwd/pwd.h: Likewise.
26620 * resolv/netdb.h: Likewise.
26621 * resource/sys/resource.h: Likewise.
26622 * rt/aio.h: Likewise.
26623 * rt/bits/mqueue2.h: Likewise.
26624 * rt/mqueue.h: Likewise.
26625 * shadow/shadow.h: Likewise.
26626 * signal/signal.h: Likewise.
26627 * socket/send.c: Likewise.
26628 * socket/sendto.c: Likewise.
26629 * socket/sys/socket.h: Likewise.
26630 * stdio-common/printf.h: Likewise.
26631 * stdlib/bits/stdlib.h: Likewise.
26632 * stdlib/fmtmsg.h: Likewise.
26633 * stdlib/monetary.h: Likewise.
26634 * stdlib/stdlib.h: Likewise.
26635 * stdlib/ucontext.h: Likewise.
26636 * streams/stropts.h: Likewise.
26637 * string/argz.h: Likewise.
26638 * string/bits/string2.h: Likewise.
26639 * string/string.h: Likewise.
26640 * string/strings.h: Likewise.
26641 * sunrpc/rpc/auth.h: Likewise.
26642 * sunrpc/rpc/auth_des.h: Likewise.
26643 * sunrpc/rpc/clnt.h: Likewise.
26644 * sunrpc/rpc/netdb.h: Likewise.
26645 * sunrpc/rpc/pmap_clnt.h: Likewise.
26646 * sunrpc/rpc/xdr.h: Likewise.
26647 * sysdeps/generic/inttypes.h: Likewise.
26648 * sysdeps/generic/net/if.h: Likewise.
26649 * sysdeps/generic/sys/swap.h: Likewise.
26650 * sysdeps/gnu/net/if.h: Likewise.
26651 * sysdeps/gnu/utmpx.h: Likewise.
26652 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26653 * sysdeps/i386/i486/bits/string.h: Likewise.
26654 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26655 * sysdeps/s390/bits/string.h: Likewise.
26656 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26657 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26658 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26659 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26660 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26661 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26662 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26663 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26664 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26665 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26666 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26667 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26668 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26669 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26670 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26671 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26672 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26677 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26678 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26679 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26680 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26681 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26684 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26685 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26686 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26687 * sysvipc/sys/ipc.h: Likewise.
26688 * sysvipc/sys/msg.h: Likewise.
26689 * sysvipc/sys/sem.h: Likewise.
26690 * sysvipc/sys/shm.h: Likewise.
26691 * termios/termios.h: Likewise.
26692 * time/sys/time.h: Likewise.
26693 * time/time.h: Likewise.
26694 * wcsmbs/bits/wchar2.h: Likewise.
26695 * wcsmbs/uchar.h: Likewise.
26696 * wcsmbs/wchar.h: Likewise.
26697 * wctype/wctype.h: Likewise.
26700 * Makeconfig: Remove all but ELF support including AIX support.
26701 * Makerules: Likewise.
26702 * config.h.in: Likewise.
26703 * config.make.in: Likewise.
26704 * configure: Likewise.
26705 * configure.in: Likewise.
26706 * csu/Makefile: Likewise.
26707 * csu/version.c: Likewise.
26708 * debug/Makefile: Likewise.
26709 * dlfcn/Makefile: Likewise.
26710 * elf/Makefile: Likewise.
26711 * extra-lib.mk: Likewise.
26712 * iconv/Makefile: Likewise.
26713 * include/libc-symbols.h: Likewise.
26714 * include/shlib-compat.h: Likewise.
26715 * resolv/Makefile: Likewise.
26716 * resolv/res_libc.c: Likewise.
26717 * rt/Makefile: Likewise.
26718 * sysdeps/i386/asm-syntax.h: Likewise.
26719 * sysdeps/i386/sysdep.h: Likewise.
26720 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26721 * sysdeps/mach/sysdep.h: Likewise.
26722 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26723 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26724 * sysdeps/s390/asm-syntax.h: Likewise.
26725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26727 * sysdeps/sh/sysdep.h: Likewise.
26728 * sysdeps/unix/sparc/sysdep.h: Likewise.
26729 * sysdeps/wordsize-32/divdi3.c: Likewise.
26730 * sysdeps/x86_64/sysdep.h: Likewise.
26732 * argp/Versions: Remove _argp_unlock_xxx.
26735 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26736 * abilist/libBrokenLocale.abilist: Likewise.
26737 * abilist/libanl.abilist: Likewise.
26738 * abilist/libc.abilist: Likewise.
26739 * abilist/libcrypt.abilist: Likewise.
26740 * abilist/libdl.abilist: Likewise.
26741 * abilist/libm.abilist: Likewise.
26742 * abilist/libnsl.abilist: Likewise.
26743 * abilist/libpthread.abilist: Likewise.
26744 * abilist/libresolv.abilist: Likewise.
26745 * abilist/librt.abilist: Likewise.
26746 * abilist/libthread_db.abilist: Likewise.
26747 * abilist/libutil.abilist: Likewise.
26748 * abilist/libnss_db.abilist: New file.
26750 * scripts/abilist.awk: Add support for indirect functions.
26752 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26754 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26756 * shlib-versions: Remove entries for ports architectures.
26758 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26760 * elf/stackguard-macros.h: Remove support for IA-64.
26761 * elf/tst-auditmod1.c: Likewise.
26762 * sysdeps/generic/ldsodefs.h: Likewise.
26764 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26765 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26769 * configure.in: Remove --enable-omitfp support.
26771 * config.make.in: Likewise.
26772 * Makeconfig: Likewise.
26773 * manual/install.texi: Likewise.
26775 In case anyone cares, the IA-64 architecture could move to ports.
26776 * sysdeps/ia64/*: Removed.
26777 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26778 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26781 * configure.in: Remove entries for unsupported architectures.
26784 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26785 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26787 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26788 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26789 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26790 fall back to using wcrtomb.
26791 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26792 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26794 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26795 * wcsmbs/tst-c16c32-1.c: New file.
26797 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26800 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26802 * elf/tst-unique3.cc: Add explicit declaration of gets.
26803 * elf/tst-unique3lib.cc: Likewise.
26804 * elf/tst-unique3lib2.cc: Likewise.
26805 * elf/tst-unique4.cc: Likewise.
26807 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26809 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26812 * assert/assert.h (static_assert): Don't define for C++.
26813 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26814 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26816 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26818 * iconv/loop.c (single loop): Fix assertion in storing of
26821 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26823 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26825 * posix/getconf.c: Update copyright year.
26826 * nss/getent.c: Likewise.
26827 * nss/makedb.c: Likewise.
26828 * iconv/iconvconfig.c: Likewise.
26829 * iconv/iconv_prog.c: Likewise.
26830 * elf/ldconfig.c: Likewise.
26831 * elf/pldd.c: Likewise.
26832 * elf/sotruss.ksh: Likewise.
26833 * catgets/gencat.c: Likewise.
26834 * csu/version.c: Likewise.
26835 * elf/ldd.bash.in: Likewise.
26836 * elf/sprof.c (print_version): Likewise.
26837 * locale/programs/locale.c: Likewise.
26838 * locale/programs/localedef.c: Likewise.
26839 * login/programs/pt_chown.c: Likewise.
26840 * nscd/nscd.c (print_version): Likewise.
26841 * debug/xtrace.sh: Likewise.
26842 * malloc/memusage.sh: Likewise.
26843 * malloc/mtrace.pl: Likewise.
26844 * debug/catchsegv.sh: Likewise.
26846 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26848 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26851 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26854 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26855 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26857 * iconv/gconv_int.h: Likewise.
26858 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26859 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26860 from libc for GLIBC_2.16.
26861 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26862 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26863 * wcsmbs/uchar.h: Really define mbstate_t.
26864 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26865 * wcsmbs/c16rtomb.c: New file.
26866 * wcsmbs/mbrtoc16.c: New file.
26867 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26868 for C/POSIX locale.
26869 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26870 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26872 * wcsmbs/wchar.h: Add missing __restrict.
26874 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26877 * time/Makefile (routines): Add timespec_get.
26878 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26879 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26880 timespec for ISO C11.
26881 * time/timespec_get.c: New file.
26882 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26883 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26886 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26887 * stdlib/stdlib.h: Declare aligned_alloc.
26888 * Versions.def: Add GLIBC_2.16 for libc.
26889 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26892 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26895 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26899 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26902 * assert/assert.h (static_assert): Define.
26904 * version.h: Update for 2.16 development version.
26907 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26910 * version.h (RELEASE): Bump for 2.15 release.
26911 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26913 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26914 Patch by Marek Polacek <mpolacek@redhat.com>.
26916 * bits/byteswap.h: Protect long long constants with __extension__.
26917 * sysdeps/i386/bits/byteswap.h: Likewise.
26918 * sysdeps/ia64/bits/byteswap.h: Likewise.
26919 * sysdeps/s390/bits/byteswap.h: Likewise.
26920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26922 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26926 destination buffer.
26927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26929 2011-12-23 Marek Polacek <polacek@redhat.com>
26931 * elf/dl-addr.c (determine_info): Add inline keyword.
26932 * elf/tst-auditmod4b.c (check_avx): Likewise.
26933 * elf/tst-auditmod6b.c (check_avx): Likewise.
26934 * elf/tst-auditmod6c.c (check_avx): Likewise.
26935 * elf/tst-auditmod7b.c (check_avx): Likewise.
26937 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26939 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26942 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26946 processing for last bytes.
26948 2011-08-06 Bruno Haible <bruno@clisp.org>
26951 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26952 U+0385, not to U+1FEE.
26955 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26956 entry for U+00A5 U+0301.
26958 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26961 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26962 buffer for the output is too small.
26964 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26968 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26969 SSE flags if possible.
26971 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26975 processing for last bytes.
26977 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26979 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26980 (syscall-list-default-options, syscall-list-default-condition)
26981 (syscall-list-includes): Define.
26982 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26983 list of ABIs and options and #if conditions for each ABI. Do not
26984 handle common syscalls between ABIs specially.
26985 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26987 (syscall-list-variants, syscall-list-32bit-options)
26988 (syscall-list-32bit-condition, syscall-list-64bit-options)
26989 (syscall-list-64bit-condition): Define.
26990 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26991 (syscall-list-variants, syscall-list-32bit-options)
26992 (syscall-list-32bit-condition, syscall-list-64bit-options)
26993 (syscall-list-64bit-condition): Define.
26994 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26996 (syscall-list-variants, syscall-list-32bit-options)
26997 (syscall-list-32bit-condition, syscall-list-64bit-options)
26998 (syscall-list-64bit-condition): Define.
26999 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27001 (syscall-list-variants, syscall-list-32bit-options)
27002 (syscall-list-32bit-condition, syscall-list-64bit-options)
27003 (syscall-list-64bit-condition): Define.
27005 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27007 * locale/iso-639.def: Add brx entry.
27010 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27011 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27013 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27014 __feraiseexcept_renamed.
27016 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27019 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27020 EPOLLET with unsigned values.
27021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27024 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27025 to large cancellation.
27026 * math/s_cacoshf.c: Likewise.
27027 * math/s_cacoshl.c: Likewise.
27029 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27033 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27034 * math/s_cacoshf.c: Likewise.
27035 * math/s_cacoshl.c: Likewise.
27037 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27040 * iconv/gconv.h: Define __GCONV_SWAP.
27041 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27042 * iconvdata/utf-16.c: Likewise.
27043 * iconvdata/utf-32.c: Likewise.
27045 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27049 numerator after shifting it by one limb.
27051 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27053 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27054 under [__USE_EXTERN_INLINES].
27056 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27059 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27061 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27063 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27064 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27066 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27068 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27069 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27070 for strncasecmp/strncasecmp_l compilation.
27071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27072 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27074 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27077 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27080 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27083 * time/tzfile.c (__tzfile_read): Check values from file header.
27085 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27087 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27088 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27089 * powerpc/powerpc32/dl-start.S: Likewise.
27090 * powerpc/powerpc32/elf/start.S: Likewise.
27091 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27092 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27093 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27094 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27095 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27096 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27097 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27098 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27099 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27100 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27101 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27102 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27103 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27104 * powerpc/powerpc32/memset.S: Likewise.
27105 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27106 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27107 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27108 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27109 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27110 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27111 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27112 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27113 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27114 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27116 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27117 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27119 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27121 * math/libm-test.inc: Added more nearbyint tests.
27122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27124 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27127 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27129 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27132 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27134 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27135 Add wcscpy-ssse3 wcscpy-c.
27136 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27137 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27138 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27139 * sysdeps/x86_64/wcschr.S: New file.
27140 * sysdeps/x86_64/wcsrchr.S: New file.
27141 * string/test-strcmp.c: Remove checking of wcscmp function for
27143 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27144 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27145 wcsrchr-sse2 wcsrchr-c.
27146 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27147 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27148 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27149 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27150 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27151 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27152 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27153 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27154 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27155 * wcsmbc/wcschr.c (WCSCHR): New macro.
27157 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27159 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27160 * wcsmbs/test-wcsrchr.c: New file.
27161 * string/test-strrchr.c: Add wcsrchr support.
27163 * wcsmbs/test-wcscpy.c: New file.
27164 * string/test-strcpy.c: Add wcscpy support.
27167 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27172 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27175 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27177 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27180 Minor optimizations.
27182 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27183 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27184 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27186 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27188 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27189 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27190 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27191 for gcc to avoid warnings.
27192 * inet/Makefile (tests): Add tst-checks.
27193 * inet/tst-checks.c: New file.
27195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27198 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27201 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27202 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27204 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27206 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27208 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27211 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27213 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27215 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27216 conditional on GCC version.
27217 (__arch_compare_and_exchange_val_8_acq)
27218 (__arch_compare_and_exchange_val_16_acq)
27219 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27220 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27221 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27223 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27225 * sysdeps/sh/backtrace.c: New file.
27227 2011-12-02 Andreas Schwab <schwab@redhat.com>
27229 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27232 2011-12-01 Andreas Schwab <schwab@redhat.com>
27234 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27235 falling back to utime.
27237 2011-11-30 Andreas Schwab <schwab@redhat.com>
27239 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27240 expectations for float.
27242 2011-11-29 Andreas Schwab <schwab@redhat.com>
27244 * locale/weight.h (findidx): Add parameter len.
27245 * locale/weightwc.h (findidx): Likewise.
27246 * posix/fnmatch_loop.c (FCT): Adjust caller.
27247 * posix/regcomp.c (build_equiv_class): Likewise.
27248 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27249 * posix/regexec.c (check_node_accept_bytes): Likewise.
27250 * string/strcoll_l.c (STRCOLL): Likewise.
27251 * string/strxfrm_l.c (STRXFRM): Likewise.
27253 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27255 * Makefile.in: Remove CVSOPT handling.
27256 * configure.in: Remove use of AC_REVISION.
27257 * iconvdata/Makefile (distribute): No need to filter out CVS.
27258 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27261 2011-11-16 Andreas Schwab <schwab@redhat.com>
27263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27264 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27265 [USE_AS_STRNCASECMP_L]: Likewise.
27266 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27267 NO_TLS_DIRECT_SEG_REFS.
27268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27269 Fix argument offsets for non-PIC.
27270 [USE_AS_STRNCASECMP_L]: Likewise.
27271 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27272 NO_TLS_DIRECT_SEG_REFS.
27274 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27276 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27278 * locale/loadlocale.c (_nl_load_locale): Likewise.
27280 2011-11-15 Andreas Schwab <schwab@redhat.com>
27282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27283 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27285 (SYSCALL_GETTIME): Set errno on error.
27287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27288 count references to noai6ai_cached.
27290 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27292 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27294 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27295 FD_CLOEXEC for /proc/self/maps.
27297 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27298 FD_CLOEXEC for /proc/meminfo.
27300 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27303 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27304 FD_CLOEXEC for given file.
27306 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27308 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27309 FD_CLOEXEC for /etc/hosts.
27310 (_gethtent): Likewise.
27312 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27315 cancellation and set FD_CLOEXEC for /etc/netgroup.
27317 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27318 reading /etc/publickey.
27320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27321 allow cancellation when reading /etc/group.
27323 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27325 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27327 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27328 when using data file.
27330 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27332 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27333 (write_nis_obj): Use "c" and "e" in fopen.
27335 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27337 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27339 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27341 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27343 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27346 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27348 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27350 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27352 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27353 file parsing and set FD_CLOEXEC.
27355 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27357 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27359 2011-11-14 Andreas Schwab <schwab@redhat.com>
27361 * malloc/arena.c (arena_get2): Don't call reused_arena when
27362 _int_new_arena failed.
27364 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27367 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27369 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27372 to compile strcasecmp and strncasecmp.
27373 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27374 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27378 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27380 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27381 locale-defines.sym to gen-as-const-headers.
27382 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27383 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27385 to compile strcasecmp and strncasecmp.
27386 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27387 strcasecmp_l and strncasecmp_l.
27388 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27389 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27390 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27392 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27394 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27395 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27396 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27397 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27398 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27400 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27402 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27403 result of SYSDEP_GETTIME_CPU to retval.
27404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27405 parameter list to macro. Remove trailing semicolon. Adjust users.
27407 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27415 from unused variable.
27417 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27419 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27422 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27425 * sunrpc/rpc_prot.c (rejected): Fix case value.
27427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27428 unsigned long long int to avoid warnings in shift.
27430 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27432 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27435 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27436 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27439 * nis/nis_table.c (nis_list): Use variable of correct type for
27440 result of __follow_path call.
27442 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27444 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27445 of math functions ceil, trunc, floor, round, and sqrt, when
27446 avaliable on the platform.
27447 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27453 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27455 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27458 2011-11-11 Roland McGrath <roland@hack.frob.com>
27460 * include/unistd.h: Fix __readlink return type.
27461 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27463 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27465 * stdlib/ucontext.h: Undo last change for makecontext.
27467 2011-11-11 Andreas Schwab <schwab@redhat.com>
27469 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27471 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27472 * setjmp/setjmp.h: Mark functions as non-leaf.
27473 * setjmp/bits/setjmp2.h: Likewise.
27474 * stdlib/ucontext.h: Likewise.
27476 2011-11-10 Andreas Schwab <schwab@redhat.com>
27478 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27479 (reused_arena): Don't check arena limit.
27480 (arena_get2): Atomically check arena limit.
27482 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27484 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27485 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27490 2011-11-07 Andreas Schwab <schwab@redhat.com>
27492 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27493 handler when locking.
27495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27496 Fix size of allocated buffer.
27498 2011-11-04 Andreas Schwab <schwab@redhat.com>
27501 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27502 declarations for long double functions.
27503 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27505 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27507 2011-11-03 Andreas Schwab <schwab@redhat.com>
27509 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27512 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27515 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27517 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27519 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27521 * include/alloca.h (stackinfo_alloca_round): Define.
27522 (extend_alloca): Use it.
27523 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27524 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27527 * scripts/check-local-headers.sh: Ignore libaudit.h.
27529 * nscd/Makefile (extra-objs): Make recursively expanded.
27531 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27533 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27536 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27537 * posix/tst-rfc3484-2.c: Likewise.
27538 * posix/tst-rfc3484-3.c: Likewise.
27540 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27542 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27544 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27545 process_vm_writev from libc using GLIBC_2.15 version.
27547 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27549 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27551 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27554 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27557 * nss/getent.c (initgroups_keys): Show error message in case no group
27560 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27561 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27562 __bump_nl_timestamp.
27563 * nscd/connections (nscd_init): When host database is served open
27564 netlink socket and request notification about configuration changes.
27565 (main_loop_poll): Track netlink file descriptor and bump timestamp
27566 in case data becomes available.
27567 (main_loop_epoll): Likewise.
27568 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27569 (database_pers_head): Add extra_data fileds.
27570 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27571 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27572 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27575 in6ai data, call __free_in6ai.
27576 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27577 Add -DHAVE_NETLINK.
27578 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27579 interface information. Reuse previous data if netlink timestamp
27581 (__bump_nl_timestamp): New function.
27582 (__free_in6ai): New function.
27584 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27587 close_not_cancel_no_status here.
27588 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27590 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27593 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27596 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27597 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27598 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27600 2011-07-03 Andreas Jaeger <aj@suse.de>
27603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27604 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27605 * math/libm-test.inc (sin_test): Add test case.
27607 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27610 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27611 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27613 * elf/chroot_canon.c (chroot_canon): Cleanups.
27615 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27618 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27619 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27621 * string/test-strchr.c: Make usable for strchrnul testing.
27622 * string/test-strchrnul.c: New file.
27623 * string/Makefile (strop-tests): Add strchrnul.
27625 * po/it.po: Update from translation team.
27626 * po/es.po: Likewise.
27628 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27631 the three constants needed as parameters. Drop the others.
27632 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27633 __m128i_strloadu_tolower.
27634 Create and initialize variable zero and use it in all the places
27635 where _mm_setzero_si128 was used.
27637 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27638 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27639 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27645 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27646 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27647 __mpranred, __mptan.
27648 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27649 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27650 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27651 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27658 2011-10-28 Andreas Schwab <schwab@redhat.com>
27660 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27661 redefine if SHARED.
27662 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27665 wide char related routines to wcsmbs subdir.
27667 2011-10-27 Andreas Schwab <schwab@redhat.com>
27670 * misc/sys/cdefs.h (__THROWNL): Define.
27671 * posix/unistd.h: Use __THREADNL instead of __THREAD
27672 for memory synchronization functions.
27674 2011-10-26 Roland McGrath <roland@hack.frob.com>
27677 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27679 * manual/stdio.texi (Obstack Streams): Node removed.
27681 2011-10-26 Andreas Schwab <schwab@redhat.com>
27683 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27687 * math/math_private.h (math_force_eval): Allow non-addressable
27689 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27691 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27694 file is not needed.
27696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27703 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27710 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27711 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27715 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27716 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27719 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27720 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27725 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27726 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27729 place. Use VEX encoding when compiling for AVX.
27731 2011-10-25 Andreas Schwab <schwab@redhat.com>
27733 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27734 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27736 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27738 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27740 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27741 useless if() expression.
27742 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27754 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27760 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27762 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27764 2011-10-25 Andreas Schwab <schwab@redhat.com>
27766 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27770 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27772 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27773 .text section. Avoid duplicate constants.
27774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27784 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27791 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27798 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27799 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27800 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27801 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27802 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27820 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27822 * sysdeps/x86_64/dla.h: Move to ...
27823 * sysdeps/x86_64/fpu/dla.h: ...here.
27824 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27825 situations. Use __builtin_fma only for gcc 4.6 and up.
27827 * config.make.in: Add have-mfma4 entry.
27828 * configure.in: Substitute libc_cv_cc_fma4.
27829 * math/Makefile (dbl-only-routines): Add sincostab.
27830 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27831 Use __sincostab not sincos.
27832 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27839 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27840 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27841 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27842 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27844 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27845 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27847 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27848 define aliases when function name is a macro.
27849 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27850 sysdeps/ieee754/dbl-64/sincos.tbl.
27851 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27852 fma4-enabled routines.
27853 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27854 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27855 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27856 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27863 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27865 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27880 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27881 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27882 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27884 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27895 2011-10-24 Andreas Schwab <schwab@redhat.com>
27897 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27899 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27903 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27907 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27908 Remove unused variable magic_bits.
27909 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27911 * string/strnlen.c: Define and use STRNLEN macro.
27912 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27913 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27915 * wcsmbs/wcslen.c: Define and use WCSLEN.
27916 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27917 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27918 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27919 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27920 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27921 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27922 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27924 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27927 strnlen-sse2-no-bsf.
27928 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27930 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27931 Add strnlen support.
27932 (USE_AS_STRNLEN): New macro.
27933 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27935 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27936 * sysdeps/x86_64/wcslen.S: New file.
27938 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27941 XMM-moves are used for copying on small sizes.
27943 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27945 * wcsmbs/Makefile (strop-tests): Add wcschr.
27946 * wcsmbs/test-wcschr.c: New file.
27947 * string/test-strchr.c: Update.
27948 Add wcschr support.
27951 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27953 * wcsmbs/Makefile (strop-tests): Add wcslen.
27954 * wcsmbs/test-wcslen.c: New file.
27955 * string/test-strlen.c: Update.
27956 Add wcslen support.
27959 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27961 * po/it.po: Update from translation team.
27963 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27965 * sysdeps/x86_64/wcscmp.S: Update.
27966 Fix wrong comparison semantics.
27967 wcscmp shall use signed comparison not unsigned.
27968 Don't use substraction to avoid overflow bug.
27969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27970 * wcsmbc/wcscmp.c: Likewise.
27971 * string/test-strcmp.c: Likewise.
27972 Add new tests to check cases with negative values.
27974 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27976 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27977 * sysdeps/x86_64/dla.h: ...here. New file.
27978 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27988 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27991 __ynl_finite aliases.
27993 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27997 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27999 [DLA_FMA] (EMULV): Use DLA_FMA.
28000 [DLA_FMA] (MUL12): Use EMULV.
28001 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28002 that are not needed.
28003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28011 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28013 * math/s_nan.c: Undef __nan.
28014 * math/s_nanf.c: Undef __nanf.
28015 * math/s_nanl.c: Undef __nanl.
28016 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28021 * math/s_catan.c: Add branch predictions.
28022 * math/s_catanf.c: Likewise.
28023 * math/s_catanh.c: Likewise.
28024 * math/s_catanhf.c: Likewise.
28025 * math/s_catanhl.c: Likewise.
28026 * math/s_catanl.c: Likewise.
28027 * math/s_cexp.c: Likewise.
28028 * math/s_cexpf.c: Likewise.
28029 * math/s_cexpl.c: Likewise.
28030 * math/s_clog.c: Likewise.
28031 * math/s_clog10.c: Likewise.
28032 * math/s_clog10f.c: Likewise.
28033 * math/s_clog10l.c: Likewise.
28034 * math/s_clogf.c: Likewise.
28035 * math/s_clogl.c: Likewise.
28036 * math/s_csqrt.c: Likewise.
28037 * math/s_csqrtf.c: Likewise.
28038 * math/s_csqrtl.c: Likewise.
28039 * math/s_ctanf.c: Likewise.
28040 * math/s_ctanh.c: Likewise.
28041 * math/s_ctanhf.c: Likewise.
28042 * math/s_ctanhl.c: Likewise.
28043 * math/s_ctanl.c: Likewise.
28045 * math/math_private.h: Define __nan, __nanf, __nanl.
28046 * math/s_cacosh.c: Include <math_private.h>.
28047 * math/s_cacoshl.c: Likewise.
28048 * math/s_casinh.c: Likewise.
28049 * math/s_casinhf.c: Likewise.
28050 * math/s_casinhl.c: Likewise.
28051 * math/s_ccos.c: Rely entire on ccosh.
28052 * math/s_ccosf.c: Rely entire on ccoshf.
28053 * math/s_ccosl.c: Rely entirely on ccoshl.
28054 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28055 Remove tests for FE_INVALID.
28056 * math/s_ccoshf.c: Likewise.
28057 * math/s_ccoshl.c: Likewise.
28058 * math/s_csin.c: Likewise.
28059 * math/s_csinf.c: Likewise.
28060 * math/s_csinh.c Likewise.
28061 * math/s_csinhf.c: Likewise.
28062 * math/s_csinhl.c: Likewise.
28063 * math/s_csinl.c: Likewise.
28064 * math/s_ctan.c: Likewise.
28065 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28066 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28069 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28072 compilation problems.
28074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28077 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28079 * sysdeps/i386/configure.in: Test for -mfma4 option.
28080 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28081 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28082 COMMON_CPUID_INDEX_80000001.
28083 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28084 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28085 use it if FMA3 is not supported.
28086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28088 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28089 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28091 2011-10-20 Andreas Schwab <schwab@redhat.com>
28094 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28095 it would create a cycle with a link time dependency.
28097 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28099 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28101 * string/Makefile (strop-tests): Add rawmemchr.
28102 * string/test-rawmemchr.c: New file.
28104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28106 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28107 when compiling str{,n}casecmp and when AVX is available. Hook up
28108 new optimized code in initializers.
28110 2011-10-19 Andreas Schwab <schwab@redhat.com>
28112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28113 __feraiseexcept instead of feraiseexcept.
28115 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28117 * math/math_private.h: Define defaults for libc_fetestexcept and
28119 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28120 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28124 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28125 libc_fetestexcept and libc_feupdateenv.
28127 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28128 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28129 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28130 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28131 libc_feholdexcept_setround.
28133 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28134 Add s_nearbyint-c and s_nearbyintf-c.
28135 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28136 nearbyintf inlines.
28137 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28139 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28142 * math/math_private.h: Define defaults for libc_fegetround,
28143 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28144 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28145 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28147 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28148 standard functions.
28149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28150 Remove comments and hacks for old compiler versions.
28151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28152 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28153 libc_feholdexceptl.
28155 2011-10-18 Andreas Schwab <schwab@redhat.com>
28157 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28158 (__feraiseexcept_renamed): Add __NTH.
28159 (feraiseexcept): Add __NTH. Rename local variables to fix
28160 namespace violations.
28162 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28168 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28169 recently added interfaces.
28170 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28172 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28173 about macro parameter expansion.
28175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28176 __NO_MATH_INLINES is defined. Cleanups.
28178 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28179 and __floorf is target has SSE4.1.
28180 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28182 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28185 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28187 (floorf): Likewise.
28189 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28191 2011-10-17 Andreas Schwab <schwab@redhat.com>
28193 * misc/sys/cdefs.h: Fix last change.
28195 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28198 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28200 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28202 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28211 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28212 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28213 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28214 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28215 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28217 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28218 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28219 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28220 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28221 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28222 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28223 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28226 ceil, ceilf, floor, floorf.
28228 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28229 Perform IRELATIVE relocations last.
28231 * elf/do-rel.h: Add another parameter nrelative, replacing the
28232 local variable with the same name. Change name of the function
28233 to end in Rel or Rela (uppercase).
28234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28235 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28236 elf_dynamic_do_##reloc function.
28238 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28240 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28241 is sufficient, at least on modern CPUs.
28243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28245 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28248 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28250 * math/bits/math-finite.h: Add entries for exp.
28251 * math/e_expl.c: Add __*_finite alias.
28252 * sysdeps/i386/fpu/e_exp.S: Likewise.
28253 * sysdeps/i386/fpu/e_expf.S: Likewise.
28254 * sysdeps/i386/fpu/e_expl.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28260 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28261 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28263 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28264 is sufficient, at least on modern CPUs.
28266 * ctype/ctype-info.c (__ctype_init): Define.
28267 * include/ctype.h (__ctype_init): Declare.
28268 (__ctype_b_loc): The variable is always initialized.
28269 (__ctype_toupper_loc): Likewise.
28270 (__ctype_tolower_loc): Likewise.
28271 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28272 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28274 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28276 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28278 * configure.in: Also look in $cxxmachine/include for C++ system
28281 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28283 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28284 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28285 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28286 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28288 (USE_AS_WMEMCMP): New macro.
28290 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28291 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28292 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28293 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28295 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28296 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28297 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28298 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28299 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28301 (USE_AS_WMEMCMP): New macro.
28302 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28303 * sysdeps/string/test-memcmp.c: Update.
28304 Fix simple_wmemcmp.
28306 * wcsmbs/wmemcmp.c: Update.
28307 (WMEMCMP): New macro.
28310 2011-10-12 Andreas Jaeger <aj@suse.de>
28313 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28315 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28317 * libio/iofwide.c (do_length): Avoid warning.
28319 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28321 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28323 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28325 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28326 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28327 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28328 * sysdeps/i386/i686/fpu/e_log.S: New file.
28329 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28330 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28332 * ctype/ctype.h: Add support for inlined isXXX functions when
28333 compiling C++ code.
28335 2011-10-14 Andreas Schwab <schwab@redhat.com>
28337 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28341 2011-10-13 Roland McGrath <roland@hack.frob.com>
28344 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28346 2011-10-13 Andreas Schwab <schwab@redhat.com>
28348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28349 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28352 * sysdeps/x86_64/memrchr.S: Check for zero size.
28354 * string/stratcliff.c: Add memrchr tests.
28356 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28359 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28360 rawmemchr-sse2 rawmemchr-sse2-bsf.
28361 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28362 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28363 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28364 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28365 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28366 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28367 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28368 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28369 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28370 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28371 * string/memrchr.c (MEMRCHR): New macro.
28373 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28375 Add integration with gcc's -ffinite-math-only and optimize wrapper
28377 * Versions.def: Define GLIBC_2.15 version for libm.
28378 * math/Makefile (headers): Add bits/math-finite.h.
28379 * math/bits/math-finite.h: New file.
28380 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28381 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28382 * math/e_acoshl.c: Add __*_finite alias.
28383 * math/e_acosl.c: Likewise.
28384 * math/e_asinl.c: Likewise.
28385 * math/e_atan2l.c: Likewise.
28386 * math/e_atanhl.c: Likewise.
28387 * math/e_coshl.c: Likewise.
28388 * math/e_exp10.c: Likewise.
28389 * math/e_exp10f.c: Likewise.
28390 * math/e_exp10l.c: Likewise.
28391 * math/e_exp2l.c: Likewise.
28392 * math/e_fmodl.c: Likewise.
28393 * math/e_gammal_r.c: Likewise.
28394 * math/e_hypotl.c: Likewise.
28395 * math/e_j0l.c: Likewise.
28396 * math/e_j1l.c: Likewise.
28397 * math/e_jnl.c: Likewise.
28398 * math/e_lgammal_r.c: Likewise.
28399 * math/e_log10l.c: Likewise.
28400 * math/e_log2l.c: Likewise.
28401 * math/e_logl.c: Likewise.
28402 * math/e_powl.c: Likewise.
28403 * math/e_sinhl.c: Likewise.
28404 * math/e_sqrtl.c: Likewise.
28405 * math/e_scalb.c: Completely rewritten and optimized.
28406 * math/e_scalbf.c: Likewise.
28407 * math/e_scalbl.c: Likewise.
28408 * math/w_acos.c: Likewise.
28409 * math/w_acosf.c: Likewise.
28410 * math/w_acosl.c: Likewise.
28411 * math/w_acosh.c: Likewise.
28412 * math/w_acoshf.c: Likewise.
28413 * math/w_acoshl.c: Likewise.
28414 * math/w_asin.c: Likewise.
28415 * math/w_asinf.c: Likewise.
28416 * math/w_asinl.c: Likewise.
28417 * math/w_atan2.c: Likewise.
28418 * math/w_atan2f.c: Likewise.
28419 * math/w_atan2l.c: Likewise.
28420 * math/w_atanh.c: Likewise.
28421 * math/w_atanhf.c: Likewise.
28422 * math/w_atanhl.c: Likewise.
28423 * math/w_exp10.c: Likewise.
28424 * math/w_exp10f.c: Likewise.
28425 * math/w_exp10l.c: Likewise.
28426 * math/w_fmod.c: Likewise.
28427 * math/w_fmodf.c: Likewise.
28428 * math/w_fmodl.c: Likewise.
28429 * math/w_j0.c: Likewise.
28430 * math/w_j0f.c: Likewise.
28431 * math/w_j0l.c: Likewise.
28432 * math/w_j1.c: Likewise.
28433 * math/w_j1f.c: Likewise.
28434 * math/w_j1l.c: Likewise.
28435 * math/w_jn.c: Likewise.
28436 * math/w_jnf.c: Likewise.
28437 * math/w_log.c: Likewise.
28438 * math/w_logf.c: Likewise.
28439 * math/w_logl.c: Likewise.
28440 * math/w_log10.c: Likewise.
28441 * math/w_log10f.c: Likewise.
28442 * math/w_log10l.c: Likewise.
28443 * math/w_log2.c: Likewise.
28444 * math/w_log2f.c: Likewise.
28445 * math/w_log2l.c: Likewise.
28446 * math/w_pow.c: Likewise.
28447 * math/w_powf.c: Likewise.
28448 * math/w_powl.c: Likewise.
28449 * math/w_remainder.c: Likewise.
28450 * math/w_remainderf.c: Likewise.
28451 * math/w_remainderl.c: Likewise.
28452 * math/w_scalb.c: Likewise.
28453 * math/w_scalbf.c: Likewise.
28454 * math/w_scalbl.c: Likewise.
28455 * math/w_sqrt.c: Likewise.
28456 * math/w_sqrtf.c: Likewise.
28457 * math/w_sqrtl.c: Likewise.
28458 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28459 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28461 * math/math_private.h: Declare __kernel_standard_f.
28462 * math/w_cosh.c: Remove cruft and optimize a bit.
28463 * math/w_coshf.c: Likewise.
28464 * math/w_coshl.c: Likewise.
28465 * math/w_exp2.c: Likewise.
28466 * math/w_exp2f.c: Likewise.
28467 * math/w_exp2l.c: Likewise.
28468 * math/w_hypot.c: Likewise.
28469 * math/w_hypotf.c: Likewise.
28470 * math/w_hypotl.c: Likewise.
28471 * math/w_lgamma.c: Likewise.
28472 * math/w_lgamma_r.c: Likewise.
28473 * math/w_lgammaf.c: Likewise.
28474 * math/w_lgammaf_r.c: Likewise.
28475 * math/w_lgammal.c: Likewise.
28476 * math/w_lgammal_r.c: Likewise.
28477 * math/w_sinh.c: Likewise.
28478 * math/w_sinhf.c: Likewise.
28479 * math/w_sinhl.c: Likewise.
28480 * math/w_tgamma.c: Likewise.
28481 * math/w_tgammaf.c: Likewise.
28482 * math/w_tgammal.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28485 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28486 Minor optimizations. Pretty printing. Remove cruft.
28487 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28491 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28492 * sysdeps/i386/fpu/e_asin.S: Likewise.
28493 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28494 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28495 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28496 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28498 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28500 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28501 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28502 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28503 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28504 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28505 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28506 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28507 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28508 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28509 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28510 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28511 * sysdeps/i386/fpu/e_log.S: Likewise.
28512 * sysdeps/i386/fpu/e_log10.S: Likewise.
28513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28514 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28515 * sysdeps/i386/fpu/e_log2.S: Likewise.
28516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28518 * sysdeps/i386/fpu/e_logf.S: Likewise.
28519 * sysdeps/i386/fpu/e_logl.S: Likewise.
28520 * sysdeps/i386/fpu/e_pow.S: Likewise.
28521 * sysdeps/i386/fpu/e_powf.S: Likewise.
28522 * sysdeps/i386/fpu/e_powl.S: Likewise.
28523 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28524 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28525 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28527 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28529 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28530 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28531 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28558 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28625 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28626 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28627 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28628 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28629 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28630 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28631 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28632 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28633 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28634 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28635 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28636 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28638 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28640 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28642 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28643 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28644 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28645 (__isnanf): Likewise.
28646 (__isinf_ns): Likewise.
28647 (__isinf_nsf): Likewise.
28648 (__finite): Likewise.
28649 (__finitef): Likewise.
28650 (__ieee754_sqrt): Define as macro.
28651 (__ieee754_sqrtf): Define as macro.
28652 (__ieee754_sqrtl): Define as macro.
28653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28655 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28656 __FINITE_MATH_ONLY__ consistent.
28657 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28659 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28661 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28666 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28668 * po/ja.po: Update from translation team.
28670 2011-10-08 Roland McGrath <roland@hack.frob.com>
28672 * locale/programs/locarchive.c (prepare_address_space): New function.
28673 (create_archive, enlarge_archive, open_archive): Use it.
28675 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28676 inside [SHARED], where it is used.
28678 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28680 * nss/getent.c (netgroup_keys): Remove unused variable.
28681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28683 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28685 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28689 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28691 * math/Makefile (libm-calls): Add s_isinf_ns.
28692 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28693 * math/multc3.c: Likewise.
28694 * math/s_casin.c: Likewise.
28695 * math/s_casinf.c: Likewise.
28696 * math/s_casinl.c: Likewise.
28697 * math/s_ccos.c: Likewise.
28698 * math/s_ccosf.c: Likewise.
28699 * math/s_ccosl.c: Likewise.
28700 * math/s_ctan.c: Likewise.
28701 * math/s_ctanf.c: Likewise.
28702 * math/s_ctanh.c: Likewise.
28703 * math/s_ctanhf.c: Likewise.
28704 * math/s_ctanhl.c: Likewise.
28705 * math/s_ctanl.c: Likewise.
28706 * math/w_fmod.c: Likewise.
28707 * math/w_fmodf.c: Likewise.
28708 * math/w_fmodl.c: Likewise.
28709 * math/w_remainder.c: Likewise.
28710 * math/w_remainderf.c: Likewise.
28711 * math/w_remainderl.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28713 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28716 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28717 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28718 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28719 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28721 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28723 * stdio-common/printf_fphex.c: Likewise.
28724 * stdio-common/printf_size.c: Likewise.
28726 * math/e_exp10.c: Include math_private.h using <...> not "...".
28727 * math/e_exp10f.c: Likewise.
28728 * math/e_exp10l.c: Likewise.
28729 * math/e_exp2l.c: Likewise.
28730 * math/e_j0l.c: Likewise.
28731 * math/e_j1l.c: Likewise.
28732 * math/e_jnl.c: Likewise.
28733 * math/e_lgammal_r.c: Likewise.
28734 * math/e_rem_pio2l.c: Likewise.
28735 * math/e_scalb.c: Likewise.
28736 * math/e_scalbf.c: Likewise.
28737 * math/e_scalbl.c: Likewise.
28738 * math/k_cosl.c: Likewise.
28739 * math/k_sinl.c: Likewise.
28740 * math/k_tanl.c: Likewise.
28741 * math/s_cacoshf.c: Likewise.
28742 * math/s_catan.c: Likewise.
28743 * math/s_catanf.c: Likewise.
28744 * math/s_catanh.c: Likewise.
28745 * math/s_catanhf.c: Likewise.
28746 * math/s_catanhl.c: Likewise.
28747 * math/s_catanl.c: Likewise.
28748 * math/s_ccosh.c: Likewise.
28749 * math/s_ccoshf.c: Likewise.
28750 * math/s_ccoshl.c: Likewise.
28751 * math/s_cexp.c: Likewise.
28752 * math/s_cexpf.c: Likewise.
28753 * math/s_cexpl.c: Likewise.
28754 * math/s_clog.c: Likewise.
28755 * math/s_clog10.c: Likewise.
28756 * math/s_clog10f.c: Likewise.
28757 * math/s_clog10l.c: Likewise.
28758 * math/s_clogf.c: Likewise.
28759 * math/s_clogl.c: Likewise.
28760 * math/s_csin.c: Likewise.
28761 * math/s_csinf.c: Likewise.
28762 * math/s_csinh.c: Likewise.
28763 * math/s_csinhf.c: Likewise.
28764 * math/s_csinhl.c: Likewise.
28765 * math/s_csinl.c: Likewise.
28766 * math/s_csqrt.c: Likewise.
28767 * math/s_csqrtf.c: Likewise.
28768 * math/s_csqrtl.c: Likewise.
28769 * math/s_ctan.c: Likewise.
28770 * math/s_ctanf.c: Likewise.
28771 * math/s_ctanh.c: Likewise.
28772 * math/s_ctanhf.c: Likewise.
28773 * math/s_ctanhl.c: Likewise.
28774 * math/s_ctanl.c: Likewise.
28775 * math/s_ldexp.c: Likewise.
28776 * math/s_ldexpf.c: Likewise.
28777 * math/s_ldexpl.c: Likewise.
28778 * math/s_significand.c: Likewise.
28779 * math/s_significandf.c: Likewise.
28780 * math/s_significandl.c: Likewise.
28781 * math/w_acos.c: Likewise.
28782 * math/w_acosf.c: Likewise.
28783 * math/w_acosh.c: Likewise.
28784 * math/w_acoshf.c: Likewise.
28785 * math/w_acoshl.c: Likewise.
28786 * math/w_acosl.c: Likewise.
28787 * math/w_asin.c: Likewise.
28788 * math/w_asinf.c: Likewise.
28789 * math/w_asinl.c: Likewise.
28790 * math/w_atan2.c: Likewise.
28791 * math/w_atan2f.c: Likewise.
28792 * math/w_atan2l.c: Likewise.
28793 * math/w_atanh.c: Likewise.
28794 * math/w_atanhf.c: Likewise.
28795 * math/w_atanhl.c: Likewise.
28796 * math/w_cosh.c: Likewise.
28797 * math/w_coshf.c: Likewise.
28798 * math/w_coshl.c: Likewise.
28799 * math/w_dremf.c: Likewise.
28800 * math/w_exp10.c: Likewise.
28801 * math/w_exp10f.c: Likewise.
28802 * math/w_exp10l.c: Likewise.
28803 * math/w_exp2.c: Likewise.
28804 * math/w_exp2f.c: Likewise.
28805 * math/w_fmod.c: Likewise.
28806 * math/w_fmodf.c: Likewise.
28807 * math/w_fmodl.c: Likewise.
28808 * math/w_hypot.c: Likewise.
28809 * math/w_hypotf.c: Likewise.
28810 * math/w_hypotl.c: Likewise.
28811 * math/w_j0.c: Likewise.
28812 * math/w_j0f.c: Likewise.
28813 * math/w_j0l.c: Likewise.
28814 * math/w_j1.c: Likewise.
28815 * math/w_j1f.c: Likewise.
28816 * math/w_j1l.c: Likewise.
28817 * math/w_jn.c: Likewise.
28818 * math/w_jnf.c: Likewise.
28819 * math/w_jnl.c: Likewise.
28820 * math/w_lgamma.c: Likewise.
28821 * math/w_lgamma_r.c: Likewise.
28822 * math/w_lgammaf.c: Likewise.
28823 * math/w_lgammaf_r.c: Likewise.
28824 * math/w_lgammal.c: Likewise.
28825 * math/w_lgammal_r.c: Likewise.
28826 * math/w_log.c: Likewise.
28827 * math/w_log10.c: Likewise.
28828 * math/w_log10f.c: Likewise.
28829 * math/w_log10l.c: Likewise.
28830 * math/w_log2.c: Likewise.
28831 * math/w_log2f.c: Likewise.
28832 * math/w_log2l.c: Likewise.
28833 * math/w_logf.c: Likewise.
28834 * math/w_logl.c: Likewise.
28835 * math/w_pow.c: Likewise.
28836 * math/w_powf.c: Likewise.
28837 * math/w_powl.c: Likewise.
28838 * math/w_remainder.c: Likewise.
28839 * math/w_remainderf.c: Likewise.
28840 * math/w_remainderl.c: Likewise.
28841 * math/w_scalb.c: Likewise.
28842 * math/w_scalbf.c: Likewise.
28843 * math/w_scalbl.c: Likewise.
28844 * math/w_sinh.c: Likewise.
28845 * math/w_sinhf.c: Likewise.
28846 * math/w_sinhl.c: Likewise.
28847 * math/w_sqrt.c: Likewise.
28848 * math/w_sqrtf.c: Likewise.
28849 * math/w_sqrtl.c: Likewise.
28850 * math/w_tgamma.c: Likewise.
28851 * math/w_tgammaf.c: Likewise.
28852 * math/w_tgammal.c: Likewise.
28854 * po/ja.po: Update from translation team.
28856 2011-09-29 Andreas Jaeger <aj@suse.de>
28859 * sunrpc/netname.c (netname2host): Fix logic.
28863 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28865 * math/w_remainder.c (__remainder): Likewise.
28866 * math/w_remainderf.c (__remainderf): Likewise.
28867 * math/libm-test.inc (remainder_test): Add test cases.
28869 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28871 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28874 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28876 * string/test-memcmp.c: Avoid unncessary #defines.
28877 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28879 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28881 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28882 Use new sse2 version for core i3 - i7 as it's faster
28883 than sse42 version.
28884 (bit_Prefer_PMINUB_for_stringop): New.
28885 * sysdeps/x86_64/rawmemchr.S: Update.
28886 Replace with faster SSE2 version.
28887 * sysdeps/x86_64/memrchr.S: New file.
28888 * sysdeps/x86_64/memchr.S: Update.
28889 Replace with faster SSE2 version.
28891 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28893 * elf/dl-load.c (lose): Add cast to avoid warning.
28895 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28897 * po/ca.po: Update from translation team.
28899 * inet/getnetgrent_r.c: Hook up nscd.
28900 * nscd/Makefile (routines): Add nscd_netgroup.
28901 (nscd-modules): Add netgroupcache.
28902 (CFLAGS-netgroupcache.c): Define.
28903 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28904 (cache_search): Add const to second parameter.
28905 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28907 (dbs): Add netgrdb entry.
28908 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28909 (verify_persistent_db): Handle netgrdb.
28910 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28911 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28913 (netgroup_response_header): Define.
28914 (innetgroup_response_header): Define.
28915 (datahead): Add netgroup_response_header and innetgroup_response_header
28917 * nscd/nscd.conf: Add entries for netgroup cache.
28918 * nscd/nscd.h (dbtype): Add netgrdb.
28919 (_PATH_NSCD_NETGROUP_DB): Define.
28920 (netgroup_iov_disabled): Declare.
28921 (xmalloc, xcalloc, xrealloc): Move declarations here.
28922 (cache_search): Adjust prototype.
28923 Add netgroup-related prototypes.
28924 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28925 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28926 (__nscd_innetgr): Declare.
28927 * nscd/selinux.c (perms): Use access_vector_t as element type and
28928 add netgroup-related initializers.
28929 * nscd/netgroupcache.c: New file.
28930 * nscd/nscd_netgroup.c: New file.
28931 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28932 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28933 For four parameters use innetgr.
28934 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28935 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28936 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28937 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28939 * nscd/connections.c (register_traced_file): Don't register file
28940 for disabled databases.
28942 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28944 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28946 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28947 from tree and freeing node.
28949 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28951 * nss/nsswitch.c (__nss_database_lookup): Handle
28952 nss_parse_service_list out of memory case.
28954 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28956 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28957 out of memory case.
28959 2011-10-04 Andreas Schwab <schwab@redhat.com>
28961 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28962 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28964 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28965 elf_machine_rela, elf_machine_lazy_rel.
28966 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28967 (ELF_DYNAMIC_DO_REL): Likewise.
28968 (ELF_DYNAMIC_DO_RELA): Likewise.
28969 (ELF_DYNAMIC_RELOCATE): Likewise.
28970 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28971 to ELF_DYNAMIC_DO_REL.
28972 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28973 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28974 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28977 skip_ifunc, don't call ifunc function if non-zero.
28978 (elf_machine_rela): Likewise.
28979 (elf_machine_lazy_rel): Likewise.
28980 (elf_machine_lazy_rela): Likewise.
28981 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28982 (elf_machine_lazy_rel): Likewise.
28983 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28985 (elf_machine_lazy_rel): Likewise.
28986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28988 (elf_machine_lazy_rel): Likewise.
28989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28990 (elf_machine_lazy_rel): Likewise.
28991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28992 (elf_machine_lazy_rel): Likewise.
28993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28994 (elf_machine_lazy_rel): Likewise.
28995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28996 (elf_machine_lazy_rel): Likewise.
28997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28998 (elf_machine_lazy_rel): Likewise.
28999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29000 (elf_machine_lazy_rel): Likewise.
29002 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29004 * nss/nss_files/files-init.c (_nss_files_init): Use static
29005 initialization for all the *_traced_file variables.
29007 2011-09-28 Andreas Schwab <schwab@redhat.com>
29009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29011 2011-09-27 Roland McGrath <roland@hack.frob.com>
29014 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29016 2011-09-27 Andreas Schwab <schwab@redhat.com>
29018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29019 Reread the line before reparsing it.
29021 2011-09-26 Andreas Schwab <schwab@redhat.com>
29023 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29025 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29026 Maxim Kuvyrkov <maxim@codesourcery.com>
29027 Joseph Myers <joseph@codesourcery.com>
29029 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29030 if needed for __stack_chk_guard.
29032 2011-09-19 Roland McGrath <roland@hack.frob.com>
29034 * sysdeps/posix/spawni.c (script_execute): Always define it.
29035 It will be optimized away if unused.
29036 (maybe_script_execute): New function.
29037 (__spawni): Call it.
29039 * Makerules: Don't include tls.make.
29040 (config-tls): Always set to thread.
29041 * tls.make.c: File removed.
29043 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29045 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29046 * config.make.in (CPPFLAGS-config): New substituted variable.
29048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29053 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29054 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29056 2011-09-15 Roland McGrath <roland@hack.frob.com>
29058 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29059 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29061 (CALL_FAIL): Likewise.
29062 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29063 (CALL_FAIL): Macro removed.
29064 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29066 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29069 for __FINITE_MATH_ONLY__ == 1.
29071 2011-09-15 Andreas Schwab <schwab@redhat.com>
29073 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29074 __ieee754_sqrt instead of sqrt.
29075 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29076 __ieee754_sqrtf instead of sqrtf.
29077 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29078 __floorf instead of floorf.
29079 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29080 __floorf, __truncf instead of floorf, truncf.
29082 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29084 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29086 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29087 __extern_always_inline.
29088 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29091 2011-09-14 Andreas Schwab <schwab@redhat.com>
29093 * elf/rtld.c (dl_main): Also relocate in dependency order when
29094 doing symbol dependency testing.
29096 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29099 Always define `refsym'.
29101 2011-09-13 Andreas Schwab <schwab@redhat.com>
29103 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29104 (__FD_ELT): Renamed from __FDELT.
29105 * misc/bits/select2.h (__FD_ELT): Likewise.
29106 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29107 __FD_MASK instead of __FDELT, __FDMASK.
29108 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29110 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29113 * elf/Makefile (gen-ldd): Fix pattern.
29115 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29116 (init_tls): Likewise.
29118 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29122 2011-09-12 Andreas Schwab <schwab@redhat.com>
29124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29125 `struct cmsghdr *' instead of `void *'.
29126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29129 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29131 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29133 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29134 ldd_rewrite_script.
29136 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29138 * configure.in: Remove --with-tls option.
29139 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29140 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29141 out in case it is missing.
29142 * sysdeps/ia64/elf/configure.in: Likewise.
29143 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29144 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29145 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29146 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29147 * sysdeps/sh/elf/configure.in: Likewise.
29148 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29150 * sysdeps/x86_64/elf/configure.in: Likewise.
29151 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29152 * sysdeps/mach/hurd/tls.h: Likewise.
29155 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29158 * configure.in: Fix use of AC_INIT.
29160 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29162 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29164 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29166 * malloc/hooks.c: Likewise.
29169 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29170 variables statically.
29171 (narenas): Initialize.
29172 (list_lock): Initialize.
29173 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29174 initializtion of main_arena and list_lock. Small cleanups.
29175 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29176 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29177 Add initializers to main_arena and mp_.
29178 (malloc_state): Remove pagesize member. Change all users to use
29181 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29182 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29183 is always initialized.
29185 * malloc/malloc.c: Removed unused configurations and dead code.
29186 * malloc/arena.c: Likewise.
29187 * malloc/hooks.c: Likewise.
29188 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29190 * include/tls.h: Removed. USE___THREAD must always be defined.
29191 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29192 * elf/dl-libc.c: Likewise.
29193 * elf/dl-tsd.c: Likewise.
29194 * include/errno.h: Likewise.
29195 * include/netdb.h: Likewise.
29196 * include/resolv.h: Likewise.
29197 * inet/herrno-loc.c: Likewise.
29198 * inet/herrno.c: Likewise.
29199 * malloc/arena.c: Likewise.
29200 * malloc/hooks.c: Likewise.
29201 * malloc/malloc.c: Likewise.
29202 * resolv/res-state.c: Likewise.
29203 * resolv/res_libc.c: Likewise.
29204 * sysdeps/i386/dl-machine.h: Likewise.
29205 * sysdeps/ia64/dl-machine.h: Likewise.
29206 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29207 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29208 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29209 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29210 * sysdeps/sh/dl-machine.h: Likewise.
29211 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29212 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29213 * sysdeps/unix/i386/sysdep.S: Likewise.
29214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29215 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29225 * sysdeps/x86_64/dl-machine.h: Likewise.
29226 * tls.make.c: Likewise.
29228 * configure.in: Remove --with-__thread option. Make tests for
29229 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29230 tls_model attribute fail if no support is available. Remove
29232 * Makeconfig: Adjust for dropped configure option. All features are
29234 * Makerules: Likewise.
29235 * Versions.def: Likewise.
29236 * argp/argp-fmtstream.c: Likewise.
29237 * argp/argp-fmtstream.h: Likewise.
29238 * argp/argp-help.c: Likewise.
29239 * assert/assert.c: Likewise.
29240 * config.h.in: Likewise.
29241 * config.make.in: Likewise.
29242 * configure: Likewise.
29243 * configure.in: Likewise.
29244 * csu/Versions: Likewise.
29245 * csu/init.c: Likewise.
29246 * elf/tst-audit2.c: Likewise.
29247 * elf/tst-tls10.c: Likewise.
29248 * elf/tst-tls10.h: Likewise.
29249 * elf/tst-tls11.c: Likewise.
29250 * elf/tst-tls12.c: Likewise.
29251 * elf/tst-tls14.c: Likewise.
29252 * elf/tst-tlsmod11.c: Likewise.
29253 * elf/tst-tlsmod12.c: Likewise.
29254 * elf/tst-tlsmod13.c: Likewise.
29255 * elf/tst-tlsmod13a.c: Likewise.
29256 * elf/tst-tlsmod14a.c: Likewise.
29257 * elf/tst-tlsmod15b.c: Likewise.
29258 * elf/tst-tlsmod16a.c: Likewise.
29259 * elf/tst-tlsmod16b.c: Likewise.
29260 * elf/tst-tlsmod7.c: Likewise.
29261 * elf/tst-tlsmod8.c: Likewise.
29262 * elf/tst-tlsmod9.c: Likewise.
29263 * gmon/gmon.c: Likewise.
29264 * grp/fgetgrent_r.c: Likewise.
29265 * grp/putgrent.c: Likewise.
29266 * hurd/fopenport.c: Likewise.
29267 * include/libc-symbols.h: Likewise.
29268 * include/tls.h: Likewise.
29269 * intl/gettextP.h: Likewise.
29270 * intl/loadinfo.h: Likewise.
29271 * locale/global-locale.c: Likewise.
29272 * locale/localeinfo.h: Likewise.
29273 * mach/devstream.c: Likewise.
29274 * malloc/arena.c: Likewise.
29275 * malloc/set-freeres.c: Likewise.
29276 * misc/err.c: Likewise.
29277 * misc/getttyent.c: Likewise.
29278 * misc/mntent_r.c: Likewise.
29279 * posix/getopt.c: Likewise.
29280 * posix/wordexp.c: Likewise.
29281 * pwd/fgetpwent_r.c: Likewise.
29282 * resolv/Versions: Likewise.
29283 * resolv/res_hconf.c: Likewise.
29284 * shadow/fgetspent_r.c: Likewise.
29285 * shadow/putspent.c: Likewise.
29286 * stdio-common/printf_fphex.c: Likewise.
29287 * stdio-common/tmpfile.c: Likewise.
29288 * stdlib/abort.c: Likewise.
29289 * stdlib/fmtmsg.c: Likewise.
29290 * sunrpc/auth_unix.c: Likewise.
29291 * sunrpc/clnt_perr.c: Likewise.
29292 * sunrpc/clnt_tcp.c: Likewise.
29293 * sunrpc/clnt_udp.c: Likewise.
29294 * sunrpc/clnt_unix.c: Likewise.
29295 * sunrpc/openchild.c: Likewise.
29296 * sunrpc/svc_simple.c: Likewise.
29297 * sunrpc/svc_tcp.c: Likewise.
29298 * sunrpc/svc_udp.c: Likewise.
29299 * sunrpc/svc_unix.c: Likewise.
29300 * sunrpc/xdr.c: Likewise.
29301 * sunrpc/xdr_array.c: Likewise.
29302 * sunrpc/xdr_rec.c: Likewise.
29303 * sunrpc/xdr_ref.c: Likewise.
29304 * sunrpc/xdr_stdio.c: Likewise.
29306 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29308 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29310 2011-07-03 Andreas Jaeger <aj@suse.de>
29312 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29314 regenerate with gen-libm-tests.pl.
29316 2010-05-12 Petr Baudis <pasky@suse.cz>
29319 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29320 around j0() zero points by switching to j1().
29321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29328 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29330 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29333 Patch in part by Pavel Roskin <proski@gnu.org>.
29336 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29338 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29339 Free memory block if necessary.
29342 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29343 be NULL. Don't lock in this case.
29345 2011-09-09 Roland McGrath <roland@hack.frob.com>
29347 * elf/elf.h (ELFOSABI_GNU): New macro.
29348 (ELFOSABI_LINUX): Define to that.
29350 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29352 * string/strncat.c (strncat): Undef the symbol in case it has been
29353 defined in bits/string.h.
29355 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29357 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29359 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29362 2011-08-17 Andreas Jaeger <aj@suse.de>
29364 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29366 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29367 Ian Lance Taylor <iant@google.com>
29369 * math/libm-test.inc (lround_test): New testcase.
29370 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29372 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29374 * Makefile: Remove support for automatic cvs check-ins.
29375 * Makerules: Likewise.
29376 * config.make.in: Likewise.
29377 * configure.in: Likewise.
29378 * intl/Makefile: Likewise.
29379 * locale/Makefile: Likewise.
29380 * po/Makefile: Likewise.
29381 * posix/Makefile: Likewise.
29382 * sysdeps/gnu/Makefile: Likewise.
29383 * sysdeps/mach/hurd/Makefile: Likewise.
29384 * sysdeps/sparc/sparc32/Makefile: Likewise.
29387 * posix/Makefile (bug-regex32-ENV): Define.
29388 Patch by John Stanley <jpsinthemix@verizon.net>.
29390 * misc/Makefile (headers): Add bits/select2.h.
29391 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29392 * misc/bits/select2.h: New file.
29393 * include/bits/select2.h: New file.
29394 * debug/Makefile (routines): Add fdelt_chk.
29395 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29396 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29398 * debug/fdelt_chk.c: New file.
29400 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29401 * wcsmbs/test-wmemcmp.c: Likewise.
29402 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29403 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29405 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29407 * string/Makefile (strop-tests): Add memcmp.
29408 * string/test-wmemcmp.c: New file.
29409 * string/test-memcmp.c: Add wmemcmp support.
29411 2011-09-08 Roland McGrath <roland@hack.frob.com>
29414 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29417 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29418 garbage value in a __mach_port_mod_refs call in the cases of the
29419 task-self and thread-self ports.
29421 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29423 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29425 2011-09-08 Andreas Schwab <schwab@redhat.com>
29427 * elf/dl-load.c (lose): Check for non-null L.
29429 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29431 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29433 * elf/dl-libc.c (dlerror_run): Pass back error code from
29437 * elf/dl-load.c (lose): Free l_origin if it is valid.
29439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29441 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29444 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29446 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29448 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29450 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29451 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29452 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29453 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29454 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29455 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29456 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29457 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29458 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29459 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29461 2011-08-15 Alan Modra <amodra@gmail.com>
29464 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29465 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29466 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29467 ppc_mcount to static-only-routines.
29468 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29470 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29471 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29473 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29476 for finite and infinity parameters.
29478 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29481 and add nop instructions for throughput optimization.
29482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29484 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29487 aligned copy for power7 with vector-scalar instructions.
29488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29490 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29495 2011-09-07 Andreas Schwab <schwab@redhat.com>
29498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29504 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29505 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29506 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29509 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29512 Forgot to demangle the pointer.
29514 * sysdeps/i386/sysdep.h: Define atom_text_section.
29515 * sysdeps/x86_64/sysdep.h: Likewise.
29516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29517 section with atom_text_section.
29518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29520 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29522 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29526 already be defined. Change to take two parameters and don't assign
29527 result to variable. Adjust all users.
29528 Define INTERNAL_GETTIME if not already defined.
29529 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29532 HAVE_CLOCK_GETTIME_VSYSCALL.
29533 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29536 gettimeofday vsyscall, just use time.
29538 2011-09-06 Andreas Schwab <schwab@redhat.com>
29540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29543 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29545 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29549 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29550 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29551 syscall if possible.
29553 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29555 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29556 e_ident. Don't pass to find_mapsXX.
29557 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29559 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29562 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29563 * sysdeps/x86_64/multiarch/strchr.S: Update.
29564 Check bit_slow_BSF bit.
29565 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29567 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29569 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29572 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29574 (tryshell): Define.
29575 (__spawni): Change last parameter to be flag. Test
29576 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29577 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29578 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29579 * posix/spawni.c: Likewise.
29580 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29581 * posix/spawnp.c: Likewise. Change normal version to use
29582 SPAWN_XFLAGS_USE_PATH.
29583 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29584 SPAWN_XFLAGS_TRY_SHELL.
29587 * posix/glob.h: Remove gcc 1.x support.
29590 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29592 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29595 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29597 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29598 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29599 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29602 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29604 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29606 * sysdeps/x86_64/wcscmp.S: New file.
29608 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29609 wcscmp-c wcscmp-sse2
29610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29611 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29612 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29613 * wcsmbs/wcscmp.c: Allow renaming.
29615 2011-09-05 David S. Miller <davem@davemloft.net>
29617 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29618 stack slot, rather than the struct return pointer slot.
29619 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29620 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29622 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29624 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29626 * po/ja.po: Update from translation team.
29629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29630 kernel in 64-bit binaries.
29632 2011-09-01 David S. Miller <davem@davemloft.net>
29634 * elf/elf.h (HWCAP_SPARC_*): Move to..
29635 * sysdeps/sparc/sysdep.h: this new file and add new values.
29636 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29637 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29638 _DL_HWCAP_COUNT to 24.
29639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29641 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29642 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29643 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29645 instead of magic constants.
29646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29648 2011-08-31 David S. Miller <davem@davemloft.net>
29650 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29652 Reimplement to do errno handling inline.
29653 (SYSCALL_ERROR_HANDLER): New macro.
29654 (__SYSCALL_STRING): Do not do errno handling in asm.
29655 (__CLONE_SYSCALL_STRING): Delete.
29656 (__INTERNAL_SYSCALL_STRING): Delete.
29657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29658 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29659 (PSEUDO): Reimplement to do errno handling inline.
29660 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29661 (SYSCALL_ERROR_HANDLER): New macro.
29662 (__SYSCALL_STRING): Do not do errno handling in asm.
29663 (__CLONE_SYSCALL_STRING): Delete.
29664 (__INTERNAL_SYSCALL_STRING): Delete.
29665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29666 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29668 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29669 (inline_syscall*): Add 'err' argument.
29670 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29671 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29672 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29673 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29675 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29676 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29678 2011-08-30 Andreas Schwab <schwab@redhat.com>
29680 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29682 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29684 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29687 2011-08-24 David S. Miller <davem@davemloft.net>
29689 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29691 2011-08-24 Andreas Schwab <schwab@redhat.com>
29693 * elf/Makefile: Add rules to build and run unload8 test.
29694 * elf/unload8.c: New file.
29695 * elf/unload8mod1.c: New file.
29696 * elf/unload8mod1x.c: New file.
29697 * elf/unload8mod2.c: New file.
29698 * elf/unload8mod3.c: New file.
29700 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29703 2011-08-23 David S. Miller <davem@davemloft.net>
29705 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29706 subtract stack bias.
29707 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29708 %sp not %fp in calculations.
29709 (_JMPBUF_UNWINDS_ADJ): Likewise.
29711 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29712 (aio_suspend): Call it to force an exception region around the
29713 AIO_MISC_WAIT() invocation.
29715 2011-08-23 Andreas Schwab <schwab@redhat.com>
29717 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29720 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29722 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29724 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29725 and <dl-machine.h>.
29726 (Elf64_FuncDesc): Remove.
29728 2011-08-22 David S. Miller <davem@davemloft.net>
29730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29731 sigaltstack check, add missing cfi directives.
29732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29733 missing cfi directives, and sigaltstack handling.
29735 2011-08-16 Andreas Schwab <schwab@redhat.com>
29738 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29739 object is seen twice.
29740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29742 * elf/Makefile (distribute): Add tst-initorder2.c.
29743 (tests): Add tst-initorder2.
29744 (modules-names): Add tst-initorder2a tst-initorder2b
29745 tst-initorder2c tst-initorder2d. Add rules to build them.
29746 ($(objpfx)tst-initorder2.out): New rule.
29747 * elf/tst-initorder2.c: New file.
29748 * elf/tst-initorder2.exp: New file.
29750 2011-08-22 Andreas Schwab <schwab@redhat.com>
29752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29754 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29755 dependencies back to end of function.
29757 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29758 $(elfobjdir)/ld.so.
29760 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29763 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29765 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29766 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29767 of __vdso_gettimeofday.
29768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29769 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29771 (_libc_vdso_platform_setup): Remove initialization of
29772 __vdso_gettimeofday and __vdso_time.
29774 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29776 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29777 and fgetc_unlocked.
29778 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29781 * elf/dl-open.c (add_to_global): Report additions to the global scope
29782 for LD_DEBUG=scopes.
29783 (dl_open_worker): Also print scope of newly loaded dependencies.
29784 (_dl_show_scope): Indicate if there is no scope.
29787 * stdio-common/Makefile (tests): Add bug24.
29788 * stdio-common/bug24.c: New file.
29790 2011-08-19 Andreas Jaeger <aj@suse.de>
29793 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29794 non-existant file when using close-on-exec mode.
29796 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29799 the very first instruction.
29801 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29802 the CFI state in the end.
29803 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29804 inclusion of dl-trampoline.h.
29805 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29807 2011-08-19 Andreas Schwab <schwab@redhat.com>
29809 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29810 expectations for long double.
29812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29813 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29815 2011-08-14 David S. Miller <davem@davemloft.net>
29817 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29818 artificual limit depends upon the system page size.
29820 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29822 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29823 * resolv/Makefile: Define CFLAGS-libresolv.
29825 2011-08-17 Andreas Schwab <schwab@redhat.com>
29827 * nss/makedb.c (compute_tables): Make variables used in nested
29830 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29832 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29833 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29834 if buffer was too small.
29836 * elf/pldd.c (main): Attach to all threads in the process.
29837 Rewrite /proc handling to use *at functions.
29839 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29841 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29842 specifies first scope to show.
29843 (dl_open_worker): Update callers. Move printing scope of new
29844 object to before the relocation.
29845 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29846 * sysdeps/generic/ldsodefs.h: Update declaration.
29848 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29849 string for the scope number.
29851 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29853 * nscd/servicescache.c (cache_addserv): Make sure written is always
29856 2011-08-14 Roland McGrath <roland@hack.frob.com>
29858 * sysdeps/i386/i486/bits/atomic.h
29859 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29860 statement expression, so as to suppress "set but not used" warning.
29861 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29863 * string/strncat.c (STRNCAT): Use prototype definition.
29865 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29866 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29868 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29869 (localedef-modules): Add localedef.
29870 (locale-modules): Add locale.
29872 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29873 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29874 to avoid a warning.
29876 2011-08-14 David S. Miller <davem@davemloft.net>
29878 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29879 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29881 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29883 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29884 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29885 * elf/rtld.c (dl_main): Set l_name of vDSO.
29886 Call _dl_show_scope when DL_DEBUG_SCOPES.
29887 (process_dl_debug): Recognize scopes flag and also set it for all.
29888 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29889 Declare _dl_show_scope.
29891 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29892 (do_dlopen): Pass caller_dlopen to dl_open.
29893 (__libc_dlopen_mode): Initialize caller_dlopen.
29895 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29896 of libc. Make tolower call locale-independent. Optimize a bit by
29897 using isdigit instead of isalnum.
29898 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29900 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29902 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29903 was a dependency or dynamically loaded.
29905 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29907 * intl/l10nflist.c: Allow architecture-specific pop function.
29908 * sysdeps/x86_64/l10nflist.c: New file.
29910 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29913 2011-08-10 Andreas Schwab <schwab@redhat.com>
29915 * include/dirent.h: Add libc_hidden_proto for scandirat and
29916 scandirat64. Don't declare __scandirat64.
29917 * dirent/scandirat.c: Add libc_hidden_def.
29918 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29919 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29921 2011-08-10 David S. Miller <davem@davemloft.net>
29923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29929 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29931 * Versions.def [libc]: Add GLIBC_2.15.
29932 * dirent/Makefile (routines): Add scandirat and scandirat64.
29933 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29935 * dirent/dirent.h: Declare scandirat and scandirat64.
29936 * dirent/scandirat.c: New file.
29937 * dirent/scandirat64.c: New file.
29938 * sysdeps/wordsize-64/scandirat.c: New file.
29939 * sysdeps/wordsize-64/scandirat64.c: New file.
29940 * dirent/opendir.c: Define opendirat.
29941 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29943 * dirent/scandir64.c: Adjust for scandir.c change.
29944 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29945 __scandirat64, and __scandir_cancel_handler.
29946 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29947 additional parameter and use openat instead of open (outside of ld.so).
29948 Add new __opendir as wrapper around __opendirat.
29949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29950 here without requiring old scandirat implementation.
29952 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29954 * dirent/scandir.c (cancel_handler): Renamed to
29955 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29956 defined. Adjust users.
29957 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29960 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29962 * string/test-string.h (IMPL): Use __STRING to expand name and then
29965 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29968 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29970 * string/Makefile: Update.
29971 (strop-tests): Append strncat.
29972 * string/test-wcscmp.c: New file.
29973 New comprehensive test for wcscmp.
29974 * string/test-strcmp.c: Update.
29975 (WIDE): New define.
29977 2011-07-22 Andreas Schwab <schwab@redhat.com>
29979 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29982 2011-07-26 Andreas Schwab <schwab@redhat.com>
29984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29985 encoding to ACE if AI_IDN.
29987 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29990 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29992 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29995 Fix overflow bug in strncat.
29996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29998 * string/test-strncat.c: Update.
29999 Add new tests for checking overflow bugs.
30001 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30004 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30005 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30006 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30008 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30009 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30010 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30011 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30014 (USE_AS_STRCAT): Define.
30015 Add strcat and strncat support.
30016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30018 2011-07-25 Andreas Schwab <schwab@redhat.com>
30020 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30021 __n bigger than INT_MAX+1.
30022 (__strncmp_g): Likewise.
30024 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30026 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30027 * libio/stido.h: Likewise.
30029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30041 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30046 (_dl_x86_64_save_sse): Likewise.
30048 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30052 (_dl_x86_64_save_sse): Likewise.
30054 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30056 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30058 2011-07-21 Andreas Schwab <schwab@redhat.com>
30060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30062 (_dl_x86_64_save_sse): Use correct AVX check.
30064 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30067 bug in strncpy/strncat.
30068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30070 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30072 * string/tester.c (test_strcat): Add tests for different alignments
30073 of source and destination.
30074 (test_strncat): Likewise.
30076 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30079 * posix/glob.c (glob): Check passed in values before using them in
30080 expressions to avoid some overflows.
30081 (glob_in_dir): Likewise.
30084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30085 check for AVX enablement so that we don't crash with old kernels and
30087 * elf/tst-audit4.c: Add same checks here.
30088 * elf/tst-audit6.c: Likewise.
30090 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30092 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30094 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30096 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30098 * po/cs.po: Update from translation team.
30099 * po/bg.po: Likewise.
30101 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30103 * misc/sys/cdefs.h: Add support for const attribute.
30104 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30105 to gnu_dev_{major,minor,makedev} functions.
30107 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30109 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30111 2011-07-20 Andreas Schwab <schwab@redhat.com>
30113 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30116 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30119 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30120 register in order to avoid conflicts with the soft frame pointer
30121 being held in r11 when necessary.
30122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30123 (INTERNAL_VSYSCALL_NCS): Likewise.
30125 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30127 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30128 * elf/dl-fini.c (_dl_fini): Adjust caller.
30129 * elf/dl-close.c (_dl_close_worker): Likewise.
30130 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30132 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30134 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30135 "aux_cache->nlibs < 0".
30137 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30138 in the reload-count case.
30140 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30143 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30144 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30146 * sysdeps/x86_64/multiarch/strcat.S: New file.
30147 * sysdeps/x86_64/multiarch/strncat.S: New file.
30148 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30150 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30151 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30153 (USE_AS_STRCAT): Define.
30154 Add strcat and strncat support.
30155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30157 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30158 * string/strncat.c: Update.
30159 (USE_AS_STRNCAT): Define.
30160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30161 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30163 * sysdeps/x86_64/multiarch/init-arch.h
30164 (bit_Prefer_PMINUB_for_stringop): New.
30165 (index_Prefer_PMINUB_for_stringop): Likewise.
30166 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30167 bit_Prefer_PMINUB_for_stringop.
30169 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30171 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30173 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30174 of casting of buffer.
30175 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30176 buffer32 and buffer64.
30177 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30178 writes instead of casting of buffer.
30179 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30181 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30184 2011-07-19 Andreas Schwab <schwab@redhat.com>
30186 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30188 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30190 * nscd/nscd.c (termination_handler): Don't do anything for a database
30191 if it has not yet been initialized.
30193 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30195 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30199 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30201 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30203 * po/nl.po: Update from translation team.
30204 * po/sv.po: Likewise.
30206 2011-07-16 Roland McGrath <roland@hack.frob.com>
30208 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30209 now disallowed by GCC.
30211 * configure.in (use-default-link): Default to yes if a test -shared
30212 link meets our qualifications.
30213 * configure: Regenerated.
30215 * config.make.in (output-format): New variable.
30216 * configure.in: Check for ld --print-output-format support.
30217 * configure: Regenerated.
30218 * Makerules ($(common-objpfx)format.lds)
30219 [$(output-format) != unknown]: Just use $(output-format),
30220 instead of the linker-script munging.
30222 2011-07-14 Roland McGrath <roland@hack.frob.com>
30224 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30225 of $(common-objpfx)shlib.lds.
30226 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30228 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30229 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30231 * configure.in (-z relro check): Adjust test code to add a large
30232 writable data section after it.
30233 * configure: Regenerated.
30235 2011-07-11 Roland McGrath <roland@hack.frob.com>
30237 * configure.in (-z relro check): Fix test code to make the variable
30239 * configure: Regenerated.
30241 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30243 * nscd/nscd.h (struct traced_file): Define.
30244 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30245 elements. Add traced_files.
30246 (inotify_fd): Declare.
30247 (register_traced_file): Declare.
30248 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30249 (inotify_fd): Export.
30250 (resolv_conf_descr): Remove.
30251 (nscd_init): Move inotify descriptor creation to main.
30252 Don't register files for notification here.
30253 (register_traced_file): New function.
30254 (invalidate_cache): Don't use reset_res to determine whether to call
30255 res_init, go through the list of registered files.
30256 (main_loop_poll): The inotify descriptors are now stored in the
30257 structures for the traced files.
30258 (main_loop_epoll): Likewise
30259 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30260 to __nss_disable_nscd.
30261 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30262 for a database anymore. Check the records for all the registered
30264 * nss/Makefile (libnss_files-routines): Add files-init.
30265 (libnss_db-routines): Add db-init.
30266 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30267 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30268 * nss/nss_db/db-init.c: New file.
30269 * nss/nss_files/files-init.c: New file.
30270 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30271 __nss_lookup_function.
30272 (__nss_lookup_function): Call nss_load_library.
30273 (nss_load_all_libraries): New function.
30274 (__nss_disable_nscd): Take parameter with callback function for files
30275 to register. Set is_nscd. Load all the DSOs for the NSS modules
30276 used for the cached services.
30277 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30279 options for features to all the files in nscd.
30281 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30283 2011-07-10 Roland McGrath <roland@hack.frob.com>
30285 * csu/elf-init.c (__libc_csu_init): Comment typo.
30287 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30289 * po/pl.po: Update from translation team.
30290 * po/ja.po: Likewise.
30291 * po/ru.po: Likewise.
30292 * po/ko.po: Likewise.
30293 * po/fr.po: Likewise.
30295 2011-07-09 Roland McGrath <roland@hack.frob.com>
30297 * configure.in (.ctors/.dtors header and trailer check):
30298 Use an empirical test on a built program.
30299 * configure: Regenerated.
30301 * configure.in (-z relro check): Use an empirical test on a built DSO.
30302 Detect, but do not require, on ia64.
30303 * configure: Regenerated.
30305 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30306 Update tests that use readelf to use $READELF instead.
30307 * configure: Regenerated.
30309 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30311 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30312 if the result is not used.
30314 2011-07-05 Andreas Jaeger <aj@suse.de>
30317 * stdlib/tst-strtod.c: Add testcase.
30319 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30321 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30322 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30323 The latter has a higher limit. Take additional parameter to pass to
30325 (__pathconf): Pass file to __statfs_link_max.
30326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30328 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30332 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30336 (__statfs_filesize_max): Likewise.
30337 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30339 2011-07-05 Andreas Jaeger <aj@suse.de>
30341 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30343 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30345 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30347 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30350 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30352 * Makefile (strop-tests): Add strncat.
30353 * string/test-strncat.c: New file.
30355 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30357 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30359 2011-06-21 Andreas Jaeger <aj@suse.de>
30361 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30362 Copy rule from iconvdata/Makefile.
30364 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30367 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30368 but no long options are defined, just return 'W'.
30370 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30373 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30375 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30377 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30379 (innetgr): Likewise.
30381 2011-07-05 Roland McGrath <roland@hack.frob.com>
30383 * config.make.in (install_root): Default to $(DESTDIR).
30385 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30389 2011-07-02 Roland McGrath <roland@hack.frob.com>
30391 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30393 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30394 containing directory rather than embedding absolute directory names.
30396 * scripts/check-local-headers.sh: Rewritten using awk.
30397 Match by word, not by line. Print error messages for matches.
30398 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30400 * Makerules [shlib-lds-flags empty]:
30401 ($(common-objpfx)libc_pic.opts): New target.
30402 ($(common-objpfx)libc_pic.os.clean): New target.
30403 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30405 * config.make.in (OBJCOPY): New variable.
30406 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30407 * configure: Regenerated.
30409 * config.make.in (use-default-link): New variable.
30410 * configure.in (use_default_link): Grok --with-default-link to set it.
30411 * configure: Regenerated.
30412 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30413 (shlib-lds, shlib-lds-flags): Define to empty.
30415 * Makerules (shlib-lds): New variable.
30416 (shlib-lds-flags): New variable.
30417 (build-shlib, build-moduile, build-module-asneeded): Use it.
30418 ($(common-objpfx)libc.so): Use $(shlib-lds).
30419 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30422 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30423 DT_FLAGS/DT_FLAGS_1 with zero flags.
30425 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30426 linker script munging.
30428 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30430 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30432 * crypt/sha512.c (sha512_process_block): Perform total addition using
30433 128-bit if possible.
30434 (__sha512_finish_ctx): Likewise.
30435 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30437 * crypt/sha256.c (SWAP64): Define.
30438 (sha256_process_block): Perform total addition using 64-bit if
30440 (__sha256_finish_ctx): Likewise.
30442 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30444 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30446 * nscd/hstcache.c (cache_addhst): Likewise.
30447 * nscd/grpcache.c (cache_addgr): Likewise.
30448 * nscd/aicache.c (addhstaiX): Likewise
30449 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30451 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30453 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30455 * nscd/hstcache.c (cache_addhst): Likewise.
30456 * nscd/grpcache.c (cache_addgr): Likewise.
30457 * nscd/aicache.c (addhstaiX): Likewise
30459 2011-07-01 Andreas Schwab <schwab@redhat.com>
30461 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30462 domain only when needed.
30464 2011-06-30 Andreas Schwab <schwab@redhat.com>
30466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30467 is always restored.
30469 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30471 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30472 are re-adding the entry.
30473 * nscd/servicescache.c (cache_addserv): Likewise.
30475 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30477 * sysdeps/generic/dl-irel.h: fix protection against multiple
30479 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30481 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30484 * malloc/memusage.sh: Fix quoting in message.
30485 * debug/xtrace.sh: Likewise.
30487 * configure.in: Remove support for --experimental-malloc option, make
30489 * config.make.in: Likewise.
30490 * malloc/Makefile: Likewise.
30492 2011-06-27 Andreas Schwab <schwab@redhat.com>
30494 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30495 two-byte characters.
30497 2011-06-27 Roland McGrath <roland@hack.frob.com>
30499 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30500 AC_CACHE_CHECK invocation.
30501 * configure: Regenerated.
30503 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30505 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30508 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30509 bit from old_res_options.
30511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30513 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30514 value type for setfct.
30516 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30519 __gettimeofday instead of gettimeofday.
30521 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30523 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30525 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30532 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30535 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30536 strcpy-sse2-unaligned strncpy-sse2-unaligned
30537 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30538 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30539 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30540 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30541 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30544 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30545 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30546 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30547 (STRCPY): Support SSE2 and SSSE3 versions.
30549 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30552 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30553 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30554 kernels which artificially limit size of requests.
30556 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30559 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30560 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30561 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30562 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30563 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30564 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30565 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30568 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30569 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30570 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30571 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30572 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30574 Enable unaligned load optimization for Intel Core i3, i5 and i7
30576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30578 (index_Fast_Unaligned_Load): Define.
30579 (HAS_FAST_UNALIGNED_LOAD): Define.
30581 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30583 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30585 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30589 until it is clear that the information is realy needed.
30590 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30592 2011-06-22 Andreas Schwab <schwab@redhat.com>
30594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30596 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30599 /sys/devices/system/cpu/online if it is usable.
30601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30602 reading the information from the /proc filesystem to once a second.
30604 2011-06-21 Andreas Jaeger <aj@suse.de>
30606 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30607 NULL after inclusion of kernel headers.
30609 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30611 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30612 calls to internal_setent.
30615 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30616 addresses using gethostbyname4_r ignore IPv4 addresses.
30618 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30619 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30621 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30623 2011-06-20 David S. Miller <davem@davemloft.net>
30625 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30627 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30629 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30630 (elf_irel): Use it.
30631 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30632 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30633 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30634 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30635 * sysdeps/x86_64/dl-irel.h: Likewise.
30637 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30638 * elf/dl-sym.c: Likewise.
30640 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30642 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30643 need to dereference resplen2.
30645 2011-06-14 Andreas Schwab <schwab@redhat.com>
30647 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30649 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30651 * Makeconfig: Define vardbdir and inst_vardbdir.
30652 * nss/Makefile: Add rules to install db-Makefile.
30654 * nss/nss_db/db-XXX.c: Cleanup.
30656 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30657 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30659 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30660 * nss/makedb.c: Implement -g option to specify that value strings
30661 are generated and should not be added to table iterated over for
30663 * nss/nss_db/db-initgroups.c: New file.
30665 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30668 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30669 (internal_getgrouplist): Adjust to name change.
30670 Update use_initgroups_entry if this is not the first call.
30671 * nss/databases.def: Add initgroups entry.
30673 * nss/makedb.c (compute_tables): Check result of multiple hash table
30674 sizes to minimize maximum chain length.
30676 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30678 * Versions.def: Add entry for libnss_db.
30679 * shlib-versions: Likewise.
30680 * nss/Makefile: Add rules to build libnss_db.
30681 * nss/Versions: Add libnss_db information. Organize libnss_files
30683 * nss/db-Makefile: Add gshadow support. Change rules for the new
30684 makedb progra. Some minor improvements to generate smaller files.
30685 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30687 * nss/makedb.c: ...here.
30688 Improve database format to be smaller and require less memory at
30690 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30692 * nss/nss_db/db-netgrp.c: Likewise.
30693 * nss/nss_db/db-open.c: Likewise.
30694 * nss/nss_files/flies-XXX.x: Adjust comments.
30695 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30696 * nss/nss_files/files-grp.c: Likewise.
30697 * nss/nss_files/files-hosts.c: Likewise.
30698 * nss/nss_files/files-network.c: Likewise.
30699 * nss/nss_files/files-proto.c: Likewise.
30700 * nss/nss_files/files-pwd.c: Likewise.
30701 * nss/nss_files/files-rpc.c: Likewise.
30702 * nss/nss_files/files-service.c: Likewise.
30703 * nss/nss_files/files-sgrp.c: Likewise.
30704 * nss/nss_files/files-spwd.c: Likewise.
30705 * nss/nss_db/db-alias.c: Removed.
30706 * nss/nss_db/dummy-db.h: Removed.
30708 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30710 * nss/makedb.c: Rewritten to not use database library.
30711 * nss/Makefile: Update to build new makedb program.
30713 2011-06-14 Andreas Jaeger <aj@suse.de>
30715 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30716 memset declaration.
30718 2011-06-10 Andreas Schwab <schwab@redhat.com>
30720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30723 2011-06-10 Roland McGrath <roland@hack.frob.com>
30725 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30726 * elf/Makefile ($(objpfx)ld.so): Likewise.
30728 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30729 Don't list ld.so twice in dependencies.
30731 * posix/bug-regex31.c: Include <stdlib.h>.
30733 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30735 * nis/nss_compat/compat-spwd.c
30736 (getspent_next_nss_netgr): Remove unused variable.
30737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30739 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30740 nonmembers" output to use the right array.
30742 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30744 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30746 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30747 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30748 * catgets/gencat.c (read_input_file): Likewise.
30749 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30751 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30752 variable definition inside #if's controlling its use.
30754 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30756 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30758 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30760 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30763 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30765 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30766 * configure: Regenerated.
30768 * Makerules: Revert last change.
30769 * elf/Makefile: Likewise.
30771 2011-06-09 Roland McGrath <roland@hack.frob.com>
30773 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30774 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30775 (reloc-link): Likewise.
30777 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30779 * elf/Makefile: Add rules to build pldd.
30780 * elf/pldd.c: New file.
30781 * elf/pldd-xx.c: New file.
30783 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30785 * version.h: Update for 2.15 development version.
30787 2011-06-07 David S. Miller <davem@davemloft.net>
30789 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30792 elf_machine_lazy_rel): Likewise.
30793 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30795 elf_machine_lazy_rel): Likewise.
30796 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30797 dl_hwcap via passed in argument.
30798 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30801 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30803 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30805 2011-06-06 Roland McGrath <roland@hack.frob.com>
30808 * manual/fdl-1.1.texi: New file, verbatim from:
30809 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30810 * manual/lgpl-2.1.texi: New file, verbatim from:
30811 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30812 * manual/Makefile (licenses): New variable, list those new file names.
30814 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30816 * manual/fdl.texi: File removed.
30817 * manual/lesser.texi: File removed.
30818 * manual/libc.texinfo (Copying, Documentation License):
30819 Use new @include file names, put @appendix directive before @include.
30821 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30824 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30825 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30826 (mq_open): Add __NTH.
30828 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30831 Assume Intel Core i3/i5/i7 processor if AVX is available.
30833 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30838 2011-05-31 Andreas Schwab <schwab@redhat.com>
30840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30841 memory. Use alloca_account. Fix memory leak when retrying.
30843 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30845 * version.h (RELEASE): Bump for 2.14 release.
30846 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30848 * config.make.in (RANLIB): Remove entry.
30850 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30852 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30853 (libc.pot): Work around missing support for .ksh extension in xgettext.
30856 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30857 if both request failed.
30858 (send_dg): In case of server errors clear resplen or *resplen2.
30861 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30862 when there are multiple maps.
30863 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30864 (_dl_fini): Remove test here.
30866 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30868 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30871 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30872 bit from old_res_options.
30873 (gaih_inet): Likewise.
30876 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30879 * resolv/res_init.c (res_setoptions): Make the code more compact.
30882 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30886 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30888 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30891 * malloc/malloc.h: Declare malloc hook variables as volatile.
30893 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30897 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30898 raise in the comment.
30899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30901 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30903 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30906 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30907 grow the buffers more if it already has to be sufficient.
30908 (build_wcs_upper_buffer): Likewise.
30909 * posix/regexec.c (check_matching): Likewise.
30910 (clean_state_log_if_needed): Likewise.
30911 (extend_buffers): Don't enlarge buffers beyond size of the input
30913 Patches mostly by Emil Wojak <emil@wojak.eu>.
30914 * posix/bug-regex32.c: New file.
30915 * posix/Makefile (tests): Add bug-regex32.
30917 * locale/findlocale.c (_nl_find_locale): Return right away if
30918 _nl_explode_name failed.
30919 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30923 * debug/xtrace.sh: Unify messages.
30924 * malloc/memusage.sh: Likewise.
30927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30928 time symbol from vDSO. Substitute with vsyscall if not available.
30929 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30932 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30933 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30935 Add sendmmsg and internal_sendmmsg.
30936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30940 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30941 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30942 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30944 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30948 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30950 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30954 * iconvdata/Makefile (tests): Add bug-iconv9.
30955 * iconvdata/bug-iconv9.c: New file.
30957 2011-05-27 Andreas Schwab <schwab@redhat.com>
30960 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30962 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30965 (struct user_regs_struct): Change intcs field back to cs.
30967 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30969 * po/ja.po: Update from translation team.
30971 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30974 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30977 2011-05-20 Andreas Schwab <schwab@redhat.com>
30979 * stdlib/longlong.h: Update from GCC.
30981 2011-05-23 Andreas Schwab <schwab@redhat.com>
30983 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30985 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30986 Add parameter name.
30987 (__sysconf): Pass it down.
30989 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30992 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30995 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30996 add in in __libc_use_alloca calls. Adjust callers.
30997 (glob): Use malloc in some situations.
30999 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31000 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31003 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31005 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31006 and CLOCK_BOOTTIME_ALARM.
31009 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31012 * string/_strerror.c (__strerror_r): Print negative errors as signed
31016 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31017 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31018 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31020 * configure.in: Fix typo in redirection and correct removal of test
31021 files in two cases.
31024 * locale/setlocale.c (new_composite_name): Fix test to check for
31025 identical name of all categories.
31028 * libio/filedoalloc.c (local_isatty): New function.
31029 (_IO_file_doallocate): Use local_isatty.
31030 * stdio-common/perror.c (perror): In case a new stream is used
31031 forward the stream error.
31032 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31035 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31040 * include/alloca.h (extend_alloca_account): Define.
31043 * posix/regex.h: Fix comments with documentation of user-accessible
31044 fields after compilation and describe correct free'ing of pattern
31045 after re_compile_pattern.
31046 Patch by Reuben Thomas <rrt@sc3d.org>.
31048 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31050 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31051 and -mno-altivec to prevent the compiler from using Altivec and/or
31052 VSX instructions when the corresponding registers are not available.
31054 2011-05-19 Andreas Schwab <schwab@redhat.com>
31056 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31058 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31060 * libio/freopen.c (freopen): Use __dup2, not dup2.
31061 * libio/freopen64.c (freopen64): Likewise.
31063 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31066 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31067 * math/Makefile (tests): Add test-powl.
31068 (CFLAGS-test-powl.c): Define.
31069 * math/test-powl.c: New file.
31071 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31073 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31075 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31078 * iconvdata/gb18030.c: Update to GB18020-2005.
31080 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31082 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31083 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31084 Patch by Aharon Robbins <arnold@skeeve.com>.
31087 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31091 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31092 through underflows.
31095 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31096 point to strings before performing equality test for error_one_per_line
31100 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31104 (struct user_fpregs_struct): Avoid __uint*_t types.
31107 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31108 symbol info. Use it instead of calling _dl_addr locally.
31109 (lock_and_info): New function.
31110 (tr_freehook): Call lock_and_info and pass symbol info as additional
31111 parameter to tr_where.
31112 (tr_mallochook): Likewise.
31113 (tr_reallochook): Likewise.
31114 (tr_memalignhook): Likewise.
31116 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31117 used and couldn't be at all thread-safe.
31119 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31121 * libio/freopen.c (freopen): Don't close old file descriptor
31122 before the new one is opened. Instead dup the new file descriptor
31123 to the old one after the new stream is created.
31124 * libio/freopen64.c (freopen64): Likewise.
31125 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31126 * libio/fileops.c (_IO_new_file_close_it): Handle new
31127 _IO_FLAGS2_NOCLOSE flag.
31128 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31129 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31130 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31131 _IO_FLAGS2_NOCLOSE flag.
31132 * include/unistd.h: Add hidden_proto for dup3.
31133 Define __have_dup3.
31134 * io/dup3.c: Define hidden symbol.
31135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31138 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31139 when an incomplete long option is used.
31140 * posix/tst-getopt_long1.c: New file.
31141 * posix/Makefile (tests): Add tst-getopt_long1.
31144 * scripts/config.guess: Update from autoconf-2.68.
31145 * scripts/config.sub: Likewise.
31148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31150 (has_cpuclock): ...this. New function.
31151 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31152 macro here based on has_cpuclock code.
31155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31156 First byte (not low byte) is now always NUL.
31157 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31160 Use non-cancelable interfaces.
31163 * locale/iso-639.def: Add entry for Sorani.
31166 * include/stdlib.h: Move include protection to the right place.
31167 Define abort_msg_s. Declare __abort_msg with it.
31168 * stdlib/abort.c (__abort_msg): Adjust type.
31169 * assert/assert.c (__assert_fail_base): New function. Majority
31170 of code from __assert_fail. Allocate memory for __abort_msg with
31172 (__assert_fail): Now call __assert_fail_base.
31173 * assert/assert-perr.c: Remove bulk of implementation. Use
31174 __assert_fail_base.
31175 * include/assert.hL Declare __assert_fail_base.
31176 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31178 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31180 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31184 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31185 until all modules are registered in the DTV.
31186 * elf/Makefile: Add rules to build and run tst-tls19.
31187 * elf/tst-tls19.c: New file.
31188 * elf/tst-tls19mod1.c: New file.
31189 * elf/tst-tls19mod2.c: New file.
31190 * elf/tst-tls19mod3.c: New file.
31191 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31194 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31198 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31199 two-byte sequence errors.
31200 * iconvdata/Makefile (tests): Add bug-iconv8.
31201 * iconvdata/bug-iconv8.c: New file.
31204 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31207 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31210 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31211 (dummy_getcfa): New function.
31212 (init): Get _Unwind_GetCFA address, use dummy if not found.
31213 (backtrace_helper): In recursion check, also check whether CFA changes.
31214 (__backtrace): Completely initialize arg.
31216 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31217 storing incomplete byte sequence in state object. Avoid testing for
31218 guaranteed too small input if we know there is enough data available.
31220 2011-05-11 Andreas Schwab <schwab@redhat.com>
31222 * Makeconfig (+link-pie): Indent.
31223 * Rules (binaries-pie): Define if $(have-fpie) and
31225 (binaries-shared): Also filter out $(binaries-pie).
31226 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31227 * nscd/Makefile (others-pie): Add nscd.
31228 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31229 ($(objpfx)nscd): Remove command override.
31230 * login/Makefile (others-pie): Add pt_chown.
31231 ($(objpfx)pt_chown): Remove command override.
31232 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31233 remove command overrides.
31235 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31237 * libio/tst_putwc.c: Fix error messages.
31240 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31241 currently writing and seek to current position when not.
31242 * libio/Makefile (tests): Add bug-fclose1.
31243 * libio/bug-fclose1.c: New file.
31245 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31248 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31249 don't set DF_1_NODELETE here.
31250 (do_lookup_x): When entering new entry test for copy relocation
31251 and if necessary set DF_1_NODELETE flag.
31252 * elf/tst-unique4.cc: New file.
31253 * elf/tst-unique4.h: New file.
31254 * elf/tst-unique4lib.cc: New file.
31255 * elf/Makefile: Add rules to build and run tst-unique4.
31256 Patch by Piotr Bury <pbury@goahead.com>.
31258 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31261 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31264 * misc/mntent_r.c (addmntent): Flush the stream after the output
31267 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31268 (is_trusted_path_normalize): Skip initial colon. Append slash
31269 to empty buffer. Duplicate is_trusted_path code but allow
31270 constructed patch to be prefix.
31271 (is_dst): Allow $ORIGIN followed by /.
31272 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31273 Correct testing of result of is_trusted_path_normalize
31274 (decompose_rpath): Fix warning.
31276 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31279 * grp/initgroups.c (internal_getgrouplist): When we found the service
31280 list through the initgroups entry in nsswitch.conf do not always
31281 continue on a successful lookup. Don't always use the
31282 __nss_group_database value if it is set.
31283 * nss/nsswitch.conf (initgroups): Change action for successful db
31284 lookup to continue for compatibility.
31286 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31289 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31291 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31293 * iconvdata/tst-tables.sh: Likewise.
31294 * iconvdata/cp770.c: New file.
31295 * iconvdata/cp771.c: New file.
31296 * iconvdata/cp772.c: New file.
31297 * iconvdata/cp773.c: New file.
31298 * iconvdata/cp774.c: New file.
31299 * iconvdata/testdata/CP770: New file.
31300 * iconvdata/testdata/CP770..UTF8: New file.
31301 * iconvdata/testdata/CP771: New file.
31302 * iconvdata/testdata/CP771..UTF8: New file.
31303 * iconvdata/testdata/CP772: New file.
31304 * iconvdata/testdata/CP772..UTF8: New file.
31305 * iconvdata/testdata/CP773: New file.
31306 * iconvdata/testdata/CP773..UTF8: New file.
31307 * iconvdata/testdata/CP774: New file.
31308 * iconvdata/testdata/CP774..UTF8: New file.
31310 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31312 * iconvdata/gen-8bit-gap.sh: Likewise.
31313 * iconvdata/gen-8bit.sh: Likewise.
31315 * locale/iso-639.def: Add ary entry.
31318 * locale/C-translit.h.in: Add U20A1 transliteration.
31321 * locale/iso-639.def: Add wae entry.
31322 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31325 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31329 * locale/C-translit.h.in: Add entry for U20B9.
31330 Patch by pravin.d.s@gmail.com.
31332 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31335 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31336 ENAMETOOLONG use generic getcwd.
31337 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31338 in rtld. Use *stat64.
31339 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31340 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31341 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31342 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31343 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31344 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31345 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31346 __fstatat64 macros.
31347 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31348 * dirent/rewinddir.c: Add libc_hidden_def.
31349 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31350 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31352 * include/dirent.h (__alloc_dir): Add flags parameter.
31353 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31354 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31356 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31357 from fdopendir if O_CLOEXEC is already set.
31359 2011-03-15 Alan Modra <amodra@gmail.com>
31361 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31362 l_tls_firstbyte_offset non-zero. Save padding offset in
31363 l_tls_firstbyte_offset for later use.
31364 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31365 freeing static tls block.
31367 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31369 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31370 where #ifdef was intended. The intent is to prevent ARG_MAX from
31371 being defined by the kernel headers.
31373 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31376 * resolv/resolv.h: Define RES_NOTLDQUERY.
31377 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31378 no-tld-query and set RES_NOTLDQUERY.
31379 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31380 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31381 modern BIND to search name as TLD unless forbidden.
31383 2011-05-07 Petr Baudis <pasky@suse.cz>
31384 Ulrich Drepper <drepper@gmail.com>
31387 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31388 (is_trusted_path): ...to here.
31389 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31390 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31391 using is_trusted_path_normalize() in setuid scripts.
31393 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31396 __BEGIN/__END_DECLS.
31398 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31401 NSS_STATUS_NOTFOUND if no record was found.
31403 2011-05-05 Andreas Schwab <schwab@redhat.com>
31405 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31406 (headers-not-in-tirpc): Remove rpc/netdb.h
31407 * resolv/netdb.h: Revert last change.
31409 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31411 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31412 circular dependency between libgcc.a and libc.a.
31414 2011-05-05 Andreas Schwab <schwab@redhat.com>
31416 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31417 * nis/Makefile: Don't install rpcsvc/*.
31418 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31419 instead of <rpc/types.h>.
31420 (MAXHOSTNAMELEN): Define.
31422 2011-05-03 Andreas Schwab <schwab@redhat.com>
31424 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31426 2011-04-28 Maciej Babinski <mbabinski@google.com>
31429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31430 gethostbyname4_r when IPv6 results are possible.
31432 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31435 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31436 _PC_PIPE_BUF handling.
31438 2011-04-30 Bruno Haible <bruno@clisp.org>
31441 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31442 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31444 * inet/getnameinfo.c (getnameinfo): Likewise.
31446 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31448 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31449 to groups setting in database lookup.
31450 * nss/nsswitch.conf: Add initgroups entry.
31452 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31455 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31457 Patch by Eric Blake <eblake@redhat.com>.
31459 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31461 * sunrpc/Makefile (need-export-routines): Add svc_run.
31462 (routines): Remove svc_run.
31463 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31464 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31465 * sunrpc/svc_run.c (svc_run): Likewise.
31466 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31468 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31471 problem in reallocation in last patch.
31473 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31475 * sunrpc/Makefile: Move inclusion of Rules.
31477 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31479 * nss/nss_files/files-initgroups.c: New file.
31480 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31481 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31482 _nss_files_initgroups_dyn.
31484 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31486 * elf/elf.h (R_ARM_IRELATIVE): Define.
31488 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31490 * po/ru.po: Update from translation team.
31492 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31494 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31497 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31501 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31502 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31506 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31508 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31514 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31517 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31519 * stdlib/bug-getcontext.c: New file.
31520 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31522 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31524 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31525 instructions into .machine "z9-109".
31526 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31527 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31529 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31531 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31532 between environment variables and auxiliary vector.
31534 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31536 * Makefile: Add rules to build linkobj/libc.so.
31537 * include/libc-symbols.h: Define libc_hidden_nolink.
31538 * include/rpc/auth.h: Mark functions which are to be hidden.
31539 * include/rpc/auth_des.h: Likewise.
31540 * include/rpc/auth_unix.h: Likewise.
31541 * include/rpc/clnt.h: Likewise.
31542 * include/rpc/des_crypt.h: Likewise.
31543 * include/rpc/key_prot.h: Likewise.
31544 * include/rpc/pmap_clnt.h: Likewise.
31545 * include/rpc/pmap_prot.h: Likewise.
31546 * include/rpc/pmap_rmt.h: Likewise.
31547 * include/rpc/rpc_msg.h: Likewise.
31548 * include/rpc/svc.h: Likewise.
31549 * include/rpc/svc_auth.h: Likewise.
31550 * include/rpc/xdr.h: Likewise.
31551 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31552 * nss/Makefile: Likewise.
31553 * sunrpc/Makefile: Don't install headers. Build library with normal
31554 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31555 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31556 for the compat linking library. Remove use of INTDEF/INTUSE.
31557 * sunrpc/auth_none.c: Likewise.
31558 * sunrpc/auth_unix.c: Likewise.
31559 * sunrpc/authdes_prot.c: Likewise.
31560 * sunrpc/authuxprot.c: Likewise.
31561 * sunrpc/clnt_gen.c: Likewise.
31562 * sunrpc/clnt_perr.c: Likewise.
31563 * sunrpc/clnt_raw.c: Likewise.
31564 * sunrpc/clnt_simp.c: Likewise.
31565 * sunrpc/clnt_tcp.c: Likewise.
31566 * sunrpc/clnt_udp.c: Likewise.
31567 * sunrpc/clnt_unix.c: Likewise.
31568 * sunrpc/des_crypt.c: Likewise.
31569 * sunrpc/des_soft.c: Likewise.
31570 * sunrpc/get_myaddr.c: Likewise.
31571 * sunrpc/key_call.c: Likewise.
31572 * sunrpc/key_prot.c: Likewise.
31573 * sunrpc/netname.c: Likewise.
31574 * sunrpc/pm_getmaps.c: Likewise.
31575 * sunrpc/pm_getport.c: Likewise.
31576 * sunrpc/pmap_clnt.c: Likewise.
31577 * sunrpc/pmap_prot.c: Likewise.
31578 * sunrpc/pmap_prot2.c: Likewise.
31579 * sunrpc/pmap_rmt.c: Likewise.
31580 * sunrpc/publickey.c: Likewise.
31581 * sunrpc/rpc_cmsg.c: Likewise.
31582 * sunrpc/rpc_common.c: Likewise.
31583 * sunrpc/rpc_dtable.c: Likewise.
31584 * sunrpc/rpc_prot.c: Likewise.
31585 * sunrpc/rpc_thread.c: Likewise.
31586 * sunrpc/rtime.c: Likewise.
31587 * sunrpc/svc.c: Likewise.
31588 * sunrpc/svc_auth.c: Likewise.
31589 * sunrpc/svc_authux.c: Likewise.
31590 * sunrpc/svc_raw.c: Likewise.
31591 * sunrpc/svc_run.c: Likewise.
31592 * sunrpc/svc_simple.c: Likewise.
31593 * sunrpc/svc_tcp.c: Likewise.
31594 * sunrpc/svc_udp.c: Likewise.
31595 * sunrpc/svc_unix.c: Likewise.
31596 * sunrpc/svcauth_des.c: Likewise.
31597 * sunrpc/xcrypt.c: Likewise.
31598 * sunrpc/xdr.c: Likewise.
31599 * sunrpc/xdr_array.c: Likewise.
31600 * sunrpc/xdr_float.c: Likewise.
31601 * sunrpc/xdr_intXX_t.c: Likewise.
31602 * sunrpc/xdr_mem.c: Likewise.
31603 * sunrpc/xdr_rec.c: Likewise.
31604 * sunrpc/xdr_ref.c: Likewise.
31605 * sunrpc/xdr_sizeof.c: Likewise.
31606 * sunrpc/xdr_stdio.c: Likewise.
31608 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31611 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31612 * sysdeps/ia64/dl-tls.h: Likewise.
31613 * sysdeps/powerpc/dl-tls.h: Likewise.
31614 * sysdeps/s390/dl-tls.h: Likewise.
31615 * sysdeps/sh/dl-tls.h: Likewise.
31616 * sysdeps/sparc/dl-tls.h: Likewise.
31617 * sysdeps/x86_64/dl-tls.h: Likewise.
31618 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31620 2011-03-14 Andreas Schwab <schwab@redhat.com>
31622 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31623 rpath element also skip the following colon.
31624 (expand_dynamic_string_token): Add is_path parameter and pass
31625 down to DL_DST_REQUIRED and _dl_dst_substitute.
31626 (decompose_rpath): Call expand_dynamic_string_token with
31627 non-zero is_path. Ignore empty rpaths.
31628 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31631 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31636 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31639 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31640 Patch by Filipe David Manana <fdmanana@apache.org>.
31642 2011-04-07 Andreas Schwab <schwab@redhat.com>
31644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31645 Maintain aligned stack.
31646 (CHECK_RSP): Remove unused macro.
31648 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31650 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31653 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31655 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31657 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31659 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31662 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31663 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31664 * sysdeps/x86_64/memmove.c: New file.
31665 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31666 (memcpy): Renamed to ...
31667 (__new_memcpy): This.
31668 (memcpy): Provide GLIBC_2_14 memcpy.
31669 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31670 (memcpy): Provide GLIBC_2_2_5 memcpy.
31672 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31675 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31677 2011-03-30 Andreas Schwab <schwab@redhat.com>
31679 * misc/syncfs.c: New file.
31680 * misc/Makefile (routines): Add syncfs.
31681 * posix/unistd.h: Declare syncfs.
31682 * sysdeps/unix/syscalls.list: Add syncfs.
31684 2011-04-01 Andreas Schwab <schwab@redhat.com>
31686 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31693 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31696 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31706 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31707 sync_file_range.c with -fexceptions.
31708 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31709 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31710 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31711 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31712 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31713 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31715 sync_file_range as cancellation point
31716 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31717 now a wrapper around __call_sync_file_range with cancellation handling.
31718 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31719 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31720 function name to __call_sync_file_range.
31721 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31722 Add call_sync_file_range.
31724 2011-04-01 Andreas Schwab <schwab@redhat.com>
31726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31729 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31731 * iconv/iconv.h: Fix typo in comment.
31732 * io/fcntl.h: Likewise.
31733 * libio/stdio.h: Likewise.
31734 * posix/spawn.h: Likewise.
31735 * posix/unistd.h: Likewise.
31736 * stdlib/stdlib.h: Likewise.
31737 * time/time.h: Likewise.
31738 * wcsmbs/wchar.h: Likewise.
31740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31741 open_by_handle): Add.
31742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31743 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31744 Augment a few comments.
31745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31750 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31753 * io/fcntl.h (AT_EMPTY_PATH): Define.
31755 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31757 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31758 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31759 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31761 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31762 * Versions.def: Add GLIBC_2.14.
31763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31766 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31772 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31775 * string/test-strncmp.c (do_page_test): New function.
31776 (check2): Likewise.
31777 (test_main): Call check2.
31778 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31780 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31783 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31784 Handle cache information in CPU leaf 4.
31785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31787 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31790 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31791 character representation.
31792 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31794 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31796 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31797 END(__isnan) to END(__isnanf) to match function entry point/label
31798 EALIGN(__isnanf,...).
31800 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31802 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31804 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31807 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31808 copy from the symbol referenced in the relocation to initialize the
31810 Patch by Piotr Bury <pbury@goahead.com>.
31811 * elf/Makefile: Add rules to build and tst-unique3.
31812 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31813 * elf/tst-unique3.cc: New file.
31814 * elf/tst-unique3.h: New file.
31815 * elf/tst-unique3lib.cc: New file.
31816 * elf/tst-unique3lib2.cc: New file.
31818 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31820 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31822 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31823 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31826 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31828 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31829 to-be-loaded object along a path to loader is ld.so.
31831 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31832 Ulrich Drepper <drepper@gmail.com>
31834 * sysdeps/x86_64/memset.S: After aligning destination, code
31835 branches to different locations depending on the value of
31836 misalignment, when multiarch is enabled. Fix this.
31838 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31840 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31841 Set _x86_64_preferred_memory_instruction for AMD processsors.
31842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31843 Set bit_Prefer_SSE_for_memop for AMD processors.
31845 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31847 * libio/fmemopen.c (fmemopen): Optimize a bit.
31849 2011-03-03 Andreas Schwab <schwab@redhat.com>
31851 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31853 2011-03-03 Roland McGrath <roland@redhat.com>
31855 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31857 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31859 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31860 __bzero_ultra1 instead of __memset_ultra1.
31862 2011-02-23 Andreas Schwab <schwab@redhat.com>
31863 Ulrich Drepper <drepper@gmail.com>
31866 * include/link.h (struct link_map): Add l_orig_initfini.
31867 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31868 returning unsuccessfully.
31869 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31870 close of a file loaded at startup, restore the original l_initfini
31872 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31873 list, store the pointer.
31874 * elf/Makefile ($(objpfx)noload-mem): New rule.
31875 (noload-ENV): Define.
31876 (tests): Add $(objpfx)noload-mem.
31877 * elf/noload.c: Include <memcheck.h>.
31878 (main): Call mtrace. Close all opened handles.
31880 2011-02-17 Andreas Schwab <schwab@redhat.com>
31883 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31884 dependencies are missing.
31886 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31888 Fix __if_freereq crash: Unlike the generic version which uses free,
31890 * sysdeps/mach/hurd/ifreq.h: New file.
31892 2011-01-27 Petr Baudis <pasky@suse.cz>
31893 Ulrich Drepper <drepper@gmail.com>
31896 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31897 to extend_alloca().
31898 * stdio-common/bug23.c: New file.
31899 * stdio-common/Makefile (tests): Add bug23.
31901 2010-09-28 Andreas Schwab <schwab@redhat.com>
31902 Ulrich Drepper <drepper@gmail.com>
31905 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31906 before performing relro protection. At old place add assertion
31907 to make sure nothing changed.
31909 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31910 Glauber de Oliveira Costa <glommer@gmail.com>
31912 * elf/elf.h: Add new ARM TLS relocs.
31914 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31917 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31919 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31921 * sysdeps/wordsize-64/tst-writev.c: New file.
31923 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31925 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31926 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31927 insns in _dl_start to prevent a TOC reference before relocs are
31930 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31933 * Makeconfig: Remove RANLIB definition.
31934 * Makerules: Don't use RANLIB.
31935 * aclocal.m4: Remove ranlib test.
31936 * configure.in: No need to check for ranlib.
31937 * elf/rtld-Rules: Don't use RANLIB.
31939 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31941 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31943 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31944 inclusion protection macro.
31946 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31947 SIGRTMIN and SIGRTMAX and print information in that case only when
31948 SIGRTMIN is defined.
31950 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31952 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31953 arginfo fn returning -1.
31955 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31956 and thousands string is zero terminated.
31958 2011-02-03 Andreas Schwab <schwab@redhat.com>
31960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31961 sysdeps/unix/sysv/linux/bits/socket.h.
31963 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31965 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31966 (__CPU_COUNT): Remove old macros.
31967 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31968 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31969 (__CPU_ALLOC, __CPU_FREE): Add macros.
31970 (__sched_cpualloc, __sched_cpufree): Add declarations.
31972 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31974 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31975 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31976 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31977 (readdhstai): Return value of addhstaiX call.
31978 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31979 (addgrbyX): Return value returned by cache_addgr.
31980 (readdgrbyname): Return value returned by addgrbyX.
31981 (readdgrbygid): Likewise.
31982 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31983 (addpwbyX): Return value returned by cache_addpw.
31984 (readdpwbyname): Return value returned by addhstbyX.
31985 (readdpwbyuid): Likewise.
31986 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31987 (addservbyX): Return value returned by cache_addserv.
31988 (readdservbyname): Return value returned by addservbyX:
31989 (readdservbyport): Likewise.
31990 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31991 (addhstbyX): Return value returned by cache_addhst.
31992 (readdhstbyname): Return value returned by addhstbyX.
31993 (readdhstbyaddr): Likewise.
31994 (readdhstbynamev6): Likewise.
31995 (readdhstbyaddrv6): Likewise.
31996 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31997 (readdinitgroups): Return value returned by addinitgroupsX.
31998 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31999 (prune_cache): Keep track of timeout value of re-added entries.
32000 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32001 * nscd/nscd.h: Adjust prototypes of readd* functions.
32003 2011-02-04 Roland McGrath <roland@redhat.com>
32005 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32006 (nis_stats): Likewise.
32007 * nis/nis_modify.c (nis_modify): Likewise.
32008 * nis/nis_remove.c (nis_remove): Likewise.
32009 * nis/nis_add.c (nis_add): Likewise.
32011 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32013 * posix/fnmatch_loop.c: Add some consts.
32015 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32017 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32020 * config.make.in (config-cflags-novzeroupper): Define.
32021 * configure.in: Substitute libc_cv_cc_novzeroupper.
32022 * elf/Makefile (AVX-CFLAGS): Define.
32023 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32024 (CFLAGS-tst-auditmod4a.c): Likewise.
32025 (CFLAGS-tst-auditmod4b.c): Likewise.
32026 (CFLAGS-tst-auditmod6b.c): Likewise.
32027 (CFLAGS-tst-auditmod6c.c): Likewise.
32028 (CFLAGS-tst-auditmod7b.c): Likewise.
32029 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32031 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32033 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32034 function to the callback.
32035 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32037 2011-02-02 Andreas Schwab <schwab@redhat.com>
32039 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32042 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32045 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32047 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32049 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32052 * elf/Makefile: Add rules to build and run new test.
32053 * elf/tst-initorder.c: New file.
32054 * elf/tst-initorder.exp: New file.
32055 * elf/tst-initordera1.c: New file.
32056 * elf/tst-initordera2.c: New file.
32057 * elf/tst-initordera3.c: New file.
32058 * elf/tst-initordera4.c: New file.
32059 * elf/tst-initorderb1.c: New file.
32060 * elf/tst-initorderb2.c: New file.
32061 * elf/tst-order-a1.c: New file.
32062 * elf/tst-order-a2.c: New file.
32063 * elf/tst-order-a3.c: New file.
32064 * elf/tst-order-a4.c: New file.
32065 * elf/tst-order-b1.c: New file.
32066 * elf/tst-order-b2.c: New file.
32067 * elf/tst-order-main.c: New file.
32068 New test case by George Gensure <werkt0@gmail.com>.
32070 2010-10-01 Andreas Schwab <schwab@redhat.com>
32072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32073 decoding ACE if AI_CANONIDN.
32075 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32077 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32079 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32081 * version.h (RELEASE): Bump for 2.13 release.
32082 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32084 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32086 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32090 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32095 * posix/getconf.c: Update copyright year.
32096 * catgets/gencat.c: Likewise.
32097 * csu/version.c: Likewise.
32098 * debug/catchsegv.sh: Likewise.
32099 * debug/xtrace.sh: Likewise.
32100 * elf/ldconfig.c: Likewise.
32101 * elf/ldd.bash.in: Likewise.
32102 * elf/sprof.c (print_version): Likewise.
32103 * iconv/iconv_prog.c: Likewise.
32104 * iconv/iconvconfig.c: Likewise.
32105 * locale/programs/locale.c: Likewise.
32106 * locale/programs/localedef.c: Likewise.
32107 * malloc/memusage.sh: Likewise.
32108 * malloc/mtrace.pl: Likewise.
32109 * nscd/nscd.c (print_version): Likewise.
32110 * nss/getent.c: Likewise.
32112 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32113 PF_CAIF, and PF_ALG.
32114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32116 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32118 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32119 (modules-names): Use them.
32120 (ifunc-test-modules, ifunc-pie-tests): Define.
32121 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32122 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32123 (test-extras): Likewise.
32124 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32125 $(compile-command.c).
32126 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32127 (all-built-dso): Define.
32128 (check-textrel.out, check-execstack.out): Depend on it.
32130 * configure.in: Don't override --enable-multi-arch.
32132 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32135 * nscd/hstcache.c (tryagain): Define.
32136 (cache_addhst): Return tryagain not notfound for temporary errors.
32137 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32140 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32144 to make the syscall.
32145 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32148 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32149 and fall back to matching as normal character if the string ends before
32150 the matching ']' is found. This is what POSIX requires.
32151 * posix/testfnm.c: Adjust test result.
32152 * posix/globtest.sh: Adjust test result. Add new test.
32153 * posix/tst-fnmatch.input: Likewise.
32154 * posix/tst-fnmatch2.c: Add new test.
32156 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32158 * elf/Makefile (check-execstack): Revert last change. Depend on
32160 (check-execstack.h): New target.
32161 (generated): Add check-execstack.h.
32162 * elf/check-execstack.c: Include "check-execstack.h".
32163 (main): Revert last change.
32164 (handle_file): Return zero if GNU_STACK is absent and
32165 DEFAULT_STACK_PERMS doesn't include PF_X.
32167 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32169 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32170 in child fails because the descriptor is already closed.
32171 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32172 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32173 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32176 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32180 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32181 temporary buffer used to handle multi lookups locally.
32182 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32184 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32186 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32189 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32191 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32192 alignment for SSE2.
32194 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32197 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32198 characters. When rounding increased number of integer digits recompute
32200 * stdio-common/tst-grouping.c: New file.
32201 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32203 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32205 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32206 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32208 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32210 * bits/select.h: Likewise.
32212 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32214 * po/ja.po: Update from translation team.
32216 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32219 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32220 implementation just like for lxstat, fxstatat, et al.
32222 2010-12-27 Jim Meyering <meyering@redhat.com>
32225 * posix/regexec.c (build_trtable): Return failure indication upon
32226 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32228 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32231 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32232 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32237 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32240 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32241 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32243 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32245 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32246 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32247 script has SORT_BY_INIT_PRIORITY.
32248 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32249 NO_CTORS_DTORS_SECTIONS is defined.
32250 * elf/soinit.c: Likewise.
32251 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32252 NO_CTORS_DTORS_SECTIONS is defined.
32253 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32254 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32255 * sysdeps/sh/init-first.c: Likewise.
32256 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32258 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32260 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32261 always use the slow path.
32263 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32265 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32266 similar rule which adds the sysdep directories to the header search in
32267 order to pick up the correct platform stackinfo.h.
32268 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32269 perform test if it is, otherwise return successfully without testing.
32270 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32271 DEFAULT_STACK_PERMS define in stackinfo.h.
32272 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32273 defined in stackinfo.h.
32274 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32275 DEFAULT_STACK_PERMS defined in stackinfo.h.
32276 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32277 * sysdeps/ia64/stackinfo.h: Likewise.
32278 * sysdeps/s390/stackinfo.h: Likewise.
32279 * sysdeps/sh/stackinfo.h: Likewise.
32280 * sysdeps/sparc/stackinfo.h: Likewise.
32281 * sysdeps/x86_64/stackinfo.h: Likewise.
32282 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32283 PF_X for powerpc64. Retain PF_X for powerpc32.
32285 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32287 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32289 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32290 GETDENTS_64BIT_ALIGNED.
32292 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32294 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32296 2010-12-10 Andreas Schwab <schwab@redhat.com>
32298 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32301 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32302 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32304 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32305 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32307 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32310 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32313 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32315 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32317 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32319 * po/it.po: Update from translation team.
32321 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32326 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32328 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32330 2010-11-24 Andreas Schwab <schwab@redhat.com>
32332 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32334 (gaih_getanswer_slice): Likewise.
32336 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32340 2010-05-31 Petr Baudis <pasky@suse.cz>
32343 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32344 silently even in the chroot mode.
32346 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32349 last patch a bit. Pretty printing
32351 2010-05-31 Petr Baudis <pasky@suse.cz>
32354 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32355 initialization of skip_initgroups_dyn.
32357 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32362 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32364 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32366 2010-11-11 Andreas Schwab <schwab@redhat.com>
32368 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32369 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32370 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32371 ($(objpfx)tst-fnmatch-mem): New rule.
32372 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32373 * posix/tst-fnmatch.c (main): Call mtrace.
32375 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32378 Support Intel processor model 6 and model 0x2c.
32380 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32385 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32388 * string/test-strncasecmp.c (check_result): New function.
32389 (do_one_test): Use it.
32390 (check1): New function.
32391 (test_main): Use it.
32392 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32393 Support strcasecmp and strncasecmp.
32395 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32398 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32401 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32403 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32407 * sysdeps/x86_64/multiarch/bzero.S: New file.
32408 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32409 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32410 * sysdeps/x86_64/multiarch/memset.S: New file.
32411 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32413 Set bit_Prefer_SSE_for_memop for Intel processors.
32414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32416 (index_Prefer_SSE_for_memop): Define.
32417 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32419 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32421 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32422 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32424 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32428 (__x86_64_raw_data_cache_size_half): Likewise.
32429 (__x86_64_raw_shared_cache_size): Likewise.
32430 (__x86_64_raw_shared_cache_size_half): Likewise.
32432 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32433 (__x86_64_raw_data_cache_size_half): Likewise.
32434 (__x86_64_raw_shared_cache_size): Likewise.
32435 (__x86_64_raw_shared_cache_size_half): Likewise.
32436 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32437 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32438 and __x86_64_raw_shared_cache_size_half. Round
32439 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32440 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32441 to multiple of 256 bytes.
32443 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32446 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32447 of inacessible symlinks. Verify result of symlink before returning it.
32448 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32449 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32451 2010-10-28 Erich Ritz <erichritz@gmail.com>
32453 * math/math.h (isinf): Fix typo in comment.
32455 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32457 * po/da.po: Update from translation team.
32459 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32461 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32462 is added to the list.
32464 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32465 Ulrich Drepper <drepper@gmail.com>
32467 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32468 the global list here. Move code to...
32469 (_dl_add_to_namespace_list): ...here. New function.
32470 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32471 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32472 * elf/dl-load.c (lose): Don't remove the element from the list.
32473 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32474 (_dl_map_object): Likewise.
32476 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32479 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32480 into all bytes of SSE register.
32481 Patch by Richard Li <richardpku@gmail.com>.
32483 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32486 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32489 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32491 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32492 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32499 2010-10-22 Andreas Schwab <schwab@redhat.com>
32501 * include/dlfcn.h (__RTLD_SECURE): Define.
32502 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32503 mode & __RTLD_SECURE instead.
32504 (open_path): Rename preloaded parameter to secure.
32505 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32506 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32507 * elf/dl-deps.c (openaux): Likewise.
32508 * elf/rtld.c (struct map_args): Remove is_preloaded.
32509 (map_doit): Don't use it.
32510 (dl_main): Likewise.
32511 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32512 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32514 2010-09-09 Andreas Schwab <schwab@redhat.com>
32516 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32517 (sysd-rules-targets): Remove duplicates.
32518 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32519 rtld-%.$o dependency.
32521 2010-10-18 Andreas Schwab <schwab@redhat.com>
32523 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32524 _dl_map_object do it.
32526 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32528 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32529 fast fma builtins, define the macros in the C99 standard.
32530 (FP_FAST_FMAF): Likewise.
32531 (FP_FAST_FMAL): Likewise.
32532 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32534 * bits/mathdef.h: Update copyright year.
32535 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32537 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32539 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32540 builtins, define the macros in the C99 standard.
32541 (FP_FAST_FMAF): Likewise.
32542 (FP_FAST_FMAL): Likewise.
32543 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32545 (FP_FAST_FMAF): Likewise.
32547 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32550 * math/libm-test.inc (fma_test): Some new testcases.
32551 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32553 y and infinite z. Do multiplication by C already in long double.
32554 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32556 y and infinite z. Do bitwise or of inexact bit into u.d.
32557 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32558 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32559 * sysdeps/i386/fpu/s_fma.S: Removed.
32560 * sysdeps/i386/fpu/s_fmal.S: Removed.
32562 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32565 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32567 computation is not scheduled after fetestexcept. Fix value
32568 of minimum denormal long double.
32570 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32573 * math/libm-test.inc (fma_test): Add some more tests.
32574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32577 2010-10-15 Andreas Schwab <schwab@redhat.com>
32579 * scripts/data/localplt-s390-linux-gnu.data: New file.
32580 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32582 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32585 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32586 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32588 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32590 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32592 if one of x and y is very large and the other is subnormal.
32593 * sysdeps/s390/fpu/s_fmaf.c: New file.
32594 * sysdeps/s390/fpu/s_fma.c: New file.
32595 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32596 * sysdeps/powerpc/fpu/s_fma.S: New file.
32597 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32598 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32599 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32601 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32604 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32607 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32608 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32609 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32610 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32611 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32614 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32617 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32618 * posix/bug-regex31.input: Add test case.
32620 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32622 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32623 * posix/bug-regex31.input: New file.
32626 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32627 (parse_sub_exp): Fix last change, use postorder.
32629 * posix/bug-regex31.c: New file.
32630 * posix/Makefile: Add rules to build and run bug-regex31.
32632 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32635 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32638 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32639 to have entries in sys_siglist.
32642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32645 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32648 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32649 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32650 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32651 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32653 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32654 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32655 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32656 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32657 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32658 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32659 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32661 * math/ftestexcept.c (fetestexcept): Likewise.
32662 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32663 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32664 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32665 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32666 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32667 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32670 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32673 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32676 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32678 * string/bug-strstr1.c: New file.
32679 * string/Makefile: Add rules to build and run bug-strstr1.
32681 2010-10-05 Eric Blake <eblake@redhat.com>
32684 * string/str-two-way.h (two_way_long_needle): Always clear memory
32685 when skipping input due to the shift table.
32687 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32690 * malloc/mcheck.c: Handle large requests.
32693 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32694 for strncmp and strncasecmp.
32695 * string/stratcliff.c: Add tests for strcmp and strncmp.
32696 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32698 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32700 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32703 2010-09-30 Andreas Jaeger <aj@suse.de>
32705 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32706 (CGROUP_SUPER_MAGIC): Define.
32707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32708 Handle btrfs and cgroup file systems.
32709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32712 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32714 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32715 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32717 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32720 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32721 trying to locate the ELF header.
32723 2010-09-27 Andreas Schwab <schwab@redhat.com>
32726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32727 Mask out sign-bit copies when constructing f_fsid.
32729 2010-09-24 Petr Baudis <pasky@suse.cz>
32731 * debug/stack_chk_fail_local.c: Add missing licence exception.
32732 * debug/warning-nop.c: Likewise.
32734 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32736 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32737 implementing getdents64 using getdents syscall, set d_type if
32738 __ASSUME_GETDENTS32_D_TYPE.
32740 2010-09-16 Andreas Schwab <schwab@redhat.com>
32742 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32743 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32745 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32748 * posix/unistd.h: Undo change of feature selection for ftruncate from
32751 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32753 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32756 2010-09-20 Andreas Schwab <schwab@redhat.com>
32758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32762 2010-09-14 Andreas Schwab <schwab@redhat.com>
32764 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32765 variables after CHECK_SP call.
32766 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32768 2010-09-13 Andreas Schwab <schwab@redhat.com>
32769 Ulrich Drepper <drepper@redhat.com>
32771 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32772 re-relocationg ld.so.
32773 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32774 _dl_init_paths call.
32775 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32778 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32780 * resolv/res_init.c (__res_vinit): Count the default server we added.
32782 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32783 Ulrich Drepper <drepper@redhat.com>
32786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32787 (____longjmp_chk): Use %ebx for saving value across system call.
32790 2010-09-06 Andreas Schwab <schwab@redhat.com>
32792 * manual/Makefile: Don't mix pattern rules with normal rules.
32794 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32796 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32798 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32799 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32800 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32801 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32805 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32808 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32809 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32811 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32813 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32814 * sysdeps/x86_64/addmul_1.S: Likewise.
32815 * sysdeps/x86_64/lshift.S: Likewise.
32816 * sysdeps/x86_64/mul_1.S: Likewise.
32817 * sysdeps/x86_64/rshift.S: Likewise.
32818 * sysdeps/x86_64/sub_n.S: Likewise.
32819 * sysdeps/x86_64/submul_1.S: Likewise.
32821 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32823 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32824 Define __sched_param instead of SCHED_* and sched_param when
32825 <bits/sched.h> is included with __need_schedparam defined.
32826 * bits/sched.h [__need_schedparam]
32827 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32828 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32829 (__defined_schedparam): Define to 1.
32830 (__sched_param): New structure, identical to sched_param.
32831 (__need_schedparam): Undefine.
32833 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32836 (epoll_create1): Declare.
32838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32840 2010-08-31 Andreas Schwab <schwab@redhat.com>
32843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32844 shifting retval into place.
32846 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32848 * nis/rpcsvc/nis.h: Update copyright notice.
32849 * nis/rpcsvc/nis.x: Likewise.
32850 * nis/rpcsvc/nis_callback.h: Likewise.
32851 * nis/rpcsvc/nis_callback.x: Likewise.
32852 * nis/rpcsvc/nis_object.x: Likewise.
32853 * nis/rpcsvc/nis_tags.h: Likewise.
32854 * nis/rpcsvc/yp.h: Likewise.
32855 * nis/rpcsvc/yp.x: Likewise.
32856 * nis/rpcsvc/ypupd.h: Likewise.
32857 * nis/yp_xdr.c: Likewise.
32858 * nis/ypupdate_xdr.c: Likewise.
32860 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32861 mainly the body of pmap_getport. Add parameters to specify timeouts.
32862 (pmap_getport): Use __libc_rpc_getport.
32863 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32864 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32865 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32867 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32872 2010-08-27 Roland McGrath <roland@redhat.com>
32874 * sysdeps/i386/i686/multiarch/Makefile
32875 (CFLAGS-varshift.c): New variable.
32877 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32879 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32880 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32884 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32886 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32888 * sysdeps/x86_64/strlen.S: Unroll the loop.
32889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32890 strlen-sse2 strlen-sse2-bsf.
32891 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32892 __strlen_no_bsf if bit_Slow_BSF is set.
32893 (__strlen_sse42): Removed.
32894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32895 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32897 2010-08-25 Roland McGrath <roland@redhat.com>
32899 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32900 * sysdeps/x86_64/multiarch/varshift.c: New file.
32901 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32902 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32903 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32906 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32909 strlen-sse2 strlen-sse2-bsf.
32910 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32911 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32912 (__strlen_sse2): Removed.
32913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32916 bit_Slow_BSF for Atom.
32917 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32918 (index_Slow_BSF): Define.
32919 (HAS_SLOW_BSF): Define.
32921 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32924 * resolv/res_init.c (__res_vinit): When no server address at all
32925 is given default to loopback.
32927 2010-08-24 Roland McGrath <roland@redhat.com>
32929 * configure.in: Remove config-name.h generation.
32930 * configure: Regenerated.
32931 * config-name.in: File removed.
32932 * scripts/config-uname.sh: New file.
32933 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32934 ($(objdir)config-name.h): New target.
32936 * sunrpc/rpc_parse.h: Avoid nested comment.
32938 2010-08-24 Richard Henderson <rth@redhat.com>
32939 Ulrich Drepper <drepper@redhat.com>
32940 H.J. Lu <hongjiu.lu@intel.com>
32942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32944 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32945 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32946 _mm_alignr_epi8 with _mm_loadu_si128.
32947 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32948 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32949 (__m128i_shift_right): Removed.
32950 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32951 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32952 * sysdeps/x86_64/multiarch/varshift.h: New file.
32953 * sysdeps/x86_64/multiarch/varshift.S: New file.
32955 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32957 * configure.in: Move assembler checks to before sysdep dir checking.
32959 2010-08-20 Petr Baudis <pasky@suse.cz>
32961 * LICENSES: Sync the sunrpc license.
32963 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32965 * sunrpc/auth_des.c: Update copyright notice once again.
32966 * sunrpc/auth_none.c: Likewise.
32967 * sunrpc/auth_unix.c: Likewise.
32968 * sunrpc/authdes_prot.c: Likewise.
32969 * sunrpc/authuxprot.c: Likewise.
32970 * sunrpc/bindrsvprt.c: Likewise.
32971 * sunrpc/clnt_gen.c: Likewise.
32972 * sunrpc/clnt_perr.c: Likewise.
32973 * sunrpc/clnt_raw.c: Likewise.
32974 * sunrpc/clnt_simp.c: Likewise.
32975 * sunrpc/clnt_tcp.c: Likewise.
32976 * sunrpc/clnt_udp.c: Likewise.
32977 * sunrpc/clnt_unix.c: Likewise.
32978 * sunrpc/des_crypt.c: Likewise.
32979 * sunrpc/des_soft.c: Likewise.
32980 * sunrpc/get_myaddr.c: Likewise.
32981 * sunrpc/getrpcport.c: Likewise.
32982 * sunrpc/key_call.c: Likewise.
32983 * sunrpc/key_prot.c: Likewise.
32984 * sunrpc/openchild.c: Likewise.
32985 * sunrpc/pm_getmaps.c: Likewise.
32986 * sunrpc/pm_getport.c: Likewise.
32987 * sunrpc/pmap_clnt.c: Likewise.
32988 * sunrpc/pmap_prot.c: Likewise.
32989 * sunrpc/pmap_prot2.c: Likewise.
32990 * sunrpc/pmap_rmt.c: Likewise.
32991 * sunrpc/rpc/auth.h: Likewise.
32992 * sunrpc/rpc/auth_unix.h: Likewise.
32993 * sunrpc/rpc/clnt.h: Likewise.
32994 * sunrpc/rpc/des_crypt.h: Likewise.
32995 * sunrpc/rpc/key_prot.h: Likewise.
32996 * sunrpc/rpc/netdb.h: Likewise.
32997 * sunrpc/rpc/pmap_clnt.h: Likewise.
32998 * sunrpc/rpc/pmap_prot.h: Likewise.
32999 * sunrpc/rpc/pmap_rmt.h: Likewise.
33000 * sunrpc/rpc/rpc.h: Likewise.
33001 * sunrpc/rpc/rpc_des.h: Likewise.
33002 * sunrpc/rpc/rpc_msg.h: Likewise.
33003 * sunrpc/rpc/svc.h: Likewise.
33004 * sunrpc/rpc/svc_auth.h: Likewise.
33005 * sunrpc/rpc/types.h: Likewise.
33006 * sunrpc/rpc/xdr.h: Likewise.
33007 * sunrpc/rpc_clntout.c: Likewise.
33008 * sunrpc/rpc_cmsg.c: Likewise.
33009 * sunrpc/rpc_common.c: Likewise.
33010 * sunrpc/rpc_cout.c: Likewise.
33011 * sunrpc/rpc_dtable.c: Likewise.
33012 * sunrpc/rpc_hout.c: Likewise.
33013 * sunrpc/rpc_main.c: Likewise.
33014 * sunrpc/rpc_parse.c: Likewise.
33015 * sunrpc/rpc_parse.h: Likewise.
33016 * sunrpc/rpc_prot.c: Likewise.
33017 * sunrpc/rpc_sample.c: Likewise.
33018 * sunrpc/rpc_scan.c: Likewise.
33019 * sunrpc/rpc_scan.h: Likewise.
33020 * sunrpc/rpc_svcout.c: Likewise.
33021 * sunrpc/rpc_tblout.c: Likewise.
33022 * sunrpc/rpc_util.c: Likewise.
33023 * sunrpc/rpc_util.h: Likewise.
33024 * sunrpc/rpcinfo.c: Likewise.
33025 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33026 * sunrpc/rpcsvc/key_prot.x: Likewise.
33027 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33028 * sunrpc/rpcsvc/mount.x: Likewise.
33029 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33030 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33031 * sunrpc/rpcsvc/rex.x: Likewise.
33032 * sunrpc/rpcsvc/rstat.x: Likewise.
33033 * sunrpc/rpcsvc/rusers.x: Likewise.
33034 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33035 * sunrpc/rpcsvc/spray.x: Likewise.
33036 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33037 * sunrpc/rtime.c: Likewise.
33038 * sunrpc/svc.c: Likewise.
33039 * sunrpc/svc_auth.c: Likewise.
33040 * sunrpc/svc_authux.c: Likewise.
33041 * sunrpc/svc_raw.c: Likewise.
33042 * sunrpc/svc_run.c: Likewise.
33043 * sunrpc/svc_simple.c: Likewise.
33044 * sunrpc/svc_tcp.c: Likewise.
33045 * sunrpc/svc_udp.c: Likewise.
33046 * sunrpc/svc_unix.c: Likewise.
33047 * sunrpc/svcauth_des.c: Likewise.
33048 * sunrpc/xcrypt.c: Likewise.
33049 * sunrpc/xdr.c: Likewise.
33050 * sunrpc/xdr_array.c: Likewise.
33051 * sunrpc/xdr_float.c: Likewise.
33052 * sunrpc/xdr_mem.c: Likewise.
33053 * sunrpc/xdr_rec.c: Likewise.
33054 * sunrpc/xdr_ref.c: Likewise.
33055 * sunrpc/xdr_sizeof.c: Likewise.
33056 * sunrpc/xdr_stdio.c: Likewise.
33058 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33061 2010-08-19 Andreas Schwab <schwab@redhat.com>
33063 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33065 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33067 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33068 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33070 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33071 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33072 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33073 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33074 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33076 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33077 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33079 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33080 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33082 2010-07-26 Anton Blanchard <anton@samba.org>
33084 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33085 * malloc/arena.c (heap_trim): Likewise.
33087 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33089 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33092 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33094 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33096 * sysdeps/i386/elf/Makefile: New file.
33098 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33100 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33101 from fanotify_init.
33102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33105 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33107 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33109 * sysdeps/multiarch/strcmp.S: Likewise.
33111 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33114 strncase_l-nonascii.
33115 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33116 Add strncase_l-ssse3.
33117 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33118 * sysdeps/x86_64/strcmp.S: Likewise.
33119 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33120 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33121 * sysdeps/x86_64/strncase.S: New file.
33122 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33123 * sysdeps/x86_64/strncase_l.S: New file.
33124 * string/Makefile (strop-tests): Add strncasecmp.
33125 * string/test-strncasecmp.c: New file.
33127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33130 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33135 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33137 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33139 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33143 2010-05-01 Alan Modra <amodra@gmail.com>
33145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33146 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33147 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33148 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33149 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33150 tidying. Don't tail-call __sigjmp_save for static lib.
33151 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33153 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33154 (CALL_MCOUNT): Add eh info, and nop after bl.
33155 (TAIL_CALL_SYSCALL_ERROR): New macro.
33156 (PSEUDO_RET): Use it.
33157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33158 Correct save location of integer regs and cr.
33159 (_dl_profile_resolve): Correct cr save location. Delete nops
33160 after bl when SHARED. Reduce cfi size a little by better
33161 placement of cfi directives.
33162 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33163 make a stack frame. Instead use parm save area as a temp.
33164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33165 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33167 Don't make a stack frame for parent, use parm save area.
33168 Increase child stack frame to 112 bytes. Don't save unused reg,
33169 and adjust reg usage. Set up cfi on error recovery and
33170 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33172 (__makecontext): Add dummy nop after jump to exit.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33174 Use correct parm save area and cr save, reduce stack frame.
33175 Correct cfi for possible PSEUDO_RET frame setup.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33177 Branch to local label emitted by PSEUDO_RET rather than
33180 2010-08-12 Andreas Schwab <schwab@redhat.com>
33183 * locale/programs/locale.c (print_assignment): New function.
33184 (show_locale_vars): Use it.
33186 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33188 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33190 (struct statfs64): Likewise.
33191 (_STATFS_F_FLAGS): Define.
33192 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33194 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33195 (ST_VALID): Define locally.
33196 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33197 __statvfs_getflags, use the provided value.
33198 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33199 __ASSUME_STATFS_F_FLAGS.
33201 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33204 Add sys/fanotify.h.
33205 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33206 fanotify_mask for GLIBC_2.13.
33207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33208 fanotify_init and fanotify_mark.
33209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33210 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33214 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33215 prlimit64 for GLIBC_2.13.
33216 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33222 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33223 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33226 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33229 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33230 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33232 * nss/Makefile: Add rules to build and run tst-nss-test1.
33233 * shlib-versions: Add entry for libnss_test1.
33234 * nss/nss_test1.c: New file.
33235 * nss/tst-nss-test1.c: New file.
33237 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33238 (__nss_configure_lookup): Set appropriate entry in
33239 __nss_configure_lookup to true.
33240 * nss/nsswitch.h: Define enum with indeces of databases in
33241 databases and __nss_database_custom arrays. Declare
33242 __nss_database_custom.
33243 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33244 to avoid using nscd when custom rules are installed.
33245 * nss/getXXbyYY_r.c: Likewise.
33246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33248 * nss/nss_files/files-parse.c: Whitespace fixes.
33250 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33253 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33254 * posix/fnmatch_loop.c: Likewise.
33256 2010-07-17 Andi Kleen <ak@linux.intel.com>
33258 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33259 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33260 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33261 * Versions.def [GLIBC_2.13]: Add.
33263 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33266 Also fail if tpwd after pwuid call is NULL.
33268 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33270 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33271 when converting to ms.
33273 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33275 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33276 EOPNOTSUPP errors with ENOTTY.
33277 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33278 EOPNOTSUPP errors with ENOTTY.
33280 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33283 Add strcasecmp_l-ssse3.
33284 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33286 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33290 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33292 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33294 * string/Makefile (strop-tests): Add strcasecmp.
33295 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33296 strcasecmp_l-nonascii.
33297 (gen-as-const-headers): Add locale-defines.sym.
33298 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33299 * sysdeps/x86_64/strcasecmp.S: New file.
33300 * sysdeps/x86_64/strcasecmp_l.S: New file.
33301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33302 * sysdeps/x86_64/locale-defines.sym: New file.
33303 * string/test-strcasecmp.c: New file.
33305 * string/test-strcasestr.c: Test both ends of the range of characters.
33306 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33308 2010-07-29 Roland McGrath <roland@redhat.com>
33311 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33313 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33318 2010-07-27 Andreas Schwab <schwab@redhat.com>
33320 * manual/memory.texi (Malloc Tunable Parameters): Document
33323 2010-07-26 Roland McGrath <roland@redhat.com>
33326 * configure.in (-fgnu89-inline check): Set and substitute
33327 gnu89_inline, not libc_cv_gnu89_inline.
33328 * configure: Regenerated.
33329 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33331 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33333 * string/test-strnlen.c: New file.
33334 * string/Makefile (strop-tests): Add strnlen.
33335 * string/tester.c (test_strnlen): Add a few more test cases.
33336 * string/tst-strlen.c: Better error reporting.
33338 * sysdeps/x86_64/strnlen.S: New file.
33340 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33343 lower-latency instructions.
33345 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33347 * string/test-strcasestr.c: New file.
33348 * string/test-strstr.c: New file.
33349 * string/Makefile (strop-tests): Add strstr and strcasestr.
33350 * string/str-two-way.h: Don't undefine MAX.
33351 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33353 2010-07-21 Andreas Schwab <schwab@redhat.com>
33355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33356 strcasestr-nonascii.
33357 (CFLAGS-strcasestr-nonascii.c): Define.
33358 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33359 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33360 Remove unused attribute.
33362 2010-07-20 Roland McGrath <roland@redhat.com>
33364 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33365 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33366 ld.so.cache was broken. With it, there is no way to disable dsocaps
33367 like LD_HWCAP_MASK can disable hwcaps.
33369 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33371 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33373 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33375 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33376 call in strcasestr.
33377 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33378 __strcasestr_sse42_nonascii.
33379 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33380 strcasestr-nonascii.c.
33381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33383 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33387 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33390 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33395 2010-07-06 Andreas Schwab <schwab@redhat.com>
33398 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33401 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33404 _PC_PIPE_BUF using F_GETPIPE_SZ.
33406 2010-07-05 Roland McGrath <roland@redhat.com>
33408 * manual/arith.texi (Rounding Functions): Fix rint description
33409 implicit in round description.
33411 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33413 * elf/Makefile: Fix linking for a few tests to make recent linker
33416 2010-06-30 Andreas Schwab <schwab@redhat.com>
33418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33419 $(common-objpfx)libc_nonshared.a.
33421 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33423 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33424 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33425 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33426 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33427 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33428 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33429 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33445 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33446 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33447 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33448 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33449 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33450 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33451 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33452 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33453 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33454 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33455 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33456 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33472 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33474 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33475 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33476 * string/memmove.c (memmove): Renamed to ...
33477 (MEMMOVE): ...this. Default to memmove.
33478 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33479 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33482 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33483 mempcpy-ssse3-back memmove-ssse3-back.
33484 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33487 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33488 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33489 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33490 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33491 * sysdeps/x86_64/multiarch/memmove.c: New file.
33492 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33493 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33494 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33495 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33496 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33499 (index_Fast_Copy_Backward): Define.
33500 (HAS_ARCH_FEATURE): Define.
33501 (HAS_FAST_REP_STRING): Define.
33502 (HAS_FAST_COPY_BACKWARD): Define.
33504 2010-06-21 Andreas Schwab <schwab@redhat.com>
33506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33507 Restore proper fallback handling.
33509 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33512 * posix/group_member.c (__group_member): Correct checking loop.
33514 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33515 OOM in getpwuid_r correctly. Return error number when the caller
33516 should return, otherwise -1.
33517 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33518 call returning > 0 value.
33519 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33521 2010-06-07 Andreas Schwab <schwab@redhat.com>
33523 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33524 libc_nonshared.a from targets in modules-names.
33526 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33528 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33531 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33535 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33538 2010-06-02 Andreas Schwab <schwab@redhat.com>
33540 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33542 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33551 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33553 2010-06-14 Roland McGrath <roland@redhat.com>
33555 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33557 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33559 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33560 __REDIRECT followed by __THROW.
33561 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33562 * posix/getopt.h (getopt): Likewise.
33564 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33566 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33567 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33568 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33570 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33571 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33573 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33577 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33581 Properly check family and model.
33583 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33587 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33589 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33591 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33593 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33596 2010-05-19 Andreas Schwab <schwab@redhat.com>
33598 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33601 2010-05-21 Andreas Schwab <schwab@redhat.com>
33603 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33604 and internal_recvmmsg.
33605 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33606 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33607 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33608 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33610 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33611 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33612 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33614 2010-05-20 Andreas Schwab <schwab@redhat.com>
33616 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33618 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33620 POWER7 optimizations.
33621 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33622 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33624 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33626 * version.h: Update for 2.13 development version.
33628 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33631 exceptions. Return 0.
33633 2010-05-07 Roland McGrath <roland@redhat.com>
33635 * elf/ldconfig.c (main): Add a const.
33637 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33639 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33640 (args_options): Add no-idn option.
33641 (ahosts_keys_int): Add idn_flags to ai_flags.
33642 (parse_option): Handle 'i' option to clear idn_flags.
33644 * malloc/malloc.c (_int_free): Possible race in the most recently
33645 added check. Only act on the data if no current modification
33648 See ChangeLog.17 for earlier changes.