1 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * benchtests/bench-modf.c (struct args): Mark arg0 as
6 * scripts/bench.pl: Mark members of struct args as volatile.
8 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11 negative infinity on POWER6 or lower.
12 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21 (_FP_SETQNAN): New macro.
22 (_FP_SETQNAN_SEMIRAW): Likewise.
23 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26 (FP_EXTEND): Use _FP_FRAC_SNANP.
27 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
38 with DIVIDE_BY_ZERO_EXCEPTION.
39 (gamma_test_data): Likewise.
40 (lgamma_test_data): Likewise.
41 (log_test_data): Likewise.
42 (log10_test_data): Likewise.
43 (log2_test_data): Likewise.
44 (tgamma_test_data): Likewise.
46 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47 (acos_test_tonearest): Likewise.
48 (acos_test_towardzero): Likewise.
49 (acos_test_downward): Likewise.
50 (acos_test_upward): Likewise.
51 (acosh_test): Likewise.
52 (asin_test): Likewise.
53 (asin_test_tonearest): Likewise.
54 (asin_test_towardzero): Likewise.
55 (asin_test_downward): Likewise.
56 (asin_test_upward): Likewise.
57 (asinh_test): Likewise.
58 (atan_test): Likewise.
59 (atanh_test): Likewise.
60 (atan2_test): Likewise.
61 (cabs_test): Likewise.
62 (cacos_test): Likewise.
63 (cacosh_test): Likewise.
64 (casin_test): Likewise.
65 (casinh_test): Likewise.
66 (catan_test): Likewise.
67 (catanh_test): Likewise.
68 (cbrt_test): Likewise.
69 (ccos_test): Likewise.
70 (ccosh_test): Likewise.
71 (cexp_test): Likewise.
72 (clog_test): Likewise.
73 (clog10_test): Likewise.
75 (cos_test_tonearest): Likewise.
76 (cos_test_towardzero): Likewise.
77 (cos_test_downward): Likewise.
78 (cos_test_upward): Likewise.
79 (cosh_test): Likewise.
80 (cosh_test_tonearest): Likewise.
81 (cosh_test_towardzero): Likewise.
82 (cosh_test_downward): Likewise.
83 (cosh_test_upward): Likewise.
84 (cpow_test): Likewise.
85 (csin_test): Likewise.
86 (csinh_test): Likewise.
87 (csqrt_test): Likewise.
88 (ctan_test): Likewise.
89 (ctan_test_tonearest): Likewise.
90 (ctan_test_towardzero): Likewise.
91 (ctan_test_downward): Likewise.
92 (ctan_test_upward): Likewise.
93 (ctanh_test): Likewise.
94 (ctanh_test_tonearest): Likewise.
95 (ctanh_test_towardzero): Likewise.
96 (ctanh_test_downward): Likewise.
97 (ctanh_test_upward): Likewise.
99 (erfc_test): Likewise.
100 (exp_test): Likewise.
101 (exp_test_tonearest): Likewise.
102 (exp_test_towardzero): Likewise.
103 (exp_test_downward): Likewise.
104 (exp_test_upward): Likewise.
105 (exp10_test): Likewise.
106 (exp2_test): Likewise.
107 (expm1_test): Likewise.
108 (fmod_test): Likewise.
109 (gamma_test): Likewise.
110 (hypot_test): Likewise.
114 (lgamma_test): Likewise.
115 (log_test): Likewise.
116 (log10_test): Likewise.
117 (log1p_test): Likewise.
118 (log2_test): Likewise.
119 (logb_test_downward): Likewise.
120 (pow_test): Likewise.
121 (pow_test_tonearest): Likewise.
122 (pow_test_towardzero): Likewise.
123 (pow_test_downward): Likewise.
124 (pow_test_upward): Likewise.
125 (remainder_test): Likewise.
126 (remquo_test): Likewise.
127 (sin_test): Likewise.
128 (sin_test_tonearest): Likewise.
129 (sin_test_towardzero): Likewise.
130 (sin_test_downward): Likewise.
131 (sin_test_upward): Likewise.
132 (sincos_test): Likewise.
133 (sinh_test): Likewise.
134 (sinh_test_tonearest): Likewise.
135 (sinh_test_towardzero): Likewise.
136 (sinh_test_downward): Likewise.
137 (sinh_test_upward): Likewise.
138 (sqrt_test): Likewise.
139 (tan_test): Likewise.
140 (tan_test_tonearest): Likewise.
141 (tan_test_towardzero): Likewise.
142 (tan_test_downward): Likewise.
143 (tan_test_upward): Likewise.
144 (tanh_test): Likewise.
145 (tgamma_test): Likewise.
150 * math/gen-libm-test.pl (adjust_arg): Remove function.
151 (special_function): Remove argument $in_func. Only handle
152 generating output for tables of tests, not inside functions.
153 (parse_args): Likewise.
154 (generate_testfile): Remove variable $in_func. Update call to
156 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
157 (MINUS_ZERO_INIT): Rename macro to minus_zero.
158 (PLUS_INFTY_INIT): Rename macro to plus_infty.
159 (MINUS_INFTY_INIT): Rename macro to minus_infty.
160 (QNAN_VALUE_INIT): Rename macro to qnan_value.
161 (MAX_VALUE_INIT): Rename macro to max_value.
162 (MIN_VALUE_INIT): Rename macro to min_value.
163 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
164 (plus_zero): Remove variable.
165 (minus_zero): Likewise.
166 (plus_infty): Likewise.
167 (minus_infty): Likewise.
168 (qnan_value): Likewise.
169 (max_value): Likewise.
170 (min_value): Likewise.
171 (min_subnorm_value): Likewise.
173 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
175 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
176 uint64_t or uint32_t usage.
177 * crypt/sha256-block.c: Likewise.
178 * crypt/sha256-crypt.c: Likewise.
179 * crypt/sha256.c: Likewise.
180 * crypt/sha512-block.c: Likewise.
181 * crypt/sha512-crypt.c: Likewise.
182 * crypt/sha512.c: Likewise.
183 * debug/backtrace-tst.c: Likewise.
184 * debug/pcprofiledump.c: Likewise.
185 * elf/cache.c: Likewise.
186 * elf/dl-cache.c: Likewise.
187 * elf/dl-misc.c: Likewise.
188 * elf/dl-profile.c: Likewise.
189 * elf/dl-support.c: Likewise.
190 * elf/ldconfig.c: Likewise.
191 * elf/sprof.c: Likewise.
192 * iconv/dummy-repertoire.c: Likewise.
193 * iconv/iconv_charmap.c: Likewise.
194 * iconv/skeleton.c: Likewise.
195 * iconvdata/8bit-generic.c: Likewise.
196 * iconvdata/cp737.h: Likewise.
197 * iconvdata/cp775.h: Likewise.
198 * iconvdata/ibm1008.h: Likewise.
199 * iconvdata/ibm1025.h: Likewise.
200 * iconvdata/ibm1046.h: Likewise.
201 * iconvdata/ibm1097.h: Likewise.
202 * iconvdata/ibm1112.h: Likewise.
203 * iconvdata/ibm1122.h: Likewise.
204 * iconvdata/ibm1123.h: Likewise.
205 * iconvdata/ibm1124.h: Likewise.
206 * iconvdata/ibm1129.h: Likewise.
207 * iconvdata/ibm1130.h: Likewise.
208 * iconvdata/ibm1132.h: Likewise.
209 * iconvdata/ibm1133.h: Likewise.
210 * iconvdata/ibm1137.h: Likewise.
211 * iconvdata/ibm1140.h: Likewise.
212 * iconvdata/ibm1141.h: Likewise.
213 * iconvdata/ibm1142.h: Likewise.
214 * iconvdata/ibm1143.h: Likewise.
215 * iconvdata/ibm1144.h: Likewise.
216 * iconvdata/ibm1145.h: Likewise.
217 * iconvdata/ibm1146.h: Likewise.
218 * iconvdata/ibm1147.h: Likewise.
219 * iconvdata/ibm1148.h: Likewise.
220 * iconvdata/ibm1149.h: Likewise.
221 * iconvdata/ibm1153.h: Likewise.
222 * iconvdata/ibm1154.h: Likewise.
223 * iconvdata/ibm1155.h: Likewise.
224 * iconvdata/ibm1156.h: Likewise.
225 * iconvdata/ibm1157.h: Likewise.
226 * iconvdata/ibm1158.h: Likewise.
227 * iconvdata/ibm1160.h: Likewise.
228 * iconvdata/ibm1161.h: Likewise.
229 * iconvdata/ibm1162.h: Likewise.
230 * iconvdata/ibm1163.h: Likewise.
231 * iconvdata/ibm1164.h: Likewise.
232 * iconvdata/ibm1166.h: Likewise.
233 * iconvdata/ibm1167.h: Likewise.
234 * iconvdata/ibm12712.h: Likewise.
235 * iconvdata/ibm1390.h: Likewise.
236 * iconvdata/ibm1399.h: Likewise.
237 * iconvdata/ibm16804.h: Likewise.
238 * iconvdata/ibm4517.h: Likewise.
239 * iconvdata/ibm4899.h: Likewise.
240 * iconvdata/ibm4909.h: Likewise.
241 * iconvdata/ibm4971.h: Likewise.
242 * iconvdata/ibm5347.h: Likewise.
243 * iconvdata/ibm803.h: Likewise.
244 * iconvdata/ibm856.h: Likewise.
245 * iconvdata/ibm901.h: Likewise.
246 * iconvdata/ibm902.h: Likewise.
247 * iconvdata/ibm9030.h: Likewise.
248 * iconvdata/ibm9066.h: Likewise.
249 * iconvdata/ibm921.h: Likewise.
250 * iconvdata/ibm922.h: Likewise.
251 * iconvdata/ibm9448.h: Likewise.
252 * iconvdata/isiri-3342.h: Likewise.
253 * iconvdata/jis0201.h: Likewise.
254 * include/link.h: Likewise.
255 * include/netdb.h: Likewise.
256 * inet/check_native.c: Likewise.
257 * inet/check_pf.c: Likewise.
258 * inet/getipv4sourcefilter.c: Likewise.
259 * inet/getnameinfo.c: Likewise.
260 * inet/getsourcefilter.c: Likewise.
261 * inet/htonl.c: Likewise.
262 * inet/setipv4sourcefilter.c: Likewise.
263 * inet/setsourcefilter.c: Likewise.
264 * inet/test-inet6_opt.c: Likewise.
265 * inet/tst-network.c: Likewise.
266 * locale/C-collate.c: Likewise.
267 * locale/C-ctype.c: Likewise.
268 * locale/C-time.c: Likewise.
269 * locale/C-translit.h: Likewise.
270 * locale/loadarchive.c: Likewise.
271 * locale/programs/3level.h: Likewise.
272 * locale/programs/charmap.c: Likewise.
273 * locale/programs/charmap.h: Likewise.
274 * locale/programs/ld-address.c: Likewise.
275 * locale/programs/ld-collate.c: Likewise.
276 * locale/programs/ld-ctype.c: Likewise.
277 * locale/programs/ld-identification.c: Likewise.
278 * locale/programs/ld-measurement.c: Likewise.
279 * locale/programs/ld-messages.c: Likewise.
280 * locale/programs/ld-monetary.c: Likewise.
281 * locale/programs/ld-name.c: Likewise.
282 * locale/programs/ld-numeric.c: Likewise.
283 * locale/programs/ld-paper.c: Likewise.
284 * locale/programs/ld-telephone.c: Likewise.
285 * locale/programs/ld-time.c: Likewise.
286 * locale/programs/linereader.c: Likewise.
287 * locale/programs/locale.c: Likewise.
288 * locale/programs/locarchive.c: Likewise.
289 * locale/programs/locfile.h: Likewise.
290 * locale/programs/repertoire.c: Likewise.
291 * locale/programs/simple-hash.c: Likewise.
292 * locale/programs/simple-hash.h: Likewise.
293 * malloc/memusage.c: Likewise.
294 * malloc/memusagestat.c: Likewise.
295 * nis/nis_defaults.c: Likewise.
296 * nis/nis_hash.c: Likewise.
297 * nis/nis_print.c: Likewise.
298 * nis/nis_xdr.c: Likewise.
299 * nscd/connections.c: Likewise.
300 * nscd/hstcache.c: Likewise.
301 * nscd/nscd_gethst_r.c: Likewise.
302 * nscd/nscd_getserv_r.c: Likewise.
303 * nscd/nscd_helper.c: Likewise.
304 * nscd/servicescache.c: Likewise.
305 * nss/makedb.c: Likewise.
306 * nss/nss_db/db-XXX.c: Likewise.
307 * nss/nss_db/db-initgroups.c: Likewise.
308 * nss/nss_db/db-netgrp.c: Likewise.
309 * nss/nss_files/files-network.c: Likewise.
310 * nss/nss_files/files-parse.c: Likewise.
311 * posix/bug-regex5.c: Likewise.
312 * posix/fnmatch_loop.c: Likewise.
313 * posix/regcomp.c: Likewise.
314 * posix/regexec.c: Likewise.
315 * posix/tst-rfc3484-2.c: Likewise.
316 * posix/tst-rfc3484-3.c: Likewise.
317 * posix/tst-rfc3484.c: Likewise.
318 * resolv/nss_dns/dns-canon.c: Likewise.
319 * resolv/nss_dns/dns-network.c: Likewise.
320 * resolv/res_init.c: Likewise.
321 * resolv/res_mkquery.c: Likewise.
322 * resolv/tst-aton.c: Likewise.
323 * stdlib/cxa_atexit.c: Likewise.
324 * stdlib/cxa_finalize.c: Likewise.
325 * stdlib/gen-fpioconst.c: Likewise.
326 * stdlib/strtol_l.c: Likewise.
327 * string/tst-endian.c: Likewise.
328 * sunrpc/auth_des.c: Likewise.
329 * sunrpc/clnt_udp.c: Likewise.
330 * sunrpc/rtime.c: Likewise.
331 * sunrpc/svcauth_des.c: Likewise.
332 * sunrpc/xdr.c: Likewise.
333 * sunrpc/xdr_intXX_t.c: Likewise.
334 * sunrpc/xdr_rec.c: Likewise.
335 * sysdeps/generic/ldconfig.h: Likewise.
336 * sysdeps/generic/ldsodefs.h: Likewise.
337 * sysdeps/generic/memusage.h: Likewise.
338 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
339 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
340 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
343 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
344 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
346 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
348 * sysdeps/posix/getaddrinfo.c: Likewise.
349 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
351 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
352 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
353 * sysdeps/powerpc/test-gettimebase.c: Likewise.
354 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
355 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
356 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
357 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
359 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
360 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
361 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
362 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
364 * sysdeps/x86_64/dl-tls.h: Likewise.
365 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
366 * time/alt_digit.c: Likewise.
367 * time/era.c: Likewise.
368 * wcsmbs/tst-c16c32-1.c: Likewise.
370 2013-05-16 Joseph Myers <joseph@codesourcery.com>
372 * math/libm-test.inc (struct test_sincos_data): New type.
373 (RUN_TEST_LOOP_sincos): New macro.
374 (sincos_test_data): New variable.
375 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
377 2013-05-16 Richard Henderson <rth@redhat.com>
379 * math/atest-exp2.c (LIMB64): New macro.
380 (CONSTSZ): New macro.
381 (mp_exp1, mp_exp_m1, mp_log2): New variables.
383 (print_mpn_fp): ... to function scope.
384 (read_mpn_hex): Remove.
386 (exp2_mpn): Use mp_log2.
389 2013-05-16 Joseph Myers <joseph@codesourcery.com>
391 * math/libm-test.inc: Remove comment about not testing "inexact"
393 (INEXACT_EXCEPTION): New macro.
394 (NO_INEXACT_EXCEPTION): Likewise.
395 (INVALID_EXCEPTION_OK): Update value.
396 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
397 (OVERFLOW_EXCEPTION_OK): Likewise.
398 (UNDERFLOW_EXCEPTION_OK): Likewise.
399 (IGNORE_ZERO_INF_SIGN): Likewise.
400 (ERRNO_UNCHANGED): Likewise.
401 (ERRNO_EDOM): Likewise.
402 (ERRNO_ERANGE): Likewise.
403 (test_exceptions): Handle testing "inexact" exceptions.
404 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
405 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
406 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
407 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
409 (rint_towardzero_test_data): Likewise.
410 (rint_downward_test_data): Likewise.
411 (rint_upward_test_data): Likewise.
413 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
414 with OVERFLOW_EXCEPTION.
415 (exp10_test_data): Likewise.
416 (exp2_test_data): Likewise.
417 (expm1_test_data): Likewise.
418 (lgamma_test_data): Likewise.
419 (pow_test_data): Likewise.
420 (tgamma_test_data): Likewise.
421 (yn_test_data): Remove duplicate test of overflow.
423 * math/libm-test.inc (struct test_cc_c_data): New type.
424 (RUN_TEST_LOOP_cc_c): New macro.
425 (cpow_test_data): New variable.
426 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
428 * math/libm-test.inc (struct test_f_L_data): New type.
429 (RUN_TEST_LOOP_f_L): New macro.
430 (llrint_test_data): New variable.
431 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
432 (llrint_tonearest_test_data): New variable.
433 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
434 (llrint_towardzero_test_data): New variable.
435 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
436 (llrint_downward_test_data): New variable.
437 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
438 (llrint_upward_test_data): New variable.
439 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
440 (llround_test_data): New variable.
441 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
443 2013-05-13 Peter Collingbourne <pcc@google.com>
445 * math/atest-exp2.c (get_log2): Remove const attribute.
447 2013-05-15 Joseph Myers <joseph@codesourcery.com>
449 * math/libm-test.inc (struct test_f_l_data): New type.
450 (RUN_TEST_LOOP_f_l): New macro.
451 (lrint_test_data): New variable.
452 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
453 (lrint_tonearest_test_data): New variable.
454 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
455 (lrint_towardzero_test_data): New variable.
456 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
457 (lrint_downward_test_data): New variable.
458 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
459 (lrint_upward_test_data): New variable.
460 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
461 (lround_test_data): New variable.
462 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
464 2013-05-15 Peter Collingbourne <pcc@google.com>
466 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
467 (EXTRACT_WORDS64) Use where appropriate.
468 (INSERT_WORDS64) Likewise.
470 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
471 constraints with x constraints.
472 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
474 * malloc/obstack.c (_obstack_compat): Add initializer.
476 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
478 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
479 si_trapno and add si_addr_lsb to _sifields.sigfault.
480 (si_trapno): Remove macro.
481 (si_addr_lsb): Define new macro.
482 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
484 2013-05-15 Joseph Myers <joseph@codesourcery.com>
486 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
488 (llrint_test_tonearest): Likewise.
489 (llrint_test_towardzero): Likewise.
490 (llrint_test_downward): Likewise.
491 (llrint_test_upward): Likewise.
492 (llround_test): Likewise.
494 * math/libm-test.inc (struct test_f_i_data): Add comment.
495 (RUN_TEST_LOOP_f_b): New macro.
496 (RUN_TEST_LOOP_f_b_tg): Likewise.
497 (finite_test_data): New variable.
498 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
499 (isfinite_test_data): New variable.
500 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
501 (isinf_test_data): New variable.
502 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
503 (isnan_test_data): New variable.
504 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
505 (isnormal_test_data): New variable.
506 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
507 (issignaling_test_data): New variable.
508 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
509 (signbit_test_data): New variable.
510 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
512 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
513 with INVALID_EXCEPTION.
514 (acosh_test_data): Likewise.
515 (asin_test_data): Likewise.
516 (atanh_test_data): Likewise.
517 (fmod_test_data): Likewise.
518 (log_test_data): Likewise.
519 (log10_test_data): Likewise.
520 (log2_test_data): Likewise.
521 (pow_test_data): Likewise.
522 (sqrt_test_data): Likewise.
523 (y0_test_data): Likewise.
524 (y1_test_data): Likewise.
525 (yn_test_data): Likewise.
527 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
530 * math/libm-test.inc (struct test_ff_i_data): New type.
531 (RUN_TEST_LOOP_ff_i_tg): New macro.
532 (isgreater_test_data): New variable.
533 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
534 (isgreaterequal_test_data): New variable.
535 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
536 (isless_test_data): New variable.
537 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
538 (islessequal_test_data): New variable.
539 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
540 (islessgreater_test_data): New variable.
541 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
542 (isunordered_test_data): New variable.
543 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
545 2013-05-14 David S. Miller <davem@davemloft.net>
547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
549 2013-05-14 Joseph Myers <joseph@codesourcery.com>
551 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
553 * math/libm-test.inc (struct test_fF_f1_data): Change type of
555 (struct test_f_i_data): Change type of max_ulp to int.
557 * math/libm-test.inc (test_ffI_f1_data): New type.
558 (RUN_TEST_LOOP_ffI_f1): New macro.
559 (remquo_test_data): New variable.
560 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
562 * setjmp/tst-setjmp-fp.c: New file.
563 * setjmp/Makefile (tests): Add tst-setjmp-fp.
564 (link-libm): New variable.
565 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
567 * math/libm-test.inc (struct test_f_i_data): New type.
568 (RUN_TEST_LOOP_f_i): New macro.
569 (RUN_TEST_LOOP_f_i_tg): Likewise.
570 (fpclassify_test_data): New variable.
571 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
572 (ilogb_test_data): New variable.
573 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
575 * math/libm-test.inc (scalbln_test): Correct function name in END
578 * math/libm-test.inc (struct test_f_f1_data): Add comment.
579 (RUN_TEST_LOOP_fI_f1): New macro.
580 (frexp_test_data): New variable.
581 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
583 * math/libm-test.inc (struct test_fF_f1_data): New type.
584 (RUN_TEST_LOOP_fF_f1): New macro.
585 (modf_test_data): New variable.
586 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
588 * math/libm-test.inc (struct test_f_f1_data): New type.
589 (RUN_TEST_LOOP_f_f1): New macro.
590 (gamma_test_data): New variable.
591 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
592 (lgamma_test_data): New variable.
593 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
595 2013-05-13 Carlos O'Donell <carlos@redhat.com>
597 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
598 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
599 (main): Comment "tls" pseudo-hwcap.
601 2013-05-13 Joseph Myers <joseph@codesourcery.com>
603 * math/libm-test.inc (struct test_fl_f_data): New type.
604 (RUN_TEST_LOOP_fl_f): New variable.
605 (scalbln_test_data): New variable.
606 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
608 * math/libm-test.inc (struct test_fi_f_data): New type.
609 (RUN_TEST_LOOP_fi_f): New macro.
610 (ldexp_test_data): New variable.
611 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
612 (scalbn_test_data): New variable.
613 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
615 * math/libm-test.inc (struct test_c_f_data): New type.
616 (RUN_TEST_LOOP_c_f): New macro.
617 (cabs_test_data): New variable.
618 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
619 (carg_test_data): New variable.
620 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
621 (cimag_test_data): New variable.
622 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
623 (creal_test_data): New variable.
624 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
626 * math/libm-test.inc (struct test_if_f_data): New type.
627 (RUN_TEST_LOOP_if_f): New macro.
628 (jn_test_data): New variable.
629 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
630 (yn_test_data): New variable.
631 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
633 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
635 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
637 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
638 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
640 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
642 * benchtests/Makefile (CPPFLAGS-nonlib): Add
643 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
644 (bench-deps): Add bench-timing.h.
645 * benchtests-bench-skeleton.c: Include bench-timing.h.
646 (main): Use TIMING_* macros instead of clock_gettime.
647 * benchtests/bench-timing.h: New file.
650 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
651 Renamed from _LIB_VERSION.
652 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
654 2013-05-12 Joseph Myers <joseph@codesourcery.com>
656 * math/libm-test.inc (struct test_fff_f_data): New type.
657 (RUN_TEST_LOOP_fff_f): New macro.
658 (fma_test_data): New variable.
659 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
660 (fma_towardzero_test_data): New variable.
661 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
662 (fma_downward_test_data): New variable.
663 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
664 (fma_upward_test_data): New variable.
665 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
667 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
668 (struct test_c_c_data): New type.
669 (RUN_TEST_LOOP_c_c): New macro.
670 (cacos_test_data): New variable.
671 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
672 (cacosh_test_data): New variable.
673 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
674 (casin_test_data): New variable.
675 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
676 (casinh_test_data): New variable.
677 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
678 (catan_test_data): New variable.
679 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
680 (catanh_test_data): New variable.
681 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
682 (ccos_test_data): New variable.
683 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
684 (ccosh_test_data): New variable.
685 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
686 (cexp_test_data): New variable.
687 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
688 (clog_test_data): New variable.
689 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
690 (clog10_test_data): New variable.
691 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
692 (conj_test_data): New variable.
693 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
694 (cproj_test_data): New variable.
695 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
696 (csin_test_data): New variable.
697 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
698 (csinh_test_data): New variable.
699 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
700 (csqrt_test_data): New variable.
701 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
702 (ctan_test_data): New variable.
703 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
704 (ctan_tonearest_test_data): New variable.
705 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
706 (ctan_towardzero_test_data): New variable.
707 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
708 (ctan_downward_test_data): New variable.
709 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
710 (ctan_upward_test_data): New variable.
711 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
712 (ctanh_test_data): New variable.
713 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
714 (ctanh_tonearest_test_data): New variable.
715 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
716 (ctanh_towardzero_test_data): New variable.
717 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
718 (ctanh_downward_test_data): New variable.
719 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
720 (ctanh_upward_test_data): New variable.
721 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
722 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
725 * math/libm-test.inc (struct test_ff_f_data): New type.
726 (struct test_ff_f_data_nexttoward): Likewise.
727 (RUN_TEST_LOOP_2_f): New macro.
728 (RUN_TEST_LOOP_ff_f): Likewise.
729 (atan2_test_data): New variable.
730 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
731 (copysign_test_data): New variable.
732 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
733 (fdim_test_data): New variable.
734 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
735 (fmax_test_data): New variable.
736 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
737 (fmin_test_data): New variable.
738 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
739 (fmod_test_data): New variable.
740 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
741 (hypot_test_data): New variable.
742 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
743 (nextafter_test_data): New variable.
744 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
745 (nexttoward_test_data): New variable.
746 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
747 (pow_test_data): New variable.
748 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
749 (pow_tonearest_test_data): New variable.
750 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
751 (pow_towardzero_test_data): New variable.
752 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
753 (pow_downward_test_data): New variable.
754 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
755 (pow_upward_test_data): New variable.
756 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
757 (remainder_test_data): New variable.
758 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
759 (scalb_test_data): New variable.
760 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
761 * sysdeps/i386/fpu/libm-test-ulps: Update.
763 2013-05-11 Joseph Myers <joseph@codesourcery.com>
765 * math/libm-test.inc (fma_test): Use max_value instead of local
767 (nextafter_test): Likewise.
769 * math/libm-test.inc (acos_towardzero_test_data): New variable.
770 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
771 (acos_downward_test_data): New variable.
772 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
773 (acos_upward_test_data): New variable.
774 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
775 (acosh_test_data): New variable.
776 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
777 (asin_test_data): New variable.
778 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
779 (asin_tonearest_test_data): New variable.
780 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
781 (asin_towardzero_test_data): New variable.
782 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
783 (asin_downward_test_data): New variable.
784 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
785 (asin_upward_test_data): New variable.
786 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
787 (asinh_test_data): New variable.
788 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
789 (atan_test_data): New variable.
790 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
791 (atanh_test_data): New variable.
792 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
793 (cbrt_test_data): New variable.
794 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
795 (ceil_test_data): New variable.
796 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
797 (cos_test_data): New variable.
798 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
799 (cos_tonearest_test_data): New variable.
800 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
801 (cos_towardzero_test_data): New variable.
802 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
803 (cos_downward_test_data): New variable.
804 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
805 (cos_upward_test_data): New variable.
806 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
807 (cosh_test_data): New variable.
808 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
809 (cosh_tonearest_test_data): New variable.
810 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
811 (cosh_towardzero_test_data): New variable.
812 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
813 (cosh_downward_test_data): New variable.
814 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
815 (cosh_upward_test_data): New variable.
816 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
817 (erf_test_data): New variable.
818 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
819 (erfc_test_data): New variable.
820 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
821 (exp_test_data): New variable.
822 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
823 (exp_tonearest_test_data): New variable.
824 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
825 (exp_towardzero_test_data): New variable.
826 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
827 (exp_downward_test_data): New variable.
828 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
829 (exp_upward_test_data): New variable.
830 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
831 (exp10_test_data): New variable.
832 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
833 (exp2_test_data): New variable.
834 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
835 (expm1_test_data): New variable.
836 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
837 (fabs_test_data): New variable.
838 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
839 (floor_test_data): New variable.
840 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
841 (j0_test_data): New variable.
842 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
843 (j1_test_data): New variable.
844 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
845 (log_test_data): New variable.
846 (log_test): Run tests with RUN_TEST_LOOP_f_f.
847 (log10_test_data): New variable.
848 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
849 (log1p_test_data): New variable.
850 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
851 (log2_test_data): New variable.
852 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
853 (logb_test_data): New variable.
854 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
855 (logb_downward_test_data): New variable.
856 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
857 (nearbyint_test_data): New variable.
858 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
859 (rint_test_data): New variable.
860 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
861 (rint_tonearest_test_data): New variable.
862 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
863 (rint_towardzero_test_data): New variable.
864 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
865 (rint_downward_test_data): New variable.
866 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
867 (rint_upward_test_data): New variable.
868 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
869 (round_test_data): New variable.
870 (round_test): Run tests with RUN_TEST_LOOP_f_f.
871 (sin_test_data): New variable.
872 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
873 (sin_tonearest_test_data): New variable.
874 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
875 (sin_towardzero_test_data): New variable.
876 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
877 (sin_downward_test_data): New variable.
878 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
879 (sin_upward_test_data): New variable.
880 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
881 (sinh_test_data): New variable.
882 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
883 (sinh_tonearest_test_data): New variable.
884 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
885 (sinh_towardzero_test_data): New variable.
886 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
887 (sinh_downward_test_data): New variable.
888 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
889 (sinh_upward_test_data): New variable.
890 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
891 (sqrt_test_data): New variable.
892 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
893 (tan_test_data): New variable.
894 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
895 (tan_tonearest_test_data): New variable.
896 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
897 (tan_towardzero_test_data): New variable.
898 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
899 (tan_downward_test_data): New variable.
900 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
901 (tan_upward_test_data): New variable.
902 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
903 (tanh_test_data): New variable.
904 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
905 (tgamma_test_data): New variable.
906 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
907 (trunc_test_data): New variable.
908 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
909 (y0_test_data): New variable.
910 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
911 (y1_test_data): New variable.
912 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
913 (significand_test_data): New variable.
914 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
916 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
919 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
921 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
923 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
925 2013-05-10 Andreas Jaeger <aj@suse.de>
928 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
929 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
931 2013-05-10 Joseph Myers <joseph@codesourcery.com>
933 * math/gen-libm-test.pl (adjust_arg): New function.
934 (special_functions): Handle generating output in both functions
936 (parse_args): Likewise.
937 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
938 $in_func argument to parse_args.
939 * math/libm-test.inc (struct test_f_f_data): New type.
940 (IF_ROUND_INIT_): New macro.
941 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
942 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
943 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
944 (IF_ROUND_INIT_FE_UPWARD): Likewise.
945 (ROUND_RESTORE_): Likewise.
946 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
947 (ROUND_RESTORE_FE_TONEAREST): Likewise.
948 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
949 (ROUND_RESTORE_FE_UPWARD): Likewise.
950 (RUN_TEST_LOOP_f_f): New macro.
951 (acos_test_data): New variable.
952 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
953 (acos_tonearest_test_data): New variable.
954 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
956 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
958 * benchtests/bench-skeleton.c (startup): Fix coding style.
960 2013-05-10 Joseph Myers <joseph@codesourcery.com>
963 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
964 negative infinity argument.
965 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
966 negative infinity argument.
967 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
968 negative infinity argument.
969 * math/libm-test.inc (tgamma_test): Expect errno to be set for
972 2013-05-10 Florian Weimer <fweimer@redhat.com>
974 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
975 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
976 * iconv/iconv_prog.c (main): Likewise.
977 * locale/programs/charmap-dir.c (charmap_readdir)
978 (fopen_uncompressed): Likewise.
979 * locale/programs/locfile.c (siblings_uncached)
980 (write_locale_data): Use lstat64 instead of lstat.
981 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
984 2013-05-10 Andreas Jaeger <aj@suse.de>
987 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
991 2013-05-09 Carlos O'Donell <carlos@redhat.com>
993 * elf/dl-close.c (_dl_close_worker): Add comments.
995 2013-05-09 Joseph Myers <joseph@codesourcery.com>
998 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1000 (__ieee754_rem_pio2l): Update comments.
1003 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1005 (__ieee754_rem_pio2l): Update comments.
1007 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1008 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1010 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1013 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1014 (M_PI_34_LOG10El): Likewise.
1015 (M_PI2_LOG10El): Likewise.
1016 (M_PI4_LOG10El): Likewise.
1017 (M_PI_LOG10El): Likewise.
1019 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1023 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1025 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1026 (MINUS_ZERO_INIT): Likewise.
1027 (PLUS_INFTY_INIT): Likewise.
1028 (MINUS_INFTY_INIT): Likewise.
1029 (QNAN_VALUE_INIT): Likewise.
1030 (MAX_VALUE_INIT): Likewise.
1031 (MIN_VALUE_INIT): Likewise.
1032 (MIN_SUBNORM_VALUE_INIT): Likewise.
1033 (plus_zero): Initialize with PLUS_ZERO_INIT.
1034 (minus_zero): Initialize with MINUS_ZERO_INIT.
1035 (plus_infty): Initialize with PLUS_INFTY_INIT.
1036 (minus_infty): Initialize with MINUS_INFTY_INIT.
1037 (qnan_value): Initialize with QNAN_VALUE_INIT.
1038 (max_value): Initialize with MAX_VALUE_INIT.
1039 (min_value): Initialize with MIN_VALUE_INIT.
1040 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1042 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1043 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1044 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1045 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1047 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1048 (RUN_TEST_2_f): Likewise.
1049 (RUN_TEST_ff_f): Likewise.
1050 (RUN_TEST_fi_f): Likewise.
1051 (RUN_TEST_fl_f): Likewise.
1052 (RUN_TEST_fff_f): Likewise.
1053 (RUN_TEST_c_f): Likewise.
1054 (RUN_TEST_f_f1): Likewise.
1055 (RUN_TEST_fF_f1): Likewise.
1056 (RUN_TEST_fI_f1): Likewise.
1057 (RUN_TEST_ffI_f1): Likewise.
1058 (RUN_TEST_c_c): Likewise.
1059 (RUN_TEST_cc_c): Likewise.
1060 (RUN_TEST_f_i): Likewise.
1061 (RUN_TEST_f_i_tg): Likewise.
1062 (RUN_TEST_ff_i_tg): Likewise.
1063 (RUN_TEST_f_b): Likewise.
1064 (RUN_TEST_f_b_tg): Likewise.
1065 (RUN_TEST_f_l): Likewise.
1066 (RUN_TEST_f_L): Likewise.
1067 (RUN_TEST_sincos): Likewise.
1068 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1069 whether to show exceptions. Do not include ");\n" in return
1071 (special_functions): Output call to RUN_TEST_sincos instead of
1072 check_float calls. Update calls to new_test.
1073 (parse_args): Output call to single RUN_TEST_* macro instead of
1074 check_* calls and other assignments. Update calls to new_test.
1080 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1081 input to result for tgamma overflow.
1082 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1083 (gamma_coeff): New variable.
1084 (NCOEFF): New macro.
1085 (gamma_positive): New function.
1086 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1087 underflow here. Use gamma_positive instead of exp (lgamma) for
1089 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1090 (gamma_coeff): New variable.
1091 (NCOEFF): New macro.
1092 (gammaf_positive): New function.
1093 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1094 underflow here. Use gamma_positive instead of exp (lgamma) for
1096 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1097 (gamma_coeff): New variable.
1098 (NCOEFF): New macro.
1099 (gammal_positive): New function.
1100 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1101 underflow here. Use gamma_positive instead of exp (lgamma) for
1103 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1104 (gamma_coeff): New variable.
1105 (NCOEFF): New macro.
1106 (gammal_positive): New function.
1107 (__ieee754_gammal_r): Handle positive infinity, overflow and
1108 underflow here. Handle NaN the same as positive infinity. Remove
1109 check x < 0xffffffff for negative integers. Use gamma_positive
1110 instead of exp (lgamma) for other arguments.
1111 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1112 (gamma_coeff): New variable.
1113 (NCOEFF): New macro.
1114 (gammal_positive): New function.
1115 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1116 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1117 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1118 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1119 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1120 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1121 * sysdeps/generic/math_private.h (__gamma_productf): New
1123 (__gamma_product): Likewise.
1124 (__gamma_productl): Likewise.
1125 * math/Makefile (libm-calls): Add gamma_product.
1126 * math/libm-test.inc (tgamma_test): Add more tests.
1127 * sysdeps/i386/fpu/libm-test-ulps: Update.
1128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
1132 * benchtests/bench-skeleton.c (main): Preheat CPU.
1134 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1136 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1138 2013-05-07 Roland McGrath <roland@hack.frob.com>
1140 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1141 and _dl_skip_args_internal.
1143 2013-05-07 Carlos O'Donell <carlos@redhat.com>
1145 * manual/message.texi (Message Translation): Talk about users.
1146 Message to key mapping impacts design.
1148 2013-05-06 Roland McGrath <roland@hack.frob.com>
1150 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1152 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1154 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1155 * sysdeps/wordsize-64/glob64.c: ... here.
1157 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1158 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1161 * debug/getlogin_r_chk.c: Moved to ...
1162 * login/getlogin_r_chk.c: ... here.
1163 * debug/Makefile (routines): Move getlogin_r_chk to ...
1164 * login/Makefile (routines): ... here.
1165 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1166 * login/Versions (libc: GLIBC_2.4): ... here.
1168 * io/poll.c (__poll): Renamed from poll.
1169 Add libc_hidden_def.
1170 (poll): Define as weak alias.
1172 * debug/ptsname_r_chk.c: Moved to ...
1173 * login/ptsname_r_chk.c: ... here.
1174 * debug/Makefile (routines): Move ptsname_r_chk to ...
1175 * login/Makefile (routines): ... here.
1176 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1177 * login/Versions (libc: GLIBC_2.4): ... here.
1179 * posix/getlogin.c: Moved to ...
1180 * login/getlogin.c: ... here.
1181 * posix/getlogin_r.c: Moved to ...
1182 * login/getlogin_r.c: ... here.
1183 * posix/getlogin_r.c: Moved to ...
1184 * login/getlogin_r.c: ... here.
1185 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1186 * login/Makefile (routines): ... here.
1187 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1188 * login/Versions (libc: GLIBC_2.0): ... here.
1190 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1191 (setrlimit): Define as weak alias.
1193 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1194 Call __ names for open, ftruncate, and close.
1195 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1196 (truncate): Define as weak alias.
1198 2013-05-06 Joseph Myers <joseph@codesourcery.com>
1200 * math/gen-libm-test.pl (parse_args): Initialize x before each
1201 test of frexp, modf and remquo.
1203 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1206 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1210 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1212 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1214 2013-05-06 Roland McGrath <roland@hack.frob.com>
1216 * elf/dl-writev.h: New file.
1217 * elf/dl-misc.c: Include it.
1218 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1219 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1221 2013-05-04 Joseph Myers <joseph@codesourcery.com>
1223 * math/libm-test.inc (noXFails): Remove variable.
1224 (noXPasses): Likewise.
1225 (BUILD_COMPLEX_INT): Remove macro.
1226 (print_screen): Remove xfail argument.
1227 (print_screen_max_error): Likewise.
1228 (update_stats): Likewise.
1229 (print_max_error): Likewise. Update calls to other affected
1231 (print_complex_max_error): Likewise.
1232 (test_single_exception): Update calls to print_screen.
1233 (test_single_errno): Likewise.
1234 (check_float_internal): Remove xfail argument. Update calls to
1235 other affected functions.
1236 (check_float): Likewise.
1237 (check_complex): Likewise.
1238 (check_int): Likewise.
1239 (check_long): Likewise.
1240 (check_bool): Likewise.
1241 (check_longlong): Likewise.
1242 (main): Don't print noXFails and noXPasses.
1243 * math/gen-libm-test.pl (top level): Don't mention expected
1244 failure handling in comment.
1245 (new_test): Don't handle expected failures.
1246 (parse_args): Don't mention expected failure handling in comment.
1247 (generate_testfile): Don't handle expected failures.
1248 (parse_ulps): Likewise.
1249 (print_ulps_file): Likewise.
1250 (get_failure): Remove function.
1251 (output_test): Don't handle expected failures.
1252 * make/README.libm-test: Don't mention expected failure handling.
1254 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1255 (minus_zero): Likewise.
1256 (plus_infty): Likewise.
1257 (minus_infty): Likewise.
1258 (qnan_value): Likewise.
1259 (max_value): Likewise.
1260 (min_value): Likewise.
1261 (min_subnorm_value): Likewise.
1262 (initialize): Do not initialize those variables dynamically.
1264 2013-05-03 Roland McGrath <roland@hack.frob.com>
1266 * io/open.c (__open_2): Moved to ...
1267 * io/open_2.c: ... this new file.
1268 * io/open64.c (__open64_2): Moved to ...
1269 * io/open64_2.c: ... this new file.
1270 * io/openat.c (__openat_2): Moved to ...
1271 * io/openat_2.c: ... this new file.
1272 * io/openat64.c (__openat64_2): Moved to ...
1273 * io/openat64_2.c: ... this new file.
1274 * io/Makefile (routines): Add them.
1275 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1276 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1277 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1278 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1279 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1280 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1281 (__openat64): Add hidden_ver.
1282 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1283 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1285 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1286 Separately conditionalize setting of GLRO(dl_sysinfo) so
1287 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1288 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1290 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1295 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1296 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1297 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1298 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1299 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1301 2013-05-03 Joseph Myers <joseph@codesourcery.com>
1303 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1306 * math/libm-test.inc (hypot_test): Do not use
1307 IGNORE_ZERO_INF_SIGN.
1309 2013-05-03 Andreas Jaeger <aj@suse.de>
1311 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1313 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1314 (PF_MAX): Adjust for VSOCK change.
1316 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1320 2013-05-02 Carlos O'Donell <carlos@redhat.com>
1323 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1324 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1325 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1327 2013-05-02 David S. Miller <davem@davemloft.net>
1329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1331 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
1333 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1335 2013-05-01 Roland McGrath <roland@hack.frob.com>
1337 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1339 2013-05-01 Richard Smith <richard@metafoo.co.uk>
1342 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1343 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1344 Use __attribute__ ((__gnu_inline__)).
1345 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1346 Don't use __attribute__ ((__gnu_inline__)).
1348 2013-05-01 Joseph Myers <joseph@codesourcery.com>
1351 * math/s_catan.c (__catan): Handle small real or imaginary part of
1352 input specially to avoid spurious underflow.
1353 * math/s_catanf.c (__catanf): Likewise.
1354 * math/s_catanh.c (__catanh): Likewise.
1355 * math/s_catanhf.c (__catanhf): Likewise.
1356 * math/s_catanhl.c (__catanhl): Likewise.
1357 * math/s_catanl.c (__catanl): Likewise.
1358 * math/libm-test.inc (catan_test): Add more tests.
1359 (catanh_test): Likewise.
1360 * sysdeps/i386/fpu/libm-test-ulps: Update.
1361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1367 2013-04-30 Joseph Myers <joseph@codesourcery.com>
1370 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1371 accurately for denominator in atan2.
1372 * math/s_catanf.c (__catanf): Likewise.
1373 * math/s_catanh.c (__catanh): Likewise.
1374 * math/s_catanhf.c (__catanhf): Likewise.
1375 * math/s_catanhl.c (__catanhl): Likewise.
1376 * math/s_catanl.c (__catanl): Likewise.
1377 * math/libm-test.inc (catan_test): Add more tests.
1378 (catanh_test): Likewise.
1379 * sysdeps/i386/fpu/libm-test-ulps: Update.
1380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1382 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1384 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1386 * benchtests/Makefile (bench): Remove slow benchmarks.
1387 * benchtests/atan-inputs: Add slow benchmark inputs.
1388 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1389 (BENCH_FUNC): Accept variant offset.
1391 * benchtests/bench-skeleton.c (main): Run benchmark for each
1393 * benchtests/cos-inputs: Add slow benchmark inputs.
1394 * benchtests/exp-inputs: Likewise.
1395 * benchtests/pow-inputs: Likewise.
1396 * benchtests/sin-inputs: Likewise.
1397 * benchtests/slowatan-inputs: Remove.
1398 * benchtests/slowatan.c: Remove.
1399 * benchtests/slowcos-inputs: Remove.
1400 * benchtests/slowcos.c: Remove.
1401 * benchtests/slowexp-inputs: Remove.
1402 * benchtests/slowexp.c: Remove.
1403 * benchtests/slowpow-inputs: Remove.
1404 * benchtests/slowpow.c: Remove.
1405 * benchtests/slowsin-inputs: Remove.
1406 * benchtests/slowsin.c: Remove.
1407 * benchtests/slowtan-inputs: Remove.
1408 * benchtests/slowtan.c: Remove.
1409 * benchtests/tan-inputs: Add slow benchmark inputs.
1410 * scripts/bench.pl: Parse comments and directives.
1412 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1414 ($(objpfx)bench-%.c): Remove *-ITER.
1415 * benchtests/bench-modf.c: Remove definition of ITER.
1416 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1417 (main): Loop for DURATION seconds instead of fixed number of
1419 * scripts/bench.pl: Don't expect iterations in parameters.
1421 2013-04-29 Roland McGrath <roland@hack.frob.com>
1423 * io/fchdir.c (__fchdir): Renamed from fchdir.
1424 (fchdir): Define as weak alias.
1426 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1428 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1429 (ERRNO_EDOM): Likewise.
1430 (ERRNO_ERANGE): Likewise.
1431 (noErrnoTests): New variable.
1432 (init_max_error): Set errno to 0.
1433 (test_single_errno): New function.
1434 (test_errno): Likewise.
1435 (check_float_internal): Call test_errno. Set errno to 0.
1436 (check_complex): Refer to errno tests in comment.
1437 (check_int): Call test_errno. Set errno to 0.
1438 (check_long): Likewise.
1439 (check_bool): Likewise.
1440 (check_longlong): Likewise.
1441 (cos_test): Use ERRNO_* flags for errno tests instead of
1443 (expm1_test): Likewise.
1444 (fmod_test): Likewise.
1445 (ilogb_test): Likewise.
1446 (lgamma_test): Likewise.
1447 (pow_test): Likewise.
1448 (remainder_test): Likewise.
1449 (sin_test): Likewise.
1450 (tan_test): Likewise.
1451 (yn_test): Likewise.
1452 (initialize): Set errno to 0.
1453 (main): Print number of errno tests.
1454 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1456 2013-04-29 Andreas Jaeger <aj@suse.de>
1459 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1463 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1464 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1468 * stdlib/random.c (__initstate): Return NULL if
1472 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1473 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1476 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1480 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1482 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1483 of individual tests.
1484 (casin_test): Likewise.
1485 (casinh_test): Likewise.
1487 2013-04-27 Joseph Myers <joseph@codesourcery.com>
1490 * math/s_catan.c (__catan): Handle arguments with large real or
1491 imaginary part separately without squaring.
1492 * math/s_catanf.c (__catanf): Likewise.
1493 * math/s_catanh.c (__catanh): Likewise.
1494 * math/s_catanhf.c (__catanhf): Likewise.
1495 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1497 (__catanhl): Handle arguments with large real or imaginary part
1498 separately without squaring.
1499 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1501 (__catanl): Handle arguments with large real or imaginary part
1502 separately without squaring.
1503 * math/libm-test.inc (catan_test): Add more tests.
1504 (catanh_test): Likewise.
1505 * sysdeps/i386/fpu/libm-test-ulps: Update.
1506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1508 2013-04-27 Andreas Jaeger <aj@suse.de>
1511 * stdlib/stdlib.h: Update guards for qecvt.
1512 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1515 2013-04-27 Allan McRae <allan@archlinux.org>
1517 * sysdeps/i386/fpu/libm-test-ulps: Update.
1519 2013-04-26 Joseph Myers <joseph@codesourcery.com>
1522 * math/s_catan.c: Include <float.h>.
1523 (__catan): Ensure underflow exception occurs for underflowed
1525 * math/s_catanf.c: Include <float.h>.
1526 (__catanf): Ensure underflow exception occurs for underflowed
1528 * math/s_catanh.c: Include <float.h>.
1529 (__catanh): Ensure underflow exception occurs for underflowed
1531 * math/s_catanhf.c: Include <float.h>.
1532 (__catanhf): Ensure underflow exception occurs for underflowed
1534 * math/s_catanhl.c: Include <float.h>.
1535 (__catanhl): Ensure underflow exception occurs for underflowed
1537 * math/s_catanl.c: Include <float.h>.
1538 (__catanl): Ensure underflow exception occurs for underflowed
1540 * math/libm-test.inc (catan_test): Add more tests.
1541 (catanh_test): Likewise.
1544 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1546 * math/s_ccoshf.c (__ccoshf): Likewise.
1547 * math/s_ccoshl.c (__ccoshl): Likewise.
1548 * math/s_csin.c (__csin): Likewise.
1549 * math/s_csinf.c (__csinf): Likewise.
1550 * math/s_csinh.c (__csinh): Likewise.
1551 * math/s_csinhf.c (__csinhf): Likewise.
1552 * math/s_csinhl.c (__csinhl): Likewise.
1553 * math/s_csinl.c (__csinl): Likewise.
1554 * math/libm-test.inc (ccos_test): Add more tests.
1555 (ccosh_test): Likewise.
1556 (csin_test): Likewise.
1557 (csinh_test): Likewise.
1559 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1561 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1562 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1563 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1564 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1565 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1566 powerpc/power5+/fpu folders.
1567 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1570 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1574 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1576 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1577 additions to variable.
1578 [$(config-machine) = x86_64] (modules-names): Likewise.
1579 ($(objpfx)tst-audit3): Remove dependency.
1580 ($(objpfx)tst-audit3.out): Likewise.
1581 ($(objpfx)tst-audit4): Likewise.
1582 ($(objpfx)tst-audit4.out): Likewise.
1583 ($(objpfx)tst-audit5): Likewise.
1584 ($(objpfx)tst-audit5.out): Likewise.
1585 ($(objpfx)tst-audit6): Likewise.
1586 ($(objpfx)tst-audit6.out): Likewise.
1587 ($(objpfx)tst-audit7): Likewise.
1588 ($(objpfx)tst-audit7.out): Likewise.
1589 (tst-audit3-ENV): Remove variable.
1590 (tst-audit4-ENV): Likewise.
1591 (tst-audit5-ENV): Likewise.
1592 (tst-audit6-ENV): Likewise.
1593 (tst-audit7-ENV): Likewise.
1594 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1595 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1596 addition to variable.
1597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1602 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1603 tst-audit3, tst-audit4 and tst-audit5.
1604 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1605 tst-audit6 and tst-audit7.
1606 [$(subdir) = elf] (modules-names): Add audit modules for those
1608 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1609 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1610 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1611 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1612 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1613 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1614 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1615 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1616 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1617 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1618 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1619 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1620 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1621 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1622 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1623 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1625 [$(subdir) = elf && $(config-cflags-avx) = yes]
1626 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1627 [$(subdir) = elf && $(config-cflags-avx) = yes]
1628 (CFLAGS-tst-auditmod4a.c): Likewise.
1629 [$(subdir) = elf && $(config-cflags-avx) = yes]
1630 (CFLAGS-tst-auditmod4b.c): Likewise.
1631 [$(subdir) = elf && $(config-cflags-avx) = yes]
1632 (CFLAGS-tst-auditmod6b.c): Likewise.
1633 [$(subdir) = elf && $(config-cflags-avx) = yes]
1634 (CFLAGS-tst-auditmod6c.c): Likewise.
1635 [$(subdir) = elf && $(config-cflags-avx) = yes]
1636 (CFLAGS-tst-auditmod7b.c): Likewise.
1637 * elf/tst-audit3.c: Move to ...
1638 * sysdeps/x86_64/tst-audit3.c: ... here.
1639 * elf/tst-audit4.c: Move to ...
1640 * sysdeps/x86_64/tst-audit4.c: ... here.
1641 * elf/tst-audit5.c: Move to ...
1642 * sysdeps/x86_64/tst-audit5.c: ... here.
1643 * elf/tst-audit6.c: Move to ...
1644 * sysdeps/x86_64/tst-audit6.c: ... here.
1645 * elf/tst-audit7.c: Move to ...
1646 * sysdeps/x86_64/tst-audit7.c: ... here.
1647 * elf/tst-auditmod3a.c: Move to ...
1648 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1649 * elf/tst-auditmod3b.c: Move to ...
1650 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1651 * elf/tst-auditmod4a.c: Move to ...
1652 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1653 * elf/tst-auditmod4b.c: Move to ...
1654 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1655 * elf/tst-auditmod5a.c: Move to ...
1656 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1657 * elf/tst-auditmod5b.c: Move to ...
1658 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1659 * elf/tst-auditmod6a.c: Move to ...
1660 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1661 * elf/tst-auditmod6b.c: Move to ...
1662 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1663 * elf/tst-auditmod6c.c: Move to ...
1664 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1665 * elf/tst-auditmod7a.c: Move to ...
1666 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1667 * elf/tst-auditmod7b.c: Move to ...
1668 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1670 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1673 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1674 define unconditionally.
1675 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1676 define unconditionally.
1677 (INT8_C, INT16_C, etc.): Likewise.
1679 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1681 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1682 __ehdr_start with hidden visibility.
1684 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1686 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1688 * math/libm-test.inc (cos_test): Use accurate hex constants.
1689 (sincost_test): Likewise.
1691 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1693 * math/libm-test.inc (catan_test): Add more tests.
1694 (catanh_test): Likewise.
1696 * math/s_catanf.c (__catanf): Use suffixed floating-point
1698 * math/s_catanhf.c (__catanhf): Likewise.
1699 * math/s_catanhl.c (__catanhl): Likewise.
1700 * math/s_catanl.c (__catanl): Likewise.
1703 * math/s_catan.c (__catan): Calculate imaginary part of result
1704 with log1p not log unless computing log of number close to 0.
1705 * math/s_catanf.c (__catanf): Likewise.
1706 * math/s_catanl.c (__catanl): Likewise.
1707 * math/s_catanh.c (__catanh): Calculate real part of result with
1708 log1p not log unless computing log of number close to 0.
1709 * math/s_catanhf.c (__catanhf): Likewise.
1710 * math/s_catanhl.c (__catanhl): Likewise.
1711 * math/libm-test.inc (catan_test): Add more tests.
1712 (catanh_test): Likewise.
1713 * sysdeps/i386/fpu/libm-test-ulps: Update.
1714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1716 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1718 * benchtests/Makefile: Mention files in which fast and slow
1719 paths of math functions are implemented.
1721 2013-04-23 Roland McGrath <roland@hack.frob.com>
1723 * sysdeps/posix/timespec_get.c: New file.
1725 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1727 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1729 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1731 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1732 powerpc/power5/fpu folders.
1733 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1734 * benchtests/Makefile: Add modf testcase.
1735 * benchtests/bench-modf.c: New file: Benchmark test for mo
1737 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1740 * time/Makefile (tests): Add tst-strptime-whitespace.
1741 * time/strptime_l.c (get_number): Use ISSPACE.
1742 (__strptime_internal): Likewise.
1743 * time/tst-strptime-whitespace.c: New test case.
1745 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1747 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1749 (_nss_files_init): Set it here.
1751 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1753 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1754 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1757 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1759 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1761 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1766 2013-04-21 David S. Miller <davem@davemloft.net>
1768 * po/ru.po: Update Russion translation from translation project.
1770 2013-04-17 Adam Conrad <adconrad@0c3.net>
1772 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1775 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1777 * configure.in: Remove i386 configure warning. Remove i386 case.
1778 * configure: Regenerate.
1779 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1780 Add example to error message.
1781 * sysdeps/i386/configure: Regenerate.
1783 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1785 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1787 * benchtests/cos-inputs: New file.
1788 * benchtests/slowcos-inputs: New file.
1789 * benchtests/slowcos.c: New file.
1790 * benchtests/slowtan-inputs: New file.
1791 * benchtests/slowtan.c: New file.
1792 * benchtests/tan-inputs: New file.
1794 2013-04-16 Roland McGrath <roland@hack.frob.com>
1796 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1799 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1801 * benchtests/Makefile: Include cppflags-iterator.mk to add
1802 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1804 * Makefile.in (bench-clean): New target.
1805 * benchtests/Makefile (bench-clean): Likewise.
1807 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1809 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1811 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1813 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1815 2013-04-15 Andreas Schwab <schwab@suse.de>
1817 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1819 * nscd/pwdcache.c (cache_addpw): Likewise.
1820 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1823 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1825 * benchtests/Makefile (bench): Write all output to
1826 bench-out.tmp together.
1828 2013-04-15 Andreas Schwab <schwab@suse.de>
1830 * nscd/nscd.c (main): Don't fork again after closing files.
1832 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1834 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1836 * benchtests/Rules (bench-deps): Collect dependencies into a
1837 single variable. Add Makefile to dependencies.
1838 ($(objpfx)bench-%.c): Depend on bench-deps.
1840 2013-04-12 Roland McGrath <roland@hack.frob.com>
1841 Xavier Roche <roche+kml2@exalead.com>
1844 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1845 just that it's a file descriptor.
1846 * manual/llio.texi (Synchronizing AIO Operations): Update description
1847 for EBADF error from aio_fsync.
1849 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1851 * Rules (bench): Move target definition...
1852 * benchtests/Makefile: ... here.
1854 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1856 * math/libm-test.inc (cos_test): Fix PI/2 test.
1857 (sincos_test): Likewise.
1858 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1859 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1861 2013-04-11 Andreas Schwab <schwab@suse.de>
1864 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1865 accept exponent character only when digits were seen.
1866 * stdio-common/Makefile (tests): Add bug26.
1867 * stdio-common/bug26.c: New file.
1870 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1873 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1875 * Makeconfig (rtld-prefix): Define built linker prefix.
1876 * Rules (run-bench): Use it.
1877 * math/Makefile (run-regen-ulps): Likewise.
1879 * Rules (bench): Remove eval.
1881 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1882 Roland McGrath <roland@hack.frob.com>
1883 Ondrej Bilka <neleai@seznam.cz>
1886 * time/getdate.c: Include ctype.h and alloca.h.
1887 (__getdate_r): Trim leading and trailing spaces of input.
1888 * time/tst-getdate.c (tests): Add tests with leading and
1891 2013-04-08 Roland McGrath <roland@hack.frob.com>
1894 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1895 when computing value.
1897 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1899 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1900 Use testrun.sh to run libm tests.
1903 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1905 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1908 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1910 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1912 * Makefile.in (regen-ulps): New target.
1913 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1914 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1915 [ifneq (no,$(PERL)] (regen-ulps): New target.
1916 [ifeq (no,$(PERL)] (regen-ulps): New target.
1917 * math/libm-test.inc (ulps_file_name): Define.
1918 (output_dir): New variable.
1919 (options): Add "output-dir" option.
1920 (parse_opt): Handle 'o' case.
1921 (main): If output_dir is non-NULL use it as a prefix
1923 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1925 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1928 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1929 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1930 fail configure if __sync_val_compare_and_swap is not inlined.
1931 * sysdeps/i386/configure: Regenerate.
1932 * configure.in: Build for i686 when configured for i386.
1933 * configure: Regenerate.
1934 * README: Remove i386 reference.
1936 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1938 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1941 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1943 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1944 (lmsnanval): New variables.
1945 (F): Add conversion tests.
1946 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1947 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1949 * stdio-common/tstdiomisc.c (F): Properly collect individual
1953 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1954 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1955 Instead, use input NaN values or generate a qNaN by arithmetic
1956 operation. Also fix bugs to comply with the standard.
1957 * math/libm-test.inc (remainder_test): Add more tests.
1960 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1962 input NaN values or generate a qNaN by arithmetic operation.
1964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1967 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1970 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1973 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1975 * math/s_cexpf.c (__cexpf): Likewise.
1976 * math/s_cexpl.c (__cexpl): Likewise.
1977 * math/libm-test.inc (cexp_test): Add more tests.
1979 2013-04-03 Andreas Schwab <schwab@suse.de>
1982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1983 order arrays from heap if bigger than alloca cutoff.
1985 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1987 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1988 (SNAN_TESTS_double): Refer to GCC PR56831.
1989 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1992 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1994 * Rules (bench): Move bench.out after the run is complete.
1996 * Rules (bench): Echo currently running benchmark.
1998 * benchtests/Makefile (bench): Add atan and slowatan.
1999 * benchtests/atan-inputs: New file.
2000 * benchtests/slowatan-inputs: New file.
2001 * benchtests/slowatan.c: New file.
2003 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2004 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2008 * sysdeps/unix/sysv/linux/kernel-features.h
2009 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2010 __ASSUME_XFS_RESTRICTED_CHOWN.
2011 * sysdeps/unix/sysv/linux/pathconf.c
2012 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2013 Save and restore errno.
2015 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2018 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2019 arguments using __kernel_casinh.
2020 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2021 arguments using __kernel_casinhf.
2022 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2023 arguments using __kernel_casinhl.
2024 * math/libm-test.inc (cacosh_test): Add more tests.
2025 * sysdeps/i386/fpu/libm-test-ulps: Update.
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2028 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2033 * bench/Makefile (bench): Add sin and slowsin.
2034 * benchtests/sin-inputs: New file.
2035 * benchtests/slowsin-inputs: New file.
2036 * benchtests/slowsin.c: New file.
2038 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2039 (bench): Add slowexp and slowpow.
2040 (exp-ITER): Increase iterations.
2041 (pow-ITER): Likewise.
2042 * benchtests/exp-inputs: Change input.
2043 * benchtests/pow-inputs: Likewise.
2044 * benchtests/slowexp-inputs: New file.
2045 * benchtests/slowexp.c: New file.
2046 * benchtests/slowpow-inputs: New file.
2047 * benchtests/slowpow.c: New file.
2049 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2053 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2056 * benchtests/Makefile: Add rint benchtest.
2057 * benchtests/rint-inputs: Input for rint benchtest.
2059 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2061 * Versions.def (libm): Add GLIBC_2.18.
2062 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2063 hidden libm prototypes.
2064 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2065 * math/Makefile (libm-calls): Add s_issignaling.
2066 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2067 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2068 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2070 * math/math.h [__USE_GNU] (issignaling): New macro.
2071 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2072 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2074 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2077 * manual/arith.texi (issignaling): New section.
2078 * manual/libm-err-tab.pl (@all_functions): Update comment.
2079 * math/gen-libm-test.pl (parse_args): Apply special handling for
2081 * math/libm-test.inc (print_float, issignaling_test): New
2083 (check_float_internal): Add issignaling checks.
2084 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2086 * sysdeps/powerpc/math-tests.h: New file.
2087 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2089 * math/test-snan.c (TEST_FUNC): Likewise.
2091 2013-03-30 David S. Miller <davem@davemloft.net>
2093 * po/de.po: Update from translation team.
2095 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2098 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2099 imaginary part less than 1.0 and real part less than 0.5
2101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2103 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2104 (cacos_test): Add more tests.
2105 (casin_test): Likewise.
2106 (casinh_test): Likewise.
2107 * sysdeps/i386/fpu/libm-test-ulps: Update.
2108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2110 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2112 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2115 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2116 (__pow_mp): Replace ONE and MONE with their values.
2117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2118 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2120 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2121 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2122 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2124 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2126 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2127 (__pow_mp): Replace ZERO and MZERO with their values.
2128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2129 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2130 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2132 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2133 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2136 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2138 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2140 2013-03-28 Roland McGrath <roland@hack.frob.com>
2142 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2143 Declare with __attribute__ ((weak)).
2144 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2145 Call __call_tls_dtors only if it's not NULL.
2147 2013-03-28 Roland McGrath <roland@hack.frob.com>
2149 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2150 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2151 magic __ehdr_start linker symbol if it's defined.
2152 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2153 them up here if it was already done.
2155 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2156 (_dl_aux_init): Use const in cast when setting it.
2157 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2158 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2159 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2161 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2163 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2164 * csu/libc-tls.c: Nor here.
2165 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2167 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2168 (__libc_message): Never call vsyslog.
2170 2013-03-28 Alan Modra <amodra@gmail.com>
2172 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2174 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2177 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2184 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2187 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2188 Don't add gid passed as argument.
2190 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2192 2013-03-27 Joseph Myers <joseph@codesourcery.com>
2195 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2196 imaginary part between 1.0 and 1.5 and real part less than 0.5
2198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2200 * math/libm-test.inc (cacos_test): Add more tests.
2201 (casin_test): Likewise.
2202 (casinh_test): Likewise.
2203 * sysdeps/i386/fpu/libm-test-ulps: Update.
2204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2206 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2208 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2212 (__dbl_mp): Likewise.
2213 (add_magnitudes): Likewise.
2214 (sub_magnitudes): Likewise.
2222 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2224 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2225 (__dubcos): Likewise.
2226 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2227 (__ieee754_acos): Likewise.
2228 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2229 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2231 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2232 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2234 (my_log2): Likewise.
2235 (checkint): Likewise.
2236 * sysdeps/ieee754/dbl-64/e_remainder.c
2237 (__ieee754_remainder): Likewise.
2238 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2241 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2243 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2244 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2245 MANTISSA_STORE_T to store computations on mantissa. Use
2246 macros for rounding and division.
2248 (__dbl_mp): Likewise.
2249 (add_magnitudes): Likewise.
2250 (sub_magnitudes): Likewise.
2253 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2254 powers of two in terms of TWOPOW macro.
2255 (mp_no): Make type of mantissa as MANTISSA_T.
2256 [!RADIXI]: Define RADIXI.
2257 [!TWO52]: Define TWO52.
2258 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2260 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2263 llroundl symbol when building for PPC32.
2265 2013-03-24 Mark H Weaver <mhw@netris.org>
2267 * manual/arith.texi (Normalization Functions): Fix prototypes for
2268 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2270 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2274 high value to check if expl overflow.
2275 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2276 to check for underflow and overflow.
2277 * math/libm-test.inc: Add exp test.
2279 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2282 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2285 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2287 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2290 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2292 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2293 wrap blocks consisting of several statements.
2295 * sysdeps/generic/math-tests.h: New file.
2296 * sysdeps/i386/fpu/math-tests.h: Likewise.
2297 * math/test-snan.c: Include it.
2298 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2300 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2303 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2304 (__ieee754_j0l): Do not improve calculations using cos of twice
2305 input for inputs above LDBL_MAX / 2.0L.
2306 (__ieee754_y0l): Likewise.
2307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2308 (__ieee754_j1l): Do not improve calculations using cos of twice
2309 input for inputs above LDBL_MAX / 2.0L.
2310 (__ieee754_y1l): Likewise.
2311 * math/libm-test.inc (j0_test): Add another test.
2312 (j1_test): Likewise.
2313 (y0_test): Likewise.
2314 (y1_test): Likewise.
2315 * sysdeps/i386/fpu/libm-test-ulps: Update.
2317 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2319 * Rules ($(objpfx)bench-%.c): Include code from a C source
2322 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2325 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2326 imaginary part 1.0 and real part less than 0.5 specially.
2327 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2328 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2329 * math/libm-test.inc (cacos_test): Add more tests.
2330 (casin_test): Likewise.
2331 (casinh_test): Likewise.
2332 * sysdeps/i386/fpu/libm-test-ulps: Update.
2333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2335 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2338 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2340 2013-03-20 Joseph Myers <joseph@codesourcery.com>
2342 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2343 * config.make.in (config-cflags-sse4): Remove variable.
2344 (config-cflags-avx): Likewise.
2345 (config-cflags-sse2avx): Likewise.
2346 (config-cflags-novzeroupper): Likewise.
2347 (config-asflags-i686): Likewise.
2348 (have-mfma4): Likewise.
2349 (have-as-vis3): Likewise.
2351 * configure.in (MIG): Do not AC_SUBST.
2352 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2353 (libc_cv_cc_sse4): Do not AC_SUBST.
2354 (libc_cv_cc_avx): Likewise.
2355 (libc_cv_cc_sse2avx): Likewise.
2356 (libc_cv_cc_novzeroupper): Likewise.
2357 (libc_cv_cc_fma4): Likewise.
2358 (libc_cv_as_i686): Likewise.
2359 (libc_cv_sparc_as_vis3): Likewise.
2360 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2362 (config-asflags-i686): Likewise.
2363 (config-cflags-avx): Likewise.
2364 (config-cflags-sse2avx): Likewise.
2365 (have-mfma4): Likewise.
2366 (config-cflags-novzeroupper): Likewise.
2367 * sysdeps/mach/configure.in (MIG): Likewise.
2368 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2369 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2371 (config-cflags-avx): Likewise.
2372 (config-cflags-sse2avx): Likewise.
2373 (have-mfma4): Likewise.
2374 (config-cflags-novzeroupper): Likewise.
2375 * configure: Regenerated.
2376 * sysdeps/i386/configure: Likewise.
2377 * sysdeps/mach/configure: Likewise.
2378 * sysdeps/sparc/configure: Likewise.
2379 * sysdeps/x86_64/configure: Likewise.
2381 2013-03-20 Roland McGrath <roland@hack.frob.com>
2384 * locale/programs/localedef.c (options): Put N_ translation marker
2385 on argument names, not just descriptions.
2387 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2389 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2391 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
2394 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2396 2013-03-19 Roland McGrath <roland@hack.frob.com>
2398 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2399 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2400 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2401 [!BEFORE_ABORT] (before_abort): New function.
2402 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2403 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2404 (writev_for_fatal): New function.
2405 (WRITEV_FOR_FATAL): New macro; call that.
2406 (backtrace_and_maps): New function.
2407 (BEFORE_ABORT): New macro; call that.
2408 (struct str_list): Type removed.
2409 (__libc_message, __libc_fatal): Functions removed.
2410 Include <sysdeps/posix/libc_fatal.c> instead.
2412 2013-03-19 Joseph Myers <joseph@codesourcery.com>
2414 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2416 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2419 2013-03-19 Andreas Schwab <schwab@suse.de>
2421 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2422 * sysdeps/gnu/configure: Regenerate.
2424 * configure.in: Substitute libc_cv_rtlddir.
2425 * configure: Regenerate.
2426 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2427 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2428 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2429 * elf/Makefile (install-others, CFLAGS-interp.c)
2430 (ldso_install, common-ldd-rewrite): Likewise.
2431 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2432 $(inst_slibdir)/$(rtld-installed-name).
2433 * scripts/rellns-sh: Add -p option.
2434 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2437 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2439 * manual/nptl.texi: Renamed to ...
2440 * manual/threads.texi: ... this.
2441 * manual/Makefile (chapters): Update.
2443 2013-03-18 Roland McGrath <roland@hack.frob.com>
2446 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2447 on argument names, not just descriptions.
2448 * malloc/memusagestat.c (options): Likewise.
2449 * nss/getent.c (options): Likewise.
2451 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
2454 * iconv/iconv_prog.c (options): Put N_ translation marker
2455 on argument names, not just descriptions.
2456 * iconv/iconvconfig.c (options): Likewise.
2458 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
2460 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2461 implementation which is faster on all x86_64 architectures.
2462 Tested on AMD, Intel Nehalem, SNB, IVB.
2463 * sysdeps/x86_64/strnlen.S: Likewise.
2465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2466 Remove all multiarch strlen and strnlen versions.
2467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2468 Remove strlen and strnlen related parts.
2470 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2472 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2474 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2475 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2476 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2477 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2478 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2479 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2481 2013-03-17 Carlos O'Donell <carlos@redhat.com>
2483 * manual/memory.texi (Malloc Tunable Parameters):
2484 Sort parameters alphabetically. Add comments for missing entries.
2486 2013-03-17 David S. Miller <davem@davemloft.net>
2488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2490 2013-03-16 Joseph Myers <joseph@codesourcery.com>
2493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2494 for arguments at most half maximum finite value.
2495 * math/libm-test.inc (j0_test): Add more tests.
2496 (j1_test): Likewise.
2497 (y0_test): Likewise.
2498 (y1_test): Likewise.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2504 1 / x and functions P and Q for arguments above 0x1p256L.
2505 (__ieee754_y0l): Likewise.
2506 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2507 (__ieee754_y1l): Likewise.
2508 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2509 (j1_test): Likewise.
2510 (y0_test): Likewise.
2511 (y1_test): Likewise.
2513 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2515 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2518 2013-03-15 Roland McGrath <roland@hack.frob.com>
2520 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2521 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2522 zero since it's initialized to EXEC_PAGESIZE.
2524 * sysdeps/unix/sysv/linux/ldsodefs.h
2525 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2526 * sysdeps/generic/ldsodefs.h: ... here.
2528 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2530 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2532 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2534 * math/test-snan.c: Renamed from
2535 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2536 * math/Makefile (tests): Add test-snan.
2537 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2540 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2541 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2543 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2544 __builtin_nan family of functions.
2545 * math/libm-test.inc (initialize): Initialize qnan_value with
2546 __builtin_nan family of functions.
2547 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2549 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2551 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2552 storage class. Initialize qNaN_var and sNaN_var with
2553 __builtin_nan and __builtin_nans families of functions,
2556 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2557 (sqrt_test): Remove duplicate test with qNaN input.
2558 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2559 (round_test, signbit_test, significand_test): Note missing +/-Inf
2560 as well as qNaN tests.
2562 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2563 qNaN_var. Fix a few strings, too.
2564 * math/libm-test.inc (nan_value): Rename to qnan_value.
2565 * math/gen-libm-test.pl (%beautify): Adjust to that.
2566 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2567 * math/test-misc.c (main): Likewise.
2568 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2569 to __qnan_bytes, and __qnan_union, respectively.
2570 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2572 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2573 and lqnanval, respectively.
2574 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2575 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2577 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2579 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2580 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2583 * math/test-misc.c (main): Fix copy'n'pastos.
2584 * misc/tst-efgcvt.c (special): Likewise.
2586 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2587 Remove declarations.
2589 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2591 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2592 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2593 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2594 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2596 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2599 macro to return vdso values correctly in IFUNC implementations.
2600 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2601 Optimization by using IFUNC.
2603 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2604 Richard Henderson <rth@redhat.com>
2605 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2607 * Makefile.in (bench): New target.
2608 * NEWS: Mention the benchmark framework.
2609 * Rules (bench): Likewise.
2610 (binaries-bench): Generate binaries for functions to
2612 * benchtests/Makefile: New makefile for benchmark tests.
2613 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2615 * benchtests/exp-inputs: New input file for EXP function.
2616 * benchtests/pow-inputs: New input file for POW function.
2617 * scripts/bench.pl: New script to generate source files for
2620 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2622 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2623 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2624 computations on mantissa. Use macros for rounding and
2627 (__dbl_mp): Likewise.
2628 (add_magnitudes): Likewise.
2629 (sub_magnitudes): Likewise.
2632 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2633 powers of two in terms of TWOPOW macro.
2634 (mp_no): Make type of mantissa as MANTISSA_T.
2635 [!RADIXI]: Define RADIXI.
2636 [!TWO52]: Define TWO52.
2637 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2639 * manual/nptl.texi (cindex): Modify threads to pthreads.
2641 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2643 * sysdeps/x86_64/preconfigure: Regenerated.
2645 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2648 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2650 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2651 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2653 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2654 * math/libm-test.inc (j0_test): Do not allow one spurious
2655 underflow exception.
2656 (y1_test): Likewise.
2658 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2660 * manual/Makefile (chapters): Add nptl.
2661 * manual/debug.texi (Debugging Support): Add link to Threads
2663 * manual/nptl.texi: New file.
2665 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2667 2013-03-14 Petr Baudis <pasky@ucw.cz>
2669 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2670 for non-NULL pointer before the memory validity test. Pointed
2671 out by Holger Brunck <holger.brunck@keymile.com>.
2673 2013-03-13 Andreas Schwab <schwab@suse.de>
2675 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2678 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2680 * timezone/zic.c: Update from tzcode 2013b.
2682 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2684 * manual/install.texi (Configuring and compiling):
2685 Mention i686 and i586.
2686 * INSTALL: Regenerate.
2688 2013-03-12 Roland McGrath <roland@hack.frob.com>
2690 * sysdeps/init_array/elf-init.c: New file.
2692 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2693 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2695 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2696 __gmon_start__ as global, but as static with a .preinit_array pointer.
2697 * sysdeps/init_array/gmon-start.c: New file. Use that.
2698 * sysdeps/init_array/crti.S: New file, empty except for comments.
2699 * sysdeps/init_array/crtn.S: Likewise.
2701 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2703 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2706 Remove Prefer_SSE_for_memop.
2707 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2708 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2709 HAS_PREFER_SSE_FOR_MEMOP.
2710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2713 Remove bzero, memset ifunc support.
2714 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2715 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2716 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2717 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2719 2013-03-11 Andreas Schwab <schwab@suse.de>
2722 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2725 (GLIBC_2.16): Remove pthread_atfork.
2727 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2729 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2730 (ptestcases.h): Likewise.
2732 2013-03-08 Roland McGrath <roland@hack.frob.com>
2734 * Makeconfig ($(common-objpfx)config.status): Depend on
2735 sysdeps/*/preconfigure{,.in} too.
2737 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2739 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2740 (__free_hook): Use void * instead of __malloc_ptr_t.
2741 (__malloc_hook): Likewise.
2742 (__realloc_hook): Likewise.
2743 (__memalign_hook): Likewise.
2744 (__after_morecore_hook): Likewise.
2745 * malloc/arena.c (save_malloc_hook): Likewise.
2746 (save_free_hook): Likewise.
2747 * malloc/hooks.c (malloc_hook_ini): Likewise.
2748 (realloc_hook_ini): Likewise.
2749 (memalign_hook_ini): Likewise.
2750 * malloc/malloc.c (malloc_hook_ini): Likewise.
2751 (realloc_hook_ini): Likewise.
2752 (memalign_hook_ini): Likewise.
2753 (__free_hook): Likewise.
2754 (__malloc_hook): Likewise.
2755 (__realloc_hook): Likewise.
2756 (__memalign_hook): Likewise.
2757 (__libc_malloc): Likewise.
2758 (__libc_free): Likewise.
2759 (__libc_realloc): Likewise.
2760 (__libc_memalign): Likewise.
2761 (__libc_valloc): Likewise.
2762 (__libc_pvalloc): Likewise.
2763 (__libc_calloc): Likewise.
2764 (__posix_memalign): Likewise.
2765 * malloc/morecore.c (__sbrk): Likewise.
2766 (__default_morecore): Likewise.
2768 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2770 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2771 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2774 * malloc/malloc.h (__malloc_size_t): Remove macro.
2775 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2777 (old_memalign_hook): Likewise.
2778 (old_realloc_hook): Likewise.
2779 (struct hdr): Likewise.
2781 (mallochook): Likewise.
2782 (memalignhook): Likewise.
2783 (reallochook): Likewise.
2784 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2785 (tr_old_realloc_hook): Likewise.
2786 (tr_old_memalign_hook): Likewise.
2787 (tr_mallochook): Likewise.
2788 (tr_reallochook): Likewise.
2789 (tr_memalignhook): Likewise.
2791 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2794 default_ldbl_pack and using as default implementation.
2795 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2797 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2798 redundant definition.
2799 (ldbl_insert_mantissa): Likewise.
2800 (ldbl_canonicalize): Likewise.
2801 (ldbl_nearbyint): Likewise.
2802 (ldbl_pack): Rename to ldbl_pack_ppc.
2803 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2804 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2805 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2807 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2810 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2811 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2812 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2814 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2815 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2816 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2818 2013-03-07 Andreas Jaeger <aj@suse.de>
2820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2823 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2825 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2826 Include mpa.h and declare __MPEXP.
2827 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2828 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2829 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2831 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2832 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2833 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2835 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2836 (__slowpow): Use long double EXPL and LOGL functions to
2838 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2839 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2840 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2841 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2842 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2846 intermediate variable to calculate exponent.
2848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2852 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2853 [!NO__SQR]: Define __sqr.
2854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2855 and NO__SQR. Remove all code except __mul and __sqr. Include
2856 sysdeps/ieee754/dbl-64/mpa.c.
2857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2860 * posix/Makefile (tests): Add tst-pathconf.
2861 * posix/tst-pathconf.c: New test case.
2862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2864 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2866 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2868 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2870 2013-03-06 Andreas Jaeger <aj@suse.de>
2872 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2873 definition via __MAP_ANONYMOUS.
2875 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2876 it's not part of Linux headers.
2878 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2879 (MAP_HUGE_MASK): Define.
2881 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2883 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2887 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2892 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2894 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2895 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2896 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2897 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2898 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2905 Handle f2fs and efivarfs.
2907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2910 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2911 (EFIVARFS_MAGIC): Add.
2912 (F2FS_LINK_MAX): Add.
2914 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2916 * stdio-common/vfprintf.c: Replace __builtin_expect with
2919 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2922 * sysdeps/generic/bp-sym.h: Remove file.
2923 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2924 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2925 <bp-sym.h> and <bp-asm.h>.
2926 (__longjmp): Don't use BP_SYM.
2927 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2929 (memcpy): Don't use BP_SYM.
2930 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2931 <bp-sym.h> and <bp-asm.h>.
2932 (memcpy): Don't use BP_SYM.
2933 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2935 (memcpy): Don't use BP_SYM.
2936 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2938 (memset): Don't use BP_SYM.
2939 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2940 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2941 (__bzero): Don't use BP_SYM.
2942 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2943 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2944 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2945 <bp-sym.h> and <bp-asm.h>.
2946 (memcmp): Don't use BP_SYM. Remove comment about bounded
2948 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2949 <bp-sym.h> and <bp-asm.h>.
2950 (memcpy): Don't use BP_SYM.
2951 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2952 <bp-sym.h> and <bp-asm.h>.
2953 (memset): Don't use BP_SYM.
2954 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2955 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2956 (__bzero): Don't use BP_SYM.
2957 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2958 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2960 <bp-sym.h> and <bp-asm.h>.
2961 (strncmp): Don't use BP_SYM. Remove comment about bounded
2963 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2964 <bp-sym.h> and <bp-asm.h>.
2965 (memcpy): Don't use BP_SYM.
2966 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2967 <bp-sym.h> and <bp-asm.h>.
2968 (memset): Don't use BP_SYM.
2969 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2970 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2971 (__bzero): Don't use BP_SYM.
2972 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2973 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2975 <bp-sym.h> and <bp-asm.h>.
2976 (__memchr): Don't use BP_SYM.
2977 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2978 <bp-sym.h> and <bp-asm.h>.
2979 (memcmp): Don't use BP_SYM. Remove comment about bounded
2981 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2982 <bp-sym.h> and <bp-asm.h>.
2983 (memcpy): Don't use BP_SYM.
2984 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2985 <bp-sym.h> and <bp-asm.h>.
2986 (__mempcpy): Don't use BP_SYM.
2987 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2988 <bp-sym.h> and <bp-asm.h>.
2989 (__memrchr): Don't use BP_SYM.
2990 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2991 <bp-sym.h> and <bp-asm.h>.
2992 (memset): Don't use BP_SYM.
2993 (__bzero): Likewise.
2994 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2995 <bp-sym.h> and <bp-asm.h>.
2996 (__rawmemchr): Don't use BP_SYM.
2997 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2998 <bp-sym.h> and <bp-asm.h>.
2999 (__STRCMP): Don't use BP_SYM.
3000 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3001 <bp-sym.h> and <bp-asm.h>.
3002 (strchr): Don't use BP_SYM.
3003 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3004 <bp-sym.h> and <bp-asm.h>.
3005 (__strchrnul): Don't use BP_SYM.
3006 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3007 <bp-sym.h> and <bp-asm.h>.
3008 (strlen): Don't use BP_SYM.
3009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3010 <bp-sym.h> and <bp-asm.h>.
3011 (strncmp): Don't use BP_SYM. Remove comment about bounded
3013 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3014 <bp-sym.h> and <bp-asm.h>.
3015 (__strnlen): Don't use BP_SYM.
3016 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3017 <bp-sym.h> and <bp-asm.h>.
3018 (__GI__setjmp): Don't use BP_SYM.
3019 (_setjmp): Likewise.
3020 (__sigsetjmp): Likewise.
3021 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3022 (L(start_addresses)): Don't use BP_SYM.
3024 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3026 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3027 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3028 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3029 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3030 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3032 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3033 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3034 about bounded pointers.
3035 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3036 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3037 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3039 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3040 about bounded pointers. Remove GKM FIXME comments.
3041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3042 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3044 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3045 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3046 Remove GKM FIXME comments.
3047 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3048 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3049 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3051 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3052 about bounded pointers. Remove GKM FIXME comment.
3053 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3055 (strncmp): Don't use BP_SYM. Remove comment about bounded
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3058 <bp-sym.h> and <bp-asm.h>.
3059 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3061 <bp-sym.h> and <bp-asm.h>.
3062 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3065 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3067 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3070 2013-03-05 David S. Miller <davem@davemloft.net>
3072 * po/es.po: Update from translation team.
3074 2013-03-05 Andreas Jaeger <aj@suse.de>
3076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3077 <bits/mman-linux.h>.
3078 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3080 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3081 <bits/mman-linux.h> to end of file.
3082 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3084 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3085 <bits/mman-linux.h> to end of file.
3086 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3089 <bits/mman-linux.h> to end of file.
3091 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3092 (MCL_CURRENT, MCL_FUTURE): Define here.
3094 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3097 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3099 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3101 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3104 fourth parameter needed for rt_sigprocmask syscall.
3105 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3106 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3107 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3108 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3109 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3110 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3112 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3115 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3116 comment about bounded pointers.
3117 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3118 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3120 2013-03-04 Andreas Jaeger <aj@suse.de>
3122 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3126 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3127 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3132 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3136 __ieee754_sqrl instead of __sqrl.
3138 2013-03-01 Joseph Myers <joseph@codesourcery.com>
3140 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3141 * sysdeps/powerpc/fpu_control.h: ... here.
3142 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3143 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3144 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3145 * sysdeps/powerpc/bits/mathinline.h: ... here.
3147 2013-03-01 Roland McGrath <roland@hack.frob.com>
3149 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3150 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3151 to just [NEED_DL_SYSINFO_DSO].
3152 * elf/dl-support.c: Likewise.
3153 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3154 * elf/rtld.c (dl_main): Likewise.
3155 * elf/setup-vdso.h (setup_vdso): Likewise.
3156 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3157 * sysdeps/unix/sysv/linux/dl-sysdep.c
3158 (_dl_discover_osversion): Likewise.
3160 2013-03-01 Carlos O'Donell <carlos@redhat.com>
3162 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3163 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3165 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3167 * NEWS: Mention libm performance improvements and non-x86 PI
3170 * csu/libc-start.c (__pthread_initialize_minimal): Change
3172 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3174 2013-02-28 Joseph Myers <joseph@codesourcery.com>
3177 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3178 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3179 <bp-sym.h> and <bp-asm.h>.
3180 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3181 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3183 (memcpy): Don't use BP_SYM.
3184 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3186 (__mpn_add_n): Don't use BP_SYM.
3187 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3188 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3190 (__mpn_addmul_1): Don't use BP_SYM.
3191 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3192 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3194 (_setjmp): Don't use BP_SYM.
3195 (__novmx_setjmp): Likewise.
3196 (__GI__setjmp): Likewise.
3197 (__vmx_setjmp): Likewise.
3198 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3200 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3201 (__bzero): Don't use BP_SYM.
3202 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3203 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3204 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3205 <bp-sym.h> and <bp-asm.h>.
3206 (memcpy): Don't use BP_SYM.
3207 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3208 <bp-sym.h> and <bp-asm.h>.
3209 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3210 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3211 <bp-sym.h> and <bp-asm.h>.
3212 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3213 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3215 (__mpn_lshift): Don't use BP_SYM.
3216 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3217 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3219 (memset): Don't use BP_SYM.
3220 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3221 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3222 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3224 (__mpn_mul_1): Don't use BP_SYM.
3225 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3227 <bp-sym.h> and <bp-asm.h>.
3228 (memcmp): Don't use BP_SYM.
3229 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3230 <bp-sym.h> and <bp-asm.h>.
3231 (memcpy): Don't use BP_SYM.
3232 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3233 <bp-sym.h> and <bp-asm.h>.
3234 (memset): Don't use BP_SYM.
3235 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3236 <bp-sym.h> and <bp-asm.h>.
3237 (strncmp): Don't use BP_SYM.
3238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3239 <bp-sym.h> and <bp-asm.h>.
3240 (memcpy): Don't use BP_SYM.
3241 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3242 <bp-sym.h> and <bp-asm.h>.
3243 (memset): Don't use BP_SYM.
3244 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3245 <bp-sym.h> and <bp-asm.h>.
3246 (__memchr): Don't use BP_SYM.
3247 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3248 <bp-sym.h> and <bp-asm.h>.
3249 (memcmp): Don't use BP_SYM.
3250 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3251 <bp-sym.h> and <bp-asm.h>.
3252 (memcpy): Don't use BP_SYM.
3253 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3254 <bp-sym.h> and <bp-asm.h>.
3255 (__mempcpy): Don't use BP_SYM.
3256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3257 <bp-sym.h> and <bp-asm.h>.
3258 (__memrchr): Don't use BP_SYM.
3259 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3260 <bp-sym.h> and <bp-asm.h>.
3261 (memset): Don't use BP_SYM.
3262 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3263 <bp-sym.h> and <bp-asm.h>.
3264 (__rawmemchr): Don't use BP_SYM.
3265 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3266 <bp-sym.h> and <bp-asm.h>.
3267 (__STRCMP): Don't use BP_SYM.
3268 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3269 <bp-sym.h> and <bp-asm.h>.
3270 (strchr): Don't use BP_SYM.
3271 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3272 <bp-sym.h> and <bp-asm.h>.
3273 (__strchrnul): Don't use BP_SYM.
3274 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3275 <bp-sym.h> and <bp-asm.h>.
3276 (strlen): Don't use BP_SYM.
3277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3278 <bp-sym.h> and <bp-asm.h>.
3279 (strncmp): Don't use BP_SYM.
3280 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3281 <bp-sym.h> and <bp-asm.h>.
3282 (__strnlen): Don't use BP_SYM.
3283 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3285 (__mpn_rshift): Don't use BP_SYM.
3286 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3287 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3288 <bp-sym.h> and <bp-asm.h>.
3289 (__sigsetjmp): Don't use BP_SYM.
3290 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3291 (L(start_addresses)): Don't use BP_SYM.
3293 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3295 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3296 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3297 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3298 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3300 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3301 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3302 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3303 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3305 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3307 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3308 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3310 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3312 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3313 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3314 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3316 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3318 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3320 (strncmp): Don't use BP_SYM,
3321 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3323 (__mpn_sub_n): Don't use BP_SYM.
3324 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3325 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3327 (__mpn_submul_1): Don't use BP_SYM.
3328 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3330 <bp-sym.h> and <bp-asm.h>.
3331 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3333 <bp-sym.h> and <bp-asm.h>.
3334 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3337 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3340 Use ZK to minimize writes to Z.
3341 (sub_magnitudes): Simplify code a bit.
3342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3343 Use ZK to minimize writes to Z.
3344 (sub_magnitudes): Simplify code a bit.
3346 2013-02-27 Roland McGrath <roland@hack.frob.com>
3348 * csu/gmon-start.c: Add special exception to license text.
3350 2013-02-27 Richard Henderson <rth@redhat.com>
3352 * scripts/config.guess: Update from config.git.
3353 * scripts/config.sub: Likewise.
3355 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3359 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3361 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3363 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3365 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3367 2013-02-26 Roland McGrath <roland@hack.frob.com>
3369 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3370 [$(build-shared = yes].
3372 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3374 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3375 (__mul): Reduce iterations for calculating mantissa.
3377 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3379 (__mpranred): Likewise.
3382 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3383 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3385 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3387 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3388 Define __attribute__.
3390 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3392 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3394 * posix/regex_internal.h (__attribute): Remove.
3395 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3396 (re_string_context_at): Likewise.
3397 (bitset_not): Use __attribute__ and mark function as possibly
3399 (bitset_merge): Likewise.
3400 (bitset_mask): Likewise.
3401 (re_string_char_size_at): Likewise.
3402 (re_string_wchar_at): Likewise.
3403 (re_string_elem_size_at): Likewise.
3405 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3407 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3411 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3416 (__dbl_mp): Likewise.
3417 (add_magnitudes): Likewise.
3418 (sub_magnitudes): Likewise.
3422 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3425 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3428 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3432 up changes with default code.
3433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3436 2013-02-24 Allan McRae <allan@archlinux.org>
3438 * manual/socket.texi (The Internet Namespace): Order menu items
3439 to match that in the file.
3441 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3442 node listing of the info page menu.
3444 2013-02-21 Joseph Myers <joseph@codesourcery.com>
3447 * sysdeps/i386/bp-asm.h: Remove file.
3448 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3449 (PARMS): Do not use macros from bp-asm.h.
3453 (__mpn_add_n): Do not use BP_SYM
3454 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3456 (PARMS): Do not use macros from bp-asm.h.
3459 (__mpn_addmul_1): Do not use BP_SYM
3460 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3462 (PARMS): Do not use macros from bp-asm.h.
3464 (_setjmp): Likewise. Do not use BP_SYM.
3465 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3467 (PARMS): Do not use macros from bp-asm.h.
3469 (setjmp): Likewise. Do not use BP_SYM.
3470 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3472 (PARMS): Do not use macros from bp-asm.h.
3473 (__frexp): Do not use BP_SYM.
3475 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3477 (PARMS): Do not use macros from bp-asm.h.
3478 (__frexpf): Do not use BP_SYM.
3480 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3482 (PARMS): Do not use macros from bp-asm.h.
3483 (__frexpl): Do not use BP_SYM.
3485 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3487 (PARMS): Do not use macros from bp-asm.h.
3488 (__remquo): Do not use BP_SYM.
3490 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3492 (PARMS): Do not use macros from bp-asm.h.
3493 (__remquof): Do not use BP_SYM.
3494 (remquof): Likewise.
3495 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3497 (PARMS): Do not use macros from bp-asm.h.
3498 (__remquol): Do not use BP_SYM.
3499 (remquol): Likewise.
3500 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3502 (PARMS): Do not use macros from bp-asm.h.
3505 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3506 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3508 (PARMS): Do not use macros from bp-asm.h.
3509 (strlen): Do not use BP_SYM.
3510 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3512 (PARMS): Do not use macros from bp-asm.h.
3516 (__mpn_add_n): Do not use BP_SYM.
3517 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3519 (PARMS): Do not use macros from bp-asm.h.
3522 (__mpn_addmul_1): Do not use BP_SYM.
3523 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3526 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3528 (PARMS): Do not use macros from bp-asm.h.
3531 (__mpn_lshift): Do not use BP_SYM.
3532 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3534 (PARMS): Do not use macros from bp-asm.h.
3538 (memcpy): Likewise. Do not use BP_SYM.
3539 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3540 libc_hidden_def and weak_alias.
3541 (mempcpy): Do not use BP_SYM in weak_alias.
3542 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3544 (PARMS): Do not use macros from bp-asm.h.
3547 [!BZERO_P] (CHR): Likewise.
3548 (memset): Likewise. Do not use BP_SYM.
3549 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3551 (PARMS): Do not use macros from bp-asm.h.
3554 (__mpn_mul_1): Do not use BP_SYM.
3555 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3557 (PARMS): Do not use macros from bp-asm.h.
3560 (__mpn_rshift): Do not use BP_SYM.
3561 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3563 (PARMS): Do not use macros from bp-asm.h.
3566 (strchr): Likewise. Do not use BP_SYM.
3567 (index): Do not use BP_SYM in weak_alias.
3568 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3570 (PARMS): Do not use macros from bp-asm.h.
3573 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3574 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3576 (PARMS): Do not use macros from bp-asm.h.
3577 (strlen): Do not use BP_SYM.
3578 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3580 (PARMS): Do not use macros from bp-asm.h.
3584 (__mpn_sub_n): Do not use BP_SYM.
3585 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3587 (PARMS): Do not use macros from bp-asm.h.
3590 (__mpn_submul_1): Do not use BP_SYM.
3591 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3593 (PARMS): Do not use macros from bp-asm.h.
3597 (__mpn_add_n): Do not use BP_SYM.
3598 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3601 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3603 (PARMS): Do not use macros from bp-asm.h.
3606 (memcmp): Do not use BP_SYM.
3607 (bcmp): Do not use BP_SYM in weak_alias.
3608 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3610 (PARMS): Do not use macros from bp-asm.h.
3614 (memcpy): Likewise. Do not use BP_SYM.
3615 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3617 (PARMS): Do not use macros from bp-asm.h.
3621 (memmove): Likewise. Do not use BP_SYM.
3622 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3624 (PARMS): Do not use macros from bp-asm.h.
3628 (__mempcpy): Likewise. Do not use BP_SYM.
3629 (mempcpy): Do not use BP_SYM in weak_alias.
3630 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3632 (PARMS): Do not use macros from bp-asm.h.
3635 [!BZERO_P] (CHR): Likewise.
3636 (memset): Likewise. Do not use BP_SYM.
3637 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3639 (PARMS): Do not use macros from bp-asm.h.
3641 (strcmp): Do not use BP_SYM.
3642 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3644 (PARMS): Do not use macros from bp-asm.h.
3647 [USE_AS_STRTOK_R] (SAVE): Likewise.
3648 (FUNCTION): Likewise. Do not use BP_SYM.
3649 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3651 (strtok_r): Likewise.
3652 (__GI___strtok_r): Likewise.
3653 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3654 (PARMS): Do not use macros from bp-asm.h.
3657 (__mpn_lshift): Do not use BP_SYM.
3658 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3659 (PARMS): Do not use macros from bp-asm.h.
3662 (__memchr): Do not use BP_SYM.
3663 (memchr): Do not use BP_SYM in weak_alias.
3664 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3665 (PARMS): Do not use macros from bp-asm.h.
3668 (memcmp): Do not use BP_SYM.
3669 (bcmp): Do not use BP_SYM in weak_alias.
3670 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3671 (PARMS): Do not use macros from bp-asm.h.
3674 (__mpn_mul_1): Do not use BP_SYM.
3675 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3677 (PARMS): Do not use macros from bp-asm.h.
3680 (__rawmemchr): Do not use BP_SYM.
3681 (rawmemchr): Do not use BP_SYM in weak_alias.
3682 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3683 (PARMS): Do not use macros from bp-asm.h.
3686 (__mpn_rshift): Do not use BP_SYM.
3687 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3688 (PARMS): Do not use macros from bp-asm.h.
3690 (__sigsetjmp): Likewise. Do not use BP_SYM.
3691 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3692 (_start): Do not use BP_SYM.
3693 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3694 (PARMS): Do not use macros from bp-asm.h.
3697 (__stpcpy): Likewise. Do not use BP_SYM.
3698 (stpcpy): Do not use BP_SYM in weak_alias.
3699 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3701 (PARMS): Do not use macros from bp-asm.h.
3705 (__stpncpy): Likewise. Do not use BP_SYM.
3706 (stpncpy): Do not use BP_SYM in weak_alias.
3707 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3708 (PARMS): Do not use macros from bp-asm.h.
3711 (strchr): Likewise. Do not use BP_SYM.
3712 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3714 (PARMS): Do not use macros from bp-asm.h.
3717 (__strchrnul): Likewise. Do not use BP_SYM.
3718 (strchrnul): Do not use BP_SYM in weak_alias.
3719 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3721 (PARMS): Do not use macros from bp-asm.h.
3723 (strcspn): Do not use BP_SYM.
3724 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3726 (PARMS): Do not use macros from bp-asm.h.
3729 (strpbrk): Likewise. Do not use BP_SYM.
3730 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3732 (PARMS): Do not use macros from bp-asm.h.
3735 (strrchr): Likewise. Do not use BP_SYM.
3736 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3737 (PARMS): Do not use macros from bp-asm.h.
3739 (strspn): Do not use BP_SYM.
3740 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3741 (PARMS): Do not use macros from bp-asm.h.
3745 (FUNCTION): Likewise. Do not use BP_SYM.
3746 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3748 (strtok_r): Likewise.
3749 (__GI___strtok_r): Likewise.
3750 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3751 (PARMS): Do not use macros from bp-asm.h.
3755 (__mpn_sub_n): Do not use BP_SYM.
3756 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3758 (PARMS): Do not use macros from bp-asm.h.
3761 (__mpn_submul_1): Do not use BP_SYM.
3762 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3764 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3766 (PARMS): Do not use macros from bp-asm.h.
3771 (__clone): Do not use BP_SYM.
3772 (clone): Do not use BP_SYM in weak_alias.
3773 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3775 (PARMS): Do not use macros from bp-asm.h.
3777 (__mmap64): Do not use BP_SYM.
3778 (mmap64): Do not use BP_SYM in weak_alias.
3779 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3780 <bp-sym.h> and <bp-asm.h>.
3781 (PARMS): Do not use macros from bp-asm.h.
3782 (__posix_fadvise64_l64): Do not use BP_SYM.
3783 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3784 (PARMS): Do not use macros from bp-asm.h.
3786 (semtimedop): Do not use BP_SYM.
3787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3790 2013-02-21 Allan McRae <allan@archlinux.org>
3792 * manual/message.texi (Charset conversion in gettext):
3793 Move @end statement to beginning of line.
3795 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3802 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3807 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3809 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3810 tail-call to the resolved function if pltexit isn't needed.
3812 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3815 or Y being zero as being unlikely.
3816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3819 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3821 * manual/nss.texi (System Databases and Name Service Switch):
3822 Remove frobnicate @pxref.
3824 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3826 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3827 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3829 2013-02-20 Petr Machata <pmachata@redhat.com>
3831 * elf/elf.h (R_ARM_TARGET1): New macro.
3832 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3833 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3834 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3835 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3836 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3837 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3838 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3839 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3840 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3841 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3842 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3843 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3844 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3845 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3846 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3847 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3848 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3849 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3850 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3851 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3852 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3853 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3854 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3855 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3856 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3857 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3858 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3859 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3860 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3861 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3862 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3863 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3864 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3865 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3866 (R_ARM_THM_GOT_BREL12): Likewise.
3867 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3868 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3869 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3870 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3871 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3872 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3873 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3874 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3875 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3877 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3879 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3880 __attribute_used__ to __attribute__ ((unused)).
3882 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3890 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3895 (ENTER): Remove both macro definitions.
3897 (CHECK_BOUNDS_LOW): Likewise.
3898 (CHECK_BOUNDS_HIGH): Likewise.
3899 (CHECK_BOUNDS_BOTH): Likewise.
3900 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3901 (RETURN_BOUNDED_POINTER): Likewise.
3902 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3903 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3904 (POP_ERRNO_LOCATION_RETURN): Likewise.
3905 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3906 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3907 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3909 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3910 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3911 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3912 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3913 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3914 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3915 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3916 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3917 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3918 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3919 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3920 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3921 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3922 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3924 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3925 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3927 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3928 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3929 * sysdeps/i386/i586/memset.S (memset): Likewise.
3930 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3931 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3932 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3934 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3935 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3936 Change uses of L(2) to L(out).
3937 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3938 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3939 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3940 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3941 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3944 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3946 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3947 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3948 (RETURN): Do not use macro LEAVE.
3949 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3950 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3951 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3952 * sysdeps/i386/i686/memset.S (memset): Likewise.
3953 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3954 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3955 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3956 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3958 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3959 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3960 L(1_2) and L(1_3) into L(1).
3961 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3962 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3963 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3964 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3965 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3966 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3967 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3968 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3969 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3971 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3972 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3973 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3974 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3975 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3976 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3977 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3978 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3979 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3980 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3981 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3982 * sysdeps/i386/strspn.S (strspn): Likewise.
3983 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3985 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3986 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3987 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3988 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3990 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3991 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3992 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3994 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3996 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3998 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4001 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4003 * math/atest-exp.c (exp_mpn): Remove ROUND.
4004 * math/atest-exp2.c (exp_mpn): Likewise.
4005 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4007 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4008 * stdlib/tst-tls-atexit-lib.c: Likewise.
4009 * stdlib/tst-tls-atexit.c: Likewise.
4011 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4013 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4014 and __attribute_alloc_size__.
4016 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4018 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4019 __attribute_alloc_size__.
4020 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4021 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4023 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4025 * include/programs/xmalloc.h: New file.
4026 * catgets/gencat.c: Include it.
4027 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4028 * elf/pldd.c: Likewise.
4029 * iconv/iconv_charmap.c: Likewise.
4030 * iconv/iconvconfig.c: Likewise.
4031 * iconv/strtab.c: Likewise.
4032 * locale/programs/locale.c: Likewise.
4033 * locale/programs/localedef.h: Likewise.
4034 * locale/programs/simple-hash.c: Likewise.
4035 * nscd/nscd.h: Likewise.
4036 * nss/makedb.c: Likewise.
4037 * sysdeps/generic/ldconfig.h: Likewise.
4039 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4041 * Versions.def: Add GLIBC_2.18.
4042 * include/link.h (struct link_map): New member l_tls_dtor_count.
4043 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4044 (__call_tls_dtors): Likewise.
4045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4046 __cxa_thread_atexit_impl.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4063 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4064 (tests): Add test case tst-tls-atexit.
4065 (modules-names): Add shared library for tst-tls-atexit.
4066 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4067 (GLIBC_PRIVATE): Add __call_tls_dtors.
4068 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4070 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4071 * stdlib/tst-tls-atexit.c: New test case.
4072 * stdlib/tst-tls-atexit-lib.c: New test case.
4074 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4076 * elf/Versions (ld): Add _dl_find_dso_for_object.
4077 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4078 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4079 (dl_open_worker): Use _dl_find_dso_for_object.
4080 * elf/dl-sym.c (do_sym): Likewise.
4081 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4083 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4085 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4086 Syntactic changes only.
4087 (_dl_runtime_profile): Do a tail-call to the resolved function.
4089 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4092 * sysdeps/x86_64/bp-asm.h: Remove file.
4093 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4094 <bp-sym.h> and <bp-asm.h>.
4095 (__clone): Do not use BP_SYM.
4096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4097 <bp-sym.h> and <bp-asm.h>.
4098 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4099 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4101 (_setjmp): Do not use BP_SYM.
4102 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4104 (setjmp): Do not use BP_SYM.
4105 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4107 (mempcpy): Do not use BP_SYM in weak_alias.
4108 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4110 (strchr): Do not use BP_SYM.
4111 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4113 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4114 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4115 (_start): Do not use BP_SYM.
4116 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4118 (strcat): Do not use BP_SYM.
4119 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4121 (STRCMP): Do not use BP_SYM.
4122 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4124 (STRCPY): Do not use BP_SYM.
4125 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4127 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4129 (FUNCTION): Do not use BP_SYM.
4130 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4132 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4134 2013-02-17 Andreas Jaeger <aj@suse.de>
4136 * time/Versions: Sort entries.
4137 * string/Versions: Likewise.
4138 * resolv/Versions: Likewise.
4139 * posix/Versions: Likewise.
4140 * iconv/Versions: Likewise.
4141 * elf/Versions: Likewise.
4142 * wcsmbs/Versions: Likewise.
4144 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4146 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4147 loop termination condition.
4149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4150 variable to calculate EZ.
4153 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4154 the lower precision input.
4156 2013-02-15 Joseph Myers <joseph@codesourcery.com>
4159 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4160 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4161 (run-via-rtld-prefix): Do not handle %-bp tests.
4162 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4163 (all-object-suffixes): Remove .ob.
4164 (bppfx): Remove variable.
4165 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4166 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4167 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4168 [$(build-bounded) = yes] (libtype.ob): Likewise.
4169 * Makerules (elide-routines.ob): Remove variable.
4170 (do-tests-clean): Do not handle *-bp.out.
4171 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4172 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4173 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4174 (tests): Do not include $(tests-bp.out).
4175 (xtests): Do not include $(xtests-bp.out).
4176 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4177 [$(build-bounded) = yes] ($(addprefix
4178 $(objpfx),$(binaries-bounded))): Remove rule.
4179 ($(objpfx)%-bp.out): Remove rule.
4180 * config.make.in (build-bounded): Remove variable.
4181 * crypt/Makefile [$(build-bounded) = yes]
4182 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4183 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4185 [$(build-bounded) = yes] (install-lib): Likewise.
4186 [$(build-bounded) = yes] (generated): Likewise.
4187 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4189 * intl/Makefile [$(build-bounded) = yes]
4190 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4191 * math/Makefile [$(build-bounded) = yes]
4192 ($(tests:%=$(objpfx)%-bp): Likewise.
4193 * misc/Makefile [$(build-bounded) = yes]
4194 ($(objpfx)tst-tsearch-bp): Likewise.
4195 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4196 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4198 * string/Makefile (o-objects.ob): Remove variable.
4199 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4200 (CFLAGS-.ob): Remove variable.
4201 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4202 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4203 both definitions of variable.
4204 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4205 (ASFLAGS-.ob): Remove variable.
4207 2013-02-14 Joseph Myers <joseph@codesourcery.com>
4210 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4211 Remove __BOUNDED_POINTERS__ from condition.
4212 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4213 * string/bits/string2.h [!__NO_STRING_INLINES &&
4214 !__BOUNDED_POINTERS__]: Likewise.
4215 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4217 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4218 Remove conditional code.
4219 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4220 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4221 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4225 * csu/libc-start.c: Do not include <bp-sym.h>.
4226 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4227 * elf/dl-open.c: Do not include <bp-sym.h>.
4228 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4229 * math/fegetenv.c: Do not include <bp-sym.h>.
4230 (fegetenv): Do not use BP_SYM in versioned symbols.
4231 * nptl/sysdeps/pthread/bits/libc-lockP.h
4232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4235 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4237 (__pthread_mutex_destroy): Likewise.
4238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4239 (__pthread_mutex_lock): Likewise.
4240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4241 (__pthread_mutex_trylock): Likewise.
4242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4243 (__pthread_mutex_unlock): Likewise.
4244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4245 (__pthread_mutexattr_init): Likewise.
4246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4247 (__pthread_mutexattr_destroy): Likewise.
4248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4249 (__pthread_mutexattr_settype): Likewise.
4250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4251 (__pthread_rwlock_init): Likewise.
4252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4253 (__pthread_rwlock_destroy): Likewise.
4254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4255 (__pthread_rwlock_rdlock): Likewise.
4256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4257 (__pthread_rwlock_tryrdlock): Likewise.
4258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4259 (__pthread_rwlock_wrlock): Likewise.
4260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4261 (__pthread_rwlock_trywrlock): Likewise.
4262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4263 (__pthread_rwlock_unlock): Likewise.
4264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4265 (__pthread_key_create): Likewise.
4266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4267 (__pthread_setspecific): Likewise.
4268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4269 (__pthread_getspecific): Likewise.
4270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4273 (_pthread_cleanup_push_defer): Likewise.
4274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4275 (_pthread_cleanup_pop_restore): Likewise.
4276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4277 (pthread_setcancelstate): Likewise.
4278 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4280 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4281 (memchr): Do not use BP_SYM in weak_alias.
4282 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4283 (fegetenv): Do not use BP_SYM in versioned symbols.
4284 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4285 (fesetenv): Do not use BP_SYM in versioned symbols.
4286 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4287 (feupdateenv): Do not use BP_SYM in versioned symbols.
4288 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4289 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4290 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4291 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4292 (open64): Do not use BP_SYM in weak_alias.
4293 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4294 (fegetenv): Do not use BP_SYM in versioned symbols.
4295 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4296 (fesetenv): Do not use BP_SYM in versioned symbols.
4297 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4298 (feupdateenv): Do not use BP_SYM in versioned symbols.
4299 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4300 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4301 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4302 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4303 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4304 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4307 (__libc_start_main): Do not use BP_SYM.
4309 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4312 redundant return line.
4316 (sub_magnitudes): Likewise.
4322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4326 (sub_magnitudes): Likewise.
4333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4336 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4339 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4340 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4342 of __mul for squares.
4343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4350 2013-02-13 Joseph Myers <joseph@codesourcery.com>
4353 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4355 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4356 prototype or function definition. Rename ubp_* variables and
4357 parameters. Remove argv definitions conditional on
4358 [__BOUNDED_POINTERS__].
4359 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4360 * elf/dl-runtime.c (_dl_fixup): Likewise.
4361 * include/set-hooks.h (RUN_HOOK): Likewise.
4362 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4364 * string/strcpy.c (strcpy): Do not use __unbounded.
4365 * sysdeps/generic/frame.h (struct layout): Likewise.
4366 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4367 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4368 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4369 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4370 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4371 (__backtrace): Likewise.
4372 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4374 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4375 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4376 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4378 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4379 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4380 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4382 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4383 Do not use __unbounded.
4384 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4385 Rename __unboundedrlimits parameter to rlimits in prototype.
4386 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4387 Do not use __unbounded.
4388 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4390 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4391 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4392 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4393 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4394 __ptrvalue or __unbounded.
4395 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4396 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4398 (__new_msgctl): Do not use __ptrvalue.
4399 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4401 (__libc_msgrcv): Do not use __ptrvalue.
4402 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4403 startup_info): Do not use __unbounded.
4404 (__libc_start_main): Likewise. Rename ubp_* variables and
4405 parameters. Remove argv definitions conditional on
4406 [__BOUNDED_POINTERS__].
4407 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4409 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4413 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4415 (__new_shmctl): Do not use __ptrvalue.
4416 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4417 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4419 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4421 (__libc_sigaction): Likewise.
4422 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4423 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4425 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4427 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
4429 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4431 * string/mempcpy.c: Implement by calling memcpy.
4433 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4441 values in the mantissa.
4443 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4444 minimize writes to Z.
4445 (sub_magnitudes): Simplify code a bit.
4447 2013-02-12 Roland McGrath <roland@hack.frob.com>
4449 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4450 from the message. The linker prefixes all warnings with that already.
4452 2013-02-12 Andreas Schwab <schwab@suse.de>
4455 * posix/regexec.c (extend_buffers): Add parameter min_len.
4456 (check_matching): Pass minimum needed length.
4457 (clean_state_log_if_needed): Likewise.
4458 (get_subexp): Likewise.
4459 * posix/Makefile (tests): Add bug-regex34.
4460 (bug-regex34-ENV): Define.
4461 * posix/bug-regex34.c: New file.
4464 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4465 elements compare against the byte sequence of it, not its name.
4466 * posix/Makefile (tests): Add bug-regex35.
4467 (bug-regex35-ENV): Define.
4468 * posix/bug-regex35.c: New file.
4470 2013-02-11 Tom de Vries <tom@codesourcery.com>
4472 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4474 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4475 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4476 (CHECK_EOL): Add undef.
4478 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
4480 * bits/stdlib-bsearch.h: New file.
4481 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4482 * stdlib/stdlib.h: Likewise.
4484 2013-02-11 Roland McGrath <roland@hack.frob.com>
4486 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4487 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4489 * manual/search.texi (Array Search Function): Add missing const in
4491 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4492 declaration to use rlim_t.
4493 (Basic Scheduling Functions): Remove erroneous const from
4494 sched_getparam prototype. Remove erroneous * from
4495 sched_get_priority_max and sched_get_priority_min prototypes.
4496 (Resource Usage): Fix summary @comment on vtimes to refer to
4497 sys/vtimes.h rather than vtimes.h.
4498 Add missing *s in vtimes prototype.
4499 (Limits on Resources): Fix ulimit prototype to return long int.
4500 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4501 prototypes to use long int rather than double.
4502 (BSD Random): Fix initstate and setstate to use char *, not void *.
4503 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4504 prototype to make second argument 'struct aiocb64 *const[]'.
4505 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4506 (Status of AIO Operations): Remove erroneous const in aio_return and
4507 aio_return64 prototypes.
4508 (Synchronizing I/O): Fix sync prototype to return void.
4509 * manual/startup.texi (Suboptions): Remove an erroneous const in
4510 getsubopt prototype.
4511 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4512 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4513 use size_t rather than int.
4514 (Scanning All Users): Likewise for getpwent_r.
4515 (Setting Groups): Add missing const to setgroups prototype.
4516 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4517 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4518 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4519 'const void *' rather than 'const char *'.
4520 (Host Address Functions): Likewise for inet_ntop.
4521 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4522 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4523 ssize_t for return value.
4524 (Sending Data): Likewise for send, sendto, sendmsg.
4525 (Socket Option Functions): Add a missing const in setsockopt prototype.
4526 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4527 use wchar_t for the argument.
4528 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4529 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4531 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4532 double/float/long double for second argument.
4533 Fix return types of significand, significandf, significandl.
4534 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4535 argument in fchmod prototype.
4536 (File Owner): Use uid_t and gid_t in fchown prototype.
4537 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4538 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4539 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4540 use 'const struct dirent **' as argument types to CMP function pointer
4542 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4543 (File Times): Fix summary magic @comment for struct utimbuf and utime
4544 to refer to utime.h, not time.h.
4545 * manual/string.texi (Argz Functions): Add missing const in
4546 argz_extract and argz_next prototypes.
4547 (Finding Tokens in a String): Likewise for basename.
4548 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4549 (Copying and Concatenation): Fix typo in wmemmove prototype.
4550 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4551 (Signal Stack): Remove erroneous const in sigstack prototype.
4552 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4554 (Simple Calendar Time): Likewise for stime.
4555 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4557 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4558 say sys/sysctl.h instead.
4559 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4560 and vsyslog prototypes.
4562 2013-02-11 Tom de Vries <tom@codesourcery.com>
4564 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4567 2013-02-11 Roland McGrath <roland@hack.frob.com>
4569 * misc/sys/mman.h: Fix typo in mremap comment.
4571 2013-02-08 Roland McGrath <roland@hack.frob.com>
4573 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4574 the '\0' terminator.
4576 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4579 * debug/segfault.c: Don't include <bp-checks.h>.
4580 * sysdeps/generic/bp-checks.h: Remove file.
4581 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4582 (__GETDENTS): Don't use CHECK_N.
4583 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4584 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4585 (__getgroups): Don't use CHECK_N.
4586 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4587 (setgroups): Don't use CHECK_N.
4588 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4589 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4590 (__libc_msgrcv): Don't use CHECK_N.
4591 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4592 (__libc_msgsnd): Don't use CHECK_N.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4595 (__libc_pread): Don't use CHECK_N.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4597 include <bp-checks.h>.
4598 (__libc_pread64): Don't use CHECK_N.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4600 include <bp-checks.h>.
4601 (__libc_pwrite): Don't use CHECK_N.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4603 include <bp-checks.h>.
4604 (__libc_pwrite64): Don't use CHECK_N.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4607 (__libc_pread): Don't use CHECK_N.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4609 include <bp-checks.h>.
4610 (__libc_pread64): Don't use CHECK_N.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4612 include <bp-checks.h>.
4613 (__libc_pwrite): Don't use CHECK_N.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4615 include <bp-checks.h>.
4616 (__libc_pwrite64): Don't use CHECK_N.
4617 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4618 (do_pread): Don't use CHECK_N.
4619 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4620 (do_pread64): Don't use CHECK_N.
4621 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4622 (do_pwrite): Don't use CHECK_N.
4623 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4624 (do_pwrite64): Don't use CHECK_N.
4625 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4626 (__libc_readv): Don't use CHECK_N.
4627 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4628 (semop): Don't use CHECK_N.
4629 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4631 (semtimedop): Don't use CHECK_N.
4632 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4633 (__libc_pread): Don't use CHECK_N.
4634 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4636 (__libc_pread64): Don't use CHECK_N.
4637 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4639 (__libc_pwrite): Don't use CHECK_N.
4640 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4642 (__libc_pwrite64): Don't use CHECK_N.
4643 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4645 (__libc_msgrcv): Don't use CHECK_N.
4646 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4647 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4648 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4649 (__libc_writev): Don't use CHECK_N.
4651 2013-02-08 Roland McGrath <roland@hack.frob.com>
4653 * string/strcpy.c: Removed unused variable.
4655 * Makeconfig (+sysdep-includes): Define with := rather than =.
4656 Use an existing include/ subdir of each sysdeps dir before it.
4658 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4660 * nscd/connection.c (register_traced_file): Comment function.
4661 [HAVE_INOTIFY] (union __inev): Define.
4662 [HAVE_INOTIFY] (inotify_check_files): New function.
4663 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4664 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4666 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4668 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4670 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4671 loaded if not already and that a failure is permanent.
4673 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4676 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4677 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4679 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4682 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4683 (CHECK_1_NULL_OK): Likewise.
4684 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4685 (__fxstat): Do not use CHECK_1.
4686 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4688 (___fxstat64): Do not use CHECK_1.
4689 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4691 (__fxstatat): Do not use CHECK_1.
4692 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4694 (__fxstatat64): Do not use CHECK_1.
4695 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4697 (__fxstat): Do not use CHECK_1.
4698 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4700 (__fxstatat): Do not use CHECK_1.
4701 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4703 (__getresgid): Do not use CHECK_1.
4704 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4706 (__getresuid): Do not use CHECK_1.
4707 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4709 (__lxstat): Do not use CHECK_1.
4710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4712 (__old_msgctl): Do not use CHECK_1.
4713 (__new_msgctl): Likewise.
4714 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4716 (__new_setrlimit): Do not use CHECK_1.
4717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4719 (__old_shmctl): Do not use CHECK_1.
4720 (__new_shmctl): Likewise.
4721 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4723 (__xstat): Do not use CHECK_1.
4724 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4725 (__lxstat): Do not use CHECK_1.
4726 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4728 (___lxstat64): Do not use CHECK_1.
4729 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4730 (__old_msgctl): Do not use CHECK_1.
4731 (__new_msgctl): Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4734 (__gettimeofday): Do not use CHECK_1.
4735 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4736 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4737 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4739 (__gettimeofday): Do not use CHECK_1.
4740 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4741 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4742 (__new_shmctl): Do not use CHECK_1.
4743 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4745 (do_sigtimedwait): Do not use CHECK_1.
4746 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4748 (do_sigwaitinfo): Do not use CHECK_1.
4749 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4751 (msgctl): Do not use CHECK_1.
4752 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4754 (shmctl): Do not use CHECK_1.
4755 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4756 (ustat): Do not use CHECK_1.
4757 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4759 (__fxstat): Do not use CHECK_1.
4760 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4762 (__fxstatat): Do not use CHECK_1.
4763 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4765 (__lxstat): Do not use CHECK_1.
4766 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4768 (__xstat): Do not use CHECK_1.
4769 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4770 (__xstat): Do not use CHECK_1.
4771 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4772 (___xstat64): Do not use CHECK_1.
4775 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4777 (CHECK_BOUNDS_HIGH): Likewise.
4778 * string/strcpy.c: Do not include <bp-checks.h>.
4779 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4781 2013-02-07 Roland McGrath <roland@hack.frob.com>
4783 * nscd/nscd-client.h (__nscd_drop_map_ref):
4784 Add __attribute__ ((unused)).
4785 * nis/nss-nisplus.h (niserr2nss): Likewise.
4787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4788 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4790 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4791 Remove inline keyword.
4792 * include/rounding-mode.h (round_away): Likewise.
4793 * libio/wfileops.c (adjust_wide_data): Likewise.
4794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4795 (__m128i_strloadu_tolower): Likewise.
4796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4797 (__m128i_strloadu_tolower): Likewise.
4798 * time/mktime.c (ydhms_diff): Likewise.
4799 * locale/elem-hash.h (elem_hash): Likewise.
4800 * locale/setlocale.c (setdata): Likewise.
4801 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4802 (re_string_wchar_at): Likewise.
4803 (bitset_not, bitset_merge, bitset_mask): Likewise.
4804 [!(__GNUC__ > 3)] (inline): Remove macro.
4805 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4806 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4807 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4808 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4809 * string/memcmp.c (memcmp_bytes): Likewise.
4810 * locale/programs/locarchive.c (compute_hashval): Likewise.
4811 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4812 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4813 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4814 * nss/getent.c (print_rpc, print_protocols): Likewise.
4815 (print_passwd, print_group, print_aliases): Likewise.
4816 * nis/nss-nisplus.h (niserr2nss): Likewise.
4817 * nscd/connections.c (restart_p): Likewise.
4818 Change return type to bool.
4820 2013-02-05 Roland McGrath <roland@hack.frob.com>
4822 * Makeconfig (all-Depend-files): Add existing
4823 $(sorted-subdirs:=/Depend) files.
4824 (all-subdirs): Remove nss.
4825 * sysdeps/unix/inet/Subdirs: Add it here instead.
4826 * hesiod/Depend: New file.
4828 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4829 instead of calling alloca.
4831 * io/lseek.c (__lseek): Rename to __libc_lseek.
4832 Define __lseek as an alias.
4834 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4836 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4838 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4839 else clause and remove check for non-standard endianness.
4841 2013-02-04 David S. Miller <davem@davemloft.net>
4843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4845 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4848 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4849 (__ubp_memchr): Remove prototype.
4850 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4851 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4852 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4853 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4854 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4856 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4857 (__ubp_memchr): Likewise.
4858 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4859 (__ubp_memchr): Likewise.
4860 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4861 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4862 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4863 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4865 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4866 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4867 (__getcwd): Do not use CHECK_STRING.
4868 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4870 (__real_chown): Do not use CHECK_STRING.
4871 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4873 (fchownat): Do not use CHECK_STRING.
4874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4876 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4878 (__lchown): Do not use CHECK_STRING.
4879 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4880 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4881 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4882 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4884 include <bp-checks.h>.
4885 (truncate64): Do not use CHECK_STRING.
4886 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4888 (__real_chown): Do not use CHECK_STRING.
4889 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4891 (__lchown): Do not use CHECK_STRING.
4892 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4894 (__chown): Do not use CHECK_STRING.
4895 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4897 (truncate64): Do not use CHECK_STRING.
4898 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4900 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4901 (__xmknod): Do not use CHECK_STRING.
4902 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4904 (__xmknodat): Do not use CHECK_STRING.
4905 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4906 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4908 2013-02-04 Andreas Schwab <schwab@suse.de>
4911 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4912 * include/netdb.h: Likewise for h_errno.
4913 * elf/tst-stackguard1.c: Include <tls.h>.
4915 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4917 * elf/link.h (struct link_map): Extend the l_addr comment.
4918 * include/link.h (struct link_map): Likewise.
4920 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4923 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4924 (BOUNDED_1): Remove macro.
4925 * debug/backtrace.c: Don't include <bp-checks.h>.
4926 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4927 (__backtrace): Likewise.
4928 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4930 (__backtrace): Don't use BOUNDED_1.
4931 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4933 (__backtrace): Don't use BOUNDED_1.
4934 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4935 (__backtrace): Don't use BOUNDED_1.
4936 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4937 (shmat): Don't use BOUNDED_N.
4939 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4942 * sysdeps/generic/bp-start.h: Remove file.
4943 * csu/libc-start.c: Don't include <bp-start.h>.
4944 (LIBC_START_MAIN): Set up __environ directly instead of using
4945 INIT_ARGV_and_ENVIRON.
4946 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4950 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4952 (CHECK_FCNTL): Likewise.
4953 (CHECK_N_PAGES): Likewise.
4956 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4958 (CHECK_SIGSET_NULL_OK): Likewise.
4959 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4961 (sigpending): Don't use CHECK_SIGSET.
4962 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4964 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4965 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4967 (do_sigsuspend): Don't use CHECK_SIGSET.
4968 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4970 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4971 (do_sigwait): Don't use CHECK_SIGSET.
4972 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4975 include <bp-checks.h>.
4976 (sigpending): Don't use CHECK_SIGSET.
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4978 include <bp-checks.h>.
4979 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4980 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4982 (sigpending): Don't use CHECK_SIGSET.
4983 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4985 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4988 * sysdeps/generic/bp-semctl.h: Remove file.
4989 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4990 <bp-checks.h> and <bp-semctl.h>.
4991 (__old_semctl): Don't use CHECK_SEMCTL.
4992 (__new_semctl): Likewise.
4993 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4995 (__old_semctl): Don't use CHECK_SEMCTL.
4996 (__new_semctl): Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4998 <bp-checks.h> and <bp-semctl.h>.
4999 (__old_semctl): Don't use CHECK_SEMCTL.
5000 (__new_semctl): Likewise.
5001 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5002 <bp-checks.h> and <bp-semctl.h>.
5003 (semctl): Don't use CHECK_SEMCTL.
5006 * Makerules (elide-bp-thunks): Remove variable.
5007 (elide-routines.oS): Don't use $(elide-bp-thunks).
5008 (elide-routines.os): Likewise.
5009 (elide-routines.o): Likewise.
5010 (elide-routines.op): Likewise.
5011 (elide-routines.og): Likewise.
5012 (objects): Don't use $(bp-thunks).
5013 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5015 (common-generated): Do not add s-proto-bp.d.
5016 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5019 Do not generate makefile rules for bounded-pointer thunks.
5020 * sysdeps/generic/bp-thunks.h: Remove file.
5021 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5022 * sysdeps/unix/s-proto-bp.S: Likewise.
5025 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5026 parts of result separately when argument is not close to line from
5027 -i to i and one part of argument is small.
5028 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5029 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5030 * math/libm-test.inc (cacos_test): Add more tests.
5031 (casin_test): Likewise.
5032 (casinh_test): Likewise.
5033 * sysdeps/i386/fpu/libm-test-ulps: Update.
5034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5036 2013-01-31 David S. Miller <davem@davemloft.net>
5038 * po/de.po: Update from translation team.
5040 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5042 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5044 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5046 * configure.in (_AC_PROG_CC_C89): New definition.
5047 * configure: Regenerate.
5049 * configure.in (AC_PROG_CPP): New definition.
5050 * configure: Regenerate.
5052 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5054 * debug/tst-backtrace.h: New file.
5055 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5056 (ret): Remove variable.
5058 (FAIL): Remove macro.
5059 (NO_INLINE): Likewise.
5060 (fn1): Use match function instead of strstr.
5061 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5062 (ret): Remove variable.
5064 (FAIL): Remove macro.
5065 (NO_INLINE): Likewise.
5066 (fn): Use match function instead of strstr.
5067 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5068 (ret): Remove variable.
5070 (FAIL): Remove macro.
5071 (NO_INLINE): Likewise.
5072 (handle_signal): Use match function instead of strstr.
5073 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5074 (ret): Remove variable.
5076 (FAIL): Remove macro.
5077 (NO_INLINE): Likewise.
5078 (handle_signal): Use match function instead of strstr.
5080 2013-01-23 Roland McGrath <roland@hack.frob.com>
5082 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5084 2013-01-23 David S. Miller <davem@davemloft.net>
5086 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5087 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5088 argument of CAS if possible.
5089 * sysdeps/sparc/sparc64/bits/atomic.h
5090 (__arch_compare_and_exchange_val_32_acq): Likewise.
5091 (__arch_compare_and_exchange_val_64_acq): Likewise.
5093 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5095 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5096 * sysdeps/posix/ulimit.c: ... this.
5098 * sysdeps/unix/bsd/ulimit.c: Remove file.
5100 2013-01-23 Adam Conrad <adconrad@0c3.net>
5102 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5103 (LDFLAGS-tst-array5): Likewise.
5105 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5108 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5109 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5110 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5111 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5113 2013-01-21 David S. Miller <davem@davemloft.net>
5115 * sysdeps/sparc/backtrace.c: New file.
5116 * sysdeps/sparc/sparc32/backtrace.h: New file.
5117 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5118 * sysdeps/sparc/sparc64/backtrace.h: New file.
5119 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5120 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5123 2013-01-21 Andreas Schwab <schwab@suse.de>
5126 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5129 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5135 2013-01-18 Joseph Myers <joseph@codesourcery.com>
5136 Mark Mitchell <mark@codesourcery.com>
5137 Tom de Vries <tom@codesourcery.com>
5138 Paul Pluzhnikov <ppluzhnikov@google.com>
5140 * debug/tst-backtrace2.c: New file.
5141 * debug/tst-backtrace3.c: Likewise.
5142 * debug/tst-backtrace4.c: Likewise.
5143 * debug/tst-backtrace5.c: Likewise.
5144 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5145 (CFLAGS-tst-backtrace3.c): Likewise.
5146 (CFLAGS-tst-backtrace4.c): Likewise.
5147 (CFLAGS-tst-backtrace5.c): Likewise.
5148 (LDFLAGS-tst-backtrace2): Likewise.
5149 (LDFLAGS-tst-backtrace3): Likewise.
5150 (LDFLAGS-tst-backtrace4): Likewise.
5151 (LDFLAGS-tst-backtrace5): Likewise.
5152 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5153 tst-backtrace4 and tst-backtrace5.
5155 2013-01-18 Anton Blanchard <anton@samba.org>
5156 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5158 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5159 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5161 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5163 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5164 "+r" and remove output regs list as redundant. Add explicit inline
5165 asm to specify register of return val to work around compiler codegen
5166 bug. Remove (int) cast on return value. Add return type parameter to
5167 use in macro so that this macro does not truncate return value for
5169 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5170 pass to INTERNAL_VSYSCALL_NCS.
5171 (INLINE_VSYSCALL): Add 'long int' as return type to
5172 INTERNAL_VSYSCALL_NCS macro invocation.
5173 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5174 INTERNAL_VSYSCALL_NCS macro invocation.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5177 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5180 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5181 Fix application of SIMD FP exception mask.
5183 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5184 mp_no from a power of two.
5185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5186 __mpexp_twomm1. Use __pow_mp.
5188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5191 2013-01-17 David S. Miller <davem@davemloft.net>
5193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5195 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5198 * include/complex.h: Condition contents on [!_COMPLEX_H].
5199 (__kernel_casinhf): New prototype.
5200 (__kernel_casinh): Likewise.
5201 (__kernel_casinhl): Likewise.
5202 * math/Makefile (libm_calls): Add k_casinh.
5203 * math/k_casinh.c: New file.
5204 * math/k_casinhf.c: Likewise.
5205 * math/k_casinhl.c: Likewise.
5206 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5207 finite nonzero arguments.
5208 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5209 finite nonzero arguments.
5210 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5211 finite nonzero arguments.
5212 * math/s_casinh.c: Do not include <float.h>.
5213 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5214 * math/s_casinhf.c: Do not include <float.h>.
5215 (__casinhf): Move code for finite nonzero arguments to
5217 * math/s_casinhl.c: Do not include <float.h>.
5218 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5220 (__casinhl): Move code for finite nonzero arguments to
5222 * math/libm-test.inc (cacos_test): Add more tests.
5223 * sysdeps/i386/fpu/libm-test-ulps: Update.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5226 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5228 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5229 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5230 [!HAVE_MREMAP]: Remove [defined linux] case.
5231 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5233 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5235 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5237 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
5239 * elf/elf.h (R_386_SIZE32): New relocation.
5240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5242 (elf_machine_rela): Likewise.
5243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5244 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5246 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5248 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5249 (FP_FAST_FMA): Do not define.
5250 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5251 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5252 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5253 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5254 !_SOFT_FLOAT]: Likewise.
5255 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5259 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5262 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5263 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5266 2013-01-16 Andreas Schwab <schwab@suse.de>
5269 * include/stdlib.h (__mktemp): Add declaration.
5270 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5271 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5273 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5275 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5277 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5278 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5279 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5281 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5282 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5286 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5287 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5290 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5291 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5293 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5295 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5297 2013-01-15 David S. Miller <davem@davemloft.net>
5299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5300 trunc{,f} to libm-sysdep_routes.
5301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5311 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5312 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5313 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5314 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5315 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5316 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5319 nearbyint{,f} to libm-sysdep_routes.
5320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5337 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5338 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5341 libc_feholdexcept and libc_fesetenv.
5343 2013-01-15 Mike Frysinger <vapier@gentoo.org>
5345 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5347 2013-01-14 David S. Miller <davem@davemloft.net>
5349 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5350 (SPARC_ASM_VIS2_IFUNC): Likewise.
5351 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5353 use of 'siam' instruction.
5354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5387 routines to libm-sysdep_routines.
5388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5391 fdim/fdimf to libm-sysdep_routines.
5392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5400 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5401 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5402 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5403 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5405 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5410 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5415 local variable MPTWO.
5416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5419 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5421 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5424 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5426 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5428 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5430 * manual/pattern.texi (glob_t): Document gl_flags.
5431 (glob64_t): Likewise.
5433 2013-01-11 David S. Miller <davem@davemloft.net>
5435 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5436 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5437 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
5438 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5439 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5440 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5441 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5442 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5443 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5444 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5445 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5446 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5447 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5450 sparc V9 rather than using V8 code.
5451 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5452 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5454 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5456 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5459 2013-01-11 Roland McGrath <roland@hack.frob.com>
5461 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5462 not in the main loop.
5463 * configure: Regenerated.
5465 2013-01-11 Joseph Myers <joseph@codesourcery.com>
5467 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5468 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5470 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5471 [!__GLIBC_HAVE_LONG_LONG] case.
5472 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5473 condition to just #else.
5474 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5475 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5476 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5477 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5479 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5480 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5481 #elif condition to just #else.
5482 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5483 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5484 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5485 #elif condition to just #else.
5487 2013-01-11 Steve Ellcey <sellcey@mips.com>
5489 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5490 (EF_MIPS_ARCH_64): Fix value.
5491 (EF_MIPS_ARCH_32R2): New.
5492 (EF_MIPS_ARCH_64R2): New.
5494 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5496 * Makeconfig (+link-pie-before-libc): New.
5497 (+link-pie-after-libc): Likewise.
5498 (+link-pie-tests): Likewise.
5499 (+link-pie): Rewritten.
5500 (link-before-libc): Remove $(config-LDFLAGS).
5501 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5502 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5503 (config-LDFLAGS): Renamed to ...
5504 (rtld-LDFLAGS): This.
5505 (rtld-tests-LDFLAGS): New macro.
5506 (link-libc-rpath-link): Likewise.
5507 (link-libc-tests-rpath-link): Likewise.
5508 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5509 (link-libc): Prepand $(link-libc-rpath-link).
5510 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5511 (test-program-prefix): New macro.
5512 (test-via-rtld-prefix): Likewise.
5513 (test-program-cmd): Likewise.
5514 (host-test-program-cmd): Likewise.
5515 * Makefile ($(common-objpfx)testrun.sh): Replace
5516 $(run-program-prefix) with $(test-program-prefix).
5517 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5519 ($(common-objpfx)shlib.lds): Likewise.
5520 (build-module-helper): Likewise.
5521 ($(common-objpfx)format.lds): Likewise.
5522 * Rules (binaries-pie-tests): New.
5523 (binaries-pie-notests): Likewise.
5524 (binaries-pie): Rewritten.
5525 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5526 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5527 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5528 (make-test-out): Replace $(host-built-program-cmd) with
5529 $(host-test-program-cmd).
5530 * config.make.in (build-hardcoded-path-in-tests): New variable.
5531 * configure.in (--enable-hardcoded-path-in-tests): New configure
5533 (hardcoded_path_in_tests): New AC_SUBST.
5534 * configure: Regenerated.
5535 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5536 $(built-program-cmd) with $(test-program-cmd).
5537 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5538 (test_program_cmd): This.
5539 * elf/Makefile ($(objpfx)order.out): Run test with
5540 $(test-program-prefix).
5541 ($(objpfx)order2.out): Likewise.
5542 ($(objpfx)tst-initorder.out): Likewise.
5543 ($(objpfx)tst-initorder2.out): Likewise.
5544 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5545 $(test-program-cmd).
5546 ($(objpfx)tst-array1-static.out): Likewise.
5547 ($(objpfx)tst-array2.out): Likewise.
5548 ($(objpfx)tst-array3.out): Likewise.
5549 ($(objpfx)tst-array4.out): Likewise.
5550 ($(objpfx)tst-array5.out): Likewise.
5551 ($(objpfx)tst-array5-static.out): Likewise.
5552 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5553 $(test-program-cmd).
5554 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5555 $(run-program-prefix) with $(test-program-prefix).
5556 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5557 (test_program_prefix): This.
5558 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5559 $(run-program-prefix) with $(test-program-prefix).
5560 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5561 (test_program_prefix): This.
5562 * iconvdata/tst-tables.sh: Likewise.
5563 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5564 $(run-program-prefix) with $(test-program-prefix).
5565 ($(objpfx)tst-translit.out): Likewise.
5566 ($(objpfx)tst-gettext2.out): Likewise.
5567 ($(objpfx)tst-gettext4.out): Likewise.
5568 ($(objpfx)tst-gettext6.out): Likewise.
5569 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5570 (test_program_prefix): This.
5571 * intl/tst-gettext2.sh: Likewise.
5572 * intl/tst-gettext4.sh Likewise.
5573 * intl/tst-gettext6.sh: Likewise.
5574 * intl/tst-translit.sh: Likewise.
5575 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5576 with $(test-program-cmd).
5577 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5578 $(run-program-prefix) with $(test-program-prefix).
5579 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5580 (test_program_prefix): This.
5581 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5582 $(run-program-prefix) with $(test-program-prefix).
5583 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5584 (test_program_prefix): This.
5585 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5586 * posix/Makefile ($(objpfx)globtest.out): Replace
5587 $(run-via-rtld-prefix) and $(test-wrapper) with
5588 $(test-program-prefix) and $(test-via-rtld-prefix).
5589 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5590 $(test-program-prefix).
5591 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5592 $(host-test-program-cmd).
5593 (tst-spawn-ARGS): Likewise.
5594 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5595 $(test-program-prefix).
5596 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5597 (test_via_rtld_prefix): This.
5598 (test_wrapper): Renamed to ...
5599 (test_program_prefix): This.
5600 (run_program_prefix): Replaced by test_program_prefix.
5601 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5602 (test_program_prefix): This.
5603 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5604 with $(host-test-program-cmd).
5605 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5606 $(run-program-prefix) with $(test-program-prefix).
5607 ($(objpfx)tst-printf.out): Likewise.
5608 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5609 $(test-program-cmd).
5610 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5611 (test_program_prefix): This.
5612 * stdio-common/tst-unbputc.sh: Likewise.
5613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5614 $(run-program-prefix) with $(test-program-prefix).
5615 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5616 (test_program_prefix): This.
5617 * string/Makefile ($(objpfx)tst-svc.out): Replace
5618 $(built-program-cmd) with $(test-program-cmd).
5620 2013-01-11 Andreas Jaeger <aj@suse.de>
5623 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5624 value. Sync with Linux 3.7.
5626 2013-01-10 David S. Miller <davem@davemloft.net>
5628 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5632 2013-01-10 Roland McGrath <roland@hack.frob.com>
5634 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5636 * configure: Regenerated.
5638 2013-01-10 David S. Miller <davem@davemloft.net>
5640 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5641 sparc V9 rather than using V8 code.
5642 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5643 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5645 2013-01-10 Roland McGrath <roland@hack.frob.com>
5647 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5648 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5649 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5650 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5651 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5652 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5653 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5654 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5655 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5656 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5657 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5658 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5659 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5660 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5661 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5662 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5663 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5664 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5665 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5666 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5667 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5668 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5669 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5670 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5671 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5672 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5673 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5675 2013-01-10 David S. Miller <davem@davemloft.net>
5677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5679 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5681 * posix/Makefile (tests-static): New variable.
5682 (tests): Add $(tests-static).
5683 (tst-exec-static-ARGS): New variable.
5684 (tst-spawn-static-ARGS): Likewise.
5685 * posix/tst-exec-static.c: New file.
5686 * posix/tst-spawn-static.c: Likewise.
5687 * posix/tst-exec.c: Support run directly.
5688 * posix/tst-spawn.c: Likewise.
5690 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5692 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5694 * math/bits/mathcalls.h (llrint): Likewise.
5695 (llround): Likewise.
5696 * stdlib/stdlib.h (struct drand48_data): Likewise.
5697 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5698 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5701 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5703 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5704 (elf_greg_t): Likewise.
5705 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5706 (__jmp_buf): Likewise.
5707 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5709 (llrint): Likewise, for all definitions.
5710 (llrintl): Likewise.
5712 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5713 Remove [__GNUC__] condition.
5714 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5715 condition to just [__USE_ISOC99].
5716 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5718 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5721 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5722 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5724 (_POSIX_V6_ILP32_OFF32): Likewise.
5725 (_XBS5_ILP32_OFF32): Likewise.
5726 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5727 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5729 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5731 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5734 doubles __mpexp_twomm1. Adjust usage.
5735 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5738 2013-01-10 Andreas Schwab <schwab@suse.de>
5741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5742 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5744 2013-01-09 David S. Miller <davem@davemloft.net>
5747 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5748 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5749 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5750 TCP_FASTOPEN): Define.
5751 (tcp_repair_opt): New structure.
5752 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5754 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5755 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5756 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5757 (tcp_cookie_transactions): New structure.
5759 2013-01-09 Anton Blanchard <anton@samba.org>
5761 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5764 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5766 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5768 * include/features.h (__USE_ANSI): Remove.
5770 2013-01-09 Roland McGrath <roland@hack.frob.com>
5772 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5774 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5776 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5778 * sysdeps/s390/fpu/libm-test-ulps: Update.
5780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5782 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5787 (__mp_dbl): Likewise.
5788 (__dbl_mp): Likewise.
5789 (add_magnitudes): Likewise.
5790 (sub_magnitudes): Likewise.
5796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5801 (__mp_dbl): Likewise.
5802 (__dbl_mp): Likewise.
5803 (add_magnitudes): Likewise.
5804 (sub_magnitudes): Likewise.
5810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5815 (__mp_dbl): Likewise.
5816 (__dbl_mp): Likewise.
5817 (add_magnitudes): Likewise.
5818 (sub_magnitudes): Likewise.
5825 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5827 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5828 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5829 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5830 2 && __USE_EXTERN_INLINES]: Likewise.
5832 2013-01-08 Andreas Jaeger <aj@suse.de>
5835 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5837 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5838 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5840 2013-01-07 Anton Blanchard <anton@samba.org>
5842 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5843 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5844 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5846 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5847 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5848 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5849 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5854 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5856 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5857 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5860 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5861 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5864 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5865 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5866 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5867 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5868 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5869 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5871 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5872 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5875 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5877 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5882 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5884 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5886 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5888 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5889 (__MALLOC_PMT): Likewise.
5890 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5891 [__GNUC__], only on [_LIBC].
5892 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5893 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5894 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5895 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5896 forward declaration.
5897 (realloc_hook_ini): Likewise.
5898 (memalign_hook_ini): Likewise.
5899 (__libc_memalign): Do not use __MALLOC_PMT in variable
5901 (__libc_valloc): Likewise.
5902 (__libc_pvalloc): Likewise.
5903 (__libc_calloc): Likewise.
5904 (__posix_memalign): Likewise.
5907 * math/s_casinh.c: Include <float.h>.
5908 (__casinh): Do not do computation with squaring and square root
5909 for large arguments.
5910 * math/s_casinhf.c: Include <float.h>.
5911 (__casinhf): Do not do computation with squaring and square root
5912 for large arguments.
5913 * math/s_casinhl.c: Include <float.h>.
5914 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5915 (__casinhl): Do not do computation with squaring and square root
5916 for large arguments.
5917 * math/libm-test.inc (casin_test): Add more tests.
5918 (casinh_test): Likewise.
5919 * sysdeps/i386/fpu/libm-test-ulps: Update.
5920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5924 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5925 (__x86_64_raw_data_cache_size): Likewise.
5926 (__x86_64_data_cache_size_half): Likewise.
5927 (__x86_64_raw_data_cache_size_half): Likewise.
5928 (__x86_64_shared_cache_size): Likewise.
5929 (__x86_64_raw_shared_cache_size): Likewise.
5930 (__x86_64_shared_cache_size_half): Likewise.
5931 (__x86_64_raw_shared_cache_size_half): Likewise.
5932 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5934 (__x86_data_cache_size): This.
5935 (__x86_64_raw_data_cache_size): Renamed to ...
5936 (__x86_raw_data_cache_size): This.
5937 (__x86_64_data_cache_size_half): Renamed to ...
5938 (__x86_data_cache_size_half): This.
5939 (__x86_64_raw_data_cache_size_half): Renamed to ...
5940 (__x86_raw_data_cache_size_half): This.
5941 (__x86_64_shared_cache_size): Renamed to ...
5942 (__x86_shared_cache_size): This.
5943 (__x86_64_raw_shared_cache_size): Renamed to ...
5944 (__x86_raw_shared_cache_size): This.
5945 (__x86_64_shared_cache_size_half): Renamed to ...
5946 (__x86_shared_cache_size_half): This.
5947 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5948 (__x86_raw_shared_cache_size_half): This.
5949 * sysdeps/x86_64/memcpy.S: Updated.
5950 * sysdeps/x86_64/memset.S: Likewise.
5951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5955 2013-01-04 David S. Miller <davem@davemloft.net>
5957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5959 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5961 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5962 1 to avoid redefinition warning.
5963 (__USE_GNU): Don't define.
5964 (init_signaling_nan): Protoize.
5966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5968 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5970 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5972 (__cpymn): Likewise.
5973 (norm): Remove commented code.
5975 (__mp_dbl): Likewise.
5977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5978 (__cpymn): Likewise.
5979 (norm): Remove commented code.
5981 (__mp_dbl): Likewise.
5984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5985 mp_no value for 1.0 and 2.0.
5986 (norm): Use RADIXI instead of radixi.d.
5988 (__mul): Use 0.0 instead of zero.d.
5989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5990 mp_no value for 1.0 and 2.0.
5991 (norm): Use RADIXI instead of radixi.d.
5993 (__mul): Use 0.0 instead of zero.d.
5995 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5998 * math/s_casinh.c (__casinh): Reduce finite argument to first
5999 quadrant then set signs of results at the end.
6000 * math/s_casinhf.c (__casinhf): Likewise.
6001 * math/s_casinhl.c (__casinhl): Likewise.
6002 * math/libm-test.inc (casin_test): Add more tests.
6003 (casinh_test): Likewise.
6004 * sysdeps/i386/fpu/libm-test-ulps: Update.
6005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6007 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6009 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6011 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6013 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6016 (__mp_dbl): Likewise.
6019 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6020 and adjust the header comment.
6022 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6023 variable name from declaration.
6025 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6028 Initialize COMMON_CPUID_INDEX_7 element.
6029 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6030 (CPUID_RTM): Likewise.
6031 (HAS_RTM): Likewise.
6032 (COMMON_CPUID_INDEX_7): New enum.
6034 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6037 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6038 size is zero, record memory as freed.
6040 2013-01-03 Andreas Jaeger <aj@suse.de>
6042 * po/ia.po: Add new Interlingua translation.
6044 2012-01-03 Allan McRae <allan@archlinux.org>
6046 * locale/programs/localedef.c: Fix description of '--posix' flag.
6048 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6050 * NEWS: Update dates in second copyright notice.
6051 * README: Update copyright dates in example.
6052 * manual/libc.texinfo: Update copyright dates.
6053 * scripts/test-installation.pl: Update copyright date in --version
6056 * hurd/ctty-input.c: Fix copyright notice formatting.
6057 * hurd/ctty-output.c: Likewise.
6058 * hurd/dtable.c: Likewise.
6059 * hurd/hurd-raise.c: Likewise.
6060 * hurd/hurdprio.c: Likewise.
6061 * hurd/msgportdemux.c: Likewise.
6062 * misc/sys/file.h: Likewise.
6063 * misc/sys/ioctl.h: Likewise.
6064 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6065 * sysdeps/mach/hurd/chdir.c: Likewise.
6066 * sysdeps/mach/hurd/fchdir.c: Likewise.
6067 * sysdeps/mach/hurd/rename.c: Likewise.
6068 * sysdeps/mach/hurd/rmdir.c: Likewise.
6069 * sysdeps/mach/hurd/seekdir.c: Likewise.
6070 * sysdeps/mach/hurd/setsid.c: Likewise.
6071 * sysdeps/posix/wait3.c: Likewise.
6073 * All files with FSF copyright notices: Update copyright dates
6074 using scripts/update-copyrights.
6075 * intl/plural.c: Regenerated.
6076 * locale/programs/charmap-kw.h: Likewise.
6077 * locale/programs/locfile-kw.h: Likewise.
6079 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6081 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6085 calculation loop and add branch prediction.
6087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6088 check access beyond bounds of m1np.
6090 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6092 (__inv): Remove local variable MPTWO to use the global
6094 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6098 MP3HALFS static const.
6100 2013-01-01 David S. Miller <davem@davemloft.net>
6102 * po/ca.po: Update from translation team.
6104 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6106 * scripts/update-copyrights: New file.
6107 * Makeconfig: Reformat copyright notice.
6108 * ctype/ctype.h: Likewise.
6109 * debug/swprintf_chk.c: Likewise.
6110 * elf/dl-cache.c: Likewise.
6111 * elf/dl-debug.c: Likewise.
6112 * elf/dl-object.c: Likewise.
6113 * grp/initgroups.c: Likewise.
6114 * hurd/Makefile: Likewise.
6115 * hurd/hurd/signal.h: Likewise.
6116 * hurd/hurdfault.c: Likewise.
6117 * hurd/hurdioctl.c: Likewise.
6118 * hurd/hurdlookup.c: Likewise.
6119 * hurd/intr-msg.c: Likewise.
6120 * iconv/gconv_open.c: Likewise.
6121 * libio/swprintf.c: Likewise.
6122 * locale/lc-ctype.c: Likewise.
6123 * locale/nl_langinfo.c: Likewise.
6124 * mach/Machrules: Likewise.
6125 * mach/Makefile: Likewise.
6126 * malloc/obstack.h: Likewise.
6127 * manual/Makefile: Likewise.
6128 * manual/tsort.awk: Likewise.
6129 * misc/bits/stab.def: Likewise.
6130 * nis/nis_print_group_entry.c: Likewise.
6131 * nis/nis_table.c: Likewise.
6132 * nis/nss_compat/compat-pwd.c: Likewise.
6133 * nis/nss_compat/compat-spwd.c: Likewise.
6134 * po/Makefile: Likewise.
6135 * posix/fnmatch.c: Likewise.
6136 * posix/regex.h: Likewise.
6137 * resolv/Makefile: Likewise.
6138 * resolv/nss_dns/dns-network.c: Likewise.
6139 * resolv/res_hconf.c: Likewise.
6140 * scripts/gen-sorted.awk: Likewise.
6141 * soft-fp/soft-fp.h: Likewise.
6142 * stdio-common/printf.h: Likewise.
6143 * stdlib/monetary.h: Likewise.
6144 * stdlib/random.c: Likewise.
6145 * stdlib/random_r.c: Likewise.
6146 * sysdeps/generic/Makefile: Likewise.
6147 * sysdeps/gnu/Makefile: Likewise.
6148 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6176 * sysdeps/mach/hurd/errnos.awk: Likewise.
6177 * sysdeps/mach/hurd/fork.c: Likewise.
6178 * sysdeps/mach/hurd/getcwd.c: Likewise.
6179 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6180 * sysdeps/mach/hurd/mmap.c: Likewise.
6181 * sysdeps/mach/hurd/utimes.c: Likewise.
6182 * sysdeps/mach/hurd/xmknod.c: Likewise.
6183 * sysdeps/posix/profil.c: Likewise.
6184 * sysdeps/posix/readdir_r.c: Likewise.
6185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6186 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6187 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6188 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6190 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6191 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6194 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6196 * sysdeps/pthread/lio_listio.c: Likewise.
6197 * sysdeps/sparc/dl-procinfo.h: Likewise.
6198 * sysdeps/unix/i386/sysdep.S: Likewise.
6199 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6200 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6201 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6202 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6204 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6205 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6206 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6207 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6208 * sysdeps/wordsize-32/divdi3.c: Likewise.
6209 * time/sys/time.h: Likewise.
6210 * wcsmbs/Makefile: Likewise.
6212 2013-01-01 David S. Miller <davem@davemloft.net>
6214 * po/fr.po: Update from translation team.
6216 * catgets/gencat.c: Update copyright year.
6217 * csu/version.c: Likewise.
6218 * debug/catchsegv.sh: Likewise.
6219 * debug/pcprofiledump.c: Likewise.
6220 * debug/xtrace.sh: Likewise.
6221 * elf/ldconfig.c: Likewise.
6222 * elf/ldd.bash.in: Likewise.
6223 * elf/pldd.c: Likewise.
6224 * elf/sotruss.ksh: Likewise.
6225 * elf/sprof.c: Likewise.
6226 * iconv/iconv_prog.c: Likewise.
6227 * iconv/iconvconfig.c: Likewise.
6228 * locale/programs/locale.c: Likewise.
6229 * locale/programs/localedef.c: Likewise.
6230 * login/programs/pt_chown.c: Likewise.
6231 * malloc/memusage.sh: Likewise.
6232 * malloc/memusagestat.c: Likewise.
6233 * malloc/mtrace.pl: Likewise.
6234 * nscd/nscd.c: Likewise.
6235 * nss/getent.c: Likewise.
6236 * nss/makedb.c: Likewise.
6237 * posix/getconf.c: Likewise.
6239 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6241 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6244 2012-12-30 Mike Frysinger <vapier@gentoo.org>
6246 * math/bits/mathcalls.h (modf): Use __nonnull.
6248 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6250 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6251 (split): Use macro CN instead of the bare value.
6252 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6255 instead of the bare value.
6258 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6262 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6264 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6266 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6268 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6269 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6271 2012-12-28 Andreas Jaeger <aj@suse.de>
6273 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6274 values are from Linux 3.7.
6276 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6277 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6279 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6281 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
6284 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6286 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6287 variables with preprocessor constants.
6288 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6289 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6292 2012-12-27 Bruno Haible <bruno@clisp.org>
6295 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6298 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6301 and use variable directly.
6302 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6304 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6306 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6307 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6309 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6311 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6312 include directive. Remove local variable MPONE.
6313 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6315 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6317 2012-12-25 David S. Miller <davem@davemloft.net>
6319 * version.h (RELEASE): Set to "development".
6320 (VERSION): Set to "2.17.90".
6321 * NEWS: Add 2.18 section.
6323 2012-12-21 David S. Miller <davem@davemloft.net>
6325 * po/hr.po: Update from translation team.
6327 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6329 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6331 2012-12-19 Steve Ellcey <sellcey@mips.com>
6333 * NEWS: Mention new memcpy for MIPS.
6335 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6337 * manual/contrib.texi (Contributors): Spelling correction.
6339 2012-12-15 David S. Miller <davem@davemloft.net>
6341 * po/ru.po: Update from translation team.
6343 2012-12-13 David S. Miller <davem@davemloft.net>
6345 * NEWS: Mention IFUNC testsuite enhancements.
6347 * po/pl.po: Update from translation team.
6348 * po/bg.po: Likewise.
6350 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6351 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6353 2012-12-11 David S. Miller <davem@davemloft.net>
6355 * po/sv.po: Update from translation team.
6357 * po/vi.po: Update from translation team.
6359 * po/cs.po: Update from translation team.
6361 * po/de.po: Update from translation team.
6362 * po/eo.po: Likewise.
6363 * po/nl.po: Likewise.
6365 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6368 * manual/argp.texi (Argp Helper Functions): Move node to follow
6372 * manual/conf.texi (Limits on File System Capacity): Mention if
6373 terminating null is included in the max size.
6375 2012-12-10 Andreas Jaeger <aj@suse.de>
6377 * po/cs.po: Update from translation team.
6379 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6381 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6382 void pointer and cast to uintptr_t.
6383 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6385 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6386 * sysdeps/s390/s390-64/memset.S: Likewise.
6388 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
6391 * menual/message.texi (Message Translation): Fix typos.
6392 (Helper programs for gettext): Likewise.
6394 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6397 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6400 2012-12-07 David S. Miller <davem@davemloft.net>
6402 * po/libc.pot: Update.
6404 2012-12-07 Richard Henderson <rth@redhat.com>
6407 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6408 normal/normal case to before the switch.
6409 (_FP_DIV): Likewise.
6411 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6412 Mike Frysinger <vapier@gentoo.org>
6414 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6415 check for __NR_fadvise64_64.
6417 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6419 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6420 0, not just to plain "0" as a statement.
6421 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6424 2012-12-06 Joseph Myers <joseph@codesourcery.com>
6426 * NEWS: Use sourceware.org in Bugzilla URL.
6428 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6431 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6433 * stdio-common/tst-put-error.c (do_test): Add newline to the
6434 padded test to ensure flush.
6436 2012-12-05 Jeff Law <law@redhat.com>
6438 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6440 2012-12-05 Joseph Myers <joseph@codesourcery.com>
6442 * README: Don't refer to ports add-on as distributed separately.
6443 Mention AArch64 in list of systems supported in the ports add-on.
6445 * LICENSES: Add more non-FSF copyright and license notices.
6447 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6450 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6452 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6453 10000 as width of padded output.
6455 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6457 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6460 variable LX with __attribute__ ((unused)).
6461 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6466 with __attribute__ ((unused)).
6468 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
6470 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6472 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6474 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6475 (CFLAGS-nldbl-acos.c): New variable.
6476 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6477 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6478 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6479 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6480 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6481 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6482 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6483 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6484 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6485 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6486 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6487 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6488 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6489 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6490 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6491 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6492 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6493 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6494 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6495 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6496 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6497 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6498 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6499 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6500 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6501 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6502 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6503 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6504 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6505 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6506 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6507 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6508 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6509 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6510 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6511 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6512 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6513 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6514 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6515 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6516 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6517 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6518 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6519 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6520 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6521 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6522 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6523 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6524 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6525 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6526 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6527 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6528 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6529 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6530 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6531 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6532 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6533 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6534 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6535 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6536 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6537 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6538 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6539 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6540 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6541 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6542 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6543 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6544 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6545 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6546 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6547 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6548 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6549 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6550 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6551 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6552 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6553 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6554 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6555 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6556 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6557 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6558 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6559 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6560 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6561 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6562 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6563 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6564 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6565 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6566 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6567 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6568 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6569 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6570 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6571 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6572 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6575 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6579 whole low double instead of just low 47 bits when splitting values
6582 2012-12-03 Allan McRae <allan@archlinux.org>
6584 * manual/stdio.texi (Predefined Printf Handlers): Remove
6585 @hsep and @vsep usage.
6587 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6589 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6590 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6592 2012-12-03 Jeff Law <law@redhat.com>
6594 * time/sys/time.h (settimeofday): Do not mark TV argument
6597 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6599 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6600 when currently writing and seek to current position when not.
6601 * libio/Makefile (tests): Remove bug-fclose1.
6602 * libio/bug-fclose1.c: Delete.
6604 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6606 * manual/arith.texi (feenableexcept): Fix typo.
6607 (fedisableexcept): Likewise.
6609 2012-11-30 Roland McGrath <roland@hack.frob.com>
6611 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6612 second, differently-typed declaration, rather than a cast.
6614 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6616 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6617 * include/rpc/svc.h: ... here.
6619 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6622 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6623 depending n and resplen2 to catch cases where answer
6626 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6628 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6629 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6631 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6635 2012-11-29 Roland McGrath <roland@hack.frob.com>
6637 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6639 2012-11-28 Jeff Law <law@redhat.com>
6642 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6643 dataset_temporary. Track alloca usage into alloca_used.
6644 If dataset is large allocate and release it via malloc/free.
6646 2012-06-04 Florian Weimer <fweimer@redhat.com>
6649 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6651 2012-11-28 David S. Miller <davem@davemloft.net>
6653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6655 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6658 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6659 of pi/2 rounded to nearest to 64 bits.
6660 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6662 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6665 2012-11-28 Jeff Law <law@redhat.com>
6666 Martin Osvald <mosvald@redhat.com>
6669 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6670 * sunrpc/svc.c: Include time.h.
6671 (__svc_accept_failed): New function.
6672 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6673 any reason other than EINTR, call __svc_accept_failed.
6674 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6675 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6677 2012-11-28 Andreas Schwab <schwab@suse.de>
6679 * scripts/abilist.awk: Also handle indirect functions in .opd
6682 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6685 * sysdeps/x86/fpu/powl_helper.c: New file.
6686 * sysdeps/x86/fpu/Makefile: Likewise.
6687 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6689 (__ieee754_powl): Use __powl_helper for finite arguments except
6690 integer exponents below 8.
6691 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6693 (__ieee754_powl): Use __powl_helper for finite arguments except
6694 integer exponents below 8.
6695 * math/libm-test.inc (pow_test): Add more tests and enable some
6696 previously disabled tests.
6697 * sysdeps/i386/fpu/libm-test-ulps: Update.
6698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6700 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6701 Carlos O'Donell <carlos_odonell@mentor.com>
6703 * nss/makedb.c (is_prime): Assert that input is odd and greater
6704 than 4. Note that fact in a comment too.
6705 (next_prime): Add 4 to input.
6707 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6710 * libio/Makefile (tests): Add test case tst-fwrite-error.
6711 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6712 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6713 * libio/tst-fwrite-error.c: New test case.
6715 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6717 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6718 before casting to void *.
6719 * include/libc-internal.h (__pointer_type): New macro.
6720 (__integer_if_pointer_type_sub): Likewise.
6721 (__integer_if_pointer_type): Likewise.
6722 (cast_to_integer): Likewise.
6723 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6724 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6725 before casting to atomic64_t.
6726 (atomic_exchange_acq): Likewise.
6727 (__arch_exchange_and_add_body): Likewise.
6728 (__arch_add_body): Likewise.
6729 (atomic_add_negative): Likewise.
6730 (atomic_add_zero): Likewise.
6732 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6735 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6736 (add_fdes): Likewise.
6737 (linear_search_fdes): Likewise.
6738 (binary_search_unencoded_fdes): Likewise.
6740 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6742 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6744 2012-11-24 Adam Conrad <adconrad@0c3.net>
6746 * configure.in: Autodetect C++ header directories.
6747 * configure: Regenerated.
6749 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6751 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6753 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6757 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6759 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6760 LDBL_MANT_DIG == 106]: Disable some tests.
6761 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6763 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6768 input for small inputs. Return +/- pi/2 for large inputs.
6769 * math/libm-test.inc (atan_test): Add more tests.
6771 * sysdeps/generic/unwind-dw2-fde-glibc.c
6772 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6773 __attribute__ ((unused)).
6776 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6777 x * y if x and y are nonzero and z is zero.
6780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6781 nonzero exponents with absolute value below 0x1p-117 to +/-
6785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6786 up arguments below 2**-450, not just those below 2**-500.
6787 * math/libm-test.inc (hypot_test): Add another test.
6790 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6791 Return a+b for ratio over 2**120, not 2**60.
6792 * math/libm-test.inc (hypot_test): Add another test.
6794 * math/libm-test.inc (clog_test): Use
6795 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6796 (clog10_test): Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6801 2012-11-22 Andreas Schwab <schwab@suse.de>
6803 * sysdeps/i386/fpu/libm-test-ulps: Update.
6805 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6807 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6808 printf output with newline.
6810 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6813 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6814 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6815 -z nodlopen, -z initfirst and -z execstack support.
6816 * configure: Regenerated.
6818 * elf/elf.h (DF_1_NODIRECT): New macro.
6819 (DF_1_IGNMULDEF): Likewise.
6820 (DF_1_NOKSYMS): Likewise.
6821 (DF_1_NOHDR): Likewise.
6822 (DF_1_EDITED): Likewise.
6823 (DF_1_NORELOC): Likewise.
6824 (DF_1_SYMINTPOSE): Likewise.
6825 (DF_1_GLOBAUDIT): Likewise.
6826 (DF_1_SINGLETON): Likewise.
6827 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6828 DT_1_SUPPORTED_MASK bits.
6829 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6831 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6833 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6835 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6837 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6840 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6841 (sendmmsg): Move declarations...
6842 * socket/sys/socket.h: ... here.
6843 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6844 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6846 * socket/recvmmsg.c: ... this new file.
6847 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6848 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6849 definition of __sendmmsg hidden.
6850 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6851 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6852 Move ENOSYS stub into and include it from...
6853 * socket/sendmmsg.c: ... this new file.
6854 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6855 (sysdep_routines): Move recvmmsg and sendmmsg...
6856 * socket/Makefile (routines): ... here.
6857 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6858 (GLIBC_PRIVATE): Add __sendmmsg.
6859 * include/sys/socket.h (__sendmmsg): Add declarations.
6860 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6863 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6866 variable I1 with __attribute__ ((unused)).
6867 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6869 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6871 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6872 DUMMY variables with __attribute__ ((unused)).
6874 * bits/byteswap.h: Include <bits/types.h>.
6875 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6877 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6879 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6880 string_t. Do not manually set errno.
6881 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6882 length with __strnlen. Make sure to both set errno and return it on
6885 2012-11-19 David S. Miller <davem@davemloft.net>
6887 With help from Joseph Myers.
6888 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6889 very large arguments properly.
6890 * math/libm-test.inc (atan_test): New tests.
6891 (atan2_test): New tests.
6892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6895 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6898 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6901 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6902 [POSIX] (EADDRNOTAVAIL): Likewise.
6903 [POSIX] (EAFNOSUPPORT): Likewise.
6904 [POSIX] (EALREADY): Likewise.
6905 [POSIX] (ECONNABORTED): Likewise.
6906 [POSIX] (ECONNREFUSED): Likewise.
6907 [POSIX] (ECONNRESET): Likewise.
6908 [POSIX] (EDESTADDRREQ): Likewise.
6909 [POSIX] (EDQUOT): Likewise.
6910 [POSIX] (EHOSTUNREACH): Likewise.
6911 [POSIX] (EIDRM): Likewise.
6912 [POSIX] (EISCONN): Likewise.
6913 [POSIX] (ELOOP): Likewise.
6914 [POSIX] (EMULTIHOP): Likewise.
6915 [POSIX] (ENETDOWN): Likewise.
6916 [POSIX] (ENETUNREACH): Likewise.
6917 [POSIX] (ENOBUFS): Likewise.
6918 [POSIX] (ENODATA): Likewise.
6919 [POSIX] (ENOLINK): Likewise.
6920 [POSIX] (ENOMSG): Likewise.
6921 [POSIX] (ENOPROTOOPT): Likewise.
6922 [POSIX] (ENOSR): Likewise.
6923 [POSIX] (ENOSTR): Likewise.
6924 [POSIX] (ENOTCONN): Likewise.
6925 [POSIX] (ENOTSOCK): Likewise.
6926 [POSIX] (EOPNOTSUPP): Likewise.
6927 [POSIX] (EOVERFLOW): Likewise.
6928 [POSIX] (EPROTO): Likewise.
6929 [POSIX] (EPROTONOSUPPORT): Likewise.
6930 [POSIX] (EPROTOTYPE): Likewise.
6931 [POSIX] (ESTALE): Likewise.
6932 [POSIX] (ETIME): Likewise.
6933 [POSIX] (ETXTBSY): Likewise.
6934 [POSIX] (EWOULDBLOCK): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6936 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6937 [POSIX] (SEEK_CUR): Likewise.
6938 [POSIX] (SEEK_END): Likewise.
6939 [POSIX || UNIX98] (mode_t): Do not require.
6940 [POSIX] (off_t): Likewise.
6941 [POSIX] (pid_t): Likewise.
6942 [POSIX] (sys/stat.h): Do not allow header.
6943 [POSIX] (unistd.h): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6945 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6947 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6949 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6950 sigevent): Specify elements.
6951 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6953 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6954 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6956 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6957 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6958 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6959 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6960 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6961 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6962 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6963 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6965 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6966 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6967 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6968 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6977 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6979 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6982 Specify lower bound on value.
6983 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6989 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6990 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6992 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6994 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7007 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7008 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7009 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7011 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7013 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7014 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7015 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7016 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7017 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7022 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7023 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7024 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7025 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7031 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7032 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7033 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7034 specify as optional.
7035 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7036 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7037 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7039 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7040 [XPG3] (NL_LANGMAX): Likewise.
7041 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7042 [POSIX || XPG3] (NL_NMAX): Likewise.
7043 [POSIX || XPG3] (NL_SETMAX): Likewise.
7044 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7045 [XPG3] (NZERO): Likewise.
7046 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7047 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7048 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7049 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7050 (REG_ERANGE): Expect.
7051 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7053 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7054 Use (void) in prototype.
7055 [POSIX] (*_t): Allow.
7056 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7057 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7058 (WRDE_BADVAL): Expect.
7060 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7062 [XPG3 || XPG4] (O_RSYNC): Likewise.
7063 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7065 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7066 [XPG3 || XPG4] (sigqueue): Likewise.
7067 [XPG3 || XPG4] (sigtimedwait): Likewise.
7068 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7069 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7070 [XPG3 || XPG4] (vsnprintf): Likewise.
7071 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7073 [XPG3 || XPG4] (blksize_t): Likewise.
7074 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7076 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7077 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7078 [XPG3 || XPG4] (struct itimerspec): Likewise.
7079 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7080 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7081 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7082 [XPG3 || XPG4] (clockid_t): Likewise.
7083 [XPG3 || XPG4] (timer_t): Likewise.
7084 [XPG3 || XPG4] (clock_getres): Likewise.
7085 [XPG3 || XPG4] (clock_gettime): Likewise.
7086 [XPG3 || XPG4] (clock_settime): Likewise.
7087 [XPG3 || XPG4] (nanosleep): Likewise.
7088 [XPG3 || XPG4] (timer_create): Likewise.
7089 [XPG3 || XPG4] (timer_delete): Likewise.
7090 [XPG3 || XPG4] (timer_gettime): Likewise.
7091 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7092 [XPG3 || XPG4] (timer_settime): Likewise.
7093 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7094 [XPG3 || XPG4] (getlogin_r): Likewise.
7095 [XPG3 || XPG4] (pread): Likewise.
7096 [XPG3 || XPG4] (pthread_atfork): Likewise.
7097 [XPG3 || XPG4] (pwrite): Likewise.
7100 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7103 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7105 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7106 finalizing MALLSTREAM.
7108 * sysdeps/mach/hurd/syncfs.c: New file.
7110 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7113 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7114 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7116 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7117 (_nss_dns_gethostbyname4_r): Likewise.
7118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7119 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7121 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7124 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7126 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7128 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7129 * elf/cache.c (print_entry): Print ",AArch64" for
7132 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7133 * elf/cache.c (print_entry): Print ",hard-float" for
7136 2012-11-18 David S. Miller <davem@davemloft.net>
7138 With help from Joseph Myers.
7139 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7141 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7143 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7144 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7147 * math/libm-test.inc (y0_test): New tests.
7148 (y1_test): New tests.
7149 * sysdeps/i386/fpu/libm-test-ulps: Update.
7150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7153 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7155 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7157 * configure: Regenerated.
7159 2012-11-17 David S. Miller <davem@davemloft.net>
7162 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7163 nonzero exponents with absolute value below 0x1p-128 to +/-
7166 2012-11-17 Joseph Myers <joseph@codesourcery.com>
7168 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7170 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7172 * posix/getconf-speclist.c: New file.
7173 * posix/posix-envs.def: Likewise.
7174 * posix/confstr.c (START_ENV_GROUP): New macro.
7175 (END_ENV_GROUP): Likewise.
7176 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7177 (KNOWN_PRESENT_ENV_STRING): Likewise.
7178 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7179 (UNKNOWN_ENVIRONMENT): Likewise.
7180 (confstr): Include posix-envs.def instead of handling
7181 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7182 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7183 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7184 (END_ENV_GROUP): Likewise.
7185 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7186 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7187 (UNKNOWN_ENVIRONMENT): Likewise.
7188 (__sysconf): Include posix-envs.def instead of handling associated
7189 cases directly here.
7190 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7191 preprocessing getconf-speclist.c rather than running getconf or
7192 generating empty file.
7194 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7196 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7198 2012-11-16 Andrej Lajovic <natrij@gmail.com>
7201 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7203 2012-11-16 David S. Miller <davem@davemloft.net>
7205 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7206 smaller than LDBL_EPSILON/2.0L, just return xm1.
7208 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7210 * elf/tst-array1.c (init): Set constructor priority to 1000.
7211 (fini): Set destructor priority to 1000.
7212 * elf/tst-array2dep.c: Likewise.
7214 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7217 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7218 (_IO_new_file_xsputn): Also return EOF if none of the input
7219 data was written when overflow failed.
7220 * libio/iopadn.c (_IO_padn): Likewise.
7221 * libio/iowpadn.c (_IO_wpadn): Likewise.
7222 * stdio-common/tst-put-error.c: Add copyright notice.
7223 (do_test): Add case for printing padded string.
7224 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7225 _IO_padn returned error.
7226 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7227 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7230 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7232 * libio/libioP.h: Add comment note that the references to C++
7233 bits are now obsolete.
7235 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7237 * math/libm-test.inc (check_complex): Use asprintf.
7239 2012-11-14 Joseph Myers <joseph@codesourcery.com>
7241 * debug/pcprofiledump.c (print_version): Update copyright year.
7242 * malloc/memusagestat.c (print_version): Likewise.
7244 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7247 * elf/Makefile (tests): Add tst-audit8.
7248 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7249 ($(objpfx)tst-audit8.out): New target.
7250 (tst-audit8-ENV): New variable.
7251 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7252 audit if l_reloc_result is NULL.
7253 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7254 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7255 * elf/tst-audit8.c: New file.
7257 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7259 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7260 * misc/Makefile (CFLAGS-select.c): Define.
7261 * posix/Makefile (CFLAGS-pause.c): Define.
7263 2012-11-13 David S. Miller <davem@davemloft.net>
7265 * crypt/Makefile: Move test targets after toplevel Rules
7266 inclusion. Grab any necessary sysdep routines when linking.
7267 * crypt/md5.c (md5_process_block): Remove define, we will always
7268 name it __md5_process_block.
7269 (md5_finish_ctx): Update md5_process_block call.
7270 (md5_stream): Likewise.
7271 (md5_process_bytes): Likewise.
7272 (md5_process_block): Rename to __md5_process_block and move to ...
7273 * crypt/md5-block.c: ... here.
7274 * crypt/sha256.c (sha256_process_block): Move to ...
7275 * crypt/sha256-block.c: ... here.
7276 * crypt/sha512.c (sha512_process_block): Move to ...
7277 * crypt/sha512-block.c: ... here.
7278 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7280 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7281 * sysdeps/sparc/sparc64/multiarch/Makefile
7282 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7284 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7287 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7288 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7289 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7290 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7291 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7292 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7293 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7294 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7302 2012-11-13 Joseph Myers <joseph@codesourcery.com>
7304 * timezone/tzselect.ksh: Update from tzcode git revision
7305 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7306 * timezone/zdump.c: Likewise.
7307 * timezone/zic.c: Likewise.
7308 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7309 in TZVERSION setting, not $(PKGVERSION).
7310 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7311 REPORT_BUGS_TO settings.
7314 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7317 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7319 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7320 detection to immediately after _FP_ROUND().
7321 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7324 2012-11-11 David S. Miller <davem@davemloft.net>
7326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7328 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7329 __close rather than their public counterparts.
7331 2012-11-10 Joseph Myers <joseph@codesourcery.com>
7333 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7335 [UNIX98] (sem_timedwait): Do not expect.
7336 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7337 [XPG4 || UNIX98] (sockatmark): Do not expect.
7338 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7339 (clock_getcpuclockid): Do not expect.
7340 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7341 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7343 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7344 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7345 [UNIX98] (vwscanf): Likewise.
7346 [UNIX98] (vswscanf): Likewise.
7348 2012-11-09 Joseph Myers <joseph@codesourcery.com>
7350 * timezone/version.h: Remove file.
7351 * timezone/README: Do not refer to version.h.
7352 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7354 ($(objpfx)zdump.o): Likewise.
7355 ($(objpfx)version.h): New target.
7357 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7359 * timezone/README: Don't mention modification to tzselect.ksh.
7360 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7361 work on unmodified tzselect.ksh. Substitute version numbers in
7364 * Makefile (format-me): Remove.
7365 (INSTALL): Adjust indentation. Use commands directly instead of
7368 * aclocal.m4 (ACX_PKGVERSION): New macro.
7369 (ACX_BUGURL): Likewise.
7370 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7371 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7372 (REPORT_BUGS_TO): Likewise.
7373 * configure: Regenerated.
7374 * config.h.in (PKGVERSION): New macro.
7375 (REPORT_BUGS_TO): Likewise.
7376 * config.make.in (PKGVERSION): New variable.
7377 (PKGVERSION_TEXI): Likewise.
7378 (REPORT_BUGS_TO): Likewise.
7379 (REPORT_BUGS_TEXI): Likewise.
7380 * Makefile (format-me): Use -I$(common-objpfx)manual.
7381 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7382 ($(common-objpfx)manual/%): New target.
7383 (manual/%): Remove target.
7384 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7385 (print_version): Use PKGVERSION.
7386 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7387 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7389 ($(objpfx)xtrace): Likewise.
7390 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7391 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7392 (print_version): Use PKGVERSION.
7393 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7394 (do_version): Use PKGVERSION.
7395 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7397 (common-ldd-rewrite): Likewise.
7398 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7399 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7400 (print_version): Use PKGVERSION.
7401 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7402 * elf/pldd.c (argp_program_bug_address): Remove variable.
7403 (more_help): New function.
7404 (argp): Use more_help.
7405 (print_version): Use PKGVERSION.
7406 * elf/sln.c (main): Use PKGVERSION.
7407 (usage): Use REPORT_BUGS_TO.
7408 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7409 (top level): Use PKGVERSION.
7410 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7411 (print_version): Use PKGVERSION.
7412 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7413 (print_version): Use PKGVERSION.
7414 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7415 (print_version): Use PKGVERSION.
7416 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7417 (print_version): Use PKGVERSION.
7418 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7419 (print_version): Use PKGVERSION.
7420 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7421 (print_version): Use PKGVERSION.
7422 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7424 ($(objpfx)memusage): Likewise.
7425 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7426 (do_version): Use PKGVERSION.
7427 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7428 (print_version): Use PKGVERSION.
7429 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7430 ($PKGVERSION): New variable.
7431 ($REPORT_BUGS_TO): Likewise.
7432 (usage): Use $REPORT_BUGS_TO.
7433 (top level): Use $PKGVERSION.
7434 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7435 ($(objpfx)pkgvers.texi): New rule.
7436 ($(objpfx)stamp-pkgvers): Likewise.
7437 * manual/install.texi: Include pkgvers.texi.
7438 (--with-pkgversion): Document new configure option.
7439 (--with-bugurl): Likewise.
7440 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7441 than necessarily for this particular distribution. Use
7442 REPORT_BUGS_TO for where to report bugs.
7443 * INSTALL: Regenerated.
7444 * manual/libc.texinfo: Include pkgvers.texi.
7445 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7446 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7447 (print_version): Use PKGVERSION.
7448 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7449 (print_version): Use PKGVERSION.
7450 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7451 (print_version): Use PKGVERSION.
7452 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7453 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7455 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7456 (print_version): Use PKGVERSION.
7457 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7458 (print_version): Use PKGVERSION.
7459 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7462 * timezone/checktab.awk: Update from tzcode 2012i.
7463 * timezone/ialloc.c: Likewise.
7464 * timezone/private.h: Likewise.
7465 * timezone/scheck.c: Likewise.
7466 * timezone/tzfile.h: Likewise.
7467 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7468 (TZVERSION): Hardcode tzcode version number.
7469 * timezone/zdump.c: Update from tzcode 2012i.
7470 * timezone/zic.c: Likewise.
7471 * timezone/version.h: New file.
7472 * timezone/README: Describe version.h. Update upstream location.
7475 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7476 (mktemp): Enable declaration.
7477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7494 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7495 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7496 for copies of such integer values.
7497 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7498 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7500 2012-11-09 Andreas Jaeger <aj@suse.de>
7502 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7503 definitions and declarations that are provided by
7504 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7506 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7508 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7509 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7510 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7513 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7515 * elf/elf.h: Update comment before AArch64 relocations.
7517 2012-11-07 David S. Miller <davem@davemloft.net>
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7521 (__start_context): Declare.
7522 (__makecontext_ret): Delete.
7523 (__makecontext): Hook up __start_context instead of
7525 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7526 (sysdep_routines): Add __start_context when in stdlib.
7528 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7530 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7531 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7532 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7534 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7535 (READELF): New variable. Use it instead of hardcoded "readelf".
7537 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7539 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7540 * sysdeps/x86/Makefile: Here.
7541 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7542 * sysdeps/x86/tst-xmmymm.sh: This.
7544 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7546 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7548 [UNIX98] (pthread_barrier_t): Do not expect.
7549 [UNIX98] (pthread_barrierattr_t): Likewise.
7550 [UNIX98] (pthread_spinlock_t): Likewise.
7551 [UNIX98] (pthread_barrier_destroy): Likewise.
7552 [UNIX98] (pthread_barrier_init): Likewise.
7553 [UNIX98] (pthread_barrier_wait): Likewise.
7554 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7555 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7556 [UNIX98] (pthread_barrierattr_init): Likewise.
7557 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7558 [UNIX98] (pthread_getcpuclockid): Likewise.
7559 [UNIX98] (pthread_mutex_timedlock): Likewise.
7560 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7561 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7562 [UNIX98] (pthread_sigmask): Likewise.
7563 [UNIX98] (pthread_spin_destroy): Likewise.
7564 [UNIX98] (pthread_spin_init): Likewise.
7565 [UNIX98] (pthread_spin_lock): Likewise.
7566 [UNIX98] (pthread_spin_trylock): Likewise.
7567 [UNIX98] (pthread_spin_unlock): Likewise.
7568 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7570 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7572 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7573 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7574 [XPG3 || XPG4] (pthread_key_t): Likewise.
7575 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7576 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7577 [XPG3 || XPG4] (pthread_once_t): Likewise.
7578 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7579 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7581 [XPG3 || XPG4] (pthread_t): Likewise.
7583 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7585 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7587 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7588 Change function return type to int.
7590 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7591 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7592 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7593 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7594 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7595 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7596 [!POSIX] (posix_madvise): Likewise.
7597 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7599 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7600 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7602 (posix_mem_offset): Likewise.
7603 (posix_typed_mem_get_info): Likewise.
7604 (posix_typed_mem_open): Likewise.
7606 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7607 Change condition to [XOPEN2K8].
7609 * conform/conformtest.pl: Preprocess allow-header data with -x c
7610 instead of from stdin.
7611 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7612 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7613 [C99-based standards] (cerfc): Likewise.
7614 [C99-based standards] (cexp2): Likewise.
7615 [C99-based standards] (cexpm1): Likewise.
7616 [C99-based standards] (clog10): Likewise.
7617 [C99-based standards] (clog1p): Likewise.
7618 [C99-based standards] (clog2): Likewise.
7619 [C99-based standards] (clgamma): Likewise.
7620 [C99-based standards] (ctgamma): Likewise.
7621 [C99-based standards] (cerff): Likewise.
7622 [C99-based standards] (cerfcf): Likewise.
7623 [C99-based standards] (cexp2f): Likewise.
7624 [C99-based standards] (cexpm1f): Likewise.
7625 [C99-based standards] (clog10f): Likewise.
7626 [C99-based standards] (clog1pf): Likewise.
7627 [C99-based standards] (clog2f): Likewise.
7628 [C99-based standards] (clgammaf): Likewise.
7629 [C99-based standards] (ctgammaf): Likewise.
7630 [C99-based standards] (cerfl): Likewise.
7631 [C99-based standards] (cerfcl): Likewise.
7632 [C99-based standards] (cexp2l): Likewise.
7633 [C99-based standards] (cexpm1l): Likewise.
7634 [C99-based standards] (clog10l): Likewise.
7635 [C99-based standards] (clog1pl): Likewise.
7636 [C99-based standards] (clog2l): Likewise.
7637 [C99-based standards] (clgammal): Likewise.
7638 [C99-based standards] (ctgammal): Likewise.
7639 * conform/data/inttypes.h-data [C99-based standards]: Include
7640 stdint.h-data. Remove all expectations for stdint.h contents.
7641 [C99-based standards] (PRI*): Do not allow.
7642 [C99-based standards] (SCN*): Likewise.
7643 [C99-based standards] (*_t): Likewise.
7644 [C99-based-standards] (PRId8): Expect macro.
7645 [C99-based-standards] (PRIi8): Likewise.
7646 [C99-based-standards] (PRIo8): Likewise.
7647 [C99-based-standards] (PRIu8): Likewise.
7648 [C99-based-standards] (PRIx8): Likewise.
7649 [C99-based-standards] (PRIX8): Likewise.
7650 [C99-based-standards] (SCNd8): Likewise.
7651 [C99-based-standards] (SCNi8): Likewise.
7652 [C99-based-standards] (SCNo8): Likewise.
7653 [C99-based-standards] (SCNu8): Likewise.
7654 [C99-based-standards] (SCNx8): Likewise.
7655 [C99-based-standards] (PRIdLEAST8): Likewise.
7656 [C99-based-standards] (PRIiLEAST8): Likewise.
7657 [C99-based-standards] (PRIoLEAST8): Likewise.
7658 [C99-based-standards] (PRIuLEAST8): Likewise.
7659 [C99-based-standards] (PRIxLEAST8): Likewise.
7660 [C99-based-standards] (PRIXLEAST8): Likewise.
7661 [C99-based-standards] (SCNdLEAST8): Likewise.
7662 [C99-based-standards] (SCNiLEAST8): Likewise.
7663 [C99-based-standards] (SCNoLEAST8): Likewise.
7664 [C99-based-standards] (SCNuLEAST8): Likewise.
7665 [C99-based-standards] (SCNxLEAST8): Likewise.
7666 [C99-based-standards] (PRIdFAST8): Likewise.
7667 [C99-based-standards] (PRIiFAST8): Likewise.
7668 [C99-based-standards] (PRIoFAST8): Likewise.
7669 [C99-based-standards] (PRIuFAST8): Likewise.
7670 [C99-based-standards] (PRIxFAST8): Likewise.
7671 [C99-based-standards] (PRIXFAST8): Likewise.
7672 [C99-based-standards] (SCNdFAST8): Likewise.
7673 [C99-based-standards] (SCNiFAST8): Likewise.
7674 [C99-based-standards] (SCNoFAST8): Likewise.
7675 [C99-based-standards] (SCNuFAST8): Likewise.
7676 [C99-based-standards] (SCNxFAST8): Likewise.
7677 [C99-based-standards] (PRId16): Likewise.
7678 [C99-based-standards] (PRIi16): Likewise.
7679 [C99-based-standards] (PRIo16): Likewise.
7680 [C99-based-standards] (PRIu16): Likewise.
7681 [C99-based-standards] (PRIx16): Likewise.
7682 [C99-based-standards] (PRIX16): Likewise.
7683 [C99-based-standards] (SCNd16): Likewise.
7684 [C99-based-standards] (SCNi16): Likewise.
7685 [C99-based-standards] (SCNo16): Likewise.
7686 [C99-based-standards] (SCNu16): Likewise.
7687 [C99-based-standards] (SCNx16): Likewise.
7688 [C99-based-standards] (PRIdLEAST16): Likewise.
7689 [C99-based-standards] (PRIiLEAST16): Likewise.
7690 [C99-based-standards] (PRIoLEAST16): Likewise.
7691 [C99-based-standards] (PRIuLEAST16): Likewise.
7692 [C99-based-standards] (PRIxLEAST16): Likewise.
7693 [C99-based-standards] (PRIXLEAST16): Likewise.
7694 [C99-based-standards] (SCNdLEAST16): Likewise.
7695 [C99-based-standards] (SCNiLEAST16): Likewise.
7696 [C99-based-standards] (SCNoLEAST16): Likewise.
7697 [C99-based-standards] (SCNuLEAST16): Likewise.
7698 [C99-based-standards] (SCNxLEAST16): Likewise.
7699 [C99-based-standards] (PRIdFAST16): Likewise.
7700 [C99-based-standards] (PRIiFAST16): Likewise.
7701 [C99-based-standards] (PRIoFAST16): Likewise.
7702 [C99-based-standards] (PRIuFAST16): Likewise.
7703 [C99-based-standards] (PRIxFAST16): Likewise.
7704 [C99-based-standards] (PRIXFAST16): Likewise.
7705 [C99-based-standards] (SCNdFAST16): Likewise.
7706 [C99-based-standards] (SCNiFAST16): Likewise.
7707 [C99-based-standards] (SCNoFAST16): Likewise.
7708 [C99-based-standards] (SCNuFAST16): Likewise.
7709 [C99-based-standards] (SCNxFAST16): Likewise.
7710 [C99-based-standards] (PRId32): Likewise.
7711 [C99-based-standards] (PRIi32): Likewise.
7712 [C99-based-standards] (PRIo32): Likewise.
7713 [C99-based-standards] (PRIu32): Likewise.
7714 [C99-based-standards] (PRIx32): Likewise.
7715 [C99-based-standards] (PRIX32): Likewise.
7716 [C99-based-standards] (SCNd32): Likewise.
7717 [C99-based-standards] (SCNi32): Likewise.
7718 [C99-based-standards] (SCNo32): Likewise.
7719 [C99-based-standards] (SCNu32): Likewise.
7720 [C99-based-standards] (SCNx32): Likewise.
7721 [C99-based-standards] (PRIdLEAST32): Likewise.
7722 [C99-based-standards] (PRIiLEAST32): Likewise.
7723 [C99-based-standards] (PRIoLEAST32): Likewise.
7724 [C99-based-standards] (PRIuLEAST32): Likewise.
7725 [C99-based-standards] (PRIxLEAST32): Likewise.
7726 [C99-based-standards] (PRIXLEAST32): Likewise.
7727 [C99-based-standards] (SCNdLEAST32): Likewise.
7728 [C99-based-standards] (SCNiLEAST32): Likewise.
7729 [C99-based-standards] (SCNoLEAST32): Likewise.
7730 [C99-based-standards] (SCNuLEAST32): Likewise.
7731 [C99-based-standards] (SCNxLEAST32): Likewise.
7732 [C99-based-standards] (PRIdFAST32): Likewise.
7733 [C99-based-standards] (PRIiFAST32): Likewise.
7734 [C99-based-standards] (PRIoFAST32): Likewise.
7735 [C99-based-standards] (PRIuFAST32): Likewise.
7736 [C99-based-standards] (PRIxFAST32): Likewise.
7737 [C99-based-standards] (PRIXFAST32): Likewise.
7738 [C99-based-standards] (SCNdFAST32): Likewise.
7739 [C99-based-standards] (SCNiFAST32): Likewise.
7740 [C99-based-standards] (SCNoFAST32): Likewise.
7741 [C99-based-standards] (SCNuFAST32): Likewise.
7742 [C99-based-standards] (SCNxFAST32): Likewise.
7743 [C99-based-standards] (PRId64): Likewise.
7744 [C99-based-standards] (PRIi64): Likewise.
7745 [C99-based-standards] (PRIo64): Likewise.
7746 [C99-based-standards] (PRIu64): Likewise.
7747 [C99-based-standards] (PRIx64): Likewise.
7748 [C99-based-standards] (PRIX64): Likewise.
7749 [C99-based-standards] (SCNd64): Likewise.
7750 [C99-based-standards] (SCNi64): Likewise.
7751 [C99-based-standards] (SCNo64): Likewise.
7752 [C99-based-standards] (SCNu64): Likewise.
7753 [C99-based-standards] (SCNx64): Likewise.
7754 [C99-based-standards] (PRIdLEAST64): Likewise.
7755 [C99-based-standards] (PRIiLEAST64): Likewise.
7756 [C99-based-standards] (PRIoLEAST64): Likewise.
7757 [C99-based-standards] (PRIuLEAST64): Likewise.
7758 [C99-based-standards] (PRIxLEAST64): Likewise.
7759 [C99-based-standards] (PRIXLEAST64): Likewise.
7760 [C99-based-standards] (SCNdLEAST64): Likewise.
7761 [C99-based-standards] (SCNiLEAST64): Likewise.
7762 [C99-based-standards] (SCNoLEAST64): Likewise.
7763 [C99-based-standards] (SCNuLEAST64): Likewise.
7764 [C99-based-standards] (SCNxLEAST64): Likewise.
7765 [C99-based-standards] (PRIdFAST64): Likewise.
7766 [C99-based-standards] (PRIiFAST64): Likewise.
7767 [C99-based-standards] (PRIoFAST64): Likewise.
7768 [C99-based-standards] (PRIuFAST64): Likewise.
7769 [C99-based-standards] (PRIxFAST64): Likewise.
7770 [C99-based-standards] (PRIXFAST64): Likewise.
7771 [C99-based-standards] (SCNdFAST64): Likewise.
7772 [C99-based-standards] (SCNiFAST64): Likewise.
7773 [C99-based-standards] (SCNoFAST64): Likewise.
7774 [C99-based-standards] (SCNuFAST64): Likewise.
7775 [C99-based-standards] (SCNxFAST64): Likewise.
7776 [C99-based-standards] (PRIdMAX): Likewise.
7777 [C99-based-standards] (PRIiMAX): Likewise.
7778 [C99-based-standards] (PRIoMAX): Likewise.
7779 [C99-based-standards] (PRIuMAX): Likewise.
7780 [C99-based-standards] (PRIxMAX): Likewise.
7781 [C99-based-standards] (PRIXMAX): Likewise.
7782 [C99-based-standards] (SCNdMAX): Likewise.
7783 [C99-based-standards] (SCNiMAX): Likewise.
7784 [C99-based-standards] (SCNoMAX): Likewise.
7785 [C99-based-standards] (SCNuMAX): Likewise.
7786 [C99-based-standards] (SCNxMAX): Likewise.
7787 [C99-based-standards] (PRIdPTR): Likewise.
7788 [C99-based-standards] (PRIiPTR): Likewise.
7789 [C99-based-standards] (PRIoPTR): Likewise.
7790 [C99-based-standards] (PRIuPTR): Likewise.
7791 [C99-based-standards] (PRIxPTR): Likewise.
7792 [C99-based-standards] (PRIXPTR): Likewise.
7793 [C99-based-standards] (SCNdPTR): Likewise.
7794 [C99-based-standards] (SCNiPTR): Likewise.
7795 [C99-based-standards] (SCNoPTR): Likewise.
7796 [C99-based-standards] (SCNuPTR): Likewise.
7797 [C99-based-standards] (SCNxPTR): Likewise.
7798 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7800 * conform/data/stdint.h-data: Update comments to clarify
7802 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7804 [C99-based standards] (INT8_MAX): Likewise.
7805 [C99-based standards] (INT16_MIN): Likewise.
7806 [C99-based standards] (INT16_MAX): Likewise.
7807 [C99-based standards] (INT32_MIN): Likewise.
7808 [C99-based standards] (INT32_MAX): Likewise.
7809 [C99-based standards] (INT64_MIN): Likewise.
7810 [C99-based standards] (INT64_MAX): Likewise.
7811 [C99-based standards] (UINT8_MAX): Likewise.
7812 [C99-based standards] (UINT16_MAX): Likewise.
7813 [C99-based standards] (UINT32_MAX): Likewise.
7814 [C99-based standards] (UINT64_MAX): Likewise.
7815 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7816 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7817 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7818 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7819 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7820 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7821 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7822 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7823 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7824 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7825 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7826 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7827 [C99-based standards] (INT_FAST8_MIN): Likewise.
7828 [C99-based standards] (INT_FAST8_MAX): Likewise.
7829 [C99-based standards] (INT_FAST16_MIN): Likewise.
7830 [C99-based standards] (INT_FAST16_MAX): Likewise.
7831 [C99-based standards] (INT_FAST32_MIN): Likewise.
7832 [C99-based standards] (INT_FAST32_MAX): Likewise.
7833 [C99-based standards] (INT_FAST64_MIN): Likewise.
7834 [C99-based standards] (INT_FAST64_MAX): Likewise.
7835 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7836 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7837 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7838 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7839 [C99-based standards] (INTPTR_MIN): Likewise.
7840 [C99-based standards] (INTPTR_MAX): Likewise.
7841 [C99-based standards] (UINTPTR_MAX): Likewise.
7842 [C99-based standards] (INTMAX_MIN): Likewise.
7843 [C99-based standards] (INTMAX_MAX): Likewise.
7844 [C99-based standards] (UINTMAX_MAX): Likewise.
7845 [C99-based standards] (PTRDIFF_MIN): Likewise.
7846 [C99-based standards] (PTRDIFF_MAX): Likewise.
7847 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7848 [C99-based standards] (SIZE_MAX): Likewise.
7849 [C99-based standards] (WCHAR_MAX): Likewise.
7850 [C99-based standards] (WINT_MAX): Likewise.
7851 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7852 constraint on value.
7853 [C99-based standards] (WCHAR_MIN): Likewise.
7854 [C99-based standards] (WINT_MIN): Likewise.
7855 [C99-based standards] (*_t): Allow.
7856 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7857 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7858 Include math.h-data and complex.h-data. Remove all expectations
7859 of math.h and complex.h contents.
7860 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7862 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7863 (struct tm): Expect tag.
7864 [C99-based-standards] (wcstof): Expect function.
7865 [C99-based-standards] (wcstold): Likewise.
7866 [C99-based-standards] (wcstoll): Likewise.
7867 [C99-based-standards] (wcstoull): Likewise.
7868 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7869 macro-int-constant. Specify type.
7870 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7871 constraint on value.
7872 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7874 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7876 [ISO C standards]: Do not allow headers.
7877 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7878 wcs[abcdefghijklmnopqrstuvwxyz]*.
7879 [ISO C standards] (*_t): Do not allow.
7880 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7882 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7883 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7885 [ISO C standards]: Do not allow headers.
7886 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7887 is[abcdefghijklmnopqrstuvwxyz]*.
7888 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7889 to[abcdefghijklmnopqrstuvwxyz]*.
7890 [ISO C standards] (*_t): Do not allow.
7891 * conform/data/stdalign.h-data: New file.
7892 * conform/data/stdbool.h-data: Likewise.
7893 * conform/data/stdnoreturn.h-data: Likewise.
7895 2012-11-07 Roland McGrath <roland@hack.frob.com>
7898 * manual/filesys.texi (Directory Entries): Typo fix.
7899 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7901 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7903 * elf/elf.h (EM_AARCH64): New macro.
7904 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7905 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7906 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7907 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7908 (R_AARCH64_TLSDESC): Likewise.
7909 (NT_ARM_TLS): Likewise.
7910 (NT_ARM_HW_BREAK): Likewise.
7911 (NT_ARM_HW_WATCH): Likewise.
7913 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7916 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7917 (__ieee754_powl): Saturate nonzero exponents with absolute value
7918 below 0x1p-79 to +/- 0x1p-79.
7919 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7920 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7921 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7922 nonzero exponents with absolute value below 0x1p-32 to +/-
7924 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7925 (__ieee754_powl): Saturate nonzero exponents with absolute value
7926 below 0x1p-79 to +/- 0x1p-79.
7927 * math/libm-test.inc (pow_test): Add more tests.
7929 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7931 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7932 _dl_s390_cap_flags with kernel. Increase string length.
7933 (_dl_s390_platforms): Add z196 and zEC12.
7935 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7937 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7938 Change XOPEN21K to XOPEN2K.
7940 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7942 * string/memmove.c: Use memcpy when possible.
7944 2012-11-06 Andreas Jaeger <aj@suse.de>
7946 * po/eo.po: Update from translation team.
7948 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7952 exponent and small x and y exponents, scale x or y up. Increase
7953 by 2 the exponent used in scaling up.
7954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7956 * math/libm-test.inc (fma_test): Add more tests.
7957 (fma_test_towardzero): Likewise.
7958 (fma_test_downward): Likewise.
7959 (fma_test_upward): Likewise.
7961 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7964 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7968 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7969 namespace for names of struct fields.
7970 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7972 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7973 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7975 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7978 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7980 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7982 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7986 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7989 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7993 definitely overflow as x * y not x * y + z.
7994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7996 * math/libm-test.inc (fma_test): Add more tests.
7997 (fma_test_towardzero): Likewise.
7998 (fma_test_downward): Likewise.
7999 (fma_test_upward): Likewise.
8001 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8005 * include/stub-tag.h: Remove file.
8006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8008 * manual/maint.texi (Porting): Don't reference it.
8009 * Makerules ($(objpfx)stubs): Likewise.
8010 * dirent/closedir.c: Don't include <stub-tag.h>.
8011 * dirent/dirfd.c: Likewise.
8012 * dirent/fdopendir.c: Likewise.
8013 * dirent/getdents.c: Likewise.
8014 * dirent/getdents64.c: Likewise.
8015 * dirent/opendir.c: Likewise.
8016 * dirent/readdir.c: Likewise.
8017 * dirent/readdir64.c: Likewise.
8018 * dirent/readdir64_r.c: Likewise.
8019 * dirent/readdir_r.c: Likewise.
8020 * dirent/rewinddir.c: Likewise.
8021 * dirent/seekdir.c: Likewise.
8022 * dirent/telldir.c: Likewise.
8023 * gmon/profil.c: Likewise.
8024 * grp/setgroups.c: Likewise.
8025 * inet/if_index.c: Likewise.
8026 * io/access.c: Likewise.
8027 * io/chdir.c: Likewise.
8028 * io/chmod.c: Likewise.
8029 * io/chown.c: Likewise.
8030 * io/close.c: Likewise.
8031 * io/dup.c: Likewise.
8032 * io/dup2.c: Likewise.
8033 * io/dup3.c: Likewise.
8034 * io/euidaccess.c: Likewise.
8035 * io/faccessat.c: Likewise.
8036 * io/fchdir.c: Likewise.
8037 * io/fchmod.c: Likewise.
8038 * io/fchmodat.c: Likewise.
8039 * io/fchown.c: Likewise.
8040 * io/fchownat.c: Likewise.
8041 * io/fcntl.c: Likewise.
8042 * io/flock.c: Likewise.
8043 * io/fstatfs.c: Likewise.
8044 * io/fstatfs64.c: Likewise.
8045 * io/fstatvfs.c: Likewise.
8046 * io/fstatvfs64.c: Likewise.
8047 * io/futimens.c: Likewise.
8048 * io/fxstat.c: Likewise.
8049 * io/fxstat64.c: Likewise.
8050 * io/fxstatat.c: Likewise.
8051 * io/fxstatat64.c: Likewise.
8052 * io/getcwd.c: Likewise.
8053 * io/isatty.c: Likewise.
8054 * io/lchmod.c: Likewise.
8055 * io/lchown.c: Likewise.
8056 * io/link.c: Likewise.
8057 * io/linkat.c: Likewise.
8058 * io/lseek.c: Likewise.
8059 * io/lseek64.c: Likewise.
8060 * io/lxstat64.c: Likewise.
8061 * io/mkdir.c: Likewise.
8062 * io/mkdirat.c: Likewise.
8063 * io/mkfifo.c: Likewise.
8064 * io/mkfifoat.c: Likewise.
8065 * io/open.c: Likewise.
8066 * io/open64.c: Likewise.
8067 * io/openat.c: Likewise.
8068 * io/openat64.c: Likewise.
8069 * io/pipe.c: Likewise.
8070 * io/pipe2.c: Likewise.
8071 * io/poll.c: Likewise.
8072 * io/posix_fadvise.c: Likewise.
8073 * io/posix_fadvise64.c: Likewise.
8074 * io/posix_fallocate.c: Likewise.
8075 * io/posix_fallocate64.c: Likewise.
8076 * io/read.c: Likewise.
8077 * io/readlink.c: Likewise.
8078 * io/readlinkat.c: Likewise.
8079 * io/rmdir.c: Likewise.
8080 * io/sendfile.c: Likewise.
8081 * io/sendfile64.c: Likewise.
8082 * io/statfs.c: Likewise.
8083 * io/statfs64.c: Likewise.
8084 * io/statvfs.c: Likewise.
8085 * io/statvfs64.c: Likewise.
8086 * io/symlink.c: Likewise.
8087 * io/symlinkat.c: Likewise.
8088 * io/ttyname.c: Likewise.
8089 * io/ttyname_r.c: Likewise.
8090 * io/umask.c: Likewise.
8091 * io/unlink.c: Likewise.
8092 * io/unlinkat.c: Likewise.
8093 * io/utime.c: Likewise.
8094 * io/utimensat.c: Likewise.
8095 * io/write.c: Likewise.
8096 * io/xmknod.c: Likewise.
8097 * io/xmknodat.c: Likewise.
8098 * io/xstat.c: Likewise.
8099 * io/xstat64.c: Likewise.
8100 * login/getpt.c: Likewise.
8101 * login/grantpt.c: Likewise.
8102 * login/unlockpt.c: Likewise.
8103 * math/e_acoshl.c: Likewise.
8104 * math/e_acosl.c: Likewise.
8105 * math/e_asinl.c: Likewise.
8106 * math/e_atan2l.c: Likewise.
8107 * math/e_atanhl.c: Likewise.
8108 * math/e_coshl.c: Likewise.
8109 * math/e_expl.c: Likewise.
8110 * math/e_fmodl.c: Likewise.
8111 * math/e_gammal_r.c: Likewise.
8112 * math/e_hypotl.c: Likewise.
8113 * math/e_j0l.c: Likewise.
8114 * math/e_j1l.c: Likewise.
8115 * math/e_jnl.c: Likewise.
8116 * math/e_lgammal_r.c: Likewise.
8117 * math/e_log10l.c: Likewise.
8118 * math/e_log2l.c: Likewise.
8119 * math/e_logl.c: Likewise.
8120 * math/e_powl.c: Likewise.
8121 * math/e_rem_pio2l.c: Likewise.
8122 * math/e_sinhl.c: Likewise.
8123 * math/e_sqrtl.c: Likewise.
8124 * math/fclrexcpt.c: Likewise.
8125 * math/fedisblxcpt.c: Likewise.
8126 * math/feenablxcpt.c: Likewise.
8127 * math/fegetenv.c: Likewise.
8128 * math/fegetexcept.c: Likewise.
8129 * math/fegetround.c: Likewise.
8130 * math/feholdexcpt.c: Likewise.
8131 * math/fesetenv.c: Likewise.
8132 * math/fesetround.c: Likewise.
8133 * math/feupdateenv.c: Likewise.
8134 * math/fgetexcptflg.c: Likewise.
8135 * math/fraiseexcpt.c: Likewise.
8136 * math/fsetexcptflg.c: Likewise.
8137 * math/ftestexcept.c: Likewise.
8138 * math/k_cosl.c: Likewise.
8139 * math/k_rem_pio2l.c: Likewise.
8140 * math/k_sinl.c: Likewise.
8141 * math/k_tanl.c: Likewise.
8142 * math/s_asinhl.c: Likewise.
8143 * math/s_atanl.c: Likewise.
8144 * math/s_cbrtl.c: Likewise.
8145 * math/s_erfl.c: Likewise.
8146 * math/s_expm1l.c: Likewise.
8147 * math/s_log1pl.c: Likewise.
8148 * math/s_tanhl.c: Likewise.
8149 * misc/acct.c: Likewise.
8150 * misc/brk.c: Likewise.
8151 * misc/chflags.c: Likewise.
8152 * misc/chroot.c: Likewise.
8153 * misc/fchflags.c: Likewise.
8154 * misc/fgetxattr.c: Likewise.
8155 * misc/flistxattr.c: Likewise.
8156 * misc/fremovexattr.c: Likewise.
8157 * misc/fsetxattr.c: Likewise.
8158 * misc/fsync.c: Likewise.
8159 * misc/ftruncate.c: Likewise.
8160 * misc/futimes.c: Likewise.
8161 * misc/futimesat.c: Likewise.
8162 * misc/getdomain.c: Likewise.
8163 * misc/getdtsz.c: Likewise.
8164 * misc/gethostid.c: Likewise.
8165 * misc/gethostname.c: Likewise.
8166 * misc/getloadavg.c: Likewise.
8167 * misc/getpagesize.c: Likewise.
8168 * misc/getsysstats.c: Likewise.
8169 * misc/getxattr.c: Likewise.
8170 * misc/gtty.c: Likewise.
8171 * misc/ioctl.c: Likewise.
8172 * misc/lgetxattr.c: Likewise.
8173 * misc/listxattr.c: Likewise.
8174 * misc/llistxattr.c: Likewise.
8175 * misc/lremovexattr.c: Likewise.
8176 * misc/lsetxattr.c: Likewise.
8177 * misc/lutimes.c: Likewise.
8178 * misc/madvise.c: Likewise.
8179 * misc/mincore.c: Likewise.
8180 * misc/mlock.c: Likewise.
8181 * misc/mlockall.c: Likewise.
8182 * misc/mmap.c: Likewise.
8183 * misc/mprotect.c: Likewise.
8184 * misc/msync.c: Likewise.
8185 * misc/munlock.c: Likewise.
8186 * misc/munlockall.c: Likewise.
8187 * misc/munmap.c: Likewise.
8188 * misc/preadv.c: Likewise.
8189 * misc/preadv64.c: Likewise.
8190 * misc/ptrace.c: Likewise.
8191 * misc/pwritev.c: Likewise.
8192 * misc/pwritev64.c: Likewise.
8193 * misc/readv.c: Likewise.
8194 * misc/reboot.c: Likewise.
8195 * misc/remap_file_pages.c: Likewise.
8196 * misc/removexattr.c: Likewise.
8197 * misc/revoke.c: Likewise.
8198 * misc/select.c: Likewise.
8199 * misc/setdomain.c: Likewise.
8200 * misc/setegid.c: Likewise.
8201 * misc/seteuid.c: Likewise.
8202 * misc/sethostid.c: Likewise.
8203 * misc/sethostname.c: Likewise.
8204 * misc/setregid.c: Likewise.
8205 * misc/setreuid.c: Likewise.
8206 * misc/setxattr.c: Likewise.
8207 * misc/sstk.c: Likewise.
8208 * misc/stty.c: Likewise.
8209 * misc/swapoff.c: Likewise.
8210 * misc/swapon.c: Likewise.
8211 * misc/sync.c: Likewise.
8212 * misc/syncfs.c: Likewise.
8213 * misc/syscall.c: Likewise.
8214 * misc/truncate.c: Likewise.
8215 * misc/ualarm.c: Likewise.
8216 * misc/usleep.c: Likewise.
8217 * misc/ustat.c: Likewise.
8218 * misc/utimes.c: Likewise.
8219 * misc/vhangup.c: Likewise.
8220 * misc/writev.c: Likewise.
8221 * posix/_exit.c: Likewise.
8222 * posix/alarm.c: Likewise.
8223 * posix/execve.c: Likewise.
8224 * posix/fexecve.c: Likewise.
8225 * posix/fork.c: Likewise.
8226 * posix/fpathconf.c: Likewise.
8227 * posix/getaddrinfo.c: Likewise.
8228 * posix/getegid.c: Likewise.
8229 * posix/geteuid.c: Likewise.
8230 * posix/getgid.c: Likewise.
8231 * posix/getgroups.c: Likewise.
8232 * posix/getlogin.c: Likewise.
8233 * posix/getlogin_r.c: Likewise.
8234 * posix/getpgid.c: Likewise.
8235 * posix/getpid.c: Likewise.
8236 * posix/getppid.c: Likewise.
8237 * posix/getresgid.c: Likewise.
8238 * posix/getresuid.c: Likewise.
8239 * posix/getsid.c: Likewise.
8240 * posix/getuid.c: Likewise.
8241 * posix/glob64.c: Likewise.
8242 * posix/nanosleep.c: Likewise.
8243 * posix/pathconf.c: Likewise.
8244 * posix/pause.c: Likewise.
8245 * posix/posix_madvise.c: Likewise.
8246 * posix/pread.c: Likewise.
8247 * posix/pread64.c: Likewise.
8248 * posix/pwrite.c: Likewise.
8249 * posix/pwrite64.c: Likewise.
8250 * posix/sched_getaffinity.c: Likewise.
8251 * posix/sched_getp.c: Likewise.
8252 * posix/sched_gets.c: Likewise.
8253 * posix/sched_primax.c: Likewise.
8254 * posix/sched_primin.c: Likewise.
8255 * posix/sched_rr_gi.c: Likewise.
8256 * posix/sched_setaffinity.c: Likewise.
8257 * posix/sched_setp.c: Likewise.
8258 * posix/sched_sets.c: Likewise.
8259 * posix/sched_yield.c: Likewise.
8260 * posix/setgid.c: Likewise.
8261 * posix/setlogin.c: Likewise.
8262 * posix/setpgid.c: Likewise.
8263 * posix/setresgid.c: Likewise.
8264 * posix/setresuid.c: Likewise.
8265 * posix/setsid.c: Likewise.
8266 * posix/setuid.c: Likewise.
8267 * posix/sleep.c: Likewise.
8268 * posix/spawni.c: Likewise.
8269 * posix/sysconf.c: Likewise.
8270 * posix/times.c: Likewise.
8271 * posix/wait.c: Likewise.
8272 * posix/wait3.c: Likewise.
8273 * posix/wait4.c: Likewise.
8274 * posix/waitpid.c: Likewise.
8275 * resolv/gai_sigqueue.c: Likewise.
8276 * resource/getpriority.c: Likewise.
8277 * resource/getrlimit.c: Likewise.
8278 * resource/getrusage.c: Likewise.
8279 * resource/nice.c: Likewise.
8280 * resource/setpriority.c: Likewise.
8281 * resource/setrlimit.c: Likewise.
8282 * resource/ulimit.c: Likewise.
8283 * rt/aio_cancel.c: Likewise.
8284 * rt/aio_fsync.c: Likewise.
8285 * rt/aio_read.c: Likewise.
8286 * rt/aio_sigqueue.c: Likewise.
8287 * rt/aio_suspend.c: Likewise.
8288 * rt/aio_write.c: Likewise.
8289 * rt/clock_getres.c: Likewise.
8290 * rt/clock_gettime.c: Likewise.
8291 * rt/clock_nanosleep.c: Likewise.
8292 * rt/clock_settime.c: Likewise.
8293 * rt/lio_listio.c: Likewise.
8294 * rt/mq_close.c: Likewise.
8295 * rt/mq_getattr.c: Likewise.
8296 * rt/mq_notify.c: Likewise.
8297 * rt/mq_open.c: Likewise.
8298 * rt/mq_receive.c: Likewise.
8299 * rt/mq_send.c: Likewise.
8300 * rt/mq_setattr.c: Likewise.
8301 * rt/mq_timedreceive.c: Likewise.
8302 * rt/mq_timedsend.c: Likewise.
8303 * rt/mq_unlink.c: Likewise.
8304 * rt/shm_open.c: Likewise.
8305 * rt/shm_unlink.c: Likewise.
8306 * rt/timer_create.c: Likewise.
8307 * rt/timer_delete.c: Likewise.
8308 * rt/timer_getoverr.c: Likewise.
8309 * rt/timer_gettime.c: Likewise.
8310 * rt/timer_settime.c: Likewise.
8311 * setjmp/__longjmp.c: Likewise.
8312 * setjmp/setjmp.c: Likewise.
8313 * signal/kill.c: Likewise.
8314 * signal/killpg.c: Likewise.
8315 * signal/raise.c: Likewise.
8316 * signal/sigaction.c: Likewise.
8317 * signal/sigaltstack.c: Likewise.
8318 * signal/sigblock.c: Likewise.
8319 * signal/sigignore.c: Likewise.
8320 * signal/sigintr.c: Likewise.
8321 * signal/signal.c: Likewise.
8322 * signal/sigpause.c: Likewise.
8323 * signal/sigpending.c: Likewise.
8324 * signal/sigqueue.c: Likewise.
8325 * signal/sigreturn.c: Likewise.
8326 * signal/sigset.c: Likewise.
8327 * signal/sigsetmask.c: Likewise.
8328 * signal/sigstack.c: Likewise.
8329 * signal/sigsuspend.c: Likewise.
8330 * signal/sigtimedwait.c: Likewise.
8331 * signal/sigvec.c: Likewise.
8332 * signal/sigwait.c: Likewise.
8333 * signal/sigwaitinfo.c: Likewise.
8334 * signal/sysv_signal.c: Likewise.
8335 * socket/accept.c: Likewise.
8336 * socket/accept4.c: Likewise.
8337 * socket/bind.c: Likewise.
8338 * socket/connect.c: Likewise.
8339 * socket/getpeername.c: Likewise.
8340 * socket/getsockname.c: Likewise.
8341 * socket/getsockopt.c: Likewise.
8342 * socket/isfdtype.c: Likewise.
8343 * socket/listen.c: Likewise.
8344 * socket/recv.c: Likewise.
8345 * socket/recvfrom.c: Likewise.
8346 * socket/recvmsg.c: Likewise.
8347 * socket/send.c: Likewise.
8348 * socket/sendmsg.c: Likewise.
8349 * socket/sendto.c: Likewise.
8350 * socket/setsockopt.c: Likewise.
8351 * socket/shutdown.c: Likewise.
8352 * socket/sockatmark.c: Likewise.
8353 * socket/socket.c: Likewise.
8354 * socket/socketpair.c: Likewise.
8355 * stdio-common/ctermid.c: Likewise.
8356 * stdio-common/cuserid.c: Likewise.
8357 * stdio-common/remove.c: Likewise.
8358 * stdio-common/rename.c: Likewise.
8359 * stdio-common/renameat.c: Likewise.
8360 * stdio-common/tempname.c: Likewise.
8361 * stdlib/getcontext.c: Likewise.
8362 * stdlib/makecontext.c: Likewise.
8363 * stdlib/setcontext.c: Likewise.
8364 * stdlib/swapcontext.c: Likewise.
8365 * stdlib/system.c: Likewise.
8366 * streams/fattach.c: Likewise.
8367 * streams/fdetach.c: Likewise.
8368 * streams/getmsg.c: Likewise.
8369 * streams/getpmsg.c: Likewise.
8370 * streams/putmsg.c: Likewise.
8371 * streams/putpmsg.c: Likewise.
8372 * sysdeps/unix/bsd/getpt.c: Likewise.
8373 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8374 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8375 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8378 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8379 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8380 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8381 * sysvipc/msgctl.c: Likewise.
8382 * sysvipc/msgget.c: Likewise.
8383 * sysvipc/msgrcv.c: Likewise.
8384 * sysvipc/msgsnd.c: Likewise.
8385 * sysvipc/semctl.c: Likewise.
8386 * sysvipc/semget.c: Likewise.
8387 * sysvipc/semop.c: Likewise.
8388 * sysvipc/semtimedop.c: Likewise.
8389 * sysvipc/shmat.c: Likewise.
8390 * sysvipc/shmctl.c: Likewise.
8391 * sysvipc/shmdt.c: Likewise.
8392 * sysvipc/shmget.c: Likewise.
8393 * termios/tcdrain.c: Likewise.
8394 * termios/tcflow.c: Likewise.
8395 * termios/tcflush.c: Likewise.
8396 * termios/tcgetattr.c: Likewise.
8397 * termios/tcgetpgrp.c: Likewise.
8398 * termios/tcsendbrk.c: Likewise.
8399 * termios/tcsetattr.c: Likewise.
8400 * termios/tcsetpgrp.c: Likewise.
8401 * time/adjtime.c: Likewise.
8402 * time/clock.c: Likewise.
8403 * time/getitimer.c: Likewise.
8404 * time/gettimeofday.c: Likewise.
8405 * time/setitimer.c: Likewise.
8406 * time/settimeofday.c: Likewise.
8407 * time/stime.c: Likewise.
8408 * time/time.c: Likewise.
8410 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
8412 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8415 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8417 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8419 2012-11-03 Joseph Myers <joseph@codesourcery.com>
8422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8423 FE_TONEAREST before applying Dekker multiplication and Knuth
8424 addition. Clear inexact exceptions and check for exact zero
8426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8429 * math/libm-test.inc (fma_test): Add more tests.
8430 (fma_test_towardzero): Likewise.
8431 (fma_test_downward): Likewise.
8432 (fma_test_upward): Likewise.
8433 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8435 (libc_fesetround): New macro.
8436 (libc_fesetroundf): Likewise.
8437 (libc_fesetroundl): Likewise.
8438 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8440 (libc_fesetround_387): Likewise.
8441 (libc_fesetroundf): New macro.
8442 (libc_fesetround): Likewise.
8443 (libc_fesetroundl): Likewise.
8444 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8446 (libc_fesetroundf): New macro.
8447 (libc_fesetround): Likewise.
8448 (libc_fesetroundl): Likewise.
8449 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8450 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8451 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8453 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8454 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8456 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8457 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8459 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8463 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8464 integer constant usable in #if and use that to give value to enum
8466 (FE_DIVBYZERO): Likewise.
8467 (FE_UNDERFLOW): Likewise.
8468 (FE_OVERFLOW): Likewise.
8469 (FE_INVALID): Likewise.
8470 (FE_INVALID_SNAN): Likewise.
8471 (FE_INVALID_ISI): Likewise.
8472 (FE_INVALID_IDI): Likewise.
8473 (FE_INVALID_ZDZ): Likewise.
8474 (FE_INVALID_IMZ): Likewise.
8475 (FE_INVALID_COMPARE): Likewise.
8476 (FE_INVALID_SOFTWARE): Likewise.
8477 (FE_INVALID_SQRT): Likewise.
8478 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8479 (FE_TONEAREST): Likewise.
8480 (FE_TOWARDZERO): Likewise.
8481 (FE_UPWARD): Likewise.
8482 (FE_DOWNWARD): Likewise.
8483 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8484 (FE_DIVBYZERO): Likewise.
8485 (FE_OVERFLOW): Likewise.
8486 (FE_UNDERFLOW): Likewise.
8487 (FE_INEXACT): Likewise.
8488 (FE_TONEAREST): Likewise.
8489 (FE_DOWNWARD): Likewise.
8490 (FE_UPWARD): Likewise.
8491 (FE_TOWARDZERO): Likewise.
8492 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8493 (FE_UNDERFLOW): Likewise.
8494 (FE_OVERFLOW): Likewise.
8495 (FE_DIVBYZERO): Likewise.
8496 (FE_INVALID): Likewise.
8497 (FE_TONEAREST): Likewise.
8498 (FE_TOWARDZERO): Likewise.
8499 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8500 (FE_OVERFLOW): Likewise.
8501 (FE_UNDERFLOW): Likewise.
8502 (FE_DIVBYZERO): Likewise.
8503 (FE_INEXACT): Likewise.
8504 (FE_TONEAREST): Likewise.
8505 (FE_TOWARDZERO): Likewise.
8506 (FE_UPWARD): Likewise.
8507 (FE_DOWNWARD): Likewise.
8508 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8509 (FE_DIVBYZERO): Likewise.
8510 (FE_OVERFLOW): Likewise.
8511 (FE_UNDERFLOW): Likewise.
8512 (FE_INEXACT): Likewise.
8513 (FE_TONEAREST): Likewise.
8514 (FE_DOWNWARD): Likewise.
8515 (FE_UPWARD): Likewise.
8516 (FE_TOWARDZERO): Likewise.
8518 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8520 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8522 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8524 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8525 commands. Quote $PWD.
8526 (blacklist_exports): Don't use remove_newlines. Replace "declare
8528 (remove_newlines): Remove.
8530 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8532 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8533 * stdlib/stdlib.h (atof): Moved to ...
8534 * include/bits/stdlib-float.h: Here. New file.
8535 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8536 * stdlib/bits/stdlib-float.h: New file.
8537 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8542 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8544 * conform/conformtest.pl (@headers): Add fenv.h.
8545 * conform/data/fenv.h-data: New file.
8546 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8547 include of <math/fenv.h>.
8549 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8550 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8551 && !UNIX98]. Enables tests for XOPEN2K8.
8552 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8553 POSIX2008]: Likewise.
8555 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8556 (struct rusage): Do not expect type or its members.
8559 * math/math.h (FP_NAN): Define macro to integer constant usable in
8560 #if and use that to give value to enum constant.
8561 (FP_INFINITE): Likewise.
8562 (FP_ZERO): Likewise.
8563 (FP_SUBNORMAL): Likewise.
8564 (FP_NORMAL): Likewise.
8566 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8568 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8569 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8572 2012-11-02 Roland McGrath <roland@hack.frob.com>
8574 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8575 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8576 autoconf-time if not.
8577 * configure.in: Remove AC_PREREQ.
8579 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8581 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8582 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8583 of the internal implementation.
8585 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8587 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8588 except include of <misc/sys/syslog.h>.
8590 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8593 function returns with a NULL context exit with zero.
8595 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8597 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8599 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8601 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8602 (run_program_cmd): This.
8603 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8604 (tst_langinfo): New variable. Use it.
8606 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8608 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8609 floating point opcodes.
8611 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8613 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8616 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8618 * sysdeps/mach/hurd/powerpc: Remove directory.
8619 * sysdeps/mach/powerpc: Likewise.
8621 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8623 * scripts/check-local-headers.sh: Ignore c++ headers.
8625 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8627 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8628 __libc_cleanup_region_start argument.
8630 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8635 x * y using scaling, not as x * y + z.
8636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8638 * math/libm-test.inc (fma_test): Add more tests.
8639 (fma_test_towardzero): Likewise.
8640 (fma_test_downward): Likewise.
8641 (fma_test_upward): Likewise.
8643 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8645 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8647 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8649 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8652 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8654 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8656 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8663 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8666 Fix the order of the list for glibc 2.17.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8670 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8674 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8678 for low part of x being zero before using __atanl (y).
8679 * math/libm-test.inc (atan2_test): Add another test.
8681 * manual/install.texi (Configuring and compiling): Document
8682 general use of test-wrapper and test-wrapper-env.
8683 * INSTALL: Regenerated.
8685 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8686 (__fma): Do not extract and scale down low bits on after-rounding
8687 systems when result rounded to normal precision would have normal
8689 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8690 (__fmal): Do not extract and scale down low bits on after-rounding
8691 systems when result rounded to normal precision would have normal
8693 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8694 (__fmal): Do not extract and scale down low bits on after-rounding
8695 systems when result rounded to normal precision would have normal
8697 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8699 (fma_test): Add more tests.
8700 (fma_test_towardzero): Likewise.
8701 (fma_test_downward): Likewise.
8702 (fma_test_upward): Likewise.
8704 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/i386/tininess.h: Renamed to ...
8707 * sysdeps/x86/tininess.h: This.
8708 * sysdeps/x86_64/tininess.h: Removed.
8710 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8712 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8713 input. Use $(build-program-cmd).
8714 ($(objpfx)tst-array1-static.out): Likewise.
8715 ($(objpfx)tst-array2.out): Likewise.
8716 ($(objpfx)tst-array3.out): Likewise.
8717 ($(objpfx)tst-array4.out): Likewise.
8718 ($(objpfx)tst-array5.out): Likewise.
8719 ($(objpfx)tst-array5-static.out): Likewise.
8721 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8723 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8726 * nss/nsswitch.h (nss_interface_function): Provide new
8727 macro for use with NSS functions.
8728 * grp/initgroups.c: Use new macro.
8729 * nss/getXXbyYY.c: Likewise.
8730 * nss/getXXbyYY_r.c: Likewise.
8731 * nss/getXXent.c: Likewise.
8732 * nss/getXXent_r.c: Likewise.
8733 * sysdeps/posix/getaddrinfo.c: Likewise.
8735 2012-10-30 Andreas Jaeger <aj@suse.de>
8737 * po/ru.po: Update Russion translation from translation project.
8739 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8744 result and shift together with sticky bit instead of replicating
8745 round-to-nearest rounding.
8746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8748 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8749 missing underflow exceptions.
8750 (fma_test_towardzero): Add more tests.
8751 (fma_test_downward): Likewise.
8752 (fma_test_upward): Likewise.
8755 * sysdeps/generic/tininess.h: New file.
8756 * sysdeps/i386/tininess.h: Likewise.
8757 * sysdeps/sh/tininess.h: Likewise.
8758 * sysdeps/x86_64/tininess.h: Likewise.
8759 * stdlib/tst-strtod-underflow.c: Likewise.
8760 * stdlib/tst-tininess.c: Likewise.
8761 * stdlib/strtod_l.c: Include <tininess.h>.
8762 (round_and_return): Do not set errno for exact underflow cases.
8763 Force an underflow exception when setting errno for underflow.
8764 Determine underflow based on rounding to normal precision if
8765 TININESS_AFTER_ROUNDING.
8766 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8767 ERANGE for exact underflow cases.
8768 * stdlib/Makefile (tests): Add tst-tininess and
8769 tst-strtod-underflow.
8770 ($(objpfx)tst-tininess): Use $(link-libm).
8771 ($(objpfx)tst-strtod-underflow): Likewise.
8773 2012-10-30 Andreas Jaeger <aj@suse.de>
8776 * elf/Makefile (tests): Remove conditional for have-initfini-array
8777 since this is now always required and the variable does not exist
8779 (tests-static): Likewise.
8780 (modules-names): Likewise.
8782 * po/eo.po: Add Esperanto translation from translation project.
8784 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8785 merged with constructor/destructor.
8786 (init_array): Likewise.
8787 * elf/tst-array2dep.c (fini_array): Likewise.
8788 (init_array): Likewise.
8790 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8792 * manual/message.texi: Delete @cartouche tags.
8794 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8796 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8798 * sysdeps/mach/hurd/fsync.c: Likewise.
8800 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8801 [_POSIX_REALTIME_SIGNALS]: Change condition to
8802 [_POSIX_REALTIME_SIGNALS > 0].
8804 2012-10-27 Andreas Jaeger <aj@suse.de>
8806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8807 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8809 [__WORDSIZE != 64]: Likewise.
8811 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8813 * iconvdata/tst-table.sh: Remove ${SHELL}.
8814 * iconvdata/tst-tables.sh: Likewise.
8816 2012-10-25 David S. Miller <davem@davemloft.net>
8818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8819 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8824 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8825 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8826 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8829 2012-10-25 Roland McGrath <roland@hack.frob.com>
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8832 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8835 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8836 Jim Blandy <jimb@codesourcery.com>
8838 * scripts/cross-test-ssh.sh: New file.
8839 * manual/install.texi (Configuring and compiling): Document use of
8841 * INSTALL: Regenerated.
8843 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8845 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8848 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8850 * Makeconfig (run-program-prefix): Fix comment.
8852 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8853 Jim Blandy <jimb@codesourcery.com>
8855 * Makeconfig (test-wrapper): New variable,
8856 (test-wrapper-env): Likewise.
8857 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8858 (run-built-tests): Define to yes.
8859 (run-program-prefix): Use $(test-wrapper).
8860 (built-program-cmd): Likewise.
8861 * Rules (make-test-out): Use $(test-wrapper-env) and
8862 $(host-built-program-cmd).
8863 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8864 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8866 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8867 $(test-wrapper-env) to tst-rtld-load-self.sh.
8868 ($(objpfx)order2.out): Use $(test-wrapper).
8869 ($(objpfx)tst-initorder.out): Likewise.
8870 ($(objpfx)tst-initorder2.out): Likewise.
8871 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8872 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8873 (test_wrapper_env): New variable. Use it to run ld.so.
8874 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8875 Use it to run ld.so.
8876 (test_wrapper_env): Likewise.
8877 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8878 $(test-wrapper) to run-iconv-test.sh.
8879 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8880 (ICONV): Use $test_wrapper.
8881 * posix/Makefile ($(objpfx)globtest.out): Pass
8882 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8883 globtest.sh, not $(run-program-prefix).
8884 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8885 (test_wrapper): Likewise.
8886 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8887 set together with run_via_rtld_prefix.
8888 (run_program_prefix): Define in terms of test_wrapper and
8889 run_via_rtld_prefix.
8891 2012-10-24 Roland McGrath <roland@hack.frob.com>
8893 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8894 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8898 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8899 Declare __clock_getres, __clock_gettime, __clock_settime,
8900 __clock_nanosleep, and __clock_getcpuclockid.
8901 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8902 Remove librt_hidden_def (clock_gettime).
8903 * sysdeps/unix/clock_gettime.c: Likewise.
8904 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8906 * rt/clock_getres.c: Define __clock_getres as an alias.
8907 * sysdeps/posix/clock_getres.c: Likewise.
8908 * rt/clock_settime.c: Define __clock_settime as an alias.
8909 * sysdeps/unix/clock_settime.c: Likewise.
8910 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8911 * sysdeps/unix/clock_nanosleep.c: Likewise.
8912 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8913 * rt/clock-compat.c: New file.
8914 * rt/Makefile (librt-routines): Add clock-compat and move
8915 $(clock-routines) to ...
8916 (routines): ... here, new variable.
8917 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8918 Don't add get_clockfreq here.
8919 * rt/Versions (libc: GLIBC_2.17): New version set.
8920 Add clock_* symbols here.
8921 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8923 (GLIBC_2.17): Add clock_* symbols.
8924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8935 * NEWS: Mention the move.
8937 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8938 Use __open, __read, __close rather than their public counterparts.
8939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8940 (__get_clockfreq_via_cpuinfo): Likewise.
8941 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8942 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8944 * config.h.in (HAVE_IFUNC): New #undef.
8945 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8947 * configure: Regenerated.
8949 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8951 * configure.in: Move READELF check to start of file.
8952 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8953 libc_cv_asm_gnu_indirect_function in the process.
8954 * configure: Regenerated.
8956 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8958 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8959 send the output to /dev/null.
8960 (libc_cv_cc_with_libunwind): Likewise.
8961 (libc_cv_as_noexecstack): Likewise.
8962 * configure: Regenerate.
8964 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8966 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8968 * posix/globtest.sh (TMPDIR): Do not set.
8969 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8970 (testout): Likewise.
8972 2012-10-24 Andreas Jaeger <aj@suse.de>
8974 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8975 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8976 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8977 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8978 posix_fadvise64, posix_fallocate64.
8980 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8981 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8982 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8984 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8986 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8989 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8990 <bits/fcntl-linux.h>.
8991 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8994 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8995 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8996 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8997 [__WORDSIZE != 64]: Likewise.
8999 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9001 * Makeconfig (run-built-tests): New variable.
9002 * Rules [$(cross-compiling) = yes]: Change condition to
9003 [$(run-built-tests) = no].
9004 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9005 to [$(run-built-tests) = yes].
9006 * elf/Makefile [$(cross-compiling) = no]: Likewise
9007 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9008 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9009 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9010 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9011 * io/Makefile [$(cross-compiling) = no]: Likewise.
9012 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9013 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9014 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9015 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9016 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9017 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9018 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9019 * string/Makefile [$(cross-compiling) = no]: Likewise.
9021 * posix/Makefile ($(objpfx)globtest.out): Pass
9022 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9023 $(rtld-installed-name).
9024 * posix/globtest.sh (elf_objpfx): Remove variable.
9025 (rtld_installed_name): Likewise.
9026 (library_path): Likewise.
9027 (run_program_prefix): New variable. Use for running globtest
9030 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9031 Joseph Myers <joseph@codesourcery.com>
9033 * Makeconfig (host-built-program-cmd): New variable.
9034 * elf/Makefile (tst-stackguard1-ARGS): Use
9035 $(host-built-program-cmd).
9036 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9037 (tst-spawn-ARGS): Likewise.
9038 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9040 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9041 Jim Blandy <jimb@codesourcery.com>
9043 * Makeconfig (run-via-rtld-prefix): New variable.
9044 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9045 (built-program-cmd): Likewise.
9047 2012-10-22 Andreas Jaeger <aj@suse.de>
9049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9050 __O_RSYNC if it exists, otherwise to O_SYNC.
9052 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9053 Joseph Myers <joseph@codesourcery.com>
9055 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9057 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9059 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9062 2012-10-22 Andreas Jaeger <aj@suse.de>
9064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9072 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9079 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9080 Joseph Myers <joseph@codesourcery.com>
9082 * config.make.in (NM): New variable.
9084 2012-10-21 Andreas Jaeger <aj@suse.de>
9086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9087 definitions and declarations that are provided by
9088 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9090 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9093 * elf/Makefile (tests-static): Add tst-leaks1-static.
9094 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9095 ($(objpfx)tst-leaks1-static): New rule.
9096 ($(objpfx)tst-leaks1-static-mem): Likewise.
9097 (tst-leaks1-static-ENV): New macro.
9098 * elf/dl-open.c (dl_open_worker): Check the main application
9099 only if SHARED is defined.
9100 * elf/tst-leaks1-static.c: New file.
9102 2012-10-20 Andreas Jaeger <aj@suse.de>
9104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9105 generic values for Linux.
9106 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9107 and declarations that are provided by <bits/fcntl-linux.h> and
9108 include <bits/fcntl-linux.h>.
9109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9112 2012-10-20 Roland McGrath <roland@hack.frob.com>
9114 * io/fcntl.h: Move include of <bits/types.h> to the top and
9115 include it unconditionally.
9117 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9119 * wcsmbs/Makefile (tests-ifunc): New variable.
9120 (tests): Add $(tests-ifunc).
9121 * wcsmbs/test-wcschr-ifunc.c: New file.
9122 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9123 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9124 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9125 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9126 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9128 * string/Makefile (tests-ifunc): New variable.
9129 (tests): Add $(tests-ifunc).
9130 * string/test-memccpy.c (TEST_NAME): New macro.
9131 * string/test-memchr.c (TEST_NAME): Likewise.
9132 * string/test-memcmp.c (TEST_NAME): Likewise.
9133 * string/test-memcpy.c (TEST_NAME): Likewise.
9134 * string/test-memmem.c (TEST_NAME): Likewise.
9135 * string/test-memmove.c (TEST_NAME): Likewise.
9136 * string/test-memset.c (TEST_NAME): Likewise.
9137 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9138 * string/test-stpcpy.c (TEST_NAME): Likewise.
9139 * string/test-stpncpy.c (TEST_NAME): Likewise.
9140 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9141 * string/test-strcasestr.c (TEST_NAME): Likewise.
9142 * string/test-strcat.c (TEST_NAME): Likewise.
9143 * string/test-strchr.c (TEST_NAME): Likewise.
9144 * string/test-strcmp.c(TEST_NAME): Likewise.
9145 * string/test-strcpy.c (TEST_NAME): Likewise.
9146 * string/test-strcspn.c (TEST_NAME): Likewise.
9147 * string/test-strlen.c (TEST_NAME): Likewise.
9148 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9149 * string/test-strncmp.c (TEST_NAME): Likewise.
9150 * string/test-strncpy.c (TEST_NAME): Likewise.
9151 * string/test-strnlen.c (TEST_NAME): Likewise.
9152 * string/test-strpbrk.c (TEST_NAME): Likewise.
9153 * string/test-strrchr.c (TEST_NAME): Likewise.
9154 * string/test-strspn.c (TEST_NAME): Likewise.
9155 * string/test-strstr.c (TEST_NAME): Likewise.
9156 * string/test-bcopy-ifunc.c: New file.
9157 * string/test-bzero-ifunc.c: Likewise.
9158 * string/test-memccpy-ifunc.c: Likewise.
9159 * string/test-memchr-ifunc.c: Likewise.
9160 * string/test-memcmp-ifunc.c: Likewise.
9161 * string/test-memcpy-ifunc.c: Likewise.
9162 * string/test-memmem-ifunc.c: Likewise.
9163 * string/test-memmove-ifunc.c: Likewise.
9164 * string/test-mempcpy-ifunc.c: Likewise.
9165 * string/test-memset-ifunc.c: Likewise.
9166 * string/test-rawmemchr-ifunc.c: Likewise.
9167 * string/test-stpcpy-ifunc.c: Likewise.
9168 * string/test-stpncpy-ifunc.c: Likewise.
9169 * string/test-strcasecmp-ifunc.c: Likewise.
9170 * string/test-strcasestr-ifunc.c: Likewise.
9171 * string/test-strcat-ifunc.c: Likewise.
9172 * string/test-strchr-ifunc.c: Likewise.
9173 * string/test-strchrnul-ifunc.c: Likewise.
9174 * string/test-strcmp-ifunc.c: Likewise.
9175 * string/test-strcpy-ifunc.c: Likewise.
9176 * string/test-strcspn-ifunc.c: Likewise.
9177 * string/test-strlen-ifunc.c: Likewise.
9178 * string/test-strncasecmp-ifunc.c: Likewise.
9179 * string/test-strncat-ifunc.c: Likewise.
9180 * string/test-strncmp-ifunc.c: Likewise.
9181 * string/test-strncpy-ifunc.c: Likewise.
9182 * string/test-strnlen-ifunc.c: Likewise.
9183 * string/test-strpbrk-ifunc.c: Likewise.
9184 * string/test-strrchr-ifunc.c: Likewise.
9185 * string/test-strspn-ifunc.c: Likewise.
9186 * string/test-strstr-ifunc.c: Likewise.
9188 * debug/Makefile (tests-ifunc): New variable.
9189 (tests): Add $(tests-ifunc).
9190 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9191 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9192 * debug/test-stpcpy_chk-ifunc.c: New file.
9193 * debug/test-strcpy_chk-ifunc.c: Likewise.
9195 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9198 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9199 header is not read in.
9201 2012-10-19 Joseph Myers <joseph@codesourcery.com>
9203 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9204 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9205 directly. Pass built executable to script as
9206 $(built-program-cmd).
9207 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9208 $testprogram without using LD_LIBRARY_PATH and $ldso.
9210 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9211 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9212 $(rtld-installed-name).
9213 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9214 (rtld_installed_name): Likewise.
9215 (library_path): Likewise.
9216 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9217 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9218 $(run-program-prefix) to tst-tables.sh.
9219 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9220 it to run tst-table-from and tst-table-to.
9221 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9222 Pass it to tst-table.sh.
9223 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9224 $(run-program-prefix) to tst-gettext.sh.
9225 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9227 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9229 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9231 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9232 to run tst-gettext2.
9233 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9234 to run tst-translit.
9235 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9236 $(run-program-prefix) to tst-mtrace.sh.
9237 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9239 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9240 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9241 $(rtld-installed-name).
9242 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9243 (rtld_installed_name): Likewise.
9244 (run_program_prefix): New variable. Use it to run wordexp-test.
9246 * Makeconfig (ARCH): Remove all definitions.
9247 (machine): Likewise.
9248 [ARCH]: Remove conditional code.
9249 [!objdir]: Give error.
9250 [!objdir] (objpfx): Remove.
9251 [!objdir] (common-objpfx): Likewise.
9252 [!objdir] (common-objdir): Likewise.
9253 * configure.in (config_makefile): Remove. Hardcode Makefile in
9254 AC_CONFIG_FILES call.
9255 * configure: Regenerated.
9258 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9260 (testout): Likewise.
9262 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9263 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9264 $(rtld-installed-name).
9265 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9266 (rtld_installed_name): Likwise.
9267 (runit): Remove function.
9268 (run_getconf): New variable, Use it for running getconf binary.
9270 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9273 * string/test-memmem.c (check_result): New function.
9274 (do_one_test): Use it.
9275 (check1): New function.
9276 (test_main): Use it.
9278 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9280 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9282 2012-10-18 Joseph Myers <joseph@codesourcery.com>
9284 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9285 (_G_LSEEK64): Likewise.
9286 (_G_MMAP64): Likewise.
9287 (_G_FSTAT64): Likewise.
9288 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9289 (_G_LSEEK64): Likewise.
9290 (_G_MMAP64): Likewise.
9291 (_G_FSTAT64): Likewise.
9292 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9293 unconditional. Call __mmap64 directly.
9294 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9295 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9297 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9298 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9300 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9301 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9303 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9304 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9306 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9307 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9309 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9310 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9311 __fxstat64 directly.
9312 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9313 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9315 (freopen64) [!_G_OPEN64]: Remove conditional code.
9316 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9318 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9319 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9321 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9322 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9324 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9325 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9327 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9328 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9330 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9331 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9333 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9334 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9336 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9338 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9341 * manual/memory.texi (Malloc Tunable Parameters): Add note
9342 about free list pointers overwriting some perturb bytes.
9343 Wording suggested by Roland McGrath.
9345 2012-10-17 Joseph Myers <joseph@codesourcery.com>
9347 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9348 (lgamma_test): Likewise.
9349 (tgamma_test): Likewise.
9351 2012-10-16 Florian Weimer <fweimer@redhat.com>
9354 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9355 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9357 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9359 * NEWS: Mention BZ #14716.
9360 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9361 when removing AVAILABLE1_USES_J macro.
9363 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9365 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9366 (__bswap_64): __uint64_t for unsigned 64-bit int.
9368 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9370 * include/string.h (memmem): Declare libc hidden alias.
9371 * string/memmem.c (memmem): Define libc hidden alias.
9372 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9373 __read, __close instead of open, read, close.
9375 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9378 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9380 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9381 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9382 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9384 (__rawmemchr_sse2): Likewise.
9385 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9386 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9387 (__strchr_sse2): Likewise.
9388 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9389 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9390 (__strcasecmp_sse2): Likewise.
9391 (__strncasecmp_sse2): Likewise.
9392 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9393 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9394 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9395 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9396 (__strrchr_sse2): Likewise.
9397 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9399 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9400 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9401 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9403 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9405 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9407 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9408 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9409 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9410 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9411 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9412 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9413 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9414 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9415 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9416 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9417 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9418 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9419 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9420 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9421 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9422 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9423 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9425 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9426 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9427 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9428 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9430 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9432 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9433 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9434 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9435 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9437 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9439 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9440 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9441 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9442 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9444 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9445 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9446 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9447 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9448 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9449 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9450 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9451 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9452 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9453 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9454 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9455 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9456 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9457 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9458 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9460 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9461 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9462 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9463 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9465 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9466 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9467 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9469 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9470 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9471 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9472 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9473 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9474 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9475 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9476 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9477 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9478 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9479 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9480 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9481 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9482 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9483 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9484 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9486 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9487 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9488 * include/ifunc-impl-list.h: New file.
9489 * misc/ifunc-impl-list.c: Likewise.
9490 * misc/Makefile (routines): Add ifunc-impl-list.
9491 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9492 * string/test-string.h: Include <ifunc-impl-list.h>.
9493 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9494 impl_array): New variables.
9495 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9497 (test_init): Call __libc_ifunc_impl_list to initialize
9498 func_list if TEST_IFUNC and TEST_NAME are defined.
9500 * string/Makefile (strop-tests): Add bcopy and bzero.
9501 * string/test-bcopy.c: New file.
9502 * string/test-bzero.c: Likewise.
9503 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9505 * string/test-memset.c: Support bzero test if TEST_BZERO is
9507 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9509 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9511 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9514 2012-10-10 Joseph Myers <joseph@codesourcery.com>
9516 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9517 * configure: Regenerated.
9519 * Makeconfig (+link-static-before-libc): Don't include
9520 $(link-static-libc).
9522 * libio/libio.h (_IO_pos_t): Remove.
9524 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9526 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9529 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9531 * crypt/crypt-entry.c: Include fips-private.h.
9532 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9533 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9534 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9535 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9537 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9539 * crypt/crypt-private.h: Include stdbool.h.
9540 (_ufc_setup_salt_r): Return bool.
9541 * crypt/crypt-entry.c: Include errno.h.
9542 (__crypt_r): Return NULL with EINVAL for bad salt.
9543 * crypt/crypt_util.c (bad_for_salt): New.
9544 (_ufc_setup_salt_r): Check that salt is long enough and within
9545 the specified alphabet.
9546 * crypt/badsalttest.c: New file.
9547 * crypt/Makefile (tests): Add it.
9548 ($(objpfx)badsalttest): New.
9550 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9552 * NEWS: Add entry for BZ #14602.
9554 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9556 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9558 * math/libm-test.inc: Update comment listing what functions and
9560 (isgreater_test): New function.
9561 (isgreaterequal_test): Likewise.
9562 (isless_test): Likewise.
9563 (islessequal_test): Likewise.
9564 (islessgreater_test): Likewise.
9565 (isunordered_test): Likewise.
9566 (main): Call the new functions.
9568 2012-10-09 Roland McGrath <roland@hack.frob.com>
9570 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9571 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9572 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9573 * sysdeps/i386/configure: Regenerated.
9574 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9575 * sysdeps/mach/configure: Regenerated.
9576 * sysdeps/mach/hurd/configure: Regenerated.
9577 * sysdeps/powerpc/configure: Regenerated.
9578 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9579 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9580 * sysdeps/s390/s390-32/configure: Regenerated.
9581 * sysdeps/s390/s390-64/configure: Regenerated.
9582 * sysdeps/sh/configure: Regenerated.
9583 * sysdeps/sparc/configure: Regenerated.
9584 * sysdeps/unix/sysv/linux/configure: Regenerated.
9585 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9586 * sysdeps/x86_64/configure: Regenerated.
9588 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9589 defined. Don't check if MAP is NULL.
9591 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9593 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9594 (_G_stat64): Likewise.
9595 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9596 (_G_stat64): Likewise.
9597 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9598 instead of struct _G_stat64.
9599 * libio/fileops.c (mmap_remap_check): Likewise.
9600 (decide_maybe_mmap): Likewise.
9601 (_IO_new_file_seekoff): Likewise.
9602 (_IO_file_stat): Likewise.
9603 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9605 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9606 instead of struct _G_stat64.
9607 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9609 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9612 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9614 (CHECK_EOL): New macro.
9615 (two_way_short_needle): Check beginning of haystack for EOL. Use
9617 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9618 Replace with CHECK_EOL.
9619 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9620 Replace with CHECK_EOL.
9622 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9624 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9626 * math/libm-test.inc: Update comment listing what functions and
9628 (finite_test): New function.
9629 (isinf_test): Likewise.
9630 (isnan_test): Likewise.
9631 (fpclassify_test): Test subnormal input.
9632 (isfinite_test): Likewise.
9633 (isnormal_test): Likewise.
9634 (main): Call the new functions.
9636 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9639 * Makerules (%.dynsym): Force C locale when running
9640 $(OBJDUMP) --dynamic-syms.
9642 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9644 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9647 2012-10-06 David S. Miller <davem@davemloft.net>
9649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9650 upper 32-bits of the length value in %o2 since we use branch-on-register
9651 tests which consider the entire 64-bit register.
9653 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9655 * string/test-strstr.c (check2): Add a test for page boundary.
9657 2012-10-05 David S. Miller <davem@davemloft.net>
9659 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9662 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9664 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9665 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9666 and bzero when HWCAP_SPARC_CRYPTO is present.
9668 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9671 * string/test-strstr.c (check2): New function.
9672 (test_main): Call check2.
9674 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9676 * string/bug-strcasestr1.c (do_test): Moved to ...
9677 * string/test-strcasestr.c (check1): Here. New function.
9678 (do_one_test): Break out result checking code into ...
9679 (check_result): This. New function.
9680 (do_one_test): Call check_result.
9681 (test_main): Call check1.
9682 * string/bug-strchr1.c (do_test): Moved to ...
9683 * string/test-strchr.c (check1): Here. New function.
9684 (do_one_test): Break out result checking code into ...
9685 (check_result): This. New function.
9686 (do_one_test): Call check_result.
9687 (test_main): Call check1.
9688 * string/bug-strstr1.c (main): Moved to ...
9689 * string/test-strstr.c (check1): Here. New function.
9690 (do_one_test): Break out result checking code into ...
9691 (check_result): This. New function.
9692 (do_one_test): Call check_result.
9693 (test_main): Call check1.
9694 * string/bug-strcasestr1.c: Removed.
9695 * string/bug-strchr1.c: Likewise.
9696 * string/bug-strstr1.c: Likewise.
9698 * elf/Makefile (dl-routines): Add hwcaps.
9699 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9700 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9701 (_dl_important_hwcaps): Moved to ...
9702 * elf/dl-hwcaps.c: Here. New file.
9703 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9706 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9707 if IS_IN_rtld isn't defined.
9709 * elf/dl-support.c (_dl_sysinfo_map): New.
9710 Include "get-dynamic-info.h" and "setup-vdso.h".
9711 (_dl_non_dynamic_init): Call setup_vdso.
9712 * elf/dynamic-link.h: Don't include <assert.h>.
9713 (elf_get_dynamic_info): Moved to ...
9714 * elf/get-dynamic-info.h: Here. New file.
9715 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9716 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9717 * elf/setup-vdso.h: Here. New file.
9718 * elf/rtld.c: Include "setup-vdso.h".
9719 (dl_main): Call setup_vdso.
9721 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9723 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9724 creal in comment listing functions tested. List finite, isinf,
9725 isnan, isless, islessequal, isgreater, isgreaterequal,
9726 islessgreater, isunordered, lgamma_r and pow10 as functions and
9727 macros not tested. Mention which functions not tested are aliases
9728 for other functions. Fix typo. Note that signs of NaNs are not
9731 * scripts/config.guess: Update from config.git.
9732 * scripts/config.sub: Likewise.
9734 2012-10-04 Roland McGrath <roland@hack.frob.com>
9736 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9737 * misc/madvise.c (madvise): Renamed to __madvise.
9738 Make madvise a weak alias.
9739 * include/sys/mman.h: Declare __madvise.
9740 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9741 * sysdeps/unix/syscalls.list
9742 (madvise): Make __madvise the strong name, and madvise a weak alias.
9743 * sysdeps/unix/sysv/linux/syscalls.list
9744 (madvise, mmap): Remove redundant entries.
9745 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9746 * malloc/malloc.c (mtrim): Likewise.
9747 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9749 2012-10-03 Roland McGrath <roland@hack.frob.com>
9751 * sysdeps/mach/hurd/dl-cache.c: File removed.
9752 * config.h.in (USE_LDCONFIG): New #undef.
9753 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9754 * configure: Regenerated.
9755 * elf/Makefile (dl-routines): Add dl-cache only under
9756 [$(use-ldconfig) = yes].
9757 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9758 cache on [USE_LDCONFIG].
9759 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9761 * elf/rtld.c (dl_main): Likewise.
9763 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9765 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9766 _SC_LEVEL4_CACHE_LINESIZE.
9768 2012-10-03 Roland McGrath <roland@hack.frob.com>
9770 * sysdeps/unix/bsd/confstr.h: File removed.
9772 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9774 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9777 2012-10-02 Roland McGrath <roland@hack.frob.com>
9779 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9780 Make 'mapoff' field ElfW(Off) rather than off_t.
9782 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9784 * nscd/Makefile: Remove nscd-cflags and all its users.
9785 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9786 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9789 * malloc.c (malloc_printerr): Clarify error message.
9791 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9795 Set bit_FMA_Usable if FMA is supported.
9796 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9798 (bit_FMA4_Usable): Updated.
9799 (index_FMA_Usable): New macro.
9800 (CPUID_FMA): Likewise
9801 (HAS_FMA): Defined with bit_FMA_Usable.
9803 2012-10-01 Roland McGrath <roland@hack.frob.com>
9805 * bits/types.h (__swblk_t): Type removed.
9806 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9807 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9809 (__SWBLK_T_TYPE): Likewise.
9810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9811 (__SWBLK_T_TYPE): Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9813 (__SWBLK_T_TYPE): Likewise.
9814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9815 (__SWBLK_T_TYPE): Likewise.
9817 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9818 Honza Horak <hhorak@redhat.com>
9820 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9821 (xdr_mapname): Use YPMAXMAP as maxsize.
9822 (xdr_peername): Use YPMAXPEER as maxsize.
9823 (xdr_keydat): Use YPAXRECORD as maxsize.
9824 (xdr_valdat): Use YPMAXRECORD as maxsize.
9826 2012-10-01 Roland McGrath <roland@hack.frob.com>
9828 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9830 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9831 * csu/init-first.c: ... here.
9832 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9833 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9834 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9835 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9836 * sysdeps/i386/init-first.c: File removed.
9837 * sysdeps/sh/init-first.c: File removed.
9839 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9843 if x * y might underflow to zero and z is zero.
9844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9846 * math/libm-test.inc (min_subnorm_value): New variable.
9847 (fma_test): Add more tests.
9848 (fma_test_towardzero): Likewise.
9849 (fma_test_downward): Likewise
9850 (fma_test_upward): Likewise.
9851 (initialize): Set min_subnorm_value.
9853 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9859 mode for addition resulting in exact zero.
9860 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9863 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9865 * math/libm-test.inc (fma_test): Add more tests.
9866 (fma_test_towardzero): New function.
9867 (fma_test_downward): Likewise.
9868 (fma_test_upward): Likewise.
9869 (main): Call the new functions.
9871 2012-09-28 David S. Miller <davem@davemloft.net>
9873 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9875 2012-09-28 Roland McGrath <roland@hack.frob.com>
9877 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9880 * sysdeps/gnu/_G_config.h: Moved to ...
9881 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9882 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9883 * sysdeps/generic/_G_config.h: ... here.
9885 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9887 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9889 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9890 Conditionalize target on [libnss_test1.so-version].
9892 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9894 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9895 (elfobjdir): Move out of conditionals.
9897 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9898 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9899 (__nss_lookup_function): Conditionalize label remove_from_tree on
9900 [!DO_STATIC_NSS || SHARED], matching its only use.
9902 2012-09-28 David S. Miller <davem@davemloft.net>
9904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9905 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9907 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9909 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9911 when HWCAP_SPARC_CRYPTO is present.
9913 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9915 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9917 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9920 * stdio-common/vfprintf.c (process_string_arg): Revert
9923 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9925 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9927 * stdio-common/tst-sprintf.c: Include <locale.h>
9928 (main): Test sprintf's handling of incomplete multibyte
9931 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9933 * elf/dl-runtime.c (VERSYMIDX): Removed.
9934 * elf/dl-version.c (VERSYMIDX): Likewise.
9935 * elf/do-rel.h (VERSYMIDX): Likewise.
9937 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9938 * elf/rtld.c (VALIDX): Likewise.
9939 (ADDRIDX): Likewise.
9940 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9941 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9942 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9943 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9945 (ADDRIDX): Likewise.
9947 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9949 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9951 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9954 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9956 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9957 addresses are in the same scope as 192.0.2/24.
9958 * posix/gai.conf: Document new scope table defaults.
9960 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9963 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9964 for ftell. Compute offsets from write pointers instead.
9965 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9967 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9970 * libio/Makefile (tests): New test case tst-fseek.
9971 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9972 combination works in wide mode.
9973 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9974 state when the external buffer state changes.
9976 2012-09-27 David S. Miller <davem@davemloft.net>
9979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9980 pass reloc->r_addend in as the 'high' argument to
9981 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9985 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9987 * rt/tst-aio2.c: Include <pthread.h>.
9988 * rt/tst-aio3.c: Likewise.
9990 2012-09-27 Steve Ellcey <sellcey@mips.com>
9992 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9994 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9996 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9997 contents on [SHARED].
9999 2012-09-26 Marek Polacek <polacek@redhat.com>
10003 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10004 for C++ and GCC <4.3 as well as for non GCC compilers.
10006 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10010 2012-09-25 Roland McGrath <roland@hack.frob.com>
10012 * Makefile.in (all, install): Declare with .PHONY.
10013 Reported by Michael Hope <michael.hope@linaro.org>.
10015 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10017 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10018 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10020 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10022 (sydep_routines): Add the new and the internal functions.
10023 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10024 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10026 (GLIBC_2.17): Add the new function.
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10028 (GLIBC_2.17): Likewise.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10030 (GLIBC_2.17): Likewise.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10032 (GLIBC_2.17): Likewise.
10033 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10035 2012-09-25 Alan Modra <amodra@gmail.com>
10037 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10038 Add release barrier before setting once_control to say
10039 initialisation is done. Add hints on lwarx. Use macro in
10041 (clear_once_control): Add release barrier.
10043 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10046 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10048 * math/s_clog10.c (__clog10): Likewise.
10049 * math/s_clog10f.c (__clog10f): Likewise.
10050 * math/s_clog10l.c (__clog10l): Likewise.
10051 * math/s_clogf.c (__clogf): Likewise.
10052 * math/s_clogl.c (__clogl): Likewise.
10053 * math/Makefile (libm-calls): Add x2y2m1.
10054 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10055 (__x2y2m1): Likewise.
10056 (__x2y2m1l): Likewise.
10057 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10058 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10061 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10062 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10063 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10064 * sysdeps/i386/fpu/libm-test-ulps: Update.
10065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10068 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10069 int as type of variable DEPTH.
10070 (glob): Use size_t instead of int as type of variables NEWCOUNT
10073 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10075 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10076 Add s_sincosf-sse2.
10077 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10078 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10079 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10080 macros for using routine as __sincosf_ia32.
10081 Use macro for function declaration and weak_alias.
10082 * sysdeps/i386/fpu/libm-test-ulps: Update.
10084 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10087 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10088 subnormal argument.
10089 * math/s_cexpf.c (__cexpf): Likewise.
10090 * math/s_csinf.c (__csinf): Likewise.
10091 * math/s_csinhf.c (__csinhf): Likewise.
10092 * math/s_ctanf.c (__ctanf): Likewise.
10093 * math/s_ctanhf.c (__ctanhf): Likewise.
10094 * math/s_ccosh.c (__ccoshf): Likewise.
10095 * math/s_cexp.c (__cexpl): Likewise.
10096 * math/s_csin.c (__csin): Likewise.
10097 * math/s_csinh.c (__csinh): Likewise.
10098 * math/s_ctan.c (__ctan): Likewise.
10099 * math/s_ctanh.c (ctanh): Likewise.
10100 * math/s_ccoshl.c (__ccoshl): Likewise.
10101 * math/s_cexpl.c (__cexpl): Likewise.
10102 * math/s_csinl.c (__csinl): Likewise.
10103 * math/s_csinhl.c (__csinhl): Likewise.
10104 * math/s_ctanl.c (__ctanl): Likewise.
10105 * math/s_ctanhl.c (__ctanhl): Likewise.
10107 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10109 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10110 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10111 (_IO_off_t): Define to __off_t, not _G_off_t.
10112 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10113 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10114 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10115 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10116 type of __dummy and __dummy2 fields.
10117 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10118 (_G_ssize_t): Likewise.
10119 (_G_off_t): Likewise.
10120 (_G_pid_t): Likewise.
10121 (_G_uid_t): Likewise.
10122 (_G_wchar_t): Likewise.
10123 (_G_wint_t): Likewise.
10124 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10125 (_G_ssize_t): Likewise.
10126 (_G_off_t): Likewise.
10127 (_G_pid_t): Likewise.
10128 (_G_uid_t): Likewise.
10129 (_G_wchar_t): Likewise.
10130 (_G_wint_t): Likewise.
10131 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10132 (_G_ssize_t): Likewise.
10133 (_G_off_t): Likewise.
10134 (_G_pid_t): Likewise.
10135 (_G_uid_t): Likewise.
10136 (_G_wchar_t): Likewise.
10137 (_G_wint_t): Likewise.
10139 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10141 * malloc/arena.c: Include malloc-sysdep.h.
10142 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10143 is sufficient to shrink the heap or an unmap is needed.
10144 * sysdeps/generic/malloc-sysdep.h: New file. Define
10145 new function check_may_shrink_heap.
10146 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10147 new function check_may_shrink_heap.
10149 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10151 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10154 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10156 * catgets/test-gencat.sh: Add "set -e".
10157 * elf/tst-pathopt.sh: Likewise.
10158 * grp/tst_fgetgrent.sh: Likewise.
10159 * iconvdata/run-iconv-test.sh: Likewise.
10160 * intl/tst-gettext.sh: Likewise.
10161 * intl/tst-gettext2.sh: Likewise.
10162 * intl/tst-gettext4.sh: Likewise.
10163 * intl/tst-gettext6.sh: Likewise.
10164 * intl/tst-translit.sh: Likewise.
10165 * io/ftwtest-sh: Likewise.
10166 * libio/test-freopen.sh: Likewise.
10167 * malloc/tst-mtrace.sh: Likewise.
10168 * posix/globtest.sh: Likewise.
10169 * posix/tst-getconf.sh: Likewise.
10170 * posix/wordexp-tst.sh: Likewise.
10171 * stdio-common/tst-printf.sh: Likewise.
10172 * stdio-common/tst-unbputc.sh: Likewise.
10173 * stdlib/tst-fmtmsg.sh: Likewise.
10174 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10175 * catgets/Makefile: Do not specify -e option when running
10176 testsuite shell scripts.
10177 * elf/Makefile: Likewise.
10178 * grp/Makefile: Likewise.
10179 * iconvdata/Makefile: Likewise.
10180 * intl/Makefile: Likewise.
10181 * io/Makefile: Likewise.
10182 * libio/Makefile: Likewise.
10183 * malloc/Makefile: Likewise.
10184 * posix/Makefile: Likewise.
10185 * stdio-common/Makefile: Likewise.
10186 * stdlib/Makefile: Likewise.
10187 * sysdeps/x86_64/Makefile: Likewise.
10189 * io/ftwtest-sh: Add copyright header.
10190 * posix/globtest.sh: Likewise.
10191 * posix/tst-getconf.sh: Likewise.
10192 * posix/wordexp-tst.sh: Likewise.
10193 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10195 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10198 * Makeconfig (+link): Defined as $(+link-static) if
10199 $(build-shared) isn't yes.
10200 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10202 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10204 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10207 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10208 new chunk size with MALLOC_ALIGN_MASK.
10210 2012-09-24 Joseph Myers <joseph@codesourcery.com>
10213 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10215 (__printf_fphex): Determine rounding using get_rounding_mode and
10217 * stdio-common/tst-printf-round.c (struct hex_test): New
10219 (hex_tests): New variable.
10220 (test_hex_in_one_mode): New function.
10221 (do_test): Also run tests for hex float output.
10223 2012-09-21 Joseph Myers <joseph@codesourcery.com>
10225 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10226 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10227 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10228 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10229 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10230 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10231 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10234 2012-09-20 Joseph Myers <joseph@codesourcery.com>
10236 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10237 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10238 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10239 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10241 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10244 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10246 * elf/tst-rtld-load-self.sh: New test.
10247 * elf/Makefile: Run it.
10249 2012-09-18 Joseph Myers <joseph@codesourcery.com>
10251 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10252 (tst-writev-ENV): Remove.
10253 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10255 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10257 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10259 2012-09-17 Joseph Myers <joseph@codesourcery.com>
10261 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10263 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10265 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10266 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10270 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10273 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10274 * config.make.in (have-cpp-asm-debuginfo): Removed.
10275 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10276 * configure: Regenerated.
10278 2012-09-14 Joseph Myers <joseph@codesourcery.com>
10281 * stdio-common/printf_fp.c: Include <stdbool.h> and
10283 (___printf_fp): Determine rounding using get_rounding_mode and
10285 * stdio-common/tst-printf-round.c: New file.
10286 * stdio-common/Makefile (tests): Add tst-printf-round.
10287 (link-libm): New variable.
10288 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10290 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10293 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10294 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10296 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10299 2012-09-13 Joseph Myers <joseph@codesourcery.com>
10301 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10302 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10303 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10304 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10306 2012-09-12 Joseph Myers <joseph@codesourcery.com>
10309 * include/rounding-mode.h: New file.
10310 * sysdeps/generic/get-rounding-mode.h: Likewise.
10311 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10312 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10313 (MAX_VALUE): New macro.
10314 (MIN_VALUE): Likewise.
10315 (overflow_value): New function.
10316 (underflow_value): Likewise.
10317 (round_and_return): Use overflow_value and underflow_value to
10318 determine return values in overflow and underflow cases. Use
10319 round_away to determine rounding depending on rounding mode.
10320 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10321 determine return values in overflow and underflow cases.
10322 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10323 (struct test_results): New structure.
10324 (struct test): Use struct test_results to store expected results
10325 for all rounding modes.
10326 (TEST): Include expected results for all rounding modes.
10327 (test_in_one_mode): New function.
10328 (do_test): Use test_in_one_mode to compute and check results.
10329 Check results for all rounding modes.
10330 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10333 2012-12-09 Allan McRae <allan@archlinux.org>
10335 * sysdeps/i386/fpu/libm-test-ulps: Update
10337 2012-09-11 Joseph Myers <joseph@codesourcery.com>
10339 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10340 (_G_int32_t): Likewise.
10341 (_G_uint16_t): Likewise.
10342 (_G_uint32_t): Likewise.
10343 (_G_HAVE_BOOL): Likewise.
10344 (_G_HAVE_ATEXIT): Likewise.
10345 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10346 (_G_HAVE_IO_FILE_OPEN): Likewise.
10347 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10348 (_G_int32_t): Likewise.
10349 (_G_uint16_t): Likewise.
10350 (_G_uint32_t): Likewise.
10351 (_G_HAVE_BOOL): Likewise.
10352 (_G_HAVE_ATEXIT): Likewise.
10353 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10354 (_G_HAVE_IO_FILE_OPEN): Likewise.
10355 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10356 (_G_int32_t): Likewise.
10357 (_G_uint16_t): Likewise.
10358 (_G_uint32_t): Likewise.
10359 (_G_HAVE_BOOL): Likewise.
10360 (_G_HAVE_ATEXIT): Likewise.
10361 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10362 (_G_HAVE_IO_FILE_OPEN): Likewise.
10364 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10366 * csu/libc-tls.c: Update copyright years.
10368 2012-09-10 Joseph Myers <joseph@codesourcery.com>
10370 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10371 [!_G_USING_THUNKS]: Remove conditional code.
10372 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10373 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10375 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10376 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10377 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10378 (_G_VTABLE_LABEL_PREFIX): Likewise.
10379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10380 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10382 (_G_VTABLE_LABEL_PREFIX): Likewise.
10383 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10384 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10385 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10386 (_G_VTABLE_LABEL_PREFIX): Likewise.
10387 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10389 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10391 * libio/Makefile: Include ../Makeconfig before tests.
10392 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10393 only if $(build-shared) is yes.
10395 * iconv/gconv_db.c: Update copyright years.
10397 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10399 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10400 unwind info if defined PIC. Fix special cases description.
10401 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10403 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10405 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10407 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10409 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10411 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10414 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10415 (LDLIBS-tst-chk4): This.
10416 (LDFLAGS-tst-chk5): Renamed to ...
10417 (LDLIBS-tst-chk5): This.
10418 (LDFLAGS-tst-chk6): Renamed to ...
10419 (LDLIBS-tst-chk6): This.
10420 (LDFLAGS-tst-lfschk4): Renamed to ...
10421 (LDLIBS-tst-lfschk4): This.
10422 (LDFLAGS-tst-lfschk5): Renamed to ...
10423 (LDLIBS-tst-lfschk5): This.
10424 (LDFLAGS-tst-lfschk6): Renamed to ...
10425 (LDLIBS-tst-lfschk6): This.
10427 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10428 on $(common-objpfx)soversions.mk.
10430 2012-09-07 Joseph Myers <joseph@codesourcery.com>
10433 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10436 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10438 * malloc/arena.c (arena_get_retry): New function that gets
10439 another arena for the caller to try its request on.
10440 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10441 current arena cannot fulfill the request.
10442 (__libc_memalign): Likewise.
10443 (__libc_memalign): Likewise.
10444 (__libc_pvalloc): Likewise.
10445 (__libc_calloc): Likewise.
10447 2012-09-05 John Tobey <john.tobey@gmail.com>
10450 * manual/arith.texi (Operations on Complex): Fix description
10451 of carg branch cut.
10453 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10456 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10460 * manual/memory.texi (Memory): Make order of menu items match
10463 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10465 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10466 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10467 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10469 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10471 * csu/libc-tls.c (static_dtv): Renamed to ...
10472 (_dl_static_dtv): This. Make it global.
10473 (_dl_initial_dtv): Removed.
10474 (__libc_setup_tls): Updated.
10475 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10476 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10479 2012-09-06 Petr Machata <pmachata@redhat.com>
10481 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10482 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10483 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10484 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10486 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10489 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10490 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10493 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10496 * Makeconfig (link-static-before-libc): Replace $(+prector)
10498 (link-static-after-libc): Replace $(+postctor) with
10500 (link-bounded): Replace $(+prector)/$(+postctor) with
10501 $(+prectorT)/$(+postctorT).
10502 (+prectorT): New macro.
10503 (+postctorT): Likewise.
10505 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10507 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10508 (round_str): Handle values above the maximum for IBM long double
10510 * stdlib/tst-strtod-round.c (tests): Regenerated.
10512 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10514 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10516 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10517 zarch_nohighgprs around the zarch optimized routines.
10518 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10519 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10523 2012-09-05 David S. Miller <davem@davemloft.net>
10525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10527 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10528 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10529 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10530 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10533 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10535 * malloc/arena.c: Fold copyright years.
10536 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10538 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10540 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10542 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10544 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10546 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10548 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10549 change internal state upon failure.
10551 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10553 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10554 * malloc/memusage.c (mmap): Likewise.
10555 (mmap64, mremap): Likewise. Adjust name in comment.
10557 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10559 * libio/fileops.c: Fix typos in comments.
10560 * libio/oldfileops.c: Likewise.
10561 * libio/wfileops.c: Likewise.
10563 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10566 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10567 (tst-malloc-usable-ENV): Set environment for test case.
10568 * malloc/hooks.c (malloc_check_get_size): New function to get
10570 * malloc/malloc.c (musable): Use malloc_check_get_size.
10571 * malloc/tst-malloc-usable.c: New test case.
10573 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10575 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10577 2012-09-05 Allan McRae <allan@archlinux.org>
10580 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10581 determine header location.
10582 * configure: Regenerated.
10584 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10586 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10588 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10589 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10591 (test): Regenerate.
10593 2012-09-04 David S. Miller <davem@davemloft.net>
10595 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10596 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10597 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10599 2012-09-04 Florian Weimer <fweimer@redhat.com>
10601 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10604 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10606 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10609 * libio/iogetdelim.c: Include <limits.h>.
10610 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10611 + len + 1 would overflow.
10613 2012-09-03 Andreas Jaeger <aj@suse.de>
10615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10616 * sysdeps/i386/fpu/libm-test-ulps: Update.
10618 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10620 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10621 Add s_sinf-sse2, s_conf-sse2.
10623 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10624 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10625 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10626 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10628 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10629 for using routine as __sinf_ia32.
10630 Use macro for function declaration and weak_alias.
10631 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10632 for using routine as __cosf_ia32.
10633 Use macro for function declaration and weak_alias.
10635 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10636 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10638 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10639 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10642 * math/libm-test.inc (cos_test): Add more test cases.
10643 (sin_test): Likewise.
10644 (sincos_test): Likewise.
10646 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10649 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10653 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10656 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10657 first element of the GOT.
10658 (elf_machine_load_address): Return the difference between
10659 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10661 2012-09-01 Allan McRae <allan@archlinux.org>
10664 * configure.in (AWK): Require gawk version 3.0 or later.
10665 * configure: Regenerated.
10667 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10669 * sysdeps/unix/sysv/linux/kernel-features.h
10670 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10672 [__NR_clock_getres]: Make code unconditional.
10673 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10674 (clock_getcpuclockid): Remove code left unreachable by removal of
10676 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10677 code unconditional.
10678 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10679 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10680 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10681 Make code unconditional.
10682 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10683 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10684 * sysdeps/unix/sysv/linux/clock_settime.c
10685 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10687 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10688 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10690 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10693 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10694 scripts/test-installation.pl.
10696 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10697 and $ld_so_version if it is set.
10699 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10703 failure if reading from procfs failed.
10704 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10706 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10708 * sysdeps/unix/sysv/linux/kernel-features.h
10709 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10710 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10711 Remove conditional code.
10712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10713 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10714 Remove conditional code.
10715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10716 * sysdeps/unix/sysv/linux/i386/fxstat.c
10717 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10719 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10722 * sysdeps/unix/sysv/linux/i386/lxstat.c
10723 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10725 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10726 Remove conditional code.
10727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10728 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10729 Remove conditional code.
10730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10731 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10732 <kernel-features.h>.
10733 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10735 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10736 Remove conditional code.
10737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10738 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10739 Remove conditional.
10741 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10744 * NEWS: Add fixed bug number.
10746 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10749 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10750 underflowing exponent in case of negative sign.
10751 * stdlib/tst-strtod-round-data: Add more tests.
10752 * stdlib/tst-strtod-round.c (tests): Regenerated.
10755 * stdlib/strtod_l.c (NDIG): Remove.
10756 (HEXNDIG): Likewise.
10757 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10758 smallest representable value.
10759 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10760 lie within an exact representation of 1/2 ulp of the result.
10761 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10763 (TENS_P9_IDX): Define unconditionally.
10764 (TENS_P9_SIZE): Likewise.
10765 (TENS_P10_IDX): Likewise.
10766 (TENS_P10_SIZE): Likewise.
10767 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10768 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10769 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10770 entries for 10^2^13 and 10^2^14.
10771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10772 (TENS_P13_IDX): Define.
10773 (TENS_P13_SIZE): Likewise.
10774 (TENS_P14_IDX): Likewise.
10775 (TENS_P14_SIZE): Likewise.
10776 (_fpioconst_pow10): Change array size to
10777 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10779 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10780 1024]: Add entries for 10^2^13 and 10^2^14.
10781 [LAST_POW10 > _LAST_POW10]: Remove #error.
10782 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10783 (_fpioconst_pow10): Change array size to
10784 FPIOCONST_POW10_ARRAY_SIZE.
10785 * stdlib/gen-fpioconst.c: New file.
10786 * stdlib/gen-tst-strtod-round.c: Likewise.
10787 * stdlib/tst-strtod-round-data: Likewise.
10788 * stdlib/tst-strtod-round.c: Likewise.
10789 * stdlib/Makefile (tests): Add tst-strtod-round.
10792 * stdlib/strtod_l.c: Include <stdint.h>.
10793 (NDEBUG): Do not define.
10794 (round_and_return): Change EXPONENT parameter to type intmax_t.
10795 Rearrange calculations to avoid internal overflow possibilities.
10796 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10797 Rearrange calculations to avoid internal overflow possibilities.
10798 Assert that number fits inside MPNSIZE limbs.
10799 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10800 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10801 calculations and add assertions to avoid internal overflow
10802 possibilities. Add casts to avoid signed/unsigned operations.
10803 * stdlib/tst-strtod-overflow.c: New file.
10804 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10806 2012-08-25 Marek Polacek <polacek@redhat.com>
10808 * time/time.h: Fix some typos in comments.
10810 2012-08-23 Roland McGrath <roland@hack.frob.com>
10812 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10813 * posix/tst-rfc3484-2.c: Likewise.
10814 * posix/tst-rfc3484-3.c: Likewise.
10816 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10818 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10819 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10821 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10823 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10824 #include of fxstatat64.c.
10826 2012-08-22 Roland McGrath <roland@hack.frob.com>
10828 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10829 * shadow/getspent_r.c: Likewise.
10830 * shadow/getspnam.c: Likewise.
10831 * shadow/getspnam_r.c: Likewise.
10832 * gshadow/getsgent.c: Likewise.
10833 * gshadow/getsgent_r.c: Likewise.
10834 * gshadow/getsgnam.c: Likewise.
10835 * gshadow/getsgnam_r.c: Likewise.
10836 * inet/getnetbyad.c: Likewise.
10837 * inet/getnetbyad_r.c: Likewise.
10838 * inet/getnetbynm.c: Likewise.
10839 * inet/getnetbynm_r.c: Likewise.
10840 * inet/getnetent.c: Likewise.
10841 * inet/getnetent_r.c: Likewise.
10842 * inet/getproto.c: Likewise.
10843 * inet/getproto_r.c: Likewise.
10844 * inet/getprtent.c: Likewise.
10845 * inet/getprtent_r.c: Likewise.
10846 * inet/getprtname.c: Likewise.
10847 * inet/getprtname_r.c: Likewise.
10848 * inet/getrpcbyname.c: Likewise.
10849 * inet/getrpcbyname_r.c: Likewise.
10850 * inet/getrpcbynumber.c: Likewise.
10851 * inet/getrpcbynumber_r.c: Likewise.
10852 * inet/getrpcent.c: Likewise.
10853 * inet/getrpcent_r.c: Likewise.
10854 * inet/getaliasent.c: Likewise.
10855 * inet/getaliasent_r.c: Likewise.
10856 * inet/getaliasname.c: Likewise.
10857 * inet/getaliasname_r.c: Likewise.
10858 * nscd/getgrgid_r.c: Likewise.
10859 * nscd/getgrnam_r.c: Likewise.
10860 * nscd/gethstbyad_r.c: Likewise.
10861 * nscd/gethstbynm3_r.c: Likewise.
10862 * nscd/getpwnam_r.c: Likewise.
10863 * nscd/getpwuid_r.c: Likewise.
10864 * nscd/getsrvbynm_r.c: Likewise.
10865 * nscd/getsrvbypt_r.c: Likewise.
10866 * nscd/gai.c: Likewise.
10868 * configure.in (build_nscd): New substituted variable, set
10869 by --disable-build-nscd and defaults to $use_nscd.
10870 * configure: Regenerated.
10871 * config.make.in (build-nscd): New substituted variable.
10872 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10873 Change conditional to require [$(build-nscd) = yes] as well.
10874 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10877 * configure.in (use_nscd): New substituted variable, set by
10878 --disable-nscd. If enabled, define USE_NSCD.
10879 * configure: Regenerated.
10880 * config.h.in: Add USE_NSCD.
10881 * config.make.in (use-nscd): New substituted variable.
10882 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10883 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10884 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10885 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10886 (CFLAGS-getgrnam_r.c): Likewise.
10887 (CFLAGS-initgroups.c): Likewise.
10888 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10889 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10891 * inet/getnetgrent_r.c
10892 (nscd_setnetgrent): New function, broken out of ...
10893 (setnetgrent): ... here. Call it.
10894 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10895 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10896 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10897 * nscd/Makefile (routines, aux): Move definitions after include of
10898 Makeconfig. Conditionalize on [$(use-nscd) != no].
10899 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10900 Conditionalize on [USE_NSCD].
10901 (is_nscd, nscd_init_cb): Likewise.
10902 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10903 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10904 * nss/nss_db/db-init.c: Likewise.
10905 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10907 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10908 (make_request): Use it.
10909 (cache_valid_p): New function.
10910 (__check_pf): Use it.
10911 * NEWS: Add item for --disable-nscd.
10913 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10915 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10916 to support sed >= 4.2.1-20-ga9bf076.
10917 * configure: Regenerated.
10919 2012-08-22 Roland McGrath <roland@hack.frob.com>
10921 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10922 Conditionalize whole body on [IREL].
10924 2012-08-22 Jeff Law <law@redhat.com>
10927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10928 if the family is PF_UNSPEC.
10930 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10932 * Makerules (lib-version): Rename from V.
10933 (install-lib-nosubdir): Change V to lib-version.
10935 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10938 * powerpc32/power6/wcschr.c: New file.
10939 * powerpc32/power6/wcscpy.c: New file.
10940 * powerpc32/power6/wcsrchr.c: New file.
10941 * powerpc64/power6/wcschr.c: New file.
10942 * powerpc64/power6/wcscpy.c: New file.
10943 * powerpc64/power6/wcsrchr.c: New file.
10945 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10947 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10948 (two_way_short_needle): Use it.
10949 * string/strstr.c (AVAILABLE1_USES_J): Define.
10950 * string/strcasestr.c: Likewise.
10952 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10954 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10957 * NEWS: Add an entry.
10958 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10959 define their defaults.
10960 (two_way_short_needle): Detect end-of-string on-the-fly.
10961 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10962 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10963 * string/bug-strcasestr1.c: New test.
10964 * string/Makefile: Run it.
10966 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10969 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10970 the first character.
10972 2012-08-21 Roland McGrath <roland@hack.frob.com>
10974 * csu/elf-init.c (__libc_csu_irel): Function removed.
10975 * csu/libc-start.c (apply_irel): New function.
10976 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10978 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10980 * sysdeps/unix/sysv/linux/kernel-features.h
10981 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10982 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10983 <kernel-features.h>.
10984 [__NR_fadvise64_64]: Make code unconditional.
10985 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10986 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10987 !__NR_fadvise64_64)]: Likewise.
10988 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10989 !__NR_fadvise64_64))]: Likewise.
10990 [__NR_fadvise64]: Make code unconditional.
10991 [!__NR_fadvise64]: Remove conditional code.
10992 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10993 <kernel-features.h>.
10994 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10996 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10999 not include <kernel-features.h>.
11000 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11002 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11004 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11005 include <kernel-features.h>.
11006 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11008 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11011 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11014 slight instruction rearrangements per scrollpipe analysis.
11015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11017 2012-08-20 Roland McGrath <roland@hack.frob.com>
11019 * manual/syslog.texi (syslog; vsyslog, closelog):
11020 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11021 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11023 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11024 DSOCAPS to match condition on defining it.
11026 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11028 * sysdeps/unix/sysv/linux/kernel-features.h
11029 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11031 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11032 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11037 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11038 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11040 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11041 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11043 * sysdeps/unix/sysv/linux/kernel-features.h
11044 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11045 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11047 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11048 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11049 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11050 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11051 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11052 Make code unconditional.
11053 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11054 (__mmap64) [!__NR_mmap2]: Likewise.
11055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11056 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11057 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11059 [__NR_mmap2]: Make code unconditional.
11060 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11061 (__mmap64) [!__NR_mmap2]: Likewise.
11063 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11065 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11067 2012-08-18 Andreas Jaeger <aj@suse.de>
11069 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11071 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11073 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11074 * include/unistd.h (__have_sock_cloexec): Likewise.
11075 (__have_pipe2): Likewise.
11076 (__have_dup3): Likewise.
11078 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11081 * include/unistd.h (__have_pipe2): Change define into an extern int.
11082 (__have_dup3): Likewise.
11083 * socket/have_sock_cloexec.c: Include fcntl.h.
11084 (__have_pipe2): New variable.
11085 (__have_dup3): Likewise.
11087 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11089 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11091 2012-08-17 Marek Polacek <polacek@redhat.com>
11093 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11094 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11096 2012-08-17 Roland McGrath <roland@hack.frob.com>
11098 * configure.in: Add AC_SUBST for sysheaders.
11099 * configure: Regenerated.
11100 * config.make.in (sysheaders): New substituted variable.
11102 * sysdeps/unix/mkfifo.c: Moved ...
11103 * sysdeps/posix/mkfifo.c: ... here.
11104 * sysdeps/unix/mkfifoat.c: Moved ...
11105 * sysdeps/posix/mkfifoat.c: ... here.
11107 * sysdeps/unix/utime.c: Moved ...
11108 * sysdeps/posix/utime.c: ... here.
11110 * sysdeps/unix/time.c: Moved ...
11111 * sysdeps/posix/time.c: ... here.
11112 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11113 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11115 * sysdeps/unix/nice.c: Moved ...
11116 * sysdeps/posix/nice.c: ... here.
11118 * sysdeps/unix/alarm.c: Moved ...
11119 * sysdeps/posix/alarm.c: ... here.
11121 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11123 2012-08-17 Jeff Law <law@redhat.com>
11125 * intl/Makefile (codeset_mo): New variable.
11126 ($(codeset_mo)): New target.
11127 (tst-codeset.out): Depend on that. Remove explicit rule.
11128 (tst-gettext3.out, tst-gettext5.out): Likewise.
11129 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11130 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11131 * intl/tst-codeset.sh: Remove.
11132 * intl/tst-gettext3.sh: Likewise.
11133 * intl/tst-gettext5.sh: Likewise.
11135 2012-08-17 Roland McGrath <roland@hack.frob.com>
11137 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11138 * sysdeps/unix/syscalls.list: ... here.
11140 * sysdeps/posix/getaddrinfo.c
11141 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11142 (gaiconf_init, gaiconf_reload): Use them.
11143 [!_STATBUF_ST_NSEC]
11144 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11145 Define using time_t rather than struct timespec.
11147 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11148 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11150 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11152 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11153 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11156 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11157 __libc_cleanup_push argument.
11159 * bits/param.h: New file.
11160 * misc/sys/param.h: New file.
11161 * include/sys/param.h: New file.
11162 * misc/Makefile (headers): Add bits/param.h.
11163 * sysdeps/generic/sys/param.h: File removed.
11164 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11165 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11166 * sysdeps/mach/hurd/bits/param.h: New file.
11167 * sysdeps/mach/hurd/sys/param.h: File removed.
11169 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11172 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11174 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11175 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11178 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11179 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11180 rather than -D_IO_MTSAFE_IO conditionally.
11181 * stdio-common/Makefile (CPPFLAGS): Likewise.
11182 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11183 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11184 Use $(libio-mtsafe).
11185 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11186 of -D_IO_MTSAFE_IO.
11187 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11188 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11189 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11190 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11191 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11192 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11193 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11194 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11195 (CFLAGS-fread_u_chk.c): Likewise.
11196 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11197 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11198 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11199 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11200 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11201 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11202 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11203 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11204 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11206 * libio/Makefile: Test [$(libc-reentrant) = yes]
11207 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11210 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11211 * sysdeps/pthread/configure: File removed.
11212 * sysdeps/pthread/Makeconfig: New file.
11213 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11214 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11216 2012-08-16 Gary Benson <gbenson@redhat.com>
11218 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11219 unmapping the first object in a namespace.
11221 2012-08-16 Roland McGrath <roland@hack.frob.com>
11223 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11224 (__internal_setnetgrent): ... this. Add internal_function to
11225 definition. Add libc_hidden_def.
11226 (setnetgrent): Update caller.
11227 (internal_endnetgrent): Renamed to ...
11228 (__internal_endnetgrent): ... this. Add internal_function to
11229 definition. Add libc_hidden_def.
11230 (endnetgrent): Update caller.
11231 (internal_getnetgrent_r): Renamed to ...
11232 (__internal_getnetgrent_r): ... this. Add internal_function to
11233 definition. Add libc_hidden_def.
11234 (__getnetgrent_r): Update caller.
11235 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11237 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11239 * stdlib/longlong.h: Update from GCC.
11241 2012-08-16 Roland McGrath <roland@hack.frob.com>
11243 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11244 on _QL, which is set by umul_ppmm but never used.
11245 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11246 variables, which are set by GMP macros but never used.
11247 * stdio-common/_itowa.c (_itowa): Likewise.
11248 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11249 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11251 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11253 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11254 struct La_sh_regs is not constant.
11255 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11256 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11257 and struct La_sparc64_regs are not constant.
11259 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11261 * sysdeps/unix/sysv/linux/kernel-features.h
11262 (__ASSUME_POSIX_TIMERS): Remove.
11263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11265 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11266 Make code unconditional.
11267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11268 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11269 Make code unconditional.
11270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11271 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11272 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11274 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11275 Make code unconditional.
11276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11277 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11278 (__libc_missing_posix_timers): Remove.
11280 2012-08-15 Roland McGrath <roland@hack.frob.com>
11282 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11283 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11285 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11287 * elf/dl-sym.c: Include <stdlib.h>.
11289 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11290 constants, which avoids warnings in 32-bit builds.
11292 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11293 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11295 * misc/lseek.c: File moved to ...
11296 * io/lseek.c: ... here.
11298 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11300 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11301 shifting LEN more than 31 bits at once.
11303 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11306 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11307 segmentation fault for a case of two empty input strings.
11308 * string/test-strncasecmp.c (check1): Renamed to...
11309 (bz12205): ...this.
11310 (bz14195): Add new testcase for two empty input strings and N > 0.
11311 (test_main): Call new testcase, adapt for renamed function.
11313 2012-08-15 Andreas Jaeger <aj@suse.de>
11316 * crypt/md5test2.c: New test, based on test supplied by Serge
11317 Belyshev <belyshev@depni.sinp.msu.ru>.
11318 * crypt/Makefile (xtests): Add md5test-giant..
11319 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11321 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11324 * crypt/md5.c (md5_process_block): Don't assume the buffer
11325 length is less than 2**32.
11326 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11327 length is less than 2**64.
11329 2012-08-15 Roland McGrath <roland@hack.frob.com>
11331 * string/str-two-way.h: Include <sys/param.h>.
11332 (MAX): Macro removed.
11334 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11335 Move #define and #undef of memmove to just before and after
11336 including <string.h>.
11338 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11339 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11340 and after including <string.h>. Move declarations of
11341 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11342 to before #include "string/memmove.c".
11344 * include/dirent.h: Declare __getdirentries.
11346 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11347 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11349 2012-08-14 Mike Frysinger <vapier@gentoo.org>
11351 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11352 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11353 * sysdeps/i386/configure: Regenerated.
11354 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11355 STABS_CURRENT_FILE, and STABS_FUN.
11356 (END): Remove call to STABS_FUN_END.
11357 (STABS_CURRENT_FILE1): Delete.
11358 (STABS_CURRENT_FILE): Likewise.
11359 (STABS_FUN): Likewise.
11360 (STABS_FUN_END): Likewise.
11361 (STABS_FUN2): Likewise.
11362 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11363 * sysdeps/x86_64/configure: Regenerated.
11365 2012-08-14 Roland McGrath <roland@hack.frob.com>
11367 * elf/dl-open.c: Include <atomic.h>.
11368 * elf/dl-lookup.c: Likewise.
11370 2012-08-14 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/unix/sysv/linux/kernel-features.h
11373 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11374 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11376 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11378 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11379 condition on __ASSUME_CLONE_THREAD_FLAGS.
11381 2012-08-14 Andreas Jaeger <aj@suse.de>
11383 * sysdeps/i386/fpu/libm-test-ulps: Update.
11385 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11387 * include/atomic.h (atomic_exchange_and_add): Split into ...
11388 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11391 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11395 2012-08-13 Jeff Law <law@redhat.com>
11397 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11398 null byte in the output string.
11400 2012-08-10 Joseph Myers <joseph@codesourcery.com>
11402 * sysdeps/unix/sysv/linux/kernel-features.h
11403 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11404 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11405 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11407 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11408 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11409 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11411 2012-08-09 Jeff Law <law@redhat.com>
11414 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11415 When avoid_arena is set, don't retry in the that arena. Pick the
11416 next one, whatever it might be.
11417 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11418 (arena_lock): Pass in new parameter to arena_get2.
11419 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11421 (__libc_malloc): Unify retrying after main arena failure with
11422 __libc_memalign version.
11423 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11425 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11428 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11429 to __redirect_strstr.
11430 (__strstr_sse42): Use typeof __redirect_strstr.
11431 (__strstr_ia32): Likewise.
11432 (__libc_strstr): New prototype.
11433 (strstr): Renamed to ...
11434 (__libc_strstr): This.
11435 (strstr): New strong alias of __libc_strstr.
11436 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11437 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11440 (__libc_time): New prototype.
11441 (time_ifunc): Replace time with __libc_time.
11442 (time): New strong alias and hidden definition of __libc_time.
11443 (__GI_time): Remove strong alias.
11444 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11445 Include <stddef.h>.
11446 (memmove): Redefined to __redirect_memmove.
11447 (__memmove_sse2): Use typeof __redirect_memmove.
11448 (__memmove_ssse3): Likewise.
11449 (__memmove_ssse3_back): Likewise.
11450 (__libc_memmove): New prototype.
11451 (memmove): Renamed to ...
11452 (__libc_memmove): This.
11453 (memmove): New strong alias of __libc_memmove.
11455 2012-08-08 Mark Salter <msalter@redhat.com>
11458 (R_MN10300_TLS_GD): Define.
11459 (R_MN10300_TLS_LD): Likewise.
11460 (R_MN10300_TLS_LDO): Likewise.
11461 (R_MN10300_TLS_GOTIE): Likewise.
11462 (R_MN10300_TLS_IE): Likewise.
11463 (R_MN10300_TLS_LE): Likewise.
11464 (R_MN10300_TLS_DTPMOD): Likewise.
11465 (R_MN10300_TLS_DTPOFF): Likewise.
11466 (R_MN10300_TLS_TPOFF): Likewise.
11467 (R_MN10300_SYM_DIFF): Likewise.
11468 (R_MN10300_ALIGN): Likewise.
11469 (R_MN10300_NUM): Update.
11471 2012-08-08 Joseph Myers <joseph@codesourcery.com>
11473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11476 2012-08-08 Roland McGrath <roland@hack.frob.com>
11478 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11480 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11481 sysdeps/unix -> sysdeps/posix move.
11482 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11484 2012-08-07 Allan McRae <allan@archlinux.org>
11487 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11488 (SUNOS_CPP): Likewise.
11489 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11491 (open_input): Call CPP using execvp.
11493 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11495 * sysdeps/unix/sysv/linux/kernel-features.h
11496 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11497 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11498 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11499 (__ASSUME_WAITID_SYSCALL): Likewise.
11500 * sysdeps/unix/sysv/linux/dl-execstack.c
11501 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11502 code unconditional.
11503 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11505 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11506 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11507 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11509 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11511 [__ASSUME_WAITID_SYSCALL]: Likewise.
11512 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11514 2012-08-07 Roland McGrath <roland@hack.frob.com>
11516 * sysdeps/unix/closedir.c: Renamed to ...
11517 * sysdeps/posix/closedir.c: ... here.
11518 * sysdeps/unix/dirfd.c: Renamed to ...
11519 * sysdeps/posix/dirfd.c: ... here.
11520 * sysdeps/unix/dirstream.h: Renamed to ...
11521 * sysdeps/posix/dirstream.h: ... here.
11522 * sysdeps/unix/fdopendir.c: Renamed to ...
11523 * sysdeps/posix/fdopendir.c: ... here.
11524 * sysdeps/unix/opendir.c: Renamed to ...
11525 * sysdeps/posix/opendir.c: ... here.
11526 * sysdeps/unix/readdir.c: Renamed to ...
11527 * sysdeps/posix/readdir.c: ... here.
11528 * sysdeps/unix/readdir_r.c: Renamed to ...
11529 * sysdeps/posix/readdir_r.c: ... here.
11530 * sysdeps/unix/rewinddir.c: Renamed to ...
11531 * sysdeps/posix/rewinddir.c: ... here.
11532 * sysdeps/unix/seekdir.c: Renamed to ...
11533 * sysdeps/posix/seekdir.c: ... here.
11534 * sysdeps/unix/telldir.c: Renamed to ...
11535 * sysdeps/posix/telldir.c: ... here.
11536 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11537 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11538 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11539 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11541 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11542 * bits/fcntl.h: ... here.
11544 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11546 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11547 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11548 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11549 (struct flock): Move l_start, l_len to the beginning.
11550 Use __pid_t for l_pid.
11551 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11552 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11553 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11554 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11555 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11556 [__USE_LARGEFILE64] (struct flock64): New type.
11557 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11559 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11560 * bits/dirent.h: ... here.
11562 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11563 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11565 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11568 Change from 2.6.0 to 2.6.16.
11569 * sysdeps/unix/sysv/linux/configure: Regenerated.
11570 * sysdeps/unix/sysv/linux/kernel-features.h
11571 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11572 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11574 (__ASSUME_UTIMES): Likewise.
11575 (__ASSUME_CLONE_STOPPED): Remove.
11576 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11577 architectures, not kernel version.
11578 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11579 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11580 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11581 (__ASSUME_WAITID_SYSCALL): Likewise.
11582 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11583 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11584 * README: State 2.6.16 as minimum Linux kernel version. Do not
11585 refer to older versions.
11587 2012-08-06 Roland McGrath <roland@hack.frob.com>
11589 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11590 Define alphasort64 as an alias.
11591 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11592 Define versionsort64 as an alias.
11593 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11594 Define scandir64 as an alias.
11595 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11596 Define scandirat64 as an alias.
11597 * dirent/alphasort64.c (alphasort64):
11598 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11599 * dirent/versionsort64.c: Likewise.
11600 * dirent/scandir64.c: Likewise.
11601 * dirent/scandirat64.c: Likewise.
11602 * sysdeps/wordsize-64/alphasort.c: File removed.
11603 * sysdeps/wordsize-64/alphasort64.c: File removed.
11604 * sysdeps/wordsize-64/scandir.c: File removed.
11605 * sysdeps/wordsize-64/scandir64.c: File removed.
11606 * sysdeps/wordsize-64/scandirat.c: File removed.
11607 * sysdeps/wordsize-64/scandirat64.c: File removed.
11608 * sysdeps/wordsize-64/versionsort.c: File removed.
11609 * sysdeps/wordsize-64/versionsort64.c: File removed.
11610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11619 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11621 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11623 [defined __arch64__ || defined __sparcv9]
11624 (__INO_T_MATCHES_INO64_T): New macro.
11625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11626 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11627 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11628 * sysdeps/unix/sysv/linux/bits/dirent.h
11629 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11630 (_DIRENT_MATCHES_DIRENT64): New macro.
11632 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11633 Define lockf64 as an alias.
11634 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11635 Define fseeko64 as an alias.
11636 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11637 Define ftello64 as an alias.
11638 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11639 Define _IO_fgetpos64 and fgetpos64 as aliases.
11640 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11641 Define _IO_fsetpos64 and fsetpos64 as aliases.
11642 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11643 Conditionalize body on this.
11644 * libio/fseeko64.c: Likewise.
11645 * libio/ftello64.c: Likewise.
11646 * libio/iofgetpos64.c: Likewise.
11647 * libio/iofsetpos64.c: Likewise.
11648 * sysdeps/wordsize-64/lockf.c: File removed.
11649 * sysdeps/wordsize-64/lockf64.c: File removed.
11650 * sysdeps/wordsize-64/fseeko.c: File removed.
11651 * sysdeps/wordsize-64/fseeko64.c: File removed.
11652 * sysdeps/wordsize-64/ftello.c: File removed.
11653 * sysdeps/wordsize-64/ftello64.c: File removed.
11654 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11655 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11656 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11657 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11658 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11659 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11660 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11661 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11662 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11663 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11666 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11669 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11671 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11673 [defined __arch64__ || defined __sparcv9]
11674 (__OFF_T_MATCHES_OFF64_T): New macro.
11675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11676 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11678 (__OFF_T_MATCHES_OFF64_T): New macro.
11680 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11682 * stdlib/secure-getenv.c (__secure_getenv): Replace
11683 GLIBC_2_16 with GLIBC_2_17.
11685 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11687 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11690 2012-08-03 David S. Miller <davem@davemloft.net>
11692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11694 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11698 (__ASSUME_CORRECT_SI_PID): Likewise.
11699 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11700 (__ASSUME_TMPFS_NAME): Likewise.
11701 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11702 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11703 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11704 (HAVE_AUX_SECURE): Make definition unconditional.
11705 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11706 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11708 2012-08-03 Roland McGrath <roland@hack.frob.com>
11710 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11711 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11712 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11714 __eloop_threshold instead of SYMLOOP_MAX.
11716 * sysdeps/generic/eloop-threshold.h: New file.
11717 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11719 * elf/chroot_canon.c (chroot_canon): Likewise.
11721 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11725 Change to 2.6.0 everywhere.
11726 * sysdeps/unix/sysv/linux/configure: Regenerated.
11727 * sysdeps/unix/sysv/linux/kernel-features.h
11728 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11729 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11731 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11732 (__ASSUME_FUTEX_REQUEUE): Remove.
11733 (__ASSUME_STATFS64): Define unconditionally.
11734 (__ASSUME_AT_SECURE): Likewise.
11735 (__ASSUME_CORRECT_SI_PID): Likewise.
11736 (__ASSUME_TGKILL): Define without depending on kernel version for
11738 (__ASSUME_UTIMES): Likewise.
11739 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11741 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11742 (__ASSUME_TMPFS_NAME): Likewise.
11743 * README: Update reference to Linux kernel versions.
11745 2012-08-02 Marek Polacek <polacek@redhat.com>
11748 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11749 libc_cv_asm_type_prefix with %.
11750 * configure: Regenerated.
11751 * include/libc-symbols.h: Remove comment about
11752 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11753 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11754 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11755 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11756 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11757 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11758 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11759 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11760 * elf/tst-unique2mod1.c: Likewise.
11761 * elf/tst-unique1mod2.c: Likewise.
11762 * elf/tst-unique1mod1.c: Likewise.
11763 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11764 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11765 Replace ASM_TYPE_DIRECTIVE with .type.
11766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11767 * sysdeps/i386/sysdep.h: Likewise.
11768 * sysdeps/x86_64/sysdep.h: Likewise.
11769 * sysdeps/sh/sysdep.h: Likewise.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11771 Do not define ASM_TYPE_DIRECTIVE.
11772 * sysdeps/powerpc/sysdep.h: Likewise.
11773 * sysdeps/powerpc/powerpc32/sysdep.h:
11774 Replace ASM_TYPE_DIRECTIVE with .type.
11775 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11776 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11777 * sysdeps/i386/fpu/e_powf.S: Likewise.
11778 * sysdeps/i386/fpu/e_expl.S: Likewise.
11779 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11780 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11781 * sysdeps/i386/fpu/e_pow.S: Likewise.
11782 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11784 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11785 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11786 * sysdeps/i386/fpu/e_log2.S: Likewise.
11787 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11788 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11789 * sysdeps/i386/fpu/e_powl.S: Likewise.
11790 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11791 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11792 * sysdeps/i386/fpu/e_logl.S: Likewise.
11793 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11794 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11795 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11796 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11797 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11798 * sysdeps/i386/fpu/e_log.S: Likewise.
11799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11800 * sysdeps/i386/fpu/e_logf.S: Likewise.
11801 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11803 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11804 * sysdeps/i386/fpu/e_log10.S: Likewise.
11805 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11807 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11808 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11811 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11812 * sysdeps/i386/i686/strtok.S: Likewise.
11813 * sysdeps/i386/i386-mcount.S: Likewise.
11814 * sysdeps/i386/strtok.S: Likewise.
11815 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11816 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11818 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11819 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11821 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11822 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11823 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11824 * sysdeps/x86_64/_mcount.S: Likewise.
11825 * sysdeps/x86_64/strtok.S: Likewise.
11826 * sysdeps/sh/_mcount.S: Likewise.
11828 2012-08-01 Roland McGrath <roland@hack.frob.com>
11830 * libio/iofopen.c: Include <fcntl.h>.
11831 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11832 (_IO_fopen64, fopen64): Define as aliases.
11833 * libio/iofopen64.c: Include <fcntl.h>.
11834 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11835 Conditionalize body on this.
11836 * sysdeps/wordsize-64/iofopen.c: File removed.
11837 * sysdeps/wordsize-64/iofopen64.c: File removed.
11839 2012-08-01 Marek Polacek <polacek@redhat.com>
11841 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11842 Use dlfcn directly instead of a variable.
11843 (binfmt-subdir): Do not define.
11846 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11849 Remove all definitions.
11850 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11851 <kernel-features.h>.
11852 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11853 (miss_F_GETOWN_EX): Remove all definitions.
11854 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11856 [!__ASSUME_FCNTL64]: Remove conditional code.
11857 [__ASSUME_FCNTL64]: Make code unconditional.
11858 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11859 <kernel-features.h>.
11860 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11861 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11862 (lockf64) [__NR_fcntl64]: Make code unconditional.
11863 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11865 * sysdeps/unix/sysv/linux/kernel-features.h
11866 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11867 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11868 Make code unconditional.
11869 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11870 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11872 [__NR_vfork]: Make code unconditional.
11873 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11874 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11876 [__NR_vfork]: Make code unconditional.
11877 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11878 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11880 2012-08-01 Roland McGrath <roland@hack.frob.com>
11882 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11883 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11885 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11886 Define mkstemp64 as an alias.
11887 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11888 Define mkstemps64 as an alias.
11889 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11890 Define mkostemp64 as an alias.
11891 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11892 Define mkostemps64 as an alias.
11893 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11894 Conditionalize body on this.
11895 * misc/mkostemp64.c: Likewise.
11896 * misc/mkostemps64.c: Likewise.
11897 * misc/mkstemps64.c: Likewise.
11898 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11899 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11900 * sysdeps/wordsize-64/mkostemp.c: File removed.
11901 * sysdeps/wordsize-64/mkstemp.c: File removed.
11902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11903 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11904 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11905 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11908 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11909 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11910 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11911 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11913 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11914 compat_symbol macros from <shlib-compat.h> rather than the underlying
11915 default_symbol_version and symbol_version macros, so that DEFAULT
11916 lines in shlib-versions are respected.
11917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11919 2012-08-01 Florian Weimer <fweimer@redhat.com>
11921 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11922 Declare with warn_unused_result.
11923 (setgid, setregid, setegid, setresgid): Likewise.
11924 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11926 * WUR-REPORT: Remove set*id functions.
11928 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11930 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11932 2012-07-31 Roland McGrath <roland@hack.frob.com>
11935 * include/sys/socket.h (__libc_accept, __libc_accept4):
11936 Add attribute_hidden.
11937 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11939 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11941 * inet/getnetgrent_r.c (setup): Likewise.
11943 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11945 2012-07-31 David S. Miller <davem@davemloft.net>
11947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11949 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11952 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11953 value between 1.0 and 2.0 and smaller part has absolute value less
11955 * math/s_clog10.c (__clog10): Likewise.
11956 * math/s_clog10f.c (__clog10f): Likewise.
11957 * math/s_clog10l.c (__clog10l): Likewise.
11958 * math/s_clogf.c (__clogf): Likewise.
11959 * math/s_clogl.c (__clogl): Likewise.
11960 * math/libm-test.inc (clog_test): Add more tests.
11961 (clog10_test): Likewise.
11962 * sysdeps/i386/fpu/libm-test-ulps: Update.
11963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11965 2012-07-31 Florian Weimer <fweimer@redhat.com>
11967 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11968 Exit with zero in case no suitable GID is found, and write a
11969 message to standard error.
11971 2012-07-30 Roland McGrath <roland@hack.frob.com>
11973 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11975 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11976 (MAXPATHLEN): Removed.
11977 (NOGROUP, NODEV): New macros.
11978 (setbit, clrbit, isset, isclr): New macros.
11979 (howmany, roundup, powerof2): New macros.
11980 (DEV_BSIZE): New macro.
11982 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11983 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11985 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11986 definition on [!__NO_LONG_DOUBLE_MATH].
11988 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11989 PTR_MANGLE and PTR_DEMANGLE.
11991 * socket/accept4.c (accept4): Rename to __libc_accept4.
11992 Define accept4 as a weak alias.
11994 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11995 on [_DIRENT_HAVE_D_TYPE].
11996 * io/ftw.c (ftw_dir): Likewise.
11998 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12000 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12002 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12003 Use the BSD numbers rather than the arbitrary ones we had.
12004 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12005 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12006 (SIGXCPU, SIGXFSZ): New macros.
12009 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12010 initializer on [_LIBC_REENTRANT].
12012 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12013 definitions inside [_POSIX_MAPPED_FILES].
12015 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12017 * dirent/opendir.c: Include <fcntl.h>.
12019 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12020 (__libc_getspecific): Likewise.
12021 (__libc_key_create): Likewise.
12023 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12024 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12025 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12026 (tmpfile64): Define as alias.
12027 * sysdeps/wordsize-64/tmpfile.c: File removed.
12028 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12032 * stdio-common/vfscanf.c: Include <stdbool.h>.
12033 * nss/makedb.c: Likewise.
12034 * stdio-common/_i18n_number.h: Likewise.
12035 * argp/argp-help.c: Likewise.
12036 * posix/wordexp.c: Likewise.
12037 * sysdeps/posix/spawni.c: Likewise.
12038 * nss/nss_files/files-initgroups.c: Likewise.
12039 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12040 * nss/nss_files/files-initgroups.c: Likewise.
12041 * nss/nss_db/db-netgrp.c: Likewise.
12042 * nss/nss_db/db-initgroups.c: Likewise.
12043 * io/fchmodat.c: Include <sys/stat.h>.
12045 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12046 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12048 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12051 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12052 Add multiple inclusion protection.
12054 2012-07-27 David S. Miller <davem@davemloft.net>
12056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12058 2012-07-27 Gary Benson <gbenson@redhat.com>
12061 * elf/rtld.c: Include <stap-probe.h>.
12062 (dl_main): Added static probes "init_start" and "init_complete".
12063 * elf/dl-load.c: Include <stap-probe.h>.
12064 (lose): Take new parameter "nsid".
12065 Added static probe "map_failed".
12066 (_dl_map_object_from_fd): Pass namespace id to lose.
12067 Added static probe "map_start".
12068 (open_verify): Pass namespace id to lose.
12069 * elf/dl-open.c: Include <stap-probe.h>.
12070 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12071 and "reloc_complete".
12072 * elf/dl-close.c: Include <stap-probe.h>.
12073 (_dl_close_worker): Added static probes "unmap_start" and
12075 * elf/rtld-debugger-interface.txt: New file documenting the above.
12077 2012-07-26 Roland McGrath <roland@hack.frob.com>
12079 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12080 rather than a string variable.
12081 * sunrpc/rpc_main.c (h_output): Likewise.
12082 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12084 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12086 * inet/check_native.c: New file.
12088 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12091 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12092 if larger part has absolute value 1.0.
12093 * math/s_clog10.c (__clog10): Likewise.
12094 * math/s_clog10f.c (__clog10f): Likewise.
12095 * math/s_clog10l.c (__clog10l): Likewise.
12096 * math/s_clogf.c (__clogf): Likewise.
12097 * math/s_clogl.c (__clogl): Likewise.
12098 * math/libm-test.inc (clog_test): Add more tests.
12099 (clog10_test): Likewise.
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12103 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12104 (pltexit): Likewise.
12105 (La_regs): Likewise.
12106 (La_retval): Likewise.
12107 (int_retval): Likewise.
12108 Update #error for removed macros to refer only to definitions in
12110 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12112 (pltexit): Likewise.
12113 (La_regs): Likewise.
12114 (La_retval): Likewise.
12115 (int_retval): Likewise.
12116 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12118 (pltexit): Likewise.
12119 (La_regs): Likewise.
12120 (La_retval): Likewise.
12121 (int_retval): Likewise.
12122 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12124 (pltexit): Likewise.
12125 (La_regs): Likewise.
12126 (La_retval): Likewise.
12127 (int_retval): Likewise.
12128 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12130 (pltexit): Likewise.
12131 (La_regs): Likewise.
12132 (La_retval): Likewise.
12133 (int_retval): Likewise.
12134 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12136 (pltexit): Likewise.
12137 (La_regs): Likewise.
12138 (La_retval): Likewise.
12139 (int_retval): Likewise.
12140 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12142 (pltexit): Likewise.
12143 (La_regs): Likewise.
12144 (La_retval): Likewise.
12145 (int_retval): Likewise.
12146 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12147 macro definitions in tst-audit.h.
12148 * sysdeps/i386/tst-audit.h: New file.
12149 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12150 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12151 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12152 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12153 * sysdeps/sh/tst-audit.h: Likewise.
12154 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12155 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12156 * sysdeps/x86_64/tst-audit.h: Likewise.
12158 2012-07-26 Andreas Jaeger <aj@suse.de>
12160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12163 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12164 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12165 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12167 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12169 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12171 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12174 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12176 (si_call_addr, si_syscall, si_arch): Define new macro.
12177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12179 (si_call_addr, si_syscall, si_arch): Define new marcro.
12180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12182 (si_call_addr, si_syscall, si_arch): Define new macro.
12183 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12185 (si_call_addr, si_syscall, si_arch): Define new macro.
12187 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12191 Change to 2.4.21 where previously 2.4.1.
12192 * sysdeps/unix/sysv/linux/configure: Regenerated.
12193 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12194 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12195 Linux kernel version.
12196 (__ASSUME_STD_AUXV): Remove.
12197 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12199 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12200 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12201 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12202 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12203 (__ASSUME_NETLINK_SUPPORT): Likewise.
12204 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12205 (__no_netlink_support): Remove conditional definition.
12206 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12208 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12209 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12210 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12211 (if_nameindex_ioctl): Remove.
12212 (if_nameindex_netlink): Do not handle __no_netlink_support.
12213 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12215 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12216 Remove conditional code.
12217 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12219 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12221 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12222 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12223 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12225 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12226 [!__ASSUME_STD_AUXV]: Remove conditional code.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12228 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12229 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12231 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12232 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12234 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12236 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12237 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12239 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12241 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12244 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12247 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12248 code unconditional.
12249 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12251 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12253 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12256 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12258 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12261 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12262 code unconditional.
12263 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12265 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12267 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12270 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12271 code unconditional.
12272 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12274 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12276 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12279 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12281 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12282 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12283 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12284 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12285 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12286 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12288 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12289 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12290 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12291 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12292 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12293 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12294 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12296 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12297 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12298 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12299 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12301 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12302 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12305 2012-07-25 Florian Weimer <fweimer@redhat.com>
12307 * Versions.def: Add GLIBC_2.17.
12308 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12309 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12310 Introduce __libc_secure_getenv.
12311 * stdlib/Versions (2.17): Add secure_getenv
12312 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12313 * stdlib/secure-getenv.c: Rename __secure_getenv to
12314 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12315 symbol __secure_getenv for GLIBC_2.0.
12316 * stdlib/tst-secure-getenv.c: New.
12317 * stdlib/Makefile (tests): Add testcase.
12318 * manual/startup.texi (Environment Access): Document
12320 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12321 __libc_secure_getenv.
12322 * inet/ruserpass.c (ruserpass): Likewise.
12323 * malloc/mtrace.c (mtrace): Likewise.
12324 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
12325 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12326 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12327 * sysdeps/posix/tempname.c: Likewise. Evaluate
12328 HAVE_SECURE_GETENV.
12329 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
12330 __secure_getenv to __libc_secure_getenv.
12331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12344 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12346 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12347 (struct La_i86_retval): Likewise.
12348 (struct La_x86_64_regs): Likewise.
12349 (struct La_x86_64_retval): Likewise.
12350 (struct La_x32_regs): Likewise.
12351 (struct La_x32_retval): Likewise.
12352 (struct La_ppc32_regs): Likewise.
12353 (struct La_ppc32_retval): Likewise.
12354 (struct La_ppc64_regs): Likewise.
12355 (struct La_ppc64_retval): Likewise.
12356 (struct La_sh_regs): Likewise.
12357 (struct La_sh_retval): Likewise.
12358 (struct La_s390_32_regs): Likewise.
12359 (struct La_s390_32_retval): Likewise.
12360 (struct La_s390_64_regs): Likewise.
12361 (struct La_s390_64_retval): Likewise.
12362 (struct La_sparc32_regs): Likewise.
12363 (struct La_sparc32_retval): Likewise.
12364 (struct La_sparc64_regs): Likewise.
12365 (struct La_sparc64_retval): Likewise.
12366 (struct audit_ifaces): Remove architecture-specific pltenter and
12368 * sysdeps/i386/ldsodefs.h: New file.
12369 * sysdeps/powerpc/ldsodefs.h: Likewise.
12370 * sysdeps/s390/ldsodefs.h: Likewise.
12371 * sysdeps/sh/ldsodefs.h: Likewise.
12372 * sysdeps/sparc/ldsodefs.h: Likewise.
12373 * sysdeps/x86_64/ldsodefs.h: Likewise.
12375 2012-07-25 Marek Polacek <polacek@redhat.com>
12378 * math/libm-test.inc (yn_test): Add another test.
12379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12380 to ERANGE when the result is +-Inf.
12381 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12382 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12383 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12384 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12386 2012-07-24 Joseph Myers <joseph@codesourcery.com>
12388 * conform/data/time.h-data (NULL): Use macro-constant. Require
12390 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12392 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12394 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12396 * configure.in <sysdeps resolving>: Correct printing
12398 * configure: Regenerate.
12400 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12402 * math/w_ilogb.c: Include <limits.h>.
12403 * math/w_ilogbl.c: Likewise.
12405 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12407 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12408 va_copy. Document allowing for unavailable va_copy only as
12409 pre-C99 compatibility.
12410 * manual/string.texi (Copying and Concatenation): Use va_copy
12411 instead of __va_copy in concat example.
12413 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12415 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12416 (__sendto): Use create_address_port. Initialize APORT and deallocate
12419 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12420 with O_NOLINK passed to __file_name_lookup.
12422 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12423 with O_NOLINK passed to __file_name_lookup.
12425 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12426 negative N or less than NGIDS.
12428 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12429 type to string_t. Set ERANGE as errno and return it if NAME is not big
12430 enough. Use memcpy instead of strncpy.
12432 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12434 * elf/Makefile (check-data): Remove.
12435 (localplt.data): New vpath directive.
12436 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12437 instead of $(check-data).
12438 * scripts/data/localplt-generic.data: Move to ...
12439 * sysdeps/generic/localplt.data: ... here.
12440 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12441 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12442 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12445 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12448 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12451 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12454 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12457 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12461 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12463 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12464 PPC32 and PPC64 files.
12465 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12466 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12468 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12470 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12471 __makecontext_ret to ...
12472 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12473 ... here and call exit if uc_link is NULL. New file.
12474 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12475 __makecontext_ret.S.
12476 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12477 __makecontext_ret to ...
12478 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12479 ... here and call exit if uc_link is NULL. New file.
12480 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12481 __makecontext_ret.S.
12483 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12485 * elf/elf.h (R_390_IRELATIVE): New definition.
12486 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12487 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12488 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12490 (elf_machine_lazy_rel): Likewise.
12491 * sysdeps/s390/dl-irel.h: New file.
12492 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12493 * sysdeps/s390/s390-64/memset.S: New asm code.
12494 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12495 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12496 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12497 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12498 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12499 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12501 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12502 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12503 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12504 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12505 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12506 * sysdeps/s390/s390-32/memset.S: New asm code.
12507 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12509 2012-07-17 Marek Polacek <polacek@redhat.com>
12512 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12513 * sysdeps/s390/s390-64/configure.in: Likewise.
12514 * sysdeps/sparc/configure.in: Likewise.
12515 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12516 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12517 * sysdeps/i386/configure.in: Likewise.
12518 * sysdeps/x86_64/configure.in: Likewise.
12519 * sysdeps/sh/configure.in: Likewise.
12520 * sysdeps/s390/s390-32/configure: Regenerated.
12521 * sysdeps/s390/s390-64/configure: Likewise.
12522 * sysdeps/x86_64/configure: Likewise.
12523 * sysdeps/sh/configure: Likewise.
12524 * sysdeps/powerpc/powerpc64/configure: Likewise.
12525 * sysdeps/powerpc/powerpc32/configure: Likewise.
12526 * sysdeps/sparc/configure: Likwise.
12527 * sysdeps/i386/configure: Likewise.
12529 * elf/dl-open.c: Comment fixes.
12531 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12533 * Makefile [CXX] (check-data): Remove.
12534 [CXX] (c++-types.data): New vpath directive.
12535 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12536 vpath. Do not allow for C++ type data being missing.
12537 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12538 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12539 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12540 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12541 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12542 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12543 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12546 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12549 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12552 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12555 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12558 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12561 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12564 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12567 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12568 definitions to architecture-specific files.
12569 (TLS_IE): Likewise.
12570 (TLS_LD): Likewise.
12571 (TLS_GD): Likewise.
12572 * sysdeps/i386/tls-macros.h: New file.
12573 * sysdeps/powerpc/tls-macros.h: Likewise.
12574 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12575 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12576 * sysdeps/sh/tls-macros.h: Likewise.
12577 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12578 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12579 * sysdeps/x86_64/tls-macros.h: Likewise.
12581 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12583 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12584 zero value for regular exit case.
12586 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12587 (__start_context): Preserve zero value for regular exit case.
12589 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12590 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12592 * manual/setjmp.texi (setcontext): Clarify normal process
12593 termination when uc_link is the null pointer.
12594 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12597 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12599 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12600 preprocessor. Test for each exception mask separately.
12602 2012-07-16 Andreas Jaeger <aj@suse.de>
12604 * po/ru.po: Update from translation team.
12606 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12608 * conform/data/string.h-data (NULL): Use macro-constant. Require
12610 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12611 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12612 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12613 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12616 2012-07-13 Andreas Jaeger <aj@suse.de>
12618 * po/fr.po: Update from translation team.
12620 2012-07-12 Marek Polacek <polacek@redhat.com>
12623 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12624 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12627 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12631 Change to 2.4.1 where previously 2.4.0.
12632 * sysdeps/unix/sysv/linux/configure: Regenerated.
12633 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12634 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12636 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12637 (__ASSUME_AT_CLKTCK): Remove.
12638 (__ASSUME_AT_PAGESIZE): Likewise.
12639 (__ASSUME_AT_XID): Likewise.
12640 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12641 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12642 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12644 (HAVE_AUX_PAGESIZE): Likewise.
12645 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12646 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12647 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12649 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12653 the temporary buffer used to invoke __gethostbyname2_r,
12654 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12655 host_data / struct gaih_addrtuple.
12656 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12657 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12658 header file nss/nsswitch.h.
12659 * nss/nsswitch.h (global scope): Add definition of implementation
12660 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12661 resolv/nss_dns/dns-host.c).
12663 2012-07-11 Andreas Jaeger <aj@suse.de>
12665 * po/fr.po: Update from translation team.
12667 * po/sv.po: Update from translation team
12668 * po/fr.po: Another update from translation team.
12670 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12672 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12673 for subnormals or multiply small sinh result by itself.
12674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12677 2012-07-11 David S. Miller <davem@davemloft.net>
12679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12681 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12684 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12685 (INTERNAL_MARK): Shift it here.
12687 2012-07-10 Marek Polacek <polacek@redhat.com>
12690 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12691 libc_cv_asm_global_directive with .globl.
12692 * configure: Regenerated.
12693 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12695 * sysdeps/i386/configure: Regenerated.
12696 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12698 * sysdeps/x86_64/configure: Regenerated.
12699 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12700 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12701 * elf/tst-unique2mod2.c: Likewise.
12702 * elf/tst-unique2mod1.c: Likewise.
12703 * elf/tst-unique1mod2.c: Likewise.
12704 * elf/tst-unique1mod1.c: Likewise.
12705 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12706 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12708 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12709 * sysdeps/mach/sysdep.h: Likewise.
12710 * sysdeps/i386/sysdep.h: Likewise.
12711 * sysdeps/i386/i386-mcount.S: Likewise.
12712 * sysdeps/x86_64/_mcount.S: Likewise.
12713 * sysdeps/x86_64/sysdep.h: Likewise.
12714 * sysdeps/sh/_mcount.S: Likewise.
12715 * sysdeps/sh/sysdep.h: Likewise.
12716 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12717 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12718 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12719 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12720 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12721 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12722 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12723 * locale/localeinfo.h: Likewise.
12724 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12725 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12727 2012-07-09 Roland McGrath <roland@hack.frob.com>
12730 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12732 * manual/message.texi (The Uniforum approach): Likewise.
12733 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12734 (glibc iconv Implementation): Likewise.
12736 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12739 * math/s_clog.c (__clog): Avoid scaling a value down where that
12740 could result in underflow.
12741 * math/s_clog10.c (__clog10): Likewise.
12742 * math/s_clog10f.c (__clog10f): Likewise.
12743 * math/s_clog10l.c (__clog10l): Likewise.
12744 * math/s_clogf.c (__clogf): Likewise.
12745 * math/s_clogl.c (__clogl): Likewise.
12746 * math/libm-test.inc (clog_test): Add more tests.
12747 (clog10_test): Likewise.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12751 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12754 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12755 by 7 not 8 to examine high bit of fractional part.
12758 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12759 for call to __mcount_internal.
12760 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12761 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12762 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12764 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12767 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12768 approximation for values within 0x1p-13f of an odd multiple of
12770 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12771 exception. Add more tests.
12772 * sysdeps/i386/fpu/libm-test-ulps: Update.
12775 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12776 inputs and return -1 for them. Do not check for +Inf in case not
12777 reachable for +Inf.
12778 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12779 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12780 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12781 and return -1 for them. Do not check for +Inf in case not
12782 reachable for +Inf.
12783 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12785 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12786 and return -1 for them. Do not check for +Inf in case not
12787 reachable for +Inf.
12788 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12789 spurious underflow.
12790 * sysdeps/i386/fpu/libm-test-ulps: Update.
12791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12793 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12795 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12797 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12801 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12802 could result in spurious underflow. Scale down values above
12803 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12804 * math/s_csqrtf.c (__csqrtf): Likewise.
12805 * math/s_csqrtl.c (__csqrtl): Likewise.
12806 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12807 spurious underflow.
12808 * sysdeps/i386/fpu/libm-test-ulps: Update.
12809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12811 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12813 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12815 * catgets/xopen-msg.awk: New file.
12816 * catgets/xopen-msg.sed: Removed.
12818 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12820 * intl/po2test.awk: New file.
12821 * intl/po2test.sed: Removed.
12823 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12826 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12827 or multiply small sinh result by itself.
12828 * math/s_ctanf.c (__ctanf): Likewise.
12829 * math/s_ctanh.c (__ctanh): Likewise.
12830 * math/s_ctanhf.c (__ctanhf): Likewise.
12831 * math/s_ctanhl.c (__ctanhl): Likewise.
12832 * math/s_ctanl.c (__ctanl): Likewise.
12833 * math/libm-test.inc (ctan_test_tonearest): New function.
12834 (ctan_test_towardzero): Likewise.
12835 (ctan_test_downward): Likewise.
12836 (ctan_test_upward): Likewise.
12837 (ctanh_test_tonearest): Likewise.
12838 (ctanh_test_towardzero): Likewise.
12839 (ctanh_test_downward): Likewise.
12840 (ctanh_test_upward): Likewise.
12841 (main): Call these new functions.
12842 * sysdeps/i386/fpu/libm-test-ulps: Update.
12843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12845 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12847 * .gitignore: Delete /ports entry.
12849 2012-07-03 Andreas Jaeger <aj@suse.de>
12851 * po/bg.po: Update from translation team.
12852 * po/cs.po: Likewise.
12853 * po/de.po: Likewise.
12854 * po/hr.po: Likewise.
12855 * po/nl.pl: Likewise.
12856 * po/pl.po: Likewise.
12857 * po/vi.po: Likewise.
12859 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12861 * Makeconfig [!+link] (+link-before-libc): New variable.
12862 [!+link] (+link-after-libc): Likewise.
12863 [!+link] (+link-tests): Likewise.
12864 [!+link] (+link): Define in terms of $(+link-before-libc) and
12865 $(+link-after-libc).
12866 [!+link-static] (+link-static-before-libc): New variable.
12867 [!+link-static] (+link-static-after-libc): Likewise.
12868 [!+link-static] (+link-static-tests): Likewise.
12869 [!+link-static] (+link-static): Define in terms of
12870 $(+link-static-before-libc) and $(+link-static-after-libc).
12871 [build-shared] (link-libc-before-gnulib): New variable.
12872 [build-shared] (link-libc-tests): Likewise.
12873 [build-shared] (link-libc): Define in terms of
12874 $(link-libc-before-gnulib).
12875 [!build-shared] (link-libc-tests): New variable.
12876 (link-libc-static-tests): New variable.
12877 [!gnulib] (gnulib-arch): New variable.
12878 [!gnulib] (gnulib-tests): Likewise.
12879 [!gnulib] (static-gnulib-arch): Likewise.
12880 [!gnulib] (static-gnulib-tests): Likewise.
12881 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12882 Define with "=" instead of ":=".
12883 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12884 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12885 * Rules (binaries-all-notests): New variable.
12886 (binaries-all-tests): Likewise.
12887 (binaries-static-notests): Likewise.
12888 (binaries-static-tests): Likewise.
12889 (binaries-all): Define using $(binaries-all-notests) and
12890 $(binaries-all-tests).
12891 (binaries-static): Define using $(binaries-static-notests) and
12892 $(binaries-static-tests).
12893 (binaries-shared-tests): New variable.
12894 (binaries-shared-notests): Likewise.
12895 (binaries-shared): Remove variable.
12896 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12897 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12898 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12899 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12900 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12901 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12902 * elf/Makefile (sln-modules): New variable.
12903 (extra-objs): Add $(sln-modules:=.o).
12904 (ldconfig-modules): Add static-stubs.
12905 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12906 * elf/static-stubs.c: New file.
12909 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12910 by 7 not 8 to examine high bit of fractional part. Use volatile
12911 variables when splitting into final array of floats if
12912 __FLT_EVAL_METHOD__ != 0.
12913 * math/libm-test.inc (cos_test): Add another test.
12914 (sin_test): Likewise.
12915 * sysdeps/i386/fpu/libm-test-ulps: Update.
12918 * math/libm-test.inc (cosh_test): Add more tests.
12920 * version.h (RELEASE): Set to "development".
12921 (VERSION): Set to "2.16.90".
12923 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12925 * NEWS: Update copyright. Remove last-updated date.
12926 Mention math library bug fixes and timezone data changes.
12927 * README: Mention GNU/Hurd, x32, and HPPA support status.
12929 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12931 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12933 2012-06-27 Andreas Jaeger <aj@suse.de>
12935 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12937 2012-06-25 Andreas Jaeger <aj@suse.de>
12939 * sysdeps/s390/fpu/libm-test-ulps: Update.
12941 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12942 Thomas Schwinge <thomas@codesourcery.com>
12944 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12945 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12949 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12951 * sysdeps/mach/start.c: Remove file.
12952 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12953 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12954 * sysdeps/sh/init-first.c: Likewise.
12956 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12957 registers for frame unwinding purposes, add CFI directives.
12958 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12960 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12963 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12964 __fortify_fail returning.
12965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12967 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12968 sysdeps/sh/____longjmp_chk.S.
12969 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12970 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12971 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12972 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12974 * sysdeps/sh/abort-instr.h: New file.
12975 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12976 process in case exit returns.
12978 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12979 initialize the GOT register before use.
12981 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12982 calculation of ARGC > 4.
12984 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12985 meaningful names to some local labels.
12987 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12988 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12990 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12991 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12992 (__arch_compare_and_exchange_val_16_acq): Likewise.
12993 (__arch_compare_and_exchange_val_32_acq): Likewise.
12994 (atomic_exchange_and_add): Fix gUSA sequence.
12995 (atomic_add): Likewise.
12996 (atomic_add_negative): Likewise.
12997 (atomic_add_zero): Likewise.
12998 (atomic_bit_test_set): Likewise.
13000 2012-06-22 Andreas Schwab <schwab@redhat.com>
13003 * include/link.h (struct link_map): Add l_free_initfini.
13004 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13006 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13007 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13008 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13011 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13013 * configure.in: Use AC_LANG_SOURCE.
13014 * configure: Regenerate.
13016 2012-06-22 Roland McGrath <roland@hack.frob.com>
13018 * configure.in (libc_cv_localstatedir): New substituted variable.
13019 * configure: Regenerated.
13020 * config.make.in (localstatedir): New variable, substituted from
13021 libc_cv_localstatedir.
13022 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13023 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13024 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13025 * sysdeps/gnu/configure: Regenerated.
13027 2012-06-21 Jeff Law <law@redhat.com>
13030 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13031 free. Simplify list management for _LIBC case.
13033 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13036 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13037 Clear sign bit of 64-bit integer value before comparing against
13040 * sysdeps/mach/configure: Regenerated.
13042 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13045 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13047 2012-06-21 Jeff Law <law@redhat.com>
13050 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13051 uint16_t for elements in the "seen" array to avoid char overflows.
13052 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13053 * elf/dl-open.c (dl_open_worker): Likewise.
13055 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13057 * scripts/list-sources.sh: Scan PORTS for translations.
13058 * po/libc.pot: Regenerated.
13060 2012-06-21 Andreas Jaeger <aj@suse.de>
13063 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13065 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13066 * bits/byteswap-16.h (__bswap_16): Likewise.
13067 * bits/byteswap.h (__bswap_constant_16): Likewise.
13069 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13072 * sysdeps/i386/fpu_control.h: Removed.
13073 * sysdeps/x86_64/fpu_control.h: Moved to ...
13074 * sysdeps/x86/fpu_control.h: Here.
13076 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13077 (_FPU_SETCW): Likewise.
13079 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13082 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13083 * sysdeps/x86/fpu/bits/mathinline.h: This.
13084 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13088 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13089 functions if __x86_64__ is defined.
13091 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13093 * string/endian.h: Add !__ASSEMBLER__ condition for including
13094 conversion interfaces.
13096 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13100 of ABS(x) in calculating zero to negative powers other than odd
13102 * math/libm-test.inc (pow_test): Add more tests.
13104 2012-06-15 Andreas Jaeger <aj@suse.de>
13106 * manual/contrib.texi (Contributors): Update entry of Liubov
13107 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13110 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13112 * string/string.h: Add __wur to GNU version of strerror_r.
13114 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13117 * string/Makefile (tests): Add tst-strtok_r.
13118 * string/tst-strtok_r.c: New file.
13119 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13120 RAX_LP/RDX_LP on SAVE_PTR.
13122 2012-06-14 Roland McGrath <roland@hack.frob.com>
13124 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13126 2012-06-14 Joseph Myers <joseph@codesourcery.com>
13128 * libm_test.inc (csqrt_test): Allow more spurious underflow
13130 (j0_test): Likewise.
13131 (j1_test): Likewise.
13132 (y0_test): Likewise.
13133 (y1_test): Likewise.
13135 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13137 * po/Makefile (libc.pot): Use UTF-8 charset.
13139 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13142 Suppress sign-conversion warning from FD_SET.
13143 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13144 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13145 not unsigned long int.
13146 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13148 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13152 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13153 __extern_always_inline instead of __extern_inline.
13154 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13155 (__signbit): Likewise.
13156 (__signbitl): Support C++ namespace.
13157 (lrintf): New inline function.
13159 (llrintf): Likewise.
13160 (llrint): Likewise.
13170 (floorf): Likewise.
13171 (nearbyint): Likewise.
13172 (nearbyintf): Likewise.
13174 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13177 non-default versions.
13179 2012-06-11 Roland McGrath <roland@hack.frob.com>
13182 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13184 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13186 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13187 (FE_UPWARD, FE_DOWNWARD): Don't define.
13188 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13189 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13191 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13193 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13194 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13196 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13198 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13201 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13203 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13206 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13207 * sysdeps/i386/fpu/Implies: New file.
13208 * sysdeps/x86_64/fpu/Implies: Likewise.
13209 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13210 * sysdeps/x86/fpu/bits/fenv.h: This.
13212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13215 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13218 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13219 character 0xffff that matches the last element of the
13222 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13227 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13230 values higher than 25.6283.
13232 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13235 subnormal exponent extraction and add some __builtin_expect.
13236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13237 Fix for subnormal mantissa calculation.
13239 2012-06-04 Mike Frysinger <vapier@gentoo.org>
13241 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13242 cpu2 is -1 and errno is not ENOSYS.
13244 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13247 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13248 * sysdeps/x86/bits/string.h: This.
13249 * sysdeps/x86_64/bits/string.h: Removed.
13251 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13252 if not compiling for x86-64, but compiling for >= i486.
13254 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13255 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13257 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13258 New macro from Linux kernel 3.4.0.
13259 (FP_XSTATE_MAGIC2): Likewise.
13260 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13261 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13262 (struct _fpx_sw_bytes): New struct.
13263 (struct _xsave_hdr): Likewise.
13264 (struct _ymmh_state): Likewise.
13265 (struct _xstate): Likewise.
13267 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13268 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13270 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13272 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13274 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13275 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13276 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13277 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13278 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13279 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13281 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13284 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13285 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13286 (sysdep_headers): Include sys/platform/ppc.h.
13287 * sysdeps/powerpc/test-gettimebase.c: Test for
13288 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13289 * manual/Makefile (appendices): Include platform.texi.
13290 * manual/contrib.texi (Contributors): Update @node pointers.
13291 * manual/maint.texi (Maintenance): Likewise.
13292 (Platform): New node.
13293 * manual/platform.texi: New file. Document the new features.
13295 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13296 Jakub Jelinek <jakub@redhat.com>
13299 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13300 where __builtin_expect is unavailable.
13302 2012-06-03 David S. Miller <davem@davemloft.net>
13304 * stdlib/longlong.h: Updated from GCC.
13306 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13309 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13310 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13313 (GLIBC_2.16): Likewise.
13315 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13317 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13319 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13322 (default-abi): New variable.
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13324 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13326 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13328 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13330 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13333 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13334 definition. Document in comment.
13336 2012-06-01 David S. Miller <davem@davemloft.net>
13338 * stdlib/longlong.h: Updated from GCC.
13340 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13343 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13344 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13345 sys/debugreg.h sys/io.h here.
13346 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13347 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13349 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13350 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13351 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13352 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13353 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13354 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13357 Define only if __x86_64__ is defined.
13359 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13362 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13363 Use int64_t for variable i.
13364 * math/libm-test.inc (fmod_test): Add more tests.
13366 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13367 z computation is not scheduled after fetestexcept.
13368 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13369 Use math_force_eval instead of asm to ensure calculation scheduled
13370 before exception test.
13371 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13372 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13374 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13377 computation is not scheduled after fetestexcept.
13379 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13382 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13383 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13385 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13387 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13388 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13390 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13393 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13395 (__WCHAR_MIN): Support __WORDSIZE == 64.
13396 (__WCHAR_MAX): Likewise.
13398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13399 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13402 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13403 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13406 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13409 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13410 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13412 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13413 Defined to 1 if __x86_64__ isn't defined.
13414 (_STAT_VER_LINUX_OLD): New.
13415 (st_atime): Remove duplicate.
13416 (st_mtime): Likewise.
13417 (st_ctime): Likewise.
13419 2012-05-31 David S. Miller <davem@davemloft.net>
13421 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13424 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13426 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13430 * elf/dl-reloc.c: Include <_itoa.h>.
13431 (_dl_reloc_bad_type): Remove use of INTUSE.
13432 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13433 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13434 * stdio-common/psiginfo.c (psiginfo): Likewise.
13435 * stdio-common/psignal.c (psignal): Likewise.
13436 * string/strsignal.c (strsignal): Likewise.
13437 * include/signal.h (_sys_siglist): Declare hidden proto.
13438 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13439 INTVARDEF with libc_hidden_data_def.
13440 * stdio-common/itoa-udigits.c: Likewise.
13441 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13442 (_itoa_lower_digits_internal): Remove declaration.
13443 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13444 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13445 (_sys_sigabbrev_internal): Remove aliases.
13446 (_sys_siglist): Define hidden alias.
13448 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13453 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13456 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13457 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13459 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13460 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13461 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13462 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13464 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13466 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13467 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13468 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13470 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13480 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13482 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13483 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13484 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13485 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13486 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13487 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13489 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13490 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13492 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13493 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13495 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13496 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13497 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13499 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13500 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13502 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13504 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13505 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13506 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13508 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13510 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13512 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13514 * math/math.h (M_El): Use two more decimal places.
13515 (M_LOG2El): Likewise.
13516 (M_LOG10El): Likewise.
13517 (M_LN2l): Likewise.
13518 (M_LN10l): Likewise.
13520 (M_PI_2l): Likewise.
13521 (M_PI_4l): Likewise.
13522 (M_1_PIl): Likewise.
13523 (M_2_PIl): Likewise.
13524 (M_2_SQRTPIl): Likewise.
13525 (M_SQRT2l): Likewise.
13526 (M_SQRT1_2l): Likewise.
13528 2012-05-31 David S. Miller <davem@davemloft.net>
13530 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13531 values between float registers.
13532 * sysdeps/sparc/sparc64/memset.S: Likewise.
13533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13535 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13537 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13538 -D_FORTIFY_SOURCE=1.
13539 (CPPFLAGS-tst-longjmp_chk.c): Define.
13540 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13541 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13542 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13543 CFLAGS-tst-wchar-h.c.
13545 2012-05-31 Marek Polacek <polacek@redhat.com>
13548 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13549 __endmntent_internal): Remove declaration.
13550 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13551 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13552 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13554 2012-05-30 David S. Miller <davem@davemloft.net>
13556 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13557 (___Q_simulate_exceptions): Use real FP ops rather than writing
13559 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13565 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13566 * sysdeps/x86/bits/xtitypes.h: This.
13568 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13569 * sysdeps/x86/bits/wordsize.h: This.
13571 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13572 * sysdeps/x86/bits/huge_vall.h: This.
13574 * sysdeps/i386/bits/select.h: Removed.
13575 * sysdeps/x86_64/bits/select.h: Renamed to ...
13576 * sysdeps/x86/bits/select.h: This.
13578 * sysdeps/i386/bits/setjmp.h: Removed.
13579 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13580 * sysdeps/x86/bits/setjmp.h: This.
13582 * sysdeps/i386/bits/mathdef.h: Removed.
13583 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13584 * sysdeps/x86/bits/mathdef.h: This.
13586 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13589 * include/sys/socket.h (__connect_internal)
13590 (__libc_sa_len_internal): Remove declaration.
13591 (__connect, __libc_sa_len): Declare hidden_proto.
13592 (SA_LEN): Remove use of INTUSE.
13593 * socket/connect.c: Add libc_hidden_def.
13594 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13595 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13596 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13598 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13599 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13600 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13601 of adding _internal alias.
13603 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13606 * sysdeps/i386/bits/link.h: Removed.
13607 * sysdeps/i386/bits/linkmap.h: Likewise.
13608 * sysdeps/x86_64/bits/link.h: Renamed to ...
13609 * sysdeps/x86/bits/link.h: This.
13610 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13611 * sysdeps/x86/bits/linkmap.h: This.
13613 * sysdeps/i386/bits/endian.h: Removed.
13614 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13615 * sysdeps/x86/bits/endian.h: This.
13617 * sysdeps/i386/bits/byteswap.h: Removed.
13618 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13619 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13620 * sysdeps/x86/bits/byteswap.h: This.
13621 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13622 * sysdeps/x86/bits/byteswap-16.h: This.
13623 * sysdeps/i386/Implies: Add x86.
13624 * sysdeps/x86_64/Implies: Likewise.
13626 2012-05-30 David S. Miller <davem@davemloft.net>
13628 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13629 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13630 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13631 (FP_TRAPPING_EXCEPTIONS): Define.
13632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13633 (FP_TRAPPING_EXCEPTIONS): Define.
13634 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13635 subnormals only when inexact has been signalled or underflow
13636 exceptions are enabled.
13637 (_FP_PACK_CANONICAL): Likewise.
13639 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13643 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13645 2012-05-30 Richard Henderson <rth@twiddle.net>
13647 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13648 with #ifndef NOT_IN_libc.
13650 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13651 marked to avoid plt entry.
13653 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13656 * Makeconfig (default-abi): New macro.
13657 (abi-includes): Likewise.
13658 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13659 $(abi-$(default-abi)-lib-soname) for soname if defined.
13660 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13662 * Makefile (installed-stubs): Likewise.
13663 * include/stubs-biarch.h: Removed.
13664 * scripts/lib-names.awk: Only handle one library at a time.
13665 * scripts/soversions.awk: Remove WORDSIZE support.
13666 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13668 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13670 (syscall-list-default-condition): Likewise.
13671 (syscall-list-default-condition): Likewise.
13672 (syscall-list-includes): Likewise.
13673 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13674 syscall-list-* with abi-*. Handle undefined abi-variants.
13675 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13676 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13677 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13678 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13679 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13680 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13682 (syscall-list-32-options): Likewise.
13683 (syscall-list-32-condition): Likewise.
13684 (syscall-list-64-options): Likewise.
13685 (syscall-list-64-condition): Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13688 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13691 (abi-64-ld-soname): New macro.
13692 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13693 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13696 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13697 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13699 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13701 * sysdeps/unix/sysv/linux/kernel-features.h
13702 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13703 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13704 include <kernel-features.h>.
13705 [!__NR_ftruncate64]: Remove conditional code.
13706 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13707 [__NR_ftruncate64]: Make code unconditional.
13708 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13709 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13710 include <kernel-features.h>.
13711 [!__NR_ftruncate64]: Remove conditional code.
13712 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13713 [__NR_ftruncate64]: Make code unconditional.
13714 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13716 include <kernel-features.h>.
13717 [!__NR_ftruncate64]: Remove conditional code.
13718 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13719 [__NR_ftruncate64]: Make code unconditional.
13720 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13722 include <kernel-features.h>.
13723 [!__NR_ftruncate64]: Remove conditional code.
13724 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13725 [__NR_ftruncate64]: Make code unconditional.
13726 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13728 * configure.in (libc_cv_fpie): Weaken to a compile test using
13729 LIBC_TRY_CC_OPTION.
13730 * configure: Regenerated.
13732 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13747 2012-05-27 David S. Miller <davem@davemloft.net>
13749 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13751 (__Q_simulate_exceptions): Return void. Change to simulate
13752 exceptions by writing into the %fsr.
13753 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13754 (__Qp_handle_exceptions): Likewise.
13756 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13757 __Qp_handle_exceptions.
13758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13759 __Qp_handle_exceptions.
13760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13761 as unused and give dummy FP_RND_NEAREST initializer.
13762 (FP_INHIBIT_RESULTS): Define.
13763 (___Q_simulate_exceptions): Update declaration.
13764 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13766 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13767 as unused and give dummy FP_RND_NEAREST initializer.
13768 (__Qp_handle_exceptions): Update declaration.
13769 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13772 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13774 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13775 the temporary FPU control word.
13776 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13777 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13778 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13779 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13780 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13781 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13782 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13783 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13784 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13785 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13786 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13788 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13793 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13795 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13796 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13797 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13798 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13800 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13801 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13804 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13806 * po/h.po: Update from translation team.
13808 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13810 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13813 handling of denormals.
13814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13815 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13816 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13817 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13823 2012-05-26 Marek Polacek <polacek@redhat.com>
13826 * math/libm-test.inc (fma_test): Don't always expect underflow
13829 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13832 * elf/tst-execstack.c: Include stackinfo.h.
13833 (do_test): Adjust test case to ensure that pthread_getattr_np
13834 behaviour remains the same after marking stack executable.
13836 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13838 * sysdeps/unix/sysv/linux/kernel-features.h
13839 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13840 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13842 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13843 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13844 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13846 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13847 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13849 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13851 * configure.in: Define the default includes to being none.
13852 * configure: Regenerated.
13854 2012-05-25 Roland McGrath <roland@hack.frob.com>
13856 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13857 * sysdeps/x86_64/setjmp.S: Likewise.
13858 * sysdeps/i386/bsd-setjmp.S: Likewise.
13859 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13860 * sysdeps/i386/setjmp.S: Likewise.
13861 * sysdeps/i386/__longjmp.S: Likewise.
13862 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13863 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13865 * include/stap-probe.h: New file.
13866 * configure.in: Handle --enable-systemtap.
13867 * configure: Regenerated.
13868 * config.h.in (USE_STAP_PROBE): New #undef.
13869 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13870 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13871 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13873 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13877 to 2.4.0 where earlier.
13878 * sysdeps/unix/sysv/linux/configure: Regenerated.
13879 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13880 <kernel-features.h>.
13881 [__ASSUME_32BITUIDS]: Make code unconditional.
13882 [!__ASSUME_32BITUIDS]: Remove conditional code.
13883 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13884 <kernel-features.h>.
13885 [__ASSUME_32BITUIDS]: Make code unconditional.
13886 [!__ASSUME_32BITUIDS]: Remove conditional code.
13887 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13888 [__ASSUME_32BITUIDS]: Make code unconditional.
13889 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13890 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13891 <kernel-features.h>.
13892 [__ASSUME_32BITUIDS]: Make code unconditional.
13893 [!__ASSUME_32BITUIDS]: Remove conditional code.
13894 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13895 <kernel-features.h>.
13896 [__ASSUME_32BITUIDS]: Make code unconditional.
13897 [!__ASSUME_32BITUIDS]: Remove conditional code.
13898 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13899 <kernel-features.h>.
13900 [__ASSUME_32BITUIDS]: Make code unconditional.
13901 [!__ASSUME_32BITUIDS]: Remove conditional code.
13902 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13903 <kernel-features.h>.
13904 [__ASSUME_32BITUIDS]: Make code unconditional.
13905 [!__ASSUME_32BITUIDS]: Remove conditional code.
13906 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13907 <kernel-features.h>.
13908 [__ASSUME_32BITUIDS]: Make code unconditional.
13909 [!__ASSUME_32BITUIDS]: Remove conditional code.
13910 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13911 <kernel-features.h>.
13912 [__ASSUME_32BITUIDS]: Make code unconditional.
13913 [!__ASSUME_32BITUIDS]: Remove conditional code.
13914 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13915 <kernel-features.h>.
13916 [__ASSUME_32BITUIDS]: Make code unconditional.
13917 [!__ASSUME_32BITUIDS]: Remove conditional code.
13918 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13919 <kernel-features.h>.
13920 [__ASSUME_32BITUIDS]: Make code unconditional.
13921 [!__ASSUME_32BITUIDS]: Remove conditional code.
13922 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13923 <kernel-features.h>.
13924 [__ASSUME_32BITUIDS]: Make code unconditional.
13925 [!__ASSUME_32BITUIDS]: Remove conditional code.
13926 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13927 <kernel-features.h>.
13928 [__ASSUME_32BITUIDS]: Make code unconditional.
13929 [!__ASSUME_32BITUIDS]: Remove conditional code.
13930 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13931 <kernel-features.h>.
13932 [__NR_setresgid] (__setresgid): Do not declare.
13933 [__ASSUME_32BITUIDS]: Make code unconditional.
13934 [!__ASSUME_32BITUIDS]: Remove conditional code.
13935 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13936 <kernel-features.h>.
13937 [__NR_setresuid] (__setresuid): Do not declare.
13938 [__ASSUME_32BITUIDS]: Make code unconditional.
13939 [!__ASSUME_32BITUIDS]: Remove conditional code.
13940 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13941 <kernel-features.h>.
13942 [__ASSUME_32BITUIDS]: Make code unconditional.
13943 [!__ASSUME_32BITUIDS]: Remove conditional code.
13944 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13945 <kernel-features.h>.
13946 [__ASSUME_32BITUIDS]: Make code unconditional.
13947 [!__ASSUME_32BITUIDS]: Remove conditional code.
13948 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13949 <kernel-features.h>.
13950 [__ASSUME_32BITUIDS]: Make code unconditional.
13951 [!__ASSUME_32BITUIDS]: Remove conditional code.
13952 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13953 <kernel-features.h>.
13954 [__ASSUME_32BITUIDS]: Make code unconditional.
13955 [!__ASSUME_32BITUIDS]: Remove conditional code.
13956 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13957 <kernel-features.h>.
13958 [__ASSUME_32BITUIDS]: Make code unconditional.
13959 [!__ASSUME_32BITUIDS]: Remove conditional code.
13960 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13961 <kernel-features.h>.
13962 [__ASSUME_32BITUIDS]: Make code unconditional.
13963 [!__ASSUME_32BITUIDS]: Remove conditional code.
13964 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13965 <kernel-features.h>.
13966 [__ASSUME_32BITUIDS]: Make code unconditional.
13967 [!__ASSUME_32BITUIDS]: Remove conditional code.
13968 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13969 <kernel-features.h>.
13970 [__ASSUME_32BITUIDS]: Make code unconditional.
13971 [!__ASSUME_32BITUIDS]: Remove conditional code.
13972 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13973 <kernel-features.h>.
13974 [__ASSUME_32BITUIDS]: Make code unconditional.
13975 [!__ASSUME_32BITUIDS]: Remove conditional code.
13976 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13977 <kernel-features.h>.
13978 [__ASSUME_32BITUIDS]: Make code unconditional.
13979 [!__ASSUME_32BITUIDS]: Remove conditional code.
13980 * sysdeps/unix/sysv/linux/kernel-features.h
13981 (__ASSUME_SETRESUID_SYSCALL): Remove.
13982 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13983 (__ASSUME_32BITUIDS): Likewise.
13984 (__ASSUME_LDT_WORKS): Likewise.
13985 (__ASSUME_O_DIRECTORY): Likewise.
13986 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13987 architecture but not kernel version.
13988 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13989 (__ASSUME_MMAP2_SYSCALL): Likewise.
13990 (__ASSUME_STAT64_SYSCALL): Likewise.
13991 (__ASSUME_IPC64): Likewise.
13992 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13993 <kernel-features.h>.
13994 [__ASSUME_32BITUIDS]: Make code unconditional.
13995 [!__ASSUME_32BITUIDS]: Remove conditional code.
13996 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13997 <kernel-features.h>.
13998 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13999 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14000 132096]: Remove conditional code.
14001 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14003 <kernel-features.h>.
14004 [__ASSUME_32BITUIDS]: Make code unconditional.
14005 [!__ASSUME_32BITUIDS]: Remove conditional code.
14006 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14007 <kernel-features.h>.
14008 [__ASSUME_32BITUIDS]: Make code unconditional.
14009 [!__ASSUME_32BITUIDS]: Remove conditional code.
14010 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14011 <kernel-features.h>.
14012 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14014 (__setresgid): Do not declare.
14015 [__ASSUME_32BITUIDS]: Make code unconditional.
14016 [!__ASSUME_32BITUIDS]: Remove conditional code.
14017 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14018 <kernel-features.h>.
14019 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14021 (__setresuid): Do not declare.
14022 [__ASSUME_32BITUIDS]: Make code unconditional.
14023 [!__ASSUME_32BITUIDS]: Remove conditional code.
14024 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14025 <kernel-features.h>.
14026 [__ASSUME_32BITUIDS]: Make code unconditional.
14027 [!__ASSUME_32BITUIDS]: Remove conditional code.
14028 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14029 <kernel-features.h>.
14030 [__ASSUME_32BITUIDS]: Make code unconditional.
14031 [!__ASSUME_32BITUIDS]: Remove conditional code.
14033 2012-05-25 Richard Henderson <rth@twiddle.net>
14035 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14036 dl_hwcap to ifunc resolver.
14037 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14039 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14040 dl_hwcap to ifunc resolver.
14041 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14043 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14046 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14047 for |x| <= 2**-26, not 2**-57.
14048 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14051 2012-05-24 Jeff Law <law@redhat.com>
14053 * stdio-common/Makefile (tests): Add bug25.
14054 * stdio-common/bug25.c: New test.
14056 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14059 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14060 multiple of MALLOC_ALIGNMENT in size.
14061 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14063 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14065 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14067 (FILENAME_MAX): Use macro-int-constant.
14068 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14069 (_IOFBF): Use macro-int-constant.
14070 (_IOLBF): Likewise.
14071 (_IONBF): Likewise.
14072 (SEEK_CUR): Likewise.
14073 (SEEK_END): Likewise.
14074 (SEEK_SET): Likewise.
14075 (TMP_MAX): Likewise.
14076 (EOF): Use macro-int-constant. Require < 0.
14077 (NULL): Use macro-constant. Require == 0.
14078 (stdin): Require type to be FILE *.
14079 (stdout): Likewise.
14080 (stderr): Likewise.
14081 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14082 macro-int-constant.
14083 (EXIT_SUCCESS): Likewise.
14084 (NULL): Use macro-constant. Require == 0.
14085 (RAND_MAX): Use macro-int-constant.
14086 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14087 [C99-based standards] (strtof): Require function.
14088 [C99-based standards] (strtold): Likewise.
14089 [C99-based standards] (strtoll): Likewise.
14090 [C99-based standards] (strtoull): Likewise.
14091 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14092 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14093 [ISO || ISO99 || ISO11] (math.h): Likewise.
14094 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14095 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14098 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14101 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14102 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14103 * intl/dgettext.c (DCGETTEXT): Likewise.
14104 * intl/gettext.c (DCGETTEXT): Likewise.
14105 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14106 * posix/regex_internal.h (gettext): Likewise.
14107 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14108 Remove declaration.
14109 * include/argz.h (__argz_count_internal)
14110 (__argz_stringify_internal): Remove declaration.
14111 (__argz_count, __argz_stringify): Declare hidden proto.
14112 * intl/dcgettext.c: Remove use of INTDEF.
14113 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14114 * string/argz-stringify.c: Likewise.
14115 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14116 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14117 Declare hidden proto.
14118 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14119 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14120 Declare hidden proto.
14121 * include/stdio.h (__asprintf_internal): Don't declare.
14122 (__asprintf): Don't define as macro. Declare hidden proto.
14123 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14124 (__fsetlocking): Declare hidden proto.
14125 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14126 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14128 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14129 (_IO_setlinebuf): Remove use of INTUSE.
14130 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14131 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14132 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14133 Remove declaration.
14134 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14135 (_IO_do_flush): Remove use of INTUSE.
14136 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14137 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14138 (_IO_adjust_column, _IO_least_wmarker)
14139 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14140 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14141 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14142 (_IO_default_doallocate, _IO_wdefault_doallocate)
14143 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14144 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14145 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14146 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14147 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14148 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14149 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14150 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14151 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14152 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14153 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14154 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14155 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14157 (_IO_flush_all_internal, _IO_adjust_column_internal)
14158 (_IO_default_uflow_internal, _IO_default_finish_internal)
14159 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14160 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14161 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14162 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14163 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14164 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14165 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14166 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14167 (_IO_file_close_internal, _IO_file_close_it_internal)
14168 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14169 (_IO_file_init_internal, _IO_file_attach_internal)
14170 (_IO_file_fopen_internal, _IO_file_read_internal)
14171 (_IO_file_sync_internal, _IO_file_seek_internal)
14172 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14173 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14174 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14175 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14176 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14177 (_IO_list_all_internal, _IO_link_in_internal)
14178 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14179 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14180 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14181 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14182 (_IO_do_write_internal, _IO_padn_internal)
14183 (_IO_getline_info_internal, _IO_getline_internal)
14184 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14185 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14186 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14187 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14188 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14189 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14190 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14191 with libc_hidden_ver, remove use of INTUSE.
14192 * libio/genops.c: Likewise.
14193 * libio/freopen.c: Likewise.
14194 * libio/freopen64.c: Likewise.
14195 * libio/iofclose.c: Likewise.
14196 * libio/iofdopen.c: Likewise.
14197 * libio/iofflush.c: Likewise.
14198 * libio/iofflush_u.c: Likewise.
14199 * libio/iofgets.c: Likewise.
14200 * libio/iofgets_u.c: Likewise.
14201 * libio/iofopen.c: Likewise.
14202 * libio/iofopncook.c: Likewise.
14203 * libio/iofread.c: Likewise.
14204 * libio/iofread_u.c: Likewise.
14205 * libio/ioftell.c: Likewise.
14206 * libio/iofwrite.c: Likewise.
14207 * libio/iogetline.c: Likewise.
14208 * libio/iogets.c: Likewise.
14209 * libio/iogetwline.c: Likewise.
14210 * libio/iopadn.c: Likewise.
14211 * libio/iopopen.c: Likewise.
14212 * libio/ioseekoff.c: Likewise.
14213 * libio/ioseekpos.c: Likewise.
14214 * libio/iosetbuffer.c: Likewise.
14215 * libio/iosetvbuf.c: Likewise.
14216 * libio/ioungetc.c: Likewise.
14217 * libio/ioungetwc.c: Likewise.
14218 * libio/iovdprintf.c: Likewise.
14219 * libio/iovsprintf.c: Likewise.
14220 * libio/iovsscanf.c: Likewise.
14221 * libio/memstream.c: Likewise.
14222 * libio/obprintf.c: Likewise.
14223 * libio/oldfileops.c: Likewise.
14224 * libio/oldiofclose.c: Likewise.
14225 * libio/oldiofdopen.c: Likewise.
14226 * libio/oldiofopen.c: Likewise.
14227 * libio/oldiopopen.c: Likewise.
14228 * libio/oldstdfiles.c: Likewise.
14229 * libio/putc.c: Likewise.
14230 * libio/setbuf.c: Likewise.
14231 * libio/setlinebuf.c: Likewise.
14232 * libio/stdfiles.c: Likewise.
14233 * libio/strops.c: Likewise.
14234 * libio/vasprintf.c: Likewise.
14235 * libio/vscanf.c: Likewise.
14236 * libio/vsnprintf.c: Likewise.
14237 * libio/vswprintf.c: Likewise.
14238 * libio/wfiledoalloc.c: Likewise.
14239 * libio/wfileops.c: Likewise.
14240 * libio/wgenops.c: Likewise.
14241 * libio/wmemstream.c: Likewise.
14242 * libio/wstrops.c: Likewise.
14243 * libio/__fpurge.c: Likewise.
14244 * libio/__fsetlocking.c: Likewise.
14245 * assert/assert.c: Likewise.
14246 * debug/fgets_chk.c: Likewise.
14247 * debug/fgets_u_chk.c: Likewise.
14248 * debug/fread_chk.c: Likewise.
14249 * debug/fread_u_chk.c: Likewise.
14250 * debug/gets_chk.c: Likewise.
14251 * debug/obprintf_chk.c: Likewise.
14252 * debug/vasprintf_chk.c: Likewise.
14253 * debug/vdprintf_chk.c: Likewise.
14254 * debug/vsnprintf_chk.c: Likewise.
14255 * debug/vsprintf_chk.c: Likewise.
14256 * malloc/mtrace.c: Likewise.
14257 * misc/error.c: Likewise.
14258 * misc/syslog.c: Likewise.
14259 * stdio-common/asprintf.c: Likewise.
14260 * stdio-common/fxprintf.c: Likewise.
14261 * stdio-common/getw.c: Likewise.
14262 * stdio-common/isoc99_fscanf.c: Likewise.
14263 * stdio-common/isoc99_scanf.c: Likewise.
14264 * stdio-common/isoc99_vfscanf.c: Likewise.
14265 * stdio-common/isoc99_vscanf.c: Likewise.
14266 * stdio-common/isoc99_vsscanf.c: Likewise.
14267 * stdio-common/printf-prs.c: Likewise.
14268 * stdio-common/printf_fp.c: Likewise.
14269 * stdio-common/printf_fphex.c: Likewise.
14270 * stdio-common/printf_size.c: Likewise.
14271 * stdio-common/putw.c: Likewise.
14272 * stdio-common/scanf.c: Likewise.
14273 * stdio-common/sprintf.c: Likewise.
14274 * stdio-common/tmpfile.c: Likewise.
14275 * stdio-common/vfprintf.c: Likewise.
14276 * stdio-common/vfscanf.c: Likewise.
14277 * stdlib/strfmon_l.c: Likewise.
14278 * sunrpc/openchild.c: Likewise.
14279 * sunrpc/xdr_stdio.c: Likewise.
14280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14281 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14283 2012-05-24 Roland McGrath <roland@hack.frob.com>
14285 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14287 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14288 in the third column, to generate for the shared library an IFUNC
14289 that uses _dl_vdso_vsym.
14290 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14291 * Makeconfig (object-suffixes-noshared): New variable.
14293 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14294 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14295 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14296 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14299 * include/sys/time.h (__gettimeofday): Remove macro.
14300 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14301 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14303 (__gettimeofday): Add libc_hidden_def.
14304 (gettimeofday): Add libc_hidden_weak.
14305 * sysdeps/mach/gettimeofday.c: Likewise.
14306 * sysdeps/posix/gettimeofday.c: Likewise.
14307 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14308 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14310 (__gettimeofday_internal): Remove strong_alias.
14311 (__gettimeofday): Add libc_hidden_def.
14312 (gettimeofday): Add libc_hidden_weak.
14313 * sysdeps/unix/syscalls.list (gettimeofday):
14314 Remove __gettimeofday_internal alias.
14316 2012-05-24 Daniel Jacobowitz <drow@false.org>
14317 H.J. Lu <hongjiu.lu@intel.com>
14320 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14321 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14322 (largebin_index_32_big): New.
14323 (largebin_index): Use it for 16-byte alignment.
14324 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14325 correction with front_misalign.
14327 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14355 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14356 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14358 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14362 * math/libm-test.inc (exp_test): Add test from bug 14036.
14363 (pow_test): Add test from bug 10846.
14365 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14367 (special_function): Do not include flags in test name.
14368 (parse_args): Likewise.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14371 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14372 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14375 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14377 * math/libm-test.inc ("Philosophy"): Update comment about
14379 (UNDERFLOW_EXCEPTION): New macro.
14380 (UNDERFLOW_EXCEPTION_OK): Likewise.
14381 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14382 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14383 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14384 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14385 (INVALID_EXCEPTION_OK): Update value.
14386 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14387 (OVERFLOW_EXCEPTION_OK): Likewise.
14388 (IGNORE_ZERO_INF_SIGN): Likewise.
14389 (test_exceptions): Handle underflow exceptions.
14390 (acos_test): Update for underflow exception expectations.
14391 (cexp_test): Likewise.
14392 (clog_test): Likewise.
14393 (clog10_test): Likewise.
14394 (csqrt_test): Likewise.
14395 (ctan_test): Likewise.
14396 (ctanh_test): Likewise.
14397 (exp_test): Likewise.
14398 (exp10_test): Likewise.
14399 (exp2_test): Likewise.
14400 (expm1_test): Likewise.
14401 (fma_test): Likewise.
14402 (j0_test): Likewise.
14403 (jn_test): Likewise.
14404 (nexttoward_test): Likewise.
14405 (pow_test): Likewise.
14406 (scalbn_test): Likewise.
14407 (scalbln_test): Likewise.
14408 (tan_test): Likewise.
14409 (y1_test): Likewise.
14410 * sysdeps/i386/fpu/libm-test-ulps: Update.
14411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14413 2012-05-23 David S. Miller <davem@davemloft.net>
14415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14416 (__libc_sigaction): Remove unused local variables.
14418 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14420 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14422 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14424 mktime: avoid signed integer overflow
14425 * time/mktime.c (__mktime_internal): Do not mishandle the case
14426 where diff == INT_MIN.
14428 mktime: simplify computation of average
14429 * time/mktime.c (ranged_convert): Use new time_t_avg function
14430 instead of rolling our own (probably-slower) code.
14432 mktime: do not assume signed right shift propagates sign bit
14433 * time/mktime.c (isdst_differ): New static function.
14434 (__mktime_internal): No need to normalize tm_isdst now.
14435 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14438 mktime: merge another wrapv change from gnulib
14439 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14440 from some compilers.
14442 mktime: remove incorrect attempt at unusual arithmetics
14443 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14444 The code didn't really work on such machines anyway.
14445 (TYPE_MINIMUM): Assume two's complement.
14446 (twos_complement_arithmetic): Verify that long_int and time_t
14447 are two's complement (or unsigned, in the latter case).
14449 mktime: check signed shifts on long_int and time_t, too
14450 * time/mktime.c (SHR): Check that shifts work as desired
14451 on the types long_int and time_t too, as SHR is used on
14454 mktime: do not assume 'long' is wide enough
14455 * time/mktime.c (verify): Move decl up.
14456 (long_int): New type.
14457 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14458 to remove assumption in the code that 'long' is wide enough to
14459 store year values. This assumption is not true on x32 and on
14460 some non-glibc platforms.
14462 mktime: merge wrapv change from gnulib
14463 * time/mktime.c (WRAPV): New macro.
14464 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14465 (guess_time_tm, __mktime_internal): Do not assume that signed
14466 integer overflow wraps around; modern compilers generate code
14467 where this assumption is no longer valid.
14469 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14471 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14472 Replace "jmp L(pseudo_end)" with "ret".
14473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14476 2012-05-23 Andreas Jaeger <aj@suse.de>
14478 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14479 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14481 2012-05-23 Andreas Jaeger <aj@suse.de>
14482 Maximilian Attems <max@stro.at>
14484 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14487 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14489 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14490 code so that pseudo_end is just ret and the stack pointer is
14491 correct also for static library in error case.
14493 2012-05-23 Joseph Myers <joseph@codesourcery.com>
14495 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14496 move to syscalls.list.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14502 * manual/install.texi (Running make install): Do not mention Linux
14503 kernel version for which pt_chown is not needed.
14504 (Linux): Do not mention problems with nscd with 2.0 kernels.
14505 * INSTALL: Regenerated.
14507 2012-05-23 Andreas Jaeger <aj@suse.de>
14509 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14510 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14512 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14514 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14516 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14522 * sysdeps/unix/sysv/linux/bits/in.h
14523 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14525 2012-05-22 Roland McGrath <roland@hack.frob.com>
14527 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14528 (PREPARE_VERSION): Just use assert instead, it will be elided
14529 under [NDEBUG] anyway.
14531 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14533 * sysdeps/unix/sysv/linux/Makefile: Include
14534 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14535 (sysdep_routines): Remove sysctl.
14536 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14537 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14538 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14539 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14540 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14542 2012-05-22 Andreas Jaeger <aj@suse.de>
14544 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14545 that pseudo_end is just ret and the stack pointer is correct also
14546 for static library in error case.
14548 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14551 * nss/nsswitch.c (defconfig_entries): New variable.
14552 (__nss_database_lookup): Don't leak defconfig entries.
14553 (nss_parse_service_list): Don't leak on error paths.
14554 (free_database_entries): New function.
14555 (free_defconfig): New function.
14556 (free_mem): Move common code to free_database_entries.
14558 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14560 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14562 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14564 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14565 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14568 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14569 (INTERNAL_SYSCALL_TYPES): Likewise.
14570 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14571 (LOAD_REGS_TYPES_[1-6]): Likewise.
14572 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14573 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14575 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14578 copysignl for GLIBC_2_0.
14579 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14580 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14582 logbl for GLIBC_2_0.
14583 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14586 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14589 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14591 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14594 * time/mktime.c: Update copyright years.
14596 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14598 mktime: merge comment-quoting-style change from gnulib
14599 * time/mktime.c: Quote 'like this' in comments.
14600 The GNU coding standards suggest that we no longer quote `like this',
14601 as "`" and "'" are typically rendered asymmetrically nowadays.
14602 The typical gnulib style is to quote 'like this' when quoting
14603 code, and "like this" when quoting English.
14605 * time/mktime.c (compile-command): Add "-I.".
14607 mktime: merge mktime-internal.h change from gnulib
14608 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14610 mktime: merge time_r change from gnulib
14611 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14613 mktime: merge DEBUG change from gnulib
14614 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14615 case system <time.h> has a #define.
14617 mktime: merge <sys/types.h> change from gnulib
14618 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14619 since <time.t> is now guaranteed to define time_t.
14621 mktime: merge HAVE_CONFIG_H change from gnulib
14622 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14624 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14629 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14631 (struct rusage): Use anonymous union to pad each field to
14634 2012-05-21 David S. Miller <davem@davemloft.net>
14636 * Makefules (o-iterator): Remove .s cases.
14637 (compile-command.s): Delete.
14638 (COMPILE.s): Delete.
14639 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14641 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14643 * configure.in (libc_cv_predef_stack_protector): Only consider
14644 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14645 * configure: Regenerated.
14647 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14650 New macro. Use R*LP on int and pointer.
14651 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14653 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14654 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14656 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14657 [__WORDSIZE_TIME64_COMPAT32] instead of
14658 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14659 (struct utmp): Likewise.
14660 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14661 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14663 (__WORDSIZE_TIME64_COMPAT32): This.
14664 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14665 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14666 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14668 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14669 (__WORDSIZE_TIME64_COMPAT32): New macro.
14671 2012-05-21 Andreas Jaeger <aj@suse.de>
14673 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14674 only if [SHARED]. Add prototype for __wcschr_ia32.
14676 2012-05-21 Roland McGrath <roland@hack.frob.com>
14678 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14679 of %rbp unmolested in the jmp_buf while mangling the low bits.
14680 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14681 unmolested high bits of %rbp while demangling the low bits.
14682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14684 2012-05-21 Andreas Jaeger <aj@suse.de>
14686 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14687 * sunrpc/svc_simple.c: Use it for registerrpc.
14688 * sunrpc/xcrypt.c: Use it for passwd2des.
14690 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14692 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14694 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14695 Don't define if [__SYSCALL_WORDSIZE != 32].
14696 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14699 2012-05-21 Bruno Haible <bruno@clisp.org>
14700 Andreas Jaeger <aj@suse.de>
14702 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14703 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14704 inptr and inend for must_buffer_ch.
14705 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14706 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14707 * stdio-common/Makefile (tests): Remove bug15.
14708 (bug15-ENV): Remove macro.
14709 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14712 2012-05-19 Andreas Jaeger <aj@suse.de>
14713 Roland McGrath <roland@hack.frob.com>
14715 * manual/contrib.texi: Completely rewritten. It contains now an
14716 alphabetical list of contributors and their contributions.
14718 2012-05-21 Richard Henderson <rth@twiddle.net>
14720 * misc/getauxval.c (__getauxval): Use unsigned long int.
14721 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14722 (getauxval): Use unsigned long int.
14724 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14726 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14728 2012-05-21 Roland McGrath <roland@hack.frob.com>
14730 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14731 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14732 __alignof__ (long double).
14734 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14738 2012-05-20 Richard Henderson <rth@twiddle.net>
14740 * misc/getauxval.c: New file.
14741 * misc/sys/auxv.h: New file.
14742 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14743 (routines): Add getauxval.
14744 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14745 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14746 * elf/dl-sysdep.c (_dl_auxv): Remove.
14747 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14748 * elf/dl-support.c (_dl_auxv): New variable.
14749 (_dl_aux_init): Initialize it.
14750 * manual/startup.texi (Auxiliary Vector): New node.
14751 * sysdeps/generic/bits/hwcap.h: New file.
14752 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14753 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14754 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14755 * sysdeps/sparc/sysdep.h: ... here. Include it.
14756 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14763 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14769 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14773 2012-05-19 David S. Miller <davem@davemloft.net>
14775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14777 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14780 * math/s_ccosh.c: Include <float.h>
14781 (__ccosh): Avoid internal overflow calculating sinh and cosh
14782 values before multiplying by sin and cos values.
14783 * math/s_ccoshf.c: Likewise.
14784 * math/s_ccoshl.c: Likewise.
14785 * math/s_csin.c: Likewise.
14786 * math/s_csinf.c: Likewise.
14787 * math/s_csinl.c: Likewise.
14788 * math/s_csinh.c: Likewise.
14789 * math/s_csinhf.c: Likewise.
14790 * math/s_csinhl.c: Likewise.
14791 * math/libm-test.inc (ccos_test): Add more tests.
14792 (ccosh_test): Likewise.
14793 (csin_test): Likewise.
14794 (csinh_test): Likewise.
14795 * sysdeps/i386/fpu/libm-test-ulps: Update.
14796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14798 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14800 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14801 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14803 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14805 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14807 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14808 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14809 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14810 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14811 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14812 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14813 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14814 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14815 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14816 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14817 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14818 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14819 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14820 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14821 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14822 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14823 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14824 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14825 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14826 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14827 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14828 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14829 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14830 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14831 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14832 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14833 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14834 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14835 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14836 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14837 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14839 2012-05-18 Andreas Jaeger <aj@suse.de>
14841 * csu/.gitignore: Delete.
14843 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14845 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14846 (timex): Use __syscall_slong_t.
14848 2012-05-18 Andreas Jaeger <aj@suse.de>
14849 Carlos O'Donell <carlos_odonell@mentor.com>
14851 * manual/install.texi (Configuring and compiling): Update
14852 description about files modified in the source directory.
14853 * INSTALL: Regenerated.
14855 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14857 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14858 value. Use "or" to set return value to -1.
14859 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14860 negate return value.
14862 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14864 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14865 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14866 failure if the compiler has Graphite support disabled.
14867 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14869 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14870 CFLAGS-memmove.c): Likewise.
14871 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14874 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14876 * sysdeps/x86_64/x32/_itoa.h: New file.
14878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14879 getdents system call only if kernel and user dirents have the
14880 same d_ino and d_off.
14882 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14883 LLONG_MAX != LONG_MAX.
14884 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14885 (_fitoa_word): Likewise.
14887 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14890 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14891 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14893 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14894 include <bits/wordsize.h>. Check __x86_64__ instead of
14896 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14897 if __x86_64__ is defined. Use anonymous union on fpstate.
14899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14902 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14904 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14905 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14906 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14907 Refer to _rtld_local_ro instead of _rtld_global_ro.
14908 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14910 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14912 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14914 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14915 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14916 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14918 * sysdeps/powerpc/powerpc32/dl-machine.c
14919 (__elf_machine_runtime_setup) [PROF]: Don't reference
14922 2012-05-18 Andreas Jaeger <aj@suse.de>
14924 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14925 function only available for GCCs before 3.4 since GCC 3.4
14926 introduced a builtin.
14928 (llrintf): Likewise.
14929 (llrint): Likewise.
14936 (nearbyint): Likewise.
14937 (nearbyintf): Likewise.
14941 (floorf): Likewise.
14943 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14945 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14946 on both fields and cast pointer to __syscall_ulong_t.
14948 * bits/types.h (__fsword_t): New type.
14949 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14950 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14952 (__FSWORD_T_TYPE): Likewise.
14953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14954 (__FSWORD_T_TYPE): Likewise.
14955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14956 (__FSWORD_T_TYPE): Likewise.
14957 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14958 (__FSWORD_T_TYPE): Likewise.
14959 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14960 __SWORD_TYPE with __fsword_t.
14961 (statfs64): Likewise.
14963 2012-05-17 David S. Miller <davem@davemloft.net>
14965 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14967 2012-05-17 Andreas Jaeger <aj@suse.de>
14969 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14972 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14974 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14976 2012-05-17 Andreas Jaeger <aj@suse.de>
14978 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14981 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14983 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14985 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14988 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14990 2012-05-17 Andreas Jaeger <aj@suse.de>
14991 Carlos O'Donell <carlos_odonell@mentor.com>
14994 * sysdeps/x86_64/multiarch/init-arch.h
14995 (bit_YMM_Usable): Rename to...
14996 (bit_AVX_Usable): ... this.
14997 (bit_FMA4_Usable): New macro.
14998 (bit_XMM_state): New macro.
14999 (bit_YMM_state): New macro.
15000 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15001 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15002 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15003 (CPUID_OSXSAVE): New macro.
15004 (CPUID_AVX): New macro.
15005 (CPUID_FMA4): New macro.
15006 (index_YMM_Usable): Rename to...
15007 (index_AVX_Usable): ... this.
15008 (HAS_AVX): Use HAS_ARCH_FEATURE.
15009 (HAS_FMA4): Likewise.
15010 (HAS_YMM_USABLE): Remove.
15011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15012 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15014 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15015 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15016 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15017 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15018 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15020 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15022 * math/libm-test.c: Support platforms without multiple rounding modes.
15023 * math/bug-nextafter.c: Support platforms without FP exceptions.
15024 * math/bug-nexttoward.c: Likewise.
15025 * math/test-fenv.c: Likewise.
15026 * math/test-misc.c: Likewise.
15027 * stdlib/bug-getcontext.c: Likewise.
15029 2012-05-17 Andreas Jaeger <aj@suse.de>
15031 * manual/examples/search.c (critter_cmp): Change signature to
15033 * manual/string.texi (Collation Functions): Likewise.
15035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15037 * bits/types.h: Fold copyright years.
15038 * bits/typesizes.h: Likewise.
15039 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15043 * time/time.h: Likewise.
15045 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15048 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15049 in instead of returning them. Return void.
15050 (__libc_mallinfo): Accumulate over all arenas.
15051 (__malloc_stats): Adjust for change in int_mallinfo interface.
15053 2012-05-16 Roland McGrath <roland@hack.frob.com>
15056 * configure.in (NM): Add AC_CHECK_TOOL for it.
15057 (libc_extra_cflags): New substituted variable.
15058 Check for -fstack-protector being used implicitly.
15059 * configure: Regenerated.
15060 * config.make.in (config-extra-cflags): New variable,
15061 gets @libc_extra_cflags@.
15062 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15065 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15066 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15067 * configure: Regenerated.
15068 * config.make.in (CPPUNDEFS): New substituted variable.
15069 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15070 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15071 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15075 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15076 (mq_attr): Use __syscall_slong_t.
15078 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15080 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15081 Check __x86_64__ instead of __WORDSIZE.
15082 (_STAT_VER_LINUX): Likewise.
15083 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15084 __syscall_ulong_t and __syscall_slong_t.
15085 (stat64): Likewise.
15087 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15091 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15093 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15097 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15100 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15101 include <bits/wordsize.h>. Check __x86_64__ instead of
15103 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15105 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15108 include <bits/wordsize.h>. Check __x86_64__ instead of
15110 (user_regs_struct): Use "__extension__ unsigned long long"
15111 instead of "unsigned long" if __x86_64__ is defined.
15112 (user): Likewise. Pad after pointer field if __ILP32__ is
15115 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15117 * configure.in (makeinfo): Require version 4.5 or later. Allow
15119 * configure: Regenerated.
15120 * manual/install.texi (texinfo): Increase version requirement to
15122 * INSTALL: Regenerated.
15124 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15128 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15130 * sysdeps/x86_64/x32/ffs.c: New file.
15132 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15134 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15135 defined. Use __syscall_ulong_t.
15136 (shminfo): Use __syscall_ulong_t.
15137 (shm_info): Likewise.
15139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15142 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15144 (msgqnum_t): Use __syscall_ulong_t.
15145 (msglen_t): Likewise.
15146 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15149 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15152 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15154 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15155 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15157 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15160 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15161 include <bits/wordsize.h>. Check __x86_64__ instead of
15164 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15165 "unsigned long long int" if __x86_64__ is defined.
15166 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15169 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15170 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15172 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15174 (GET_PC): Cast to uintptr_t first.
15175 (GET_FRAME): Likewise.
15176 (GET_STACK): Likewise.
15178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15181 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15182 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15183 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15184 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15185 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15186 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15188 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15191 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15192 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15208 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15210 * Makerules (+depfiles): Also collect depfiles from .oS in
15212 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15213 .oS, $(libnldbl-routines)).
15215 * Makerules (native-compile-mkdep-flags): Define.
15216 * sunrpc/Makefile (extra-objs): Add $(addprefix
15217 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15218 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15219 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15220 calling $(make-target-directory).
15222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15224 * bits/types.h (__snseconds_t): Removed.
15225 * time/time.h (struct timespec): Replace __snseconds_t with
15227 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15228 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15231 (__SNSECONDS_T_TYPE): Likewise.
15232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15233 (__SNSECONDS_T_TYPE): Likewise.
15234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15235 (__SNSECONDS_T_TYPE): Likewise.
15237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15239 * sysdeps/mach/hurd/bits/typesizes.h
15240 (__SYSCALL_SLONG_TYPE): New macro.
15241 (__SYSCALL_ULONG_TYPE): Likewise.
15243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15245 * bits/types.h (__syscall_slong_t): New type.
15246 (__syscall_ulong_t): Likewise.
15248 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15249 (__SYSCALL_ULONG_TYPE): Likewise.
15250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15251 (__SYSCALL_SLONG_TYPE): Likewise.
15252 (__SYSCALL_ULONG_TYPE): Likewise.
15253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15254 (__SYSCALL_SLONG_TYPE): Likewise.
15255 (__SYSCALL_ULONG_TYPE): Likewise.
15256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15257 (__SYSCALL_SLONG_TYPE): Likewise.
15258 (__SYSCALL_ULONG_TYPE): Likewise.
15260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15262 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15263 Add sigaltstack-offsets.sym.
15264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15265 <sigaltstack-offsets.h>.
15266 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15267 longjmp_msg pointer.
15268 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15269 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15271 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15273 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15275 * elf/stackguard-macros.h: Remove file.
15276 * sysdeps/generic/stackguard-macros.h: New file.
15277 * sysdeps/i386/stackguard-macros.h: Likewise.
15278 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15279 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15280 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15281 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15282 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15283 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15284 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15285 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15286 <elf/stackguard-macros.h>.
15289 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15290 __aligned__ in attribute.
15291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15292 (gregset_t): Likewise.
15294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15296 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15297 * sysdeps/x86_64/64/Implies-after: Here. New file.
15298 * sysdeps/x86_64/x32/Implies-after: New file.
15300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15302 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15303 and access return value for _dl_profile_fixup. Use R10_LP to
15306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15308 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15312 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15313 * sysdeps/x86_64/x32/sysdep.h: New file.
15315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15317 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15318 * sysdeps/x86_64/setjmp.S: Likewise.
15320 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15323 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15324 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15325 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15326 remove unused global constant.
15328 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15330 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15331 include of <not-cancel.h>.
15333 2012-05-15 Roland McGrath <roland@hack.frob.com>
15335 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15337 2012-05-15 Jeff Law <law@redhat.com>
15338 Andreas Jaeger <aj@suse.de>
15341 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15343 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15344 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15345 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15346 code changing __hst_map_handle.map.
15348 2012-05-15 Roland McGrath <roland@hack.frob.com>
15350 * configure.in (sysnames): Look for Implies-before and Implies-after
15352 * configure: Regenerated.
15354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15356 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15357 8-byte data alignment with LP_SIZE alignment.
15359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15361 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15366 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15371 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15374 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15378 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15379 (stackinfo_sub_sp): Likewise.
15381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15383 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15388 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15398 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15402 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15403 into R11_LP and load __x86_64_shared_cache_size_half into
15406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15408 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15411 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15420 powerpc32/power7/fpu/s_logb.c via #include.
15421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15422 powerpc32/power7/fpu/s_logbf.c via #include.
15423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15424 powerpc32/power7/fpu/s_logbl.c via #include.
15426 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15428 * README.libm: Remove file.
15430 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15432 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15433 count for x32. Use R*_LP and omit operand-size suffix.
15435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15437 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15438 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15439 * sysdeps/x86_64/x32/shlib-versions: New file.
15441 2012-05-14 Roland McGrath <roland@hack.frob.com>
15443 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15444 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15445 Use _dl_fatal_printf instead.
15447 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15449 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15450 set if not set by the user. Do not allow for being unset.
15451 * sysdeps/unix/sysv/linux/configure: Regenerated.
15453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15455 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15456 the `q' suffix from lea and replace .quad with ASM_ADDR.
15458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15461 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15463 (PTR_DEMANGLE): Likewise.
15465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15467 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15469 (ASM_ADDR): Likewise.
15470 (RAX_LP): Likewise.
15471 (RBP_LP): Likewise.
15472 (RBX_LP): Likewise.
15473 (RCX_LP): Likewise.
15474 (RDI_LP): Likewise.
15475 (RSI_LP): Likewise.
15476 (RSP_LP): Likewise.
15479 (R10_LP): Likewise.
15480 (R10_LP): Likewise.
15481 (R11_LP): Likewise.
15482 (R12_LP): Likewise.
15483 (R13_LP): Likewise.
15484 (R14_LP): Likewise.
15485 (R15_LP): Likewise.
15487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15489 * sysdeps/x86_64/x32/dl-machine.h: New file.
15491 2012-05-14 Andreas Jaeger <aj@suse.de>
15493 * manual/Makefile (subdir): Remove export of subdir.
15494 (all): Remove target.
15495 (.PHONY): Remove all from list.
15496 (mkinstalldirs): Remove.
15497 (.PHONY): Remove installdirs from list.
15498 ($(inst_infodir)/libc.info): Use make-target-directory.
15499 (installdirs): Remove.
15500 (subdir_%): Remove.
15501 (glibc-targets): Remove.
15504 ($(objpfx)stubs ../po/manual.pot): Remove.
15505 ($(objpfx)stamp%): Remove.
15506 (make-target-directory): Remove.
15507 (subdir_install): Remove.
15508 (routines): Remove.
15515 * manual/.gitignore: Remove, it's not needed anymore.
15516 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15518 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15520 (texis): Renamed to $(objpfx)texis.
15521 (texis-path): New, contains path to generated files.
15522 (chapters.%): Use texis-path for complete path, add extra argument
15524 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15525 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15526 (summary,texi, stamp-summary): Use complete path of
15527 files. Generate files in build dir.
15528 (dir-add.texi): Build in build dir.
15529 (libm-err.texi,stamp-libm-err): Likewise.
15530 (version.texi, stamp-version): Likewise.
15531 (.%c.texi): Likewise.
15532 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15533 (mostlyclean): Remove target.
15534 (realclean): Remove target.
15535 (generated): Add new variable with contents from mostlyclean and
15536 realclean, remove entries duplicated in common-mostlyclean, add
15537 stamp-libm-err and stamp-version.
15538 (generated-dirs): Add libc directory.
15539 ($(inst_infodir)/libc.info): Install files from build dir.
15541 * manual/install.texi (Configuring and compiling): Adjust since
15542 the info files are not part of the tar ball anymore.
15544 2012-05-14 Andreas Jaeger <aj@suse.de>
15546 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15549 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15552 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15553 to 2.2.0 where earlier.
15554 * sysdeps/unix/sysv/linux/configure: Regenerated.
15555 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15556 Remove conditional code.
15557 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15558 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15559 Remove conditional code.
15560 [!__NR_lchown]: Likewise.
15561 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15562 [__NR_lchown]: Likewise.
15563 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15564 comment referencing __ASSUME_LCHOWN_SYSCALL.
15565 * sysdeps/unix/sysv/linux/i386/sigaction.c
15566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15568 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15569 Remove conditional code.
15570 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15571 (__protocol_available): Remove #if 0 code.
15572 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15574 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15575 * sysdeps/unix/sysv/linux/kernel-features.h
15576 (__ASSUME_GETCWD_SYSCALL): Don't define.
15577 (__ASSUME_REALTIME_SIGNALS): Likewise.
15578 (__ASSUME_PREAD_SYSCALL): Likewise.
15579 (__ASSUME_PWRITE_SYSCALL): Likewise.
15580 (__ASSUME_POLL_SYSCALL): Likewise.
15581 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15582 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15584 (__ASSUME_SIOCGIFNAME): Don't define.
15585 (__ASSUME_MSG_NOSIGNAL): Likewise.
15586 (__ASSUME_SENDFILE): Define unconditionally.
15587 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15588 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15590 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15591 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15592 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15593 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15594 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15595 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15596 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15598 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15601 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15602 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15607 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15610 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15613 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15616 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15621 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15622 Remove conditional code.
15623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15624 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15625 Remove conditional code.
15626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15627 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15628 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15629 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15630 Remove conditional code.
15631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15632 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15633 Remove conditional code.
15634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15635 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15636 Remove conditional code.
15637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15638 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15639 Remove conditional code.
15640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15641 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15642 Remove conditional code.
15643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15644 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15647 * sysdeps/unix/sysv/linux/sigaction.c
15648 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15649 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15650 * sysdeps/unix/sysv/linux/sigpending.c
15651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15653 * sysdeps/unix/sysv/linux/sigprocmask.c
15654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15656 * sysdeps/unix/sysv/linux/sigsuspend.c
15657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15660 (__libc_missing_rt_sigs): Remove.
15661 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15662 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15663 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15664 Remove conditional code.
15665 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15666 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15668 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15669 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15670 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15671 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15673 2012-05-14 Andreas Jaeger <aj@suse.de>
15675 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15676 it's not used in glibc.
15677 (__coshm1): Likewise.
15678 (__acosh1p): Likewise.
15681 * manual/string.texi (Copying and Concatenation): Add missing
15682 variable in concat example.
15683 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15685 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15689 __builtin_clzl with __builtin_clzll.
15691 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15694 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15697 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15699 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15700 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15701 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15702 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15704 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15706 * NEWS: Update ia64 info.
15708 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15710 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15713 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15715 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15716 * sysdeps/unix/syscalls.list (dup3): Likewise.
15717 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15718 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15720 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15722 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15723 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15725 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15727 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15729 (TLS_IE): Use mov/add instead of movq/addq to load thread
15731 (TLS_GD_PREFIX): New.
15734 2012-05-11 David S. Miller <davem@davemloft.net>
15736 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15737 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15738 (_FPU_SETCW): Likewise.
15740 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15742 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15743 is 32-byte aligned.
15745 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15748 * iconvdata/gb18030.c: Update tables.
15749 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15750 characters specially.
15751 (BODY for TO_LOOP): Add encoding of missing ranges.
15753 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15756 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15757 * sysdeps/mach/hurd/dup3.c: Likewise.
15758 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15759 * sysdeps/powerpc/memmove.c:: Likewise.
15761 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15764 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15766 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15768 * elf/elf.h (R_X86_64_RELATIVE64): New.
15769 (R_X86_64_NUM): Updated.
15770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15771 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15772 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15773 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15774 tst-quad1pie tst-quad2pie
15775 (modules-names): Add tst-quadmod1 tst-quadmod2.
15776 ($(objpfx)tst-quad1): New dependency.
15777 ($(objpfx)tst-quad2): Likewise.
15778 ($(objpfx)tst-quad1pie): Likewise.
15779 ($(objpfx)tst-quad2pie): Likewise.
15780 * sysdeps/x86_64/tst-quad1.c: New file.
15781 * sysdeps/x86_64/tst-quad1pie.c: New file.
15782 * sysdeps/x86_64/tst-quad2.c: Likewise.
15783 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15784 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15785 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15786 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15787 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15791 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15792 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15793 * streams/stropts.h (t_scalar_t): Define type.
15795 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15796 (_PATH_PRESERVE): Set to "/var/lib".
15797 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15799 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15802 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15803 if __dir_mkfile succeeded.
15805 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15806 checking for _hurd_dtablesize. Unlock it right after having
15807 finished _hurd_dtable allocation.
15809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15811 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15812 * sysdeps/mach/hurd/configure: Regenerated.
15813 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15814 special-casing to...
15815 * sysdeps/gnu/configure.in: ... this new file.
15816 * sysdeps/unix/sysv/linux/configure: Regenerated.
15817 * sysdeps/gnu/configure: New generated file.
15819 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15820 for Linux: use nsec instead of usec, as well as:
15821 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15822 members of type struct timespec.
15823 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15825 (struct stat64): Likewise.
15826 (_STATBUF_ST_NSEC): New macro.
15827 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15829 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15830 __strtoul_internal rather than strtoul.
15832 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15834 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15837 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15839 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15840 which preserves existing values.
15841 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15843 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15845 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15846 TIMEOUT values. Return EINVAL for NFDS values either negative or
15847 greater than FD_SETSIZE.
15849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15851 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15852 allocated, call __vm_protect to finish enabling the existing space, and
15853 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15854 allocate the remainder.
15856 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15858 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15859 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15863 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15864 sysdeps/mach/hurd/readlink.c.
15866 * posix/tst-sysconf.c (posix_options): Only use
15867 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15868 _POSIX_SYNCHRONIZED_IO when they are defined
15869 * sysdeps/mach/hurd/bits/posix_opt.h:
15870 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15871 (_XOPEN_REALTIME): Undefine macro.
15872 (_XOPEN_REALTIME_THREADS): Undefine macro.
15873 (_XOPEN_SHM): Undefine macro.
15874 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15876 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15878 (_POSIX_ASYNC_IO): Undefine macro.
15879 (_POSIX_PRIORITIZED_IO): Undefine macro.
15880 (_POSIX_SPIN_LOCKS): Define macro to -1.
15882 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15883 SA_NODEFER, SA_RESETHAND.
15884 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15885 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15888 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15890 * elf/Makefile (pldd-modules): Define unconditionally.
15892 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15894 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15898 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15899 Return ENOENT when name is empty.
15900 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15902 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15904 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15906 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15908 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15910 Fix mlock in all cases except non-readable pages.
15911 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15912 instead of VM_PROT_ALL as parameter to __vm_wire function.
15914 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15915 (__mkdir): When path is `/', just fail with EEXIST.
15916 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15918 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15920 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15921 <sys/uio.h> (for writev).
15922 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15923 and <sys/param.h> (for MIN).
15925 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15927 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15928 REQUESTED_TIME. Properly set the remaining time and return EINTR
15931 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15933 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15934 Depend on against $(link-rpcuserlibs).
15936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15938 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15939 (__libc_stack_end): Do not use attribute_relro.
15940 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15941 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15942 to libthread-provided value.
15943 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15949 * bits/libc-lock.h (__libc_once_get): New macro.
15950 * sysdeps/mach/bits/libc-lock.h: Likewise.
15951 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15953 instead of using implementation details.
15955 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15956 * libio/freopen.c: Likewise.
15957 * libio/freopen64.c: Likewise.
15958 * misc/syslog.c: Likewise.
15959 * nscd/connections.c: Likewise.
15960 * nscd/netgroupcache.c: Likewise.
15961 * sysdeps/posix/getcwd.c: Likewise.
15963 2012-05-10 Roland McGrath <roland@hack.frob.com>
15965 * math/w_ilogbf.c: Add #include <limits.h>.
15967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15969 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15970 path instead of returning without unlocking.
15972 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15973 immediate-write ioctls.
15974 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15978 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15979 __builtin_frame_address instead of making assumptions about the
15980 location of the return address relative to DATA. Force early load of
15981 the return address.
15982 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15983 __builtin_frame_address.
15986 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15987 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15988 implement dup3 and do some further code clean-ups.
15989 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15990 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15994 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15996 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15997 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15998 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15999 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16000 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16003 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16004 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16005 when handler == SIG_ERR, not when handler != SIG_ERR.
16007 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16009 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16010 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16013 accept4 for GNU Hurd.
16014 * include/sys/socket.h (__libc_accept4): New prototype.
16015 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16016 to implement __libc_accept4.
16017 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16019 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16021 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16022 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16023 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16024 signal-defines.sym.
16026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16028 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16032 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16033 assertion on O_CLOEXEC flag.
16034 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16035 * hurd/intern-fd.c: Likewise.
16036 * hurd/port2fd.c: Likewise.
16038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16041 * bits/in.h (IPV6_PKTINFO): Define new macro.
16042 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16044 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16049 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16050 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16051 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16052 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16054 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16055 * math/libm-test.inc (logb_test) : Additional logb tests.
16057 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16058 Andreas Jaeger <aj@suse.de>
16060 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16061 * configure: Regenerated.
16062 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16063 * config.make.in (link-obsolete-rpc): New substituted variable.
16064 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16065 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16066 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16067 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16068 so that libc.a contains the symbols.
16069 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16070 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16071 * sunrpc/auth_none.c: Likewise.
16072 * sunrpc/auth_unix.c: Likewise.
16073 * sunrpc/authdes_prot.c: Likewise.
16074 * sunrpc/authuxprot.c: Likewise.
16075 * sunrpc/clnt_gen.c: Likewise.
16076 * sunrpc/clnt_perr.c: Likewise.
16077 * sunrpc/clnt_raw.c: Likewise.
16078 * sunrpc/clnt_simp.c: Likewise.
16079 * sunrpc/clnt_tcp.c: Likewise.
16080 * sunrpc/clnt_udp.c: Likewise.
16081 * sunrpc/clnt_unix.c: Likewise.
16082 * sunrpc/des_crypt.c: Likewise.
16083 * sunrpc/des_soft.c: Likewise.
16084 * sunrpc/get_myaddr.c: Likewise.
16085 * sunrpc/key_call.c: Likewise.
16086 * sunrpc/key_prot.c: Likewise.
16087 * sunrpc/netname.c: Likewise.
16088 * sunrpc/pm_getmaps.c: Likewise.
16089 * sunrpc/pm_getport.c: Likewise.
16090 * sunrpc/pmap_clnt.c: Likewise.
16091 * sunrpc/pmap_prot.c: Likewise.
16092 * sunrpc/pmap_prot2.c: Likewise.
16093 * sunrpc/pmap_rmt.c: Likewise.
16094 * sunrpc/publickey.c: Likewise.
16095 * sunrpc/rpc_cmsg.c: Likewise.
16096 * sunrpc/rpc_common.c: Likewise.
16097 * sunrpc/rpc_dtable.c: Likewise.
16098 * sunrpc/rpc_prot.c: Likewise.
16099 * sunrpc/rpc_thread.c: Likewise.
16100 * sunrpc/rtime.c: Likewise.
16101 * sunrpc/svc.c: Likewise.
16102 * sunrpc/svc_auth.c: Likewise.
16103 * sunrpc/svc_raw.c: Likewise.
16104 * sunrpc/svc_run.c: Likewise.
16105 * sunrpc/svc_tcp.c: Likewise.
16106 * sunrpc/svc_udp.c: Likewise.
16107 * sunrpc/svc_unix.c: Likewise.
16108 * sunrpc/svcauth_des.c: Likewise.
16109 * sunrpc/xcrypt.c: Likewise.
16110 * sunrpc/xdr.c: Likewise.
16111 * sunrpc/xdr_array.c: Likewise.
16112 * sunrpc/xdr_float.c: Likewise.
16113 * sunrpc/xdr_intXX_t.c: Likewise.
16114 * sunrpc/xdr_mem.c: Likewise.
16115 * sunrpc/xdr_rec.c: Likewise.
16116 * sunrpc/xdr_ref.c: Likewise.
16117 * sunrpc/xdr_sizeof.c: Likewise.
16118 * sunrpc/xdr_stdio.c: Likewise.
16120 2012-05-10 Roland McGrath <roland@hack.frob.com>
16122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16123 change. Update copyright years.
16125 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16127 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16129 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16130 Joseph Myers <joseph@codesourcery.com>
16131 Paul Pluzhnikov <ppluzhnikov@google.com>
16134 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16136 [cross-compiling] (extra-libs): Likewise.
16137 [cross-compiling] (extra-libs-others): Likewise.
16138 [cross-compiling] (librpcsvc-routines): Likewise.
16139 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16140 [cross-compiling] (omit-deps): Likewise.
16141 (sunrpc-CPPFLAGS): New variable.
16142 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16143 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16144 (cross-rpcgen-objs): New variable.
16145 (extra-objs): Append $(cross-rpcgen-objs).
16146 ($(cross-rpcgen-objs)): New rule.
16147 ($(objpfx)cross-rpcgen): Likewise.
16148 (rpcgen-cmd): Define to use $(built-program-file). Expand
16150 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16151 ($(objpfx)x%.stmp): Likewise.
16152 * sunrpc/proto.h [IS_IN_build] (_): Define.
16153 [IS_IN_build] (_libc_intl_domainname): Likewise.
16155 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16158 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16159 and R_X86_64_TPOFF64.
16161 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16163 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16164 sysdeps/unix/sysv/syscalls.list.
16167 * sysdeps/unix/sysv/syscalls.list: Remove file.
16169 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16172 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16173 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16174 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16175 (__LC_IDENTIFICATION): Make these macros useful in #if
16176 expressions, as required by C99.
16178 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16180 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16181 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16184 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16186 * stdlib/longlong.h: Updated from GCC.
16188 2012-05-09 Andreas Jaeger <aj@suse.de>
16190 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16191 default is first entry.
16192 (run_mode): Set type.
16193 (main): Remove informal message about syslog.
16194 (options): Fix typo.
16197 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
16200 (llrintf): Likewise.
16201 (llrint): Likewise.
16204 (nearbyint): Likewise.
16205 (nearbyintf): Likewise.
16207 2012-05-09 Andreas Jaeger <aj@suse.de>
16208 Pedro Alves <palves@redhat.com>
16210 * nscd/nscd.c (run_mode): Use enum.
16211 (main): Cleanup coding style issue.
16213 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
16214 Andreas Jaeger <aj@suse.de>
16216 * nscd/nscd.c (go_background): Replaced with...
16217 (run_mode): ... this.
16218 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
16219 (options): Add -F --foreground.
16220 (main): Implement it.
16221 (parse_opt): Parse it.
16223 2012-05-09 Andreas Jaeger <aj@suse.de>
16226 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16227 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16228 -Wconversion warning.
16229 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16232 2012-05-09 Joseph Myers <joseph@codesourcery.com>
16234 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16236 (LC_ALL): Use macro-int-constant.
16237 (LC_COLLATE): Likewise.
16238 (LC_CTYPE): Likewise.
16239 (LC_MESSAGES): Likewise.
16240 (LC_MONETARY): Likewise.
16241 (LC_NUMERIC): Likewise.
16242 (LC_TIME): Likewise.
16243 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16244 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16246 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16248 [C99-based standards] (float_t): Expect type.
16249 [C99-based standards] (double_t): Expect type.
16250 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16252 [C99-based standards] (HUGE_VALL): Likewise.
16253 [C99-based standards] (INFINITY): Likewise.
16254 [C99-based standards] (NAN): Likewise.
16255 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16256 [C99-based standards] (FP_NAN): Likewise.
16257 [C99-based standards] (FP_NORMAL): Likewise.
16258 [C99-based standards] (FP_SUBNORMAL): Likewise.
16259 [C99-based standards] (FP_ZERO): Likewise.
16260 [C99-based standards] (FP_FAST_FMA): Use
16261 optional-macro-int-constant. Specify type. Require == 1.
16262 [C99-based standards] (FP_FAST_FMAF): Likewise.
16263 [C99-based standards] (FP_FAST_FMAL): Likewise.
16264 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16265 [C99-based standards] (FP_ILOGBNAN): Likewise.
16266 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16268 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16269 [C99-based standards] (math_errhandling): Specify type.
16270 [ISO99 || ISO11] (signgam): Do not allow.
16271 [non-C99-based standards] (copysignf): Do not allow.
16272 [non-C99-based standards] (exp2f): Likewise.
16273 [non-C99-based standards] (log2f): Likewise.
16274 [non-C99-based standards] (modff): Allow.
16275 [non-C99-based standards] (erff): Do not allow.
16276 [non-C99-based standards] (erfcf): Likewise.
16277 [non-C99-based standards] (gammaf): Likewise.
16278 [non-C99-based standards] (hypotf): Likewise.
16279 [non-C99-based standards] (j0f): Likewise.
16280 [non-C99-based standards] (j1f): Likewise.
16281 [non-C99-based standards] (jnf): Likewise.
16282 [non-C99-based standards] (lgammaf): Likewise.
16283 [non-C99-based standards] (tgammaf): Likewise.
16284 [non-C99-based standards] (y0f): Likewise.
16285 [non-C99-based standards] (y1f): Likewise.
16286 [non-C99-based standards] (ynf): Likewise.
16287 [non-C99-based standards] (isnanf): Likewise.
16288 [non-C99-based standards] (acoshf): Likewise.
16289 [non-C99-based standards] (asinhf): Likewise.
16290 [non-C99-based standards] (atanhf): Likewise.
16291 [non-C99-based standards] (cbrtf): Likewise.
16292 [non-C99-based standards] (expm1f): Likewise.
16293 [non-C99-based standards] (ilogbf): Likewise.
16294 [non-C99-based standards] (log1pf): Likewise.
16295 [non-C99-based standards] (logbf): Likewise.
16296 [non-C99-based standards] (nextafterf): Likewise.
16297 [non-C99-based standards] (remainderf): Likewise.
16298 [non-C99-based standards] (rintf): Likewise.
16299 [non-C99-based standards] (scalbf): Likewise.
16300 [non-C99-based standards] (copysignl): Likewise.
16301 [non-C99-based standards] (exp2l): Likewise.
16302 [non-C99-based standards] (log2l): Likewise.
16303 [non-C99-based standards] (modfl): Allow.
16304 [non-C99-based standards] (erfl): Do not allow.
16305 [non-C99-based standards] (erfcl): Likewise.
16306 [non-C99-based standards] (gammal): Likewise.
16307 [non-C99-based standards] (hypotl): Likewise.
16308 [non-C99-based standards] (j0l): Likewise.
16309 [non-C99-based standards] (j1l): Likewise.
16310 [non-C99-based standards] (jnl): Likewise.
16311 [non-C99-based standards] (lgammal): Likewise.
16312 [non-C99-based standards] (tgammal): Likewise.
16313 [non-C99-based standards] (y0l): Likewise.
16314 [non-C99-based standards] (y1l): Likewise.
16315 [non-C99-based standards] (ynl): Likewise.
16316 [non-C99-based standards] (isnanl): Likewise.
16317 [non-C99-based standards] (acoshl): Likewise.
16318 [non-C99-based standards] (asinhl): Likewise.
16319 [non-C99-based standards] (atanhl): Likewise.
16320 [non-C99-based standards] (cbrtl): Likewise.
16321 [non-C99-based standards] (expm1l): Likewise.
16322 [non-C99-based standards] (ilogbl): Likewise.
16323 [non-C99-based standards] (log1pl): Likewise.
16324 [non-C99-based standards] (logbl): Likewise.
16325 [non-C99-based standards] (nextafterl): Likewise.
16326 [non-C99-based standards] (remainderl): Likewise.
16327 [non-C99-based standards] (rintl): Likewise.
16328 [non-C99-based standards] (scalbl): Likewise.
16329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16330 [non-C99-based standards] (FP_*): Do not allow.
16331 [C99-based standards] (FP_*): Change to
16332 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16333 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16335 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16336 (SIG_ERR): Likewise.
16337 [X/Open-based standards] (SIG_HOLD): Likewise.
16338 (SIG_IGN): Likewise.
16339 (SIGABRT): Use macro-int-constant. Specify type. Require
16341 (SIGFPE): Likewise.
16342 (SIGILL): Likewise.
16343 (SIGINT): Likewise.
16344 (SIGSEGV): Likewise.
16345 (SIGTER): Likewise.
16346 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16347 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16348 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16349 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16350 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16351 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16352 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16353 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16354 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16355 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16356 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16357 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16358 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16359 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16360 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16361 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16362 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16363 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16364 [X/Open-based standards] (SIGTRAP): Likewise.
16365 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16366 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16367 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16368 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16369 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16372 2012-05-08 Ian Wienand <ianw@vmware.com>
16375 * time/tzset.c (__tzset_parse_tz): Update default rules for
16376 daylight time changes in the Energy Policy Act of 2005.
16378 2012-05-09 Andreas Jaeger <aj@suse.de>
16381 * elf/ldconfig.c (parse_conf): Change string to make clear that
16382 ldconfig only issued a warning if ld.so.conf does not exist.
16384 2012-05-08 David S. Miller <davem@davemloft.net>
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16387 movxtod instead of popping the value on the stack.
16389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16391 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16393 * config.h.in: Add HAVE_ARM_PCS_VFP.
16395 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
16398 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16399 checking but the checks are disabled for any reason.
16401 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16403 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16404 and ELF64_R_TYPE with ELFW(R_TYPE).
16406 2012-05-08 Joseph Myers <joseph@codesourcery.com>
16408 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16409 (ulimit): Likewise.
16411 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16412 (settimeofday): Likewise.
16414 2012-05-08 Mike Frysinger <vapier@gentoo.org>
16416 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16417 a struct th_u2 inside the union, and move tu_block/tu_code into
16418 a new th_u3 union of tu_block/tu_code inside of that. Move
16419 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16420 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16421 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16422 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16423 (th_stuff): Change to th_u1.tu_stuff.
16425 (th_msg): Change to th_u1.th_u2.tu_data.
16427 2012-05-07 David S. Miller <davem@davemloft.net>
16429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16432 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16433 (SETUP_PIC_REG): Use it.
16434 (SETUP_PIC_REG_LEAF): Use it.
16436 2012-05-07 Joseph Myers <joseph@codesourcery.com>
16440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16442 (EXPL_FINITE): Likewise.
16443 (FLDLOG): Likewise.
16444 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16445 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16449 (EXPL_FINITE): Likewise.
16450 (FLDLOG): Likewise.
16451 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16452 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16454 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16455 test of -max_value argument for long double.
16456 * sysdeps/i386/fpu/libm-test-ulps: Update.
16457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459 2012-05-06 David S. Miller <davem@davemloft.net>
16461 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16462 quad soft-float symbols whose references which are compiler
16464 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16466 2012-05-06 Joseph Myers <joseph@codesourcery.com>
16470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16472 (EXPL_FINITE): Likewise.
16473 (FLDLOG): Likewise.
16476 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16477 Adjust comments for base varying.
16478 (__expl_finite): Change alias to EXPL_FINITE.
16479 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16481 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16482 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16483 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16484 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16487 (EXPL_FINITE): Likewise.
16488 (FLDLOG): Likewise.
16491 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16492 Adjust comments for base varying.
16493 (__expl_finite): Change alias to EXPL_FINITE.
16494 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16499 * math/libm-test.inc (check_float_internal): Correct ulp
16500 calculation for subnormal expected results.
16502 2012-05-06 Andreas Jaeger <aj@suse.de>
16504 * Makeconfig (+math-flags): New, set to -frounding-math.
16505 (+cflags): Add +math-flags so that all of glibc gets compiled with
16508 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16510 2012-05-05 Joseph Myers <joseph@codesourcery.com>
16512 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16518 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16519 (__ieee754_expl): Allow for and saturate large arguments.
16520 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16521 (u_threshold): Likewise.
16522 (__exp): Call __ieee754_exp before checking for overflow and
16524 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16525 (u_threshold): Likewise.
16526 (__expf): Call __ieee754_expf before checking for overflow and
16528 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16529 (u_threshold): Likewise.
16530 (__expl): Call __ieee754_expl before checking for overflow and
16532 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16533 (__ieee754_expl): Allow for and saturate large arguments.
16534 * math/libm-test.inc (exp_test): Add another test. Do not allow
16535 missing overflow exception on overflow.
16536 (expm1_test): Do not allow missing overflow exception on overflow.
16538 * sysdeps/i386/fpu/e_expl.c: Move to ...
16539 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16540 rather than using inline asm.
16541 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16542 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16543 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16545 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16548 (signal): Likewise.
16552 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16554 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16555 sysdeps/unix/common/syscalls.list.
16556 (fchmod): Likewise.
16557 (fchown): Likewise.
16558 (ftruncate): Likewise.
16559 (getrusage): Likewise.
16560 (gettimeofday): Likewise.
16561 (setpgid): Likewise.
16562 (setregid): Likewise.
16563 (setreuid): Likewise.
16564 (sigaction): Likewise.
16565 (truncate): Likewise.
16566 (vhangup): Likewise.
16567 * sysdeps/unix/common/syscalls.list: Remove file.
16568 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16569 * sysdeps/unix/sysv/linux/Implies: Likewise.
16571 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16579 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16582 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16588 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16591 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16594 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16597 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16601 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16605 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16608 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16612 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16616 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16618 * sysdeps/unix/common/bits/dirent.h: Remove file.
16619 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16621 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16622 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16623 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16624 * sysdeps/unix/bsd/isatty.c: Likewise.
16625 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16626 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16627 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16629 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16633 long double comparison inaccuracies.
16634 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16637 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16639 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16642 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16646 nonzero digits before rounding a hex value.
16647 * stdlib/tst-strtod.c (tests): Add another test.
16649 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16651 * sysdeps/s390/fpu/libm-test-ulps: Update.
16653 2012-05-03 Andreas Jaeger <aj@suse.de>
16655 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16656 does not get optimized out.
16657 (malloc_opt_barrier): New.
16659 2012-05-03 Andreas Jaeger <aj@suse.de>
16660 Roland McGrath <roland@hack.frob.com>
16662 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16663 intermediate file deletion.
16664 (generated): Add .symlist files.
16666 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16669 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16670 Redirect under this condition.
16671 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16672 [__USE_GNU] (__dprintf_chk): Not under this condition.
16673 [__USE_GNU] (__vdprintf_chk): Likewise.
16674 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16675 under this condition.
16676 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16677 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16678 [__USE_XOPEN2K8] (vdprintf): Likewise.
16679 [__USE_GNU] (__dprintf_chk): Not under this condition.
16680 [__USE_GNU] (__vdprintf_chk): Likewise.
16681 [__USE_GNU] (dprintf): Likewise.
16682 [__USE_GNU] (vdprintf): Likewise.
16684 2012-05-03 Roland McGrath <roland@hack.frob.com>
16686 * elf/Makefile (common-generated): Set this instead of generated for
16687 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16688 $(all-built-dso)-derived lists.
16690 2012-05-03 Andreas Jaeger <aj@suse.de>
16692 * sysdeps/i386/fpu/libm-test-ulps: Update.
16695 * FAQ.in: Likewise.
16696 * scripts/gen-FAQ.pl: Likewise.
16697 * manual/install.texi (Installation): Point to online location of
16699 * Makefile (files-for-dist): Remove FAQ.
16702 2012-05-02 Allan McRae <allan@archlinux.org>
16704 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16705 (LDFLAGS-reldepmod5.so): Likewise.
16706 (LDFLAGS-reldep6mod1.so): Likewise.
16707 (LDFLAGS-reldep6mod4.so): Likewise.
16708 (LDFLAGS-reldep8mod3.so): Likewise.
16709 (LDFLAGS-unload4mod1.so): Likewise.
16710 (LDFLAGS-unload4mod2.so): Likewise.
16711 (LDFLAGS-tst-initorder): Likewise.
16712 (LDFLAGS-tst-initordera2.so): Likewise.
16713 (LDFLAGS-tst-initordera3.so): Likewise.
16714 (LDFLAGS-tst-initordera4.so): Likewise.
16715 (LDFLAGS-tst-initorderb2.so): Likewise.
16716 (LDFLAGS-noload): Likewise.
16717 (LDFLAGS-next): Likewise.
16718 (LDFLAGS-order2mod1.so): Likewise.
16719 (LDFLAGS-order2mod2.so): Likewise.
16720 (LDFLAGS-tst-initorder2): Likewise.
16721 (LDFLAGS-tst-initorder2a.so): Likewise.
16722 (LDFLAGS-tst-initorder2b.so): Likewise.
16723 (LDFLAGS-tst-initorder2c.so): Likewise.
16724 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16726 2012-05-02 David S. Miller <davem@davemloft.net>
16728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16730 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16733 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16735 2012-05-02 Andreas Jaeger <aj@suse.de>
16737 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16738 since we manipulate rounding mode.
16739 (CPPFLAGS-test-idouble.c): Likewise.
16740 (CPPFLAGS-test-ifloat.c): Likewise.
16741 (CFLAGS-test-ldouble.c): Likewise.
16742 (CFLAGS-test-double.c): Likewise.
16743 (CFLAGS-test-float.c): Likewise.
16744 (CFLAGS-test-misc.c): Likewise.
16745 (CFLAGS-test-test-fenv.c): Likewise.
16747 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16752 comparisons to determine direction to adjust input.
16754 2012-05-01 Roland McGrath <roland@hack.frob.com>
16756 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16757 output to the target.
16759 * scripts/localplt.awk: New file.
16760 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16761 (check-localplt-CFLAGS): Variable removed.
16762 ($(all-built-dso:=.jmprel)): New static pattern rule.
16763 (generated): Add those targets.
16764 (localplt-built-dso): New variable.
16765 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16767 * elf/check-localplt.c: File removed.
16769 * scripts/check-execstack.awk: New file.
16770 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16771 (check-execstack-CFLAGS): Variable removed.
16772 ($(objpfx)check-execstack.h): Target removed.
16773 ($(objpfx)execstack-default): New target.
16774 (generated): Add that instead of check-execstack.h.
16775 ($(all-built-dso:=.phdr)): New static pattern rule.
16776 (generated): Add those targets.
16777 * elf/check-execstack.c: File removed.
16779 * scripts/check-textrel.awk: New file.
16780 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16781 (check-textrel-CFLAGS): Variable removed.
16782 (all-built-dso): Use := to define.o
16783 ($(all-built-dso:=.dyn)): New static pattern rule.
16784 (generated): Add those targets.
16785 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16786 * config.make.in (READELF): New substituted variable.
16787 * elf/check-textrel.c: File removed.
16789 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16791 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16793 * conform/data/ctype.h-data [C99-based standards] (isblank):
16795 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16796 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16798 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16799 Specify type. Require positive value.
16800 (EILSEQ): Likewise.
16801 (ERANGE): Likewise.
16802 [ISO || POSIX] (EILSEQ): Do not expect.
16803 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16804 Specify type. Require positive value.
16805 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16806 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16807 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16808 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16809 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16810 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16811 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16812 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16813 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16814 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16815 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16816 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16817 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16818 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16819 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16820 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16821 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16822 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16823 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16824 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16825 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16826 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16827 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16828 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16829 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16830 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16831 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16832 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16833 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16834 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16835 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16836 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16837 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16838 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16839 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16840 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16841 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16842 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16843 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16844 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16845 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16846 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16847 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16848 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16849 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16850 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16851 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16852 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16853 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16854 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16855 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16856 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16857 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16858 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16859 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16860 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16861 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16862 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16863 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16864 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16865 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16866 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16867 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16868 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16869 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16870 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16871 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16872 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16873 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16874 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16875 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16876 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16877 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16878 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16879 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16880 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16881 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16883 (FLT_ROUNDS): Expect as macro, not constant.
16884 (FLT_MANT_DIG): Use macro-int-constant.
16885 (DBL_MANT_DIG): Likewise.
16886 (LDBL_MANT_DIG): Likewise.
16887 (FLT_DIG): Likewise.
16888 (DBL_DIG): Likewise.
16889 (LDBL_DIG): Likewise.
16890 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16891 (DBL_MIN_EXP): Likewise.
16892 (LDBL_MIN_EXP): Likewise.
16893 (FLT_MAX_EXP): Use macro-int-constant.
16894 (DBL_MAX_EXP): Likewise.
16895 (LDBL_MAX_EXP): Likewise.
16896 (FLT_MAX_10_EXP): Likewise.
16897 (DBL_MAX_10_EXP): Likewise.
16898 (LDBL_MAX_10_EXP): Likewise.
16899 (FLT_MAX): Use macro-constant.
16900 (DBL_MAX): Likewise.
16901 (LDBL_MAX): Likewise.
16902 (FLT_EPSILON): Use macro-constant. Give upper bound.
16903 (DBL_EPSILON): Likewise.
16904 (LDBL_EPSILON): Likewise.
16905 (FLT_MIN): Likewise.
16906 (DBL_MIN): Likewise.
16907 (LDBL_MIN): Likewise.
16908 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16909 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16910 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16911 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16912 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16913 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16914 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16915 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16916 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16917 [ISO11] (FLT_TRUE_MIN): Likewise.
16918 [ISO11] (LDBL_TRUE_MIN): Likewise.
16919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16920 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16921 (SCHAR_MIN): Use macro-int-constant. Specify type.
16922 (SCHAR_MAX): Likewise.
16923 (UCHAR_MAX): Likewise.
16924 (CHAR_MIN): Likewise.
16925 (CHAR_MAX): Likewise.
16926 (MB_LEN_MAX): Use macro-int-constant.
16927 (SHRT_MIN): Use macro-int-constant. Specify type.
16928 (SHRT_MAX): Likewise.
16929 (USHRT_MAX): Likewise.
16930 (INT_MAX): Likewise.
16931 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16933 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16935 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16937 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16938 bound negative. Suffix upper bound with "L".
16939 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16941 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16943 [C99-based standards] (LLONG_MAX): Likewise.
16944 [C99-based standards] (ULLONG_MAX): Likewise.
16945 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16947 [ISO11] (max_align_t): Require type.
16948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16950 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16951 from $CFLAGS, without defining away __attribute__ calls.
16952 (checknamespace): Use $CFLAGS_namespace.
16954 * conform/conformtest.pl (@keywords): Only include C99 keywords
16955 for standards based on C99 or C11.
16957 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16959 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16962 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16963 usability of symbols in #if.
16965 * conform/conformtest.pl: If macro or constant types start
16966 "promoted:", expect the symbol to be of the following type
16967 promoted by the integer promotions.
16969 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16970 in one place. Also handle "macro-constant".
16972 * conform/conformtest.pl: Only accept expected macro values with
16973 "==". Parse all "macro" lines in one place.
16974 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16976 * conform/conformtest.pl: Handle braced types on "constant" lines
16977 instead of handling "typed-constant".
16978 * conform/data/signal.h-data: Use "constant" instead of
16981 * conform/conformtest.pl: Handle "optional-" at start of lines in
16982 one place rather than duplicating several cases. Handle each
16983 format of "macro" line with initial "optional-".
16985 * conform/conformtest.pl: Only accept expected constant or
16986 optional-constant values with "==". Parse all "constant" lines in
16987 one place. Parse all "optional-constant" lines in one place.
16988 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16989 * conform/data/fmtmsg.h-data: Likewise.
16990 * conform/data/netinet/in.h-data: Likewise.
16991 * conform/data/tar.h-data: Likewise.
16992 * conform/data/limits.h-data: Use "==" form on "constant" and
16993 "optional-constant" lines.
16995 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16996 Use -std=c99 for XOPEN2K.
16997 (@knownproblems): Remove.
16998 (newtoken): Don't check %isknown.
17000 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17001 Do not expect macro.
17002 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17003 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17004 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17005 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17006 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17007 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17008 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17009 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17010 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17011 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17012 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17013 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17014 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17015 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17016 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17017 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17018 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17019 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17020 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17021 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17022 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17026 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17027 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17028 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17029 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17030 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17031 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17032 [XPG3] (acosh): Likewise.
17033 [XPG3] (asinh): Likewise.
17034 [XPG3] (atanh): Likewise.
17035 [XPG3] (cbrt): Likewise.
17036 [XPG3] (expm1): Likewise.
17037 [XPG3] (ilogb): Likewise.
17038 [XPG3] (log1p): Likewise.
17039 [XPG3] (logb): Likewise.
17040 [XPG3] (nextafter): Likewise.
17041 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17042 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17043 [XPG3] (remainder): Likewise.
17044 [XPG3] (rint): Likewise.
17045 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17046 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17047 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17048 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17049 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17050 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17051 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17052 [UNIX98 || XOPEN2K] (scalb): Expect.
17053 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17054 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17055 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17056 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17057 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17058 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17059 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17060 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17061 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17062 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17063 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17064 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17065 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17066 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17067 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17068 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17069 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17070 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17071 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17072 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17073 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17074 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17075 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17076 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17077 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17078 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17079 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17080 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17081 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17082 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17083 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17084 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17085 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17086 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17087 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17088 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17089 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17090 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17091 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17092 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17093 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17094 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17095 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17096 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17097 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17098 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17099 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17100 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17101 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17102 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17103 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17104 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17105 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17106 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17107 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17108 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17109 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17110 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17111 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17112 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17113 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17114 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17115 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17116 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17117 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17118 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17119 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17120 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17121 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17122 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17123 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17124 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17125 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17126 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17127 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17128 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17129 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17130 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17131 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17132 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17133 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17134 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17135 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17136 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17137 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17138 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17139 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17140 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17141 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17142 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17143 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17144 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17145 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17146 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17147 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17148 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17149 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17150 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17151 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17152 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17153 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17154 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17155 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17156 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17157 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17158 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17159 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17160 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17161 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17162 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17163 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17164 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17165 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17166 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17167 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17168 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17169 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17170 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17171 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17172 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17173 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17174 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17175 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17176 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17177 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17178 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17179 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17180 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17181 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17182 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17183 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17184 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17185 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17186 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17187 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17188 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17189 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17191 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17192 _XOPEN_SOURCE_EXTENDED for XPG4.
17194 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17196 * Makeconfig (localtime): Remove variable.
17197 (inst_localtime-file): Likewise.
17199 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17220 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17224 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17225 comparisons to determine direction to adjust input.
17226 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17227 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17232 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17234 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17235 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17237 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17239 * math/libm-test.inc (nexttoward_test): Add more tests.
17241 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17245 in version GLIBC_2.1, not GLIBC_2.0.
17246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17249 2012-04-30 Joseph Myers <joseph@codesourcery.com>
17252 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17254 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17255 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17256 * math/libm-test.inc (acos_test): Add more tests.
17257 (asin_test): Likewise.
17258 * sysdeps/i386/fpu/libm-test-ulps: Update.
17259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17262 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17264 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17265 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17266 * math/libm-test.inc (acos_test_tonearest): New function.
17267 (acos_test_towardzero): Likewise.
17268 (acos_test_downward): Likewise.
17269 (acos_test_upward): Likewise.
17270 (asin_test_tonearest): Likewise.
17271 (asin_test_towardzero): Likewise.
17272 (asin_test_downward): Likewise.
17273 (asin_test_upward): Likewise.
17274 (main): Call the new functions.
17275 * sysdeps/i386/fpu/libm-test-ulps: Update.
17276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17280 * math/e_exp10.c: Include <float.h>.
17281 (__ieee754_exp10): Handle underflow here rather than multiplying
17282 large negative argument by M_LN10.
17283 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17285 * math/e_exp10l.c: Include <float.h>.
17286 (__ieee754_exp10l): Handle underflow here rather than multiplying
17287 large negative argument by M_LN10l.
17288 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17289 spurious overflow exception on underflow.
17291 2012-04-29 Marek Polacek <polacek@redhat.com>
17293 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17294 (__fortify_function): New macro.
17295 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17296 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17297 __extern_always_inline.
17298 * libio/bits/stdio2.h: Likewise.
17299 * libio/bits/stdio.h: Likewise.
17300 * string/string.h: Likewise.
17301 * string/bits/string3.h: Likewise.
17302 * include/stdio.h: Likewise.
17303 * stdlib/bits/stdlib.h: Likewise.
17304 * stdlib/stdlib.h: Likewise.
17305 * rt/bits/mqueue2.h: Likewise.
17306 * rt/mqueue.h: Likewise.
17307 * posix/bits/unistd.h: Likewise.
17308 * posix/unistd.h: Likewise.
17309 * io/bits/poll2.h: Likewise.
17310 * io/bits/fcntl2.h: Likewise.
17311 * io/fcntl.h: Likewise.
17312 * io/sys/poll.h: Likewise.
17313 * misc/bits/syslog.h: Likewise.
17314 * misc/bits/syslog-ldbl.h: Likewise.
17315 * misc/sys/syslog.h: Likewise.
17316 * socket/bits/socket2.h: Likewise.
17317 * socket/sys/socket.h: Likewise.
17318 * debug/tst-chk1.c: Likewise.
17319 * wcsmbs/bits/wchar2.h: Likewise.
17320 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17321 * wcsmbs/wchar.h: Likewise.
17323 2012-04-29 Andreas Jaeger <aj@suse.de>
17325 * Makerules (tests): Remove enable-check-abi protection.
17326 (check-abi-warn): Remove.
17327 (check-abi-%): Remove check-abi-warn usage.
17329 * configure.in: Remove check-abi configure option.
17330 * configure: Regenerated.
17331 * config.make.in (enable-check-abi): Remove.
17333 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17336 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17337 double functions to double *_finite functions.
17340 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17341 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17343 * stdio-common/Makefile (tests): Add tst-sprintf3.
17344 * stdio-common/tst-sprintf3.c: New file.
17346 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17347 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17349 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17351 * conform/conformtest.pl: Remove duplicate typed-constant
17354 2012-04-28 David S. Miller <davem@davemloft.net>
17356 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17357 (check-abi-%): Remove AWK script prerequisite and explicit
17359 (check-abi): Rewrite to just diff the symlist with the abilist.
17360 (config-tls, config-abi-config): Delete, no longer used.
17361 (update-abi-%): Remove AWK script and explicit abilist directory.
17362 (update-abi): Rewrite to simply compare and conditionally copy the
17363 symlist and the sysdep abilist file. Remove update-abi-config
17365 * abilist/ld.abilist: Remove.
17366 * abilist/libBrokenLocale.abilist: Remove.
17367 * abilist/libanl.abilist: Remove.
17368 * abilist/libcrypt.abilist: Remove.
17369 * abilist/libdl.abilist: Remove.
17370 * abilist/librt.abilist: Remove.
17371 * abilist/libthread_db.abilist: Remove.
17372 * abilist/libutil.abilist: Remove.
17373 * scripts/extract-abilist.awk: Remove.
17374 * scripts/merge-abilist.awk: Remove.
17375 * sysdeps/generic/libcidn.abilist: New file.
17376 * sysdeps/generic/libnss_compat.abilist: New file.
17377 * sysdeps/generic/libnss_db.abilist: New file.
17378 * sysdeps/generic/libnss_dns.abilist: New file.
17379 * sysdeps/generic/libnss_files.abilist: New file.
17380 * sysdeps/generic/libnss_hesiod.abilist: New file.
17381 * sysdeps/generic/libnss_nis.abilist: New file.
17382 * sysdeps/generic/libnss_nisplus.abilist: New file.
17383 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17384 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17385 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17387 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17388 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17389 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17390 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17391 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17392 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17393 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17394 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17395 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17397 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17398 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17399 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17400 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17402 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17403 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17404 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17405 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17406 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17409 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17410 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17411 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17413 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17516 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17517 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17518 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17521 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17522 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17523 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17524 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17525 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17526 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17527 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17528 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17529 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17581 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17583 * conform/conformtest.pl: Fix typo in handling typed-constant from
17586 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17588 * README: Cut down references to pre-2.6 Linux kernels and
17589 Linuxthreads. Update lists of configurations in libc and ports
17590 and sort alphabetically. Say "or newer" with Linux kernel version
17593 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17595 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17598 * math/libm-test.inc (logb_test_downward): New test to expose
17599 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17602 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17605 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17607 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17608 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17610 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17612 * sysdeps/unix/i386/brk.S: Remove file.
17613 * sysdeps/unix/i386/dl-brk.S: Likewise.
17614 * sysdeps/unix/i386/pipe.S: Likewise.
17615 * sysdeps/unix/i386/sigreturn.S: Likewise.
17616 * sysdeps/unix/i386/syscall.S: Likewise.
17617 * sysdeps/unix/i386/vfork.S: Likewise.
17618 * sysdeps/unix/i386/wait.S: Likewise.
17620 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17621 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17623 * configure.in (arm*-none*): Do not allow without
17624 --enable-hacker-mode.
17625 (netbsd*): Remove case setting base_os.
17626 (386bsd*): Likewise.
17627 (freebsd*): Likewise.
17630 (sunos*): Likewise.
17631 (ultrix*): Likewise.
17632 (newsos*): Likewise.
17633 (dynix*): Likewise.
17639 (minix*): Likewise.
17640 (irix4*): Likewise.
17641 (irix6*): Likewise.
17642 (solaris[2-9]*): Likewise.
17644 * configure: Regenerated.
17646 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17650 overflow or cancellation in calculating denominator.
17651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17653 down expression to avoid unexpected rounding in newer GCCs.
17654 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17656 2012-04-26 David S. Miller <davem@davemloft.net>
17658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17659 long-double compat symbols.
17660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17674 2012-04-25 David S. Miller <davem@davemloft.net>
17676 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17677 HWCAP_* values only after the memory barriers have been defined.
17678 (atomic_full_barrier): Define.
17679 (atomic_read_barrier): Define.
17680 (atomic_write_barrier): Define.
17682 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17684 * shlib-versions: Add libgcc_s version information.
17685 * sysdeps/generic/libgcc_s.h: Remove.
17686 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17688 * sysdeps/gnu/unwind-resume.c: Likewise.
17689 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17691 2012-04-25 David S. Miller <davem@davemloft.net>
17693 * sysdeps/unix/sparc/brk.S: Delete.
17694 * sysdeps/unix/sparc/dl-brk.S: Delete.
17695 * sysdeps/unix/sparc/pipe.S: Delete.
17696 * sysdeps/unix/sparc/sysdep.S: Delete.
17697 * sysdeps/unix/sparc/sysdep.h: Delete.
17698 * sysdeps/unix/sparc/vfork.S: Delete.
17699 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17700 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17702 ret_ERRVAL, r0, r1, MOVE): Define.
17703 (JUMPTARGET): Remove.
17704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17705 sysdeps/unix/sparc/sysdep.h
17706 (ENTRY, END): Remove.
17707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17709 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17711 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17712 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17715 * timezone/README: Update upstream location and email address for
17717 * timezone/zdump.c: Update from tzcode 2012b.
17718 * timezone/zic.c: Likewise.
17720 * configure.in (libc_cv_as_needed): Remove test.
17721 * configure: Regenerated.
17722 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17723 conditional definition.
17724 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17725 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17726 * config.make.in (have-as-needed): Remove variable.
17728 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17729 Paul Pluzhnikov <ppluzhnikov@google.com>
17731 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17734 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17736 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17737 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17738 * sysdeps/sh/strlen.S: Likewise.
17740 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17742 * sysdeps/unix/fork.S: Remove file.
17743 * sysdeps/unix/i386/fork.S: Likewise.
17744 * sysdeps/unix/sparc/fork.S: Likewise.
17746 * sysdeps/unix/system.c: Remove file.
17747 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17749 * sysdeps/unix/getegid.S: Remove file.
17750 * sysdeps/unix/geteuid.S: Likewise.
17752 2012-04-24 Roland McGrath <roland@hack.frob.com>
17754 * scripts/check-localplt.awk: New file.
17755 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17757 * scripts/data/localplt-generic.data: Add a comment.
17759 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17760 NODE when __dir_mkfile failed.
17761 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17762 Reported by Ludovic Courtès <ludo@gnu.org>.
17764 2012-04-24 Andreas Jaeger <aj@suse.de>
17766 * Makerules (common-clean): Also remove gen-as-const-headers
17769 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17771 * Makerules (native-compile): Do not change working directory for
17772 build. Use $(OUTPUT_OPTION) in command.
17773 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17775 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17778 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17779 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17780 * math/libm-test.inc (floor_test): Add more tests.
17781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17783 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17785 * sysdeps/unix/getdents.c: Remove file.
17786 * sysdeps/unix/sysv/getdents.c: Likewise.
17787 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17789 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17790 sysdeps/unix/mman/syscalls.list.
17792 (mprotect): Likewise.
17794 (munmap): Likewise.
17795 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17796 * sysdeps/unix/mman/syscalls.list: Remove.
17797 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17799 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17800 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17801 * configure: Regenerated.
17802 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17803 $(libgcc_s_suffix).
17804 * config.make.in (libgcc_s_suffix): Remove variable.
17806 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17808 * sysdeps/unix/sysv/gethostname.c: Move to ...
17809 * sysdeps/posix/gethostname.c: ... here.
17811 * sysdeps/unix/execve.S: Remove file.
17813 * sysdeps/unix/_exit.S: Remove file.
17815 2012-04-23 Andreas Jaeger <aj@suse.de>
17818 * manual/Makefile: Remove make dist support, there's no
17819 need for a stand-alone documentation tar ball.
17820 (TEXI2DVI): Define always, it's not in Makeconfig.
17823 (edition): Removed.
17824 (glibc-doc-$(edition).tar): Removed
17828 (ETAGS): Remove, it's in Makeconfig.
17829 (move-if-change): Remove, it's in Makeconfig.
17831 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17834 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17835 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17836 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17837 (strtod_l, strtof_l, strtold_l): Remove __wur.
17838 It is not necessarily an error to ignore strtol's return value.
17839 One can reliably look at the stored endptr to decide whether
17840 the number had valid syntax.
17842 2012-04-21 Andreas Jaeger <aj@suse.de>
17845 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17847 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17849 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17850 * sysdeps/unix/sysv/Versions: Remove file.
17852 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17857 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17861 version from __vm86.
17863 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17865 * sysdeps/unix/common/lxstat.c: Remove file.
17866 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17868 * sysdeps/unix/sysv/Makefile: Remove file.
17870 * sysdeps/unix/sysv/direct.h: Remove file.
17872 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17873 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17874 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17875 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17876 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17877 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17878 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17880 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17882 * sysdeps/unix/xmknod.c: Remove file.
17883 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17885 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17887 * sysdeps/unix/sysv/i386/time.S: Remove file.
17889 * sysdeps/unix/fxstat.c: Remove file.
17890 * sysdeps/unix/xstat.c: Likewise.
17891 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17893 * sysdeps/unix/sysv/sigaction.c: Remove file.
17895 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17896 (sysdep_headers): Remove variable.
17897 [termio.h not in sysdep_headers] (generated): Likewise.
17898 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17899 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17900 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17901 * sysdeps/unix/sysv/tcflow.c: Likewise.
17902 * sysdeps/unix/sysv/tcflush.c: Likewise.
17903 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17904 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17905 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17906 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17907 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17909 * sysdeps/unix/siglist.c: Remove file.
17911 * sysdeps/unix/getppid.S: Remove file.
17913 * sysdeps/unix/mkdir.c: Remove file.
17914 * sysdeps/unix/rmdir.c: Likewise.
17916 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17918 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17920 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17921 errlist-compat value.
17923 2012-04-18 David S. Miller <davem@davemloft.net>
17925 * sysdeps/generic/memcopy.h (reg_char): Delete.
17926 * debug/strcat_chk.c: Use char, not reg_char.
17927 * debug/strcpy_chk.c: Likewise.
17928 * debug/strncat_chk.c: Likewise.
17929 * debug/strncpy_chk.c: Likewise.
17930 * string/memchr.c: Likewise.
17931 * string/memrchr.c: Likewise.
17932 * string/rawmemchr.c: Likewise.
17933 * string/strcat.c: Likewise.
17934 * string/strchr.c: Likewise.
17935 * string/strchrnul.c: Likewise.
17936 * string/strcmp.c: Likewise.
17937 * string/strcpy.c: Likewise.
17938 * string/strncat.c: Likewise.
17939 * string/strncmp.c: Likewise.
17940 * string/strncpy.c: Likewise.
17942 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17944 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17945 __builtin_memcopy is called when src and dest ranges are known to not
17948 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17950 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17951 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17952 fwd_align_merge macro call.
17953 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17954 bwd_align_merge macro call.
17955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17957 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17959 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17960 bwd_align_merge macros.
17961 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17962 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17965 2012-04-18 David S. Miller <davem@davemloft.net>
17967 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17969 2012-04-18 Andreas Jaeger <aj@suse.de>
17972 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17973 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17974 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17976 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17977 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17978 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17980 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17981 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17982 Adjust for changed ldbl-128 files.
17984 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17985 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17988 2012-04-17 David S. Miller <davem@davemloft.net>
17990 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17992 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17994 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17995 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17996 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17997 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17998 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17999 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18001 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18004 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18005 * math/libm-test.inc: Add ilogb errno and exception tests.
18006 * math/w_ilogb.c: New file: ilogb wrapper.
18007 * math/w_ilogbf.c: New file: ilogbf wrapper.
18008 * math/w_ilogbl.c: New file: ilogbl wrapper.
18009 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18010 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18011 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18012 exception being thrown with 0.0 as argument.
18013 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18014 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18015 exception being thrown with 0.0 as argument.
18016 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18017 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18018 exception being thrown with 0.0 as argument.
18019 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18020 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18021 exception being thrown with 0.0 as argument.
18022 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18023 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18025 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18026 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18028 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18029 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18030 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18032 2012-04-17 Petr Baudis <pasky@ucw.cz>
18034 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18037 2012-04-16 Marek Polacek <polacek@redhat.com>
18039 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18041 2012-04-16 Marek Polacek <polacek@redhat.com>
18043 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18044 operands of fdivp instruction.
18046 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18048 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18049 * elf/tst-auditmod3b.c: Likewise.
18050 * elf/tst-auditmod4b.c: Likewise.
18051 * elf/tst-auditmod5b.c: Likewise.
18052 * elf/tst-auditmod6b.c: Likewise.
18053 * elf/tst-auditmod6c.c: Likewise.
18054 * elf/tst-auditmod7b.c: Likewise.
18055 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18056 * sysdeps/x86_64/preconfigure.in: Likewise.
18057 * sysdeps/x86_64/preconfigure: Regenerated.
18059 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18061 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18064 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18067 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18069 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18072 * locale/iso-639.def: Fix gl language name. Spotted by
18075 2012-04-12 Roland McGrath <roland@hack.frob.com>
18078 * libio/libio.h (__io_write_fn): Update comment.
18080 2012-04-12 Petr Baudis <pasky@ucw.cz>
18083 * stdio.texi (Hook Functions): The user provided writer function
18084 is not allowed to return -1.
18086 2012-04-11 David S. Miller <davem@davemloft.net>
18088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18090 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18092 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18093 Add a leading slash to rtkaio.
18095 2012-04-11 Jim Meyering <meyering@redhat.com>
18098 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18099 It is not necessarily an error to ignore fwrite's return
18100 value. One can reliably use ferror to test for errors after
18103 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18105 * bits/types.h (__snseconds_t): New type.
18106 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18108 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18110 (__SNSECONDS_T_TYPE): Likewise.
18111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18112 (__SNSECONDS_T_TYPE): Likewise.
18113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18114 (__SNSECONDS_T_TYPE): Likewise.
18116 2012-04-10 Andreas Jaeger <aj@suse.de>
18119 * manual/time.texi (Processor Time): Return type of times is
18120 elapsed real time since an arbitrary point in the past.
18121 (CPU Time): Move CLK_TCK from here...
18122 (Processor Time): ...to here. Correct description.
18123 * manual/conf.texi (Constants for Sysconf): Correct description of
18126 2012-04-10 David S. Miller <davem@davemloft.net>
18129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18130 where the is a gap between DT_REL(A) and DT_JMPREL.
18132 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18134 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18135 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18136 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18138 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18140 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18141 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18142 (dl_main): Handle --inhibit-cache.
18143 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18145 * elf/dl-load.c (_dl_map_object): Use it.
18146 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18148 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18151 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18152 (__ieee754_powl): Saturate large exponents rather than testing for
18153 overflow of y*log2(x).
18154 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18155 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18159 * math/s_ctan.c: Include <float.h>.
18160 (__ctan): Avoid internal overflow or cancellation in calculating
18162 * math/s_ctanf.c: Likewise.
18163 * math/s_ctanl.c: Likewise.
18164 * math/s_ctanh.c: Likewise.
18165 * math/s_ctanhf.c: Likewise.
18166 * math/s_ctanhl.c: Likewise.
18167 * math/libm-test.inc (ctan_test): Add more tests.
18168 (ctanh_test): Likewise.
18169 * sysdeps/i386/fpu/libm-test-ulps: Update.
18170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18172 2012-04-09 Andreas Jaeger <aj@suse.de>
18175 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18176 is an optional BSD extension.
18179 * manual/stdio.texi (Opening Streams): Document additional fopen
18182 2012-04-09 Roland McGrath <roland@hack.frob.com>
18184 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18185 %eax without telling the compiler.
18187 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18190 * manual/install.texi: Use sourceware.org.
18192 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18195 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18196 (__ieee754_pow): Generate overflow and underflow using huge*huge
18197 and tiny*tiny rather than just returning constant infinity or zero
18198 for large exponents.
18199 * math/libm-test.inc (pow_test): Require overflow exceptions for
18200 applicable cases of large exponents.
18203 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18204 (__ieee754_pow): Use iterative multiplication algorithm only for
18205 integer exponents with absolute value below 1024. Check for odd
18206 integer exponents when using algorithm for real exponents.
18207 * math/libm-test.inc (pow_test): Add more tests.
18208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18210 2012-04-08 Joseph Myers <joseph@codesourcery.com>
18213 * math/libm-test.inc (exp_test): Do not allow overflow exception
18216 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18219 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18220 instead of __kernel_standard_f.
18222 2012-04-08 Mike Frysinger <vapier@gentoo.org>
18224 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18225 * sysdeps/x86_64/memset_chk.S: Likewise.
18227 2012-04-08 Andreas Jaeger <aj@suse.de>
18230 * manual/startup.texi (Environment Access): Describe return value
18231 for putenv and setenv.
18234 * manual/filesys.texi (Directory Entries): Add description for
18238 * manual/filesys.texi (Directory Entries): Clarify that it's file
18239 system not operating system in the description of DT_UNKNOWN.
18242 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18244 2012-04-08 Stephen Compall <s11@member.fsf.org>
18247 * manual/llio.texi (Opening and Closing Files): Add cross
18248 reference to explain mode argument.
18250 2012-04-07 Mike Frysinger <vapier@gentoo.org>
18252 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18253 * sysdeps/x86_64/memset_chk.S: Likewise.
18255 2012-04-07 David S. Miller <davem@davemloft.net>
18257 * elf/elf.h (R_SPARC_WDISP10): Define.
18258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18261 R_SPARC_SIZE64 and R_SPARC_H34.
18263 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18266 conditions and remove no longer applicable assertion.
18268 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18270 * bits/byteswap.h: Include <features.h>.
18271 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18272 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18274 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18276 * bits/byteswap.h (__bswap_16): Removed.
18277 Include <bits/byteswap-16.h> to get __bswap_16.
18278 * sysdeps/i386/bits/byteswap.h: Likewise.
18279 * sysdeps/s390/bits/byteswap.h: Likewise.
18280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18281 * bits/byteswap-16.h: New file.
18282 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18283 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18284 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18285 * string/Makefile (headers): Add bits/byteswap-16.h.
18287 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18290 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18292 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18293 * nss/tst-nss-static.c: New.
18295 2012-04-06 Robert Millan <rmh@gnu.org>
18298 * manual/llio.texi (File Position Primitive): lseek
18299 refers to WHENCE when it really means OFFSET.
18301 2012-04-06 Andreas Jaeger <aj@suse.de>
18303 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18304 strncmp declarations.
18306 * abilist/libc.abilist: Add __poll and __ppoll.
18308 2012-04-05 David S. Miller <davem@davemloft.net>
18310 * scripts/check-local-headers.sh: Accept a host triplet in the
18311 path matched by the exclude regexp.
18313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18315 * sysdeps/powerpc/powerpc32/dl-machine.h
18316 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18317 * sysdeps/s390/s390-32/dl-machine.h
18318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18319 * sysdeps/sparc/sparc32/dl-machine.h
18320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18321 * sysdeps/sparc/sparc64/dl-machine.h
18322 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18324 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18326 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
18327 undefined symbol errors.
18329 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
18332 2012-04-05 Michael Matz <matz@suse.de>
18335 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18337 2012-04-05 Andreas Jaeger <aj@suse.de>
18340 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18343 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18345 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18346 which ROUND is no valid rounding mode.
18348 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18352 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18354 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18356 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18357 an exception using FPU order intentionally.
18359 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18361 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18362 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18363 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18364 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18366 2012-04-05 Simon Josefsson <simon@josefsson.org>
18369 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18370 EINVAL when BUFLEN is too smal.
18372 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18375 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18376 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18378 2012-04-03 Andreas Jaeger <aj@suse.de>
18381 * manual/setjmp.texi (System V contexts): Fix sentence.
18384 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18385 New macro for this case.
18386 [!__GNUC__] (__bswap_64): New inline function for this case.
18387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18388 * bits/byteswap.h: Likewise.
18389 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18390 ull, guard with __GLIBC_HAVE_LONG_LONG.
18392 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18393 __GLIBC_HAVE_LONG_LONG.
18395 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18396 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18398 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18401 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18402 inptr and inend, rather than using last_ch.
18404 2012-04-02 David S. Miller <davem@davemloft.net>
18406 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18407 * stdio-common/printf-parse.h (read_int): Change return type to
18408 'int', return -1 on INT_MAX overflow.
18409 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18410 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18411 overflows INT_MAX. Check for overflow of in-format-string precision
18412 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18413 SIZE_MAX not INT_MAX for integer overflow test.
18414 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18415 skip the construct in the format string but do not record anything.
18416 * stdio-common/bug22.c: Adjust to test both width/prevision
18417 INT_MAX overflow as well as total length INT_MAX overflow. Check
18418 explicitly for proper errno values.
18420 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18422 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18424 * string/test-strcmp.c [! WIDE]: Likewise.
18425 * time/tst-mktime2.c: Likewise for INT_MAX.
18426 * string/test-string.h: #include <sys/param.h> for MIN.
18428 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18429 * sysdeps/i386/init-first.c (init): Likewise.
18430 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18431 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18432 * sysdeps/sh/init-first.c (init): Likewise.
18434 2012-04-01 Ulrich Drepper <drepper@gmail.com>
18436 * po/ru.po: Update from translation team.
18437 * po/vi.po: Likewise.
18439 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18441 * resolv/nss_dns/dns-host.c: Merge copyright years.
18443 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18446 Optimize memcpy with prefetch if
18447 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18448 src, dst pointers have unequal 16 byte alignments.
18450 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18453 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18454 from a CNAME entry and return the minimum ttl for the query.
18455 (gaih_getanswer_slice): Likewise.
18457 2012-03-30 Jeff Law <law@redhat.com>
18459 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18461 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18462 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18464 * resolv/nss_dns/dns-host.c: Update copyright year.
18466 2012-03-30 Ulrich Drepper <drepper@gmail.com>
18468 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18469 requests to save a system call. Fix check that all bytes are sent.
18471 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18472 comments for sendmmsg.
18474 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18477 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18478 with only 1 character between 0x0041 and 0x01b0.
18479 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18480 * wcsmbs/tst-mbsnrtowcs.c: New file.
18482 2012-03-29 David S. Miller <davem@davemloft.net>
18484 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18485 small copies by hand.
18487 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18490 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18491 _nss_compat_initgroups_dyn): Fall back to malloc/free
18492 for large group memberships.
18494 2012-03-28 David S. Miller <davem@davemloft.net>
18496 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18497 that branches into memcpy.
18498 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18501 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18504 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18505 implementation too.
18506 * sysdeps/sparc/mempcpy.S: New file.
18508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18509 the IFUNC routine in the libc case.
18510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18512 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18513 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18514 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18515 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18516 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18517 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18518 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18519 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18521 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18522 loop to 256 bytes instead of 64 bytes and fix test signedness.
18524 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18525 * sysdeps/sparc/sparc32/Makefile: rather than here...
18526 * sysdeps/sparc/sparc64/Makefile: and here.
18528 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18530 * malloc/mallocbug.c: Avoid warnings about unused variables.
18532 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18535 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18536 in the right place. Discard and retry query if response is
18537 larger than input buffer size.
18539 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18545 x for large integer exponent.
18546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18548 sign of result as needed afterwards.
18549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18551 result for underflowing pow the same as for overflow.
18552 (__kernel_standard_l): Handle powl overflow and underflow here
18553 rather than calling __kernel_standard.
18554 * math/libm-test.inc (pow_test): Add more tests.
18569 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18570 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18571 (__kernel_standard_l): New function.
18572 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18574 * math/w_acosl.c (__acosl): Likewise.
18575 * math/w_asinl.c (__asinl): Likewise.
18576 * math/w_atan2l.c (__atan2l): Likewise.
18577 * math/w_atanhl.c (__atanhl): Likewise.
18578 * math/w_coshl.c (__coshl): Likewise.
18579 * math/w_exp10l.c (__exp10l): Likewise.
18580 * math/w_exp2l.c (__exp2l): Likewise.
18581 * math/w_fmodl.c (__fmodl): Likewise.
18582 * math/w_hypotl.c (__hypotl): Likewise.
18583 * math/w_j0l.c (__j0l, __y0l): Likewise.
18584 * math/w_j1l.c (__j1l, __y1l): Likewise.
18585 * math/w_jnl.c (__jnl, __ynl): Likewise.
18586 * math/w_lgammal.c (__lgammal): Likewise.
18587 * math/w_log10l.c (__log10l): Likewise.
18588 * math/w_log2l.c (__log2l): Likewise.
18589 * math/w_logl.c (__logl): Likewise.
18590 * math/w_powl.c (__powl): Likewise.
18591 * math/w_remainderl.c (__remainderl): Likewise.
18592 * math/w_scalbl.c (sysv_scalbl): Likewise.
18593 * math/w_sinhl.c (__sinhl): Likewise.
18594 * math/w_sqrtl.c (__sqrtl): Likewise.
18595 * math/w_tgammal.c (__tgammal): Likewise.
18596 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18597 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18598 * math/libm-test.inc (acos_test): Add more tests.
18599 (acosh_test): Likewise.
18600 (asin_test): Likewise.
18601 (atanh_test): Likewise.
18602 (exp_test): Likewise.
18603 (exp10_test): Likewise.
18604 (exp2_test): Likewise.
18605 (expm1_test): Likewise.
18606 (lgamma_test): Likewise.
18607 (log_test): Likewise.
18608 (log10_test): Likewise.
18609 (log1p_test): Likewise.
18610 (log2_test): Likewise.
18611 (pow_test): Do not allow some spurious overflow exceptions.
18612 (sqrt_test): Add more tests.
18613 (tgamma_test): Likewise.
18614 (y0_test): Likewise.
18615 (y1_test): Likewise.
18616 (yn_test): Likewise.
18618 2012-03-27 Anton Blanchard <anton@samba.org>
18620 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18623 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18626 2012-03-27 David S. Miller <davem@davemloft.net>
18628 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18630 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18631 have-as-vis3 check.
18633 2012-03-27 Andreas Jaeger <aj@suse.de>
18635 * sysdeps/x86_64/elf/configure.in: Moved to ...
18636 * sysdeps/x86_64/configure.in: ... here.
18637 * sysdeps/x86_64/elf/start.S: Moved to ...
18638 * sysdeps/x86_64/start.S: ... here.
18639 * sysdeps/x86_64/elf/configure: Delete.
18641 * sysdeps/x86_64/configure.in: Merge contents from
18642 sysdeps/i386/configure.in (without i686 check).
18644 * sysdeps/i386/elf/Versions: Merge into ...
18645 * sysdeps/i386/Versions: ... this.
18646 * sysdeps/i386/elf/Versions: Delete file.
18647 * sysdeps/i386/elf/start.S: Moved to ...
18648 * sysdeps/i386/start.S: ...here.
18649 * sysdeps/i386/elf/configure.in: Merge into...
18650 * sysdeps/i386/configure.in: ...here.
18651 * sysdeps/i386/elf/configure.in: Delete file.
18652 * sysdeps/i386/elf/configure: Delete file.
18654 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18655 * debug/backtracesyms.c: ... here.
18656 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18657 * debug/backtracesymsfd.c: ... here.
18658 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18659 * sysdeps/generic/ifunc-sel.h: ... here.
18661 * sysdeps/unix/i386/start.c: Delete file.
18662 * sysdeps/unix/sparc/start.c: Delete file.
18663 * sysdeps/unix/start.c: Delete file.
18665 * sysdeps/sh/elf/configure.in: Moved to ...
18666 * sysdeps/sh/configure.in: ... here.
18667 * sysdeps/sh/elf/start.S: Moved to ...
18668 * sysdeps/sh/start.S: ... here.
18669 * sysdeps/sh/elf/configure: Delete file.
18671 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18672 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18673 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18674 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18675 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18676 * sysdeps/powerpc/powerpc64/start.S: here.
18677 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18678 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18679 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18680 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18681 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18683 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18684 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18685 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18686 * sysdeps/powerpc/powerpc32/start.S: ... here.
18687 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18688 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18689 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18691 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18692 * sysdeps/powerpc/ifunc-sel.h: ... here.
18693 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18694 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18696 * sysdeps/sparc/elf/configure.in: Moved to ...
18697 * sysdeps/sparc/configure.in: ... here.
18698 * sysdeps/sparc/elf/configure: Delete file.
18699 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18700 * sysdeps/sparc/sparc32/start.S: ... here.
18701 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18702 * sysdeps/sparc/sparc64/start.S: ... here.
18703 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18704 * sysdeps/sparc/sparc32/Makefile: ... this.
18705 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18706 * sysdeps/sparc/sparc64/Makefile: ... this.
18708 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18709 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18710 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18711 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18712 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18713 * sysdeps/s390/s390-32/setjmp.S: ... here.
18714 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18715 * sysdeps/s390/s390-32/configure.in: ... here.
18716 * sysdeps/s390/s390-32/elf/configure: Delete file.
18717 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18718 * sysdeps/s390/s390-32/start.S: ... here.
18720 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18721 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18722 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18723 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18724 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18725 * sysdeps/s390/s390-64/setjmp.S: ... here.
18726 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18727 * sysdeps/s390/s390-64/configure.in: ... here
18728 * sysdeps/s390/s390-64/elf/configure: Delete file.
18729 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18730 * sysdeps/s390/s390-64/start.S: ... here.
18731 * sysdeps/s390/s390-64/elf/configure: Delete.
18733 * configure.in: Remove support for elf directories in sysdeps.
18735 * configure: Regenerated.
18736 * sysdeps/i386/configure: Regenerated.
18737 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18738 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18739 * sysdeps/s390/s390-32/configure: Regenerated.
18740 * sysdeps/s390/s390-64/configure: Regenerated.
18741 * sysdeps/sh/configure: Regenerated.
18742 * sysdeps/sparc/configure: Regenerated.
18743 * sysdeps/x86_64/configure: Regenerated.
18745 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18750 denormal result into account.
18752 2012-03-25 Roland McGrath <roland@hack.frob.com>
18754 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18755 Reported by Allan McRae <allan@archlinux.org>.
18757 2012-03-23 Jeff Law <law@redhat.com>
18759 * nss/getnssent.c (__nss_getent): Fix typo.
18761 2012-03-23 David S. Miller <davem@davemloft.net>
18763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18765 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18767 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18768 to pad to uint64_t for each field.
18769 (dl_tls_index): Replace unsigned long with uint64_t.
18771 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18772 Paul Pluzhnikov <ppluzhnikov@google.com>
18775 * grp/Makefile (otherlibs): Don't set it.
18776 * inet/Makefile (otherlibs): Likewise.
18777 * login/Makefile (otherlibs): Likewise.
18778 * nscd/Makefile (otherlibs): Likewise.
18779 * posix/Makefile (otherlibs): Likewise.
18780 * pwd/Makefile (otherlibs): Likewise.
18781 * rt/Makefile (otherlibs): Likewise.
18782 * sunrpc/Makefile (otherlibs): Likewise.
18783 * nss/Makefile (otherlibs): Likewise.
18784 Add libnss_files to routines and static-only-routines.
18785 ($(objpfx)getent): Remove rule.
18786 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18787 static-only-routines.
18789 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18792 * math/s_cexp.c: Include <float.h>.
18793 (__cexp): Handle exp result overflowing not necessarily
18794 overflowing both real and imaginary parts of result.
18795 * math/s_cexpf.c: Likewise.
18796 * math/s_cexpl.c: Likewise.
18797 * math/libm-test.inc (cexp_test): Add more tests.
18798 * sysdeps/i386/fpu/libm-test-ulps: Update.
18799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18803 * include/link.h (ELFW): New macro.
18804 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18805 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18807 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18809 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18812 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18814 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18816 (struct La_x32_retval): Likewise.
18818 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18820 * sysdeps/x86_64/preconfigure.in: New file.
18821 * sysdeps/x86_64/preconfigure: New generated file.
18823 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18826 * math/e_exp2l.c: Include <float.h>.
18827 (__ieee754_exp2l): Handle overflow and underflow cases
18828 separately. Only pass fractional part of argument to
18830 * math/libm-test.inc (exp2_test): Add more tests.
18832 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18833 negating x to take absolute value.
18834 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18839 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18840 computing low part if x was negated.
18841 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18843 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18845 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18846 la_x32_gnu_pltexit.
18847 (pltexit): Cast int_retval to ptrdiff_t.
18848 * elf/tst-auditmod3b.c: Likewise.
18849 * elf/tst-auditmod4b.c: Likewise.
18850 * elf/tst-auditmod5b.c: Likewise.
18851 * elf/tst-auditmod6b.c: Likewise.
18852 * elf/tst-auditmod6c.c: Likewise.
18853 * elf/tst-auditmod7b.c: Likewise.
18855 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18856 and x32_gnu_pltexit.
18858 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18859 __ELF_NATIVE_CLASS.
18860 (La_x32_regs): New macro.
18861 (La_x32_retval): Likewise.
18862 (la_x32_gnu_pltenter): New function prototype.
18863 (la_x32_gnu_pltexit): Likewise.
18865 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18872 * configure.in (libc_cv_cc_nofma): Check for option to disable
18873 generation of FMA instructions.
18874 * configure: Regenerate.
18875 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18876 * sysdeps/ieee754/dbl-64/Makefile: New file.
18877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18878 Remove brandred-fma4.
18879 (CFLAGS-brandred-fma4.c): Remove.
18880 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18881 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18883 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18886 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18888 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18889 LLONG_MAX != LONG_MAX.
18890 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18891 (_fitoa_word): Likewise.
18892 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18893 LLONG_MAX != LONG_MAX.
18894 * stdio-common/_itowa.h: Include <_itoa.h>.
18895 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18896 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18897 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18898 only if not defined.
18899 (_ITOA_WORD_TYPE): Likewise.
18900 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18901 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18903 2012-03-21 David S. Miller <davem@davemloft.net>
18905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18907 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18909 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18910 of x86_64 when setting libc_cv_slibdir, libdir and
18912 * sysdeps/unix/sysv/linux/configure: Regenerated.
18914 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18916 * manual/lang.texi (Old Varargs): Remove section.
18917 (How Variadic): Update menu.
18918 (va_start): Do not mention varargs.h.
18920 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18921 Joseph Myers <joseph@codesourcery.com>
18923 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18925 * configure: Regenerated.
18927 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18929 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18930 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18933 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18936 * Makefile (files-for-dist): Remove NOTES.
18937 (NOTES): Remove rule.
18938 * README: Don't refer to NOTES.
18939 * manual/creature.texi: Don't include macros.texi.
18940 * manual/intro.texi (creature.texi): Remove comment referring to
18943 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18944 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18945 * configure: Regenerated.
18946 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18947 LIBC_TRY_CC_OPTION.
18948 (libc_cv_as_i686): Likewise.
18949 (libc_cv_cc_avx): Likewise.
18950 (libc_cv_cc_sse2avx): Likewise.
18951 (libc_cv_cc_fma4): Likewise.
18952 (libc_cv_cc_novzeroupper): Likewise.
18953 * sysdeps/i386/configure: Regenerated.
18956 * sysdeps/i386/fpu/s_cexp.S: Remove.
18957 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18958 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18959 * math/libm-test.inc (cexp_test): Add more tests.
18960 * sysdeps/i386/fpu/libm-test-ulps: Update.
18961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18963 2012-03-21 Allan McRae <allan@archlinux.org>
18965 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18970 * math/w_exp2.c: Do not include <float.h>.
18971 (o_threshold, u_threshold): Remove.
18972 (__exp2): Calculate result before checking finiteness and calling
18974 * math/w_exp2f.c: Likewise.
18975 * math/w_exp2l.c: Likewise.
18976 * math/libm-test.inc (exp2_test): Require overflow exception for
18980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18981 range of signed 64-bit integers before using fistpll. Remove
18982 checks for whether integers fit in mantissa bits.
18983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18984 the range of signed 32-bit integers before using fistpl. Remove
18985 checks for whether integers fit in mantissa bits.
18986 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18987 (__ieee754_powl): Test for y outside the range of signed 64-bit
18988 integers before using fistpll. Reduce 64-bit values to 63-bit
18990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18991 divide-by-zero is raised for zero to large negative powers.
18992 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18993 (__ieee754_powl): Test for y outside the range of signed 64-bit
18994 integers before using fistpll. Reduce 64-bit values to 63-bit
18996 * math/libm-test.inc (pow_test): Add more tests.
18998 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19000 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19001 <stdio-common/_itoa.h>.
19002 * debug/segfault.c: Likewise.
19003 * elf/dl-cache.c: Likewise.
19004 * elf/dl-minimal.c: Likewise.
19005 * elf/dl-misc.c: Likewise.
19006 * elf/dl-sysdep.c: Likewise.
19007 * elf/dl-version.c: Likewise.
19008 * elf/rtld.c: Likewise.
19009 * hurd/hurdsock.c: Likewise.
19010 * hurd/lookup-retry.c: Likewise.
19011 * malloc/malloc.c: Likewise.
19012 * malloc/mtrace.c: Likewise.
19013 * nscd/nscd_getgr_r.c: Likewise.
19014 * nscd/nscd_getpw_r.c: Likewise.
19015 * nscd/nscd_getserv_r.c: Likewise.
19016 * posix/getopt_init.c: Likewise.
19017 * posix/wordexp.c: Likewise.
19018 * stdio-common/_itoa.c: Likewise.
19019 * stdio-common/printf_fphex.c: Likewise.
19020 * stdio-common/vfprintf.c: Likewise.
19021 * string/_strerror.c: Likewise.
19022 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19023 * sysdeps/i386/i686/hp-timing.h: Likewise.
19024 * sysdeps/mach/_strerror.c: Likewise.
19025 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19026 * sysdeps/mach/hurd/sethostid.c: Likewise.
19027 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19028 * sysdeps/mach/xpg-strerror.c: Likewise.
19029 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19030 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19031 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19032 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19033 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19034 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19035 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19036 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19037 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19038 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19039 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19040 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19041 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19043 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19044 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19045 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19046 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19047 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19048 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19049 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19051 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19053 * stdio-common/_itoa.h: Moved to ...
19054 * sysdeps/generic/_itoa.h: Here.
19056 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19058 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19059 instead of "_itoa.h" and "_itowa.h".
19060 * stdio-common/vfprintf.: Likewise.
19062 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19064 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19066 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19067 (__signbit): Likwise.
19068 (llrintf): Likwise.
19071 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19073 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19076 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19078 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19079 OVERFLOW_EXCEPTION_OK.
19080 * math/libm-test.inc ("Philosophy"): Update comment about
19082 (OVERFLOW_EXCEPTION): Define.
19083 (OVERFLOW_EXCEPTION_OK): Likewise.
19084 (INVALID_EXCEPTION_OK): Renumber.
19085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19086 (IGNORE_ZERO_INF_SIGN): Likewise.
19087 (test_exceptions): Handle FE_OVERFLOW.
19088 (exp10_test): Expect overflow exceptions.
19089 (exp2_test): Likewise.
19090 (expm1_test): Likewise.
19091 (nextafter_test): Likewise.
19092 (pow_test): Likewise.
19093 (scalbn_test): Likewise.
19094 (scalbln_test): Likewise.
19096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19098 * sysdeps/x86_64/bits/atomic.h
19099 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19101 (atomic_exchange_acq): Likewise.
19102 (__arch_exchange_and_add_body): Likewise.
19103 (__arch_add_body): Likewise.
19104 (atomic_add_negative): Likewise.
19105 (atomic_add_zero): Likewise.
19107 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19109 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19110 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19112 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19114 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19115 Check __x86_64__ instead of __WORDSIZE.
19117 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19119 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19121 2012-03-19 David S. Miller <davem@davemloft.net>
19123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19125 * sysdeps/sparc/fpu/fenv_private.h: New file.
19126 * sysdeps/sparc/fpu/math_private.h: Use it.
19127 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19129 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19130 (libc_feholdexcept_setroundl): Remove.
19131 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19133 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19134 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19136 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19138 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19139 int64_t instead of long int.
19140 (INSERT_WORDS64): Likwise.
19142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19144 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19145 _Unwind_GetCFA return to _Unwind_Ptr first.
19147 2012-03-19 Joseph Myers <joseph@codesourcery.com>
19150 * math/s_clog.c: Include <float.h>.
19151 (__clog): Scale large or subnormal inputs.
19152 * math/s_clogf.c: Likewise.
19153 * math/s_clogl.c: Likewise.
19154 * math/s_clog10.c: Include <float.h>.
19155 (M_LOG10_2): Define.
19156 (__clog10): Scale large or subnormal inputs.
19157 * math/s_clog10f.c: Likewise.
19158 * math/s_clog10l.c: Likewise.
19159 * math/libm-test.inc (clog_test): Add more tests.
19160 (clog10_test): Likewise.
19161 * sysdeps/i386/fpu/libm-test-ulps: Update.
19162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19165 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19167 * math/libm-test.inc (atan2_test): Add another test.
19169 * Makerules (common-objdir-compile): Remove.
19170 * sysdeps/unix/Makefile (config-generated): Do not add
19171 $(unix-generated) to variable.
19172 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19173 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19175 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19177 [generic bits/local_lim.h] (before-compile): Do not append to
19179 [generic bits/local_lim.h] (common-generated): Likewise.
19180 [generic sys/param.h] (before-compile): Do not append to variable.
19181 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19182 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19183 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19184 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19186 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19187 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19188 [generic sys/param.h] ($(addprefix
19189 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19190 [generic sys/param.h] (common-generated): Do not append to
19192 [generic sys/param.h] (sysdep_headers): Likewise.
19193 [generic bits/errno.h] (before-compile): Do not append to
19195 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19197 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19198 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19199 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19200 [generic bits/errno.h] (common-generated): Do not append to
19202 [generic bits/ioctls.h] (before-compile): Do not append to
19204 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19206 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19207 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19208 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19210 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19211 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19212 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19213 [generic bits/ioctls.h] (common-generated): Do not append to
19215 [generic sys/syscall.h] (syscall.h): Remove variable.
19216 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19218 [generic sys/syscall.h] (before-compile): Do not append to
19220 [generic sys/syscall.h] (common-generated): Likewise.
19221 * sysdeps/unix/errnos-tmpl.c: Remove file.
19222 * sysdeps/unix/errnos.awk: Likewise.
19223 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19224 * sysdeps/unix/ioctls.awk: Likewise.
19225 * sysdeps/unix/mk-local_lim.c: Likewise.
19226 * sysdeps/unix/snarf-ioctls: Likewise.
19228 2012-03-19 Richard Henderson <rth@twiddle.net>
19230 * sysdeps/i386/fpu/fenv_private.h: New file.
19231 * sysdeps/i386/fpu/math_private.h: Use it.
19232 (math_opt_barrier, math_force_eval): Remove.
19233 (libc_feholdexcept_setround_53bit): Remove.
19234 (libc_feupdateenv_53bit): Remove.
19235 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19236 (math_opt_barrier, math_force_eval): Remove.
19237 (libc_feholdexcept): Remove.
19238 (libc_feholdexcept_setround): Remove.
19239 (libc_fetestexcept, libc_fesetenv): Remove.
19240 (libc_feupdateenv_test): Remove.
19241 (libc_feupdateenv, libc_feholdsetround): Remove.
19242 (libc_feresetround): Remove.
19244 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19245 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19247 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19248 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19249 (libc_feupdateenv_testl): New.
19250 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19251 (libc_feupdateenv_testf): New.
19252 (libc_feupdateenv): Use libc_feupdateenv_test.
19253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19254 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19256 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19257 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19258 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19259 (libc_feresetround_noex): New.
19260 (libc_feresetround_noexf): New.
19261 (libc_feresetround_noexl): New.
19262 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19263 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19264 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19265 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19270 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19271 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19272 SET_RESTORE_ROUND_NOEX.
19273 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19274 SET_RESTORE_ROUND_NOEXF.
19275 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19276 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19277 (libc_feholdsetroundf): New.
19278 (libc_feresetround, libc_feresetroundf): New.
19280 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19281 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19282 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19284 * sysdeps/generic/math_private.h: Include <fenv.h>.
19285 (default_libc_feholdexcept): New.
19286 (default_libc_feholdexcept_setround): New.
19287 (default_libc_fesetenv, default_libc_feupdateenv): New.
19288 (libc_feholdexcept): Only define if undefined.
19289 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19290 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19291 (libc_feholdexcept_setroundl): Likewise.
19292 (libc_feholdexcept_setround_53bit): Likewise.
19293 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19294 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19295 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19296 (libc_feupdateenv_53bit): Likewise.
19297 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19298 (libc_feholdexcept): Convert from macro to inline function.
19299 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19300 (libc_fesetenv, libc_feupdateenv): Likewise.
19302 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19303 not previously defined.
19304 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19305 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19306 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19307 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19308 * sysdeps/ieee754/flt-32/math_private.h: New file.
19309 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19310 math_private.h below SET_FLOAT_WORD.
19311 (__isnan, __isinf_ns, __finite): Remove.
19312 (__isnanf, __isinf_nsf, __finitef): Remove.
19314 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19318 2012-03-17 David S. Miller <davem@davemloft.net>
19321 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19324 2012-03-16 David S. Miller <davem@davemloft.net>
19326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19330 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19332 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19333 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19334 sysdep_routines when subdir is sysvipc.
19335 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19336 __getshmlba helper.
19338 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19340 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19342 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19345 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19347 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19348 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19349 (__lround): Renamed to ...
19350 (__llround): This. Replace long int with long long int.
19351 Define lround functions as aliases of llround functions.
19352 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19354 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19356 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19357 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19358 adresses to uintptr_t. Replace "long int" and "unsigned long
19359 int" with "greg_t" on va_arg.
19361 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19363 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19364 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19366 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19367 Move e_machine check before EI_CLASS check. Handle x32
19368 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19369 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19370 SKIP_EM_IA_64 and include
19371 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19373 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19374 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19375 (add_system_dir): New macro.
19377 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19378 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19380 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19391 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19393 * math/w_j0f.c (j0f): Likewise.
19395 * math/w_j0l.c (__j0l): Likewise.
19397 * math/w_j1.c (j1): Likewise.
19399 * math/w_j1f.c (j1f): Likewise.
19401 * math/w_j1l.c (__j1l): Likewise.
19403 * math/w_jn.c (jn): Likewise.
19405 * math/w_jnf.c (jnf): Likewise.
19407 * math/w_jnl.c (__jnl): Likewise.
19409 * math/libm-test.inc (j0_test): Add more tests.
19410 (j1_test): Likewise.
19411 (jn_test): Likewise. Add trailing semicolon to existing test.
19412 (y0_test): Likewise.
19413 (y1_test): Likewise.
19414 * sysdeps/i386/fpu/libm-test-ulps: Update.
19415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19420 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19421 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19422 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19423 (__tanl): Set errno for infinite argument.
19424 * sysdeps/i386/fpu/mptan.c: Remove.
19425 * sysdeps/i386/fpu/s_tan.S: Likewise.
19426 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19427 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19428 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19429 * math/libm-test.inc (tan_test): Add more tests and enable more
19430 tests for double and long double.
19431 * sysdeps/i386/fpu/libm-test-ulps: Update.
19432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19434 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19436 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19437 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19439 2012-03-16 Roland McGrath <roland@hack.frob.com>
19441 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19442 * configure.in: Use it for both main tree and add-ons.
19443 * configure: Regenerated.
19445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19447 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19449 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19451 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19455 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19456 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19461 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19463 != 0 for prec == 2.
19464 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19465 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19466 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19467 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19468 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19469 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19470 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19471 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19472 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19473 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19474 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19475 * math/libm-test.inc (cos_test): Add more tests and enable more
19476 tests for long double.
19477 (sin_test): Likewise.
19478 (sincos_test): Likewise.
19479 * sysdeps/i386/fpu/libm-test-ulps: Update.
19480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19482 2012-03-16 David S. Miller <davem@davemloft.net>
19484 * sysdeps/sparc/fpu/math_private.h: New file.
19486 2012-03-15 David S. Miller <davem@davemloft.net>
19488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19502 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19503 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19505 * sysdeps/sparc/sparc-ifunc.h: New file.
19506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19551 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19553 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19557 2012-03-15 Andreas Jaeger <aj@suse.de>
19560 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19561 ieee754/flt-32 implementation for sin, cos and sincos.
19562 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19563 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19564 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19565 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19566 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19567 ieee754/flt-32 implementation for tan.
19569 * math/libm-test.inc (cos_test): Enable some large input tests for
19571 (sin_test): Likewise.
19572 (sincos_test): Likewise.
19573 (tan_test): Add tests for large input.
19575 * sysdeps/i386/fpu/libm-test-ulps: Update.
19577 2012-03-15 Andreas Jaeger <aj@suse.de>
19580 * math/libm-test.inc (cos_test): Add more test cases.
19581 (sin_test): Likewise.
19582 (sincos_test): Likewise.
19584 2012-03-15 Andreas Jaeger <aj@suse.de>
19587 * math/libm-test.inc (cos_test): Add a test case for large input
19589 (sin_test): Likewise.
19590 (sincos_test): Likewise.
19592 2012-03-15 Andreas Jaeger <aj@suse.de>,
19593 Joseph Myers <joseph@codesourcery.com>
19596 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19597 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19598 * sysdeps/i386/fpu/branred.c: Likewise.
19599 * sysdeps/i386/fpu/dosincos.c: Likewise.
19600 * sysdeps/i386/fpu/mpa.c: Likewise.
19601 * sysdeps/i386/fpu/s_cos.S: Likewise.
19602 * sysdeps/i386/fpu/s_sin.S: Likewise.
19603 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19604 * sysdeps/i386/fpu/sincos32.c: Likewise.
19606 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19608 (libc_feupdateenv_53bit): Define.
19609 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19611 (libc_feupdateenv_53bit): Define.
19613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19614 53 bit (without extend i386 double precision).
19616 * math/libm-test.inc (sincos_test): Add tests for large input.
19620 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19622 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19626 2012-03-15 David S. Miller <davem@davemloft.net>
19628 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19629 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19630 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19631 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19656 fmin/fmax sysdep routines.
19657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19659 2012-03-14 David S. Miller <davem@davemloft.net>
19661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19733 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19738 * sysdeps/sparc/configure.in: New file.
19739 * sysdeps/sparc/configure: Generate.
19740 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19741 * configure: Regenerate.
19742 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19743 * config.make.in (have-as-vis3): New.
19744 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19745 available use -Av9d instead of -Av9a.
19746 * sysdeps/sparc/sparc64/Makefile: Likewise.
19747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19762 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19763 fzeros/fnegs to load 0x80000000 into a float register instead of
19765 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19767 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19771 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19772 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19773 ($(inst_includedir)/bits/syscall.h): Remove rule.
19774 ($(objpfx)bits/syscall.d): Include instead of
19775 $(objpfx)syscall-list.d.
19776 (generated): Change syscall-list.h and syscall-list.d to
19777 bits/syscall.h and bits/syscall.d.
19779 2012-03-14 Roland McGrath <roland@hack.frob.com>
19782 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19784 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19787 * math/s_csqrt.c: Include <float.h>.
19788 (__csqrt): Scale large or subnormal inputs.
19789 * math/s_csqrtf.c: Likewise.
19790 * math/s_csqrtl.c: Likewise.
19791 * math/libm-test.inc (csqrt_test): Add more tests.
19792 * sysdeps/i386/fpu/libm-test-ulps: Update.
19793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19796 * math/libm-test.inc (hypot_test): Add more tests.
19798 2012-03-13 David S. Miller <davem@davemloft.net>
19801 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19802 double-precision for the calculation instead of scaling.
19804 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19806 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19807 manipulate bits before adding and subtracting TWO52[sx].
19808 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19811 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19813 2012-03-13 David S. Miller <davem@davemloft.net>
19815 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19816 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19818 rtld-global-offsets.h
19819 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19821 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19824 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19826 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19827 'err' in the ifdef scope in which it is actually used.
19829 * nss/nss_db/db-init.c: Include string.h
19831 2012-03-12 David S. Miller <davem@davemloft.net>
19833 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19834 masking out of the most significant byte of random value used.
19835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19836 Fix coding style in previous change.
19838 * sysdeps/unix/sysv/linux/kernel-features.h
19839 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19840 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19842 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19845 2012-03-11 David S. Miller <davem@davemloft.net>
19847 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19848 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19850 for 'resultvar' otherwise things get truncated on 64-bit.
19852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19853 Fix masking out of the most significant byte of random value used.
19855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19857 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19861 2012-03-09 David S. Miller <davem@davemloft.net>
19863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19864 variables with appropriate CPP guards.
19865 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19866 frame pointer, not the stack pointer. Correct layout comments. Fix test
19867 on resulting framesize and the management of the outregs buffer for pltexit.
19868 Preserve floating point return values across _dl_call_pltexit call.
19869 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19870 framesize and the management of the outregs buffer for pltexit.
19871 Preserve floating point return values across _dl_call_pltexit
19873 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19874 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19875 (print_exit): Fix format string for return register value.
19877 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19879 * sunrpc/Makefile (others): Add rpcgen.
19880 ($(objpfx)rpcgen): Remove special build rule and dependency on
19882 * sunrpc/rpcgen.c: New file.
19884 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19887 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19888 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19889 * sysdeps/i386/crti.S: Likewise.
19890 * sysdeps/i386/crtn.S: Likewise.
19891 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19892 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19893 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19894 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19895 * sysdeps/sh/crti.S: Likewise.
19896 * sysdeps/sh/crtn.S: Likewise.
19897 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19900 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19902 * locale/programs/locfile-kw.gperf: Likewise.
19903 * locale/programs/charmap-kw.h: Regenerated.
19904 * locale/programs/locfile-kw.h: Likewise.
19907 * intl/plural.y: Replace FSF snail mail address with URL.
19908 * intl/plural.c: Regenerated.
19910 2012-03-09 Richard Henderson <rth@twiddle.net>
19912 * include/math_private.h: Remove file.
19913 * math/math_private.h: Move file ...
19914 * sysdeps/generic/math_private.h: ... here.
19916 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19917 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19920 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19921 and <math_private.h>.
19922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19968 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19973 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19974 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19976 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19978 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19981 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20009 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20036 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20038 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20039 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20042 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20043 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20045 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20049 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20050 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20052 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20056 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20060 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20063 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20065 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20066 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20070 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20071 * sysdeps/ieee754/k_standard.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20102 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20103 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20104 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20109 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20110 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20114 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20115 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20128 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20232 * sysdeps/ieee754/s_lib_version.c: Likewise.
20233 * sysdeps/ieee754/s_matherr.c: Likewise.
20234 * sysdeps/ieee754/s_signgam.c: Likewise.
20235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20238 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20239 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20241 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20242 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20243 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20244 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20246 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20257 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20259 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20260 * sunrpc/rpc_main.c: Likewise.
20261 * sunrpc/rpc_svcout.c: Likewise.
20263 2012-03-09 David S. Miller <davem@davemloft.net>
20265 * include/math_private.h: New file.
20267 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20269 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20270 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20271 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20272 from <bits/socket_type.h>.
20273 (enum __socket_type): Don't define here.
20274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20276 bits/socket_type.h.
20279 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20280 checking __USE_GNU.
20282 * Makerules ($(inst_includedir)/%.h): New rule.
20283 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20284 (install-others): Remove variable setting.
20285 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20287 2012-03-08 Richard Henderson <rth@twiddle.net>
20289 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20290 from macro to inline function; merge with the
20291 !__LIBC_INTERNAL_MATH_INLINES version.
20292 (__ieee754_sqrtf): Likewise.
20294 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20295 to inline function.
20296 (__rintf, __floor, __floorf): Likewise.
20298 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20299 macro to inline function.
20300 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20303 not <math/math_private.h>.
20305 2012-03-08 David S. Miller <davem@davemloft.net>
20307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20309 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20311 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20313 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20315 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20316 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20318 2012-03-08 Ulrich Drepper <drepper@gmail.com>
20320 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20321 be defined individually, they must be defined as a block. Define
20322 S for printing a string instead of hidint the different by using a
20323 macro for adding the 'l'.
20324 * stdio-common/tst-fphex-wide.c: Adjust.
20326 2012-03-07 Marek Polacek <polacek@redhat.com>
20328 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20330 2012-03-08 Marek Polacek <polacek@redhat.com>
20333 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20334 * stdio-common/tst-fphex.c: Define a few macros to make the
20335 test reusable. Use them.
20336 * stdio-common/tst-fphex-wide.c: New file.
20338 2012-03-08 Joseph Myers <joseph@codesourcery.com>
20341 * manual/macros.texi (gnusystems): New macro.
20342 (nongnusystems): Likewise.
20343 (gnulinuxhurdsystems): Likewise.
20344 (gnuhurdsystems): Likewise..
20345 (gnulinuxsystems): Likewise.
20346 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20347 variants of the GNU system, not "GNU system".
20348 * manual/conf.texi: Likewise.
20349 * manual/errno.texi: Likewise. Update example of errno macro
20351 * manual/filesys.texi: Likewise.
20352 (getumask): Document as specific to GNU/Hurd.
20353 * manual/install.texi: Likewise. Reword some references to
20355 * manual/intro.texi: Likewise.
20356 * manual/io.texi: Likewise.
20357 (File Name Portability): Detail which constraints are inapplicable
20358 to all GNU systems and which are only inapplicable to GNU/Hurd.
20359 * manual/job.texi: Likewise.
20360 * manual/llio.texi: Likewise.
20361 (O_NOCTTY): Document as present on GNU/Linux.
20362 * manual/maint.texi: Likewise.
20363 * manual/memory.texi: Likewise.
20364 * manual/pattern.texi: Likewise.
20365 * manual/pipe.texi: Likewise.
20366 * manual/process.texi: Likewise.
20367 * manual/resource.texi: Likewise.
20368 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20370 * manual/setjmp.texi: Likewise.
20371 * manual/signal.texi: Likewise.
20372 * manual/startup.texi: Likewise.
20373 * manual/stdio.texi: Likewise.
20374 * manual/terminal.texi: Likewise.
20375 (ONLCR): Document as POSIX.
20376 (OXTABS): Document availability on GNU/Linux as XTABS.
20377 (ONOEOT): Document availability separately from other bits.
20378 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20379 * manual/time.texi: Likewise.
20380 * manual/users.texi: Likewise.
20381 * INSTALL: Regenerated.
20382 * sysdeps/gnu/errlist.c: Regenerated.
20384 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20385 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20386 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20388 * configure: Regenerated.
20390 2012-03-07 Joseph Myers <joseph@codesourcery.com>
20392 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20393 default includes instead of AC_HEADER_CHECK.
20394 * sysdeps/i386/configure: Regenerated.
20397 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20398 * math/s_cacoshf.c (__cacoshf): Likewise.
20399 * math/s_cacoshl.c (__cacoshl): Likewise.
20400 * math/s_casinh.c (__casinh): Set signs of result from argument.
20401 * math/s_casinhf.c (__casinhf): Likewise.
20402 * math/s_casinhl.c (__casinhl): Likewise.
20403 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20404 (casinh_test): Add more tests.
20405 * sysdeps/i386/fpu/libm-test-ulps: Update.
20406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20408 2012-03-07 Ulrich Drepper <drepper@gmail.com>
20410 * po/zh_TW.po: Update from translation team.
20412 * login/Makefile (distribute): Remove variable.
20413 * catgets/Makefile: Likewise.
20414 * mach/Makefile: Likewise.
20415 * malloc/Makefile: Likewise.
20416 * misc/Makefile: Likewise.
20417 * iconv/Makefile: Likewise.
20418 * nscd/Makefile: Likewise.
20419 * hurd/Makefile: Likewise.
20420 * manual/Makefile: Likewise.
20421 * locale/Makefile: Likewise.
20422 * intl/Makefile: Likewise.
20423 * conform/Makefile: Likewise.
20424 * nss/Makefile: Likewise.
20425 * time/Makefile: Likewise.
20426 * soft-fp/Makefile: Likewise.
20427 * dirent/Makefile: Likewise.
20428 * gmon/Makefile: Likewise.
20429 * po/Makefile: Likewise.
20430 * rt/Makefile: Likewise.
20431 * socket/Makefile: Likewise.
20432 * math/Makefile: Likewise.
20433 * signal/Makefile: Likewise.
20434 * debug/Makefile: Likewise.
20435 * elf/Makefile: Likewise.
20436 * timezone/Makefile: Likewise.
20437 * stdlib/Makefile: Likewise.
20438 * iconvdata/Makefile: Likewise.
20439 * sunrpc/Makefile: Likewise.
20440 * io/Makefile: Likewise.
20441 * argp/Makefile: Likewise.
20442 * inet/Makefile: Likewise.
20443 * hesiod/Makefile: Likewise.
20444 * grp/Makefile: Likewise.
20445 * csu/Makefile: Likewise.
20446 * wctype/Makefile: Likewise.
20447 * crypt/Makefile: Likewise.
20448 * libio/Makefile: Likewise.
20449 * string/Makefile: Likewise.
20450 * nis/Makefile: Likewise.
20451 * resolv/Makefile: Likewise.
20452 * stdio-common/Makefile: Likewise.
20453 * wcsmbs/Makefile: Likewise.
20454 * dlfcn/Makefile: Likewise.
20455 * posix/Makefile: Likewise.
20458 * timezone/Makefile: Don't install timezone files, just the programs
20461 2012-03-06 Ulrich Drepper <drepper@gmail.com>
20463 * nss/databases.def: Add missing gshadow entry.
20465 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20467 2012-03-06 Marek Polacek <polacek@redhat.com>
20470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20472 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20473 * stdio-common/tst-long-dbl-fphex.c: New file.
20475 2012-03-06 David S. Miller <davem@davemloft.net>
20477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20478 (set_obp_int): New function.
20479 (get_obp_int): New function.
20480 (__get_clockfreq_via_dev_openprom): Likewise.
20481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20482 Avoid unused variable warnings on 'val' and use builtin_expect.
20483 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20485 (INLINE_CLONE_SYSCALL): Likewise.
20487 2012-03-05 David S. Miller <davem@davemloft.net>
20489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20491 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20496 only for |x| >= 40.
20497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20499 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
20501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20502 Replace gettimeofday with __vdso_gettimeofday.
20504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20505 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20506 __vdso_clock_gettime and __vdso_getcpu.
20508 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20509 time with __vdso_time.
20511 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20513 * manual/lang.texi (size_t): Note types to which size_t may be
20514 equivalent with the GNU C Library, but do not describe when
20515 differences between them are significant.
20517 2012-03-05 Andreas Jaeger <aj@suse.de>
20519 * sysdeps/i386/fpu/libm-test-ulps: Update.
20521 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20525 (__ieee754_pow): Save and restore rounding mode and use
20526 round-to-nearest for main computations.
20527 * math/libm-test.inc (pow_test_tonearest): New function.
20528 (pow_test_towardzero): Likewise.
20529 (pow_test_downward): Likewise.
20530 (pow_test_upward): Likewise.
20531 (main): Call the new functions.
20532 * sysdeps/i386/fpu/libm-test-ulps: Update.
20533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536 * math/libm-test.inc (cosh_test_tonearest): New function.
20537 (cosh_test_towardzero): Likewise.
20538 (cosh_test_downward): Likewise.
20539 (cosh_test_upward): Likewise.
20540 (sinh_test_tonearest): Likewise.
20541 (sinh_test_towardzero): Likewise.
20542 (sinh_test_downward): Likewise.
20543 (sinh_test_upward): Likewise.
20544 (main): Call the new functions.
20545 * sysdeps/i386/fpu/libm-test-ulps: Update.
20546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20548 2012-03-05 Tom de Vries <tom@codesourcery.com>
20550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20551 default stack guard is set in last bytes.
20552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20554 2012-03-05 Kees Cook <keescook@chromium.org>
20556 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20559 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20560 possibly allocate from heap instead of stack.
20561 * stdio-common/bug-vfprintf-nargs.c: New file.
20562 * stdio-common/Makefile (tests): Add nargs overflow test.
20564 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20568 2012-03-03 Marek Polacek <polacek@redhat.com>
20570 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20571 * math/math_private.h: Likewise.
20572 * stdlib/tst-strtod.c: Likewise.
20573 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20574 * sysdeps/x86_64/bits/atomic.h: Likewise.
20576 2012-03-02 David S. Miller <davem@davemloft.net>
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20582 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20583 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20584 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20585 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20587 2012-03-02 Roland McGrath <roland@hack.frob.com>
20590 * manual/examples/README: New file, says the example source files
20591 can be used under GPL>=2.
20592 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20593 line containing just "*/".
20594 * manual/examples/add.c: Add copyright header (GPL>=2).
20595 * manual/examples/argp-ex1.c: Likewise.
20596 * manual/examples/argp-ex2.c: Likewise.
20597 * manual/examples/argp-ex3.c: Likewise.
20598 * manual/examples/argp-ex4.c: Likewise.
20599 * manual/examples/atexit.c: Likewise.
20600 * manual/examples/db.c: Likewise.
20601 * manual/examples/dir.c: Likewise.
20602 * manual/examples/dir2.c: Likewise.
20603 * manual/examples/execinfo.c: Likewise.
20604 * manual/examples/filecli.c: Likewise.
20605 * manual/examples/filesrv.c: Likewise.
20606 * manual/examples/fmtmsgexpl.c: Likewise.
20607 * manual/examples/genpass.c: Likewise.
20608 * manual/examples/inetcli.c: Likewise.
20609 * manual/examples/inetsrv.c: Likewise.
20610 * manual/examples/isockad.c: Likewise.
20611 * manual/examples/longopt.c: Likewise.
20612 * manual/examples/memopen.c: Likewise.
20613 * manual/examples/memstrm.c: Likewise.
20614 * manual/examples/mkfsock.c: Likewise.
20615 * manual/examples/mkisock.c: Likewise.
20616 * manual/examples/mygetpass.c: Likewise.
20617 * manual/examples/pipe.c: Likewise.
20618 * manual/examples/popen.c: Likewise.
20619 * manual/examples/rprintf.c: Likewise.
20620 * manual/examples/search.c: Likewise.
20621 * manual/examples/select.c: Likewise.
20622 * manual/examples/setjmp.c: Likewise.
20623 * manual/examples/sigh1.c: Likewise.
20624 * manual/examples/sigusr.c: Likewise.
20625 * manual/examples/stpcpy.c: Likewise.
20626 * manual/examples/strdupa.c: Likewise.
20627 * manual/examples/strftim.c: Likewise.
20628 * manual/examples/strncat.c: Likewise.
20629 * manual/examples/subopt.c: Likewise.
20630 * manual/examples/swapcontext.c: Likewise.
20631 * manual/examples/termios.c: Likewise.
20632 * manual/examples/testopt.c: Likewise.
20633 * manual/examples/testpass.c: Likewise.
20634 * manual/examples/timeval_subtract.c: Likewise.
20637 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20639 * manual/timeval_subtract.c.texi: ... here, new file.
20641 2012-03-02 David S. Miller <davem@davemloft.net>
20643 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20645 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20648 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20649 (__sin): Save and restore rounding mode and use round-to-nearest
20650 for all computations.
20651 (__cos): Save and restore rounding mode and use round-to-nearest
20652 for all computations.
20653 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20655 (tan): Save and restore rounding mode and use round-to-nearest for
20657 * math/libm-test.inc (cos_test_tonearest): New function.
20658 (cos_test_towardzero): Likewise.
20659 (cos_test_downward): Likewise.
20660 (cos_test_upward): Likewise.
20661 (sin_test_tonearest): Likewise.
20662 (sin_test_towardzero): Likewise.
20663 (sin_test_downward): Likewise.
20664 (sin_test_upward): Likewise.
20665 (tan_test_tonearest): Likewise.
20666 (tan_test_towardzero): Likewise.
20667 (tan_test_downward): Likewise.
20668 (tan_test_upward): Likewise.
20669 (main): Call the new functions.
20670 * sysdeps/i386/fpu/libm-test-ulps: Update.
20671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20675 small n, then large n, before computing and testing k+n.
20676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20681 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20682 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20689 * math/libm-test.inc (scalbn_test): Add more tests.
20690 (scalbln_test): Likewise.
20692 * manual/filesys.texi (mode_t): Describe constraints on size and
20693 signedness, not exact equivalence to a particular type.
20695 (ino64_t): Likewise.
20697 (nlink_t): Likewise.
20698 (blkcnt_t): Likewise.
20699 (blkcnt64_t): Likewise.
20700 * manual/llio.texi (off_t): Likewise.
20703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20704 (__ieee754_exp): Save and restore rounding mode and use
20705 round-to-nearest for all computations.
20706 * math/libm-test.inc (exp_test_tonearest): New function.
20707 (exp_test_towardzero): Likewise.
20708 (exp_test_downward): Likewise.
20709 (exp_test_upward): Likewise.
20710 (main): Call the new functions.
20711 * sysdeps/i386/fpu/libm-test-ulps: Update.
20712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20714 2012-03-01 Chris Demetriou <cgd@google.com>
20716 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20717 have predictable order.
20719 2012-03-01 David S. Miller <davem@davemloft.net>
20721 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20723 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20724 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20725 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20726 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20728 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20729 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20730 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20732 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20733 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20734 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20735 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20736 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20741 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20744 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20747 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20748 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20753 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20754 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20760 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20761 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20762 * sysdeps/sparc/elf/configure: Regenerated.
20764 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20766 * configure.in (AS, LD): Require binutils 2.20 or later.
20767 * configure: Regenerated.
20768 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20769 as required minimum version.
20770 * INSTALL: Regenerated.
20774 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20775 before squaring exponent.
20776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20777 bottom long double and 27 bits of top long double before squaring
20779 * math/libm-test.inc (erfc_test): Add more tests.
20780 * sysdeps/i386/fpu/libm-test-ulps: Update.
20781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20784 2012-03-01 Kai Tietz <ktietz@redhat.com>
20786 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20787 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20788 containing bit-fields.
20789 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20790 * soft-fp/single.h (_FP_UNION_S): Likewise.
20791 * soft-fp/double.h (_FP_UNION_D): Likewise.
20793 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20796 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20797 not include ../strcmp.S.
20798 [USE_AS_STRNCASECMP_L]: Likewise.
20799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20800 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20801 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20802 (__strncasecmp_l_ia32): Define as alias to
20803 __strncasecmp_l_nonascii.
20806 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20807 * sysdeps/i386/fpu/libm-test-ulps: Update.
20808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20810 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20813 2012-02-29 Jeff Law <law@redhat.com>
20815 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20816 out of bounds read.
20818 2012-02-29 Marek Polacek <polacek@redhat.com>
20821 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20822 * elf/Makefile: Add rules to run tst-unused-dep.out.
20824 2012-02-28 David S. Miller <davem@davemloft.net>
20826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20833 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20835 * math/libm-test.inc (llround_test): Move one test from
20836 lround_test. Use TEST_f_L in moved test.
20837 (lround_test): Move misplaced test to llround_test. Add testcase
20840 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20842 * sysdeps/x86_64/fpu/e_expf.S: New file.
20843 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20845 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20848 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20849 of remain_len that may cause incomplete multi-byte character and
20851 * posix/bug-regex33.c: New file.
20852 * posix/Makefile (tests): Add bug-regex33.
20854 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20856 * manual/macros.texi: New file.
20857 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20858 * manual/libc.texinfo: Include macros.texi.
20859 * manual/creatute.texi: Likewise.
20860 * manual/install.texi: Likewise.
20861 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20862 @glibcadj{} in references to the GNU C Library.
20863 * manual/charset.texi: Likewise.
20864 * manual/conf.texi: Likewise.
20865 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20866 when not using those macros.
20867 * manual/creature.texi: Likewise.
20868 * manual/crypt.texi: Likewise.
20869 * manual/errno.texi: Likewise.
20870 * manual/filesys.texi: Likewise.
20871 * manual/header.texi: Likewise.
20872 * manual/install.texi: Likewise.
20873 * manual/intro.texi: Likewise.
20874 * manual/io.texi: Likewise.
20875 * manual/job.texi: Likewise.
20876 * manual/lang.texi: Likewise.
20877 * manual/libc.texiinfo: Likewise.
20878 * manual/llio.texi: Likewise.
20879 * manual/locale.texi: Likewise.
20880 * manual/maint.texi: Likewise.
20881 * manual/math.texi: Likewise.
20882 * manual/memory.texi: Likewise.
20883 * manual/message.texi: Likewise.
20884 * manual/nss.texi: Likewise.
20885 * manual/pattern.texi: Likewise.
20886 * manual/process.texi: Likewise.
20887 * manual/resource.texi: Likewise.
20888 * manual/search.texi: Likewise.
20889 * manual/setjmp.texi: Likewise.
20890 * manual/signal.texi: Likewise.
20891 * manual/socket.texi: Likewise.
20892 * manual/startup.texi: Likewise.
20893 * manual/stdio.texi: Likewise.
20894 * manual/string.texi: Likewise.
20895 * manual/sysinfo.texi: Likewise.
20896 * manual/syslog.texi: Likewise.
20897 * manual/terminal.texi: Likewise.
20898 * manual/time.texi: Likewise.
20899 * manual/users.texi: Likewise.
20900 * INSTALL: Regenerated.
20901 * NOTES: Regenerated.
20902 * sysdeps/gnu/errlist.c: Regenerated.
20904 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20906 * include/dirent.h: Include <dirstream.h> before
20909 2012-02-28 David S. Miller <davem@davemloft.net>
20911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20912 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20913 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20916 2012-02-27 David S. Miller <davem@davemloft.net>
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20920 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20921 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20924 frame pointer instead of stack pointer relative arg slot.
20925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20929 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20932 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20934 2012-02-27 David S. Miller <davem@davemloft.net>
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20945 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20947 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20948 later. Allow versions 5-9.
20949 * configure: Regenerated.
20950 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20951 required minimum version and 4.6 as recommended version. Do not
20952 mention bugs in GCC 2.7 and 2.8.
20953 * INSTALL: Regenerated.
20955 2012-02-27 David S. Miller <davem@davemloft.net>
20957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20963 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20967 manipulate bits before adding and subtracting TWO112[sx].
20968 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20970 2012-02-27 Roland McGrath <roland@hack.frob.com>
20973 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20974 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20975 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20976 being in POSIX, because they are in 1003.1-2008.
20978 * rt/tst-aio.c: Include <fcntl.h>.
20979 * rt/tst-aio7.c: Likewise.
20980 * rt/tst-aio64.c: Likewise.
20982 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20984 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20986 * manual/install.texi (--with-headers): Describe headers as
20987 interface headers, not private headers.
20988 (Specific advice for GNU/Linux systems): Describe use of headers
20989 from "make headers_install", not private headers from older
20991 * INSTALL: Regenerated.
20992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20994 * sysdeps/unix/sysv/linux/configure: Regenerated.
20996 * manual/llio.texi (fclean): Remove documentation.
20998 * manual/Makefile (libc-texi-generated): New variable. Include
21000 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21001 $(libc-texi-generated), not duplicated list of files.
21002 (version.texi, stamp-version): New rules.
21003 (realclean): Remove $(libc-texi-generated), not individual files
21004 from that list. Do not remove dir-add.texinfo.
21005 * manual/libc.texinfo: Comment out uses of edition numbers and
21006 references to printed manual. Remove last-updated dates.
21007 (EDITION): Comment out.
21009 (VERSION, UPDATED): Remove.
21010 (version.texi): Include.
21012 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21014 * sysdeps/posix/spawni.c: Include <signal.h>.
21015 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21016 * sysdeps/pthread/aio_fsync.c: Likewise.
21018 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21020 * conform/Makefile (tests): Run only when not cross-compiling and
21021 when fast-check is not defined.
21023 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21024 * conform/data/limits.h-data: Fixes for POSIX2008.
21025 * conform/run-conformtest.sh: Run all tests.
21026 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21028 * include/bits/dlfcn.h: Likewise.
21029 * include/langinfo.h: Likewise.
21030 * include/monetary.h: Likewise.
21031 * include/sys/poll.h: Likewise.
21033 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21035 * posix/spawn.h: Define __need_sigset_t.
21036 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21037 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21038 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21039 to get sigevent_t only.
21040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21041 only for __USE_GNU.
21042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21043 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21044 process_vm_writev only for __USE_GNU.
21045 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21047 * conform/Makefile: For now ignore errors from run-conformtest.
21048 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21049 POSIX to avoid namespace pollution. Don't prepend headers.
21050 * conform/data/aio.h-data: Fixes for POSIX testing.
21051 * conform/data/fcntl.h-data: Likewise.
21052 * conform/data/glob.h-data: Likewise.
21053 * conform/data/grp.h-data: Likewise.
21054 * conform/data/pthread.h-data: Likewise.
21055 * conform/data/pwd.h-data: Likewise.
21056 * conform/data/signal.h-data: Likewise.
21057 * conform/data/spawn.h-data: Likewise.
21058 * conform/data/stdio.h-data: Likewise.
21059 * conform/data/stdlib.h-data: Likewise.
21060 * conform/data/stropts.h-data: Likewise.
21061 * conform/data/sys/mman.h-data: Likewise.
21062 * conform/data/sys/stat.h-data: Likewise.
21063 * conform/data/sys/types.h-data: Likewise.
21064 * conform/data/sys/wait.h-data: Likewise.
21065 * conform/data/time.h-data: Likewise.
21066 * conform/data/unistd.h-data: Likewise.
21067 * conform/data/utime.h-data: Likewise.
21069 * io/sys/stat.h: fchmod was always in POSIX.
21070 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21071 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21072 * rt/aio.h: Define __need_timespec before including <time.h>.
21073 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21074 struct. Add forward declaration of pthread_attr_t and use it in
21076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21078 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21079 always remove CLK_TCK definition.
21081 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21083 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21085 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21087 * conform/run-conformtest.sh: New file.
21088 * conform/Makefile: Run run-conformtest for tests.
21089 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21092 * conform/data/uchar.h-data: New file.
21093 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21094 * conform/data/arpa/inet.h-data: Likewise.
21095 * conform/data/assert.h-data: Likewise.
21096 * conform/data/complex.h-data: Likewise.
21097 * conform/data/cpio.h-data: Likewise.
21098 * conform/data/ctype.h-data: Likewise.
21099 * conform/data/dirent.h-data: Likewise.
21100 * conform/data/dlfcn.h-data: Likewise.
21101 * conform/data/errno.h-data: Likewise.
21102 * conform/data/fcntl.h-data: Likewise.
21103 * conform/data/float.h-data: Likewise.
21104 * conform/data/fmtmsg.h-data: Likewise.
21105 * conform/data/fnmatch.h-data: Likewise.
21106 * conform/data/ftw.h-data: Likewise.
21107 * conform/data/glob.h-data: Likewise.
21108 * conform/data/grp.h-data: Likewise.
21109 * conform/data/iconv.h-data: Likewise.
21110 * conform/data/inttypes.h-data: Likewise.
21111 * conform/data/langinfo.h-data: Likewise.
21112 * conform/data/libgen.h-data: Likewise.
21113 * conform/data/limits.h-data: Likewise.
21114 * conform/data/locale.h-data: Likewise.
21115 * conform/data/math.h-data: Likewise.
21116 * conform/data/monetary.h-data: Likewise.
21117 * conform/data/mqueue.h-data: Likewise.
21118 * conform/data/ndbm.h-data: Likewise.
21119 * conform/data/net/if.h-data: Likewise.
21120 * conform/data/netdb.h-data: Likewise.
21121 * conform/data/netinet/in.h-data: Likewise.
21122 * conform/data/nl_types.h-data: Likewise.
21123 * conform/data/poll.h-data: Likewise.
21124 * conform/data/pthread.h-data: Likewise.
21125 * conform/data/pwd.h-data: Likewise.
21126 * conform/data/regex.h-data: Likewise.
21127 * conform/data/sched.h-data: Likewise.
21128 * conform/data/search.h-data: Likewise.
21129 * conform/data/semaphore.h-data: Likewise.
21130 * conform/data/setjmp.h-data: Likewise.
21131 * conform/data/signal.h-data: Likewise.
21132 * conform/data/spawn.h-data: Likewise.
21133 * conform/data/stdarg.h-data: Likewise.
21134 * conform/data/stdio.h-data: Likewise.
21135 * conform/data/stdlib.h-data: Likewise.
21136 * conform/data/string.h-data: Likewise.
21137 * conform/data/strings.h-data: Likewise.
21138 * conform/data/stropts.h-data: Likewise.
21139 * conform/data/sys/ipc.h-data: Likewise.
21140 * conform/data/sys/mman.h-data: Likewise.
21141 * conform/data/sys/msg.h-data: Likewise.
21142 * conform/data/sys/resource.h-data: Likewise.
21143 * conform/data/sys/select.h-data: Likewise.
21144 * conform/data/sys/sem.h-data: Likewise.
21145 * conform/data/sys/shm.h-data: Likewise.
21146 * conform/data/sys/socket.h-data: Likewise.
21147 * conform/data/sys/stat.h-data: Likewise.
21148 * conform/data/sys/statvfs.h-data: Likewise.
21149 * conform/data/sys/time.h-data: Likewise.
21150 * conform/data/sys/timeb.h-data: Likewise.
21151 * conform/data/sys/times.h-data: Likewise.
21152 * conform/data/sys/types.h-data: Likewise.
21153 * conform/data/sys/uio.h-data: Likewise.
21154 * conform/data/sys/un.h-data: Likewise.
21155 * conform/data/sys/utsname.h-data: Likewise.
21156 * conform/data/sys/wait.h-data: Likewise.
21157 * conform/data/syslog.h-data: Likewise.
21158 * conform/data/tar.h-data: Likewise.
21159 * conform/data/termios.h-data: Likewise.
21160 * conform/data/utime.h-data: Likewise.
21161 * conform/data/utmpx.h-data: Likewise.
21162 * conform/data/varargs.h-data: Likewise.
21163 * conform/data/wchar.h-data: Likewise.
21164 * conform/data/wctype.h-data: Likewise.
21165 * conform/data/wordexp.h-data: Likewise.
21167 * include/stropts.h: New file.
21168 * include/uchar.h: New file.
21169 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21170 * include/assert.h: Likewise.
21171 * include/ctype.h: Likewise.
21172 * include/dirent.h: Likewise.
21173 * include/dlfcn.h: Likewise.
21174 * include/fcntl.h: Likewise.
21175 * include/fnmatch.h: Likewise.
21176 * include/glob.h: Likewise.
21177 * include/grp.h: Likewise.
21178 * include/libio.h: Likewise.
21179 * include/locale.h: Likewise.
21180 * include/math.h: Likewise.
21181 * include/net/if.h: Likewise.
21182 * include/netdb.h: Likewise.
21183 * include/netinet/in.h: Likewise.
21184 * include/pthread.h: Likewise.
21185 * include/pwd.h: Likewise.
21186 * include/regex.h: Likewise.
21187 * include/sched.h: Likewise.
21188 * include/search.h: Likewise.
21189 * include/setjmp.h: Likewise.
21190 * include/signal.h: Likewise.
21191 * include/stdio.h: Likewise.
21192 * include/stdlib.h: Likewise.
21193 * include/string.h: Likewise.
21194 * include/sys/cdefs.h: Likewise.
21195 * include/sys/mman.h: Likewise.
21196 * include/sys/msg.h: Likewise.
21197 * include/sys/resource.h: Likewise.
21198 * include/sys/select.h: Likewise.
21199 * include/sys/socket.h: Likewise.
21200 * include/sys/stat.h: Likewise.
21201 * include/sys/statvfs.h: Likewise.
21202 * include/sys/time.h: Likewise.
21203 * include/sys/times.h: Likewise.
21204 * include/sys/uio.h: Likewise.
21205 * include/sys/utsname.h: Likewise.
21206 * include/sys/wait.h: Likewise.
21207 * include/termios.h: Likewise.
21208 * include/time.h: Likewise.
21209 * include/ulimit.h: Likewise.
21210 * include/unistd.h: Likewise.
21211 * include/utime.h: Likewise.
21212 * include/wchar.h: Likewise.
21213 * include/wctype.h: Likewise.
21214 * include/wordexp.h: Likewise.
21216 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21218 * time/time.h: TIME_UTC must be a macro.
21219 Make timespec_get available for ISO C11 only as well.
21221 2012-02-24 Ulrich Drepper <drepper@gmail.com>
21223 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21224 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21226 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21228 * configure.in: Use -o not -a in test for unsupported multi-arch.
21230 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21232 * manual/texinfo.tex: Update to version 2012-01-19.16.
21234 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21236 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21238 2012-02-24 Roland McGrath <roland@hack.frob.com>
21241 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21242 * manual/fdl-1.3.texi: New file.
21243 * manual/fdl-1.1.texi: File removed.
21246 * manual/libc.texinfo (FDL_VERSION): New @set.
21247 Use it for mention of FDL in cover text.
21248 (Documentation License): Use it in @include file name.
21250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21251 Roland McGrath <roland@hack.frob.com>
21254 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21255 not LONG_LONG_MAX and LONG_LONG_MIN.
21256 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21257 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21259 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21261 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21266 manipulate bits before adding and subtracting TWO23[sx].
21267 * math/libm-test.inc (nearbyint_test): Add more tests.
21269 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21272 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21273 bits before adding and subtracting TWO23[sx].
21274 * math/libm-test.inc (rint_test): Add more tests.
21275 (rint_test_tonearest): Likewise.
21276 (rint_test_towardzero): Likewise.
21277 (rint_test_downward): Likewise.
21278 (rint_test_upward: Likewise.
21280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21283 * include/stdc-predef.h: New file. Extracted from features.h.
21284 * include/features.h: Include stdc-predef.h.
21285 * Makefile (headers): Add stdc-predef.h.
21286 * CONFORMANCE (Compiler limitations): Update.
21288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21290 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21292 2012-02-21 David S. Miller <davem@davemloft.net>
21294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21297 2012-02-20 David S. Miller <davem@davemloft.net>
21299 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21300 using a normal save/restore sequence, rather than allocating a
21301 dummy stack frame just to store a frame pointer and restore.
21302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21306 * manual/install.texi: Fix stray word in line-wrapped comment.
21308 2012-02-20 David S. Miller <davem@davemloft.net>
21310 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21311 both binutils and gcc support GOTDATA.
21313 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21314 "rd %pc" in the PIC register setup sequences.
21316 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21317 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21319 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21325 (SYSCALL_ERROR_HANDLER): Likewise.
21326 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21329 (SYSCALL_ERROR_HANDLER): Likewise.
21331 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21332 (HAVE_GCC_GOTDATA): New.
21333 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21334 relocation support in both binutils and gcc.
21335 * sysdeps/sparc/elf/configure: Regenerate.
21337 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21338 * sysdeps/sparc/sparc32/elf/configure: Delete.
21339 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21340 * sysdeps/sparc/sparc64/elf/configure: Delete.
21341 * sysdeps/sparc/elf/configure.in: New file.
21342 * sysdeps/sparc/elf/configure: Generate.
21344 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21345 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21346 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21347 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21348 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21352 * manual/install.texi: Do not mention specific glibc version
21354 * manual/libc.texinfo (VERSION, UPDATED): Update.
21355 (@copying): Use @copyright{} and range of years.
21357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21360 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21361 [crti.S not in sysdirs] (generated): Do not append.
21362 [crti.S not in sysdirs] (omit-deps): Likewise.
21363 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21364 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21365 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21366 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21367 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21369 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21370 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21371 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21372 * csu/defs.awk: Remove file.
21373 * sysdeps/generic/initfini.c: Likewise.
21374 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21376 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21379 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21381 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21382 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21386 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21388 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21389 (__EPOLL_PACKED): Define to empty if not defined by
21391 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21395 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21397 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21398 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21402 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21408 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21415 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21420 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21422 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21423 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21425 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21427 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21430 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21432 * math/w_acos.c: Use non-signaling floating-point comparisons.
21433 * math/w_acosf.c: Likewise.
21434 * math/w_acosh.c: Likewise.
21435 * math/w_acoshf.c: Likewise.
21436 * math/w_acoshl.c: Likewise.
21437 * math/w_acosl.c: Likewise.
21438 * math/w_asin.c: Likewise.
21439 * math/w_asinf.c: Likewise.
21440 * math/w_asinl.c: Likewise.
21441 * math/w_atanh.c: Likewise.
21442 * math/w_atanhf.c: Likewise.
21443 * math/w_atanhl.c: Likewise.
21444 * math/w_exp2.c: Likewise.
21445 * math/w_exp2f.c: Likewise.
21446 * math/w_exp2l.c: Likewise.
21447 * math/w_j0.c: Likewise.
21448 * math/w_j0f.c: Likewise.
21449 * math/w_j0l.c: Likewise.
21450 * math/w_j1.c: Likewise.
21451 * math/w_j1f.c: Likewise.
21452 * math/w_j1l.c: Likewise.
21453 * math/w_jn.c: Likewise.
21454 * math/w_jnf.c: Likewise.
21455 * math/w_log.c: Likewise.
21456 * math/w_log10.c: Likewise.
21457 * math/w_log10f.c: Likewise.
21458 * math/w_log10l.c: Likewise.
21459 * math/w_log2.c: Likewise.
21460 * math/w_log2f.c: Likewise.
21461 * math/w_log2l.c: Likewise.
21462 * math/w_logf.c: Likewise.
21463 * math/w_logl.c: Likewise.
21464 * math/w_sqrt.c: Likewise.
21465 * math/w_sqrtf.c: Likewise.
21466 * math/w_sqrtl.c: Likewise.
21467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21468 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21473 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21476 * manual/string.texi (strnlen): Use correct parameter name in
21477 equivalent expression.
21479 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21482 * manual/users.texi (seteuid): Consistently use neweuid for
21485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21488 * manual/nss.texi (Services in the NSS configuration): Correct
21489 list of services in example configuration file.
21491 2012-02-19 Nick Bowler <nbowler@draconx.ca>
21494 * manual/arith.texi: Remove statements about negative zero
21495 behaving identically to zero.
21497 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21500 * manual/install.texi: Do not document upgrading from libc5.
21502 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21505 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21507 2012-02-18 David S. Miller <davem@davemloft.net>
21509 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21510 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21511 %o7 across the call.
21512 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21515 SETUP_PIC_REG_LEAF.
21516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21517 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21518 * sysdeps/sparc/crtn.S: Likewise.
21520 2012-02-17 Ulrich Drepper <drepper@gmail.com>
21522 * aout/Makefile: Remove.
21524 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21527 * manual/examples/argp-ex1.c (main): Format definition in GNU
21529 * manual/examples/argp-ex2.c (main): Likewise.
21530 * manual/examples/argp-ex3.c (main): Likewise.
21531 * manual/examples/argp-ex4.c (main): Likewise.
21532 * manual/examples/longopt.c (main): Use new-style prototype
21534 * manual/examples/strncat.c (main): Specify return type and use
21535 (void) for arguments.
21536 * manual/examples/subopt.c (main): Use char **argv argument.
21538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21541 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21544 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21547 * manual/string.texi (strchr): Change when strchrnul is
21550 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21553 * manual/locale.texi (setlocale): Document LOCPATH.
21555 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21558 * manual/process.texi (execle): Move @dots{} before last argument.
21560 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21563 * manual/charset.texi (Generic Charset Conversion): Fix typo
21564 (LC_TYPE -> LC_CTYPE).
21566 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21569 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21570 (scalbnf): Likewise.
21571 (scalbnl): Likewise.
21572 (scalbln): Likewise.
21573 (scalblnf): Likewise.
21574 (scalblnl): Likewise.
21575 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21576 (vwarnx): Likewise.
21579 * manual/filesys.texi (telldir): Use braces around return type.
21580 * manual/llio.texi (mmap): Add space after comma.
21581 (mmap64): Likewise.
21582 * manual/math.texi (jn): Use @var{} on parameter names.
21588 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21590 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21592 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21593 (sched_get_priority_max): Likewise.
21594 * manual/signal.texi (sigvec): Add space after comma.
21595 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21597 (if_indextoname): Likewise.
21598 (if_freenameindex): Likewise.
21599 (sendto): Use ',' instead of '.' in prototype.
21600 * manual/startup.texi (syscall): Use @dots{} instead of literal
21602 * manual/stdio.texi (__fpending): Separate initial words of
21603 paragraph from @deftypefun line.
21604 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21606 (vsyslog): Use @var{} on parameter names.
21607 * manual/terminal.texi (stty): Use @var{} on parameter names.
21608 * manual/users.texi (getutmp): Use @var{} on parameter names.
21609 (getutmpx): Likewise.
21611 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21614 * manual/stdio.texi (fopen): Fix typos in description of
21617 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21620 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21621 get clock_id definition.
21623 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21626 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21627 (madvise): Cast every argument to void on its own.
21629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21632 * manual/startup.texi (Exit Status): Fix typo.
21634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21637 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21638 * manual/examples/argp-ex2.c: Likewise.
21639 * manual/examples/argp-ex3.c: Likewise.
21641 2012-02-16 Richard Henderson <rth@redhat.com>
21643 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21644 * sysdeps/s390/s390-32/initfini.c: Remove.
21645 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21646 * sysdeps/s390/s390-64/initfini.c: Remove.
21648 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21650 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21651 compiler output for sysdeps/generic/initfini.c.
21652 * sysdeps/sh/elf/initfini.c: Remove file.
21654 2012-02-16 David S. Miller <davem@davemloft.net>
21657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21659 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21660 * sysdeps/sparc/crti.S: New file.
21661 * sysdeps/sparc/crtn.S: New file.
21662 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21663 * sysdeps/sparc/sparc64/Makefile: Likewise.
21665 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21668 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21670 2012-02-15 Roland McGrath <roland@hack.frob.com>
21673 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21675 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21676 (write, read, close): Likewise.
21677 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21679 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21681 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21682 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21683 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21684 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21686 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21690 2012-02-14 Marek Polacek <polacek@redhat.com>
21692 * sysdeps/x86_64/crti.S: New file.
21693 * sysdeps/x86_64/crtn.S: New file.
21694 * sysdeps/x86_64/elf/initfini.c: Remove file.
21696 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21698 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21699 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21700 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21701 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21703 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21707 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21709 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21711 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21712 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21714 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21718 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21720 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21721 __feraiseexcept instead of feraiseexcept.
21723 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21724 nanosleep invocations.
21725 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21726 strings, and add error checking for a nanosleep invocations.
21728 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21730 Replace FSF snail mail address with URLs, as per GNU coding standards.
21731 Most of the snail mail addresses were wrong anyway, and omitting
21732 them makes the source code easier to maintain. Almost all of the
21733 changes are to license notices and to locale LC_IDENTIFICATION
21734 addresses, except for this one:
21735 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21736 not its snail mail address.
21738 2012-02-09 Richard Henderson <rth@twiddle.net>
21740 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21741 of kernel-features.h.
21743 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21745 2012-02-08 Marek Polacek <polacek@redhat.com>
21747 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21748 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21749 * sysdeps/gnu/_G_config.h: Likewise.
21750 * sysdeps/generic/_G_config.h: Likewise.
21752 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21754 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21758 * sysdeps/powerpc/powerpc32/crti.S: New file.
21759 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21760 * sysdeps/powerpc/powerpc64/crti.S: New file.
21761 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21763 * Makeconfig (have-initfini): Don't set.
21764 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21765 * configure.in (nopic_initfini): Don't substitute.
21766 * config.h.in (HAVE_INITFINI): Don't #undef.
21767 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21768 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21770 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21772 Support crti.S and crtn.S provided directly by architectures.
21773 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21774 [crti.S in sysdirs] (omit-deps): Likewise.
21775 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21776 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21777 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21778 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21779 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21780 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21781 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21782 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21783 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21784 compiler output for sysdeps/generic/initfini.c.
21785 * sysdeps/i386/elf/Makefile: Remove file.
21786 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21788 2012-02-07 Marek Polacek <polacek@redhat.com>
21790 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21791 * sysdeps/gnu/_G_config.h: Likewise.
21792 * sysdeps/mach/hurd/_G_config.h: Likewise.
21794 2012-02-07 Marek Polacek <polacek@redhat.com>
21796 * math/Makefile (tests): Add tst-CMPLX2.
21797 * math/tst-CMPLX2.c: New file.
21799 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21803 * math/libm-test.inc (jn_test): Add missing L suffix.
21805 2012-02-06 Marek Polacek <polacek@redhat.com>
21807 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21808 * sysdeps/i386/fpu/e_powf.S: Likewise.
21809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21812 * sysdeps/i386/fpu/e_pow.S: Likewise.
21813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21817 * sysdeps/i386/fpu/e_log2.S: Likewise.
21818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21820 * sysdeps/i386/fpu/e_powl.S: Likewise.
21821 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21824 * sysdeps/i386/fpu/e_logl.S: Likewise.
21825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21826 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21831 * sysdeps/i386/fpu/e_log.S: Likewise.
21832 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21834 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21835 * sysdeps/i386/fpu/e_logf.S: Likewise.
21836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21838 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21841 * sysdeps/i386/fpu/e_log10.S: Likewise.
21842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21848 * sysdeps/i386/asm-syntax.h: Likewise.
21849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21852 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21853 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21858 * sysdeps/powerpc/sysdep.h: Likewise.
21859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21860 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21862 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21865 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21867 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21869 * sysdeps/i386/sysdep.h: Include <features.h>.
21870 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21873 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21875 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21880 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21882 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21883 (SETUP_PIC_REG): Use GET_PC_THUNK.
21884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21887 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21890 for non-PIC compilation.
21891 (SETUP_PIC_REG): Add .p2align directive.
21892 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21893 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21900 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21901 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21902 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21903 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21904 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21905 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21927 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21929 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21930 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21932 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21936 * math/tst-CMPLX.c: Include <stdio.h>.
21938 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21940 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21943 * sysdeps/sparc/bits/mathdef.h: Likewise.
21945 2012-01-31 Marek Polacek <polacek@redhat.com>
21947 * libio/libio.h: Don't define _PARAMS.
21948 * locale/programs/config.h: Don't define PARAMS.
21949 * stdlib/strtol_l.c: Likewise.
21950 (__strtol_l): Remove PARAMS from the prototype.
21952 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21954 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21955 names. Just use the correct names. Remove unnecessary wrapper
21957 * malloc/arena.c: Likewise.
21958 * malloc/hooks.c: Likewise.
21960 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21961 ARENA_TEST says not to. Simplify test for creation of a new arena.
21962 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21964 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21966 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21968 (update_get_addr): New function.
21969 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21970 GET_ADDR_MODULE parameter.
21972 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21974 * crypt/cert.c: Remove __STDC__ conditionals.
21975 * crypt/crypt-entry.c: Likewise.
21976 * crypt/crypt_util.c: Likewise.
21977 * libio/filedoalloc.c: Likewise.
21978 * libio/fileops.c: Likewise.
21979 * libio/genops.c: Likewise.
21980 * libio/iofclose.c: Likewise.
21981 * libio/iofdopen.c: Likewise.
21982 * libio/iofopen.c: Likewise.
21983 * libio/iofopen64.c: Likewise.
21984 * libio/iogetdelim.c: Likewise.
21985 * libio/iopopen.c: Likewise.
21986 * libio/obprintf.c: Likewise.
21987 * libio/oldfileops.c: Likewise.
21988 * libio/oldiofclose.c: Likewise.
21989 * libio/oldiofdopen.c: Likewise.
21990 * libio/oldiofopen.c: Likewise.
21991 * libio/oldiopopen.c: Likewise.
21992 * libio/wfiledoalloc.c: Likewise.
21993 * libio/wgenops.c: Likewise.
21994 * locale/programs/xmalloc.c: Likewise.
21995 * misc/syslog.c: Likewise.
21996 * stdio-common/xbug.c: Likewise.
21997 * string/memchr.c: Likewise.
21998 * string/memcmp.c: Likewise.
21999 * string/memrchr.c: Likewise.
22000 * string/rawmemchr.c: Likewise.
22001 * sysdeps/posix/getcwd.c: Likewise.
22002 * time/strftime_l.c: Likewise.
22004 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22006 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22007 * config.make.in (config-cflags-sse2avx): Define.
22008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22011 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22013 * scripts/config.guess: Update from upstream config git repository.
22014 * scripts/config.sub: Likewise.
22016 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22018 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22020 (R_TILEPRO_*, R_TILEGX_*): New macros.
22022 * scripts/firstversions.awk: Fix bug in version range handling.
22024 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22026 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22028 * include/sys/epoll.h: New file.
22029 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22032 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22034 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22035 Avoid unnecessary __WORDSIZE == 64 test.
22036 (fmaxf): Use VEX format if possible.
22041 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22042 * math/math_private.h: Remove libc_fegetround* and
22044 * sysdeps/i386/configure.in: Check for -msse2avx.
22045 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22046 also if SSE2AVX is defined.
22047 Remove libc_fegetround* and libc_fesetround*.
22048 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22049 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22058 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22060 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22066 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22069 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22071 * Makeconfig (libm): Define.
22072 * elf/Makefile: Add rules to build and run tst-relsort1.
22073 * elf/tst-relsort1.c: New file.
22074 * elf/tst-relsort1mod1.c: New file.
22075 * elf/tst-relsort1mod2.c: New file.
22077 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22079 * math/s_ldexp.c: Remove __STDC__ conditionals.
22080 * math/s_ldexpf.c: Likewise.
22081 * math/s_ldexpl.c: Likewise.
22082 * math/s_nextafter.c: Likewise.
22083 * math/s_nexttowardf.c: Likewise.
22084 * math/s_significand.c: Likewise.
22085 * math/s_significandf.c: Likewise.
22086 * math/s_significandl.c: Likewise.
22087 * math/w_jnl.c: Likewise.
22088 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22089 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22090 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22091 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22092 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22128 * sysdeps/ieee754/k_standard.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22208 * sysdeps/ieee754/s_matherr.c: Likewise.
22209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22214 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22216 * crypt/md5.h: Remove __STDC__ conditionals.
22217 * libio/libioP.h: Likewise.
22218 * locale/programs/config.h: Likewise.
22219 * sysdeps/generic/sysdep.h: Likewise.
22220 * sysdeps/i386/asm-syntax.h: Likewise.
22221 * sysdeps/s390/asm-syntax.h: Likewise.
22222 * sysdeps/unix/sysdep.h: Likewise.
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22228 * libio/libio.h: Remove __STDC__ conditionals.
22229 * malloc/obstack.h: Likewise.
22230 * math/complex.h: Likewise.
22231 * math/math.h: Likewise.
22232 * sysdeps/generic/_G_config.h: Likewise.
22233 * sysdeps/gnu/_G_config.h: Likewise.
22234 * sysdeps/mach/hurd/_G_config.h: Likewise.
22235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22237 * sysdeps/sparc/bits/mathdef.h: Likewise.
22239 2012-01-26 Ulrich Drepper <drepper@gmail.com>
22242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
22243 Clean up HAS_* macros.
22244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
22245 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22255 2012-01-25 Joseph Myers <joseph@codesourcery.com>
22257 * elf/tst-unique3.cc (gets): Remove declaration.
22258 * elf/tst-unique3lib.cc (gets): Likewise.
22259 * elf/tst-unique3lib2.cc (gets): Likewise.
22260 * elf/tst-unique4.cc (gets): Likewise.
22262 2012-01-24 Ulrich Drepper <drepper@gmail.com>
22264 * include/stdio.h: Add C++ protection. Add gets declarations and
22266 * debug/tst-chk1.c: Don't declare gets here.
22267 * stdio-common/tst-gets.c: Likewise.
22269 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22271 * posix/glob: Remove directory.
22273 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22275 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22277 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22279 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22280 of the non-standard EPFNOSUPPORT.
22282 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22284 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22285 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22286 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22288 2012-01-21 Ulrich Drepper <drepper@gmail.com>
22290 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22292 2012-01-20 Ulrich Drepper <drepper@gmail.com>
22294 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22296 * nscd/grpcache.c (cache_addgr): Likewise.
22297 * nscd/hstcache.c (cache_addhst): Likewise.
22298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22299 * nscd/pwdcache.c (cache_addpw): Likewise.
22300 * nscd/servicescache.c (cache_addserv): Likewise.
22302 2012-01-16 Ulrich Drepper <drepper@gmail.com>
22304 * malloc/malloc.c: Various cleanups.
22305 * malloc/hooks.c: Likewise.
22307 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22308 * stdlib/bug-fmtmsg1.c: New file.
22310 * stdlib/fmtmsg.c (init): Add missing unlock.
22311 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22313 2012-01-12 Marek Polacek <polacek@redhat.com>
22315 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22318 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22320 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22321 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22322 macro to ensure uniqueness of label name.
22323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22326 2012-01-11 Ulrich Drepper <drepper@gmail.com>
22328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22335 2012-01-10 Ulrich Drepper <drepper@gmail.com>
22337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22339 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22343 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
22346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
22350 * math/bits/math-finite.h: Add ldexp support.
22352 2012-01-10 Marek Polacek <polacek@redhat.com>
22354 * locale/programs/localedef.h (show_archive_content): Add noreturn
22357 2012-01-09 Ulrich Drepper <drepper@gmail.com>
22359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22361 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22363 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22365 * io/Makefile (headers): Add bits/poll2.h.
22367 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22370 typo #include statement.
22372 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22374 * include/sys/cdefs.h: Define __attribute_alloc_size.
22375 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22376 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22377 * elf/pldd.c: Likewise.
22378 * iconv/iconv_charmap.c: Likewise.
22379 * iconv/iconvconfig.c: Likewise.
22380 * iconv/strtab.c: Likewise.
22381 * locale/programs/locale.c: Likewise.
22382 * locale/programs/localedef.h: Likewise.
22383 * locale/programs/simple-hash.c: Likewise.
22384 * nscd/nscd.h: Likewise.
22385 * nss/makedb.c: Likewise.
22386 * sysdeps/generic/ldconfig.h: Likewise.
22387 * locale/programs/localedef.c: Remove xmalloc prototype.
22388 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22390 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22395 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22397 * math/Makefile (tests): Add tst-CMPLX.
22398 * math/tst-CMPLX.c: New file.
22400 * math/complex.h (CMPLXL): Fix typo.
22402 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22403 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22405 * debug/tst-chk1.c: Add poll and ppoll tests.
22406 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22407 * include/sys/poll.h: Add hidden proto for ppoll.
22408 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22409 * sysdeps/mach/hurd/ppoll.c: Likewise.
22410 * io/ppoll.c: Likewise.
22411 * debug/poll_chk.c: New file.
22412 * debug/ppoll_chk.c: New file.
22413 * include/bits/poll2.h: New file.
22414 * io/bits/poll2.h: New file.
22417 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22419 * configure.in: static is always set to yes. Remove.
22420 * config.make.in: Don't set build-static.
22421 * Makeconfig: Remove use of build-static.
22422 * dlfcn/Makefile: Likewise.
22423 * elf/Makefile: Likewise.
22424 * math/Makefile: Likewise.
22425 * misc/Makefile: Likewise.
22426 * nptl/Makefile: Likewise.
22427 * sysdeps/mach/hurd/Makefile: Likewise.
22429 * configure.in: PWD_P is not used anymore.
22430 * config.make.in: Remove PWD_P entry.
22432 * configure.in: Remove last remnants of RANLIB.
22433 No need to check for signed size_t anymore.
22434 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22436 Remove __builtin_expect test because we require at least gcc 3.4.
22437 * aclocal.m4: Likewise.
22439 * wcsmbs/mbrtoc16.c: Implement using towc function.
22440 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22441 * wcsmbs/wcsmbsload.c: Likewise.
22442 * iconv/gconv_simple.c: Likewise.
22443 * iconv/gconv_int.h: Likewise.
22444 * iconv/gconv_builtin.h: Likewise.
22445 * iconv/iconv_prog.c: Remove CHAR16 handling.
22447 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22449 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22451 * configure.in: Remove --with-elf and --enable-bounded options.
22452 Dont set base_machine for ia64. More non-ELF conditions removed.
22453 Remove testing and setting of leading underscore information.
22454 * config.make.in (build-bounded): Set to no.
22455 * config.h.in: Remove NO_UNDERSCORES entry.
22456 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22458 * csu/start.c: Remove !NO_UNDERSCORE code.
22459 * locale/localeinfo.h: Likewise.
22460 * sysdeps/generic/machine-gmon.h: Likewise.
22461 * sysdeps/generic/sysdep.h: Likewise.
22462 * sysdeps/i386/sysdep.h: Likewise.
22463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22464 * sysdeps/mach/sysdep.h: Likewise.
22465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22467 * sysdeps/sh/sysdep.h: Likewise.
22468 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22469 * sysdeps/unix/i386/sysdep.S: Likewise.
22470 * sysdeps/unix/sparc/start.c: Likewise.
22471 * sysdeps/unix/sparc/sysdep.S: Likewise.
22472 * sysdeps/unix/sparc/sysdep.h: Likewise.
22473 * sysdeps/unix/start.c: Likewise.
22474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22475 * sysdeps/x86_64/sysdep.h: Likewise.
22477 2012-01-07 Ulrich Drepper <drepper@gmail.com>
22480 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22482 * argp/argp-fmtstream.h: Use const instead __const.
22483 * argp/argp.h: Likewise.
22484 * assert/assert.h: Likewise.
22485 * bits/fenv.h: Likewise.
22486 * bits/sched.h: Likewise.
22487 * bits/sigset.h: Likewise.
22488 * bits/sigthread.h: Likewise.
22489 * catgets/nl_types.h: Likewise.
22490 * conform/data/pthread.h-data: Likewise.
22491 * crypt/crypt-private.h: Likewise.
22492 * crypt/crypt.h: Likewise.
22493 * crypt/crypt_util.c: Likewise.
22494 * ctype/ctype.h: Likewise.
22495 * debug/execinfo.h: Likewise.
22496 * debug/mbsnrtowcs_chk.c: Likewise.
22497 * debug/mbsrtowcs_chk.c: Likewise.
22498 * debug/wcsnrtombs_chk.c: Likewise.
22499 * debug/wcsrtombs_chk.c: Likewise.
22500 * debug/wcstombs_chk.c: Likewise.
22501 * dirent/dirent.h: Likewise.
22502 * dlfcn/dlfcn.h: Likewise.
22503 * elf/neededtest4.c: Likewise.
22504 * grp/grp.h: Likewise.
22505 * gshadow/gshadow.h: Likewise.
22506 * iconv/gconv.h: Likewise.
22507 * iconv/gconv_int.h: Likewise.
22508 * iconv/gconv_simple.c: Likewise.
22509 * iconv/iconv.h: Likewise.
22510 * iconv/loop.c: Likewise.
22511 * iconv/skeleton.c: Likewise.
22512 * include/aio.h: Likewise.
22513 * include/aliases.h: Likewise.
22514 * include/argz.h: Likewise.
22515 * include/arpa/inet.h: Likewise.
22516 * include/assert.h: Likewise.
22517 * include/dirent.h: Likewise.
22518 * include/dlfcn.h: Likewise.
22519 * include/execinfo.h: Likewise.
22520 * include/fcntl.h: Likewise.
22521 * include/fenv.h: Likewise.
22522 * include/glob.h: Likewise.
22523 * include/grp.h: Likewise.
22524 * include/libintl.h: Likewise.
22525 * include/mntent.h: Likewise.
22526 * include/netdb.h: Likewise.
22527 * include/pwd.h: Likewise.
22528 * include/rpc/netdb.h: Likewise.
22529 * include/sched.h: Likewise.
22530 * include/search.h: Likewise.
22531 * include/shadow.h: Likewise.
22532 * include/signal.h: Likewise.
22533 * include/stdio.h: Likewise.
22534 * include/stdlib.h: Likewise.
22535 * include/string.h: Likewise.
22536 * include/sys/socket.h: Likewise.
22537 * include/sys/stat.h: Likewise.
22538 * include/sys/statfs.h: Likewise.
22539 * include/sys/statvfs.h: Likewise.
22540 * include/sys/syslog.h: Likewise.
22541 * include/sys/time.h: Likewise.
22542 * include/sys/uio.h: Likewise.
22543 * include/time.h: Likewise.
22544 * include/unistd.h: Likewise.
22545 * include/utmp.h: Likewise.
22546 * include/wchar.h: Likewise.
22547 * include/wctype.h: Likewise.
22548 * inet/aliases.h: Likewise.
22549 * inet/arpa/inet.h: Likewise.
22550 * inet/netinet/ether.h: Likewise.
22551 * inet/netinet/in.h: Likewise.
22552 * intl/libintl.h: Likewise.
22553 * io/bits/fcntl2.h: Likewise.
22554 * io/fcntl.h: Likewise.
22555 * io/ftw.h: Likewise.
22556 * io/sys/poll.h: Likewise.
22557 * io/sys/stat.h: Likewise.
22558 * io/sys/statfs.h: Likewise.
22559 * io/sys/statvfs.h: Likewise.
22560 * io/utime.h: Likewise.
22561 * libio/bits/stdio.h: Likewise.
22562 * libio/bits/stdio2.h: Likewise.
22563 * libio/libio.h: Likewise.
22564 * libio/libioP.h: Likewise.
22565 * libio/stdio.h: Likewise.
22566 * locale/lc-ctype.c: Likewise.
22567 * locale/locale.h: Likewise.
22568 * login/utmp.h: Likewise.
22569 * malloc/arena.c: Likewise.
22570 * malloc/malloc.c: Likewise.
22571 * malloc/malloc.h: Likewise.
22572 * malloc/mcheck.c: Likewise.
22573 * malloc/mtrace.c: Likewise.
22574 * math/bits/mathcalls.h: Likewise.
22575 * math/fenv.h: Likewise.
22576 * math/math_private.h: Likewise.
22577 * misc/bits/error.h: Likewise.
22578 * misc/bits/syslog.h: Likewise.
22579 * misc/err.h: Likewise.
22580 * misc/error.h: Likewise.
22581 * misc/fstab.h: Likewise.
22582 * misc/mntent.h: Likewise.
22583 * misc/regexp.h: Likewise.
22584 * misc/search.h: Likewise.
22585 * misc/sgtty.h: Likewise.
22586 * misc/sys/mman.h: Likewise.
22587 * misc/sys/syslog.h: Likewise.
22588 * misc/sys/uio.h: Likewise.
22589 * misc/sys/xattr.h: Likewise.
22590 * misc/ttyent.h: Likewise.
22591 * nis/rpcsvc/ypclnt.h: Likewise.
22592 * nss/nss.h: Likewise.
22593 * posix/bits/unistd.h: Likewise.
22594 * posix/fnmatch.h: Likewise.
22595 * posix/glob.h: Likewise.
22596 * posix/sched.h: Likewise.
22597 * posix/spawn.h: Likewise.
22598 * posix/sys/wait.h: Likewise.
22599 * posix/unistd.h: Likewise.
22600 * posix/wordexp.h: Likewise.
22601 * pwd/pwd.h: Likewise.
22602 * resolv/netdb.h: Likewise.
22603 * resource/sys/resource.h: Likewise.
22604 * rt/aio.h: Likewise.
22605 * rt/bits/mqueue2.h: Likewise.
22606 * rt/mqueue.h: Likewise.
22607 * shadow/shadow.h: Likewise.
22608 * signal/signal.h: Likewise.
22609 * socket/send.c: Likewise.
22610 * socket/sendto.c: Likewise.
22611 * socket/sys/socket.h: Likewise.
22612 * stdio-common/printf.h: Likewise.
22613 * stdlib/bits/stdlib.h: Likewise.
22614 * stdlib/fmtmsg.h: Likewise.
22615 * stdlib/monetary.h: Likewise.
22616 * stdlib/stdlib.h: Likewise.
22617 * stdlib/ucontext.h: Likewise.
22618 * streams/stropts.h: Likewise.
22619 * string/argz.h: Likewise.
22620 * string/bits/string2.h: Likewise.
22621 * string/string.h: Likewise.
22622 * string/strings.h: Likewise.
22623 * sunrpc/rpc/auth.h: Likewise.
22624 * sunrpc/rpc/auth_des.h: Likewise.
22625 * sunrpc/rpc/clnt.h: Likewise.
22626 * sunrpc/rpc/netdb.h: Likewise.
22627 * sunrpc/rpc/pmap_clnt.h: Likewise.
22628 * sunrpc/rpc/xdr.h: Likewise.
22629 * sysdeps/generic/inttypes.h: Likewise.
22630 * sysdeps/generic/net/if.h: Likewise.
22631 * sysdeps/generic/sys/swap.h: Likewise.
22632 * sysdeps/gnu/net/if.h: Likewise.
22633 * sysdeps/gnu/utmpx.h: Likewise.
22634 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22635 * sysdeps/i386/i486/bits/string.h: Likewise.
22636 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22637 * sysdeps/s390/bits/string.h: Likewise.
22638 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22639 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22640 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22641 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22642 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22643 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22645 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22646 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22647 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22648 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22650 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22652 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22660 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22661 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22662 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22663 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22666 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22668 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22669 * sysvipc/sys/ipc.h: Likewise.
22670 * sysvipc/sys/msg.h: Likewise.
22671 * sysvipc/sys/sem.h: Likewise.
22672 * sysvipc/sys/shm.h: Likewise.
22673 * termios/termios.h: Likewise.
22674 * time/sys/time.h: Likewise.
22675 * time/time.h: Likewise.
22676 * wcsmbs/bits/wchar2.h: Likewise.
22677 * wcsmbs/uchar.h: Likewise.
22678 * wcsmbs/wchar.h: Likewise.
22679 * wctype/wctype.h: Likewise.
22682 * Makeconfig: Remove all but ELF support including AIX support.
22683 * Makerules: Likewise.
22684 * config.h.in: Likewise.
22685 * config.make.in: Likewise.
22686 * configure: Likewise.
22687 * configure.in: Likewise.
22688 * csu/Makefile: Likewise.
22689 * csu/version.c: Likewise.
22690 * debug/Makefile: Likewise.
22691 * dlfcn/Makefile: Likewise.
22692 * elf/Makefile: Likewise.
22693 * extra-lib.mk: Likewise.
22694 * iconv/Makefile: Likewise.
22695 * include/libc-symbols.h: Likewise.
22696 * include/shlib-compat.h: Likewise.
22697 * resolv/Makefile: Likewise.
22698 * resolv/res_libc.c: Likewise.
22699 * rt/Makefile: Likewise.
22700 * sysdeps/i386/asm-syntax.h: Likewise.
22701 * sysdeps/i386/sysdep.h: Likewise.
22702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22703 * sysdeps/mach/sysdep.h: Likewise.
22704 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22705 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22706 * sysdeps/s390/asm-syntax.h: Likewise.
22707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22709 * sysdeps/sh/sysdep.h: Likewise.
22710 * sysdeps/unix/sparc/sysdep.h: Likewise.
22711 * sysdeps/wordsize-32/divdi3.c: Likewise.
22712 * sysdeps/x86_64/sysdep.h: Likewise.
22714 * argp/Versions: Remove _argp_unlock_xxx.
22717 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22718 * abilist/libBrokenLocale.abilist: Likewise.
22719 * abilist/libanl.abilist: Likewise.
22720 * abilist/libc.abilist: Likewise.
22721 * abilist/libcrypt.abilist: Likewise.
22722 * abilist/libdl.abilist: Likewise.
22723 * abilist/libm.abilist: Likewise.
22724 * abilist/libnsl.abilist: Likewise.
22725 * abilist/libpthread.abilist: Likewise.
22726 * abilist/libresolv.abilist: Likewise.
22727 * abilist/librt.abilist: Likewise.
22728 * abilist/libthread_db.abilist: Likewise.
22729 * abilist/libutil.abilist: Likewise.
22730 * abilist/libnss_db.abilist: New file.
22732 * scripts/abilist.awk: Add support for indirect functions.
22734 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22736 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22738 * shlib-versions: Remove entries for ports architectures.
22740 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22742 * elf/stackguard-macros.h: Remove support for IA-64.
22743 * elf/tst-auditmod1.c: Likewise.
22744 * sysdeps/generic/ldsodefs.h: Likewise.
22746 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22747 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22751 * configure.in: Remove --enable-omitfp support.
22753 * config.make.in: Likewise.
22754 * Makeconfig: Likewise.
22755 * manual/install.texi: Likewise.
22757 In case anyone cares, the IA-64 architecture could move to ports.
22758 * sysdeps/ia64/*: Removed.
22759 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22760 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22763 * configure.in: Remove entries for unsupported architectures.
22766 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22767 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22769 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22770 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22771 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22772 fall back to using wcrtomb.
22773 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22774 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22776 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22777 * wcsmbs/tst-c16c32-1.c: New file.
22779 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22782 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22784 * elf/tst-unique3.cc: Add explicit declaration of gets.
22785 * elf/tst-unique3lib.cc: Likewise.
22786 * elf/tst-unique3lib2.cc: Likewise.
22787 * elf/tst-unique4.cc: Likewise.
22789 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22791 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22794 * assert/assert.h (static_assert): Don't define for C++.
22795 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22796 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22798 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22800 * iconv/loop.c (single loop): Fix assertion in storing of
22803 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22805 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22807 * posix/getconf.c: Update copyright year.
22808 * nss/getent.c: Likewise.
22809 * nss/makedb.c: Likewise.
22810 * iconv/iconvconfig.c: Likewise.
22811 * iconv/iconv_prog.c: Likewise.
22812 * elf/ldconfig.c: Likewise.
22813 * elf/pldd.c: Likewise.
22814 * elf/sotruss.ksh: Likewise.
22815 * catgets/gencat.c: Likewise.
22816 * csu/version.c: Likewise.
22817 * elf/ldd.bash.in: Likewise.
22818 * elf/sprof.c (print_version): Likewise.
22819 * locale/programs/locale.c: Likewise.
22820 * locale/programs/localedef.c: Likewise.
22821 * login/programs/pt_chown.c: Likewise.
22822 * nscd/nscd.c (print_version): Likewise.
22823 * debug/xtrace.sh: Likewise.
22824 * malloc/memusage.sh: Likewise.
22825 * malloc/mtrace.pl: Likewise.
22826 * debug/catchsegv.sh: Likewise.
22828 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22830 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22833 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22836 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22837 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22839 * iconv/gconv_int.h: Likewise.
22840 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22841 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22842 from libc for GLIBC_2.16.
22843 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22844 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22845 * wcsmbs/uchar.h: Really define mbstate_t.
22846 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22847 * wcsmbs/c16rtomb.c: New file.
22848 * wcsmbs/mbrtoc16.c: New file.
22849 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22850 for C/POSIX locale.
22851 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22852 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22854 * wcsmbs/wchar.h: Add missing __restrict.
22856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22859 * time/Makefile (routines): Add timespec_get.
22860 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22861 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22862 timespec for ISO C11.
22863 * time/timespec_get.c: New file.
22864 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22868 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22869 * stdlib/stdlib.h: Declare aligned_alloc.
22870 * Versions.def: Add GLIBC_2.16 for libc.
22871 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22874 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22877 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22881 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22884 * assert/assert.h (static_assert): Define.
22886 * version.h: Update for 2.16 development version.
22889 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22892 * version.h (RELEASE): Bump for 2.15 release.
22893 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22895 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22896 Patch by Marek Polacek <mpolacek@redhat.com>.
22898 * bits/byteswap.h: Protect long long constants with __extension__.
22899 * sysdeps/i386/bits/byteswap.h: Likewise.
22900 * sysdeps/ia64/bits/byteswap.h: Likewise.
22901 * sysdeps/s390/bits/byteswap.h: Likewise.
22902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22904 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22908 destination buffer.
22909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22911 2011-12-23 Marek Polacek <polacek@redhat.com>
22913 * elf/dl-addr.c (determine_info): Add inline keyword.
22914 * elf/tst-auditmod4b.c (check_avx): Likewise.
22915 * elf/tst-auditmod6b.c (check_avx): Likewise.
22916 * elf/tst-auditmod6c.c (check_avx): Likewise.
22917 * elf/tst-auditmod7b.c (check_avx): Likewise.
22919 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22921 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22924 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22928 processing for last bytes.
22930 2011-08-06 Bruno Haible <bruno@clisp.org>
22933 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22934 U+0385, not to U+1FEE.
22937 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22938 entry for U+00A5 U+0301.
22940 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22943 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22944 buffer for the output is too small.
22946 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22950 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22951 SSE flags if possible.
22953 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22957 processing for last bytes.
22959 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22962 (syscall-list-default-options, syscall-list-default-condition)
22963 (syscall-list-includes): Define.
22964 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22965 list of ABIs and options and #if conditions for each ABI. Do not
22966 handle common syscalls between ABIs specially.
22967 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22969 (syscall-list-variants, syscall-list-32bit-options)
22970 (syscall-list-32bit-condition, syscall-list-64bit-options)
22971 (syscall-list-64bit-condition): Define.
22972 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22973 (syscall-list-variants, syscall-list-32bit-options)
22974 (syscall-list-32bit-condition, syscall-list-64bit-options)
22975 (syscall-list-64bit-condition): Define.
22976 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22978 (syscall-list-variants, syscall-list-32bit-options)
22979 (syscall-list-32bit-condition, syscall-list-64bit-options)
22980 (syscall-list-64bit-condition): Define.
22981 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22983 (syscall-list-variants, syscall-list-32bit-options)
22984 (syscall-list-32bit-condition, syscall-list-64bit-options)
22985 (syscall-list-64bit-condition): Define.
22987 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22989 * locale/iso-639.def: Add brx entry.
22992 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22993 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22995 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22996 __feraiseexcept_renamed.
22998 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23001 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23002 EPOLLET with unsigned values.
23003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23006 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23007 to large cancellation.
23008 * math/s_cacoshf.c: Likewise.
23009 * math/s_cacoshl.c: Likewise.
23011 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23015 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23016 * math/s_cacoshf.c: Likewise.
23017 * math/s_cacoshl.c: Likewise.
23019 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23022 * iconv/gconv.h: Define __GCONV_SWAP.
23023 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23024 * iconvdata/utf-16.c: Likewise.
23025 * iconvdata/utf-32.c: Likewise.
23027 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23031 numerator after shifting it by one limb.
23033 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23036 under [__USE_EXTERN_INLINES].
23038 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23041 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23043 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23045 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23046 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23048 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23050 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23051 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23052 for strncasecmp/strncasecmp_l compilation.
23053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23054 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23056 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23059 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23062 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23065 * time/tzfile.c (__tzfile_read): Check values from file header.
23067 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23069 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23070 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23071 * powerpc/powerpc32/dl-start.S: Likewise.
23072 * powerpc/powerpc32/elf/start.S: Likewise.
23073 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23074 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23075 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23076 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23077 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23078 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23079 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23080 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23081 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23082 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23083 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23084 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23085 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23086 * powerpc/powerpc32/memset.S: Likewise.
23087 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23088 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23089 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23090 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23091 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23092 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23093 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23094 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23095 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23096 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23097 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23101 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23103 * math/libm-test.inc: Added more nearbyint tests.
23104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23109 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23111 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23114 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23116 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23117 Add wcscpy-ssse3 wcscpy-c.
23118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23119 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23120 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23121 * sysdeps/x86_64/wcschr.S: New file.
23122 * sysdeps/x86_64/wcsrchr.S: New file.
23123 * string/test-strcmp.c: Remove checking of wcscmp function for
23125 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23126 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23127 wcsrchr-sse2 wcsrchr-c.
23128 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23129 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23130 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23131 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23132 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23133 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23134 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23135 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23137 * wcsmbc/wcschr.c (WCSCHR): New macro.
23139 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23141 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23142 * wcsmbs/test-wcsrchr.c: New file.
23143 * string/test-strrchr.c: Add wcsrchr support.
23145 * wcsmbs/test-wcscpy.c: New file.
23146 * string/test-strcpy.c: Add wcscpy support.
23149 2011-12-10 Ulrich Drepper <drepper@gmail.com>
23151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23154 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23157 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23159 2011-12-04 Ulrich Drepper <drepper@gmail.com>
23161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23162 Minor optimizations.
23164 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23165 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23166 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23168 2011-12-03 Ulrich Drepper <drepper@gmail.com>
23170 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23171 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23172 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23173 for gcc to avoid warnings.
23174 * inet/Makefile (tests): Add tst-checks.
23175 * inet/tst-checks.c: New file.
23177 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23180 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23183 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23184 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23186 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23188 2011-12-02 Ulrich Drepper <drepper@gmail.com>
23190 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23193 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23195 2011-11-29 Joseph Myers <joseph@codesourcery.com>
23197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23198 conditional on GCC version.
23199 (__arch_compare_and_exchange_val_8_acq)
23200 (__arch_compare_and_exchange_val_16_acq)
23201 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23202 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23203 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23205 2011-12-02 Joseph Myers <joseph@codesourcery.com>
23207 * sysdeps/sh/backtrace.c: New file.
23209 2011-12-02 Andreas Schwab <schwab@redhat.com>
23211 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23214 2011-12-01 Andreas Schwab <schwab@redhat.com>
23216 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23217 falling back to utime.
23219 2011-11-30 Andreas Schwab <schwab@redhat.com>
23221 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23222 expectations for float.
23224 2011-11-29 Andreas Schwab <schwab@redhat.com>
23226 * locale/weight.h (findidx): Add parameter len.
23227 * locale/weightwc.h (findidx): Likewise.
23228 * posix/fnmatch_loop.c (FCT): Adjust caller.
23229 * posix/regcomp.c (build_equiv_class): Likewise.
23230 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23231 * posix/regexec.c (check_node_accept_bytes): Likewise.
23232 * string/strcoll_l.c (STRCOLL): Likewise.
23233 * string/strxfrm_l.c (STRXFRM): Likewise.
23235 2011-11-17 Ulrich Drepper <drepper@gmail.com>
23237 * Makefile.in: Remove CVSOPT handling.
23238 * configure.in: Remove use of AC_REVISION.
23239 * iconvdata/Makefile (distribute): No need to filter out CVS.
23240 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23243 2011-11-16 Andreas Schwab <schwab@redhat.com>
23245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23246 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23247 [USE_AS_STRNCASECMP_L]: Likewise.
23248 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23249 NO_TLS_DIRECT_SEG_REFS.
23250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23251 Fix argument offsets for non-PIC.
23252 [USE_AS_STRNCASECMP_L]: Likewise.
23253 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23254 NO_TLS_DIRECT_SEG_REFS.
23256 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23258 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
23260 * locale/loadlocale.c (_nl_load_locale): Likewise.
23262 2011-11-15 Andreas Schwab <schwab@redhat.com>
23264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23265 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23267 (SYSCALL_GETTIME): Set errno on error.
23269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23270 count references to noai6ai_cached.
23272 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23274 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23276 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23277 FD_CLOEXEC for /proc/self/maps.
23279 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23280 FD_CLOEXEC for /proc/meminfo.
23282 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23285 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23286 FD_CLOEXEC for given file.
23288 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23290 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23291 FD_CLOEXEC for /etc/hosts.
23292 (_gethtent): Likewise.
23294 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23297 cancellation and set FD_CLOEXEC for /etc/netgroup.
23299 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23300 reading /etc/publickey.
23302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23303 allow cancellation when reading /etc/group.
23305 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23307 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23309 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23310 when using data file.
23312 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23314 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23315 (write_nis_obj): Use "c" and "e" in fopen.
23317 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23319 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23321 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23323 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23325 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23328 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23330 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23332 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23334 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23335 file parsing and set FD_CLOEXEC.
23337 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23339 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23341 2011-11-14 Andreas Schwab <schwab@redhat.com>
23343 * malloc/arena.c (arena_get2): Don't call reused_arena when
23344 _int_new_arena failed.
23346 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23348 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23349 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23354 to compile strcasecmp and strncasecmp.
23355 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23356 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23360 2011-11-13 Ulrich Drepper <drepper@gmail.com>
23362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23363 locale-defines.sym to gen-as-const-headers.
23364 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23365 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23367 to compile strcasecmp and strncasecmp.
23368 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23369 strcasecmp_l and strncasecmp_l.
23370 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23371 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23372 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23374 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23376 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23377 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23378 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23379 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23380 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23382 2011-11-12 Ulrich Drepper <drepper@gmail.com>
23384 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23385 result of SYSDEP_GETTIME_CPU to retval.
23386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23387 parameter list to macro. Remove trailing semicolon. Adjust users.
23389 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23397 from unused variable.
23399 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23401 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23404 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23407 * sunrpc/rpc_prot.c (rejected): Fix case value.
23409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23410 unsigned long long int to avoid warnings in shift.
23412 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23414 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23417 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23418 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23421 * nis/nis_table.c (nis_list): Use variable of correct type for
23422 result of __follow_path call.
23424 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23426 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23427 of math functions ceil, trunc, floor, round, and sqrt, when
23428 avaliable on the platform.
23429 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23435 2011-10-30 Marek Polacek <mpolacek@redhat.com>
23437 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23440 2011-11-11 Roland McGrath <roland@hack.frob.com>
23442 * include/unistd.h: Fix __readlink return type.
23443 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23445 2011-11-11 Ulrich Drepper <drepper@gmail.com>
23447 * stdlib/ucontext.h: Undo last change for makecontext.
23449 2011-11-11 Andreas Schwab <schwab@redhat.com>
23451 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23453 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23454 * setjmp/setjmp.h: Mark functions as non-leaf.
23455 * setjmp/bits/setjmp2.h: Likewise.
23456 * stdlib/ucontext.h: Likewise.
23458 2011-11-10 Andreas Schwab <schwab@redhat.com>
23460 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23461 (reused_arena): Don't check arena limit.
23462 (arena_get2): Atomically check arena limit.
23464 2011-11-08 Ulrich Drepper <drepper@gmail.com>
23466 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23467 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23472 2011-11-07 Andreas Schwab <schwab@redhat.com>
23474 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23475 handler when locking.
23477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23478 Fix size of allocated buffer.
23480 2011-11-04 Andreas Schwab <schwab@redhat.com>
23483 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23484 declarations for long double functions.
23485 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23487 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23489 2011-11-03 Andreas Schwab <schwab@redhat.com>
23491 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23494 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23497 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23499 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23501 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23503 * include/alloca.h (stackinfo_alloca_round): Define.
23504 (extend_alloca): Use it.
23505 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23506 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23509 * scripts/check-local-headers.sh: Ignore libaudit.h.
23511 * nscd/Makefile (extra-objs): Make recursively expanded.
23513 2011-11-01 Ulrich Drepper <drepper@gmail.com>
23515 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23518 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23519 * posix/tst-rfc3484-2.c: Likewise.
23520 * posix/tst-rfc3484-3.c: Likewise.
23522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23524 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23526 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23527 process_vm_writev from libc using GLIBC_2.15 version.
23529 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23531 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23533 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23536 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23539 * nss/getent.c (initgroups_keys): Show error message in case no group
23542 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23543 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23544 __bump_nl_timestamp.
23545 * nscd/connections (nscd_init): When host database is served open
23546 netlink socket and request notification about configuration changes.
23547 (main_loop_poll): Track netlink file descriptor and bump timestamp
23548 in case data becomes available.
23549 (main_loop_epoll): Likewise.
23550 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23551 (database_pers_head): Add extra_data fileds.
23552 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23554 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23557 in6ai data, call __free_in6ai.
23558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23559 Add -DHAVE_NETLINK.
23560 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23561 interface information. Reuse previous data if netlink timestamp
23563 (__bump_nl_timestamp): New function.
23564 (__free_in6ai): New function.
23566 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23569 close_not_cancel_no_status here.
23570 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23575 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23578 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23579 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23580 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23582 2011-07-03 Andreas Jaeger <aj@suse.de>
23585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23586 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23587 * math/libm-test.inc (sin_test): Add test case.
23589 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23592 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23593 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23595 * elf/chroot_canon.c (chroot_canon): Cleanups.
23597 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23600 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23603 * string/test-strchr.c: Make usable for strchrnul testing.
23604 * string/test-strchrnul.c: New file.
23605 * string/Makefile (strop-tests): Add strchrnul.
23607 * po/it.po: Update from translation team.
23608 * po/es.po: Likewise.
23610 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23613 the three constants needed as parameters. Drop the others.
23614 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23615 __m128i_strloadu_tolower.
23616 Create and initialize variable zero and use it in all the places
23617 where _mm_setzero_si128 was used.
23619 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23620 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23621 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23624 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23625 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23626 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23627 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23629 __mpranred, __mptan.
23630 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23631 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23632 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23633 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23640 2011-10-28 Andreas Schwab <schwab@redhat.com>
23642 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23643 redefine if SHARED.
23644 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23647 wide char related routines to wcsmbs subdir.
23649 2011-10-27 Andreas Schwab <schwab@redhat.com>
23652 * misc/sys/cdefs.h (__THROWNL): Define.
23653 * posix/unistd.h: Use __THREADNL instead of __THREAD
23654 for memory synchronization functions.
23656 2011-10-26 Roland McGrath <roland@hack.frob.com>
23659 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23661 * manual/stdio.texi (Obstack Streams): Node removed.
23663 2011-10-26 Andreas Schwab <schwab@redhat.com>
23665 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23669 * math/math_private.h (math_force_eval): Allow non-addressable
23671 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23673 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23676 file is not needed.
23678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23685 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23687 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23688 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23689 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23690 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23691 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23693 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23697 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23700 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23707 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23708 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23711 place. Use VEX encoding when compiling for AVX.
23713 2011-10-25 Andreas Schwab <schwab@redhat.com>
23715 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23718 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23720 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23722 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23723 useless if() expression.
23724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23744 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23746 2011-10-25 Andreas Schwab <schwab@redhat.com>
23748 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23754 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23755 .text section. Avoid duplicate constants.
23756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23768 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23776 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23783 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23802 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23804 * sysdeps/x86_64/dla.h: Move to ...
23805 * sysdeps/x86_64/fpu/dla.h: ...here.
23806 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23807 situations. Use __builtin_fma only for gcc 4.6 and up.
23809 * config.make.in: Add have-mfma4 entry.
23810 * configure.in: Substitute libc_cv_cc_fma4.
23811 * math/Makefile (dbl-only-routines): Add sincostab.
23812 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23813 Use __sincostab not sincos.
23814 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23821 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23822 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23823 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23824 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23827 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23829 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23830 define aliases when function name is a macro.
23831 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23832 sysdeps/ieee754/dbl-64/sincos.tbl.
23833 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23834 fma4-enabled routines.
23835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23840 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23845 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23847 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23866 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23877 2011-10-24 Andreas Schwab <schwab@redhat.com>
23879 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23889 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23890 Remove unused variable magic_bits.
23891 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23893 * string/strnlen.c: Define and use STRNLEN macro.
23894 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23895 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23897 * wcsmbs/wcslen.c: Define and use WCSLEN.
23898 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23899 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23900 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23901 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23903 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23906 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23909 strnlen-sse2-no-bsf.
23910 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23912 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23913 Add strnlen support.
23914 (USE_AS_STRNLEN): New macro.
23915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23917 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23918 * sysdeps/x86_64/wcslen.S: New file.
23920 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23923 XMM-moves are used for copying on small sizes.
23925 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23927 * wcsmbs/Makefile (strop-tests): Add wcschr.
23928 * wcsmbs/test-wcschr.c: New file.
23929 * string/test-strchr.c: Update.
23930 Add wcschr support.
23933 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23935 * wcsmbs/Makefile (strop-tests): Add wcslen.
23936 * wcsmbs/test-wcslen.c: New file.
23937 * string/test-strlen.c: Update.
23938 Add wcslen support.
23941 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23943 * po/it.po: Update from translation team.
23945 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23947 * sysdeps/x86_64/wcscmp.S: Update.
23948 Fix wrong comparison semantics.
23949 wcscmp shall use signed comparison not unsigned.
23950 Don't use substraction to avoid overflow bug.
23951 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23952 * wcsmbc/wcscmp.c: Likewise.
23953 * string/test-strcmp.c: Likewise.
23954 Add new tests to check cases with negative values.
23956 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23958 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23959 * sysdeps/x86_64/dla.h: ...here. New file.
23960 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23970 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23973 __ynl_finite aliases.
23975 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23979 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23981 [DLA_FMA] (EMULV): Use DLA_FMA.
23982 [DLA_FMA] (MUL12): Use EMULV.
23983 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23984 that are not needed.
23985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23993 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23995 * math/s_nan.c: Undef __nan.
23996 * math/s_nanf.c: Undef __nanf.
23997 * math/s_nanl.c: Undef __nanl.
23998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24001 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24003 * math/s_catan.c: Add branch predictions.
24004 * math/s_catanf.c: Likewise.
24005 * math/s_catanh.c: Likewise.
24006 * math/s_catanhf.c: Likewise.
24007 * math/s_catanhl.c: Likewise.
24008 * math/s_catanl.c: Likewise.
24009 * math/s_cexp.c: Likewise.
24010 * math/s_cexpf.c: Likewise.
24011 * math/s_cexpl.c: Likewise.
24012 * math/s_clog.c: Likewise.
24013 * math/s_clog10.c: Likewise.
24014 * math/s_clog10f.c: Likewise.
24015 * math/s_clog10l.c: Likewise.
24016 * math/s_clogf.c: Likewise.
24017 * math/s_clogl.c: Likewise.
24018 * math/s_csqrt.c: Likewise.
24019 * math/s_csqrtf.c: Likewise.
24020 * math/s_csqrtl.c: Likewise.
24021 * math/s_ctanf.c: Likewise.
24022 * math/s_ctanh.c: Likewise.
24023 * math/s_ctanhf.c: Likewise.
24024 * math/s_ctanhl.c: Likewise.
24025 * math/s_ctanl.c: Likewise.
24027 * math/math_private.h: Define __nan, __nanf, __nanl.
24028 * math/s_cacosh.c: Include <math_private.h>.
24029 * math/s_cacoshl.c: Likewise.
24030 * math/s_casinh.c: Likewise.
24031 * math/s_casinhf.c: Likewise.
24032 * math/s_casinhl.c: Likewise.
24033 * math/s_ccos.c: Rely entire on ccosh.
24034 * math/s_ccosf.c: Rely entire on ccoshf.
24035 * math/s_ccosl.c: Rely entirely on ccoshl.
24036 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24037 Remove tests for FE_INVALID.
24038 * math/s_ccoshf.c: Likewise.
24039 * math/s_ccoshl.c: Likewise.
24040 * math/s_csin.c: Likewise.
24041 * math/s_csinf.c: Likewise.
24042 * math/s_csinh.c Likewise.
24043 * math/s_csinhf.c: Likewise.
24044 * math/s_csinhl.c: Likewise.
24045 * math/s_csinl.c: Likewise.
24046 * math/s_ctan.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24048 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24051 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24054 compilation problems.
24056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24059 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24061 * sysdeps/i386/configure.in: Test for -mfma4 option.
24062 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24063 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24064 COMMON_CPUID_INDEX_80000001.
24065 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24067 use it if FMA3 is not supported.
24068 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24070 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24073 2011-10-20 Andreas Schwab <schwab@redhat.com>
24076 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24077 it would create a cycle with a link time dependency.
24079 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24081 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24083 * string/Makefile (strop-tests): Add rawmemchr.
24084 * string/test-rawmemchr.c: New file.
24086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24088 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24089 when compiling str{,n}casecmp and when AVX is available. Hook up
24090 new optimized code in initializers.
24092 2011-10-19 Andreas Schwab <schwab@redhat.com>
24094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24095 __feraiseexcept instead of feraiseexcept.
24097 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24099 * math/math_private.h: Define defaults for libc_fetestexcept and
24101 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24102 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24105 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24106 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24107 libc_fetestexcept and libc_feupdateenv.
24109 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24110 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24111 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24112 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24113 libc_feholdexcept_setround.
24115 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24116 Add s_nearbyint-c and s_nearbyintf-c.
24117 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24118 nearbyintf inlines.
24119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24124 * math/math_private.h: Define defaults for libc_fegetround,
24125 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24126 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24127 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24129 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24130 standard functions.
24131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24132 Remove comments and hacks for old compiler versions.
24133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24134 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24135 libc_feholdexceptl.
24137 2011-10-18 Andreas Schwab <schwab@redhat.com>
24139 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24140 (__feraiseexcept_renamed): Add __NTH.
24141 (feraiseexcept): Add __NTH. Rename local variables to fix
24142 namespace violations.
24144 2011-10-17 Ulrich Drepper <drepper@gmail.com>
24146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24150 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24151 recently added interfaces.
24152 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24154 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24155 about macro parameter expansion.
24157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24158 __NO_MATH_INLINES is defined. Cleanups.
24160 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24161 and __floorf is target has SSE4.1.
24162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24167 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24169 (floorf): Likewise.
24171 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24173 2011-10-17 Andreas Schwab <schwab@redhat.com>
24175 * misc/sys/cdefs.h: Fix last change.
24177 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24180 2011-10-16 Ulrich Drepper <drepper@gmail.com>
24182 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24184 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24193 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24194 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24196 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24199 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24201 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24205 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24208 ceil, ceilf, floor, floorf.
24210 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24211 Perform IRELATIVE relocations last.
24213 * elf/do-rel.h: Add another parameter nrelative, replacing the
24214 local variable with the same name. Change name of the function
24215 to end in Rel or Rela (uppercase).
24216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24217 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24218 elf_dynamic_do_##reloc function.
24220 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24222 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24223 is sufficient, at least on modern CPUs.
24225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24227 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24230 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24232 * math/bits/math-finite.h: Add entries for exp.
24233 * math/e_expl.c: Add __*_finite alias.
24234 * sysdeps/i386/fpu/e_exp.S: Likewise.
24235 * sysdeps/i386/fpu/e_expf.S: Likewise.
24236 * sysdeps/i386/fpu/e_expl.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24245 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24246 is sufficient, at least on modern CPUs.
24248 * ctype/ctype-info.c (__ctype_init): Define.
24249 * include/ctype.h (__ctype_init): Declare.
24250 (__ctype_b_loc): The variable is always initialized.
24251 (__ctype_toupper_loc): Likewise.
24252 (__ctype_tolower_loc): Likewise.
24253 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24254 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24256 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24258 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24260 * configure.in: Also look in $cxxmachine/include for C++ system
24263 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24265 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24266 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24267 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24268 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24270 (USE_AS_WMEMCMP): New macro.
24272 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24273 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24274 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24275 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24277 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24278 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24279 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24280 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24281 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24283 (USE_AS_WMEMCMP): New macro.
24284 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24285 * sysdeps/string/test-memcmp.c: Update.
24286 Fix simple_wmemcmp.
24288 * wcsmbs/wmemcmp.c: Update.
24289 (WMEMCMP): New macro.
24292 2011-10-12 Andreas Jaeger <aj@suse.de>
24295 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24299 * libio/iofwide.c (do_length): Avoid warning.
24301 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24303 2011-10-14 Ulrich Drepper <drepper@gmail.com>
24305 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24307 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24308 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24309 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24310 * sysdeps/i386/i686/fpu/e_log.S: New file.
24311 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24312 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24314 * ctype/ctype.h: Add support for inlined isXXX functions when
24315 compiling C++ code.
24317 2011-10-14 Andreas Schwab <schwab@redhat.com>
24319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24323 2011-10-13 Roland McGrath <roland@hack.frob.com>
24326 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24328 2011-10-13 Andreas Schwab <schwab@redhat.com>
24330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24331 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24334 * sysdeps/x86_64/memrchr.S: Check for zero size.
24336 * string/stratcliff.c: Add memrchr tests.
24338 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24341 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24342 rawmemchr-sse2 rawmemchr-sse2-bsf.
24343 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24344 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24346 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24347 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24348 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24349 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24350 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24353 * string/memrchr.c (MEMRCHR): New macro.
24355 2011-10-12 Ulrich Drepper <drepper@gmail.com>
24357 Add integration with gcc's -ffinite-math-only and optimize wrapper
24359 * Versions.def: Define GLIBC_2.15 version for libm.
24360 * math/Makefile (headers): Add bits/math-finite.h.
24361 * math/bits/math-finite.h: New file.
24362 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24363 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24364 * math/e_acoshl.c: Add __*_finite alias.
24365 * math/e_acosl.c: Likewise.
24366 * math/e_asinl.c: Likewise.
24367 * math/e_atan2l.c: Likewise.
24368 * math/e_atanhl.c: Likewise.
24369 * math/e_coshl.c: Likewise.
24370 * math/e_exp10.c: Likewise.
24371 * math/e_exp10f.c: Likewise.
24372 * math/e_exp10l.c: Likewise.
24373 * math/e_exp2l.c: Likewise.
24374 * math/e_fmodl.c: Likewise.
24375 * math/e_gammal_r.c: Likewise.
24376 * math/e_hypotl.c: Likewise.
24377 * math/e_j0l.c: Likewise.
24378 * math/e_j1l.c: Likewise.
24379 * math/e_jnl.c: Likewise.
24380 * math/e_lgammal_r.c: Likewise.
24381 * math/e_log10l.c: Likewise.
24382 * math/e_log2l.c: Likewise.
24383 * math/e_logl.c: Likewise.
24384 * math/e_powl.c: Likewise.
24385 * math/e_sinhl.c: Likewise.
24386 * math/e_sqrtl.c: Likewise.
24387 * math/e_scalb.c: Completely rewritten and optimized.
24388 * math/e_scalbf.c: Likewise.
24389 * math/e_scalbl.c: Likewise.
24390 * math/w_acos.c: Likewise.
24391 * math/w_acosf.c: Likewise.
24392 * math/w_acosl.c: Likewise.
24393 * math/w_acosh.c: Likewise.
24394 * math/w_acoshf.c: Likewise.
24395 * math/w_acoshl.c: Likewise.
24396 * math/w_asin.c: Likewise.
24397 * math/w_asinf.c: Likewise.
24398 * math/w_asinl.c: Likewise.
24399 * math/w_atan2.c: Likewise.
24400 * math/w_atan2f.c: Likewise.
24401 * math/w_atan2l.c: Likewise.
24402 * math/w_atanh.c: Likewise.
24403 * math/w_atanhf.c: Likewise.
24404 * math/w_atanhl.c: Likewise.
24405 * math/w_exp10.c: Likewise.
24406 * math/w_exp10f.c: Likewise.
24407 * math/w_exp10l.c: Likewise.
24408 * math/w_fmod.c: Likewise.
24409 * math/w_fmodf.c: Likewise.
24410 * math/w_fmodl.c: Likewise.
24411 * math/w_j0.c: Likewise.
24412 * math/w_j0f.c: Likewise.
24413 * math/w_j0l.c: Likewise.
24414 * math/w_j1.c: Likewise.
24415 * math/w_j1f.c: Likewise.
24416 * math/w_j1l.c: Likewise.
24417 * math/w_jn.c: Likewise.
24418 * math/w_jnf.c: Likewise.
24419 * math/w_log.c: Likewise.
24420 * math/w_logf.c: Likewise.
24421 * math/w_logl.c: Likewise.
24422 * math/w_log10.c: Likewise.
24423 * math/w_log10f.c: Likewise.
24424 * math/w_log10l.c: Likewise.
24425 * math/w_log2.c: Likewise.
24426 * math/w_log2f.c: Likewise.
24427 * math/w_log2l.c: Likewise.
24428 * math/w_pow.c: Likewise.
24429 * math/w_powf.c: Likewise.
24430 * math/w_powl.c: Likewise.
24431 * math/w_remainder.c: Likewise.
24432 * math/w_remainderf.c: Likewise.
24433 * math/w_remainderl.c: Likewise.
24434 * math/w_scalb.c: Likewise.
24435 * math/w_scalbf.c: Likewise.
24436 * math/w_scalbl.c: Likewise.
24437 * math/w_sqrt.c: Likewise.
24438 * math/w_sqrtf.c: Likewise.
24439 * math/w_sqrtl.c: Likewise.
24440 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24441 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24443 * math/math_private.h: Declare __kernel_standard_f.
24444 * math/w_cosh.c: Remove cruft and optimize a bit.
24445 * math/w_coshf.c: Likewise.
24446 * math/w_coshl.c: Likewise.
24447 * math/w_exp2.c: Likewise.
24448 * math/w_exp2f.c: Likewise.
24449 * math/w_exp2l.c: Likewise.
24450 * math/w_hypot.c: Likewise.
24451 * math/w_hypotf.c: Likewise.
24452 * math/w_hypotl.c: Likewise.
24453 * math/w_lgamma.c: Likewise.
24454 * math/w_lgamma_r.c: Likewise.
24455 * math/w_lgammaf.c: Likewise.
24456 * math/w_lgammaf_r.c: Likewise.
24457 * math/w_lgammal.c: Likewise.
24458 * math/w_lgammal_r.c: Likewise.
24459 * math/w_sinh.c: Likewise.
24460 * math/w_sinhf.c: Likewise.
24461 * math/w_sinhl.c: Likewise.
24462 * math/w_tgamma.c: Likewise.
24463 * math/w_tgammaf.c: Likewise.
24464 * math/w_tgammal.c: Likewise.
24465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24467 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24468 Minor optimizations. Pretty printing. Remove cruft.
24469 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24473 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24474 * sysdeps/i386/fpu/e_asin.S: Likewise.
24475 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24476 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24477 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24478 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24482 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24483 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24484 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24485 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24486 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24487 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24488 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24489 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24490 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24491 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24492 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24493 * sysdeps/i386/fpu/e_log.S: Likewise.
24494 * sysdeps/i386/fpu/e_log10.S: Likewise.
24495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24497 * sysdeps/i386/fpu/e_log2.S: Likewise.
24498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24500 * sysdeps/i386/fpu/e_logf.S: Likewise.
24501 * sysdeps/i386/fpu/e_logl.S: Likewise.
24502 * sysdeps/i386/fpu/e_pow.S: Likewise.
24503 * sysdeps/i386/fpu/e_powf.S: Likewise.
24504 * sysdeps/i386/fpu/e_powl.S: Likewise.
24505 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24506 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24507 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24511 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24512 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24513 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24542 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24555 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24599 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24602 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24611 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24612 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24613 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24614 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24615 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24616 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24617 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24618 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24622 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24624 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24625 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24626 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24627 (__isnanf): Likewise.
24628 (__isinf_ns): Likewise.
24629 (__isinf_nsf): Likewise.
24630 (__finite): Likewise.
24631 (__finitef): Likewise.
24632 (__ieee754_sqrt): Define as macro.
24633 (__ieee754_sqrtf): Define as macro.
24634 (__ieee754_sqrtl): Define as macro.
24635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24637 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24638 __FINITE_MATH_ONLY__ consistent.
24639 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24641 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24643 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24648 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24650 * po/ja.po: Update from translation team.
24652 2011-10-08 Roland McGrath <roland@hack.frob.com>
24654 * locale/programs/locarchive.c (prepare_address_space): New function.
24655 (create_archive, enlarge_archive, open_archive): Use it.
24657 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24658 inside [SHARED], where it is used.
24660 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24662 * nss/getent.c (netgroup_keys): Remove unused variable.
24663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24665 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24667 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24673 * math/Makefile (libm-calls): Add s_isinf_ns.
24674 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24675 * math/multc3.c: Likewise.
24676 * math/s_casin.c: Likewise.
24677 * math/s_casinf.c: Likewise.
24678 * math/s_casinl.c: Likewise.
24679 * math/s_ccos.c: Likewise.
24680 * math/s_ccosf.c: Likewise.
24681 * math/s_ccosl.c: Likewise.
24682 * math/s_ctan.c: Likewise.
24683 * math/s_ctanf.c: Likewise.
24684 * math/s_ctanh.c: Likewise.
24685 * math/s_ctanhf.c: Likewise.
24686 * math/s_ctanhl.c: Likewise.
24687 * math/s_ctanl.c: Likewise.
24688 * math/w_fmod.c: Likewise.
24689 * math/w_fmodf.c: Likewise.
24690 * math/w_fmodl.c: Likewise.
24691 * math/w_remainder.c: Likewise.
24692 * math/w_remainderf.c: Likewise.
24693 * math/w_remainderl.c: Likewise.
24694 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24695 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24698 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24699 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24700 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24701 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24703 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24705 * stdio-common/printf_fphex.c: Likewise.
24706 * stdio-common/printf_size.c: Likewise.
24708 * math/e_exp10.c: Include math_private.h using <...> not "...".
24709 * math/e_exp10f.c: Likewise.
24710 * math/e_exp10l.c: Likewise.
24711 * math/e_exp2l.c: Likewise.
24712 * math/e_j0l.c: Likewise.
24713 * math/e_j1l.c: Likewise.
24714 * math/e_jnl.c: Likewise.
24715 * math/e_lgammal_r.c: Likewise.
24716 * math/e_rem_pio2l.c: Likewise.
24717 * math/e_scalb.c: Likewise.
24718 * math/e_scalbf.c: Likewise.
24719 * math/e_scalbl.c: Likewise.
24720 * math/k_cosl.c: Likewise.
24721 * math/k_sinl.c: Likewise.
24722 * math/k_tanl.c: Likewise.
24723 * math/s_cacoshf.c: Likewise.
24724 * math/s_catan.c: Likewise.
24725 * math/s_catanf.c: Likewise.
24726 * math/s_catanh.c: Likewise.
24727 * math/s_catanhf.c: Likewise.
24728 * math/s_catanhl.c: Likewise.
24729 * math/s_catanl.c: Likewise.
24730 * math/s_ccosh.c: Likewise.
24731 * math/s_ccoshf.c: Likewise.
24732 * math/s_ccoshl.c: Likewise.
24733 * math/s_cexp.c: Likewise.
24734 * math/s_cexpf.c: Likewise.
24735 * math/s_cexpl.c: Likewise.
24736 * math/s_clog.c: Likewise.
24737 * math/s_clog10.c: Likewise.
24738 * math/s_clog10f.c: Likewise.
24739 * math/s_clog10l.c: Likewise.
24740 * math/s_clogf.c: Likewise.
24741 * math/s_clogl.c: Likewise.
24742 * math/s_csin.c: Likewise.
24743 * math/s_csinf.c: Likewise.
24744 * math/s_csinh.c: Likewise.
24745 * math/s_csinhf.c: Likewise.
24746 * math/s_csinhl.c: Likewise.
24747 * math/s_csinl.c: Likewise.
24748 * math/s_csqrt.c: Likewise.
24749 * math/s_csqrtf.c: Likewise.
24750 * math/s_csqrtl.c: Likewise.
24751 * math/s_ctan.c: Likewise.
24752 * math/s_ctanf.c: Likewise.
24753 * math/s_ctanh.c: Likewise.
24754 * math/s_ctanhf.c: Likewise.
24755 * math/s_ctanhl.c: Likewise.
24756 * math/s_ctanl.c: Likewise.
24757 * math/s_ldexp.c: Likewise.
24758 * math/s_ldexpf.c: Likewise.
24759 * math/s_ldexpl.c: Likewise.
24760 * math/s_significand.c: Likewise.
24761 * math/s_significandf.c: Likewise.
24762 * math/s_significandl.c: Likewise.
24763 * math/w_acos.c: Likewise.
24764 * math/w_acosf.c: Likewise.
24765 * math/w_acosh.c: Likewise.
24766 * math/w_acoshf.c: Likewise.
24767 * math/w_acoshl.c: Likewise.
24768 * math/w_acosl.c: Likewise.
24769 * math/w_asin.c: Likewise.
24770 * math/w_asinf.c: Likewise.
24771 * math/w_asinl.c: Likewise.
24772 * math/w_atan2.c: Likewise.
24773 * math/w_atan2f.c: Likewise.
24774 * math/w_atan2l.c: Likewise.
24775 * math/w_atanh.c: Likewise.
24776 * math/w_atanhf.c: Likewise.
24777 * math/w_atanhl.c: Likewise.
24778 * math/w_cosh.c: Likewise.
24779 * math/w_coshf.c: Likewise.
24780 * math/w_coshl.c: Likewise.
24781 * math/w_dremf.c: Likewise.
24782 * math/w_exp10.c: Likewise.
24783 * math/w_exp10f.c: Likewise.
24784 * math/w_exp10l.c: Likewise.
24785 * math/w_exp2.c: Likewise.
24786 * math/w_exp2f.c: Likewise.
24787 * math/w_fmod.c: Likewise.
24788 * math/w_fmodf.c: Likewise.
24789 * math/w_fmodl.c: Likewise.
24790 * math/w_hypot.c: Likewise.
24791 * math/w_hypotf.c: Likewise.
24792 * math/w_hypotl.c: Likewise.
24793 * math/w_j0.c: Likewise.
24794 * math/w_j0f.c: Likewise.
24795 * math/w_j0l.c: Likewise.
24796 * math/w_j1.c: Likewise.
24797 * math/w_j1f.c: Likewise.
24798 * math/w_j1l.c: Likewise.
24799 * math/w_jn.c: Likewise.
24800 * math/w_jnf.c: Likewise.
24801 * math/w_jnl.c: Likewise.
24802 * math/w_lgamma.c: Likewise.
24803 * math/w_lgamma_r.c: Likewise.
24804 * math/w_lgammaf.c: Likewise.
24805 * math/w_lgammaf_r.c: Likewise.
24806 * math/w_lgammal.c: Likewise.
24807 * math/w_lgammal_r.c: Likewise.
24808 * math/w_log.c: Likewise.
24809 * math/w_log10.c: Likewise.
24810 * math/w_log10f.c: Likewise.
24811 * math/w_log10l.c: Likewise.
24812 * math/w_log2.c: Likewise.
24813 * math/w_log2f.c: Likewise.
24814 * math/w_log2l.c: Likewise.
24815 * math/w_logf.c: Likewise.
24816 * math/w_logl.c: Likewise.
24817 * math/w_pow.c: Likewise.
24818 * math/w_powf.c: Likewise.
24819 * math/w_powl.c: Likewise.
24820 * math/w_remainder.c: Likewise.
24821 * math/w_remainderf.c: Likewise.
24822 * math/w_remainderl.c: Likewise.
24823 * math/w_scalb.c: Likewise.
24824 * math/w_scalbf.c: Likewise.
24825 * math/w_scalbl.c: Likewise.
24826 * math/w_sinh.c: Likewise.
24827 * math/w_sinhf.c: Likewise.
24828 * math/w_sinhl.c: Likewise.
24829 * math/w_sqrt.c: Likewise.
24830 * math/w_sqrtf.c: Likewise.
24831 * math/w_sqrtl.c: Likewise.
24832 * math/w_tgamma.c: Likewise.
24833 * math/w_tgammaf.c: Likewise.
24834 * math/w_tgammal.c: Likewise.
24836 * po/ja.po: Update from translation team.
24838 2011-09-29 Andreas Jaeger <aj@suse.de>
24841 * sunrpc/netname.c (netname2host): Fix logic.
24845 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24847 * math/w_remainder.c (__remainder): Likewise.
24848 * math/w_remainderf.c (__remainderf): Likewise.
24849 * math/libm-test.inc (remainder_test): Add test cases.
24851 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24853 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24856 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24858 * string/test-memcmp.c: Avoid unncessary #defines.
24859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24861 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24863 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24864 Use new sse2 version for core i3 - i7 as it's faster
24865 than sse42 version.
24866 (bit_Prefer_PMINUB_for_stringop): New.
24867 * sysdeps/x86_64/rawmemchr.S: Update.
24868 Replace with faster SSE2 version.
24869 * sysdeps/x86_64/memrchr.S: New file.
24870 * sysdeps/x86_64/memchr.S: Update.
24871 Replace with faster SSE2 version.
24873 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24875 * elf/dl-load.c (lose): Add cast to avoid warning.
24877 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24879 * po/ca.po: Update from translation team.
24881 * inet/getnetgrent_r.c: Hook up nscd.
24882 * nscd/Makefile (routines): Add nscd_netgroup.
24883 (nscd-modules): Add netgroupcache.
24884 (CFLAGS-netgroupcache.c): Define.
24885 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24886 (cache_search): Add const to second parameter.
24887 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24889 (dbs): Add netgrdb entry.
24890 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24891 (verify_persistent_db): Handle netgrdb.
24892 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24893 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24895 (netgroup_response_header): Define.
24896 (innetgroup_response_header): Define.
24897 (datahead): Add netgroup_response_header and innetgroup_response_header
24899 * nscd/nscd.conf: Add entries for netgroup cache.
24900 * nscd/nscd.h (dbtype): Add netgrdb.
24901 (_PATH_NSCD_NETGROUP_DB): Define.
24902 (netgroup_iov_disabled): Declare.
24903 (xmalloc, xcalloc, xrealloc): Move declarations here.
24904 (cache_search): Adjust prototype.
24905 Add netgroup-related prototypes.
24906 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24907 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24908 (__nscd_innetgr): Declare.
24909 * nscd/selinux.c (perms): Use access_vector_t as element type and
24910 add netgroup-related initializers.
24911 * nscd/netgroupcache.c: New file.
24912 * nscd/nscd_netgroup.c: New file.
24913 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24914 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24915 For four parameters use innetgr.
24916 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24917 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24918 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24919 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24921 * nscd/connections.c (register_traced_file): Don't register file
24922 for disabled databases.
24924 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24926 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24928 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24929 from tree and freeing node.
24931 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24933 * nss/nsswitch.c (__nss_database_lookup): Handle
24934 nss_parse_service_list out of memory case.
24936 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24938 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24939 out of memory case.
24941 2011-10-04 Andreas Schwab <schwab@redhat.com>
24943 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24944 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24946 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24947 elf_machine_rela, elf_machine_lazy_rel.
24948 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24949 (ELF_DYNAMIC_DO_REL): Likewise.
24950 (ELF_DYNAMIC_DO_RELA): Likewise.
24951 (ELF_DYNAMIC_RELOCATE): Likewise.
24952 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24953 to ELF_DYNAMIC_DO_REL.
24954 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24955 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24956 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24959 skip_ifunc, don't call ifunc function if non-zero.
24960 (elf_machine_rela): Likewise.
24961 (elf_machine_lazy_rel): Likewise.
24962 (elf_machine_lazy_rela): Likewise.
24963 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24964 (elf_machine_lazy_rel): Likewise.
24965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24967 (elf_machine_lazy_rel): Likewise.
24968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24970 (elf_machine_lazy_rel): Likewise.
24971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24972 (elf_machine_lazy_rel): Likewise.
24973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24974 (elf_machine_lazy_rel): Likewise.
24975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24976 (elf_machine_lazy_rel): Likewise.
24977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24978 (elf_machine_lazy_rel): Likewise.
24979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24980 (elf_machine_lazy_rel): Likewise.
24981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24982 (elf_machine_lazy_rel): Likewise.
24984 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24986 * nss/nss_files/files-init.c (_nss_files_init): Use static
24987 initialization for all the *_traced_file variables.
24989 2011-09-28 Andreas Schwab <schwab@redhat.com>
24991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24993 2011-09-27 Roland McGrath <roland@hack.frob.com>
24996 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24998 2011-09-27 Andreas Schwab <schwab@redhat.com>
25000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25001 Reread the line before reparsing it.
25003 2011-09-26 Andreas Schwab <schwab@redhat.com>
25005 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25007 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25008 Maxim Kuvyrkov <maxim@codesourcery.com>
25009 Joseph Myers <joseph@codesourcery.com>
25011 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25012 if needed for __stack_chk_guard.
25014 2011-09-19 Roland McGrath <roland@hack.frob.com>
25016 * sysdeps/posix/spawni.c (script_execute): Always define it.
25017 It will be optimized away if unused.
25018 (maybe_script_execute): New function.
25019 (__spawni): Call it.
25021 * Makerules: Don't include tls.make.
25022 (config-tls): Always set to thread.
25023 * tls.make.c: File removed.
25025 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25027 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25028 * config.make.in (CPPFLAGS-config): New substituted variable.
25030 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25035 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25036 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25038 2011-09-15 Roland McGrath <roland@hack.frob.com>
25040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25041 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25043 (CALL_FAIL): Likewise.
25044 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25045 (CALL_FAIL): Macro removed.
25046 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25050 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25051 for __FINITE_MATH_ONLY__ == 1.
25053 2011-09-15 Andreas Schwab <schwab@redhat.com>
25055 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25056 __ieee754_sqrt instead of sqrt.
25057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25058 __ieee754_sqrtf instead of sqrtf.
25059 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25060 __floorf instead of floorf.
25061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25062 __floorf, __truncf instead of floorf, truncf.
25064 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25066 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25068 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25069 __extern_always_inline.
25070 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25073 2011-09-14 Andreas Schwab <schwab@redhat.com>
25075 * elf/rtld.c (dl_main): Also relocate in dependency order when
25076 doing symbol dependency testing.
25078 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25081 Always define `refsym'.
25083 2011-09-13 Andreas Schwab <schwab@redhat.com>
25085 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25086 (__FD_ELT): Renamed from __FDELT.
25087 * misc/bits/select2.h (__FD_ELT): Likewise.
25088 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25089 __FD_MASK instead of __FDELT, __FDMASK.
25090 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25092 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25095 * elf/Makefile (gen-ldd): Fix pattern.
25097 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25098 (init_tls): Likewise.
25100 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25104 2011-09-12 Andreas Schwab <schwab@redhat.com>
25106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25107 `struct cmsghdr *' instead of `void *'.
25108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25111 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25113 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25115 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25116 ldd_rewrite_script.
25118 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25120 * configure.in: Remove --with-tls option.
25121 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25122 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25123 out in case it is missing.
25124 * sysdeps/ia64/elf/configure.in: Likewise.
25125 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25126 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25127 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25128 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25129 * sysdeps/sh/elf/configure.in: Likewise.
25130 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25131 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25132 * sysdeps/x86_64/elf/configure.in: Likewise.
25133 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25134 * sysdeps/mach/hurd/tls.h: Likewise.
25137 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25140 * configure.in: Fix use of AC_INIT.
25142 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25144 2011-09-10 Ulrich Drepper <drepper@gmail.com>
25146 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25148 * malloc/hooks.c: Likewise.
25151 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25152 variables statically.
25153 (narenas): Initialize.
25154 (list_lock): Initialize.
25155 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25156 initializtion of main_arena and list_lock. Small cleanups.
25157 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25158 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25159 Add initializers to main_arena and mp_.
25160 (malloc_state): Remove pagesize member. Change all users to use
25163 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25164 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25165 is always initialized.
25167 * malloc/malloc.c: Removed unused configurations and dead code.
25168 * malloc/arena.c: Likewise.
25169 * malloc/hooks.c: Likewise.
25170 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25172 * include/tls.h: Removed. USE___THREAD must always be defined.
25173 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25174 * elf/dl-libc.c: Likewise.
25175 * elf/dl-tsd.c: Likewise.
25176 * include/errno.h: Likewise.
25177 * include/netdb.h: Likewise.
25178 * include/resolv.h: Likewise.
25179 * inet/herrno-loc.c: Likewise.
25180 * inet/herrno.c: Likewise.
25181 * malloc/arena.c: Likewise.
25182 * malloc/hooks.c: Likewise.
25183 * malloc/malloc.c: Likewise.
25184 * resolv/res-state.c: Likewise.
25185 * resolv/res_libc.c: Likewise.
25186 * sysdeps/i386/dl-machine.h: Likewise.
25187 * sysdeps/ia64/dl-machine.h: Likewise.
25188 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25189 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25191 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25192 * sysdeps/sh/dl-machine.h: Likewise.
25193 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25195 * sysdeps/unix/i386/sysdep.S: Likewise.
25196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25197 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25202 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25207 * sysdeps/x86_64/dl-machine.h: Likewise.
25208 * tls.make.c: Likewise.
25210 * configure.in: Remove --with-__thread option. Make tests for
25211 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25212 tls_model attribute fail if no support is available. Remove
25214 * Makeconfig: Adjust for dropped configure option. All features are
25216 * Makerules: Likewise.
25217 * Versions.def: Likewise.
25218 * argp/argp-fmtstream.c: Likewise.
25219 * argp/argp-fmtstream.h: Likewise.
25220 * argp/argp-help.c: Likewise.
25221 * assert/assert.c: Likewise.
25222 * config.h.in: Likewise.
25223 * config.make.in: Likewise.
25224 * configure: Likewise.
25225 * configure.in: Likewise.
25226 * csu/Versions: Likewise.
25227 * csu/init.c: Likewise.
25228 * elf/tst-audit2.c: Likewise.
25229 * elf/tst-tls10.c: Likewise.
25230 * elf/tst-tls10.h: Likewise.
25231 * elf/tst-tls11.c: Likewise.
25232 * elf/tst-tls12.c: Likewise.
25233 * elf/tst-tls14.c: Likewise.
25234 * elf/tst-tlsmod11.c: Likewise.
25235 * elf/tst-tlsmod12.c: Likewise.
25236 * elf/tst-tlsmod13.c: Likewise.
25237 * elf/tst-tlsmod13a.c: Likewise.
25238 * elf/tst-tlsmod14a.c: Likewise.
25239 * elf/tst-tlsmod15b.c: Likewise.
25240 * elf/tst-tlsmod16a.c: Likewise.
25241 * elf/tst-tlsmod16b.c: Likewise.
25242 * elf/tst-tlsmod7.c: Likewise.
25243 * elf/tst-tlsmod8.c: Likewise.
25244 * elf/tst-tlsmod9.c: Likewise.
25245 * gmon/gmon.c: Likewise.
25246 * grp/fgetgrent_r.c: Likewise.
25247 * grp/putgrent.c: Likewise.
25248 * hurd/fopenport.c: Likewise.
25249 * include/libc-symbols.h: Likewise.
25250 * include/tls.h: Likewise.
25251 * intl/gettextP.h: Likewise.
25252 * intl/loadinfo.h: Likewise.
25253 * locale/global-locale.c: Likewise.
25254 * locale/localeinfo.h: Likewise.
25255 * mach/devstream.c: Likewise.
25256 * malloc/arena.c: Likewise.
25257 * malloc/set-freeres.c: Likewise.
25258 * misc/err.c: Likewise.
25259 * misc/getttyent.c: Likewise.
25260 * misc/mntent_r.c: Likewise.
25261 * posix/getopt.c: Likewise.
25262 * posix/wordexp.c: Likewise.
25263 * pwd/fgetpwent_r.c: Likewise.
25264 * resolv/Versions: Likewise.
25265 * resolv/res_hconf.c: Likewise.
25266 * shadow/fgetspent_r.c: Likewise.
25267 * shadow/putspent.c: Likewise.
25268 * stdio-common/printf_fphex.c: Likewise.
25269 * stdio-common/tmpfile.c: Likewise.
25270 * stdlib/abort.c: Likewise.
25271 * stdlib/fmtmsg.c: Likewise.
25272 * sunrpc/auth_unix.c: Likewise.
25273 * sunrpc/clnt_perr.c: Likewise.
25274 * sunrpc/clnt_tcp.c: Likewise.
25275 * sunrpc/clnt_udp.c: Likewise.
25276 * sunrpc/clnt_unix.c: Likewise.
25277 * sunrpc/openchild.c: Likewise.
25278 * sunrpc/svc_simple.c: Likewise.
25279 * sunrpc/svc_tcp.c: Likewise.
25280 * sunrpc/svc_udp.c: Likewise.
25281 * sunrpc/svc_unix.c: Likewise.
25282 * sunrpc/xdr.c: Likewise.
25283 * sunrpc/xdr_array.c: Likewise.
25284 * sunrpc/xdr_rec.c: Likewise.
25285 * sunrpc/xdr_ref.c: Likewise.
25286 * sunrpc/xdr_stdio.c: Likewise.
25288 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25290 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25292 2011-07-03 Andreas Jaeger <aj@suse.de>
25294 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25295 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25296 regenerate with gen-libm-tests.pl.
25298 2010-05-12 Petr Baudis <pasky@suse.cz>
25301 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25302 around j0() zero points by switching to j1().
25303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25308 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
25314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25315 Patch in part by Pavel Roskin <proski@gnu.org>.
25318 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25320 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25321 Free memory block if necessary.
25324 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25325 be NULL. Don't lock in this case.
25327 2011-09-09 Roland McGrath <roland@hack.frob.com>
25329 * elf/elf.h (ELFOSABI_GNU): New macro.
25330 (ELFOSABI_LINUX): Define to that.
25332 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25334 * string/strncat.c (strncat): Undef the symbol in case it has been
25335 defined in bits/string.h.
25337 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25339 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
25344 2011-08-17 Andreas Jaeger <aj@suse.de>
25346 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25348 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25349 Ian Lance Taylor <iant@google.com>
25351 * math/libm-test.inc (lround_test): New testcase.
25352 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25354 2011-09-08 Ulrich Drepper <drepper@gmail.com>
25356 * Makefile: Remove support for automatic cvs check-ins.
25357 * Makerules: Likewise.
25358 * config.make.in: Likewise.
25359 * configure.in: Likewise.
25360 * intl/Makefile: Likewise.
25361 * locale/Makefile: Likewise.
25362 * po/Makefile: Likewise.
25363 * posix/Makefile: Likewise.
25364 * sysdeps/gnu/Makefile: Likewise.
25365 * sysdeps/mach/hurd/Makefile: Likewise.
25366 * sysdeps/sparc/sparc32/Makefile: Likewise.
25369 * posix/Makefile (bug-regex32-ENV): Define.
25370 Patch by John Stanley <jpsinthemix@verizon.net>.
25372 * misc/Makefile (headers): Add bits/select2.h.
25373 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25374 * misc/bits/select2.h: New file.
25375 * include/bits/select2.h: New file.
25376 * debug/Makefile (routines): Add fdelt_chk.
25377 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25378 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25380 * debug/fdelt_chk.c: New file.
25382 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25383 * wcsmbs/test-wmemcmp.c: Likewise.
25384 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25385 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25387 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25389 * string/Makefile (strop-tests): Add memcmp.
25390 * string/test-wmemcmp.c: New file.
25391 * string/test-memcmp.c: Add wmemcmp support.
25393 2011-09-08 Roland McGrath <roland@hack.frob.com>
25396 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25399 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25400 garbage value in a __mach_port_mod_refs call in the cases of the
25401 task-self and thread-self ports.
25403 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25405 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25407 2011-09-08 Andreas Schwab <schwab@redhat.com>
25409 * elf/dl-load.c (lose): Check for non-null L.
25411 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25413 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25415 * elf/dl-libc.c (dlerror_run): Pass back error code from
25419 * elf/dl-load.c (lose): Free l_origin if it is valid.
25421 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25423 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25428 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25430 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25432 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25433 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25434 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25435 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25436 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25437 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25438 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25439 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25440 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25441 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25443 2011-08-15 Alan Modra <amodra@gmail.com>
25446 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25447 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25448 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25449 ppc_mcount to static-only-routines.
25450 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25452 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25453 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25455 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25458 for finite and infinity parameters.
25460 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25463 and add nop instructions for throughput optimization.
25464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25466 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25469 aligned copy for power7 with vector-scalar instructions.
25470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25472 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25477 2011-09-07 Andreas Schwab <schwab@redhat.com>
25480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25483 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25486 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25487 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25491 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25493 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25494 Forgot to demangle the pointer.
25496 * sysdeps/i386/sysdep.h: Define atom_text_section.
25497 * sysdeps/x86_64/sysdep.h: Likewise.
25498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25499 section with atom_text_section.
25500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25508 already be defined. Change to take two parameters and don't assign
25509 result to variable. Adjust all users.
25510 Define INTERNAL_GETTIME if not already defined.
25511 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25514 HAVE_CLOCK_GETTIME_VSYSCALL.
25515 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25518 gettimeofday vsyscall, just use time.
25520 2011-09-06 Andreas Schwab <schwab@redhat.com>
25522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25525 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25527 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25531 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25533 syscall if possible.
25535 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25537 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25538 e_ident. Don't pass to find_mapsXX.
25539 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25541 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25544 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25545 * sysdeps/x86_64/multiarch/strchr.S: Update.
25546 Check bit_slow_BSF bit.
25547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25551 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25554 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25556 (tryshell): Define.
25557 (__spawni): Change last parameter to be flag. Test
25558 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25559 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25560 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25561 * posix/spawni.c: Likewise.
25562 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25563 * posix/spawnp.c: Likewise. Change normal version to use
25564 SPAWN_XFLAGS_USE_PATH.
25565 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25566 SPAWN_XFLAGS_TRY_SHELL.
25569 * posix/glob.h: Remove gcc 1.x support.
25572 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25574 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25577 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25579 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25580 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25586 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25588 * sysdeps/x86_64/wcscmp.S: New file.
25590 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25591 wcscmp-c wcscmp-sse2
25592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25593 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25595 * wcsmbs/wcscmp.c: Allow renaming.
25597 2011-09-05 David S. Miller <davem@davemloft.net>
25599 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25600 stack slot, rather than the struct return pointer slot.
25601 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25606 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25608 * po/ja.po: Update from translation team.
25611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25612 kernel in 64-bit binaries.
25614 2011-09-01 David S. Miller <davem@davemloft.net>
25616 * elf/elf.h (HWCAP_SPARC_*): Move to..
25617 * sysdeps/sparc/sysdep.h: this new file and add new values.
25618 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25619 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25620 _DL_HWCAP_COUNT to 24.
25621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25623 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25624 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25625 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25627 instead of magic constants.
25628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25630 2011-08-31 David S. Miller <davem@davemloft.net>
25632 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25634 Reimplement to do errno handling inline.
25635 (SYSCALL_ERROR_HANDLER): New macro.
25636 (__SYSCALL_STRING): Do not do errno handling in asm.
25637 (__CLONE_SYSCALL_STRING): Delete.
25638 (__INTERNAL_SYSCALL_STRING): Delete.
25639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25640 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25641 (PSEUDO): Reimplement to do errno handling inline.
25642 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25643 (SYSCALL_ERROR_HANDLER): New macro.
25644 (__SYSCALL_STRING): Do not do errno handling in asm.
25645 (__CLONE_SYSCALL_STRING): Delete.
25646 (__INTERNAL_SYSCALL_STRING): Delete.
25647 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25648 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25650 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25651 (inline_syscall*): Add 'err' argument.
25652 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25653 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25654 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25655 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25657 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25660 2011-08-30 Andreas Schwab <schwab@redhat.com>
25662 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25664 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25666 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25669 2011-08-24 David S. Miller <davem@davemloft.net>
25671 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25673 2011-08-24 Andreas Schwab <schwab@redhat.com>
25675 * elf/Makefile: Add rules to build and run unload8 test.
25676 * elf/unload8.c: New file.
25677 * elf/unload8mod1.c: New file.
25678 * elf/unload8mod1x.c: New file.
25679 * elf/unload8mod2.c: New file.
25680 * elf/unload8mod3.c: New file.
25682 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25685 2011-08-23 David S. Miller <davem@davemloft.net>
25687 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25688 subtract stack bias.
25689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25690 %sp not %fp in calculations.
25691 (_JMPBUF_UNWINDS_ADJ): Likewise.
25693 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25694 (aio_suspend): Call it to force an exception region around the
25695 AIO_MISC_WAIT() invocation.
25697 2011-08-23 Andreas Schwab <schwab@redhat.com>
25699 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25702 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25704 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25706 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25707 and <dl-machine.h>.
25708 (Elf64_FuncDesc): Remove.
25710 2011-08-22 David S. Miller <davem@davemloft.net>
25712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25713 sigaltstack check, add missing cfi directives.
25714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25715 missing cfi directives, and sigaltstack handling.
25717 2011-08-16 Andreas Schwab <schwab@redhat.com>
25720 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25721 object is seen twice.
25722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25724 * elf/Makefile (distribute): Add tst-initorder2.c.
25725 (tests): Add tst-initorder2.
25726 (modules-names): Add tst-initorder2a tst-initorder2b
25727 tst-initorder2c tst-initorder2d. Add rules to build them.
25728 ($(objpfx)tst-initorder2.out): New rule.
25729 * elf/tst-initorder2.c: New file.
25730 * elf/tst-initorder2.exp: New file.
25732 2011-08-22 Andreas Schwab <schwab@redhat.com>
25734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25736 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25737 dependencies back to end of function.
25739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25740 $(elfobjdir)/ld.so.
25742 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25745 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25747 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25748 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25749 of __vdso_gettimeofday.
25750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25751 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25753 (_libc_vdso_platform_setup): Remove initialization of
25754 __vdso_gettimeofday and __vdso_time.
25756 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25758 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25759 and fgetc_unlocked.
25760 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25763 * elf/dl-open.c (add_to_global): Report additions to the global scope
25764 for LD_DEBUG=scopes.
25765 (dl_open_worker): Also print scope of newly loaded dependencies.
25766 (_dl_show_scope): Indicate if there is no scope.
25769 * stdio-common/Makefile (tests): Add bug24.
25770 * stdio-common/bug24.c: New file.
25772 2011-08-19 Andreas Jaeger <aj@suse.de>
25775 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25776 non-existant file when using close-on-exec mode.
25778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25781 the very first instruction.
25783 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25784 the CFI state in the end.
25785 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25786 inclusion of dl-trampoline.h.
25787 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25789 2011-08-19 Andreas Schwab <schwab@redhat.com>
25791 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25792 expectations for long double.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25795 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25797 2011-08-14 David S. Miller <davem@davemloft.net>
25799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25800 artificual limit depends upon the system page size.
25802 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25804 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25805 * resolv/Makefile: Define CFLAGS-libresolv.
25807 2011-08-17 Andreas Schwab <schwab@redhat.com>
25809 * nss/makedb.c (compute_tables): Make variables used in nested
25812 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25814 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25815 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25816 if buffer was too small.
25818 * elf/pldd.c (main): Attach to all threads in the process.
25819 Rewrite /proc handling to use *at functions.
25821 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25823 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25824 specifies first scope to show.
25825 (dl_open_worker): Update callers. Move printing scope of new
25826 object to before the relocation.
25827 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25828 * sysdeps/generic/ldsodefs.h: Update declaration.
25830 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25831 string for the scope number.
25833 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25835 * nscd/servicescache.c (cache_addserv): Make sure written is always
25838 2011-08-14 Roland McGrath <roland@hack.frob.com>
25840 * sysdeps/i386/i486/bits/atomic.h
25841 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25842 statement expression, so as to suppress "set but not used" warning.
25843 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25845 * string/strncat.c (STRNCAT): Use prototype definition.
25847 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25848 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25850 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25851 (localedef-modules): Add localedef.
25852 (locale-modules): Add locale.
25854 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25855 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25856 to avoid a warning.
25858 2011-08-14 David S. Miller <davem@davemloft.net>
25860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25861 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25863 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25865 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25866 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25867 * elf/rtld.c (dl_main): Set l_name of vDSO.
25868 Call _dl_show_scope when DL_DEBUG_SCOPES.
25869 (process_dl_debug): Recognize scopes flag and also set it for all.
25870 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25871 Declare _dl_show_scope.
25873 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25874 (do_dlopen): Pass caller_dlopen to dl_open.
25875 (__libc_dlopen_mode): Initialize caller_dlopen.
25877 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25878 of libc. Make tolower call locale-independent. Optimize a bit by
25879 using isdigit instead of isalnum.
25880 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25882 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25884 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25885 was a dependency or dynamically loaded.
25887 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25889 * intl/l10nflist.c: Allow architecture-specific pop function.
25890 * sysdeps/x86_64/l10nflist.c: New file.
25892 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25895 2011-08-10 Andreas Schwab <schwab@redhat.com>
25897 * include/dirent.h: Add libc_hidden_proto for scandirat and
25898 scandirat64. Don't declare __scandirat64.
25899 * dirent/scandirat.c: Add libc_hidden_def.
25900 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25901 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25903 2011-08-10 David S. Miller <davem@davemloft.net>
25905 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25911 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25913 * Versions.def [libc]: Add GLIBC_2.15.
25914 * dirent/Makefile (routines): Add scandirat and scandirat64.
25915 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25917 * dirent/dirent.h: Declare scandirat and scandirat64.
25918 * dirent/scandirat.c: New file.
25919 * dirent/scandirat64.c: New file.
25920 * sysdeps/wordsize-64/scandirat.c: New file.
25921 * sysdeps/wordsize-64/scandirat64.c: New file.
25922 * dirent/opendir.c: Define opendirat.
25923 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25925 * dirent/scandir64.c: Adjust for scandir.c change.
25926 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25927 __scandirat64, and __scandir_cancel_handler.
25928 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25929 additional parameter and use openat instead of open (outside of ld.so).
25930 Add new __opendir as wrapper around __opendirat.
25931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25932 here without requiring old scandirat implementation.
25934 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25936 * dirent/scandir.c (cancel_handler): Renamed to
25937 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25938 defined. Adjust users.
25939 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25942 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25944 * string/test-string.h (IMPL): Use __STRING to expand name and then
25947 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25950 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25952 * string/Makefile: Update.
25953 (strop-tests): Append strncat.
25954 * string/test-wcscmp.c: New file.
25955 New comprehensive test for wcscmp.
25956 * string/test-strcmp.c: Update.
25957 (WIDE): New define.
25959 2011-07-22 Andreas Schwab <schwab@redhat.com>
25961 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25964 2011-07-26 Andreas Schwab <schwab@redhat.com>
25966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25967 encoding to ACE if AI_IDN.
25969 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25972 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25974 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25977 Fix overflow bug in strncat.
25978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25980 * string/test-strncat.c: Update.
25981 Add new tests for checking overflow bugs.
25983 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25986 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25987 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25988 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25990 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25991 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25992 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25993 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25996 (USE_AS_STRCAT): Define.
25997 Add strcat and strncat support.
25998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26000 2011-07-25 Andreas Schwab <schwab@redhat.com>
26002 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26003 __n bigger than INT_MAX+1.
26004 (__strncmp_g): Likewise.
26006 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26008 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26009 * libio/stido.h: Likewise.
26011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26016 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26023 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26028 (_dl_x86_64_save_sse): Likewise.
26030 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26034 (_dl_x86_64_save_sse): Likewise.
26036 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26038 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26040 2011-07-21 Andreas Schwab <schwab@redhat.com>
26042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26044 (_dl_x86_64_save_sse): Use correct AVX check.
26046 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26049 bug in strncpy/strncat.
26050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26052 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26054 * string/tester.c (test_strcat): Add tests for different alignments
26055 of source and destination.
26056 (test_strncat): Likewise.
26058 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26061 * posix/glob.c (glob): Check passed in values before using them in
26062 expressions to avoid some overflows.
26063 (glob_in_dir): Likewise.
26066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26067 check for AVX enablement so that we don't crash with old kernels and
26069 * elf/tst-audit4.c: Add same checks here.
26070 * elf/tst-audit6.c: Likewise.
26072 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26074 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26076 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26078 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26080 * po/cs.po: Update from translation team.
26081 * po/bg.po: Likewise.
26083 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26085 * misc/sys/cdefs.h: Add support for const attribute.
26086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26087 to gnu_dev_{major,minor,makedev} functions.
26089 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26091 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26093 2011-07-20 Andreas Schwab <schwab@redhat.com>
26095 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26098 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26101 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26102 register in order to avoid conflicts with the soft frame pointer
26103 being held in r11 when necessary.
26104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26105 (INTERNAL_VSYSCALL_NCS): Likewise.
26107 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26109 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26110 * elf/dl-fini.c (_dl_fini): Adjust caller.
26111 * elf/dl-close.c (_dl_close_worker): Likewise.
26112 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26114 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26116 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26117 "aux_cache->nlibs < 0".
26119 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26120 in the reload-count case.
26122 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26125 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26126 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26128 * sysdeps/x86_64/multiarch/strcat.S: New file.
26129 * sysdeps/x86_64/multiarch/strncat.S: New file.
26130 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26132 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26133 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26135 (USE_AS_STRCAT): Define.
26136 Add strcat and strncat support.
26137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26140 * string/strncat.c: Update.
26141 (USE_AS_STRNCAT): Define.
26142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26143 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26145 * sysdeps/x86_64/multiarch/init-arch.h
26146 (bit_Prefer_PMINUB_for_stringop): New.
26147 (index_Prefer_PMINUB_for_stringop): Likewise.
26148 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26149 bit_Prefer_PMINUB_for_stringop.
26151 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26153 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26155 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26156 of casting of buffer.
26157 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26158 buffer32 and buffer64.
26159 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26160 writes instead of casting of buffer.
26161 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26163 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26166 2011-07-19 Andreas Schwab <schwab@redhat.com>
26168 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26170 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26172 * nscd/nscd.c (termination_handler): Don't do anything for a database
26173 if it has not yet been initialized.
26175 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26177 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26179 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26181 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26183 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26185 * po/nl.po: Update from translation team.
26186 * po/sv.po: Likewise.
26188 2011-07-16 Roland McGrath <roland@hack.frob.com>
26190 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26191 now disallowed by GCC.
26193 * configure.in (use-default-link): Default to yes if a test -shared
26194 link meets our qualifications.
26195 * configure: Regenerated.
26197 * config.make.in (output-format): New variable.
26198 * configure.in: Check for ld --print-output-format support.
26199 * configure: Regenerated.
26200 * Makerules ($(common-objpfx)format.lds)
26201 [$(output-format) != unknown]: Just use $(output-format),
26202 instead of the linker-script munging.
26204 2011-07-14 Roland McGrath <roland@hack.frob.com>
26206 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26207 of $(common-objpfx)shlib.lds.
26208 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26210 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26211 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26213 * configure.in (-z relro check): Adjust test code to add a large
26214 writable data section after it.
26215 * configure: Regenerated.
26217 2011-07-11 Roland McGrath <roland@hack.frob.com>
26219 * configure.in (-z relro check): Fix test code to make the variable
26221 * configure: Regenerated.
26223 2011-07-11 Ulrich Drepper <drepper@gmail.com>
26225 * nscd/nscd.h (struct traced_file): Define.
26226 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26227 elements. Add traced_files.
26228 (inotify_fd): Declare.
26229 (register_traced_file): Declare.
26230 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26231 (inotify_fd): Export.
26232 (resolv_conf_descr): Remove.
26233 (nscd_init): Move inotify descriptor creation to main.
26234 Don't register files for notification here.
26235 (register_traced_file): New function.
26236 (invalidate_cache): Don't use reset_res to determine whether to call
26237 res_init, go through the list of registered files.
26238 (main_loop_poll): The inotify descriptors are now stored in the
26239 structures for the traced files.
26240 (main_loop_epoll): Likewise
26241 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26242 to __nss_disable_nscd.
26243 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26244 for a database anymore. Check the records for all the registered
26246 * nss/Makefile (libnss_files-routines): Add files-init.
26247 (libnss_db-routines): Add db-init.
26248 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26249 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26250 * nss/nss_db/db-init.c: New file.
26251 * nss/nss_files/files-init.c: New file.
26252 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26253 __nss_lookup_function.
26254 (__nss_lookup_function): Call nss_load_library.
26255 (nss_load_all_libraries): New function.
26256 (__nss_disable_nscd): Take parameter with callback function for files
26257 to register. Set is_nscd. Load all the DSOs for the NSS modules
26258 used for the cached services.
26259 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26261 options for features to all the files in nscd.
26263 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26265 2011-07-10 Roland McGrath <roland@hack.frob.com>
26267 * csu/elf-init.c (__libc_csu_init): Comment typo.
26269 2011-07-09 Ulrich Drepper <drepper@gmail.com>
26271 * po/pl.po: Update from translation team.
26272 * po/ja.po: Likewise.
26273 * po/ru.po: Likewise.
26274 * po/ko.po: Likewise.
26275 * po/fr.po: Likewise.
26277 2011-07-09 Roland McGrath <roland@hack.frob.com>
26279 * configure.in (.ctors/.dtors header and trailer check):
26280 Use an empirical test on a built program.
26281 * configure: Regenerated.
26283 * configure.in (-z relro check): Use an empirical test on a built DSO.
26284 Detect, but do not require, on ia64.
26285 * configure: Regenerated.
26287 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26288 Update tests that use readelf to use $READELF instead.
26289 * configure: Regenerated.
26291 2011-07-08 Ulrich Drepper <drepper@gmail.com>
26293 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26294 if the result is not used.
26296 2011-07-05 Andreas Jaeger <aj@suse.de>
26299 * stdlib/tst-strtod.c: Add testcase.
26301 2011-07-07 Ulrich Drepper <drepper@gmail.com>
26303 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
26304 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
26305 The latter has a higher limit. Take additional parameter to pass to
26307 (__pathconf): Pass file to __statfs_link_max.
26308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26310 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26314 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26318 (__statfs_filesize_max): Likewise.
26319 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26321 2011-07-05 Andreas Jaeger <aj@suse.de>
26323 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26325 2011-07-06 Marek Polacek <mpolacek@redhat.com>
26327 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26329 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26332 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26334 * Makefile (strop-tests): Add strncat.
26335 * string/test-strncat.c: New file.
26337 2011-06-30 Marek Polacek <mpolacek@redhat.com>
26339 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26341 2011-06-21 Andreas Jaeger <aj@suse.de>
26343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26344 Copy rule from iconvdata/Makefile.
26346 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26349 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26350 but no long options are defined, just return 'W'.
26352 2011-06-22 Marek Polacek <mpolacek@redhat.com>
26355 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26357 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26359 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26361 (innetgr): Likewise.
26363 2011-07-05 Roland McGrath <roland@hack.frob.com>
26365 * config.make.in (install_root): Default to $(DESTDIR).
26367 2011-07-05 Ulrich Drepper <drepper@gmail.com>
26369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26371 2011-07-02 Roland McGrath <roland@hack.frob.com>
26373 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26375 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26376 containing directory rather than embedding absolute directory names.
26378 * scripts/check-local-headers.sh: Rewritten using awk.
26379 Match by word, not by line. Print error messages for matches.
26380 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26382 * Makerules [shlib-lds-flags empty]:
26383 ($(common-objpfx)libc_pic.opts): New target.
26384 ($(common-objpfx)libc_pic.os.clean): New target.
26385 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26387 * config.make.in (OBJCOPY): New variable.
26388 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26389 * configure: Regenerated.
26391 * config.make.in (use-default-link): New variable.
26392 * configure.in (use_default_link): Grok --with-default-link to set it.
26393 * configure: Regenerated.
26394 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26395 (shlib-lds, shlib-lds-flags): Define to empty.
26397 * Makerules (shlib-lds): New variable.
26398 (shlib-lds-flags): New variable.
26399 (build-shlib, build-moduile, build-module-asneeded): Use it.
26400 ($(common-objpfx)libc.so): Use $(shlib-lds).
26401 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26404 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26405 DT_FLAGS/DT_FLAGS_1 with zero flags.
26407 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26408 linker script munging.
26410 2011-07-02 Ulrich Drepper <drepper@gmail.com>
26412 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26414 * crypt/sha512.c (sha512_process_block): Perform total addition using
26415 128-bit if possible.
26416 (__sha512_finish_ctx): Likewise.
26417 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26419 * crypt/sha256.c (SWAP64): Define.
26420 (sha256_process_block): Perform total addition using 64-bit if
26422 (__sha256_finish_ctx): Likewise.
26424 2011-07-01 Ulrich Drepper <drepper@gmail.com>
26426 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26428 * nscd/hstcache.c (cache_addhst): Likewise.
26429 * nscd/grpcache.c (cache_addgr): Likewise.
26430 * nscd/aicache.c (addhstaiX): Likewise
26431 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26433 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
26435 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26437 * nscd/hstcache.c (cache_addhst): Likewise.
26438 * nscd/grpcache.c (cache_addgr): Likewise.
26439 * nscd/aicache.c (addhstaiX): Likewise
26441 2011-07-01 Andreas Schwab <schwab@redhat.com>
26443 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26444 domain only when needed.
26446 2011-06-30 Andreas Schwab <schwab@redhat.com>
26448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26449 is always restored.
26451 2011-06-29 Ulrich Drepper <drepper@gmail.com>
26453 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26454 are re-adding the entry.
26455 * nscd/servicescache.c (cache_addserv): Likewise.
26457 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26459 * sysdeps/generic/dl-irel.h: fix protection against multiple
26461 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26463 2011-06-28 Ulrich Drepper <drepper@gmail.com>
26466 * malloc/memusage.sh: Fix quoting in message.
26467 * debug/xtrace.sh: Likewise.
26469 * configure.in: Remove support for --experimental-malloc option, make
26471 * config.make.in: Likewise.
26472 * malloc/Makefile: Likewise.
26474 2011-06-27 Andreas Schwab <schwab@redhat.com>
26476 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26477 two-byte characters.
26479 2011-06-27 Roland McGrath <roland@hack.frob.com>
26481 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26482 AC_CACHE_CHECK invocation.
26483 * configure: Regenerated.
26485 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26487 2011-06-27 Ulrich Drepper <drepper@gmail.com>
26490 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26491 bit from old_res_options.
26493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26495 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26496 value type for setfct.
26498 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26501 __gettimeofday instead of gettimeofday.
26503 2011-06-26 Ulrich Drepper <drepper@gmail.com>
26505 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26507 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26514 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26517 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26518 strcpy-sse2-unaligned strncpy-sse2-unaligned
26519 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26520 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26521 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26522 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26523 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26526 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26527 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26528 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26529 (STRCPY): Support SSE2 and SSSE3 versions.
26531 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26535 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26536 kernels which artificially limit size of requests.
26538 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26541 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26542 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26543 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26544 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26545 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26546 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26547 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26550 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26551 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26552 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26553 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26554 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26556 Enable unaligned load optimization for Intel Core i3, i5 and i7
26558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26560 (index_Fast_Unaligned_Load): Define.
26561 (HAS_FAST_UNALIGNED_LOAD): Define.
26563 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26565 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26567 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26571 until it is clear that the information is realy needed.
26572 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26574 2011-06-22 Andreas Schwab <schwab@redhat.com>
26576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26578 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26581 /sys/devices/system/cpu/online if it is usable.
26583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26584 reading the information from the /proc filesystem to once a second.
26586 2011-06-21 Andreas Jaeger <aj@suse.de>
26588 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26589 NULL after inclusion of kernel headers.
26591 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26593 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26594 calls to internal_setent.
26597 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26598 addresses using gethostbyname4_r ignore IPv4 addresses.
26600 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26601 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26603 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26605 2011-06-20 David S. Miller <davem@davemloft.net>
26607 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26609 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26611 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26612 (elf_irel): Use it.
26613 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26614 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26615 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26616 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26617 * sysdeps/x86_64/dl-irel.h: Likewise.
26619 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26620 * elf/dl-sym.c: Likewise.
26622 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26624 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26625 need to dereference resplen2.
26627 2011-06-14 Andreas Schwab <schwab@redhat.com>
26629 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26631 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26633 * Makeconfig: Define vardbdir and inst_vardbdir.
26634 * nss/Makefile: Add rules to install db-Makefile.
26636 * nss/nss_db/db-XXX.c: Cleanup.
26638 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26639 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26641 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26642 * nss/makedb.c: Implement -g option to specify that value strings
26643 are generated and should not be added to table iterated over for
26645 * nss/nss_db/db-initgroups.c: New file.
26647 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26650 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26651 (internal_getgrouplist): Adjust to name change.
26652 Update use_initgroups_entry if this is not the first call.
26653 * nss/databases.def: Add initgroups entry.
26655 * nss/makedb.c (compute_tables): Check result of multiple hash table
26656 sizes to minimize maximum chain length.
26658 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26660 * Versions.def: Add entry for libnss_db.
26661 * shlib-versions: Likewise.
26662 * nss/Makefile: Add rules to build libnss_db.
26663 * nss/Versions: Add libnss_db information. Organize libnss_files
26665 * nss/db-Makefile: Add gshadow support. Change rules for the new
26666 makedb progra. Some minor improvements to generate smaller files.
26667 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26669 * nss/makedb.c: ...here.
26670 Improve database format to be smaller and require less memory at
26672 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26674 * nss/nss_db/db-netgrp.c: Likewise.
26675 * nss/nss_db/db-open.c: Likewise.
26676 * nss/nss_files/flies-XXX.x: Adjust comments.
26677 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26678 * nss/nss_files/files-grp.c: Likewise.
26679 * nss/nss_files/files-hosts.c: Likewise.
26680 * nss/nss_files/files-network.c: Likewise.
26681 * nss/nss_files/files-proto.c: Likewise.
26682 * nss/nss_files/files-pwd.c: Likewise.
26683 * nss/nss_files/files-rpc.c: Likewise.
26684 * nss/nss_files/files-service.c: Likewise.
26685 * nss/nss_files/files-sgrp.c: Likewise.
26686 * nss/nss_files/files-spwd.c: Likewise.
26687 * nss/nss_db/db-alias.c: Removed.
26688 * nss/nss_db/dummy-db.h: Removed.
26690 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26692 * nss/makedb.c: Rewritten to not use database library.
26693 * nss/Makefile: Update to build new makedb program.
26695 2011-06-14 Andreas Jaeger <aj@suse.de>
26697 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26698 memset declaration.
26700 2011-06-10 Andreas Schwab <schwab@redhat.com>
26702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26705 2011-06-10 Roland McGrath <roland@hack.frob.com>
26707 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26708 * elf/Makefile ($(objpfx)ld.so): Likewise.
26710 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26711 Don't list ld.so twice in dependencies.
26713 * posix/bug-regex31.c: Include <stdlib.h>.
26715 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26717 * nis/nss_compat/compat-spwd.c
26718 (getspent_next_nss_netgr): Remove unused variable.
26719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26721 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26722 nonmembers" output to use the right array.
26724 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26726 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26728 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26729 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26730 * catgets/gencat.c (read_input_file): Likewise.
26731 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26733 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26734 variable definition inside #if's controlling its use.
26736 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26738 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26740 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26742 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26745 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26747 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26748 * configure: Regenerated.
26750 * Makerules: Revert last change.
26751 * elf/Makefile: Likewise.
26753 2011-06-09 Roland McGrath <roland@hack.frob.com>
26755 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26756 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26757 (reloc-link): Likewise.
26759 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26761 * elf/Makefile: Add rules to build pldd.
26762 * elf/pldd.c: New file.
26763 * elf/pldd-xx.c: New file.
26765 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26767 * version.h: Update for 2.15 development version.
26769 2011-06-07 David S. Miller <davem@davemloft.net>
26771 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26774 elf_machine_lazy_rel): Likewise.
26775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26777 elf_machine_lazy_rel): Likewise.
26778 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26779 dl_hwcap via passed in argument.
26780 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26783 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26785 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26787 2011-06-06 Roland McGrath <roland@hack.frob.com>
26790 * manual/fdl-1.1.texi: New file, verbatim from:
26791 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26792 * manual/lgpl-2.1.texi: New file, verbatim from:
26793 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26794 * manual/Makefile (licenses): New variable, list those new file names.
26796 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26798 * manual/fdl.texi: File removed.
26799 * manual/lesser.texi: File removed.
26800 * manual/libc.texinfo (Copying, Documentation License):
26801 Use new @include file names, put @appendix directive before @include.
26803 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26806 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26807 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26808 (mq_open): Add __NTH.
26810 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26813 Assume Intel Core i3/i5/i7 processor if AVX is available.
26815 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26820 2011-05-31 Andreas Schwab <schwab@redhat.com>
26822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26823 memory. Use alloca_account. Fix memory leak when retrying.
26825 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26827 * version.h (RELEASE): Bump for 2.14 release.
26828 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26830 * config.make.in (RANLIB): Remove entry.
26832 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26834 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26835 (libc.pot): Work around missing support for .ksh extension in xgettext.
26838 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26839 if both request failed.
26840 (send_dg): In case of server errors clear resplen or *resplen2.
26843 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26844 when there are multiple maps.
26845 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26846 (_dl_fini): Remove test here.
26848 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26850 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26853 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26854 bit from old_res_options.
26855 (gaih_inet): Likewise.
26858 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26861 * resolv/res_init.c (res_setoptions): Make the code more compact.
26864 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26868 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26870 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26873 * malloc/malloc.h: Declare malloc hook variables as volatile.
26875 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26879 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26880 raise in the comment.
26881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26885 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26888 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26889 grow the buffers more if it already has to be sufficient.
26890 (build_wcs_upper_buffer): Likewise.
26891 * posix/regexec.c (check_matching): Likewise.
26892 (clean_state_log_if_needed): Likewise.
26893 (extend_buffers): Don't enlarge buffers beyond size of the input
26895 Patches mostly by Emil Wojak <emil@wojak.eu>.
26896 * posix/bug-regex32.c: New file.
26897 * posix/Makefile (tests): Add bug-regex32.
26899 * locale/findlocale.c (_nl_find_locale): Return right away if
26900 _nl_explode_name failed.
26901 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26903 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26905 * debug/xtrace.sh: Unify messages.
26906 * malloc/memusage.sh: Likewise.
26909 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26910 time symbol from vDSO. Substitute with vsyscall if not available.
26911 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26915 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26917 Add sendmmsg and internal_sendmmsg.
26918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26922 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26923 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26926 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26930 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26936 * iconvdata/Makefile (tests): Add bug-iconv9.
26937 * iconvdata/bug-iconv9.c: New file.
26939 2011-05-27 Andreas Schwab <schwab@redhat.com>
26942 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26944 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26947 (struct user_regs_struct): Change intcs field back to cs.
26949 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26951 * po/ja.po: Update from translation team.
26953 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26959 2011-05-20 Andreas Schwab <schwab@redhat.com>
26961 * stdlib/longlong.h: Update from GCC.
26963 2011-05-23 Andreas Schwab <schwab@redhat.com>
26965 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26967 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26968 Add parameter name.
26969 (__sysconf): Pass it down.
26971 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26974 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26977 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26978 add in in __libc_use_alloca calls. Adjust callers.
26979 (glob): Use malloc in some situations.
26981 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26982 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26985 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26987 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26988 and CLOCK_BOOTTIME_ALARM.
26991 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26994 * string/_strerror.c (__strerror_r): Print negative errors as signed
26998 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26999 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27000 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27002 * configure.in: Fix typo in redirection and correct removal of test
27003 files in two cases.
27006 * locale/setlocale.c (new_composite_name): Fix test to check for
27007 identical name of all categories.
27010 * libio/filedoalloc.c (local_isatty): New function.
27011 (_IO_file_doallocate): Use local_isatty.
27012 * stdio-common/perror.c (perror): In case a new stream is used
27013 forward the stream error.
27014 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27017 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27022 * include/alloca.h (extend_alloca_account): Define.
27025 * posix/regex.h: Fix comments with documentation of user-accessible
27026 fields after compilation and describe correct free'ing of pattern
27027 after re_compile_pattern.
27028 Patch by Reuben Thomas <rrt@sc3d.org>.
27030 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27032 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27033 and -mno-altivec to prevent the compiler from using Altivec and/or
27034 VSX instructions when the corresponding registers are not available.
27036 2011-05-19 Andreas Schwab <schwab@redhat.com>
27038 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27040 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27042 * libio/freopen.c (freopen): Use __dup2, not dup2.
27043 * libio/freopen64.c (freopen64): Likewise.
27045 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27048 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27049 * math/Makefile (tests): Add test-powl.
27050 (CFLAGS-test-powl.c): Define.
27051 * math/test-powl.c: New file.
27053 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27055 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27057 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27060 * iconvdata/gb18030.c: Update to GB18020-2005.
27062 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27064 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27065 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27066 Patch by Aharon Robbins <arnold@skeeve.com>.
27069 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27073 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27074 through underflows.
27077 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27078 point to strings before performing equality test for error_one_per_line
27082 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27086 (struct user_fpregs_struct): Avoid __uint*_t types.
27089 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27090 symbol info. Use it instead of calling _dl_addr locally.
27091 (lock_and_info): New function.
27092 (tr_freehook): Call lock_and_info and pass symbol info as additional
27093 parameter to tr_where.
27094 (tr_mallochook): Likewise.
27095 (tr_reallochook): Likewise.
27096 (tr_memalignhook): Likewise.
27098 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27099 used and couldn't be at all thread-safe.
27101 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27103 * libio/freopen.c (freopen): Don't close old file descriptor
27104 before the new one is opened. Instead dup the new file descriptor
27105 to the old one after the new stream is created.
27106 * libio/freopen64.c (freopen64): Likewise.
27107 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27108 * libio/fileops.c (_IO_new_file_close_it): Handle new
27109 _IO_FLAGS2_NOCLOSE flag.
27110 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27111 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27112 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27113 _IO_FLAGS2_NOCLOSE flag.
27114 * include/unistd.h: Add hidden_proto for dup3.
27115 Define __have_dup3.
27116 * io/dup3.c: Define hidden symbol.
27117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27120 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27121 when an incomplete long option is used.
27122 * posix/tst-getopt_long1.c: New file.
27123 * posix/Makefile (tests): Add tst-getopt_long1.
27126 * scripts/config.guess: Update from autoconf-2.68.
27127 * scripts/config.sub: Likewise.
27130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27132 (has_cpuclock): ...this. New function.
27133 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27134 macro here based on has_cpuclock code.
27137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27138 First byte (not low byte) is now always NUL.
27139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27142 Use non-cancelable interfaces.
27145 * locale/iso-639.def: Add entry for Sorani.
27148 * include/stdlib.h: Move include protection to the right place.
27149 Define abort_msg_s. Declare __abort_msg with it.
27150 * stdlib/abort.c (__abort_msg): Adjust type.
27151 * assert/assert.c (__assert_fail_base): New function. Majority
27152 of code from __assert_fail. Allocate memory for __abort_msg with
27154 (__assert_fail): Now call __assert_fail_base.
27155 * assert/assert-perr.c: Remove bulk of implementation. Use
27156 __assert_fail_base.
27157 * include/assert.hL Declare __assert_fail_base.
27158 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27160 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27162 2011-05-14 Ulrich Drepper <drepper@gmail.com>
27166 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27167 until all modules are registered in the DTV.
27168 * elf/Makefile: Add rules to build and run tst-tls19.
27169 * elf/tst-tls19.c: New file.
27170 * elf/tst-tls19mod1.c: New file.
27171 * elf/tst-tls19mod2.c: New file.
27172 * elf/tst-tls19mod3.c: New file.
27173 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27176 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27180 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27181 two-byte sequence errors.
27182 * iconvdata/Makefile (tests): Add bug-iconv8.
27183 * iconvdata/bug-iconv8.c: New file.
27186 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27189 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27192 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27193 (dummy_getcfa): New function.
27194 (init): Get _Unwind_GetCFA address, use dummy if not found.
27195 (backtrace_helper): In recursion check, also check whether CFA changes.
27196 (__backtrace): Completely initialize arg.
27198 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
27199 storing incomplete byte sequence in state object. Avoid testing for
27200 guaranteed too small input if we know there is enough data available.
27202 2011-05-11 Andreas Schwab <schwab@redhat.com>
27204 * Makeconfig (+link-pie): Indent.
27205 * Rules (binaries-pie): Define if $(have-fpie) and
27207 (binaries-shared): Also filter out $(binaries-pie).
27208 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27209 * nscd/Makefile (others-pie): Add nscd.
27210 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27211 ($(objpfx)nscd): Remove command override.
27212 * login/Makefile (others-pie): Add pt_chown.
27213 ($(objpfx)pt_chown): Remove command override.
27214 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27215 remove command overrides.
27217 2011-05-13 Ulrich Drepper <drepper@gmail.com>
27219 * libio/tst_putwc.c: Fix error messages.
27222 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27223 currently writing and seek to current position when not.
27224 * libio/Makefile (tests): Add bug-fclose1.
27225 * libio/bug-fclose1.c: New file.
27227 2011-05-12 Ulrich Drepper <drepper@gmail.com>
27230 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27231 don't set DF_1_NODELETE here.
27232 (do_lookup_x): When entering new entry test for copy relocation
27233 and if necessary set DF_1_NODELETE flag.
27234 * elf/tst-unique4.cc: New file.
27235 * elf/tst-unique4.h: New file.
27236 * elf/tst-unique4lib.cc: New file.
27237 * elf/Makefile: Add rules to build and run tst-unique4.
27238 Patch by Piotr Bury <pbury@goahead.com>.
27240 2011-05-11 Ulrich Drepper <drepper@gmail.com>
27243 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27246 * misc/mntent_r.c (addmntent): Flush the stream after the output
27249 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27250 (is_trusted_path_normalize): Skip initial colon. Append slash
27251 to empty buffer. Duplicate is_trusted_path code but allow
27252 constructed patch to be prefix.
27253 (is_dst): Allow $ORIGIN followed by /.
27254 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27255 Correct testing of result of is_trusted_path_normalize
27256 (decompose_rpath): Fix warning.
27258 2011-05-10 Ulrich Drepper <drepper@gmail.com>
27261 * grp/initgroups.c (internal_getgrouplist): When we found the service
27262 list through the initgroups entry in nsswitch.conf do not always
27263 continue on a successful lookup. Don't always use the
27264 __nss_group_database value if it is set.
27265 * nss/nsswitch.conf (initgroups): Change action for successful db
27266 lookup to continue for compatibility.
27268 2011-05-09 Ulrich Drepper <drepper@gmail.com>
27271 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27273 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27275 * iconvdata/tst-tables.sh: Likewise.
27276 * iconvdata/cp770.c: New file.
27277 * iconvdata/cp771.c: New file.
27278 * iconvdata/cp772.c: New file.
27279 * iconvdata/cp773.c: New file.
27280 * iconvdata/cp774.c: New file.
27281 * iconvdata/testdata/CP770: New file.
27282 * iconvdata/testdata/CP770..UTF8: New file.
27283 * iconvdata/testdata/CP771: New file.
27284 * iconvdata/testdata/CP771..UTF8: New file.
27285 * iconvdata/testdata/CP772: New file.
27286 * iconvdata/testdata/CP772..UTF8: New file.
27287 * iconvdata/testdata/CP773: New file.
27288 * iconvdata/testdata/CP773..UTF8: New file.
27289 * iconvdata/testdata/CP774: New file.
27290 * iconvdata/testdata/CP774..UTF8: New file.
27292 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27294 * iconvdata/gen-8bit-gap.sh: Likewise.
27295 * iconvdata/gen-8bit.sh: Likewise.
27297 * locale/iso-639.def: Add ary entry.
27300 * locale/C-translit.h.in: Add U20A1 transliteration.
27303 * locale/iso-639.def: Add wae entry.
27304 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27307 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27311 * locale/C-translit.h.in: Add entry for U20B9.
27312 Patch by pravin.d.s@gmail.com.
27314 2011-05-08 Ulrich Drepper <drepper@gmail.com>
27317 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27318 ENAMETOOLONG use generic getcwd.
27319 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27320 in rtld. Use *stat64.
27321 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
27322 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
27323 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
27324 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27325 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27326 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27327 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27328 __fstatat64 macros.
27329 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27330 * dirent/rewinddir.c: Add libc_hidden_def.
27331 * sysdeps/mach/hurd/rewinddir.c: Likewise.
27332 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
27334 * include/dirent.h (__alloc_dir): Add flags parameter.
27335 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27336 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27338 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27339 from fdopendir if O_CLOEXEC is already set.
27341 2011-03-15 Alan Modra <amodra@gmail.com>
27343 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27344 l_tls_firstbyte_offset non-zero. Save padding offset in
27345 l_tls_firstbyte_offset for later use.
27346 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27347 freeing static tls block.
27349 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27351 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27352 where #ifdef was intended. The intent is to prevent ARG_MAX from
27353 being defined by the kernel headers.
27355 2011-05-07 Ulrich Drepper <drepper@gmail.com>
27358 * resolv/resolv.h: Define RES_NOTLDQUERY.
27359 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27360 no-tld-query and set RES_NOTLDQUERY.
27361 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27362 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27363 modern BIND to search name as TLD unless forbidden.
27365 2011-05-07 Petr Baudis <pasky@suse.cz>
27366 Ulrich Drepper <drepper@gmail.com>
27369 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27370 (is_trusted_path): ...to here.
27371 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27372 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27373 using is_trusted_path_normalize() in setuid scripts.
27375 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27377 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27378 __BEGIN/__END_DECLS.
27380 2011-05-06 Ulrich Drepper <drepper@gmail.com>
27382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27383 NSS_STATUS_NOTFOUND if no record was found.
27385 2011-05-05 Andreas Schwab <schwab@redhat.com>
27387 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27388 (headers-not-in-tirpc): Remove rpc/netdb.h
27389 * resolv/netdb.h: Revert last change.
27391 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27393 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27394 circular dependency between libgcc.a and libc.a.
27396 2011-05-05 Andreas Schwab <schwab@redhat.com>
27398 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27399 * nis/Makefile: Don't install rpcsvc/*.
27400 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27401 instead of <rpc/types.h>.
27402 (MAXHOSTNAMELEN): Define.
27404 2011-05-03 Andreas Schwab <schwab@redhat.com>
27406 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27408 2011-04-28 Maciej Babinski <mbabinski@google.com>
27411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27412 gethostbyname4_r when IPv6 results are possible.
27414 2011-05-02 Ulrich Drepper <drepper@gmail.com>
27417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27418 _PC_PIPE_BUF handling.
27420 2011-04-30 Bruno Haible <bruno@clisp.org>
27423 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27424 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27426 * inet/getnameinfo.c (getnameinfo): Likewise.
27428 2011-04-29 Ulrich Drepper <drepper@gmail.com>
27430 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27431 to groups setting in database lookup.
27432 * nss/nsswitch.conf: Add initgroups entry.
27434 2011-04-22 Ulrich Drepper <drepper@gmail.com>
27437 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27439 Patch by Eric Blake <eblake@redhat.com>.
27441 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27443 * sunrpc/Makefile (need-export-routines): Add svc_run.
27444 (routines): Remove svc_run.
27445 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27446 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27447 * sunrpc/svc_run.c (svc_run): Likewise.
27448 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27450 2011-04-21 Ulrich Drepper <drepper@gmail.com>
27452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27453 problem in reallocation in last patch.
27455 2011-04-20 Ulrich Drepper <drepper@gmail.com>
27457 * sunrpc/Makefile: Move inclusion of Rules.
27459 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27461 * nss/nss_files/files-initgroups.c: New file.
27462 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27463 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27464 _nss_files_initgroups_dyn.
27466 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27468 * elf/elf.h (R_ARM_IRELATIVE): Define.
27470 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27472 * po/ru.po: Update from translation team.
27474 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27476 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27479 2011-02-06 Mike Frysinger <vapier@gentoo.org>
27482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27483 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27488 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27501 * stdlib/bug-getcontext.c: New file.
27502 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27504 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27506 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27507 instructions into .machine "z9-109".
27508 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27509 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27511 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27513 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27514 between environment variables and auxiliary vector.
27516 2011-04-16 Ulrich Drepper <drepper@gmail.com>
27518 * Makefile: Add rules to build linkobj/libc.so.
27519 * include/libc-symbols.h: Define libc_hidden_nolink.
27520 * include/rpc/auth.h: Mark functions which are to be hidden.
27521 * include/rpc/auth_des.h: Likewise.
27522 * include/rpc/auth_unix.h: Likewise.
27523 * include/rpc/clnt.h: Likewise.
27524 * include/rpc/des_crypt.h: Likewise.
27525 * include/rpc/key_prot.h: Likewise.
27526 * include/rpc/pmap_clnt.h: Likewise.
27527 * include/rpc/pmap_prot.h: Likewise.
27528 * include/rpc/pmap_rmt.h: Likewise.
27529 * include/rpc/rpc_msg.h: Likewise.
27530 * include/rpc/svc.h: Likewise.
27531 * include/rpc/svc_auth.h: Likewise.
27532 * include/rpc/xdr.h: Likewise.
27533 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27534 * nss/Makefile: Likewise.
27535 * sunrpc/Makefile: Don't install headers. Build library with normal
27536 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27537 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27538 for the compat linking library. Remove use of INTDEF/INTUSE.
27539 * sunrpc/auth_none.c: Likewise.
27540 * sunrpc/auth_unix.c: Likewise.
27541 * sunrpc/authdes_prot.c: Likewise.
27542 * sunrpc/authuxprot.c: Likewise.
27543 * sunrpc/clnt_gen.c: Likewise.
27544 * sunrpc/clnt_perr.c: Likewise.
27545 * sunrpc/clnt_raw.c: Likewise.
27546 * sunrpc/clnt_simp.c: Likewise.
27547 * sunrpc/clnt_tcp.c: Likewise.
27548 * sunrpc/clnt_udp.c: Likewise.
27549 * sunrpc/clnt_unix.c: Likewise.
27550 * sunrpc/des_crypt.c: Likewise.
27551 * sunrpc/des_soft.c: Likewise.
27552 * sunrpc/get_myaddr.c: Likewise.
27553 * sunrpc/key_call.c: Likewise.
27554 * sunrpc/key_prot.c: Likewise.
27555 * sunrpc/netname.c: Likewise.
27556 * sunrpc/pm_getmaps.c: Likewise.
27557 * sunrpc/pm_getport.c: Likewise.
27558 * sunrpc/pmap_clnt.c: Likewise.
27559 * sunrpc/pmap_prot.c: Likewise.
27560 * sunrpc/pmap_prot2.c: Likewise.
27561 * sunrpc/pmap_rmt.c: Likewise.
27562 * sunrpc/publickey.c: Likewise.
27563 * sunrpc/rpc_cmsg.c: Likewise.
27564 * sunrpc/rpc_common.c: Likewise.
27565 * sunrpc/rpc_dtable.c: Likewise.
27566 * sunrpc/rpc_prot.c: Likewise.
27567 * sunrpc/rpc_thread.c: Likewise.
27568 * sunrpc/rtime.c: Likewise.
27569 * sunrpc/svc.c: Likewise.
27570 * sunrpc/svc_auth.c: Likewise.
27571 * sunrpc/svc_authux.c: Likewise.
27572 * sunrpc/svc_raw.c: Likewise.
27573 * sunrpc/svc_run.c: Likewise.
27574 * sunrpc/svc_simple.c: Likewise.
27575 * sunrpc/svc_tcp.c: Likewise.
27576 * sunrpc/svc_udp.c: Likewise.
27577 * sunrpc/svc_unix.c: Likewise.
27578 * sunrpc/svcauth_des.c: Likewise.
27579 * sunrpc/xcrypt.c: Likewise.
27580 * sunrpc/xdr.c: Likewise.
27581 * sunrpc/xdr_array.c: Likewise.
27582 * sunrpc/xdr_float.c: Likewise.
27583 * sunrpc/xdr_intXX_t.c: Likewise.
27584 * sunrpc/xdr_mem.c: Likewise.
27585 * sunrpc/xdr_rec.c: Likewise.
27586 * sunrpc/xdr_ref.c: Likewise.
27587 * sunrpc/xdr_sizeof.c: Likewise.
27588 * sunrpc/xdr_stdio.c: Likewise.
27590 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27593 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27594 * sysdeps/ia64/dl-tls.h: Likewise.
27595 * sysdeps/powerpc/dl-tls.h: Likewise.
27596 * sysdeps/s390/dl-tls.h: Likewise.
27597 * sysdeps/sh/dl-tls.h: Likewise.
27598 * sysdeps/sparc/dl-tls.h: Likewise.
27599 * sysdeps/x86_64/dl-tls.h: Likewise.
27600 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27602 2011-03-14 Andreas Schwab <schwab@redhat.com>
27604 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27605 rpath element also skip the following colon.
27606 (expand_dynamic_string_token): Add is_path parameter and pass
27607 down to DL_DST_REQUIRED and _dl_dst_substitute.
27608 (decompose_rpath): Call expand_dynamic_string_token with
27609 non-zero is_path. Ignore empty rpaths.
27610 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27613 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27618 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27621 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27622 Patch by Filipe David Manana <fdmanana@apache.org>.
27624 2011-04-07 Andreas Schwab <schwab@redhat.com>
27626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27627 Maintain aligned stack.
27628 (CHECK_RSP): Remove unused macro.
27630 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27632 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27635 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27637 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27639 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27641 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27644 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27645 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27646 * sysdeps/x86_64/memmove.c: New file.
27647 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27648 (memcpy): Renamed to ...
27649 (__new_memcpy): This.
27650 (memcpy): Provide GLIBC_2_14 memcpy.
27651 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27652 (memcpy): Provide GLIBC_2_2_5 memcpy.
27654 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27657 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27659 2011-03-30 Andreas Schwab <schwab@redhat.com>
27661 * misc/syncfs.c: New file.
27662 * misc/Makefile (routines): Add syncfs.
27663 * posix/unistd.h: Declare syncfs.
27664 * sysdeps/unix/syscalls.list: Add syncfs.
27666 2011-04-01 Andreas Schwab <schwab@redhat.com>
27668 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27675 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27678 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27688 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27689 sync_file_range.c with -fexceptions.
27690 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27691 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27694 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27695 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27697 sync_file_range as cancellation point
27698 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27699 now a wrapper around __call_sync_file_range with cancellation handling.
27700 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27702 function name to __call_sync_file_range.
27703 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27704 Add call_sync_file_range.
27706 2011-04-01 Andreas Schwab <schwab@redhat.com>
27708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27711 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27713 * iconv/iconv.h: Fix typo in comment.
27714 * io/fcntl.h: Likewise.
27715 * libio/stdio.h: Likewise.
27716 * posix/spawn.h: Likewise.
27717 * posix/unistd.h: Likewise.
27718 * stdlib/stdlib.h: Likewise.
27719 * time/time.h: Likewise.
27720 * wcsmbs/wchar.h: Likewise.
27722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27723 open_by_handle): Add.
27724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27725 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27726 Augment a few comments.
27727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27732 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27735 * io/fcntl.h (AT_EMPTY_PATH): Define.
27737 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27739 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27740 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27741 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27743 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27744 * Versions.def: Add GLIBC_2.14.
27745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27748 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27752 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27754 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27757 * string/test-strncmp.c (do_page_test): New function.
27758 (check2): Likewise.
27759 (test_main): Call check2.
27760 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27762 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27766 Handle cache information in CPU leaf 4.
27767 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27769 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27772 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27773 character representation.
27774 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27776 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27779 END(__isnan) to END(__isnanf) to match function entry point/label
27780 EALIGN(__isnanf,...).
27782 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27784 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27786 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27789 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27790 copy from the symbol referenced in the relocation to initialize the
27792 Patch by Piotr Bury <pbury@goahead.com>.
27793 * elf/Makefile: Add rules to build and tst-unique3.
27794 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27795 * elf/tst-unique3.cc: New file.
27796 * elf/tst-unique3.h: New file.
27797 * elf/tst-unique3lib.cc: New file.
27798 * elf/tst-unique3lib2.cc: New file.
27800 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27802 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27804 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27805 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27808 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27810 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27811 to-be-loaded object along a path to loader is ld.so.
27813 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27814 Ulrich Drepper <drepper@gmail.com>
27816 * sysdeps/x86_64/memset.S: After aligning destination, code
27817 branches to different locations depending on the value of
27818 misalignment, when multiarch is enabled. Fix this.
27820 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27823 Set _x86_64_preferred_memory_instruction for AMD processsors.
27824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27825 Set bit_Prefer_SSE_for_memop for AMD processors.
27827 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27829 * libio/fmemopen.c (fmemopen): Optimize a bit.
27831 2011-03-03 Andreas Schwab <schwab@redhat.com>
27833 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27835 2011-03-03 Roland McGrath <roland@redhat.com>
27837 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27839 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27841 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27842 __bzero_ultra1 instead of __memset_ultra1.
27844 2011-02-23 Andreas Schwab <schwab@redhat.com>
27845 Ulrich Drepper <drepper@gmail.com>
27848 * include/link.h (struct link_map): Add l_orig_initfini.
27849 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27850 returning unsuccessfully.
27851 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27852 close of a file loaded at startup, restore the original l_initfini
27854 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27855 list, store the pointer.
27856 * elf/Makefile ($(objpfx)noload-mem): New rule.
27857 (noload-ENV): Define.
27858 (tests): Add $(objpfx)noload-mem.
27859 * elf/noload.c: Include <memcheck.h>.
27860 (main): Call mtrace. Close all opened handles.
27862 2011-02-17 Andreas Schwab <schwab@redhat.com>
27865 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27866 dependencies are missing.
27868 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27870 Fix __if_freereq crash: Unlike the generic version which uses free,
27872 * sysdeps/mach/hurd/ifreq.h: New file.
27874 2011-01-27 Petr Baudis <pasky@suse.cz>
27875 Ulrich Drepper <drepper@gmail.com>
27878 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27879 to extend_alloca().
27880 * stdio-common/bug23.c: New file.
27881 * stdio-common/Makefile (tests): Add bug23.
27883 2010-09-28 Andreas Schwab <schwab@redhat.com>
27884 Ulrich Drepper <drepper@gmail.com>
27887 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27888 before performing relro protection. At old place add assertion
27889 to make sure nothing changed.
27891 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27892 Glauber de Oliveira Costa <glommer@gmail.com>
27894 * elf/elf.h: Add new ARM TLS relocs.
27896 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27899 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27901 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27903 * sysdeps/wordsize-64/tst-writev.c: New file.
27905 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27907 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27908 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27909 insns in _dl_start to prevent a TOC reference before relocs are
27912 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27915 * Makeconfig: Remove RANLIB definition.
27916 * Makerules: Don't use RANLIB.
27917 * aclocal.m4: Remove ranlib test.
27918 * configure.in: No need to check for ranlib.
27919 * elf/rtld-Rules: Don't use RANLIB.
27921 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27923 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27925 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27926 inclusion protection macro.
27928 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27929 SIGRTMIN and SIGRTMAX and print information in that case only when
27930 SIGRTMIN is defined.
27932 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27934 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27935 arginfo fn returning -1.
27937 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27938 and thousands string is zero terminated.
27940 2011-02-03 Andreas Schwab <schwab@redhat.com>
27942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27943 sysdeps/unix/sysv/linux/bits/socket.h.
27945 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27947 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27948 (__CPU_COUNT): Remove old macros.
27949 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27950 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27951 (__CPU_ALLOC, __CPU_FREE): Add macros.
27952 (__sched_cpualloc, __sched_cpufree): Add declarations.
27954 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27956 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27957 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27958 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27959 (readdhstai): Return value of addhstaiX call.
27960 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27961 (addgrbyX): Return value returned by cache_addgr.
27962 (readdgrbyname): Return value returned by addgrbyX.
27963 (readdgrbygid): Likewise.
27964 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27965 (addpwbyX): Return value returned by cache_addpw.
27966 (readdpwbyname): Return value returned by addhstbyX.
27967 (readdpwbyuid): Likewise.
27968 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27969 (addservbyX): Return value returned by cache_addserv.
27970 (readdservbyname): Return value returned by addservbyX:
27971 (readdservbyport): Likewise.
27972 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27973 (addhstbyX): Return value returned by cache_addhst.
27974 (readdhstbyname): Return value returned by addhstbyX.
27975 (readdhstbyaddr): Likewise.
27976 (readdhstbynamev6): Likewise.
27977 (readdhstbyaddrv6): Likewise.
27978 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27979 (readdinitgroups): Return value returned by addinitgroupsX.
27980 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27981 (prune_cache): Keep track of timeout value of re-added entries.
27982 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27983 * nscd/nscd.h: Adjust prototypes of readd* functions.
27985 2011-02-04 Roland McGrath <roland@redhat.com>
27987 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27988 (nis_stats): Likewise.
27989 * nis/nis_modify.c (nis_modify): Likewise.
27990 * nis/nis_remove.c (nis_remove): Likewise.
27991 * nis/nis_add.c (nis_add): Likewise.
27993 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27995 * posix/fnmatch_loop.c: Add some consts.
27997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27999 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28002 * config.make.in (config-cflags-novzeroupper): Define.
28003 * configure.in: Substitute libc_cv_cc_novzeroupper.
28004 * elf/Makefile (AVX-CFLAGS): Define.
28005 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28006 (CFLAGS-tst-auditmod4a.c): Likewise.
28007 (CFLAGS-tst-auditmod4b.c): Likewise.
28008 (CFLAGS-tst-auditmod6b.c): Likewise.
28009 (CFLAGS-tst-auditmod6c.c): Likewise.
28010 (CFLAGS-tst-auditmod7b.c): Likewise.
28011 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28013 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28015 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28016 function to the callback.
28017 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28019 2011-02-02 Andreas Schwab <schwab@redhat.com>
28021 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28024 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28027 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28029 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28031 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28034 * elf/Makefile: Add rules to build and run new test.
28035 * elf/tst-initorder.c: New file.
28036 * elf/tst-initorder.exp: New file.
28037 * elf/tst-initordera1.c: New file.
28038 * elf/tst-initordera2.c: New file.
28039 * elf/tst-initordera3.c: New file.
28040 * elf/tst-initordera4.c: New file.
28041 * elf/tst-initorderb1.c: New file.
28042 * elf/tst-initorderb2.c: New file.
28043 * elf/tst-order-a1.c: New file.
28044 * elf/tst-order-a2.c: New file.
28045 * elf/tst-order-a3.c: New file.
28046 * elf/tst-order-a4.c: New file.
28047 * elf/tst-order-b1.c: New file.
28048 * elf/tst-order-b2.c: New file.
28049 * elf/tst-order-main.c: New file.
28050 New test case by George Gensure <werkt0@gmail.com>.
28052 2010-10-01 Andreas Schwab <schwab@redhat.com>
28054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28055 decoding ACE if AI_CANONIDN.
28057 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28059 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28061 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28063 * version.h (RELEASE): Bump for 2.13 release.
28064 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28066 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28070 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28077 * posix/getconf.c: Update copyright year.
28078 * catgets/gencat.c: Likewise.
28079 * csu/version.c: Likewise.
28080 * debug/catchsegv.sh: Likewise.
28081 * debug/xtrace.sh: Likewise.
28082 * elf/ldconfig.c: Likewise.
28083 * elf/ldd.bash.in: Likewise.
28084 * elf/sprof.c (print_version): Likewise.
28085 * iconv/iconv_prog.c: Likewise.
28086 * iconv/iconvconfig.c: Likewise.
28087 * locale/programs/locale.c: Likewise.
28088 * locale/programs/localedef.c: Likewise.
28089 * malloc/memusage.sh: Likewise.
28090 * malloc/mtrace.pl: Likewise.
28091 * nscd/nscd.c (print_version): Likewise.
28092 * nss/getent.c: Likewise.
28094 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28095 PF_CAIF, and PF_ALG.
28096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28098 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28100 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28101 (modules-names): Use them.
28102 (ifunc-test-modules, ifunc-pie-tests): Define.
28103 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28104 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28105 (test-extras): Likewise.
28106 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28107 $(compile-command.c).
28108 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28109 (all-built-dso): Define.
28110 (check-textrel.out, check-execstack.out): Depend on it.
28112 * configure.in: Don't override --enable-multi-arch.
28114 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28117 * nscd/hstcache.c (tryagain): Define.
28118 (cache_addhst): Return tryagain not notfound for temporary errors.
28119 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28122 2011-01-14 Ulrich Drepper <drepper@gmail.com>
28125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28126 to make the syscall.
28127 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28130 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28131 and fall back to matching as normal character if the string ends before
28132 the matching ']' is found. This is what POSIX requires.
28133 * posix/testfnm.c: Adjust test result.
28134 * posix/globtest.sh: Adjust test result. Add new test.
28135 * posix/tst-fnmatch.input: Likewise.
28136 * posix/tst-fnmatch2.c: Add new test.
28138 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28140 * elf/Makefile (check-execstack): Revert last change. Depend on
28142 (check-execstack.h): New target.
28143 (generated): Add check-execstack.h.
28144 * elf/check-execstack.c: Include "check-execstack.h".
28145 (main): Revert last change.
28146 (handle_file): Return zero if GNU_STACK is absent and
28147 DEFAULT_STACK_PERMS doesn't include PF_X.
28149 2011-01-13 Ulrich Drepper <drepper@gmail.com>
28151 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28152 in child fails because the descriptor is already closed.
28153 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28154 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28158 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28162 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28163 temporary buffer used to handle multi lookups locally.
28164 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28166 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28168 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28171 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28173 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28174 alignment for SSE2.
28176 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28179 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28180 characters. When rounding increased number of integer digits recompute
28182 * stdio-common/tst-grouping.c: New file.
28183 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28185 2011-01-09 Ulrich Drepper <drepper@gmail.com>
28187 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28188 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28190 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28192 * bits/select.h: Likewise.
28194 2011-01-08 Ulrich Drepper <drepper@gmail.com>
28196 * po/ja.po: Update from translation team.
28198 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
28201 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28202 implementation just like for lxstat, fxstatat, et al.
28204 2010-12-27 Jim Meyering <meyering@redhat.com>
28207 * posix/regexec.c (build_trtable): Return failure indication upon
28208 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28210 2010-12-25 Ulrich Drepper <drepper@gmail.com>
28213 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28214 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28219 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28222 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28223 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28225 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28227 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28228 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28229 script has SORT_BY_INIT_PRIORITY.
28230 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28231 NO_CTORS_DTORS_SECTIONS is defined.
28232 * elf/soinit.c: Likewise.
28233 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28234 NO_CTORS_DTORS_SECTIONS is defined.
28235 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28236 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28237 * sysdeps/sh/init-first.c: Likewise.
28238 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28240 2010-12-24 Ulrich Drepper <drepper@gmail.com>
28242 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28243 always use the slow path.
28245 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28247 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28248 similar rule which adds the sysdep directories to the header search in
28249 order to pick up the correct platform stackinfo.h.
28250 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28251 perform test if it is, otherwise return successfully without testing.
28252 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28253 DEFAULT_STACK_PERMS define in stackinfo.h.
28254 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28255 defined in stackinfo.h.
28256 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28257 DEFAULT_STACK_PERMS defined in stackinfo.h.
28258 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28259 * sysdeps/ia64/stackinfo.h: Likewise.
28260 * sysdeps/s390/stackinfo.h: Likewise.
28261 * sysdeps/sh/stackinfo.h: Likewise.
28262 * sysdeps/sparc/stackinfo.h: Likewise.
28263 * sysdeps/x86_64/stackinfo.h: Likewise.
28264 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28265 PF_X for powerpc64. Retain PF_X for powerpc32.
28267 2010-12-19 Ulrich Drepper <drepper@gmail.com>
28269 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28271 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28272 GETDENTS_64BIT_ALIGNED.
28274 2010-12-14 Ulrich Drepper <dreper@gmail.com>
28276 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28278 2010-12-10 Andreas Schwab <schwab@redhat.com>
28280 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28284 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28286 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28287 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28289 2010-12-09 Ulrich Drepper <drepper@gmail.com>
28292 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28295 2010-12-09 Jakub Jelinek <jakub@redhat.com>
28297 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28299 2010-12-03 Ulrich Drepper <drepper@gmail.com>
28301 * po/it.po: Update from translation team.
28303 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28308 2010-11-30 Ulrich Drepper <drepper@gmail.com>
28310 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28312 2010-11-24 Andreas Schwab <schwab@redhat.com>
28314 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28316 (gaih_getanswer_slice): Likewise.
28318 2010-10-20 Jakub Jelinek <jakub@redhat.com>
28320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28322 2010-05-31 Petr Baudis <pasky@suse.cz>
28325 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28326 silently even in the chroot mode.
28328 2010-11-22 Ulrich Drepper <drepper@gmail.com>
28330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28331 last patch a bit. Pretty printing
28333 2010-05-31 Petr Baudis <pasky@suse.cz>
28336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28337 initialization of skip_initgroups_dyn.
28339 2010-11-19 Ulrich Drepper <drepper@gmail.com>
28341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28344 2010-11-16 Ulrich Drepper <drepper@gmail.com>
28346 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28348 2010-11-11 Andreas Schwab <schwab@redhat.com>
28350 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28351 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28352 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28353 ($(objpfx)tst-fnmatch-mem): New rule.
28354 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28355 * posix/tst-fnmatch.c (main): Call mtrace.
28357 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28360 Support Intel processor model 6 and model 0x2c.
28362 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
28364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28367 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28370 * string/test-strncasecmp.c (check_result): New function.
28371 (do_one_test): Use it.
28372 (check1): New function.
28373 (test_main): Use it.
28374 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28375 Support strcasecmp and strncasecmp.
28377 2010-11-08 Ulrich Drepper <drepper@gmail.com>
28380 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28383 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28385 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28389 * sysdeps/x86_64/multiarch/bzero.S: New file.
28390 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28391 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28392 * sysdeps/x86_64/multiarch/memset.S: New file.
28393 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28395 Set bit_Prefer_SSE_for_memop for Intel processors.
28396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28398 (index_Prefer_SSE_for_memop): Define.
28399 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28401 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
28403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28406 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28410 (__x86_64_raw_data_cache_size_half): Likewise.
28411 (__x86_64_raw_shared_cache_size): Likewise.
28412 (__x86_64_raw_shared_cache_size_half): Likewise.
28414 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28415 (__x86_64_raw_data_cache_size_half): Likewise.
28416 (__x86_64_raw_shared_cache_size): Likewise.
28417 (__x86_64_raw_shared_cache_size_half): Likewise.
28418 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28419 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28420 and __x86_64_raw_shared_cache_size_half. Round
28421 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28422 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28423 to multiple of 256 bytes.
28425 2010-11-03 Ulrich Drepper <drepper@gmail.com>
28428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28429 of inacessible symlinks. Verify result of symlink before returning it.
28430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28431 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28433 2010-10-28 Erich Ritz <erichritz@gmail.com>
28435 * math/math.h (isinf): Fix typo in comment.
28437 2010-11-01 Ulrich Drepper <drepper@gmail.com>
28439 * po/da.po: Update from translation team.
28441 2010-10-26 Ulrich Drepper <drepper@gmail.com>
28443 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28444 is added to the list.
28446 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28447 Ulrich Drepper <drepper@gmail.com>
28449 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28450 the global list here. Move code to...
28451 (_dl_add_to_namespace_list): ...here. New function.
28452 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28453 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28454 * elf/dl-load.c (lose): Don't remove the element from the list.
28455 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28456 (_dl_map_object): Likewise.
28458 2010-10-25 Ulrich Drepper <drepper@gmail.com>
28461 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28462 into all bytes of SSE register.
28463 Patch by Richard Li <richardpku@gmail.com>.
28465 2010-10-24 Ulrich Drepper <drepper@gmail.com>
28468 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28471 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28473 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28474 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28481 2010-10-22 Andreas Schwab <schwab@redhat.com>
28483 * include/dlfcn.h (__RTLD_SECURE): Define.
28484 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28485 mode & __RTLD_SECURE instead.
28486 (open_path): Rename preloaded parameter to secure.
28487 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28488 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28489 * elf/dl-deps.c (openaux): Likewise.
28490 * elf/rtld.c (struct map_args): Remove is_preloaded.
28491 (map_doit): Don't use it.
28492 (dl_main): Likewise.
28493 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28494 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28496 2010-09-09 Andreas Schwab <schwab@redhat.com>
28498 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28499 (sysd-rules-targets): Remove duplicates.
28500 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28501 rtld-%.$o dependency.
28503 2010-10-18 Andreas Schwab <schwab@redhat.com>
28505 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28506 _dl_map_object do it.
28508 2010-10-19 Ulrich Drepper <drepper@gmail.com>
28510 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28511 fast fma builtins, define the macros in the C99 standard.
28512 (FP_FAST_FMAF): Likewise.
28513 (FP_FAST_FMAL): Likewise.
28514 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28516 * bits/mathdef.h: Update copyright year.
28517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28519 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28521 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28522 builtins, define the macros in the C99 standard.
28523 (FP_FAST_FMAF): Likewise.
28524 (FP_FAST_FMAL): Likewise.
28525 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28527 (FP_FAST_FMAF): Likewise.
28529 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28532 * math/libm-test.inc (fma_test): Some new testcases.
28533 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28535 y and infinite z. Do multiplication by C already in long double.
28536 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28538 y and infinite z. Do bitwise or of inexact bit into u.d.
28539 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28540 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28541 * sysdeps/i386/fpu/s_fma.S: Removed.
28542 * sysdeps/i386/fpu/s_fmal.S: Removed.
28544 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28547 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28549 computation is not scheduled after fetestexcept. Fix value
28550 of minimum denormal long double.
28552 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28555 * math/libm-test.inc (fma_test): Add some more tests.
28556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28559 2010-10-15 Andreas Schwab <schwab@redhat.com>
28561 * scripts/data/localplt-s390-linux-gnu.data: New file.
28562 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28564 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28567 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28568 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28570 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28572 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28574 if one of x and y is very large and the other is subnormal.
28575 * sysdeps/s390/fpu/s_fmaf.c: New file.
28576 * sysdeps/s390/fpu/s_fma.c: New file.
28577 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28578 * sysdeps/powerpc/fpu/s_fma.S: New file.
28579 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28580 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28581 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28583 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28586 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28589 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28590 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28591 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28592 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28593 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28596 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28599 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28600 * posix/bug-regex31.input: Add test case.
28602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28604 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28605 * posix/bug-regex31.input: New file.
28608 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28609 (parse_sub_exp): Fix last change, use postorder.
28611 * posix/bug-regex31.c: New file.
28612 * posix/Makefile: Add rules to build and run bug-regex31.
28614 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28617 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28620 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28621 to have entries in sys_siglist.
28624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28627 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28630 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28631 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28632 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28633 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28635 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28636 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28637 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28638 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28639 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28640 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28643 * math/ftestexcept.c (fetestexcept): Likewise.
28644 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28645 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28646 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28648 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28649 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28652 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28655 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28658 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28660 * string/bug-strstr1.c: New file.
28661 * string/Makefile: Add rules to build and run bug-strstr1.
28663 2010-10-05 Eric Blake <eblake@redhat.com>
28666 * string/str-two-way.h (two_way_long_needle): Always clear memory
28667 when skipping input due to the shift table.
28669 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28672 * malloc/mcheck.c: Handle large requests.
28675 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28676 for strncmp and strncasecmp.
28677 * string/stratcliff.c: Add tests for strcmp and strncmp.
28678 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28680 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28682 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28685 2010-09-30 Andreas Jaeger <aj@suse.de>
28687 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28688 (CGROUP_SUPER_MAGIC): Define.
28689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28690 Handle btrfs and cgroup file systems.
28691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28694 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28696 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28697 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28699 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28702 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28703 trying to locate the ELF header.
28705 2010-09-27 Andreas Schwab <schwab@redhat.com>
28708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28709 Mask out sign-bit copies when constructing f_fsid.
28711 2010-09-24 Petr Baudis <pasky@suse.cz>
28713 * debug/stack_chk_fail_local.c: Add missing licence exception.
28714 * debug/warning-nop.c: Likewise.
28716 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28719 implementing getdents64 using getdents syscall, set d_type if
28720 __ASSUME_GETDENTS32_D_TYPE.
28722 2010-09-16 Andreas Schwab <schwab@redhat.com>
28724 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28725 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28727 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28730 * posix/unistd.h: Undo change of feature selection for ftruncate from
28733 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28735 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28738 2010-09-20 Andreas Schwab <schwab@redhat.com>
28740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28744 2010-09-14 Andreas Schwab <schwab@redhat.com>
28746 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28747 variables after CHECK_SP call.
28748 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28750 2010-09-13 Andreas Schwab <schwab@redhat.com>
28751 Ulrich Drepper <drepper@redhat.com>
28753 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28754 re-relocationg ld.so.
28755 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28756 _dl_init_paths call.
28757 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28760 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28762 * resolv/res_init.c (__res_vinit): Count the default server we added.
28764 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28765 Ulrich Drepper <drepper@redhat.com>
28768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28769 (____longjmp_chk): Use %ebx for saving value across system call.
28772 2010-09-06 Andreas Schwab <schwab@redhat.com>
28774 * manual/Makefile: Don't mix pattern rules with normal rules.
28776 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28778 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28780 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28781 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28783 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28787 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28790 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28791 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28793 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28795 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28796 * sysdeps/x86_64/addmul_1.S: Likewise.
28797 * sysdeps/x86_64/lshift.S: Likewise.
28798 * sysdeps/x86_64/mul_1.S: Likewise.
28799 * sysdeps/x86_64/rshift.S: Likewise.
28800 * sysdeps/x86_64/sub_n.S: Likewise.
28801 * sysdeps/x86_64/submul_1.S: Likewise.
28803 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28805 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28806 Define __sched_param instead of SCHED_* and sched_param when
28807 <bits/sched.h> is included with __need_schedparam defined.
28808 * bits/sched.h [__need_schedparam]
28809 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28810 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28811 (__defined_schedparam): Define to 1.
28812 (__sched_param): New structure, identical to sched_param.
28813 (__need_schedparam): Undefine.
28815 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28818 (epoll_create1): Declare.
28820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28822 2010-08-31 Andreas Schwab <schwab@redhat.com>
28825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28826 shifting retval into place.
28828 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28830 * nis/rpcsvc/nis.h: Update copyright notice.
28831 * nis/rpcsvc/nis.x: Likewise.
28832 * nis/rpcsvc/nis_callback.h: Likewise.
28833 * nis/rpcsvc/nis_callback.x: Likewise.
28834 * nis/rpcsvc/nis_object.x: Likewise.
28835 * nis/rpcsvc/nis_tags.h: Likewise.
28836 * nis/rpcsvc/yp.h: Likewise.
28837 * nis/rpcsvc/yp.x: Likewise.
28838 * nis/rpcsvc/ypupd.h: Likewise.
28839 * nis/yp_xdr.c: Likewise.
28840 * nis/ypupdate_xdr.c: Likewise.
28842 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28843 mainly the body of pmap_getport. Add parameters to specify timeouts.
28844 (pmap_getport): Use __libc_rpc_getport.
28845 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28846 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28847 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28849 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28854 2010-08-27 Roland McGrath <roland@redhat.com>
28856 * sysdeps/i386/i686/multiarch/Makefile
28857 (CFLAGS-varshift.c): New variable.
28859 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28861 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28862 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28866 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28868 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28870 * sysdeps/x86_64/strlen.S: Unroll the loop.
28871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28872 strlen-sse2 strlen-sse2-bsf.
28873 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28874 __strlen_no_bsf if bit_Slow_BSF is set.
28875 (__strlen_sse42): Removed.
28876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28877 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28879 2010-08-25 Roland McGrath <roland@redhat.com>
28881 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28882 * sysdeps/x86_64/multiarch/varshift.c: New file.
28883 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28884 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28885 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28886 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28888 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28891 strlen-sse2 strlen-sse2-bsf.
28892 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28893 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28894 (__strlen_sse2): Removed.
28895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28898 bit_Slow_BSF for Atom.
28899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28900 (index_Slow_BSF): Define.
28901 (HAS_SLOW_BSF): Define.
28903 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28906 * resolv/res_init.c (__res_vinit): When no server address at all
28907 is given default to loopback.
28909 2010-08-24 Roland McGrath <roland@redhat.com>
28911 * configure.in: Remove config-name.h generation.
28912 * configure: Regenerated.
28913 * config-name.in: File removed.
28914 * scripts/config-uname.sh: New file.
28915 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28916 ($(objdir)config-name.h): New target.
28918 * sunrpc/rpc_parse.h: Avoid nested comment.
28920 2010-08-24 Richard Henderson <rth@redhat.com>
28921 Ulrich Drepper <drepper@redhat.com>
28922 H.J. Lu <hongjiu.lu@intel.com>
28924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28926 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28927 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28928 _mm_alignr_epi8 with _mm_loadu_si128.
28929 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28930 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28931 (__m128i_shift_right): Removed.
28932 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28933 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28934 * sysdeps/x86_64/multiarch/varshift.h: New file.
28935 * sysdeps/x86_64/multiarch/varshift.S: New file.
28937 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28939 * configure.in: Move assembler checks to before sysdep dir checking.
28941 2010-08-20 Petr Baudis <pasky@suse.cz>
28943 * LICENSES: Sync the sunrpc license.
28945 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28947 * sunrpc/auth_des.c: Update copyright notice once again.
28948 * sunrpc/auth_none.c: Likewise.
28949 * sunrpc/auth_unix.c: Likewise.
28950 * sunrpc/authdes_prot.c: Likewise.
28951 * sunrpc/authuxprot.c: Likewise.
28952 * sunrpc/bindrsvprt.c: Likewise.
28953 * sunrpc/clnt_gen.c: Likewise.
28954 * sunrpc/clnt_perr.c: Likewise.
28955 * sunrpc/clnt_raw.c: Likewise.
28956 * sunrpc/clnt_simp.c: Likewise.
28957 * sunrpc/clnt_tcp.c: Likewise.
28958 * sunrpc/clnt_udp.c: Likewise.
28959 * sunrpc/clnt_unix.c: Likewise.
28960 * sunrpc/des_crypt.c: Likewise.
28961 * sunrpc/des_soft.c: Likewise.
28962 * sunrpc/get_myaddr.c: Likewise.
28963 * sunrpc/getrpcport.c: Likewise.
28964 * sunrpc/key_call.c: Likewise.
28965 * sunrpc/key_prot.c: Likewise.
28966 * sunrpc/openchild.c: Likewise.
28967 * sunrpc/pm_getmaps.c: Likewise.
28968 * sunrpc/pm_getport.c: Likewise.
28969 * sunrpc/pmap_clnt.c: Likewise.
28970 * sunrpc/pmap_prot.c: Likewise.
28971 * sunrpc/pmap_prot2.c: Likewise.
28972 * sunrpc/pmap_rmt.c: Likewise.
28973 * sunrpc/rpc/auth.h: Likewise.
28974 * sunrpc/rpc/auth_unix.h: Likewise.
28975 * sunrpc/rpc/clnt.h: Likewise.
28976 * sunrpc/rpc/des_crypt.h: Likewise.
28977 * sunrpc/rpc/key_prot.h: Likewise.
28978 * sunrpc/rpc/netdb.h: Likewise.
28979 * sunrpc/rpc/pmap_clnt.h: Likewise.
28980 * sunrpc/rpc/pmap_prot.h: Likewise.
28981 * sunrpc/rpc/pmap_rmt.h: Likewise.
28982 * sunrpc/rpc/rpc.h: Likewise.
28983 * sunrpc/rpc/rpc_des.h: Likewise.
28984 * sunrpc/rpc/rpc_msg.h: Likewise.
28985 * sunrpc/rpc/svc.h: Likewise.
28986 * sunrpc/rpc/svc_auth.h: Likewise.
28987 * sunrpc/rpc/types.h: Likewise.
28988 * sunrpc/rpc/xdr.h: Likewise.
28989 * sunrpc/rpc_clntout.c: Likewise.
28990 * sunrpc/rpc_cmsg.c: Likewise.
28991 * sunrpc/rpc_common.c: Likewise.
28992 * sunrpc/rpc_cout.c: Likewise.
28993 * sunrpc/rpc_dtable.c: Likewise.
28994 * sunrpc/rpc_hout.c: Likewise.
28995 * sunrpc/rpc_main.c: Likewise.
28996 * sunrpc/rpc_parse.c: Likewise.
28997 * sunrpc/rpc_parse.h: Likewise.
28998 * sunrpc/rpc_prot.c: Likewise.
28999 * sunrpc/rpc_sample.c: Likewise.
29000 * sunrpc/rpc_scan.c: Likewise.
29001 * sunrpc/rpc_scan.h: Likewise.
29002 * sunrpc/rpc_svcout.c: Likewise.
29003 * sunrpc/rpc_tblout.c: Likewise.
29004 * sunrpc/rpc_util.c: Likewise.
29005 * sunrpc/rpc_util.h: Likewise.
29006 * sunrpc/rpcinfo.c: Likewise.
29007 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29008 * sunrpc/rpcsvc/key_prot.x: Likewise.
29009 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29010 * sunrpc/rpcsvc/mount.x: Likewise.
29011 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29012 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29013 * sunrpc/rpcsvc/rex.x: Likewise.
29014 * sunrpc/rpcsvc/rstat.x: Likewise.
29015 * sunrpc/rpcsvc/rusers.x: Likewise.
29016 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29017 * sunrpc/rpcsvc/spray.x: Likewise.
29018 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29019 * sunrpc/rtime.c: Likewise.
29020 * sunrpc/svc.c: Likewise.
29021 * sunrpc/svc_auth.c: Likewise.
29022 * sunrpc/svc_authux.c: Likewise.
29023 * sunrpc/svc_raw.c: Likewise.
29024 * sunrpc/svc_run.c: Likewise.
29025 * sunrpc/svc_simple.c: Likewise.
29026 * sunrpc/svc_tcp.c: Likewise.
29027 * sunrpc/svc_udp.c: Likewise.
29028 * sunrpc/svc_unix.c: Likewise.
29029 * sunrpc/svcauth_des.c: Likewise.
29030 * sunrpc/xcrypt.c: Likewise.
29031 * sunrpc/xdr.c: Likewise.
29032 * sunrpc/xdr_array.c: Likewise.
29033 * sunrpc/xdr_float.c: Likewise.
29034 * sunrpc/xdr_mem.c: Likewise.
29035 * sunrpc/xdr_rec.c: Likewise.
29036 * sunrpc/xdr_ref.c: Likewise.
29037 * sunrpc/xdr_sizeof.c: Likewise.
29038 * sunrpc/xdr_stdio.c: Likewise.
29040 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29043 2010-08-19 Andreas Schwab <schwab@redhat.com>
29045 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29047 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29049 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29052 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29054 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29056 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29059 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29061 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29064 2010-07-26 Anton Blanchard <anton@samba.org>
29066 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29067 * malloc/arena.c (heap_trim): Likewise.
29069 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29071 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29074 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29076 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29078 * sysdeps/i386/elf/Makefile: New file.
29080 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29082 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29083 from fanotify_init.
29084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29087 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29089 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29091 * sysdeps/multiarch/strcmp.S: Likewise.
29093 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29096 strncase_l-nonascii.
29097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29098 Add strncase_l-ssse3.
29099 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29100 * sysdeps/x86_64/strcmp.S: Likewise.
29101 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29102 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29103 * sysdeps/x86_64/strncase.S: New file.
29104 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29105 * sysdeps/x86_64/strncase_l.S: New file.
29106 * string/Makefile (strop-tests): Add strncasecmp.
29107 * string/test-strncasecmp.c: New file.
29109 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29112 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29113 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29117 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29119 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29121 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29123 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29125 2010-05-01 Alan Modra <amodra@gmail.com>
29127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29128 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29129 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29130 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29131 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29132 tidying. Don't tail-call __sigjmp_save for static lib.
29133 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29135 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29136 (CALL_MCOUNT): Add eh info, and nop after bl.
29137 (TAIL_CALL_SYSCALL_ERROR): New macro.
29138 (PSEUDO_RET): Use it.
29139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29140 Correct save location of integer regs and cr.
29141 (_dl_profile_resolve): Correct cr save location. Delete nops
29142 after bl when SHARED. Reduce cfi size a little by better
29143 placement of cfi directives.
29144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29145 make a stack frame. Instead use parm save area as a temp.
29146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29147 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29149 Don't make a stack frame for parent, use parm save area.
29150 Increase child stack frame to 112 bytes. Don't save unused reg,
29151 and adjust reg usage. Set up cfi on error recovery and
29152 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29154 (__makecontext): Add dummy nop after jump to exit.
29155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29156 Use correct parm save area and cr save, reduce stack frame.
29157 Correct cfi for possible PSEUDO_RET frame setup.
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29159 Branch to local label emitted by PSEUDO_RET rather than
29162 2010-08-12 Andreas Schwab <schwab@redhat.com>
29165 * locale/programs/locale.c (print_assignment): New function.
29166 (show_locale_vars): Use it.
29168 2010-08-11 Ulrich Drepper <drepper@redhat.com>
29170 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29172 (struct statfs64): Likewise.
29173 (_STATFS_F_FLAGS): Define.
29174 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29176 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29177 (ST_VALID): Define locally.
29178 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29179 __statvfs_getflags, use the provided value.
29180 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29181 __ASSUME_STATFS_F_FLAGS.
29183 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29186 Add sys/fanotify.h.
29187 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29188 fanotify_mask for GLIBC_2.13.
29189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29190 fanotify_init and fanotify_mark.
29191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29192 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29196 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29197 prlimit64 for GLIBC_2.13.
29198 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29208 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29211 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29212 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29214 * nss/Makefile: Add rules to build and run tst-nss-test1.
29215 * shlib-versions: Add entry for libnss_test1.
29216 * nss/nss_test1.c: New file.
29217 * nss/tst-nss-test1.c: New file.
29219 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29220 (__nss_configure_lookup): Set appropriate entry in
29221 __nss_configure_lookup to true.
29222 * nss/nsswitch.h: Define enum with indeces of databases in
29223 databases and __nss_database_custom arrays. Declare
29224 __nss_database_custom.
29225 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29226 to avoid using nscd when custom rules are installed.
29227 * nss/getXXbyYY_r.c: Likewise.
29228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29230 * nss/nss_files/files-parse.c: Whitespace fixes.
29232 2010-08-09 Ulrich Drepper <drepper@redhat.com>
29235 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29236 * posix/fnmatch_loop.c: Likewise.
29238 2010-07-17 Andi Kleen <ak@linux.intel.com>
29240 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29241 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29242 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29243 * Versions.def [GLIBC_2.13]: Add.
29245 2010-08-06 Ulrich Drepper <drepper@redhat.com>
29247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29248 Also fail if tpwd after pwuid call is NULL.
29250 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29252 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29253 when converting to ms.
29255 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29257 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29258 EOPNOTSUPP errors with ENOTTY.
29259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29260 EOPNOTSUPP errors with ENOTTY.
29262 2010-07-31 Ulrich Drepper <drepper@redhat.com>
29264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29265 Add strcasecmp_l-ssse3.
29266 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29268 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29272 2010-07-30 Ulrich Drepper <drepper@redhat.com>
29274 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29276 * string/Makefile (strop-tests): Add strcasecmp.
29277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29278 strcasecmp_l-nonascii.
29279 (gen-as-const-headers): Add locale-defines.sym.
29280 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29281 * sysdeps/x86_64/strcasecmp.S: New file.
29282 * sysdeps/x86_64/strcasecmp_l.S: New file.
29283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29284 * sysdeps/x86_64/locale-defines.sym: New file.
29285 * string/test-strcasecmp.c: New file.
29287 * string/test-strcasestr.c: Test both ends of the range of characters.
29288 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29290 2010-07-29 Roland McGrath <roland@redhat.com>
29293 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29295 2010-07-27 Ulrich Drepper <drepper@redhat.com>
29297 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29300 2010-07-27 Andreas Schwab <schwab@redhat.com>
29302 * manual/memory.texi (Malloc Tunable Parameters): Document
29305 2010-07-26 Roland McGrath <roland@redhat.com>
29308 * configure.in (-fgnu89-inline check): Set and substitute
29309 gnu89_inline, not libc_cv_gnu89_inline.
29310 * configure: Regenerated.
29311 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29313 2010-07-26 Ulrich Drepper <drepper@redhat.com>
29315 * string/test-strnlen.c: New file.
29316 * string/Makefile (strop-tests): Add strnlen.
29317 * string/tester.c (test_strnlen): Add a few more test cases.
29318 * string/tst-strlen.c: Better error reporting.
29320 * sysdeps/x86_64/strnlen.S: New file.
29322 2010-07-24 Ulrich Drepper <drepper@redhat.com>
29324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29325 lower-latency instructions.
29327 2010-07-23 Ulrich Drepper <drepper@redhat.com>
29329 * string/test-strcasestr.c: New file.
29330 * string/test-strstr.c: New file.
29331 * string/Makefile (strop-tests): Add strstr and strcasestr.
29332 * string/str-two-way.h: Don't undefine MAX.
29333 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29335 2010-07-21 Andreas Schwab <schwab@redhat.com>
29337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29338 strcasestr-nonascii.
29339 (CFLAGS-strcasestr-nonascii.c): Define.
29340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29342 Remove unused attribute.
29344 2010-07-20 Roland McGrath <roland@redhat.com>
29346 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29347 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29348 ld.so.cache was broken. With it, there is no way to disable dsocaps
29349 like LD_HWCAP_MASK can disable hwcaps.
29351 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29353 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29355 2010-07-16 Ulrich Drepper <drepper@redhat.com>
29357 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29358 call in strcasestr.
29359 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29360 __strcasestr_sse42_nonascii.
29361 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29362 strcasestr-nonascii.c.
29363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29365 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
29367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29372 2010-07-09 Ulrich Drepper <drepper@redhat.com>
29374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29377 2010-07-06 Andreas Schwab <schwab@redhat.com>
29380 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29383 2010-07-06 Ulrich Drepper <drepper@redhat.com>
29385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29386 _PC_PIPE_BUF using F_GETPIPE_SZ.
29388 2010-07-05 Roland McGrath <roland@redhat.com>
29390 * manual/arith.texi (Rounding Functions): Fix rint description
29391 implicit in round description.
29393 2010-07-02 Ulrich Drepper <drepper@redhat.com>
29395 * elf/Makefile: Fix linking for a few tests to make recent linker
29398 2010-06-30 Andreas Schwab <schwab@redhat.com>
29400 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29401 $(common-objpfx)libc_nonshared.a.
29403 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
29405 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29406 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29407 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29408 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29409 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29411 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29412 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29427 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29428 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29429 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29430 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29431 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29432 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29433 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29434 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29435 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29436 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29437 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29438 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29454 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29456 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29457 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29458 * string/memmove.c (memmove): Renamed to ...
29459 (MEMMOVE): ...this. Default to memmove.
29460 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29461 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29464 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29465 mempcpy-ssse3-back memmove-ssse3-back.
29466 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29469 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29470 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29471 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29472 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29473 * sysdeps/x86_64/multiarch/memmove.c: New file.
29474 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29475 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29476 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29477 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29481 (index_Fast_Copy_Backward): Define.
29482 (HAS_ARCH_FEATURE): Define.
29483 (HAS_FAST_REP_STRING): Define.
29484 (HAS_FAST_COPY_BACKWARD): Define.
29486 2010-06-21 Andreas Schwab <schwab@redhat.com>
29488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29489 Restore proper fallback handling.
29491 2010-06-19 Ulrich Drepper <drepper@redhat.com>
29494 * posix/group_member.c (__group_member): Correct checking loop.
29496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29497 OOM in getpwuid_r correctly. Return error number when the caller
29498 should return, otherwise -1.
29499 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29500 call returning > 0 value.
29501 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29503 2010-06-07 Andreas Schwab <schwab@redhat.com>
29505 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29506 libc_nonshared.a from targets in modules-names.
29508 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29510 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29513 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
29515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29520 2010-06-02 Andreas Schwab <schwab@redhat.com>
29522 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29524 2010-06-14 Ulrich Drepper <drepper@redhat.com>
29526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29535 2010-06-14 Roland McGrath <roland@redhat.com>
29537 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29539 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29541 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29542 __REDIRECT followed by __THROW.
29543 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29544 * posix/getopt.h (getopt): Likewise.
29546 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29548 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29549 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29550 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29552 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29553 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29555 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29559 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29563 Properly check family and model.
29565 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29569 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29571 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29573 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29575 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29578 2010-05-19 Andreas Schwab <schwab@redhat.com>
29580 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29583 2010-05-21 Andreas Schwab <schwab@redhat.com>
29585 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29586 and internal_recvmmsg.
29587 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29590 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29592 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29596 2010-05-20 Andreas Schwab <schwab@redhat.com>
29598 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29600 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29602 POWER7 optimizations.
29603 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29604 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29606 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29608 * version.h: Update for 2.13 development version.
29610 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29613 exceptions. Return 0.
29615 2010-05-07 Roland McGrath <roland@redhat.com>
29617 * elf/ldconfig.c (main): Add a const.
29619 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29621 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29622 (args_options): Add no-idn option.
29623 (ahosts_keys_int): Add idn_flags to ai_flags.
29624 (parse_option): Handle 'i' option to clear idn_flags.
29626 * malloc/malloc.c (_int_free): Possible race in the most recently
29627 added check. Only act on the data if no current modification
29630 See ChangeLog.17 for earlier changes.